The leader has been waiting when the node where the operator is located is unknown

Bug Report

What did you do?
A clear and concise description of the steps you took (or insert a code snippet).
err = leader.Become(ctx, "mongodb-operator-lock")
	if err != nil {
		log.Error(err, "")
		os.Exit(1)
	}

What did you expect to see?
A clear and concise description of what you expected to happen (or insert a code snippet).
What did you see instead? Under which circumstances?
mongodb-operator-645c6f9c57-8jr78      1/1       Unknown   0
mongodb-operator-787fd69bb-xv4zg       1/1       Running   0

2019-07-04T05:43:07.358Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:43:23.497Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:43:41.445Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:43:58.325Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:44:17.001Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:44:36.085Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:44:55.094Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:45:11.879Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:45:30.226Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:45:48.758Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:46:06.238Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:46:23.335Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:46:41.036Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:47:00.257Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:47:17.428Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:47:34.236Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:47:50.400Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:48:08.936Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:48:27.366Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:48:45.489Z	INFO	leader	Not the leader. Waiting.
2019-07-04T05:49:02.207Z	INFO	leader	Not the leader. Waiting.

Environment

operator-sdk version: 0.8.1

go version: 1.12.6

Kubernetes version information: 1.12.3

Kubernetes cluster kind:

Are you writing your operator in ansible, helm, or go?

Possible Solution

Additional context
I found the problem here, this loop will continue to execute
//pkg/leader/leader.go
for {
		err := client.Create(ctx, cm)
		switch {
		case err == nil:
			log.Info("Became the leader.")
			return nil
		case apierrors.IsAlreadyExists(err):
			log.Info("Not the leader. Waiting.")
			select {
			case <-time.After(wait.Jitter(backoff, .2)):
				if backoff < maxBackoffInterval {
					backoff *= 2
				}
				continue
			case <-ctx.Done():
				return ctx.Err()
			}
		default:
			log.Error(err, "Unknown error creating ConfigMap")
			return err
		}
	}

@AllenZMC What were you expecting to see, can you explain? It seems like it's correct from first glace. You have one opreator pod running and one is waiting as it's not the leader.

pod mongodb-operator-645c6f9c57-8jr78  is Unknown
Then I logs the other running pod mongodb-operator-787fd69bb-xv4zg, it always output Not the leader. Waiting ，I  expect to see it become the leader ， but there is no

@AllenZMC if you kill the other pod that is the leader does the unknown pod become the leader?

@LiliC  Since the node unready causes the pod state to be unknown, I try to kill the pod, but it can't be killed

@LiliC  My expectation is that when the node has a problem, the pod is regenerated. At this time, the unkown pod should give up the leader, and the newly generated pod gets the leader.

@AllenZMC this is not an operator-sdk problem, but more a problem with kubernetes itself. If you have a look at this issue you can see others have been running into this before https://github.com/kubernetes/kubernetes/issues/55713

@LiliC The k8s native election does not do this. It does not always hold a lock, it will be deleted periodically, and the unknown node will give up the lock.

@AllenZMC  so you are saying you want changes to our leader election package to delete the pods periodically?

Do you have to consider optimizing this leader election? When there is a problem with the operator pod, the leader will be abandoned, or the operator pod will only hold the leader for a certain period of time？
Thanks！

cc @mhrivnak @shawn-hurley I believe you worked on leader election, WDYT of the above suggestion for the leader election lock to be released periodically. Maybe there could be enabled via an argument to the leader election.

@LiliC  Look at the following paragraph, this is the user's guidance, is that what I mean?
Leader-with-lease: The leader pod periodically renews the leader lease and gives up leadership when it can't renew the lease. This implementation allows for a faster transition to a new leader when the existing leader is isolated, but there is a possibility of split brain in certain situations.

If you need a leader that is running on a node whose status is unknown (hardware failure, network failure, etc) to quickly "stand down" as the leader, you should use lease-based leader election. But for most use cases, that is unnecessary.
If you find that your cluster is not rescheduling work from a failed node as quickly as you'd like, your effort will be better spent working on node lifecycle behavior to recover all kinds of workloads more quickly, rather than worry about individual operator leases. The problem of course is that the cluster doesn't know if the failed node is still running with broken network connectivity, or is actually dead.
By default, k8s will start rescheduling pods five minutes after losing contact with a kubelet, but that time is configurable. There are also ways, such as through a cloud-controller-manager, for your cluster to identify that a missing node is completely dead and automatically delete its pods quickly. It can either 1) passively ask the cloud environment if the node still exists and is powered on, or 2) actively power off the failed node and replace it. Those are by far the best recovery options.

@mhrivnak  OK, thanks . I see


support environment variables in coc-settings.json

Can you support environment variables in coc-settings.json like VSCode does?
coc-settings.json
"clangd.fallbackFlags": [
    "-I${env:VCPKG_INSTALLATION_ROOT}/installed/x64-windows/include",
    "-I${env:VCPKG_INSTALLATION_ROOT}/installed/x64-linux/include",
    "-I${cwd}/include",
],

clangd output
"C:\\dev\\LLVM\\bin\\clang" "-IC:\\dev\\vcpkg/installed/x64-windows/include" "-IC:\\dev\\vcpkg/installed/x64-linux/include" "-Id:\\dev\\tqfx\\liba/include" "-resource-dir=C:\\dev\\LLVM\\lib\\clang\\14.0.6"

Try v0.25.0.

Thanks!


Disable Previous Date

Hii @FadyFayezYounan ,
How can I disable previous date ?
Thanks

I'm sorry for the late reply. While there's currently no way to disable previous dates directly, you can use the inactiveDates parameter to disable specific dates.

Okay thanks


Package.xml created by source:convert has special character at the end

Steps to reproduce:

Run the command sfdx force:source:convert -p force-app/main/default/objects/Account -d deployment

Run the command cat deployment/package.xml

Actual Behavior:
There is a special character added at the end of the file.

Expected Behavior: No special characters at the end of the file.
CLI version:
sfdx-cli/7.49.1-2b6ba86a25 darwin-x64 node-v10.15.3
Operating system: MacOS

Closing this as this is not a CLI issue but behavior of zsh terminal.


Support RHEL 7.9 for SAP.

RHEL 7.9 for SAP has its own unique configuration because it does not use E4S (Update Services) content and does not use the releasever yum variable to peg to a RHEL point release. Instead, it uses the regular 7Server release but has a different set of content in the client configuration because it is an SAP SKU.

looks like it will work
but i think this makes it official that we should move to a flat file system and away from generation, even though the changes are all small


Update algorithm name and version

Updates the name and version that the PBFT consensus engine reports to
the validator match the conventions used in other Sawtooth projects.
Signed-off-by: Logan Seeley<EMAIL_ADDRESS>

Are there docs that need to change as well?

Are there docs that need to change as well?

Not in the PBFT repo; I will be putting up a PR to update the docs in core, though.

PR against core for corresponding documentation updates: https://github.com/hyperledger/sawtooth-core/pull/2047

Please also change the PBFT consensus engine name in the Sys Admin Guide:
./sysadmin_guide/creating_genesis_block.rst:       name = "sawtooth-pbft-engine"
./sysadmin_guide/creating_genesis_block.rst:           sawtooth.consensus.algorithm.name=sawtooth-pbft-engine
./sysadmin_guide/installation.rst:        $ sudo apt-get install -y sawtooth sawtooth-pbft-engine
./sysadmin_guide/setting_allowed_txns.rst:        sawtooth.consensus.algorithm.name=sawtooth-pbft-engine
./sysadmin_guide/systemd.rst:         $ sudo systemctl start sawtooth-pbft-engine.service
./sysadmin_guide/systemd.rst:        $ sudo systemctl status sawtooth-pbft-engine.service
./sysadmin_guide/systemd.rst:      -u sawtooth-pbft-engine
./sysadmin_guide/systemd.rst:          $ sudo systemctl stop sawtooth-pbft-engine.service
./sysadmin_guide/systemd.rst:          $ sudo systemctl restart sawtooth-pbft-engine.service


Reloading a world from the nether keeps the red atmosphere

MCEdit version: <IP_ADDRESS>
Minecraft version: 1.12.2 (forge)
OS: Ubuntu 17.04 and Windows 10 (1703)
Steps to reproduce:

open a world with a nether dimension
Ctrl + R to reload
observe how you get sent back to the overworld, but the sky is still red.

Example image: (observe the Overworld dimension in the top bar, and the red atmosphere)

Will be fixed for next release.
Thanks for reporting the issue :)

I have noticed this bug too. Apparently someone forgot to put in a line of code to check if the dimension has changed when loading a world). The same thing happens with the chunk view in the same world.

@allamassal Did this happen in the latest version of MCEdit? or did it happen in an older version.

Still happens in the latest version <IP_ADDRESS> (at least the chunk view thing).


Eddystone & redirect

Hey guys,
I have a question - will Chrome/Physical Web count that:
<meta http-equiv="refresh" content="0; url=http://something.com" />

as a redirect (towards the limit of 5 redirects)?

It is separate from 303 style redirects. It can be used to present different pages to the PWS vs what the user would see and we're looking at ways of detecting this. It's a good example of why we need a PWS so malicious pages (not yours of course...) could use this negatively and we're looking at ways of filtering out pages that do this.


Embedded error 404 for "tests" pages and "login banner" configuration

Hello,
I encounter an issue with my defectdojo instance (2.14.1) running with Helm chart and Gitlab SSO enabled.
When I am trying to go on my the detail of a test page. I have a 404 error page displayed inside my DefectDojo UI.
Also, the same error is happening when trying to configure the login page (https://urldefectdojo/configure_banner) ??
Steps to reproduce the behavior:

Go to DD URL
Click on 'Engagement'
Select any engagement displayed
In the "tests" part, clic on the title
Error occurs (see screenshot below)

Expected behavior
Expected a report/details about the test ?
Deployment method (select with an X)

[ ] Docker Compose
[ X] Kubernetes (Helm Chart)
[ ] GoDojo

Screenshots

Logs on my pods do not seems to have any visible issue and I am able to navigate freely in the rest of Defectdojo app.
Thank you for your help !

Hi @jimmy31120
I have seen this issue on the demo site, but have not been able to reproduce on any other instance. The issue with the demo site was the lack of the login banner object in the database. The demo site loads the sample data (which does not have a sample data object) and then we load this file on top of that.
I believe loading that fixture will help in your case as well
https://github.com/DefectDojo/django-DefectDojo/blob/master/dojo/fixtures/initial_banner_conf.json

Hello Maffooch,
Many thanks for your reply and sorry for delay.
After loading the fixture, banner configuration page works now.
However the issue still persist for all "tests" pages.
After enabling uWSGI debug mode and go again on the faulty page, my browser display now this error.

For information, I use DefectDojo in version 2.14.1
Is a known bug ? Should I upgrade ?
Thank you again for your help

I got the same thing. 2.16.2 Kubernetes setup ( mysql db - redis celery ).
Can reproduce by importing new scan results. The import process itself finished successfully but tests was never found.
[17/Nov/2022 23:35:36] DEBUG [dojo.notifications.helper:138] Rendering from the template notifications/scan_added.tpl
[17/Nov/2022 23:35:36] DEBUG [dojo.importers.importer.importer:358] IMPORT_SCAN: Updating Test progress
[17/Nov/2022 23:35:36] DEBUG [dojo.decorators:32] dojo_async_task <@task: dojo.importers.utils.update_test_progress of dojo at 0x7fef44811970>: no current user, running task in the background
[17/Nov/2022 23:35:36] DEBUG [dojo.importers.importer.importer:361] IMPORT_SCAN: Done
[Thu Nov 17 23:35:35 2022] POST /engagement/33/import_scan_results => generated 0 bytes in 529 msecs (HTTP/1.1 302) 8 headers in 426 bytes (1 switches on core 0)
[17/Nov/2022 23:35:36] WARNING [django.request:224] Not Found: /test/39

Please help to check

I've just learned that "django-watson search engine require one or more MyISAM tables", thus my mysql setup was wrong. Switching to an instance that support MyISAM solved my issue with 404 test pages. Sorry for wrong alarm.

@jimmy31120 is this issue solved
I am also seeing 404 for test pages and I am using postgresql for database

I guess this can be closed @mtesauro

Closed as stale


How can users outside the cluster connect to each pod more conveniently?

How do users connect to each pod outside the cluster? Because in the past, users used to use ssh to enter each task pod through the nodePort service, but I see that the svc of pytorchjob uses the headless service, so is there any better way for users to enter the pod like before? Any suggestions would be appreciated.

@kuizhiqing  Yes, there is sshd service in the image or container. The users here refer to ordinary users who are outside the cluster and do not have k8s permissions, such as nlp or cv researchers. For them, it is easier to access through the exposed ssh nodeport, because they can enter the container to modify parameters at any time for training, uploading or download files and more.

@fighterhit Well, regardless of the security issue, you can enable hostnetwork for pod and ssh by host ip/port.


Which ruby version to be used

The command which fails
 mvn install -P vagrant

Description
The initial description states ruby version to be 2.0.0
But building vagrant it fails saying:

xmlrpc-0.3.0 requires ruby version >= 2.3

On upgrading ruby version, I get another failure

oneops-admin-adapter-1.0.0 requires ruby version >= 1.9.0, <= 2.1.0

This points to an impossible direction which requires:

ruby version >= 1.9.0, <= 2.1.0 and ruby version >= 2.3

After cleaning the directory using git clean -xf, and restarting the build process, this issue was resolved.


Tidy up text related to prioritization now that we have RFC 9218

The work has been completed now, so we can drop speculation.
I went for brevity in this text, since correctness is more important than fullness. Followup work can expand details if people would find that useful.

Thanks!


Add instructions to update Cloud Explorer

This is to ensure users pick up the latest Cloud Explorer changes that are available publicly but not inserted in the base VS build.

@WilliamXieMSFT,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/debugger/debug-live-azure-applications.md
:white_check_mark:Succeeded

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.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/debugger/debug-live-azure-applications.md
:white_check_mark:Succeeded

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.


[🐛Bug]: Highlights are shown after re-render

The orange dot for highlighting on the canvas is shown each time when the canvas is rerendered. This needs to be done once

Will be fixed with https://github.com/webdriverio/visual-testing/pull/521


"Concepts" -> "How App Service Works" is missing. The link leads back to "About Web Apps"

Please add the advertised information and remove the back link to the beginning of the article.

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

ID: 53dd65b1-6f9d-9431-5850-9cee636aeabd
Version Independent ID: 0012e819-bb2b-2955-d87b-d6f145fb6af7
Content: App Service overview - Azure
Content Source: articles/app-service/overview.md
Service: app-service-web
GitHub Login: @cephalin
Microsoft Alias: cephalin

Thanks for the feedback! We are currently investigating and will update you shortly.

Any update?

@paul-michalik and @yhvicey Thank you for raising this up. I am unable to find the original file. As a result, I have assigned your feedback directly to the author to have them investigate if this is expected behavior or how to proceed.

Any update on this? Seems to have been broken for two months...

@alistairnes @paul-michalik Sorry for the delay. I've removed the node in the TOC and it should be published sometime today. #please-close.

The doc was long outdated and deleted and the link was left by mistake. We've deleted the link now.
#please-close


Create anonymous user authentication flow: Nodejs

Build Pipeline

Hello @eoinobrien - Could you please review this PR as well, once you get sometime?


WebCord becomes unusable over time / doesn't update window content

Aknowledgements

[X] I have checked that there is no other issue describing the same or
similar problem that I currently have, regardless if it has been
closed or open.

[ ] This bug affects Discord website.

[ ] This issue is confirmed to be reproduceable when WebCord is packaged
on at least all three latest supported Electron major releases.

[ ] This issue is reproduceable in Chrome, Chromium or any
Chromium-based browser, e.g Brave or Edge (please write in
Additional Context which browser you have used if it is neither
Chrome nor unmodified Chromium).

[ ] There are no fixes done to master which resolves this issue.

[ ] My issue describes one of the unstable and/or not fully implemented
features.

[ ] I have found a workaround to mitigate or temporarily fix this issue
in affected releases (please write it in Additional context section
below).

Operating System / Platform
🐧 Linux
Operating system architecture
x64 (64-bit Intel/AMD)
Electron version
24.0.0
Application version
4.2.0
Bug description
When opening WebCord everything seems to work fine at first but then after some time leaving the window open on the second monitor it starts to become "unresponsible". It starts when typing the letters show up slowly and later on the window doesn´t update its content completely meaning hovering with mouse does nothing and clicking triggers events (eg switching audio channels is hearable) but is not shown.
Same is happening to official Discord client.
Only working workaround for now is by using discord-screenaudio program.
Earlier version 4.1.0(?) had same issue.
Guess it's related to Electron but have not looked up this yet.
Additional context
Nobara 37; Nvidia RTX 2060; Wayland; Gnome

Might be a driver bug or Wayland-specific issue. Have you tried running WebCord with/without optimizations?
Any additional logs (stdout/stderr output)?

Same is happening to official Discord client.

Most likely this also happens in Chrome/Chromium as well.

Have you tried running WebCord with/without optimizations?
Don't know how to
Any additional logs (stdout/stderr output)?
Don't know how to do, too
Most likely this also happens in Chrome/Chromium as well.
Will try this and report back

Have you tried running WebCord with/without optimizations?
Don't know how to
You can enable this in WebCord's settings (on menubar: File → Settings). You probably didn't if you don't know how.

Any additional logs (stdout/stderr output)?
Don't know how to do, too
Just run webcord in the terminal app and copy all text it has printed there (or at least errors/warnings if you've noticed any there).

Tried Chromium. Same behaviour.

You can enable this in WebCord's settings (on menubar: File → Settings). You probably didn't if you don't know how.

Do you mean the gpu optimizations? I tried this with no difference

Just run webcord in the terminal app and copy all text it has printed there (or at least errors/warnings if you've noticed any there).

Will try this. Thx.

A lot of GPU errors 😕… And I see you also use Flatpak version (the socket error is caused due to Flatpak sandboxing).  I just don't trust how Flatpaks are sandboxed and neither I maintain them.

Here's what I find out from logs:

KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Keine Berechtigung

This one is actually interesting and made me think this might be actually a problem either on NVIDIA side, Wayland or your current setup. I doesn't look like it is printed directly by Chromium, at least it's not formatted as such.
As it seems to be a KMS DRM issue, maybe you have to check if it is enabled? I dunno if there's anything other you can do than this, I guess it might be just yet another issue caused by incompatibilities or bugs in NVIDIA driver.

Cannot use import statement outside a module

Also FYI this one line is being printed because I've messed up in DisConnection module when updating to TypeScript v5 and it doesn't work as wrong module code is generated. I've already fixed that, so the next build will have it fully functional.

I did. And then I remembered why I was using the flatpak version... ;)
Running the rpm version results in:
Terminal errors (repeatedly):
src/gbm_drv_common.c:56: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 538982482
src/gbm_drv_common.c:56: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 943215175
src/gbm_drv_common.c:56: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094158
src/gbm_drv_common.c:56: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094169
src/gbm_drv_common.c:56: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

and this here is shown in the gui:

Ignoring it shows no window but keeps processes in background.

As it seems to be a KMS DRM issue, maybe you have to check if it is enabled?

That's enabled already by default in the Nobara distro. Already checked that.

(...) and this here is shown in the gui (...)

This is because of empty winstate file in ~/.config/WebCord. I've fixed the main cause of it, but WebCord still crashes if any of the configuration files is empty. I'll fix that before next release.

This is because of empty winstate file in ~/.config/WebCord

Ah I see. I guess this is some leftover from the previous version I installed and uninstalled earlier.
I deleted the files in the .config folder and now the application starts without that error. Some progress. =)
(Just for my information - is it normal that stuff like this stays on the system after uninstalling apps on Linux?)
Starting it from a terminal still gives the earlier mentioned GBM-DRV error and the one following but not more:
Cannot use import statement outside a module
It's late in the evening to test further but quick test shows some black menus repeatedly so I guess this rpm version will not run solid, too.

Did I not see your answer regarding my question on what you mean by this:

Have you tried running WebCord with/without optimizations?

Did I not see your answer regarding my question on what you mean by this (…)

Oh, you've already guessed what I meant:

Do you mean the gpu optimizations? I tried this with no difference

Disabling these could potentially help with the app stability, that would leave Chromium to be run without --use-gl=egl.

(Just for my information - is it normal that stuff like this stays on the system after uninstalling apps on Linux?)

Most package managers don't mess with the user files. Basing on my experience with Arch Linux and pacman I can also tell some will even backup some of the files like the user data or configuration files and restore them once the app is installed. And yeah, most of the apps don't have the functionality to clean data after removal so the user has to care about it on their own. Some programs like BleachBit might make it easier through.
There's actually a bit more standard directories that store application data: ~/.local/share and ~/cache. You might also want to check for hidden files/directories placed directly in your home dir.

Thanks for that OT informations.
So I ran the rpm version with and without gpu optimization and it made no difference.
Almost as soon as I run my game on primary display Discord/WebCord on second display becomes unresponsive (rendered).
So I guess I have to stick with discord-screenaudio for now...
At least the second latest version of it runs fine.
Though if interested we can continue to debug WebCord further if this helps in development anyhow. =)

I also experienced Webcord not updating the windows contents on my secondary monitor, typically noticed when gaming on the main monitor.
Since upgrading to 4.2.0 deb I haven't seen the issue so it seems fixed for me. Debian sid, KDE Plasma 5.27.2 Wayland, AMD RX 6900XT, dual monitors.

I also experienced Webcord not updating the windows contents on my secondary monitor, typically noticed when gaming on the main monitor. Since upgrading to 4.2.0 deb I haven't seen the issue so it seems fixed for me. Debian sid, KDE Plasma 5.27.2 Wayland, AMD RX 6900XT, dual monitors.

At least I am not the only one! Yeay! =D
Tbh I thought that Nvidia is the source of the issue here. And I thought buying an AMD card as soon as I can afford one will fix all my issues. Seems like this will not be the case... =(

At least I am not the only one!

Just to be extra clear, the issue was resolved with version 4.2.0 for me.


Fix typo Cloudflare

By the way, thanks for maintaining a great awesome list!

Hi @nobuf , thank you very much! Have a good day!


Working of the code wifiserver (https://github.com/discodyer/OpenBCI-ESP32/tree/main/lib/WifiServer)

Greetings ! Firstly , thank you for the code !
I am not able to use this code in arduino latest version. It has a lot off issues ad bugs. Please Guide us through this.

First of all thank you for your suggestion.
This project is to port the OpenBCI project on ESP32-S3-N16R8. You need to build using PlatformIO instead of ArduinoIDE.
But this project needs refactoring. As you can see, the code is terrible.
Currently this project is adapted to the customized OpenBCI hardware I made (not yet made public). Can only be connected to the computer via the Internet. I have some problems with my code, such as the received data has errors and cannot make some settings for the channel of ADS1299. The project is currently in progress and is expected to be completed within this year.

Hello, I am currently refactoring the entire project and have changed the default branch to revival. Please continue to pay attention to this project.:D


PointTool is not allowed drawing outside the target when 'drawOutsideTarget' config is false

:tada: This PR is included in version 1.0.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


Transform errors | Nuxt | Type 'void' is not assignable to type 'undefined'.

.sst/platform/src/components/aws/nextjs.ts:946:17 - error TS2322: Type '(args: QueueArgs) => void' is not assignable to type 'Transform<QueueArgs> | undefined'.
  Type '(args: QueueArgs) => void' is not assignable to type '(args: QueueArgs, opts: CustomResourceOptions, name: string) => undefined'.
    Type 'void' is not assignable to type 'undefined'.

946                 queue: (args) => {
                    ~~~~~

.sst/platform/src/components/aws/nextjs.ts:977:17 - error TS2322: Type '(args: EventSourceMappingArgs) => void' is not assignable to type 'Transform<EventSourceMappingArgs> | undefined'.
  Type '(args: EventSourceMappingArgs) => void' is not assignable to type '(args: EventSourceMappingArgs, opts: CustomResourceOptions, name: string) => undefined'.
    Type 'void' is not assignable to type 'undefined'.

When running npm run build for my Nuxt app running on V3.7.1 I get the above error for quite a few files so its failing the deployment.
Any ideas of what this could be?

Closing as adding the sst.config file to the exclude prop in the tsconfig.json file solved this.


Fix broken links in readme.

Describe the bug
A clear and concise description of what the bug is.
Please fix the broken links and images in the readme.
Screenshots
If applicable, add screenshots to help explain your problem.

I can do this ..
Assign me this

@PragatiVerma18  can I take this issue?

@abhu-A-J Please start working on it.

I can do this.
Assign me this

I will assign you another one soon.

@abhu-A-J Please start working on it.

I can do this.
Assign me this

@vngarg I will assign you another one soon.

Cool. Thanks. I'll make a PR soon.

@PragatiVerma18 can you explain to me which branch readme has this issue? For me, all the images are loading correctly along with the badges as well!

I also want to work on it

For all documentation related changes, make a PR to feature/documentation branch.

Hi @PragatiVerma18, I would like to work on this. Could you assign this to me? Thanks

Yeah sure @divyabhushan please start contributing.

Thanks @PragatiVerma18. I will start working on it.

@divyabhushan For all readme related changes, please make a PR to feature/documentation branch. Thanks for contributing and welcome to the team. 😀😀


Replaced shift() with unshift() in description

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (replace XXXX with an issue no): Closes #13174

Description

Changed description wording to use unshift() instead of shift() as it contradicts with the  title: Basic Data Structures: Add Items to an Array with push() and unshift(),  and one of the requirements of this challenge -- utilizing the unshift() method.

@cdrainxv LGTM! 👍  Thanks!

LGTM too. Tested locally. 🌮 💯 🐇 . Thanks for contributing!


Does not break when multiple requests fired

Hi,
Lets say that im firing 2 consequtive requests from frontend application:

/something
/something-else

And i've set my breakpoint to debug first request code. If debugger gets another request after, he will just ignore my breakpoint that is set to debug first request (im guessing it does not stop because he gets new connection and probably resets debugging). Is it possible to force stop on breakpoint and stop script execution, and let the other requests execute if breakpoint is not set in their part of the code ?

Currently Vdebug does not support multiple debugging connections. I have to look into it what the behaviour is in your case

@mlapai I've tried to reproduce this and in my case the second request just continues without hitting the debugger, the first gets the connection

Currently there will be no changes regarding this, if you want to re-open later please do


Login credentials displayed in Log upon Bind - how to disable?

Hi,
Think the subject says what I'm trying to achieve.  I noticed that the username and password is in free text when performing a bind and want to know how to turn this off so no sensitive information is written to the logs when the bind occurs.
I'm hoping there's an easy fix for this that I'm not aware of.

Please submit a pull request for these changes.


rename /fix command to /edit

Next iteration on https://github.com/sourcegraph/cody/issues/631
Follow-up on https://github.com/sourcegraph/cody/pull/798
Updates /fix command labels to /edit according to the design.

Before
After

Sidebar chat

Main quick pick

Test plan
Tested manually (screenshots attached). CI passes.

I also noticed this where fix and edit currently coexist, no idea if this is related: https://sourcegraph.com/github.com/sourcegraph/cody/-/blob/lib/shared/src/chat/recipes/fixup.ts?L162-194
Also why was it possible to merge this with a failing E2E test? 😱


Button triggers

Hello, I am new with this HASPOne.
Please help me, how I can add tirgger to this settings:
- 'p[1].b[4]'
- 'p[1].b[5]'
- 'p[1].b[6]'
- 'p[1].b[7]'

call scene or action for turn on light.
If I fill anything as action, that is not saved and is deleted automaticaly after re-open automation.
Thank you.

I am sorry. I found way. Create automation with device trigger.


Add NULLS NOT DISTINCT

Postgres 15+ allows to add NULLS NOT DISTINCT for unique indexes and constraints.
I added nullNotDistinct: boolean option for unique in TableBuilder, to make possible to use this feature.
https://www.postgresql.org/about/featurematrix/detail/392/

coverage: 92.852% (+0.01%) from 92.842%
when pulling 80045e14d7da6c2691be32e0517373e36b46deca on langovoi:add-nulls-not-distinct
into aedba5e49ccbe4e44bf1a57f51a63d8b1ec0e6e6 on knex:master.

Thank you for the PR, please throw an error for other dialects when they try to use it

Done! @rluvaton does it look well?

@rluvaton
Can this please be merged?

@atlanteh there are still unresolved comments


Issue in Fetching Search Api Data using Java SDK + Bump SDK Dependencies

Affected module
Does it impact the UI, backend or Ingestion Framework?
Backend
Describe the bug
Unable to fetch the ES SearchResponse using Java SDK
To Reproduce
Screenshots or steps to reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Version:

OS: [e.g. iOS]
Python version:
OpenMetadata version: [e.g. 0.8]
OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ]

Additional context
Add any other context about the problem here.

Done


PI-89 Add shareGoogleAnalyticsInstance option feature

Motivation
Support the improvement to the Google Analytics Integration so that the Google analytics user session on the website where the Typeform is embedded is share to Typeform and even beyond and so that as the owner of the website I can get the accurate full view of the experience of the user and can get to improve it.
This specific feature is part of the bigger epic: https://jira.typeform.tf/browse/PI-88
Under the hood
The changes allow you to specify a shareGoogleAnalyticsInstance  option in the embed
and this had the effect to pass in a shareGoogleAnalyticsInstance parameter to the Typeform URL and to, if there is Google analytics in the page of the embed to pass a ga-client-id parameter via postMessage as soon as the google Analytics parameter Id is available.
How to use the feature.

Enable the Google analytics integration

Enable the shareGoogleAnalyticsInstance in the embed:

In an HTML snippet using the embed:
<div
      class="typeform-widget"
      data-url="mytypeformURL"
      data-share-google-analytics-instance
    ></div>
<script type="text/javascript" src="https://embed.typeform.com/embed.js"></script>

Using the API:

const embedElement = document.querySelector('.js-typeform-embed')

typeformEmbed.makeWidget(
  embedElement,
  'https://admin.typeform.com/to/PlBzgL',
  {
    buttonText: "Answer this!",
    shareGoogleAnalyticsInstance
  }
)

JIRA: https://jira.typeform.tf/browse/PI-89
Related PR: https://github.com/Typeform/louvre/pull/1330

@supertinou I am going to update this branch as it is outdated (and trigger visual tests again). I don't think you have access to the visual tests, in case ping me if you need help with fixing those tests 😄

@antoniofull, I'd love a second pair of eyes if you get the chance, regarding the > this.setState is not a function preventing the visual test to pass. I haven't been able to figure out why this error is being raised yet 🤔 🙂.

@supertinou is that happening only for visual tests or can you replicate the issue locally? Most common cause for such issue is that you are calling this.setState(...) in a function method you did not bind:
this.myFunction = this.myFunction.bind(this)

[BOT] Preview available: https://embed.typeform.com/c271ea0ac0cd051eb0463937026d88ef22f6a080/embed.js

I've been playing around to add unit tests to freeze internally the googleAnalyticsInstanceSharing in views/mobile-modal.js, views/popup.js and views/widget.js but could not find a way to either:

mock the google-analytics-instance-sharing.js function to make sure it is called internally when share-google-analytics-instance is enabled.
add a google analytics tag in a unit test and check that a postMessage event has been sent.
If you have any suggestion, let me know :)

Regarding:

It seems that we can set the GA code for the form thought the connect panel, how does this play with setting the GA code from the embed widget? What happens if the form already has a GA code, and on the other side, we are passing a new one from the embed (from the parent page containing an embed as per the PR implementation)?

Thank you for reviewing with attention and care :)
Exactly, we can have the scenario that the GA code on the website where the form is embedded is different than the GA code set for the integration in the connect panel.
In this scenario, the embed will send a postMessage ga-client-id event to the iframe (louvre) with a gaClientId which is associated to a different GA code than the one for which we is set in the connect panel.
I just tested it in the subscribe environment:
Then the end results are that in the Google Analytics dashboard for both GA code / GA account which are totally separate, there will be a similar gaClientId in the list of users in "User explorer" with the events from the website in the GA code (1) and then the events sent by the Typeform in GA Code (2)
So... the user needs to make sure that they set similar GA code for their website and the Typeform they embed.

Thanks for your explanation @supertinou. Has this behavior been validated with Product? If yes, and this is what we want, I am happy with it :)

[BOT] Preview available: https://embed.typeform.com/8721356547fbda570a14715365c60f70072c5cd5/embed.js

[BOT] Preview available: https://embed.typeform.com/5bd9dbf23fb23954d94743f10a06c9ee293412fa/embed.js

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Text Analytics] Use dynamically-created test resources, except when testing custom text features

Resolves: #32265

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

/azp run net - textanalytics - tests

/azp run net - textanalytics - tests

Also, did you share this with @deyaaeldeen, @kristapratico, and @mssfang? Ideally, everyone has a similar copy of test-resources.json (and associated files as needed) so you're not all having to maintain completely separate definitions. Maybe for these resources it's not a huge win, but it's definitely been helpful for CLU, QA, and KV.

/azp run net - textanalytics - tests

PR looks good!
I experienced these transient failures as well when I ran the live tests in java without enabling dynamic resource allocation. I think you can try with rerun the failed test a couple of times( < 2 times) it might resolve the issue.

Thank you, @mssfang !


Lot of delay in status, locking, doorbell ding sensor

It takes sometimes upwards of 45 seconds for the doorbell to trigger status and hence automation.
Same with locking and unlocking and status of door lock.
Is there a way I can change this?
Am I doing something wrong?
Thanks

Lot of messages similar to this in log:
Updating august lock took longer than the scheduled...

@ghost
I just created PR https://github.com/snjoetw/py-august/pull/11 that might (or might not) alleviate part of this problem.
I'm assuming this is from HASS? How many doorbells do you have (assuming 1 but then again ). How many locks do you have?
There is a minimum of 5 seconds between updates.
There are 2 HTTPS call to August / lock for locks.
There is 1 HTTPS call to August for a door sensor.
There is 1 HTTPS call to August for doorbells.
And then there is also 1 HTTPS call to retrieve house activities. This call can be initiated from either a lock or a doorbell update (but is only run once every 5 seconds maximum).
Currently during my testing, a call is about 300ms. This means that if you have 1 lock then the time to update is between 600ms and 900ms and a doorbell is between 300ms and 600ms (not including processing time but that should be minimal).
With this PR (and then another PR for HASS to enable sessions from there) that would be reduced on average to 110ms and 33ms for 1 lock and 55ms and 110ms for a doorbell. One of the main pieces with this PR is that once the session is established with the August web server it stays. This means no more negotiating on the certificate etc. (reduce back-and-forth traffic, and CPU time on both client and August web server).
Further, version 0.81 of HASS will include more debug logging from the August component in HASS. To enable, set the following in your configuration:
logger:
  default: warning
  logs:
    homeassistant.components.lock.august: debug
    homeassistant.components.binary_sensor.august: debug
    homeassistant.components.august: debug

Log entry of "Updating device activities" is when it retrieves the activities from August.
Log entry of "Start retrieving doorbell details" is the start to retrieve doorbell status with "Completed retrieving doorbell details" being the end (in between you should see entries "Updating status for ". The timing between those 2 will give you an idea on how long it took to perform the HTTPS calls.
Similar for "Start retrieving door status" and "Completed retrieving door status" as this is for the door sensor, lastly "Start retrieving locks status" and "Completed retrieving locks status" for lock status.

Amazing work.
However doesn't seem like the connectivity has improved for me.
And I have noticed that my doorbell ding sensor goes unavailable quite often now.
Will enable logger and send the debug messages.
Let's try to create a rock solid August component.
Recently worked with someone to get a websocket API running on HASS, is there a way we can figure out a websocket approach to interacting with August?

Send the debug messages.
I haven’t had any issues with it once I implemented this.
What version of HASS are you on?

I have 2 door locks (hence 2 door sensors), 1 doorbell
It seems like there's usually a 10-15 seconds delay for things to update on HA when I change locks either from August App or manually or the doorbell ringing (works pretty quick on Google Assistant though)
A few of these every now and then:
2018-12-06 15:15:41 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating august binary_sensor took longer than the scheduled update interval 0:00:05
2018-12-06 15:15:41 WARNING (MainThread) [homeassistant.components.lock] Updating august lock took longer than the scheduled update interval 0:00:05

Lock errors:
018-12-06 18:33:52 ERROR (SyncWorker_6) [homeassistant.components.august] Request error trying to retrieve door details for Side Door. HTTPSConnectionPool(host='api-production.august.com', port=443): Max retries exceeded with url: /locks/xxxxxxxxxxxxxxxxxxxx (Caused by SSLError(OSError(9, 'Bad file descriptor'),))
August Camera Exceptions like this one:
018-12-06 15:05:58 DEBUG (SyncWorker_4) [homeassistant.components.august] Getting device activities
2018-12-06 15:06:02 ERROR (MainThread) [homeassistant.components.websocket_api.decorators] Unexpected exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
OSError: [Errno 101] Network unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 839, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x6ec33b50>: Failed to establish a new connection: [Errno 101] Network unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='res.cloudinary.com', port=443): Max retries exceeded with url: /august-com/image/upload/xxxxxxxxxx/xxxxxxxxxxxxxxx.jpg (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at xxxxxxxxx>: Failed to establish a new connection: [Errno 101] Network unreachable',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/websocket_api/decorators.py", line 16, in _handle_async_response
    await func(hass, connection, msg)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/camera/__init__.py", line 463, in websocket_camera_thumbnail
    image = await async_get_image(hass, msg['entity_id'])
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/camera/__init__.py", line 93, in async_get_image
    image = await camera.async_camera_image()
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/camera/august.py", line 74, in camera_image
    timeout=self._timeout).content
  File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='res.cloudinary.com', port=443): Max retries exceeded with url: /august-com/image/upload/xxxxxxxxx/xxxxxxxxxxxxx.jpg (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at xxxxxxxxxxx>: Failed to establish a new connection: [Errno 101] Network unreachable',))

The Doorbell ding & motion sensors somehow every day becomes unavailable quite often. However the Doorbell online sensor shows it was online throughout the night.
18-12-06 15:55:21 ERROR (MainThread) [homeassistant.helpers.entity] Update for binary_sensor.xxxxxxxx_ding fails
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 384, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 380, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/local/lib/python3.6/http/client.py", line 1331, in getresponse
    response.begin()
  File "/usr/local/lib/python3.6/http/client.py", line 297, in begin
    version, status, reason = self._read_status()
  File "/usr/local/lib/python3.6/http/client.py", line 266, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py", line 367, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/local/lib/python3.6/site-packages/urllib3/packages/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 384, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 380, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/local/lib/python3.6/http/client.py", line 1331, in getresponse
    response.begin()
  File "/usr/local/lib/python3.6/http/client.py", line 297, in begin
    version, status, reason = self._read_status()
  File "/usr/local/lib/python3.6/http/client.py", line 266, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 221, in async_update_ha_state
    await self.async_device_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 349, in async_device_update
    await self.hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/binary_sensor/august.py", line 183, in update
    self._state = state_provider(self._data, self._doorbell)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/binary_sensor/august.py", line 44, in _retrieve_ding_state
    [ActivityType.DOORBELL_DING])
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/binary_sensor/august.py", line 50, in _activity_time_based_state
    *activity_types)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/august.py", line 224, in get_latest_device_activity
    activities = self.get_device_activities(device_id, *activity_types)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/august.py", line 215, in get_device_activities
    self._update_device_activities()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 324, in wrapper
    result = method(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/august.py", line 237, in _update_device_activities
    limit=limit)
  File "/usr/local/lib/python3.6/site-packages/august/api.py", line 188, in get_house_activities
    "limit": limit,
  File "/usr/local/lib/python3.6/site-packages/august/api.py", line 290, in _call_api
    self._http_session is not None else\
  File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))

Again thanks a lot for the amazing work you're doing! 👍
I definitely saw improvement over previous versions, earlier my log was filled with those updating took longer than expected errors.
Looking at the progress you have made so far, I am kind of getting over-ambitious to see it update insanely fast. :)

Hey,
Thank you. :-)
For the unavailable state. The entity will be set to unavailable when it fails to retrieve the updated data from August.
Before the state would not change when there is an issue in connecting to August to get the data and in my opinion thus giving you the wrong impression. For example, you check if the door is locked and it states it is. In reality it isn't but we were unable to get the update state. Now, if we're unable to get the state then we set state to unavailable letting us know that in reality HASS has no clue right now what it is. :-)
I see quite a bit of "network unreachable" errors in there, together with what seems to be sockets being closed by the OS or so. What happens with having implemented sessions is that once the connection is made it is supposed to stay connected, and thus improving performance by not having to re-create the connection for every request.
I think here we need to figure out why you are getting the "network unreachable" errors however. What do you run HASS on? Are you on HASSIO, Raspberry Pi, Linux, Docker, Mac, Windows, ?

Thanks a lot for your response.
I am running Hassio 0.83.3 on Rpi2 connected via ethernet with reliable
internet connection with speeds of 150 mbps up and down.
On Thu, Dec 6, 2018 at 7:52 PM ehendrix23<EMAIL_ADDRESS>wrote:

Hey,
Thank you. :-)
For the unavailable state. The entity will be set to unavailable when it
fails to retrieve the updated data from August.
Before the state would not change when there is an issue in connecting to
August to get the data and in my opinion thus giving you the wrong
impression. For example, you check if the door is locked and it states it
is. In reality it isn't but we were unable to get the update state. Now, if
we're unable to get the state then we set state to unavailable letting us
know that in reality HASS has no clue right now what it is. :-)
I see quite a bit of "network unreachable" errors in there, together with
what seems to be sockets being closed by the OS or so. What happens with
having implemented sessions is that once the connection is made it is
supposed to stay connected, and thus improving performance by not having to
re-create the connection for every request.
I think here we need to figure out why you are getting the "network
unreachable" errors however. What do you run HASS on? Are you on HASSIO,
Raspberry Pi, Linux, Docker, Mac, Windows, ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/snjoetw/py-august/issues/9#issuecomment-444886591,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AqJgbJKptEvj6jJuqHI3VpX6JfL6ZJiTks5u2SghgaJpZM4XB_uz
.

OK,
Do you have any other items in HASS that need to retrieve data from something on the internet? And if so, do they have issues?
Would it be possible for you to initiate a regular ping to your RPi2 from something else? This to see if when you get these errors you also are unable to then ping your RPI2.
Further, would it be possible to initiate a ping from your RPi2 to res.cloudinary.com?
Here is a small test script that works on my Mac. You might need to modify a bit or so making it work on yours (I do not have a Raspberry to try).
#!/bin/bash

host=$1
port=$2
echo Pinging $1 till cancelled
while :;
 do
   if [ "${port}" != "" ]; then
      output=$(nc -w 1 $1 $2 </dev/null)
      rc=$?
   else
      output=$(ping -c1 $host 2>&1)
      rc=$?
   fi
   if [ $rc -ne 0 ]; then
     echo $(date) $output
   fi
 done

What this does it it will keep on trying to ping the destination and anytime it fails will echo out the error with the timestamp.
Might not be a bad idea either to have 2 running then. Maybe one going to res.cloudinary.com or api-production.august.com and one going to www.google.com or so.
Leave it running until you have at least had a few failures in HASS. Output will only be produced on failure.
Test out ensuring that on failure it fails by giving a bogus hostname or port. :-)
If you provide a port number then it will try using nc (which is just a tool trying to connect to a certain port on provided server).
If you provide just a hostname then it will use ping. If you provide hostname and port it will use nc.
For example:
<script> res.cloudinary.com
will do ping.
<script> res.cloudinary.com 443
will use nc going to port 443.
Trying to figure out why you're getting that network unreachable. And based on the log messages, it then also fails when it retries to connect. Hence I do not think there is much we can do on the development end when there is no network. :-)
Doing the above should at least be able to narrow it somewhat down if it is indeed a network issue or not.

What is the platform (or component) used for sonoff ewelink? Wanna check that code :-)
The August component in HASS needs to poll with the August servers, it does not get anything in.
Not confirmed this, but it looks like this should be happening like every 5 seconds (I just confirmed on mine that it indeed checks every 5 seconds). Hence you will not be getting it any sooner then that. :-)
I also checked and I have not been getting any request errors since I put in the updated code with using sessions etc. unless I actually had a network problem. :-) This is for about a month now or so (as I was testing the updated code locally, then get the PR through for HASS, and then going into the release).
My doorbell sounds instantaneous within the house but never reflects in HASS, still using old-fashioned doorbell. :-) For August I just have 1 lock (with the door sensor).
I would say that the change I did with using sessions etc. would be even more advantageous as more items are added.
Before the change, a lock without a door sensor would result in 2 requests / lock. If there was a door sensor as well it would result in 3 requests / lock. Now it is 2 requests / lock irrespective if there is a door sensor or not.
Before for each request a new connection would be made. Now the connection stays open and is re-used, not just for 1 update but even between updates.
So if you have 1 doorbell and 1 lock with sensor, before it would be doing 5 requests (there is also the device activity one) every 5 seconds, each time setting up the connection.
Now it will be doing 4 requests and they will be leveraging connection(s) already setup. I for example have 2 connections setup and they stay around and thus re-used even between updates.

Check out the websocket branch of this:
http://github.com/peterbuga/HASS-sonoff-ewelink/blob/websocket/sonoff.py
On Fri, Dec 7, 2018 at 4:52 AM ehendrix23<EMAIL_ADDRESS>wrote:

What is the platform (or component) used for sonoff ewelink? Wanna check
that code :-)
The August component in HASS needs to poll with the August servers, it
does not get anything in.
Not confirmed this, but it looks like this should be happening like every
5 seconds (I just confirmed on mine that it indeed checks every 5 seconds).
Hence you will not be getting it any sooner then that. :-)
I also checked and I have not been getting any request errors since I put
in the updated code with using sessions etc. unless I actually had a
network problem. :-) This is for about a month now or so (as I was testing
the updated code locally, then get the PR through for HASS, and then going
into the release).
My doorbell sounds instantaneous within the house but never reflects in
HASS, still using old-fashioned doorbell. :-) For August I just have 1 lock
(with the door sensor).
I would say that the change I did with using sessions etc. would be even
more advantageous as more items are added.
Before the change, a lock without a door sensor would result in 2 requests
/ lock. If there was a door sensor as well it would result in 3 requests /
lock. Now it is 2 requests / lock irrespective if there is a door sensor or
not.
Before for each request a new connection would be made. Now the connection
stays open and is re-used, not just for 1 update but even between updates.
So if you have 1 doorbell and 1 lock with sensor, before it would be doing
5 requests (there is also the device activity one) every 5 seconds, each
time setting up the connection.
Now it will be doing 4 requests and they will be leveraging connection(s)
already setup. I for example have 2 connections setup and they stay around
and thus re-used even between updates.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/snjoetw/py-august/issues/9#issuecomment-445066740,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AqJgbKHNHLrjyIspgxZ-5QKmzsNA6dDhks5u2aaggaJpZM4XB_uz
.

Looking at the code, seems to me one of the big differences here is that Sonoff pushes changes and hence the listener. And thus also why using WebSockets.
So if something changes, a message is then send from Sonoff to the component. There is no need to poll. For August we do not have that luxury and we thus need to poll to get a state update.

True. But it seems like August might be pushing changes as well.
Because the doorbell notification (someone is ringing the doorbell) is near
instantaneous on Google Home.
This was recently added, required me to unlink and then relink August
account on Google Home.
So there's some hope there.
But I'm not able to leverage most out of the current code, so will send the
debug code soon. Thanks again for the help.
On Fri, Dec 7, 2018 at 6:14 AM ehendrix23<EMAIL_ADDRESS>wrote:

Looking at the code, seems to me one of the big differences here is that
Sonoff pushes changes and hence the listener. And thus also why using
WebSockets.
So if something changes, a message is then send from Sonoff to the
component. There is no need to poll. For August we do not have that luxury
and we thus need to poll to get a state update.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/snjoetw/py-august/issues/9#issuecomment-445082962,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AqJgbOg_Zg6KyvwQaZthM3EjkmODy-GPks5u2boBgaJpZM4XB_uz
.

Will be sending you the debug log as soon as I can.
Read up on asyncio from your other posts and found a nice article on this:
https://terriblecode.com/blog/asynchronous-http-requests-in-python/
Do you think integrating this into this project or the HA project be of use?

Sorry for the constant bugging but I am really excited to make this as fast as possible.
Seems like August is using Async code to integrate with Alexa as well.

Today, as an early adopter of the new Asynchronous Messaging, Proactive State Updates, and Capability Interfaces recently added to the Smart Home Skill API, August delivers a versatile, low-latency control and monitoring experience to Alexa customers

https://developer.amazon.com/blogs/alexa/post/7c9b3937-9f82-49fc-99dd-359d018fb25d/august-home-uses-smart-home-skill-api-for-faster-more-seamless-integration-of-locks-and-cameras

Reading this, what they seem to be saying is that before what had to happen was that when the action to unlock (or lock) was send from Alexa to August, August would not be allowed to respond back until it was done.
Now, Alexa is allowing a response back pretty much saying (working on it) and then once completed to say (done).
Further, as they state is that August sends state changes to Alexa (and pretty sure they do the same for Google Assistant). So it is not Alexa or GA polling August but rather August sending it to them.
How is this different?
With polling:
You lock the door -> Lock sends that it is locked to August servers
Every 5 seconds poll August server to retrieve current state. Receive updated state.
With notification (August sending updates):
You lock the door -> Lock sends that it is locked to August servers -> August sends to recipient that lock is locked
There is no polling. Like when you order a coffee. Polling is you on a regular basis going back to the counter and asking if your coffee is ready. Thus if you waited 2 minutes since the last time you asked, your coffee might have been sitting there for a minute.
 Hence, you know immediately.
Until August provides us a method to connect to something and then allowing us to receive notifications on that channel we're going to have to do polling instead sadly enough. And that will always then come with a certain delay.
Now, the issue you are seeing however is due to something related to networking. I think if we can at least get that resolves so that you have a stable network connection then that should already help.
I also do not know how many devices you have in total, but I do have some ideas how it might be improved upon when there are multiple devices of the same type (probably mainly locks here as not sure how many doorbells one requires).
I have a latency of 46ms to the August servers (this is important as higher latency means longer request times).
It takes about 593ms for 1 request if the connections has to be setup, about 166ms if the connection is already setup.
For each lock there are 2 requests, thus about 330ms if the connection exist or 780ms if 1st connection had to be setup.
If you have 10 locks then in reality it would take about 3 seconds to go through them. This happens for all the locks at once and hence nothing will be updated.
This probably can be improved upon potentially so that each lock will get it on their own instead of through 1 batch.
I am working on another component right now. From the moment I am done with that one I'll come back to this one to see to change it to asyncio instead and then to improve the component in HASS itself.


Adding support for (optional) configuring of port ranges for the DEA droplets.

Currently, the DEA nodes use the ephemeral port range from the underlying OS, for picking up a port number to supply to each droplet. This range can be configured, and probably the network stack should be restarted for the change to take effect.
This pull request provides a new configuration property for DEA nodes: port_range, which allows you to specify some range, in terms of Ruby range literal, that will be considered when choosing the port. DEA will try to pick up a random port within the range, which is free, if possible. If this fails, a fallback variant is applied, which is the default behaviour - using the ephemeral port range. This has the advantage that only the DEA must be restarted in order for the configuration change to take effect.
In a secured corporate setup, the allowed network ports are restricted and tightly controlled. Most administrators would require to be able to specify some port range, rather than having them randomly chosen.

Guys, any news on this change ?

I missed the specs being added to this.  I'll look at pulling this next.  thanks

I started the merge on this and did a bunch of testing on it, and found an issue.  See the comment on commit ce5cc9d.
Note that as part of this, I prepped the dea for handling the different methods of grabbing ports, as well has better error handing than the "exit" that is done in this pull request.  That code will make it over to the public vcap repo sometime next week, and you can drop your new changes into that.  (Specifically, there will be a Dea#grab_port that checks for the port_range var and does the right version of port allocation.  That method is then used to grab both the app port and potentially the debug_port.)

Hi Patrick,
Thanks for your comments and for the issues found! Yes, I think you are right about the race condition here. I wonder then how the generic grab_ephemeral_port method is protected against the same possible dangers, since more or less it looks pretty similar, but probably this is taken care of on a lower OS level, i.e. the networking stack is somehow making a synchronization or other approach to guarantee that a reserved port could not be returned to more than one client.
Definitely this needs some refactoring. I will take care.
Thanks!


Add weaveworks/kured repository

Signed-off-by: Christian Kotzbauer<EMAIL_ADDRESS>weaveworks/kured#140

The Artifact Hub is another place you can list your repos. To do that, you login (or create an account), create an organization, and list your repository. You can link it to a user or organization.


CosmosDB Dataset Query does select document properties

I have a CosmosDB collection that contains a test document like this
{
   	"_id" : ObjectId("5bee9420b4dfa712989d50fe"),
   	"id" : "1",
   	"remarks" : "this is a test",
   	"address" : {
   		"zipcode" : "1111"
   	}
}

There is also a Dataset defined and the Connection is pointing to that collection and there is no schema defined.
The pipeline contains one activity (Copy Data) and the Source Dataset is the Dataset mentioned above.
When I click Preview data I see one document (from above) like this:
$t	$v._id.$t	$v._id.$v	$v.id.$t	$v.id.$v	$v.remarks.$t	$v.remarks.$v	$v.address.$t	$v.address.$v.zipcode.$t	$v.address.$v.zipcode.$v	id					_rid				_self								_etag					_attachments	_ts
3	7		[î ´ß§Pþ	2		1		2		This is a test	3		2				1111				NWJlZTk0MjBiNGRmYTcxMjk4OWQ1MGZl	iERcAIDQTM4BAAAAAAAAAA==	dbs/iERcAA==/colls/iERcAIDQTM4=/docs/iERcAIDQTM4BAAAAAAAAAA==/	"28009840-0000-0000-0000-5bee94200000"	attachments/<PHONE_NUMBER>

So the Dataset does work. However, when I specify a query like this, like the documentation suggests:
select c.remarks from c I don't get any results.
What's the proper way to get the field that I want using the select statement?
I also tried to define the schema, by adding a column with the name 'remarks' but that was no success either.
Any pointers would be really appreciated because I already spent hours on this pretty simple requirement...
Thanks a lot!
Erik

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

ID: 43cac5a8-aa7f-8aba-d47e-e78249efa031
Version Independent ID: 09c34890-b4f0-be28-9813-bb8066631f6f
Content: Copy data to or from Azure Cosmos DB by using Data Factory
Content Source: articles/data-factory/connector-azure-cosmos-db.md
Service: multiple
GitHub Login: @linda33wj
Microsoft Alias: jingwang

@eholman
Thanks for the feedback! We are currently investigating and will update you shortly.

@jason-j-MSFT I discovered what went wrong, and for a Cosmos DB newby like me, it's not clear that MongoDB is not supporting SQL API nor that Cosmos DB in Azure clearly shows the data model is of type MongoDB.
So in the end I needed to switch to the MongoDB Connector.


Which commit hash supports Ubuntu 16?

Hi, thanks for this script! Could you please tell which commit works with which OS version? For example, I need to install it on Ubuntu 16, which commit should I checkout? I think it would be helpful to have a list of supported operating systems and their versions in README.
Thanks

This is the latest commit providing Ubuntu 16.04 support: https://git.io/vpn1604
All of the other distributions are supported in all of their currently maintained versions, with the exception of CentOS 6. Ubuntu 16.04 ships with an OpenVPN version which was released more than 4 years ago and as such I'd suggest against using it.
This installer is very conservative and usually legacy support is provided for very long, but Ubuntu 16.04 was just too problematic and old to be worth it, so ended up being discarded.

Thank you!


Avoid ignore crate finding cache gitignore

We put a .gitignore with * at the top of our cache. When maturin was building a source distribution inside the cache, it would walk up the tree to find a gitignore, see that and ignore all python files. We now add an (empty) .git directory one directory below, in the root of built-wheels cache. This prevents ignore walking further up (it marks the top level a git repository).
Deptry (from #2490) is a mid sized rust package with additional python packages, so instead of using it in the test i've replaced it with a small (44KB total) reproducer that uses cffi for faster building, the entire test taking <2s on my machine.
Fixes #2490

:D this is an endless source of trouble
Related:

#2466
https://github.com/pypa/hatch/issues/1273

Why doesn't #2466 address this?

As i understand it, ignore walks up until it finds a git repository root, since gitignores extend each other (cc @BurntSushi)

Yeah, although you can opt out of .git detection with WalkBuilder::require_git.
You can also explicitly opt out of the "ascend the directory tree" behavior with WalkBuilder::parents. (@konstin I forgot to ask whether using this would be appropriate in this context.)

@charliermarsh should I release this?

@zanieb - Yeah, let's include it. @konstin can rename the directory as a follow-up instead of a precursor PR.


Regarding inference efficiency

Hi Alex! Amazing work! Well done!
It seems that we're loading the ESM tokenizer and models multiple times during the inference stage for multi-chain processing. Perhaps we could optimize this to improve efficiency.
https://github.com/chaidiscovery/chai-lab/blob/3305f9acada2708fba25bdee3ee35c4abcd0331c/chai_lab/data/dataset/embeddings/esm.py#L62

covered in PR #5
you can install new version of package:
pip install git+https://github.com/chaidiscovery/chai-lab.git


FileInfo Endpoint

Right now, this endpoint supports only 2 scenarios:

did  - and provider will decode/decrypt whatever data source is used
url

2nd scenario (just url) breaks the current definition of url-storage (see https://docs.oceanprotocol.com/concepts/did-ddo/#files)
We should accept the full object, like:
[
    "type": "url",
    "url": "https://url.com/file1.csv",
    "method": "GET",
    "headers":
      [
       {"Authorization": "Bearer 123"},
       {"APIKEY": "124"},
]

Provider issue: https://github.com/oceanprotocol/provider/issues/504

I've uploaded a screenshot of the Provider functionality in its ticket. The functionality already uses the object and not the single url. I'm uploading one here, too, from ocean.py. You can see there's a json containing the url object, not a single url.


how to add libraries with URL

HI,
ho can i add a library via github url? I need to ad my own libraries and not listed libaries.
Example:

Wemos Motor Driver
https://github.com/tobiasfaust/i2cdetect

Hallo Tobias,
to use other / custom libraries, you must put all the library files into the sketch directory.
Or copy the library directory in a former GitHub-workflow step to the "$HOME/Arduino/libraries" directory e.g. by using the Download GitHub Release Action.
If you have a working example, please tell me, I will then include it In my documentation.
Gruß aus Köln
Armin

Here it is explained.
Please test and give me Feedback.

Hi Armin,
great, it works with 4 Custom Libraries :)
Thanks a lot
Gruss aus Magdeburg :)
Tobias


Add a Gitter chat badge to README.md

bigdatagenomics/adam now has a Chat Room on Gitter
@massie has just created a chat room. You can visit it here: https://gitter.im/bigdatagenomics/adam.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Can one of the admins verify this patch?

This could use a couple extra line breaks I think

@massie How do I make a change to the PR?  I don't know if I have permissions.

How about now?

Manually committed via https://github.com/bigdatagenomics/adam/commit/20b621db75179abcd20478d382784b547fa0edf0.


Add props descriptions in styleguidist

Coverage remained the same at 100.0% when pulling fa7cc6ece603f552ac78da7455f8c4f61f04fdae on roth1002:add-props-method-description into 362974e15547365938afcfebd33606da5dc7c45f on trendmicro-frontend:master.


Shrinkwrap dependencies and development dependencies to lock down versions

Fixes #528
Fixes #531 by locking down xmldom version to 0.1.19
https://docs.npmjs.com/cli/shrinkwrap

Superseded by #533 and #534


fix(connector-besu): missing value when sending transactions

Describe the bug
When sending a transaction with ether an extra value is required in the transaction encoding which is missing
To Reproduce
Try to call a payable smart contract function, it will fail because ether can't be specified in the correct position
Expected behavior
Ether can be sent when sending ether transactions
Logs/Stack traces
pending...
Screenshots
pending...
Hyperledger Cactus Plugins/Connectors Used

Besu connector

Additional context
https://web3js.readthedocs.io/en/v1.2.11/web3-eth.html#id84
IE:
web3.eth.sendTransaction({
    from: '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe',
    to: '0x11f4d0A3c12e86B4b5F39B213F7E19D048276DAe',
    value: '1000000000000000'
})

Working on this

https://github.com/hyperledger/cactus/blob/main/packages/cactus-plugin-ledger-connector-besu/src/main/json/openapi.json#L451

https://github.com/hyperledger/cactus/pull/554#issue-568497729
PR done and merged


Add support for command FILTERVALS

Is your feature request related to a problem? Please describe.
We need a way to filter out values on the basis of some condition on the value.
Describe the solution you'd like
Create a command FILTERVALS that accepts wildcards as an argument and returns the list of KV pairs as a response.
> FILTERVALS "*value:*"
0) 0) user:1
    1) value:1
1) 0) user:2
    1) value:2

a JSON equivalent of the response is
[
    ["user:1", "value:1"],
    ["user:2", "value:2"],
    ...
]

Go for it @zeina1i

@zeina1i are you still actively working this issue? if not, i want to pick this up; looks interesting.

Hey @manosriram . Actually I am working on this.

Thanks a ton @zeina1i . Let me know if you are stuck somewhere. You can join the Discord Server for quick collaboration.

@arpitbbhayani can I pick this up?

@lucifercr07 we do not need this at the moment. it was created long time back and now irrelevant. Closing this issue.


Add ocp test job for core_bpf

Description
Latest versions of Collector contains new collection method core_bpf. Add one new test job to exercise it.
Corresponding OSCI PR: https://github.com/openshift/release/pull/38748
Checklist

[ ] Investigated and inspected CI test results
~- [ ] Unit test and regression tests added~
~- [ ] Evaluated and added CHANGELOG entry if required~
~- [ ] Determined and documented upgrade steps~
~- [ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

Testing Performed
New collection method is tested on test pipeline in Collector repo.

/retest-required

/retest-required

/retest


Update parameters passed to launch.sh to build a correct joblog.json

This PR also fixes https://github.com/IBM/vscode-ibmi-projectexplorer/issues/485


[ilp-core] Improve README to explain/link-to concepts like "Condition" and "Fulfillment", etc.

 Issue by sappenin
Wednesday Jul 26, 2017 at 13:45 GMT
Originally opened as https://github.com/interledger/java-ilp-core/issues/61

Much of the language in our README and Javadoc assumes people know what "Conditions" and "Fulfillments" are and other jargon are. We should not make this assumption, and always provides links or small explanations of various concepts.
One helpful source of truth is the glossary.
Also, see this comment here for another example.

This is no longer a valid issue. ILP-Core uses only a Preimage condition, which is fairly well documented in the ILP documentation. Crypto-Conditions README's and code have been updated to point to the spec.


#882 agent start up failures

Proposed changes

Closes #882

Error handling for tedge agent and mapper, when there is no directory on startup (.agent, operations, sm-plugins)
Types of changes
What types of changes does your code introduce to thin-edge.io?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue
#882
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[x] I ran cargo fmt as mentioned in CODING_GUIDELINES
[ ] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...


Add jreleaser to simplify release announcements

The 'Trigger Release' workflow allows to easily publish a new release. But afterwards the announcements have to be done manually.
This PR adds a basic JReleaser config to automate the announcement process.

@joschi Thanks for adding the missing announcer :heart: But I don't think it's a good idea to use the twitter template name in the mastodon announcer. If we only want to have one template for now, we should rename it to announcement.tpl or something.
Any other steps I'm missing in this PR? Testing was successful in my forked repo so far, so it should be good to go otherwise.


[lc_ctrl] Beef up security of the token mux and transition matrix LUT

This patch does 2 things:

the first commit beefs up the security of the transition token mux. in particular, it splits both the token mux into two halves that are both steered with separately computed and buffered valid signals. in a similar vein, the valid bit mux is duplicated. the out of bound mux indices are all set to a random netlist constant instead of tying them to a known all-zero constant. this basically addresses https://github.com/lowRISC/opentitan/issues/10445.
the second commit recognizes the replicated enum encoding that was added to ease firmware hardening as a separate countermeasure. it also extends the internal usage of this encoding as it aligns nicely with the two independent mux halves that have been added in 1). I.e., the use of a replicated enum encoding can now be leveraged to duplicate the state transition matrix lookup, which in turn can be used to create two separate mux indices that feed into the two mux halves of the token mux.

this looks good to me. I assume this means there are no direct consumers of dec_lc_state, and everyone is forced through the sec_buf right? so we won't get really smart optimizations.

yes that is the idea. for the internally recoded state originating in the state decoder, we're using a sec_buf. for the transition target we don't have to buffer it explicitly since it comes out of a CSR and the synthesis tool does not know that the bits are redundantly encoded - so it can't optimize them out.


docs(mashup): a mashup example in Typescript with qlik sense Enterprise on Widnows

why do these files now? better to start with the actual source code?

why do these files now? better to start with the actual source code?

it was used to do the debugging last week and now it is good to merge as well.


confusing terminology

Virtually every paragraph in this article using different terminology:

"prompt language"
"system language"
"default language"
"greeting language"
"preferred language"

If all these terms refer to the same thing, you should not use different words

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

ID: 5586a3f7-0a24-3720-1ad5-336737c44275
Version Independent ID: c5800980-2d9f-ee75-4193-bc5e8e9a68b9
Content: Change the default language for greetings and emails - Microsoft Teams
Content Source: Teams/change-the-default-language-for-greetings-and-emails.md
Service: msteams
GitHub Login: @dstrome
Microsoft Alias: dstrome

@shivtorov  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@shivtorov thank you for reaching out and helping improve MS Docs. I've just had a look at the article and the language seems to read correctly regarding relevance. Please let me know if you need any further information or assistance.

@shivtorov Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Add a command to run Test262 tests for spec conformance

This PR fixes #3 by adding a new command yarn run test262 that runs 6000+ Temporal-related tests in  Test262 (the TC39 spec-conformance test suite) against this repo's Temporal polyfill.
The current results are below. The good news: 3500+ tests pass!  The bad news: 2700+ tests fail. ☹
6302 tests finished in 16.0 s
  3584 passed
  2716 failed

Test262 files are checked in as a git submodule which will need to be updated periodically like all submodules.
I used the optimized test runner from the tc39/proposal-temporal repo, with only a few minor changes to adapt to this polyfill.
When running Test262 tests, terser is turned off for easier debugging and so that the test runner output doesn't emit indecipherable, long output when tests fail.
I also added a launch.json profile for debugging Test262 tests in VS Code.  Something seems to be messed up with the sourcemap because when I break inside the debugger, the wrong line of code inside the polyfill is highlighted in the IDE. I wasn't sure if this was a pre-existing problem or not, so didn't try to fix it here.
I didn't check in yarn.lock with this PR because I had trouble getting the polyfill to build without upgrading yarn, and I was hesitant to check in those upgrades.
I also didn't include Test262 in the yarn test script that gates all PRs, because there's likely a lot of work required to get those 2700+ tests passing in the meantime.
Let me know how you'd like me to proceed with this PR!

@justingrant I was a bit intimidated to hook-up all these tests, so thank you very much, this saves me a lot of time. Glad to hear the tests run faster.
Q1 of next year will be spent getting this polyfill to a production-ready state (now that v6 of fullcalendar is out). I'll keep in touch.

Sounds good. Feel free to reach out if you need anything.


[Python] Ease of Use Changes

[Python] Ease of Use Changes

Modified imports in init.py
Updated import in test

This diff Allows imports to be smaller and easier to use.
from aiconfig.AIConfigSettings import AIConfig -> from aiconfig import AIConfig

Updated imports to include important classes


Market Creation Prompts

UI should probably have a bunch of "are you sure" style things and prompts to discourage creation mistakes. Otherwise they could get closed as indeterminate.

Joey any specific examples beyond checking value requirements/ranges throughout and a final confirm step at the end?

Make sure user provides a description
Make sure user is prompted are you sure if they didn't put a resolution source
When they confirm prompt them to make sure they leave no ambiguity in their description

Make sure user provides a description

done - can't proceed without it

Make sure user is prompted are you sure if they didn't put a resolution source

done - can't proceed without selecting generic source or providing specific source

When they confirm prompt them to make sure they leave no ambiguity in their description

ok - maybe solved with more/better msg'ing but could look into an additional prompt to communicate the importance of it

Closing this as market creation is pretty prompty now.  Feel free to re-open if more prompts are needed / desired...


have sub-pages for hubs, resources, tools

option to link to sub-page OR just have an external link
on the sub-page of resources / tools may be an include of a .md file of another repo

here the info on how to include data of other repositories: https://github.com/ASKnetCommunity/ASKnet.Community/issues/20

done from what I understood

(only Hubs are subpages for now, can change in the  future)


Declared license not showing in Workspace

If I find this package - nuget/nuget/-/System.Management.Automation/6.1.7601.17515 - in the Workspace, the Declared license field is blank.  However, if you dig into the definition, it says it is curated and shows MIT.  I assume this information is meant to show up in the Workspace view..

@storrisi Can you please take a look at this?

I've tried to search the same component but everything looks fine:

@ariel11 Can you please send us a screenshot of the behavior you're seeing?

@fossygirl and @storrisi - sure, above is the screenshot of the component in the Workspace where it looks like no license has been declared (but if you click the magnifying glass, you see MIT).

@ariel11 i've made the same test on a clean browser session without any cache, works fine for me now:

@ariel11 are you still able to reproduce this problem?

@storrisi - I don't know why our views are different, but yes - it still isn't showing the Declared license in this view for me for this one NuGet.  I do see above how it looks right on your machine.

@storrisi - In my view, I see a red 15 and in your review a red 30?  It appears we are somehow getting different info??

Yes, it looks like.
Do you still see the same info?
I've checked right now and I'm still seeing a 30 score.


[CSL-1481] Add C code to get default DNS server in Windows

All that's left is to add the  -liphlpapi flag when gcc builds the C file. I'll take a look later today.

@edsko I was hoping the PR would be ready by Monday, but I don't think I can make it happen. Adding iphlpapi has proven difficult for reasons I still don't understand.
I'll continue trying to debug the causes for CI failure on Windows, I'll make sure to ping you when I'm done so you can merge this.

LGTM. Merge when you feel it's ready (unless review from someone of the core team is needed).


Projects Section

Refer designs
Also each image and its description would act as a button that will redirect it to respective projects description page

Hello, I would like to take this task. Is there anywhere where I can access the designs on Figma?

Yes start the work

@andrecon Updates on the issue, please.

#17

This is what I have so far. It seems like got it working. I would appreciate if I get some reviews on my previous PR. I couldn't find the images for this section of the project so I added empty image files for now.

@andrecon can u take images from their original website: http://myzerogravity.org/

Yes. I'll update my PR today with the images.

Default image has been replaced with images from their original website. My PR has been updated.

Hello, I was wondering why my PR was rejected?

@prateekrawal @coderwassananmol @Yuktichopra
Can I take this issue?

i want to work on this


SystemLink Enterprise Release Notes for 2024-10

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
Release Notes for the 2024-10 release.
Why should this Pull Request be merged?
Required for release.
What testing has been done?
N/A

Hi @vpstoynova , could you help review the section `New Features and Behavior Changes'.
The info comes from this file:

SLE 2024-10_Helm Chart Breaking Changes, Software Behavior Changes (including Privileges) for the Release Notes - out of September 2024.xls

I expect Mark to have technical questions, and have kept the content as squads have documented. Will tag Mark once I have your review.
Thanks!


Set the watchOS deployment target to 2.0

The watchOS deployment target was not set and it defaulted to 4.2. When used with Carthage, this created problems for apps that support lower watchOS versions.

Thanks, @SimonJanevski!


AUDIT-10: Update h1 tags to h5 tags

@jaredred @lvuch  Reviewed file changes. These look good to me.


flutter drive hangs after completion

Executing flutter drive ... hangs after all tests are completed.  It takes a Ctrl+C to get control back.
I'm running the command on OSX against an iPhone 7 simulator.

Is this related to #23614 ?

@zoechi No, I don't think so.  I'm guessing that #23614 is a bug in the code, whereas this issue is probably a bug in the tooling (though I'm not sure).


Improve common cmake

This does a couple things:

Finally enables the trusted test @andmiele1 wrote a long time ago
Gives better error messages (earlier!) when you forgot to export necessary environment variables
Automatically changes the simulator mode for the enclave based on SGX_MODE
Fixes common cmake not always working multithreaded (make -j8 etc.)

The two new commits implement the requested changes. In particular, TINY_SCHEME_SRC is now optional.


Example page has a link to a malware infected page.

Challenge Build a Personal Portfolio Webpage has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
When I open the example page and click the link to Thiago Ferreira on  the top left it takes me to a page that is infected with malware.

I can confirm. We should remove it ASAP

@Sephem Are you using Avast?

Yes I am.

I scanned the URL with https://www.virustotal.com, a malicious URL scanner and it came back clean.

I used a few scanners when this was reported and got no results either. As far as I know, this issue is only present for Avast users.

I don't get any warnings when visiting that site. However, I can't  access www.freecodecamp.com at all on Firefox with Avast enabled. Disabling Avast allows me to connect with Firefox and Chrome works fine regardless.

We can use mine meanwhile we find a better one. At least we'll know it's not booby trapped.
http://codepen.io/hallaathrad/pen/vNEPpL


Yarn on travis

Add yarn configuration for TravisCI.
https://blog.travis-ci.com/2016-11-21-travis-ci-now-supports-yarn

Coverage remained the same at 89.326% when pulling ad0db60aa207e901367dacaadd1e8405fea399d4 on yarn-on-travis into 24bce6f329f5781664fb71519b4252c31570a68b on master.


Added Quick Reference sample for Inventor

I added a new sample for 51515 that acts like a quick reference to almost all of the relevant Pybricks API for the hub and devices that come in the 51515 kit. See email for a little more info.

Merged, thanks!


Feature/pid 2627 - Add session keystore

@vmidyllic it was my understanding that the sdk was where library code for use in the web-wallet belongs, is there a different location where this should live?

Sdk is more general and about id management, not library code for web wallet features.
code should be moved to web wallet.


added solution to leetcode problem 1095

Pull Request Template
Added C++ solution to the leetcode problem 1095 "Find in mountain array"
Write here what you have changed in the codebase
Issue no.(must) - #875
Pr will be close and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me if not it will be marked as spam.
[x] My file is in the proper folder
[x] I am following clean code and Documentation.
[x] I have added the title and what program will do first in the file
[x] I have named the file as (Problem #). (Problem Title(in Camel Case)).(extension)
ex. 2. AddToNumbers.py

README - How to Contribute

@SSKale1 @swaingotnochill Could you please merge the pull request. I have added the C++ solution following all the required guidelines.


Licensing terms

Hi,
It would be very advantageous to supply and describe under which license the software is published under.

Hi @krisklau,
You raised a very good point. Currently the license information is contained in package.xml file (GPLv3).
I'll revisit the license with the team to make sure we use the best one we can that doesn't impose too many restrictions on users.

Hi @krisklau we updated our license term to MIT(see PR #10).
Closing the issue.


Feature - Add scout searching to pages with searchable models.

Does this allow Scout to be optional?

Does this allow Scout to be optional?

No. How do you want it to be optional? In the config somewhere?

Does this allow Scout to be optional?

I have made some tweaks to make Scout optional via a config setting. I have also refactored things to keep it DRY and added extra checks for when Scout isn't available, even if enabled. This will then fallback to the default if not enabled or unavailable.