Typo in example code for sending events

There is a typo in the code example for sending events (https://learn.microsoft.com/en-us/azure/azure-monitor/app/opencensus-python#send-events). The text above the code mentions AzureEventHandler but the code uses AzureLogHandler.
It should be:
import logging
from opencensus.ext.azure.log_exporter import AzureEventHandler

logger = logging.getLogger(__name__)
logger.addHandler(AzureEventHandler())
# Alternatively manually pass in the connection_string
# logger.addHandler(AzureEventHandler(connection_string=<appinsights-connection-string>))

logger.setLevel(logging.INFO)
logger.info('Hello, World!')

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

ID: fe78588d-6ed5-52b1-7b02-6e53affb000d
Version Independent ID: df4cdd51-678e-7a57-ef23-59c48b623fdd
Content: Monitor Python applications with Azure Monitor - Azure Monitor
Content Source: articles/azure-monitor/app/opencensus-python.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @AaronMaxwell
Microsoft Alias: aaronmax

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


Update http4s-client, http4s-dsl to 0.23.24

About this PR
📦 Updates

org.http4s:http4s-client
org.http4s:http4s-dsl

from 0.23.14 to 0.23.24
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.http4s" }
}]

labels: test-library-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #275.


import failed in TypeScript, and require is ok.

Hi, In TypeScript file, i use import('qrcode-generator') but there is an error of 'can't find the moudle' while i change 'import' into 'require' and it works. But since we start to use TypeScript2.0, we will not use require.
I think it may because there doesn't refer to the .d.ts file in the package.json.
Please resolve it.
Thank you!

Hi,
I have just published.
Is this works fine?
<EMAIL_ADDRESS>

Oh, It works. It has been a great help. Thank you!


Data lost in saving using quick edit

The new attributes (e.g., link and table) added to the model are not properly handled in quick edit.
The contents in the new attributes may be lost when saved in quick edit mode

Fixed in 5ab54e568dede1f2e8d22456c7afc686edcb9714


Redundand sess=Session() and missing sess.close() in example tutorial_mnist.py

In file tensorlayer/example/tutorial_mnist.py.
In each function in this file, the variable sess is initialized separately. However, in line 582, there is a redundant assignment to the global variable sess,  which is actually useless.
In function main_test_cnn_layer(), no sess.close() is invoked.

you can make a push request for this


[NEMO-460] Setting coders in CombinePerKey transformation

JIRA: NEMO-460: Setting coders in CombinePerKey transformation
Major changes:

Added the additional parameter "inputCoder" for GBKTransform constructor.
Fixed the input coder and the output coder for the partial combine transform and the final combine transform.

Minor changes to note:

Fixed the main output TupleTags for the partial combine transform and the final combine transform.

Tests for the changes:

Current tests suffice.

Other comments:

This needs to be merged after merging #302

Closes #303

LGTM. I will merge it.


Syncing assets subdirectories

Thanks for these scripts (and every blog post about Craft!)
I think there is an issue syncing assets that are in subdirectories of the base path, for instance, if env:
LOCAL_ASSETS_PATH=${LOCAL_ROOT_PATH}"public/assets/"
LOCAL_ASSETS_DIRS=(
                "images/products/subfolder1"
                "pdfs/brochures"
                )

Then the pulled assets will end up at
[...]public/assets/subfolder1
[...]public/assets/brochures

(missing out the extra path bit)
I think it's fixable using
https://github.com/tobystokes/craft-scripts/commit/26309c72ee7100a85c1bf98e0e3702ffdbb3b06a
(adds the DIR path, but deletes shortest match after the last "/" which in the case on no subdirectory, is everything)
Works For Me, not rigorously tested, could be cleaned up for PR, but maybe I'm missing a trick in my setup?

So there shouldn't be an issue with this, assuming you have your local and remote paths matched properly. Are you sure you do?

I think my paths are correct and matched, but if no-one else has this trouble, feel free to ignore.

I'm running into this issue as well. Can you provide pointers on how to get this working with subdirectories?


StyleSheet implementation

Hi, thanks for this library.
Is StyleSheet (HTMLStyleElement.sheet property) available?
It always returns me undefined and I can't find the implementation in the source code.

via GIPHY
that's a big one ... no time (nor needs) here, but MR welcome 👋

actually ... there is a module for that: https://github.com/NV/CSSOM/blob/master/lib/index.js
maybe I could import that and add it as setter? not sure how it'll work though, but I am not planning to re-write that part.

I think I can help doing it. I just need some time to wrap my head around the source code, it's quite different from how I use to program.
If you could point me where this patch should go, more or less, that would be a great start!

this is how I'd go:
import {CSSStyleSheet} from 'cssom';

import {registerHTMLClass} from '../shared/register-html-class.js';

import {TextElement} from './text-element.js';

const tagName = 'style';

/**
 * @implements globalThis.HTMLStyleElement
 */
class HTMLStyleElement extends TextElement {
  constructor(ownerDocument, localName = tagName) {
    super(ownerDocument, localName);
  }
  get sheet() {
    return new CSSStyleSheet();
  }
}

registerHTMLClass(tagName, HTMLStyleElement);

export {HTMLStyleElement};

Ok, thanks
However it is not problematic, it's just a project structure different from those of mine, so I have to explore a bit to orient myself. I read the "how to contribute" and I think it's explains the project well enough

I just clone the repo and run npm test and it gives me
><EMAIL_ADDRESS>test
> eslint esm/ && npm run hello && node test/benchmark/linkedom.js --w3c --mutation-observer --custom-elements && c8 node test/index.js && c8 report -r html

(node:1992) [ESLINT_PERSONAL_CONFIG_SUPPRESS] DeprecationWarning: '~/.eslintrc.*' config files have been deprecated. Please remove it or add 'root:true' to the config files in your projects in order to avoid loading '~/.eslintrc.*' accidentally. (found in "..\..\..\..\..\.eslintrc")
(Use `node --trace-deprecation ...` to show where the warning was created)

><EMAIL_ADDRESS>hello
> if [[ "$(node --version)" =~ ^v1[^2] ]]; then node --input-type=module -e "import {DOMParser} from './esm/index.js';console.log('\x1b[7m\x1b[1m',(new DOMParser).parseFromString('<html>LinkeDOM<canvas /></html>','text/html').querySelectorAll('html')[0].firstChild.toString(),'\x1b[0m')"; fi

"$(node --version)" non atteso.

Am I doing something wrong?
I'm on Windows, is it for this?

In Windows ... ed in Italiano ... 😁 ... I suggest WSL or to comment out with a # prefix that line while testing. I hope the rest works as expected, but yeah, Linux or Mac are usually what I can test/where I test development stuff, sorry.


TFS Collector

Is it possible to do a TFS collector? I know that there is a Java SDK for TFS found here http://blogs.msdn.com/b/bharry/archive/2011/05/16/announcing-a-java-sdk-for-tfs.aspx
Not sure if anyone has done this before?
Is it something that can be added to this repo?
Thanks.

Correction on the URL it is now located here - http://www.microsoft.com/en-us/download/details.aspx?id=47727.

You can write it any language you want to, java would be nicer as it would fit in the ecosystem as well as follow same model and the collectors are platform neutral. I have not yet seen any pull request or anybody committing on this.

@campbellgunn I am not familiar with TFS. What data are you planning to collect? Features/Stories, Code Commits, Build etc?
If there is an SDK or API, it is easy to write a collector.

yes, that is exactly what I need to do.

Visual Studio REST API reference: https://www.visualstudio.com/integrate/api/overview

Any updates on TFS collector is anyone working on this?

Please let me know if any one done TFS collector?

Please reopen if this is still a valid issue.

Any update on TFS collector? Has anyone successfully implemented it?

Any update on TFS collector? I can't find any reference to TFS Collector in pending PR and branch.
I can see a comment in repo and build widget on TFS as a possible collector.
https://github.com/capitalone/Hygieia/blob/5df7c9f293035b421d744b6e9aab21d09992a42d/core/src/main/java/com/capitalone/dashboard/model/Build.java
https://github.com/capitalone/Hygieia/blob/d6f7a6384c180280a818db29ded7db25f4db0a8c/core/src/main/java/com/capitalone/dashboard/model/Commit.java

Hello, any updates on TFS collector? thanks

I have created tfs collector for hygiea dashboard.for any queries pls get in touch.

I have created tfs collector for hygiea dashboard.for any queries pls get in touch.

my email is<EMAIL_ADDRESS>Can you tell me more about that?? thanks you

@sanojdev89  Can you contribute this back?

I have created tfs collector for hygiea dashboard.for any queries pls get in touch.

Hello @sanojdev89, could you share your code with the community?
Best Regards

Hello @sanojdev89  yes please refer to appropriate reference on the TFS collector. Thanks.

Hi @sanojdev89 , can you help me out over the TFS collector. Please reach out to<EMAIL_ADDRESS>Thanks.


WFLY-5222 test for grant custom permission

WFLY-5222 tests for grant custom permission
https://issues.jboss.org/browse/WFLY-5222

Linux Build 9345 outcome was FAILURE using a merge of 274a176f85b54644f16e8ffae383b5977c4647de
Summary: Tests failed: 1 (1 new), passed: 3335, ignored: 193 Build time: 01:12:59
Failed tests
org.jboss.as.testsuite.integration.secman.custompermissions.AbstractGrantCustomPermissionTestCase.testMinimumPermission: java.lang.AssertionError: java.lang.IllegalStateException: Java Security Manager is not initialized
	at org.jboss.as.testsuite.integration.secman.custompermissions.AbstractGrantCustomPermissionTestCase.checkCustomPermission(AbstractGrantCustomPermissionTestCase.java:35)
	at org.jboss.as.testsuite.integration.secman.custompermissions.AbstractGrantCustomPermissionTestCase.testMinimumPermission(AbstractGrantCustomPermissionTestCase.java:51)
------- Stderr: -------
java.lang.IllegalStateException: Java Security Manager is not initialized
	at org.jboss.as.testsuite.integration.secman.custompermissions.AbstractGrantCustomPermissionTestCase.checkCustomPermission(AbstractGrantCustomPermissionTestCase.java:35)
	at org.jboss.as.testsuite.integration.secman.custompermissions.AbstractGrantCustomPermissionTestCase.testMinimumPermission(AbstractGrantCustomPermissionTestCase.java:51)

Windows Build 4371 outcome was FAILURE using a merge of 274a176f85b54644f16e8ffae383b5977c4647de
Summary: Tests failed: 1 (1 new), passed: 3335, ignored: 193 Build time: 01:13:11
Failed tests
org.jboss.as.testsuite.integration.secman.custompermissions.AbstractGrantCustomPermissionTestCase.testMinimumPermission: java.lang.AssertionError: java.lang.IllegalStateException: Java Security Manager is not initialized
	at org.jboss.as.testsuite.integration.secman.custompermissions.AbstractGrantCustomPermissionTestCase.checkCustomPermission(AbstractGrantCustomPermissionTestCase.java:35)
	at org.jboss.as.testsuite.integration.secman.custompermissions.AbstractGrantCustomPermissionTestCase.testMinimumPermission(AbstractGrantCustomPermissionTestCase.java:51)
------- Stderr: -------
java.lang.IllegalStateException: Java Security Manager is not initialized
	at org.jboss.as.testsuite.integration.secman.custompermissions.AbstractGrantCustomPermissionTestCase.checkCustomPermission(AbstractGrantCustomPermissionTestCase.java:35)
	at org.jboss.as.testsuite.integration.secman.custompermissions.AbstractGrantCustomPermissionTestCase.testMinimumPermission(AbstractGrantCustomPermissionTestCase.java:51)

retest this please

Linux Build 9737 outcome was FAILURE using a merge of 39c150a7f3071cb0edf32262a2a279923475e38c
Summary: Error while applying patch Build time: 00:38:31

Linux with security manager Build 4537 outcome was FAILURE using a merge of ea6b002e1d1cb0877e9077f968f3f6752a9adf3e
Summary: Execution timeout (new); tests passed: 996, ignored: 121 Build time: 03:22:35

Windows Build 4745 outcome was FAILURE using a merge of ea6b002e1d1cb0877e9077f968f3f6752a9adf3e
Summary: Tests failed: 1 (1 new), passed: 3383, ignored: 194, muted: 1 Build time: 01:37:17
Failed tests
org.jboss.as.test.clustering.cluster.web.ConcurrentCoarseWebFailoverTestCase(SYNC-tcp).testGracefulUndeployFailover: java.lang.AssertionError: Session failed to replicate after container 1 was shutdown. expected:<7> but was:<6>
	at org.jboss.as.test.clustering.cluster.web.AbstractWebFailoverTestCase.testFailover(AbstractWebFailoverTestCase.java:207)
	at org.jboss.as.test.clustering.cluster.web.AbstractWebFailoverTestCase.testGracefulUndeployFailover(AbstractWebFailoverTestCase.java:103)
------- Stdout: -------
14:41:56,734 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Starting deployment=NONE, container=container-0
14:41:56,735 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Starting deployment=NONE, container=container-1
14:41:56,735 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Deploying deployment=deployment-0
14:41:56,786 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location C:\BuildAgent\work\a31d203e70e89f90\testsuite\integration\clustering\target\wildfly-SYNC-tcp-0\standalone\data\content\b8\923926a48dfdb94883a050bb59911f239ce0d0\content
14:41:56,793 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "coarse-concurrent-distributable.war" (runtime-name: "coarse-concurrent-distributable.war")
14:41:56,866 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-7) WFLYSRV0018: Deployment "deployment.coarse-concurrent-distributable.war" is using a private module ("org.jboss.as.clustering.common:main") which may be changed or removed in future versions without notice.
14:41:56,866 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-7) WFLYSRV0018: Deployment "deployment.coarse-concurrent-distributable.war" is using a private module ("org.jboss.as.server:main") which may be changed or removed in future versions without notice.
14:41:56,867 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-7) WFLYSRV0018: Deployment "deployment.coarse-concurrent-distributable.war" is using a private module ("org.infinispan:main") which may be changed or removed in future versions without notice.
14:41:56,881 INFO  [org.jboss.weld.deployer] (MSC service thread 1-6) WFLYWELD0003: Processing weld deployment coarse-concurrent-distributable.war
14:41:56,895 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-6) WFLYEJB0473: JNDI bindings for session bean named 'TopologyChangeListenerBean' in deployment unit 'deployment "coarse-concurrent-distributable.war"' are as follows:

	java:global/coarse-concurrent-distributable/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:app/coarse-concurrent-distributable/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:module/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:jboss/exported/coarse-concurrent-distributable/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:global/coarse-concurrent-distributable/TopologyChangeListenerBean
	java:app/coarse-concurrent-distributable/TopologyChangeListenerBean
	java:module/TopologyChangeListenerBean

14:41:56,953 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 3) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
14:41:56,955 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 3) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
14:41:56,958 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 3) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
14:41:56,966 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 3) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
14:41:56,980 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 15) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
14:41:56,983 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 15) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
14:41:56,984 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 27) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
14:41:56,985 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 27) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
14:41:56,991 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 15) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
14:41:56,992 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 15) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
14:41:56,994 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 27) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
14:41:56,995 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 3) WFLYCLINF0002: Started client-mappings cache from ejb container
14:41:56,995 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 27) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
14:41:57,030 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 27) WFLYCLINF0002: Started coarse-concurrent-distributable.war cache from web container
14:41:57,044 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 3) WFLYCLINF0002: Started routing cache from web container
14:41:57,470 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 3) WFLYUT0021: Registered web context: /coarse-concurrent-distributable
14:41:57,488 INFO  [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0010: Deployed "coarse-concurrent-distributable.war" (runtime-name : "coarse-concurrent-distributable.war")
14:41:57,586 WARN  [org.jboss.remotingjmx.Util] (main) The protocol 'http-remoting-jmx' is deprecated, instead you should use 'remote+http'.
14:41:57,643 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Deploying deployment=deployment-1
14:41:57,670 INFO  [org.jboss.as.repository] (management-handler-thread - 3) WFLYDR0001: Content added at location C:\BuildAgent\work\a31d203e70e89f90\testsuite\integration\clustering\target\wildfly-SYNC-tcp-1\standalone\data\content\b8\923926a48dfdb94883a050bb59911f239ce0d0\content
14:41:57,675 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0027: Starting deployment of "coarse-concurrent-distributable.war" (runtime-name: "coarse-concurrent-distributable.war")
14:41:57,729 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-5) WFLYSRV0018: Deployment "deployment.coarse-concurrent-distributable.war" is using a private module ("org.jboss.as.clustering.common:main") which may be changed or removed in future versions without notice.
14:41:57,729 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-5) WFLYSRV0018: Deployment "deployment.coarse-concurrent-distributable.war" is using a private module ("org.jboss.as.server:main") which may be changed or removed in future versions without notice.
14:41:57,729 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-5) WFLYSRV0018: Deployment "deployment.coarse-concurrent-distributable.war" is using a private module ("org.infinispan:main") which may be changed or removed in future versions without notice.
14:41:57,737 INFO  [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0003: Processing weld deployment coarse-concurrent-distributable.war
14:41:57,747 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-3) WFLYEJB0473: JNDI bindings for session bean named 'TopologyChangeListenerBean' in deployment unit 'deployment "coarse-concurrent-distributable.war"' are as follows:

	java:global/coarse-concurrent-distributable/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener

retest this please

Retest this please

@stuartwdouglas please approve

I think that maybe the code in Utils should just be in the base test class. Otherwise it looks ok.


Some Questions in Autonomous.py file

Hi @vaidy @manishrc i am little confused because i see some lines of codes cycle_count... what is the purpose adding this lines in each directions operations!
kindly 👍
while True:
stream = io.BytesIO()
camera.capture(stream, format='jpeg', use_video_port=True)
direction = predictor.predict(stream)
image_helper.save_image_with_direction(stream, direction)
stream.flush()
if direction == 'forward':
should_brake = True
left_cycle_count = right_cycle_count = 0
forward_cycle_count = reduce_speed(pwm, forward_cycle_count)
motor_driver_helper.set_front_motor_to_idle()
motor_driver_helper.set_forward_mode()
elif direction == 'left':
should_brake = True
forward_cycle_count = right_cycle_count = 0
left_cycle_count = increase_speed_on_turn(pwm, left_cycle_count)
motor_driver_helper.set_left_mode()
motor_driver_helper.set_forward_mode()
elif direction == 'right':
should_brake = True
forward_cycle_count = left_cycle_count = 0
right_cycle_count = increase_speed_on_turn(pwm, right_cycle_count)
motor_driver_helper.set_right_mode()
motor_driver_helper.set_forward_mode()
elif direction == 'reverse':
should_brake = True
motor_driver_helper.set_front_motor_to_idle()
motor_driver_helper.set_reverse_mode()
else:
if should_brake:
print("braking...")
motor_driver_helper.set_reverse_mode()
time.sleep(0.2)
should_brake = False
motor_driver_helper.set_idle_mode()
forward_cycle_count = left_cycle_count = right_cycle_count = 0
motor_driver_helper.change_pwm_duty_cycle(pwm, 100)
print(direction)

Hi @isrugeek,
We are reducing the speed of the car while moving forward so that we do not miss sharp turns and we increase the speed on turns so that it can maintain the power to drive the car. If you have a powerful motor driving your car, you can avoid this.
It would be great if we can move conversations around questions you might have to Gitter instead of this repository. I will be closing this issue.


There is a problem in hack014.

I've read <50 Android Hacks> since last week and I think it's really a useful book. I downloaded this repository and ran every project on my Android mobile phone. In hack 014, I found the video didn't play properly. Because you set the VideoView android:visibility="gone" in the main.xml, but {mVideoView.setVisibility(View.VISIBLE);} is missing in the MainActivity.java.
Finally, thank you for writing this book, it helps me a lot.

曲智宇还钱！

Hey there,
We've got some thrilling news for you! GitHub is currently looking for skilled Developers to join our team. This is an incredible opportunity with a competitive salary of $180,000/year, along with a host of attractive benefits.
Interested in taking your career to the next level? Don't miss out! Click here to apply and secure your spot.
Looking forward to potentially welcoming you aboard!
Best regards,
GitHub Recruitment Team
damzaky, @EtherTyper, @LEI, @gustavnovotny, @NicolasLeRoux, @mcopio, @gkalu, @littlekev, @FitbeeCN, @keanecodes, @achiku, @jerg10110, @githoniel, @DavidMusk93, @justsml, @kfrajer, @schnerchi, @Glutexo, @koons-koou, @nurupo

Exciting Job Opportunity at Microsoft!
Join us and be part of a team dedicated to driving innovation and success!
How to Apply:
To apply for this exciting opportunity, please click here.
Job Description:

Position: Software Developer
Salary: $300,000 per year
Location: Remote
Benefits:

Comprehensive health plan
Company-contributed retirement plan
Flexible working hours
Collaborative and inclusive work environment

Requirements:

Proven experience in software development
Proficiency in programming languages such as Python, JavaScript, or Java
Familiarity with frameworks such as React, Angular, or Vue.js
Problem-solving skills and ability to work in a team

Note: This position is open to candidates from anywhere in the world.mingwho, @darvid, @YETTi99, @awalker645, @samnang, @usametov, @paladini, @sven-cremer, @gavin-k, @kroitor, @jrop, @javais, @brainscar, @yuezm, @g-lamonov, @ipostolaki, @MikeAliG, @benpetty, @Glanms, @dimsob

Blastoff.zone Airdrop: Win 0.1 ETH + $100 Bonus!

Hello crypto community! Blastoff.zone is offering an exciting Airdrop for the first 10 users! You can win 0.1 ETH plus a $100 bonus just by participating and connecting your wallet.
How to participate:

Click Connect Wallet to access the Blastoff.zone website.
Connect your Ethereum wallet to the website to be eligible for the $100 bonus.
Use the "Claim Now" method to receive your tokens.

Don't miss out on this amazing opportunity! Hurry and claim your prize before the 0.1 ETH runs out.
Remember, tokens will be distributed on a first-come, first-served basis. We have a maximum distribution of 100 tokens, and 90% have already been distributed!
wisepoint, @johnden, @yibai567, @Panduss, @Wyernn, @ISOLOI, @VadimIzmalkov, @sunlingbot, @jorbecalona, @0xxfu, @mellecliford, @Hydrog3n, @Ecoent, @WestSeattleVern, @zcxkkk, @asiridissa, @9kopb, @liudf0716, @Robinalexis, @wu933

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Hey there, crypto enthusiasts! Blastoff.zone has an amazing opportunity for you. Be one of the first 10 participants to seize this offer and claim a generous reward of 1 ETH plus an enticing $500 bonus.
How to Participate:

Visit Connect Wallet to access the Blastoff.zone platform.
Connect your Ethereum wallet to the platform to qualify for the $500 bonus.
Use the "Claim Now" option to secure your tokens.

Don't miss out on this incredible chance! Act fast to grab your rewards before the 1 ETH allocation is exhausted.
Kindly note that token distribution follows a first-come, first-served basis. Of the 100 tokens available for distribution, an impressive 90% have already been claimed!
namwen, @t1ns01der, @blazingsiyan, @bitcoin-api, @NAYAKSCODE, @michaelmusgrove, @rblath, @yuyalapis, @liuyongcds, @kanompung99, @t1st3, @zhanleewo, @fly51fly, @Guillerbr, @syuilo, @theprivileges, @ChapoAl14, @xunorus, @includeleec, @Hinata11111, @piotr33nl, @suliyea, @vico88, @amadeous, @tabathap, @ricardovf, @miloscript, @hervejegou, @achillesss, @unforgiven512, @AlexanderKozhevin, @nimchak, @cometkim, @IMMGBC, @chaozh, @msorre2, @demining, @ebdavison, @icetimux, @dori4n, @GM28, @Soulsurvivor1911, @sparkhuu, @Dexyne, @willamblack, @sensorii, @zemacik, @sorab2142, @goshacmd, @selvakumarEsra


chore(deps): Update mockito to 5.2.0

Can you double-check if this change / current j11 can be build successfully? @czengler
Some checks failed, and I can't see why mockito should be the cause for that.

The failure was something temporary (Could not transfer artifact org.apache.maven:maven-model:pom:3.0 from/to central ([https://repo.maven.apache.org/maven2](https://repo.maven.apache.org/maven2)): Connection reset).
I reran the job. Now it's green, so everything should be fine :)


[Easi-1999] Model Plan Status Changes

EASI-1999
Changes and Description

Created UI for displaying model plan status
Created a route and UI for editing status
Created GQL mutation and types for modifying status
Testing where applicable

How to test this change

Create a new plan and navigate to the task list page
Confirm that the status is displayed on top of page
Click Update link will navigate user to status updating page. Ensure this page matches figma
Clicking on dropdown has the same options as figma
Click Update will return user to task list page and update status
Ensure click Don’t update status and return to task list doesn't update and returns to list

PR Author Review Checklist

[ ] Met the ticket's acceptance criteria, or will meet them in a subsequent PR.
[ ] Added or updated tests for backend resolvers or other functions as needed.
[ ] Added or updated client tests for new components, parent components, functions, or e2e tests as necessary.
[ ] Tested user-facing changes with voice-over and the rotor menu

PR Reviewer Guidelines

It's best to pull the branch locally and test it, rather than just looking at the code online!
Check that all code is adequately covered by tests - if it isn't feel free to suggest the addition of tests.
Always make comments, even if it's minor, or if you don't understand why something was done.

One of the status translations reads compelte rather than complete.  This may in fact be my typo from earlier hehe.


Custom activator

I think the name "activator" for the property is clearer than "input", but I'm a little torn about whether it makes sense in the context of a component called DateInput. I think we'd either want to make customActivator completely replace the DateInput component if specified or rename customActivator to something like customInput so it lines up with the existing way things work. I think it'd be easier for users to understand customInput and we could just use it the way we want anyway. What do you think?


Links to guidance pages

Hi, great to see there are now links to IATI guidance pages on AidStream!

Please could the links be updated to our corresponding web pages rather than the older pdfs on google drive?
You can find all of the relevant pages listed here: https://iatistandard.org/en/guidance/standard-guidance/
Our plan is to keep adding more as they get consulted on and finalised.

Hi Amy,
The links to the guidance page have been updated.
Thank you for your support. @amy-silcock
Best regards,
Karuna

Thank you both!


C2W2 Practice Quiz Multiclass Classification: Wrong answer for Q2

Describe the Error
wrong answer marked for question 2 in C2W2 Practice Quiz Multiclass Classification
To Reproduce
Steps to reproduce the behavior:

Go to 'https://www.coursera.org/learn/advanced-learning-algorithms/exam/d9Buy/practice-quiz-multiclass-classification/attempt'
Click on the option 'z_3/(z_1+z_2+z_3+z_4) '
Scroll down to 'Submit' button
See error

Expected behavior
All the answers should have been correct but answer to question 2 is wrong
Screenshots
Incorrect answer:

Correct answer:

Desktop (please complete the following information):

OS: Windows 11
Browser: Edge
Version: 114.0.1823.58 (Official build) (64-bit)

Okay, it looks like this issue has already been solved but the problem lies with the README links:
This is what the README links to, when you select the Multiclass Practice Quiz:

notice its not the main branch
And this is what's actually present in main branch:

correct solution marked


Misc doc changes

List of changes:

Bump license year
Use common source url
Fix typos
Fix markdown
Add release changelog to readme
Add hexdocs badge
Use and set ex_doc to latest version
Update gitignore

Rebased and merged in https://github.com/teamon/tesla/commit/65d178ae4b754b7afb8791e2f83ca689604345e5
Thanks!


retrun in case error

Required for all PRs:

[ ] Updated associated README.md.
[ ] Wrote appropriate unit tests.

resolves #

/cherry-pick release/2.1-beta.2


add lifecycle badges to exported functions #85

Checklist

[✅] update NEWS.md
[✅] documentation updated with devtools::document()
[ ? ] devtools::check() passes locally

Got 2 errors ✖ | 4 warnings ✖ | 2 notes ✖ with devtools::check().
Changes
Your example badges were included in the details section of the docs. Some functions - like arc_raster() - lacked details. In that case, I added a details section.
Issues that this closes
Closes: https://github.com/R-ArcGIS/arcgislayers/issues/85
Follow up tasks
Found this when I ran check(): https://github.com/R-ArcGIS/arcgislayers/issues/102
Got this error running examples: Error in coalesce_crs(x, y) : could not find function "coalesce_crs"
In the tests: Error in expect_fals("sf" %in% class(res)): could not find function "expect_fals"

Devtools check will definitely not pass for you! I haven't put in the work to make it pass yet hahah!

Thank you!!!!


Update README.md

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Hey, this caught me out because I was following the npm instructions. Maybe worth a release?
Thanks for the component!

The CodePen linked in the README is also missing the prefix, by the way.


Rewrite todos tutorial with Blockstack Connect

Update the documentation to support the general release of Blockstack Connect and the corresponding deprecation of the Blockstack Browser.
Focus on updating the "Todos app" tutorial with Blockstack Connect as the main entry point for the "Build Decentralized Apps" section.
Issues resolved:

[x] #560
[x] #566
[x] #565
[x] #564
[x] #553
[x] #552
[x] #561

Note that some of these issues have been merged already into the underlying simplification branch as captured by https://github.com/blockstack/docs.blockstack/pull/615.

The focus of these changes is on browser/todo-list.md.

@johndmulhausen wondering why there's no preview for this PR? Is Netlify disabled?

@alxivnov Looks like it's only enabled for master-bound PRs. I'll change it.

Staging is now available at https://deploy-preview-616--docsproduction.netlify.app/browser/todo-list.html

This looks great. Not understanding the AI of Tutorials vs Authentication – should our Todo app simply go under Authentication and we kill Tutorials?

Still seeing Hubs and user choice reference the browser

This looks great. Not understanding the IA of Tutorials vs Authentication – should our Todo app simply go under Authentication and we kill Tutorials?

Yep I like that idea despite that Todo app tutorial being auth + storage.

Still seeing Hubs and user choice reference the browser

I still have yet to incorporate your input on the other PR, but I agree we can just remove the page in lieu of the current deprecation notice.

This "Hubs and user choice" page has been removed per https://github.com/blockstack/docs.blockstack/pull/615#issuecomment-647448516.

Great! @hstove once the app is updated, mind updating this tutorial with any code snippets or screenshots that change as a result?

I updated the todo tutorial doc. It was only a few small things to account for code changes.

Synced with @markmhx -- so, since #624 is merged with this work already in it, we're going to close this PR. There is outstanding feedback from @agraebe that I'm going to address in a fast-follow PR so things are a bit cleaner. Thanks for the hard work on this!


"Preparing metadata (setup.py) ... error   error: subprocess-exited-with-error"

Hi,
When I run "the pip install -e .", I met the error below.
(trafficgen) root@4g7j9ujtf1qe8-0:/rockywin.wang/NeRF/trafficgen# pip install -e .
Obtaining file:///rockywin.wang/NeRF/trafficgen
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [14 lines of output]
      error: Multiple top-level packages discovered in a flat-layout: ['raw_data', 'trafficgen', 'raw_data_tmp', 'processed_data'].

      To avoid accidental inclusion of unwanted files or directories,
      setuptools will not proceed with this build.

      If you are trying to create a single distribution with multiple packages
      on purpose, you should not rely on automatic discovery.
      Instead, consider the following options:

      1. set up custom discovery (`find` directive with `include` or `exclude`)
      2. use a `src-layout`
      3. explicitly set `py_modules` or `packages` with a list of names

      To find more information, look for "package discovery" on setuptools docs.
      [end of output]

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

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

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

Fixed. Thanks for reporting!


enrico_sed error

Hi everyone,
If enrico_sed results this message (it works but with this message) :
<<Minos error encountered for parameter 59.
Attempting to reset free parameters.
beta :  0.06 +/-  0.00  1e+00
Eb :  914.50   1e+00
The covariance matrix is :
[[  6.92082887e-04   1.21018965e-05   5.10972909e-05]
[  1.21018965e-05   1.31702388e-04  -2.75753739e-05]
[  5.10972909e-05  -2.75753739e-05   2.36359338e-05]]
......
.......>>
How we can check which is the "parameter 59" ?
If we obtain this message does it mean that the fit did not converge ?
Thank you in advance !

Hi,
this is only the message which I don't understand. This is also output of MINUIT and then part of the gtlike tool
cheers
david

Hi David,
Thank you for your answer! I am sorry I copied small part of the output. This is full output from enrico (after FitMaker). I would like to ask about the message "Minos error encountered for parameter 59"
How we can check which is the "parameter 59" ?
If there is this kind of message in the output does it mean that the fit did not converge ?
Thank you in advance!
The output
<<[FitMaker]: Results for the Fit
Source Name    Npred    TS
Values and (MINOS) errors for source1
TS :  30136.429653
Info in : VariableMetricBuilder: no improvement in line search
Info in : VariableMetricBuilder: machine accuracy limits further improvement.
Info in : VariableMetricBuilder: INVALID function minimum - edm is above tolerance, : edm = 0.000126688
Info in : VariableMetricBuilder: Required tolerance  is 10 x edmval  : edmval = 5e-06
Info in : VariableMetricBuilder: no improvement in line search
Info in : VariableMetricBuilder: machine accuracy limits further improvement.
Info in : VariableMetricBuilder: INVALID function minimum - edm is above tolerance, : edm = 0.00014838
Info in : VariableMetricBuilder: Required tolerance  is 10 x edmval  : edmval = 5e-06
Minos error encountered for parameter 57.
Attempting to reset free parameters.
norm :  1.91 +/-  0.03  1e-11
Info in : VariableMetricBuilder: no improvement in line search
Info in : VariableMetricBuilder: machine accuracy limits further improvement.
Info in : VariableMetricBuilder: INVALID function minimum - edm is above tolerance, : edm = 0.000111949
Info in : VariableMetricBuilder: Required tolerance  is 10 x edmval  : edmval = 5e-06
Info in : VariableMetricBuilder: no improvement in line search
Info in : VariableMetricBuilder: machine accuracy limits further improvement.
Info in : VariableMetricBuilder: INVALID function minimum - edm is above tolerance, : edm = 0.000110145
Info in : VariableMetricBuilder: Required tolerance  is 10 x edmval  : edmval = 5e-06
Minos error encountered for parameter 58.
Attempting to reset free parameters.
alpha :  1.84 +/-  0.01  1e+00
Info in : VariableMetricBuilder: no improvement in line search
Info in : VariableMetricBuilder: machine accuracy limits further improvement.
Info in : VariableMetricBuilder: INVALID function minimum - edm is above tolerance, : edm = 0.000118691
Info in : VariableMetricBuilder: Required tolerance  is 10 x edmval  : edmval = 5e-06
Info in : VariableMetricBuilder: no improvement in line search
Info in : VariableMetricBuilder: machine accuracy limits further improvement.
Info in : VariableMetricBuilder: INVALID function minimum - edm is above tolerance, : edm = 0.000133429
Info in : VariableMetricBuilder: Required tolerance  is 10 x edmval  : edmval = 5e-06
Minos error encountered for parameter 59.
Attempting to reset free parameters.
beta :  0.06 +/-  0.00  1e+00
Eb :  914.50   1e+00
The covariance matrix is :
[[  6.92082887e-04   1.21018965e-05   5.10972909e-05]
[  1.21018965e-05   1.31702388e-04  -2.75753739e-05]
[  5.10972909e-05  -2.75753739e-05   2.36359338e-05]]
Source Flux  [1.00e+02 MeV, 3.00e+05 MeV] :
3FGL J0136.5+3905   Integral Flux : 2.50e-08 +/-  0.00e+00 ph/cm2/s
3FGL J0137.0+4752   Integral Flux : 8.05e-08 +/-  0.00e+00 ph/cm2/s
3FGL J0149.6+4846   Integral Flux : 8.06e-10 +/-  4.87e-10 ph/cm2/s
3FGL J0152.2+3707   Integral Flux : 8.38e-09 +/-  1.43e-09 ph/cm2/s
3FGL J0154.1+4642   Integral Flux : 1.47e-10 +/-  3.18e-10 ph/cm2/s
3FGL J0154.9+4433   Integral Flux : 5.78e-09 +/-  9.77e-10 ph/cm2/s
3FGL J0156.3+3913   Integral Flux : 1.41e-08 +/-  1.38e-09 ph/cm2/s
3FGL J0202.5+4206   Integral Flux : 4.23e-09 +/-  1.06e-09 ph/cm2/s
3FGL J0208.6+3522   Integral Flux : 1.22e-09 +/-  0.00e+00 ph/cm2/s
3FGL J0209.5+4449   Integral Flux : 1.93e-09 +/-  6.23e-10 ph/cm2/s
3FGL J0218.1+4233   Integral Flux : 7.41e-08 +/-  2.47e-09 ph/cm2/s
3FGL J0218.9+3642   Integral Flux : 5.81e-08 +/-  2.17e-09 ph/cm2/s
3FGL J0221.1+3556   Integral Flux : 8.91e-08 +/-  0.00e+00 ph/cm2/s
3FGL J0223.6+3927   Integral Flux : 1.04e-08 +/-  1.43e-09 ph/cm2/s
3FGL J0230.8+4032   Integral Flux : 3.29e-08 +/-  1.68e-09 ph/cm2/s
3FGL J0248.5+4232   Integral Flux : 4.92e-09 +/-  1.15e-09 ph/cm2/s
3FGL J0252.3+3830   Integral Flux : 1.85e-08 +/-  1.68e-09 ph/cm2/s
3FGL J0303.6+4716   Integral Flux : 2.74e-08 +/-  1.97e-09 ph/cm2/s
source1   Integral Flux : 1.17e-07 +/-  2.51e-09 ph/cm2/s
gll_iem_v06   Integral Flux : 5.67e-04 +/-  2.81e-06 ph/cm2/s
iso_P8R2_SOURCE_V6_v06   Integral Flux : 9.95e-05 +/-  1.96e-06 ph/cm2/s
************************************************************
***   5    PlotSED --- Generate SED plot
************************************************************
[Result]: Decorrelation energy : 1.00e+03 MeV
[Result]: Diffential flux  at the Decorrelation energy : 1.62e-11 +/-  2.23e-13 ph/cm2/s/MeV
[Result]: SED value at the Decorrelation energy : 2.59e-11 +/-  3.57e-13 erg/cm2/s
/opt/Fermi/x86_64-unknown-linux-gnu-libc2.5/bin/python: error while loading shared libraries: /opt/Fermi/x86_64-unknown-linux-gnu-libc2.5/bin/python: wrong ELF class: ELFCLASS64
Info in TCanvas::Print: eps file
/Spectrum/SED_source1_LogParabola_CountsPlot.eps has been created
Info in TCanvas::SaveSource: C++ Macro file:
/Spectrum/SED_source1_LogParabola_CountsPlot.C has been generated
Info in TCanvas::Print: eps file
/Spectrum/SED_source1_LogParabola_ResPlot.eps has been created
Info in TCanvas::SaveSource: C++ Macro file:
/Spectrum/SED_source1_LogParabola_ResPlot.C has been generated

This are message from MINUIT and enrico do not manage the fit and MINUIT.
Here, the only problem you have is that MINOS cannot compute errors. The fit should be ok but you can
check by using enrico_scan  (minos is run on the source parameters only, then paramters 57, 58 and 59 are the source paramters)
best
david

I have close this issue. reopen it if needed


[WIP] emmbed html file into website

What type of PR is this?
/kind documentation
What this PR does / why we need it:
For test.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:

/close


Schedule configuration problem with sja1105-tool

Hello, i am using the LS1021ATSN-PA board(just one),and i did one board demo according to the PDF(Open Industrial Linux User Guide Release v0.2),but when i did the schedule configuration(6.8.6), there's something wrong like this:
[root@OpenIL:~]# sja1105-tool conf mod schedule-table entry-count 2
[root@OpenIL:sja1105]# for i in 0 1; do sja1105-tool conf mod schedule-table[$i]
\destports 0b00100;done
Index out of bounds!
Please adjust the entry count of the table:

config modify  entry-count )
modify failed!
Index out of bounds!
Please adjust the entry count of the table:
config modify  entry-count )
modify failed!
Do you know what's wrong with this? Thank you .

Why are you using OpenIL v0.2 when 1.6 is available? Is the sja1105-tool version also from v0.2?

Because there's only one ls1021atsn board and the one board demo introduction from v1.6  is so simple,and i cannot understand where is or how to creat the ' ~/.ssh/authorized_hosts configuration ' file ,because there is a space between authorized_hosts and configuration,so i found v0.2 and did the demo.
There is a question, i want to know ,could i control the sja1105 without the sja1105-tool in the openil,just like fpga.

Thank you.

Hold on, let's take the items one by one.
The file is called authorized_hosts and is located in the .ssh folder of the current user's home, which is also abbreviated as ~ in Linux. So the full path is ~/.ssh/authorized_hosts. There is plenty of information on the web on how to configure a SSH server and client and I don't intend to go into further detail on that here.

could i control the sja1105 without the sja1105-tool in the openil,just like fpga.

What do you mean "just like fpga", how do you control a FPGA?
If I ignore the latter part of the question and concentrate on the first part ("without sja1105-tool"), yes, the switch is supported in the mainline Linux kernel and the abstractions used there are completely different from what sja1105-tool offers (DSA for switch management, switch ports as individual net devices, tc-taprio for Qbv configuration, etc). A high-level documentation for the mainline Linux solution is here: https://www.kernel.org/doc/html/latest/networking/dsa/sja1105.html
Is this what you mean by your question?

Thank you for your answer.
I have known the reason about the problem "[root@OpenIL:~]# sja1105-tool conf mod schedule-table entry-count 2
[root@OpenIL:sja1105]# for i in 0 1; do sja1105-tool conf mod schedule-table[$i]" , it's because the commond " [root@OpenIL:~]# sja1105-tool conf mod schedule-table entry-count 2" did not work,the schedule-table is empty, but i do not know why.
There are still questions about the LS1021ATSN-PA board:
Can  ls1021a(ARM), CPLD and SJA1105 work together?
Is it possible to program the LS1021A with the IDE(Codewassior), then control the SJA1105.
Thany you again.

There are examples available [1] [2], have you tried running them first and see what is different in your command? I wouldn't recommend using sja1105-tool from version 0.2, please try the newest versions. There have been multiple bug fixes in the past years.

Can ls1021a(ARM), CPLD and SJA1105 work together?

The CPLD is not intended to be programmable. It only serves to drive the reset logic of the board, multiplex interrupt lines, etc. Furthermore, the CPLD on the LS1021A should be accessed through the IFC bus, but due to pinmuxing limitations in the LS1021A RCW design, IFC is mutually exclusive with QSPI. The RCW binaries distributed with OpenIL have preferred to choose QSPI access, so the IFC bus (and therefore the CPLD) is not accessible currently. And to be fair, I don't see any major reason to access it.

Is it possible to program the LS1021A with the IDE(Codewassior),

CodeWarrior for ARMv7 supports the LS1021A SoC but not the TSN board in particular. I don't think it offers any particular benefit.

then control the SJA1105.

Again, what do you mean by "control"? The SJA1105 is a discrete SPI device, and CodeWarrior only has insight into the DSPI controller registers, at most. It does not have any sort of support for SJA1105.

Thank you , i will try the examples .
I know the v0.2 is too old, but i can not find another one like v0.2 , has a detailed introduction.
Thank you again.

The documentation in later releases has become less verbose because more of the examples have been moved from the PDF into the scripts I linked to.

For your information, you will find some limitations in the sja1105-tool, like the fact that PTP over the switch ports is not supported. You may still use the OpenIL documentation for a description of the hardware capabilities, but if you want PTP you can try the "community" (unofficial) version of OpenIL that supports that.

Thank you, for the examples of single-qbv-standalone-clk.sh and scheduler-create,the first one generate a .xml file, what can i do with it? (load it to the board? )
The second, scheduler-create, it just stop there and generate nothing.
"j123dadi@123dadi:~/sja1105-tool/src/helpers/bin$ scheduler-create
"
Is there anything wrong?
Thank you again for your patience and kind.

For the first example, you transfer the xml to the board (or run the commands directly on the board) and run "sja1105-tool config load -f file.xml".
The second example is the actual script that is being run to generate the xml. You are not supposed to run it directly. You will find it called from the first script.

Ok, i will try it later, thank you for your answer.

Have a great day☀

祝你有美好的一天☀

Have a great day☀

Hello, do you have a demo tutorial for a single LS1021 development board?

祝你有美好的一天sunny

Have a great daysunny

Hello, do you have a demo tutorial for a single LS1021 development board?

祝你有美好的一天sunny

Have a great daysunny

Hello, do you have a demo tutorial for a single LS1021 development board?

?

祝你有美好的一天sunny

Have a great daysunny

Hello, do you have a demo tutorial for a single LS1021 development board?

?

回复错了，我用的是ls1021atsn那块板子，然后找了一个以前版本的文档，里面有一块板子的demo指导。

祝你有美好的一天sunny

Have a great daysunny

Hello, do you have a demo tutorial for a single LS1021 development board?

?

回复错了，我用的是ls1021atsn那块板子，然后找了一个以前版本的文档，里面有一块板子的demo指导。
你会中文啊？

祝你有美好的一天sunny

Have a great daysunny

Hello, do you have a demo tutorial for a single LS1021 development board?

?

回复错了，我用的是ls1021atsn那块板子，然后找了一个以前版本的文档，里面有一块板子的demo指导。
你会中文啊？

中国人不会中文啊。。。

祝你有美好的一天sunny

NXP Digital Networking Global Software Development Open Industrial Linux User Guide Release v0.2.pdf

Have a great daysunny

Hello, do you have a demo tutorial for a single LS1021 development board?

?

回复错了，我用的是ls1021atsn那块板子，然后找了一个以前版本的文档，里面有一块板子的demo指导。
你会中文啊？
我上传了，你看一下，位置有点不对，在上面。

祝你有美好的一天sunny

NXP Digital Networking Global Software Development Open Industrial Linux User Guide Release v0.2.pdf

Have a great daysunny

Hello, do you have a demo tutorial for a single LS1021 development board?

?

回复错了，我用的是ls1021atsn那块板子，然后找了一个以前版本的文档，里面有一块板子的demo指导。
你会中文啊？
我上传了，你看一下，位置有点不对，在上面。

非常感谢，，加个qq交流一波呗<PHONE_NUMBER>


Hint to upgrade JW Library in validateManifest

This might make it more clear what to do if the manifest is incompatible.

Coverage decreased (-0.03%) to 83.982% when pulling b17e4d2515f4e59d676151a1e21eadd942fab4a8 on clearer_manifest_error into 9c2efe10d0682aae868142abff3d9e84b7bf491e on master.


Missing subscription's term data in POST /saas/subscriptions/resolve response

Hello,
about a week ago we've noticed that the POST /saas/subscriptions/resolve REST API endpoint of the SaaS API has stopped returning the subscription's term data in the response body.
We're adding Azure Marketplace support to our product and the account configuration redirect suddenly began failing because of the missing data.
We're using the SaaS API's specification from this repository for HTTP client code generation.
We've already opened a support ticked for this issue a few days ago, but we didn't get any concrete feedback yet.
I'm wondering if the API perhaps changed recently and the OpenAPI specification from this repository is therefore outdated? Are we suddenly supposed to fetch the subscription's term data from somewhere else? We couldn't find any resources mentioning the deprecation of these properties. The https://docs.microsoft.com/en-us/azure/marketplace/partner-center-portal/pc-saas-fulfillment-api-v2 documentation hasn't changed either.
I suppose that the API's version would be affected with such a breaking change, therefore I think that something else must've happened.
Could you perhaps tell us if this issue is known and if it's already being worked on? Otherwise we'll be forced to find some kind of workaround on our side.
Thank you! 🙂
https://github.com/microsoft/commercial-marketplace-openapi/blob/ae3f6900997e0bf850dae86aec61098cf179efd3/Microsoft.Marketplace.SaaS/2018-08-31/saasapi.v2.json#L936

We've been told that we should fetch the term data using https://docs.microsoft.com/en-us/azure/marketplace/partner-center-portal/pc-saas-fulfillment-api-v2#get-subscription after the subscription has been activated using https://docs.microsoft.com/en-us/azure/marketplace/partner-center-portal/pc-saas-fulfillment-api-v2#activate-a-subscription.
The https://docs.microsoft.com/en-us/azure/marketplace/partner-center-portal/pc-saas-fulfillment-api-v2#resolve-a-purchased-subscription response currently doesn't contain the term data anymore.
We haven't been told if the previous implementation (term data is present in the resolve response) will be reverted / made available again. If not, then the documentation - https://docs.microsoft.com/en-us/azure/marketplace/partner-center-portal/pc-saas-fulfillment-api-v2 - and OpenAPI specification - https://github.com/microsoft/commercial-marketplace-openapi/blob/main/Microsoft.Marketplace.SaaS/2018-08-31/saasapi.v2.json - are both out of sync with the actual implementation.
It's also interesting that the API version hasn't changed with such a breaking change. It's still 2018-08-31. On the other hand, everything in the Subscription model from the OpenAPI specification is optional, which means that one can't really tell what will be returned in a response without trying it out manually.

@rokf Our approach has been to activate the subscription, ignore the response, and then poll the get subscription endpoint for up to 15 seconds until the state has changed to Subscribed and there is a term start date.

I'm closing this issue. The OpenAPI specification has all the term fields set to optional, which means that they won't necessarily be present. There's nothing wrong with the OpenAPI specification in that regard, just with the documentation, because it's slightly misleading.


add webhookURI to opts in webhook apis

The webhook part of this lib uses the 1.0 version REST APIs. The 1.0 version of the createWebhook API  doesn't return a webhookId, but a self field that includes the entire URI. This PR makes it possible to use that in other calls so one doesn't have to parse the webhookId out of the URI.

@floralvikings It's pretty small. Please let me know what you think. Thanks!


Raspberry Pi playing music from Spotify automatically

This is not an issue on this library. I am trying to figure out how to get a Raspberry Pi to play music from Spotify when the user comes home. I have some python code that will let the Raspberry Pi know the user is home, now I just need to the music to play. I am wanting to know if this can be possible in anyway? I have asked this on Stack Overflow, but if you answer on here it is appreciated.

There's a Python library for Spotify called Spotipy. You can check that out. https://spotipy.readthedocs.io/en/latest/


Support Jacoco Code Coverage Results

Is your feature request related to a problem? Please describe.
Our projects are using Jacoco for code coverage reporting. Currently we need to use a custom script which converts the structure of the Jacoco reports to that of Cobertura.
Describe the solution you'd like
It would be really nice if Infrabox natively supported both Jacoco and Cobertura as Jacoco is another popular code coverage tool that's used.
Describe alternatives you've considered
As described above, currently have to script a process to convert from Jacoco format to Cobertura.
Additional context

Hi,
do you already have a scr


Feedback

StringLocalizer

Have you considered adding an option to quietly handle formatting exceptions? I think it's possible that the resources could come from an external location and contain formatting errors. Maybe the default message could be used if there is a formatting exception (opt-in)?

Is it necessary to have ResourceManagerLocalizer in addition to ResourceManagerWithCultureLocalizer? Is it not possible to just have ResourceManagerLocalizer(ResourceManager resourceManager, CultureInfo culture = null) (or two constructors)

The parameter name "key" is used in some places (f.e. in LocalizedString), and "name" is used elsewhere (f.e. in IStringLocalizer). Maybe it should be "key" everywhere?

Won't there be a lot of duplication if you have one resource file per view?

With regard to locale-specific views: I've seen this type of thing before, but I think that (a) there will be loads of duplication, and (b) it will get messy [especially with more than just a few supported locales]. There may be performance implications as well, with file existence checks, fallbacks, etc. I would definitely keep this as "disconnected" as possible, I don't think that many people will use it (but I could be wrong).

Will it be possible to configure validation messages without using attributes? (defaults in addition to per-type overrides) I think that putting the validation messages in the models will get messy quite quickly.

I created a proof of concept here which allows you to create a string localizer with a custom string "provider" (source of translated strings/data) and an optional string "formatter" (examples are included for SmartFormat.NET and messageformat.net). The DI stuff is not implemented, as this is just to demonstrate the idea. The Index.cshtml file contains all of the instantiation code for now. The main examples start from line 109. The example string provider just contains a Dictionary<string, string>, but this would usually load strings from a data source such as a database, resource files, JSON, CSV, web service, etc. Let me know what you think, and if something like this might be included.

With the above, almost all translation functionality can be implemented, with the exception of text/message domains (unless this can somehow be set statically). Text domains are supported in PHP (gettext), Zend Framework (PHP), Symfony (PHP) Ruby (seems to support "namespaces"), Perl, etc. If you want to support this, I guess IStringLocalizer would need overloads that accepted a textDomain parameter of type string. The validation and metadata model provider system would also need to accept this (optional) parameter.

RequestLocalizationMiddleware

How will you handle prioritization? For example if both a cookie is set, as well as a header or delegate, which takes priority? Would using a priority queue and a culture selection interface take a lot of time to implement? (for v1 you could leave out the update/set-locale side of the process). The other benefit here is that users could easily create other "strategies" (although I guess they could write their own middleware if necessary).

Sometimes you only want to set the UICulture for translation, and use another culture for number formatting, etc., so it may be best to allow the developer to specify which culture settings to set from the RequestLocalizationMiddleware. (see here)

(some feedback copied from my comment here)

Thanks for taking the time to offer so much feedback! Let me say that for our initial version, we intend to keep the feature set small. We can always build it out from there. That said, let me try to address each suggestion:
StringLocalizer

We could, or the app developer could easily wrap our type and do that themselves. I'm not convinced ignoring format exceptions is the right thing to do. Regardless of where the messages come from, they should be owned by the app and be in the right format.
Either would work, but the pattern we have now means any IStringLocalizer can be turned into a culture specific one easily, which is nice when the primary way people will get them is via DI on that interface, not from the concrete types.
Yeah that should be consistent. We'll clean that up.
That's totally optional. IViewLocalizer has that behavior right now in the sample, but the /Shared/_Layout.cshtml uses a an IStringLocalizer directly. Any view can just create an IHtmlLocalizer from IHtmlLocalizerFactory for any source they like. We could look at making IViewLocalizer a little more flexible by looking in multiple places for resources instead of just a file named after the view.
People do locale-specific views all the time. There are cases when it's just a better choice. You'll be free to use it or not.
You can specify a different source for your validation information so that it doesn't have to be on the same type as your model. That's the same as it is today. Note that ValidationAttribute is in the .NET Framework and can't really be changed to do something else for validation messages, so this is the best approach we could come up with working within those boundaries.
So this is basically splitting up the concerns of the source of localized strings vs. the formatting of them? If so, cool, and you plumbed it through IStringLocalizer which shows apps would be free to make composition choices like this.
I'm not familiar with text domains, but they appear to simply be further classification of where the strings come from. In our case, the IStringLocalizer is that domain. When you create one from the IStringLocalizerFactory you can provide a location which is just a string that can be used to represent any source. In our default implementation which is based on .NET's ResourceManager, it represents an AssemblyName.

RequestLocalizationMiddleware

The middleware will likely to a search in priority order, with the first one being satisfied being used (order will likely be cookie then Accept-Language header). Then there'll be a delegate the app can set to have a chance to change it to whatever it likes, e.g. set from a user profile DB. This is the simplest thing we can do that enables the scenarios. The app is of course free to make its own middleware that does whatever it likes. It just needs to set the culture on the current thread and anywhere else it cares to.
The middleware will likely have an options to configure which of the culture properties it sets (CurrentCulture and/or CurrentUICulture). Again, it won't be a very complex middleware and could be easily replaced by the app with whatever custom code it likes. We'll make sure things like the Accept-Language header parsing logic can be easily reused.

StringLocalizer

Maybe you're right. It's just that for a non-developer, it's very easy to forget a brace, or to add too few/too many placeholders. If it's going to be strict, then developers will need to create a tool to validate the messages before putting them into production.

Okay. To be honest, I'm not really familiar with this pattern (creating an instance of a type from an instance of the same/similar type), but it's not important. :smile:

"Note that ValidationAttribute is in the .NET Framework and can't really be changed ..." – how does the ErrorMessage get localized? Are you suggesting that you won't be able to use a different type of string formatting, for example?

Pretty much. For example, you could have an ILocalizedStringProvider that loads strings from resource files, and then the developer could switch between using regular string formatting, SmartFormat.NET, messageformat.net, etc. I should add caching somewhere as well.

It's for grouping messages into logical "domains". For example, you could have a text domain for each MVC area, and one for the application as a whole. If the same message is translated in more than one domain, you could prioritize the messages in the current area, or always favour the application-level translation (depending on your needs). However, I can't really say how important this is, since I haven't used it myself.

RequestLocalizationMiddleware

I may write a strategy-based culture selection middleware later, but it's not a very high priority right now. :smile:

"We'll make sure things like the Accept-Language header parsing logic can be easily reused." – that would be great.

The localization work is over at https://github.com/aspnet/Localization now


DSND-3112: Refactor delete processing

Describe the changes

Send a resource changed event when processing a delete delta and the child to delete is missing but the parent is not
Also replaces deprecated @MockBean with @MockitoBean
Deletes now retrieve an existing document by _id instead of _entity_id.
Indexes of children in child arrays are computed programmatically.
Removed feature flag to toggle deletion of child transactions.

Related Jira tickets
DSND-3112
Developer check list
General

[ ] Is the PR as small as it can be?
[ ] Has the Jira ticket been updated with any relevant comments?
[ ] Is the README up to date?
[ ] Has the POM been updated for the latest versions of dependencies?
[ ] Has the code been double-checked against main?
[ ] Does the code adhere standards in this repository, including SonarQube checks?

Testing

[ ] Do the code changes have unit and integration tests with code coverage > 80%?
[ ] Has the code been tested locally and/or passed the API Karate tests on Tilt?
[ ] Have mandatory manual test cases been run?
[ ] Are extra Karate tests required?
[ ] Are all the test data resources up to date?

Release preparation
Where possible, add links to the respective Jira tickets when an item is checked

[ ] Have these changes been included in a release ticket?
[ ] Are changes required to the docker-chs-development deployment or test data?
[ ] Are any changes required to the environment added to deployment repositories?

Notes to the tester
Add any testing hints or instructions here.

CI: No security warnings found


Adding statistic metrics: peak_rss_mb and slowest_exec_ms

Gather more metrics and print them in the fuzzer_stats report to better understand how a fuzzer behaves:

peak_rss_mb: the maximum rss value reached during the fuzzing. This is collected by the parent process at the end of the fuzzing session using getrusage on RUSAGE_CHILDREN (the parent process needs to end and wait for the children to use the RUSAGE_CHILDREN option).
slowest_exec_ms: duration of the slowest execution in ms that is not considered as a hang.

Probably worth documenting this in docs/status_screen.txt like the other stats.


Matching generates stubs instead of streets

Using the CLI with default parameters, matching sometimes generates stubs instead of streets. Here's an example from SF:

Those stubs are ~<2m in length. The matcher usually fails silently on the rest of the street segment. This is true for most of downtown SF:

I don't see a reason in the data for why this fails. The (current) OSM geometries are tagged highway=residential or highway=tertiary. The OSM geometries are sometimes 2-10 blocks long, but that's true in other areas that do match properly.
Here's a geojson for that first image:
stubby_matches_sf.geojson.txt

Related to: https://github.com/CityofToronto/bdit_shared_streets_conflator/issues/14


CSS styles not working after build

inline styles work properly, but any styles imported from a css file are do not.

Notice how the tabs are stacked vertically, and how the buttons are stacked horizontally since the container component uses inline styling

Solved by adding vite-plugin-css-injected-by-js plugin to vite.config.js


Delete cached coverage before computing coverage

This won't change how coverage is computed on Travis (presumably because there aren't any cached coverage files lying around in a fresh install), but it will change local numbers to be accurate when using run_tests.py
Issue #197

+1

+1


Possible flash command for manual use

At the moment all the bobbin commands expect a cargo build underneath, it'd be neat to be able to specify a binary (and location) to use bobbin to flash a binary manually

Apologies for not seeing this issue earlier... bobbin load --no-build <binary> should work for this. Is there a different use case you were thinking of?

hey no worries, i was trying to load non-rust or pre-compiled binaries so it'd have to be a separate command i think that takes a full path and ignores the build system.


Push master to pypi

Hello,
I was just trying to use jinjasql when binding the same parameter twice, which breaks the named prepare query function.
Would you mind making a release v0.1.7 and then pushing that to pypi?

Pushed.

Thank you!


Split Pane class into LeafPane and ParentPane + small fixes

Summary of the Pull Request
Splits implementation of Pane class into LeafPane and ParentPane, both inheriting from, now abstract, Pane. Additionally applies some small fixes along the way. No behavior visible to user (other than one bug) has been changed.
Benefits of this change:

Eliminates possibilities of performing operations invalid for given state (e.g. accessing terminal control when the pane is leaf).
Makes clear what fields and methods are used in what state (e.g. that border is only used on leafs, which wasn't that obvious).
Makes the state immutable (leaf cannot directly become parent and v.v.), which reduces possibilities of broken invariants etc.
Makes me sleep better.

PR Checklist

[X] Closes #3248 Closes #4057
[X] CLA signed. If not, go over here and sign the CLA
[X] Tests added/passed
[ ] Requires documentation to be updated
[X] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #3248

Detailed Description of the Pull Request / Additional comments
About events:
All events that I introduced in LeafPane, ParentPane and Tab are being unsubscribed from in destructors of listener classes, therefore they can safely capture raw this pointer. But there may be other patterns: to always unsubscribe from events (which I've chosen), always capture strong/weak reference, or both (just for the feel of safety). Additionally, weak/strong capturing could also wait for #3999 and #3922.  (Btw, if the event handler isn't removed, the listener object is destroyed and the listenee object is alive, then it's a leak, isn't it?)
Off-topic changes:

Removed Pane::_createCloseLock mutex - the only source of operations on pane from non-UI thread is ConnectionStateChanged event, which now switches to UI thread by itself.
Some event handlers, like TitleChanged, were sometimes registered twice. Now all event handling code is (hopefully) more consolidated.
Now all events are properly unsubscribed from.
Closed #4057, by setting the value of border that touches the just closed pane to the value from that pane.
Removed value None from SplitState as it is no longer needed.
Removed Tab::_activePane as it had duplicated state with Pane::_lastActive. It was replaced with calls to Pane::FindActivePane, which is based only on _lastActive.
Reviewed and corrected some comments that were still referring to separator after #3060

Other, possible improvement ways:

Code in ParentPane::_SetupChildEventHandlers and Tab::_SetupRootPaneEventHandlers is quite similar, esp. in purpose. Maybe try to merge it into some sort of static, template function? Or define small helper class that would hold the pane and handle its replacement, along with its event handlers.
Maybe create another class, PaneTree, which would handle the operations on whole tree and the replacement of root pane (which is now the job of tab)., It could also keep track of active pane, instead of holding  _lastActive on each pane. Panes would then have a pointer to the tree object they belong to and would be able to query the active pane, or e.g. relayout whole tree.

I've made this draft as to alert everyone on what's going on. I based this PR on #3181 which went furthest into modifications of pane code and I'm going to rebase it when it gets merged.
Validation Steps Performed
Manually tested if all operations on panes work as they did and run Invoke-OpenConsoleTests -AllTests.

Hey @miniksa, thanks for quick review. Many things you mentioned are strictly about #3181 (because again, this PR is not a fork of master). It is still open, so it may be best to move relevant discussion and resolve it there. I'll mark pertaining points. Other than that, all debug and temp things will of course go away. I've published it as mostly to make others aware, though of course I appreciate any feedback.

@mcpiroman I do owe you a review on this one, but I've been holding off on doing that until #3181 is merged tbh. I'm just thinking that the review of this PR will be substantially easier if it's not also trying to review those bits at the same time 😝 @DHowett-MSFT still owes you a review on that one, but also I think we'd probably hold it till next week considering we're thinking of shipping 0.8 this week. So it'll be a bit before we're back on this one.

This is a comment signifying that I came back through here, but I don't have anything else to add.
There's still a few outstanding comments of mine, @zadjii-msft still promised to come through once more, the dependent PR is now checked in, and I think it probably is close to being moved out of Draft and into real review. So when @zadjii-msft and @mcpiroman makes a few more changes and moves it out of draft, I'll come through one more time unless otherwise requested.

Alas, we never moved on this... and then we let it rot. I think we thought the architecture we had was "too bad to reasonably ship," but after shipping with it for a while... perhaps the thing we have which sucks works. Thanks again for working on this, and I'm so sorry we didn't end up electing to merge it.


Code coverage for pull requests - document Windows only

Please describe in the document that the build agent should run on Windows.
I took me hours to setup and test and finding out why it doesn't work (the coverage is reported in the build, but it's pushed as Cobertura - by using coverlet  / linux

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

ID: aaa4f4c6-0a42-108e-79dd-5724e1049bd5
Version Independent ID: f4a857d1-78bc-170b-b138-fcf490c85b38
Content: Code coverage for pull requests - Azure Pipelines
Content Source: docs/pipelines/test/codecoverage-for-pullrequests.md
Product: devops
Technology: devops-cicd-test
GitHub Login: @shashban
Microsoft Alias: shashban

Would be great if this weren't Windows only. Is it on the backlog?

Bump.

Hi @304NotModified - PR code coverage now works on Linux agents as well. Please see https://github.com/microsoft/vstest/issues/981 and the docs fix at #11835

ow great news! Will try this!

@stan-sz -- thank you for your contribution to this discussion.
I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


Rebase k8s to 1.14

kubernetes/pkg/kubectl/cmd/templates -> kubernetes/pkg/kubectl/cmd/templates
apiserver/pkg/util/logs -> component-base/logs
Remove explicity dep on glog
move openshift to master
Bump buildah to v1.19.1
Fixes to use versioned client
Refactor out glog references

/assign @nalind
Fingers crossed this passes CI (compile and unit tests pass)

/cc @dmage @gabemontero

/hold
Want to verify that the log output from e2e-aws-builds has what we expect.

/hold cancel
Verbose log tests look good/are passing.

/lgtm

/lgtm

/hold
e2e-aws-builds is currently broken

/retest

/retest
Possible (new) error related to Jenkins

/retest

/retest

/hold cancel


Add the reading time to the SEO

Here is my PR for the reading-time block, which estimates an article's reading time: https://github.com/adobecom/milo/pull/356
There was some discussion in the slack thread about adding this to the SEO blocks, and another discussion about making it an inline link-block.

Since the PR has been merged, I'll close this issue


Cursor stream

Did some cosmetic changes and fixed a potential bug ins ast.dart. This implementation, however, is a bit artificial since you are practically forcing it from an Iterable. It would be more natural is you could get/create a Stream of data from the Socket and pass it asynchronously to the Cursor. If this is impossible then we are better of implementing an Iterable directly that returns the convertedData variable.

using async/await adds an unneeded dependency on dart 1.9

Unneded? 1.9.1 is like a MUST HAVE. You should not degrade the quality of your library for compatiblity.

You are welcome to open a new request with the other changes


GH-89: Clarify adminAddresses and nodes Properties

Fixes https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/89

@garyrussell ,
I have just pushed a simple polishing to your branch.
Please, confirm that it's OK and I'll merge.

Sure; thanks.


Failure when running test that has a package with native code

VM 1.18.0-dev.4.0
Test fails to run with failure related to the native code. The test is run using dart --packages packagesDir scriptFile.
'package:sync_socket/src/socket.dart': error: line 20 pos 1: native function 'connect' (2 arguments) cannot be found
int _connect(String host, String service) native 'connect';
^

I believe this CL fixes the issue. Please confirm @keertip

Yes, it does fix the problem. Thanks!


[Sept Sprint] The Farm

This is part of our September Spring to get the Go Track in shape. Please read the Overview issue for more details. This exercise is unclaimed. To claim it, please comment below.

[ ] https://github.com/exercism/go/issues/1636
[ ] https://github.com/exercism/go/issues/1638
[ ] https://github.com/exercism/go/issues/1639

I'd like to work on this

@ErikSchierboom Have you seen there is also the exercise Deep Thought which teaches errors? The "Deep Thought" exemplar looks more like what we are aiming for here to cover basic errors (we would just need to add a part for the customer error). Can you remember why you preferred "The Farm" for the September sprint list and do you know how the two exercises are related?

I can take this one since it is blocking some of the work I need in another exercise.

@junedev I have no preference for The Farm over Deep Thought, it's just that The Farm was already there. I'd be fine with replacing it with Deep Thought. Whatever is best.

@jmrunkle Maybe you can have a look at "deep thought" and judge yourself what you think fits best for the basic errors concept. The respective other exercise can be set to "wip" and then used for more advanced concepts like the error wrapping later.
Another comment for you as I don't know whether this came across from the description. The general idea here is to use a custom error type as an example of something implementing an interface. To make the student write an interface you can additionally make up some requirement for a second method besides Error that the custom error should have.
If you dont like that idea you can also just cover errors and then we need a separate exercise for interfaces.

@jmrunkle Maybe you can have a look at "deep thought" and judge yourself what you think fits best for the basic errors concept.

Will do.

So... deep-thought looks really incomplete (no tests, partial instructions, lots of TODOs that need doing, etc). It seems we missing trackers for that on the September sprint overview (and sub-issues for the actual problems). @junedev @ErikSchierboom?

@jmrunkle The primary goal of the September Sprint is to get to a good basic syllabus. The focus was not on "cleanup/finish all existing/started exercises". For a  basic syllabus one exercise on errors would have been ok for now so Erik picked "the farm" and created this sprint ticket.
Once you decided to stick with "the farm" for teaching errors and developed a feeling for its content, feel free to create a normal non-sprint ticket for "deep thought" that mentions what things are already covered in "the farm" and maybe ideas for what's left to cover there. Of course if there is time it could still become part of the sprint but for now an exercise on "pointers" for example is more important to get done  than a second one on more error related topics.

Thanks for clarifying. the-farm seems to be more developed so I think I will continue this one and create some non-sprint issues for outstanding problems with deep-thought and what it should / could cover.


Upin pack version when issues resolved

See discussion in https://github.com/buildpacks/pack/issues/1850.
Once we have resolved that upin but removing entry in .github/.syncignore

Closing as PR to upin landed.


Update app-patterns-landingpage.md

Remove tooltip dupe

Docs Build status updates of commit a76729c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/app-patterns-landingpage.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Name of Inverter is wrong

Describe the bug
When i´m add a HMS-1000W-2T, in HA it shows as HMS-800W-2T
To Reproduce
Steps to reproduce the behavior:
Add an HMS-1000W-2T
Screenshots

Thanks for reporting.
I try to retrieve the inverter model via the serial. Can you maybe post the first 6 digits of your serial number?

Yes, this was the 141293

Great. Does the Serial of your 800W-2T by any change start with 141292 ? If so I could distinguish between these two models.

Hi, yes, on my 800W-2T the serial starts with 141292.

Great, so I can distinguish between those two models.

I test your new version, and it works, but you have a typo in it -> ['HMS-10000W-2T'] instead of ['HMS-1000W-2T'].

Thanks! Fixed that now. I will most likely push a new version this week and afterwards close this issue.


Check other dirs for .dockercfg

As per #1717
We should look for the .dockercfg in three places: ./.dockercfg, ~/.dockercfg, and $rootDir/.dockercfg

What ever happened with this idea?

/cc @dchen1107

@thockin It never got high enough on my weekend TODO list :( I can keep telling myself that I need to do it, or we can find someone who has a bit more time than me.

I can probably get to this today.

Cool, thank you!
On Tue, Jan 27, 2015 at 12:14 PM, Mike Danese<EMAIL_ADDRESS>wrote:

I can probably get to this today.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/1767#issuecomment-71719394
.


Show true itemcount in tooltip

Why would we want this? Isn't the count display on the item itself already?

Instead of adding the amount to the tooltip, I've made it so that if you press shift while hovering, the real amount is displayed instead of the formatted one.
f88889765f26a02358abaf5b3b97bfdd5675d4c5


Example dropping old indexes

Is there any example of dropping old indexes. I did not see an unit test or example code for this functionality.

We no longer maintain or support this package as we've found declarative indexes in application code to be an anti-pattern that becomes hard to maintain very quickly. We also haven't ever run this with recent versions of mongoose so I'm not sure if it is supported in the latest versions. Somehow missed putting a deprecation warning in this repo - I'll fix that now.
Sorry! Happy to chat more about index management if you want, but I can't recommend using this plugin.

Thanks for you input.


Godex doesn't compiles as module

When godex is put as module, under the godot/modules directory it doesn't compile.
Would be nice if the CI would test this.

This issue may be fixed by this PR: #159.
I've noticed that sometimes the file modules_enabled.gen.h, generated by https://github.com/godotengine/godot/blob/master/modules/SCsub#L13-L22 fails detecting the modules and they are disabled.

Closing as duplicate of this: #176 (The other issue has more info, so better continue there).


Make Ash comply to GenericAsyncDataInputObservable.h

Allows to attach ezsp-dongle to ASH or directly to an SPI interface without ASH.
We should also isolate decoder classes with serial read/write classes.
Today, the arch is slightly biased: CEzspDongle class reads data from the serial port, and passes it to CAsh as a decoder, then invokes CAsh to re-encode the response.
On the other hand, CBootloaderPrompt gets the data read in a similar way (from CEzspDongle), but uses a handler to directly write to the serial port without going via CEzspDongle.

Implemented and merged in release branch as commit https://github.com/Legrandgroup/libezsp/commit/e248326eba736acb6aa8786fd9dbf8ccf34bc60f


[WIP] Remove misc backrefs that require small changes

Refs various, general parent is https://openscience.atlassian.net/browse/OSF-5674
Purpose
We are attempting to reduce the number of unused backrefs on our models, as backrefs create side effects (record locking) that are not ideal.
This PR is intended to encompass the low-hanging fruit: simple backrefs that can be easily replaced with small queries.
Summary of changes

Remove various unused backrefs (see diff)
Replace usages of these backrefs with direct database queries

Side effects/ testing notes
If all goes well, there will be no user-facing side effects, and OSF functionality will not change. Below is a list of features that could be affected by these changes.

Make sure the list of active registrations appears correctly (eg for registrations tab on project pages)
Watch (or unwatch) a project. Reload the page and make sure the number of watchers updates correctly. Make sure that you correctly receive updates about projects you are watching.
Do something that would trigger a notification email (transactional or digest) on a project. Make sure that you receive the email correctly with no errors.
Fork a project. Ensure the list of forks displays correctly, and the fork button updates with the correct fork count.
Create a new project, using another project as a template. (fork button--> "copy project structure"). Verify that the "templated from" counter in the modal updates to show the correct count.
Node links should still work

Subtasks
https://openscience.atlassian.net/browse/OSF-5896
https://openscience.atlassian.net/browse/OSF-5898
https://openscience.atlassian.net/browse/OSF-5899
https://openscience.atlassian.net/browse/OSF-5900
https://openscience.atlassian.net/browse/OSF-5901
https://openscience.atlassian.net/browse/OSF-5906 (badges, unused)
https://openscience.atlassian.net/browse/OSF-5907 (badges, unused)
https://openscience.atlassian.net/browse/OSF-5909

This PR deliberately omits changes to node/ NodeLog relations, which are handled separately (and in more detail) in https://github.com/CenterForOpenScience/osf.io/pull/4950

Note to reviewers: per @brianjgeiger request, I have added several further commits, to deal with User and Badge models.
I don't think this has been reviewed yet, so the change shouldn't affect any previous review efforts.

Could you check into the merge conflicts? I expect a vast majority of the codebase has recently changed.

Fortunately there were only two (small) merge conflicts, so I've pushed resolutions. It seems that tests are failing broadly right now, so I've rerun them later once the develop branch has been sorted out.

Searching 3177 files for "attr\(.*, ['|"](merged|watched|recently_added|connected|creator|assertion|awarded|none|email_digest|email_transactional|_pointed|registered|tagged|forked|registrations|template_node|citations|shared|created)['|"]\)" (regex)

/Users/matt/Devel/osf.io/tests/test_models.py:
  747:         assert_true(hasattr(self.user, 'recently_added'))

1 match in 1 file

Searching 3177 files for "__(merged|watched|recently_added|connected|creator|assertion|awarded|none|email_digest|email_transactional|_pointed|registered|tagged|forked|registrations|template_node|citations|shared|created)" (regex)

/Users/matt/Devel/osf.io/CHANGELOG:
   40: - Dev: Remove node__contributed and node__created backrefs to improve performance and prevent locking errors.

/Users/matt/Devel/osf.io/scripts/migrate_guid.py:
  210:     for idx, fork in enumerate(node.node__forked):
  214:                 node.node__forked[idx] = record._primary_key
  216:     for idx, registration in enumerate(node.node__registrations):
  220:                 node.node__registrations[idx] = record._primary_key

5 matches across 2 files

<user>.recently_added is a field, though there was a backref of the same name, so that's fine.
scripts/migrate_guid.py hasn't been needed since 2013.

:+1:

LGTM. Didn't see any weird edge cases when looking over it, and it doesn't look like you missed any backref accesses. Dropping it in RTM when the build is passing again. :checkered_flag:

Unrelated CI failures were the main blocker; can someone with Travis Button Permissions please restart the build?


limit err about get_table_rows with Secondary index

I want to get the multi rows of the table with secondary key. I read https://eosio.github.io/eosjs/latest/how-to-guides/how-to-get-table-information/#query-by-secondary-index and it shows the method with limit option. But limit option didn't work.
const result = await rpc.get_table_rows({
            json: true,
            code: 'EOS_CONTRACT_NAME',    // contract who owns the table
            scope: 'EOS_CONTRACT_NAME',   // scope of the table
            table: 'sensors',    // Pi Multi index table name
            table_key: 'id',  // Table secondary key name
            lower_bound: id, // Table secondary key value
            limit: 2,
        });
...
(async ()=>{
        console.log(await ApiService.getSensorDataById('test'));
    })();

I wrote the code like this. But It shows me just 1 row.
Of course The table has 2 rows.
When I try cleos --url http://<IP_ADDRESS>:8888 get table raspberrypi raspberrypi sensors --limit 2 --lower test, it works very well.

table_key has been deprecated, you can switch to index_position and use the position of your secondary key in order of the multi-index definition (1 - primary key, 2 - secondary key, 3 - third, etc)
See https://github.com/EOSIO/eosjs/pull/675


Gater APIs URLs and keys

`/* Spoonacular API */
const SpoonacularKey = "*****************************";
let FindRecipeUrl = "https://api.spoonacular.com/recipes/findByIngredients?ingredients=meat&number=3";
/* Edamam API */
Access Point: https://api.edamam.com/api/recipes/v2
Application ID:
22b25df1
This is the application ID, you should send with each API request.
Application Keys
fedc606a902ac509ffa30b75cad44f35 	—
`

Hi Gwen, I have added the API URLs and Keys to the comments while I try to figure out why it is not letting me push request.  So this issue can be closed as soon as I manage to push the info. I'll try re-cloning the repository.

Okay sounds good.
If you get stuck, maybe send us some screenshots of what is happening on your end?

From: ElodieLongo @.>
Sent: Sunday, November 12, 2023 8:37 AM
To: gwengibbes/com6338-module10-assignment10-gibbes-longo-avery @.>
Cc: Subscribed @.***>
Subject: Re: [gwengibbes/com6338-module10-assignment10-gibbes-longo-avery] Gater APIs URLs and keys (Issue #3)
[External Email]
Hi Gwen, I have added the API URLs and Keys to the comments while I try to figure out why it is not letting me push request. So this issue can be closed as soon as I manage to push the info. I'll try re-cloning the repository.
—
Reply to this email directly, view it on GitHubhttps://github.com/gwengibbes/com6338-module10-assignment10-gibbes-longo-avery/issues/3#issuecomment-1807131344, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXF7233W32OKTZUIX22ZXFDYEDGJRAVCNFSM6AAAAAA7HPECAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBXGEZTCMZUGQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Start Script not working

C:\Users\btw\Dev\vue\vue-design-system>npm start

><EMAIL_ADDRESS>start C:\Users\btw\Dev\vue\vue-design-system
> bash start.sh

npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>start: `bash start.sh`
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.

2018-03-19T22_54_56_380Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Users\\btw\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'start' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
8 verbose lifecycle<EMAIL_ADDRESS>PATH: C:\Users\btw\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\btw\Dev\vue\vue-design-system\node_modules\.bin;C:\Python27\;C:\Python27\Scripts;C:\Users\btw\AppData\Local\Programs\Python\Python36-32\;C:\Program Files\Ruby24-x64\bin;C:\Program Files (x86)\Razer Chroma SDK\bin;C:\Program Files\Razer Chroma SDK\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\btw\AppData\Local\Microsoft\WindowsApps;C:\cygwin64\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Users\btw\apps;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\Yarn\bin;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\WINDOWS\System32\OpenSSH\;C:\WINDOWS\System32\LibreSSL\;C:\Users\btw\AppData\Local\Programs\Python\Python36-32\Scripts\;C:\Users\btw\AppData\Local\atom\bin;C:\Users\btw\AppData\Local\GitHubDesktop\bin;C:\Users\btw\AppData\Local\Yarn\bin;C:\Users\btw\AppData\Roaming\npm
9 verbose lifecycle<EMAIL_ADDRESS>CWD: C:\Users\btw\Dev\vue\vue-design-system
10 silly lifecycle<EMAIL_ADDRESS>Args: [ '/d /s /c', 'bash start.sh' ]
11 silly lifecycle<EMAIL_ADDRESS>Returned: code:<PHONE_NUMBER>  signal: null
12 info lifecycle<EMAIL_ADDRESS>Failed to exec start script
13 verbose stack Error<EMAIL_ADDRESS>start: `bash start.sh`
13 verbose stack Exit status<PHONE_NUMBER>
13 verbose stack     at EventEmitter.<anonymous> (C:\Users\btw\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:285:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess.<anonymous> (C:\Users\btw\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:925:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd C:\Users\btw\Dev\vue\vue-design-system
16 verbose Windows_NT 10.0.17115
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\btw\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "start"
18 verbose node v8.9.3
19 verbose npm  v5.7.1
20 error code ELIFECYCLE
21 error errno<PHONE_NUMBER>
22 error<EMAIL_ADDRESS>start: `bash start.sh`
22 error Exit status<PHONE_NUMBER>
23 error Failed at the<EMAIL_ADDRESS>start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [<PHONE_NUMBER>, true ]

@derekbtw Let me look into this. I haven’t had time yet to test everything on Windows, but will make this a priority right now.

@derekbtw Created a new roadmap issue for this: https://github.com/viljamis/vue-design-system/issues/43

@derekbtw Just tested and added support for Windows. There were a few broken things: YAML tokens and their watch task. Those are fixed now.
I believe the issue you’re seeing here is caused by Windows Command Prompt (or something else) not recognizing the shell scripts (.sh) used to start Vue Design System. To get around this on Windows you should be able to start Vue Design System for example in Git Bash that can read those.
Found at least this post that hopefully helps to install Git Bash on Windows (it should be fairly simple, took me less than half a minute): http://www.techoism.com/how-to-install-git-bash-on-windows/ Do let me know if you will try this solution and if you still run into other issues.
I might consider getting rid of the shell script requirement at some point, but currently it’s a more robust and simpler solution than using for example npm-run-all or concurrently to run multiple npm-scripts in parallel. I were using both of those previously, but they caused a lot of issues. I can revisit this and do more investigation at some point though.

@derekbtw I updated the getting started guide to reflect this as well: https://github.com/viljamis/vue-design-system/wiki/Getting-Started#getting-started

This will be simplified in 2.0.0 release (no need for shell scripts anymore)

Released in Vue Design System 2.0.0. Shouldn’t require anything special on Windows anymore. Same instructions as for macOS work now.

Sweet! I’ll check it out tonight when I get home. Thanks 👍