Allow constructLocalized  to provide localState of ducks store in deeply nested redux state trees

It seems that constructLocalized and all of the examples assume that the  structure of the final redux state to flattened.
We have found that ducks and traditional reducers can live together and that has presented occurences where the ducks store instance is bound deeply within the redux store.   constructLocalized is unable to locate this state and then in turn unable to provide it to the  selectors.
I'd like to  propose the addition of a new option storePath that would allow an instance to define its final location within the redux state.

Thank you for your contribution!

https://www.npmjs.com/package/extensible-duck/v/1.5.0


Emails - Keep in Dedicated App or in ResourcesLive?

Current Work
Authentication
Procedure (Loose)

password could be stored anywhere securely (e.g. Mac Keychain, manager app)
give us special access rights to relevant items
provide hook for different access mechanisms

Considerations
Email apps generally allow data access without authenticating each time the app is opened. The difference between that and a GT implementation is that, since GT is so open, a malicious actor might be able to more easily get the password itself, which is different than physical access because they would continue to have access indefinitely. One idea might be a simple Mac app to authenticate via e.g. Touch ID that is wrapped in a Python glue script, so that the password is never accessed from the Smalltalk side. The downside would be authentication, which could reasonably be reduced to once per image startup.
NB

ComputerWorld has an IMAP Lepiter page

Options
Option 1: Keep them in e.g. Mail.app:
It seems keeping them in Mail.app solely will not be workable due to the following experiment… Moved messages to an "On My Mac" folder in Mail.app. They were available from Finder via ~/Library/Mail/V9/[aUID]/Dynabook.mbox/[anotherUID]/Data/5/3/1/Messages and Pharo FS reported the paths as existing. However, aFile contents failed from within Pharo with a primitive error, for both individual messages as well as the mbox file.
Rendering these questions moot:

how organized? By sender? I really don't like the GTD idea that the message could be in up to 3-4 places
The app will place constraints on how they are stored and how we can access them. Maybe we could mitigate somewhat via policy, but it's another context switch

Option 2: Move them internally:

[x] To thread, use Message-Id header or, for gmail, subject matching
[x] Pervasive search - the contents of EMLs in random places on the filesystem (e.g. ResourcesLive library) appear in Spotlight
[x] To uniquely reference, say from GT, if left in app, emails have a Message-Id header which uniquely identifies them [1]
How to view w proper rendering eg html. Pharo IMAP?

Option 3: Copy to Dynabook
Maybe during transition, to mitigate the angst about whether we can fully replace a dedicated mail app, especially RE pervasive search, we can leave a copy of the message in a local mail folder named "Dynabook Backups"
This workflow is clunky:

Copy email(s) to Mail.app backup folder

Copy emails to outside holding location

Import held copies into RL

Add them to your model e.g. attach them to projects

"Do... Emails or... Threads have a unique identifier.." on SO

Option 3 implemented via https://github.com/seandenigris/The-Project-Project/commit/ff4ecb5fe23464b2ed9e4e1676600cb87ba6e5e7. Initial support for Outlook for Mac [1] and Mail.app

Legacy Outlook because new Outlook is not yet scriptable; AppleScript support was initially planned for Dec. 2024 but the roadmap now says Dec 2025


quiz content

-add quiz content flow
-page begins with a start button
-when clicked, button disappears, timer begins counting down, and a question title appears with multiple choice below
-if you click the wrong answer, a message appears at the bottom, and time remaining is reduced
-if you click the right answer, a message appears at the bottom, and proceeds to next question
-when all questions are complete, or the timer reaches 0, the quiz ends
-add styling for quiz content
-buttons are indigo, but turn lilac when hovered

-note; the "score" to be submitted is the amount of time remaining at the end of the quiz

quiz should proceed to next question even if the answer is wrong


Yarn Install does not work

See https://github.com/awslabs/aws-sam-local/issues/87. Need to detect if the installation is coming from Yarn and find the binary path without using npm bin

I just checked and phantomjs-prebuilt seems to work with both npm and yarn –
I wonder if it's worth looking into how they do it: https://github.com/Medium/phantomjs ?

Interesting. Their installer seems to place the binary within node_modules/phantomjs/lib/phantomjs and have package.json's main property point to phantomjs.js file. Upon running the exec the binary.
In my case, I want the binary to be directly placed under bin directory. That's where the difficulty is.
I need to dig deeper into Yarn to figure out how they handle ./bin directories

Yeah, they just use a more standard method of distributing npm binaries, using the bin property:
https://github.com/Medium/phantomjs/blob/master/package.json#L34-L36
Which links to a shim that executes the "real" binary:
https://github.com/Medium/phantomjs/blob/master/bin/phantomjs

The problem with bin directory is, npm requires binaries to be present in bin directory before running postinstall script. I can't use preinstall because go-npm is downloaded as a dependency only after preinstall script runs.
For best compatibility, I should probably follow phantomjs' approach - Have a JS shim placed under bin directory which will exec the go binary. But honestly I don't like this additional layer of indirection.
Need a bit more digging to find the right middleground


[KeyVault] - Added immutable flag to key release policy

Packages impacted by this PR
@azure/keyvault-keys
Issues associated with this PR
Resolves #19857
Describe the problem that is addressed by this PR
Now that this flag has been added we can regenerate code and add support for
immutable key release policies. Once a policy is marked immutable it can no
longer be modified.
Are there test cases added in this PR? (If not, why?)
Yes, I debated whether I should also add a test case for "create a key, then
update the release policy to be immutable, then try to change it" but it
wouldn't drive any code so I skipped it.
Do note that since MHSM does not currently support this flag I was unable to add
a test for it for MHSM, but I will create an issue to add that in later.
Checklists

[x] Added impacted package name to the issue description
[x] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[x] Added a changelog (if necessary)

API changes have been detected in @azure/keyvault-keys. You can review API changes here
API changes
+     immutable?: boolean;
- export declare enum KnownJsonWebKeyEncryptionAlgorithm
+ export declare enum KnownEncryptionAlgorithms

API changes have been detected in @azure/keyvault-keys. You can review API changes here
API changes
- export declare enum KnownJsonWebKeyEncryptionAlgorithm
+ export declare enum KnownEncryptionAlgorithms

This is a bug in APIView / api-extractor and not a real change. The problem is that it misrepresents something that is either imported with a rename (import {x as y}) or exported under a different name (export { x as y }) - I forget which is which 😄
If you look at our published docs or pull the last beta / GA you can see that it is clearly named KnownEncryptionAlgorithms and now APIView will reflect it


MSID: 101140 Version: 1 DOI: 10.1101/2<IP_ADDRESS>5266

MSID: 101140
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>5266
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=101140
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>5266

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/101140v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>5266
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/101140/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

@acollings Likewise for this, are two evidence keywords ok?

Hi @naushinthomson yep -- okay as is!


[fix][doc]correct the explanation for invalidateEntries in the EntryCache

Motivation
The method invalidateEntries aims to remove from cache all the entries related to a ledger up to lastPosition. And the lastPosition is non-inclusive as opposed to its explanation. See L173.
https://github.com/apache/pulsar/blob/e771fc885afe2cc3807fa491af2510a25377ed57/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/cache/RangeEntryCacheImpl.java#L161-L173
Modifications
correct the explanation for invalidateEntries
Verifying this change

[x]  Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation
Check the box below or label this PR directly.
Need to update docs?

[ ] doc-required

[ ] doc-not-needed

[x] doc
(Your PR contains doc changes)

[ ] doc-complete
(Docs have been already added)

/pulsarbot rerun-failure-checks


Set NavigationBar custom color

Hello, is there any simple way to change the color of the navigation bar when the fragment is active? I could not enter a custom color. It is turning a default gray when you open Bottom Sheet.

This is an issue from the Material components. Check this issue: https://github.com/material-components/material-components-android/issues/267

With standard bottomsheet dialog from material all is working fine from the link you've posted. But with SBS not


Test with Django 2.2

Saw indications that it works with Django 2.2?  Is it approved for 2.2 and maintained?
It's a very useful tool, but it's dangerous (can be data-destructive), so I would only use it if it's maintained.

All tests pass on Django 2.2 and have been passing since February for py3.5, py3.6 and py3.7 (since beta line). I will work on updating the README.

New version released with updated README on current supported Django versions.


Software management feature not working on Ubuntu 20.04 with 0.6-rc build

Describe the bug
The software list is appearing empty after tedge connect c8y. While checking the tedge agent journal logs, I see log messages about permission issues, but with no detail on which file/executable is lacking the permissions. I'm assuming that it's the apt plugin.
Mar 15 16:01:01 alsu-VirtualBox tedge_agent[2860]: 2022-03-15T10:31:01.678770922Z  INFO sm-agent: plugin_sm::plugin_manager: Plugin activated: /etc/tedge/sm-plugi>
Mar 15 16:01:01 alsu-VirtualBox tedge_agent[2860]: 2022-03-15T10:31:01.680103742Z ERROR sm-agent: tedge_agent::agent: Permission denied (os error 13)

Tracing the MQTT requests and responses, it is evident that the software list request is failing as follows:
[tedge/commands/req/software/list] {"id":"C5MBtKxjAGE_JkZzZoMdt"}
[tedge/commands/res/software/list] {"id":"C5MBtKxjAGE_JkZzZoMdt","status":"executing"}
[tedge/commands/res/software/list] {"id":"C5MBtKxjAGE_JkZzZoMdt","status":"failed","reason":"Permission denied (os error 13)"}

To Reproduce
Install the 0.6-rc version of tedge on an Ubuntu 20.04 machine and connect it to Cumulocity. The software list will appear empty.
Expected behavior
The software list should contain all apt packages.
Environment (please complete the following information):

OS [incl. version]: Ubuntu 20.04
Hardware [incl. revision]: Virtual machine
System-Architecture [e.g. result of "uname -a"]: x86_64
thin-edge.io version [e.g. 0.1.0]: 0.6-rc

This is because default log path is set to /var/log. It is easily fixed if the path is changed to /var/log/tedge/agent


#bugs when draw happen its not showing anything

1-enhance the ui of the site  can make better ui than this.
2-when the match drawn but its not showing anything & fix the restart button when we scroll then we see the restart button

@iamparas0 as this issue is still open, can I work on this issue?
If yes so please assign this issue to me..

@iamparas0 as this issue is still open, can I work on this issue? If yes so please assign this issue to me..

I ve already this issue but @iamparas0 did not see the Pr


Tracking with continuous id crashes when does not find input boxes

In grounded_sam2_tracking_demo_with_continuous_id.py if input_boxes.shape[0] == 0 at some point (which means there are no objects detected that correspond to the language prompt) the pipeline crashes at this point in code. Is it an unintended behaviour since if we didn't find any objects we just want to output the same frame?

Yes, if there're no object predicted, we should directly output the frame itself, we will update this code in the future release


Unable to clone the EMR cluster which is created by Lamdba (Core node is failing)

We have created the V3 and created EMR using provided Stack, Now I have terminated the cluster and recreating by cloning
Cluster got stuck at bootstraping and in Core nodes provision got failed.
We tried to get the exact reason but we are not getting much information from the nodes-
seems it is failing due to /etc/sssd/sssd.conf file.
https://github.com/NethServer/dev/issues/5383

Have you reached out to AWS support? They should be able track down the error. You can also look at the logs under "provision-node/reports/0///.yaml.gz" and look for "failed: true"

@varunrao
Thanks for your response
I can look into the logs but the core nodes were terminated in every 2-3 mins.
I can raise the issue but support plan is not available where I am facing the issue
Can you please engage one support person to debug this issue ?


notcurses: 2.2.4 -> 2.3.8

Motivation for this change
2.2.4 is quite a bit out of date.
Things done
No testing yet -- not even sure if I've got the sha256 correct (i used nix-prefetch-url, but we'll see). I wouldn't even look at this until the autobuilders are cool with it. Thanks!

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

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

[X] Fits CONTRIBUTING.md.

Looks like the hash got fixed up, hurrah. Autobuilders look good.


Webview on android doesn't load embed youtube url

import React, { View, WebView }  from 'react-native';

export const YoutubeScreen = React.createClass({
  render: function() {
    return (
      <View style={{flex: 1}}>
        <WebView
          style={{flex:1}}
          javaScriptEnabled={true}
          source={{uri: 'https://www.youtube.com/embed/ZZ5LpwO-An4?rel=0&autoplay=0&showinfo=0&controls=0'}}
        />
      </View>
    );
  }
});

If instead of using source={{uri: youtubeUrl}} use source={{html: iframeHtml}} it works.
But i don't want to use an iframe since I can't have access to the html inside of the iframe.
On iOS works fine. Is that a bug or a normal behaviour for android?
edit: Might be related to this:

set a WebChromeClient to your WebView
    web.setWebChromeClient(new WebChromeClient());

and turn on hardwareAccelerated value
<application
android:hardwareAccelerated="true"...

check out http://developer.android.com/reference/android/webkit/WebView.html and read HTML5 Video support part.
source: http://stackoverflow.com/questions/8122298/youtube-embed-videos-not-working-in-webview-whats-wrong-with-this-code

I too am struggling with getting a youtube video playing in React Native.

Depends on the web rendering engine behind your device on newer android versions this should have been resolved. Anything lower then 5.0 isn't, I'll post a sample on lower device versions with this functioning

@StephaneP would be awesome to have an working example on that. :)
I don't want to extend the react-native webview and create an custom component just because of that, if I can use the react-native webview component I'm really glad

@StephaneP just to mention, I'm running in a Nexus 5 with android 6.0.1

@facebook-github-bot label android

I'm implementing a PR for this issue.
Would be nice to have a discussion about the approach we want to follow:
My initial idea is to add a prop like chromeClient which is a bool to the WebView.android.js component. To contemplate this, in ReactWebViewManager.java:
  @ReactProp(name = "chromeClient")
  public void setChromeClient(WebView view, boolean enabled) {
    if (enabled) {}
    view.setWebChromeClient(new WebChromeClient() {
    });
  }

Another option is to set the WebChromeClient as a default behaviour for the WebView on android.
@charpeni do you know some one to tag in this discussion?

@lucasfeliciano I'm not sure about WebChromeClient as default WebView client, but a prop like chromeClient seems interesting !
@StephaneP It would be interesting to have a working example.
Maybe @mkonicek could take a look at this :)

@charpeni
Indeed, some thing was wrong on it.
Thanks for fixing it, it is exactly what I meant.

I guess you can submit your pull request with the chromeClient prop, the discussion will follow in the pull request.
If you want to use this feature in a production application, you should cherry-pick it on release 0.22 (or older) and build react native from source.

@charpeni thanks.
PR: #6603

@lucasfeliciano could you build it for 0.22?

@stereodenis sure.
We needed that for production, so I made the changes and submitted the way it were just to keep the discussion going.

I'll close this issue since it was merged.

@facebook-github-bot close

Is this props  available on react-native 0.29.x? How to use this one? I cant see it on the docs.
I'm just new to react-native and working with webview,
then the site that is i want to open on webview says Unssuported browser. Please use chrome instead.
I wonder if this prop will help me on my project.

@lucasfeliciano is simply setting chromeClient prop in my WebView sufficient for this?
Still getting just a black screen when displaying a embedded YouTube video page.

@krapspark , I also having same problem. Have you solved this problem??

I am able to embed youtube video within webview but unable to get fullscreen option on the video in android
<WebView
              source={{uri: this.state.youtubeUrl}}
              style={{height:240, width:width, justifyContent:'center', alignItems:'center', backgroundColor:'black'}}
 />

where this.state.youtubeUrl is  "https://www.youtube.com/embed/"+youtubeVideoId+"?version=3&enablejsapi=1&rel=0&autoplay=1&showinfo=0&controls=1&modestbranding=0"

@manjeet-dobble see #5230

#5230 not helping. still get this problem in 2017. can't play video in Webview.
( I tried Stimulator(run-ios + run-android) / iPhone 6S / Android(Samsung Galaxy Note 5) )
none of them can play video.

+1

+1 on this.
I can't play videos on Kitkat, even setting android:hardwareAccelerated="true" in manifest.

@1c7 Yes, I had this same idea using Linking and I had to convince my client to allow me to do it, because even react-native-video did not work for me

still i cant use embed google map api in react webview :(

Hey Guys
Just to confirm, was this issue fixed? I am asking as I just found myself in exactly the same scenario.
Thanks.


Unable to filter messages coming from pid 0

6	20:44:25.062	0		Mic target 0x1 scancode 0x2e flags 0x80 extra 0x0 vk 0x43
7	20:44:25.328	0		Mic target 0x1 scancode 0x2e flags 0x0 extra 0x0 vk 0x43
8	20:44:25.422	0		Mic target 0x1 scancode 0x2e flags 0x80 extra 0x0 vk 0x43
9	20:44:25.522	0		Mic target 0x1 scancode 0x2e flags 0x0 extra 0x0 vk 0x43
The process is apparently able to send message without specifying a PID, maybe some driver?

proposed solution: add a process-match-type 'PID' and match the PID by full pid only.
This type of filter is easy to add (at least from the user-perspective) by right-clicking on the process-id colomn and choosing 'exclude'


Reorder Parameters listed in the instructions

Module: 02
Lab/Demo: 02L1-Deploy_host_pools_and_session_hosts_with_the_Azure_portal_ADDS
###Exercise :01
Task: 02
Step: 03
Description of issue
The order in which the values are specified in the portal.
For example :
AD domain join UPN is asked first and then Specify OU path.
Solution
Pls update the values as per my attached screenshot as several students have highlighted this as a challenge and are getting confused.

updated


the links recently added now open up in new tabs

When I added the links in the intro paragraph of the rate checker several weeks ago, I forgot to make those links open in a new tab. This fixes that.
Also, stuck in the airport because my plane had a crack in the windshield. ARGH.

Coverage remained the same at 97.73% when pulling ee9a030fb9c595d3fadb7d7320963723665d6581 on stephanieosan:loan-types-final-content into 5a4bd76446a9266d8425c627af03dd45f23a275c on cfpb:master.

:+1:


Implement Banners for Enrolment stage on Student Application Tracker

Context
Enhancements to display relevant information for the Enrolment stage of the student application tracker. These may need to be broken up into smaller tickets.

Reference mockups
https://www.figma.com/file/9Om2tzLAVEoMQrjmrH4fhu/MOD-SIMS?node-id=7809%3A108528&t=WNRHHCnCKfJXwzsH-0

Acceptance Criteria
Enrolment stage

[x] If COE, display "waiting" banner and orange bar
[x] If COE DECLINED, display red banner and red bar (w/ alert icon)

[x] If 2 COE, display 2 "waiting" banners and orange bar
[x] In "Application actions" menu, replace "Edit applications" with "Request a change" link

Completed (for original assessments)
HAPPY PATH 😸

[x] If COE confirmed, display green banner and green bar (w/ check icon)
[x] If Payment SENT, display green banner and green bar (w/ check icon)
[x] If 1 of 2 COE confirmed, display 1 green banner, green bar (w/ check icon), 3 waiting banners
[x] If 1 of 2 Payment SENT, display 2 green banners, green bar (w/ check icon), 2 waiting banners
[x] If 2 of 2 COE confirmed, display 3 green banners, green bar (w/ check icon), 1 waiting banner
[x] If 2 of 2 Payment SENT, display 4 green banners, green bar (w/ check icon)
[x] NICE TO HAVE (background green highlight of last card) - DEV investigate what we have done for other stages

UNHAPPY PATH 😿

[x] If 1 of 2 COE (DECLINED), display red banner and red bar (in enrolment)
[x] If 2 of 2 COE (DECLINED), display red bar (in completed), 2 green banners, 1 red banner, and hide waiting banner

Completed (for reassessments)
UNHAPPY PATH 😿
Follow the same "pattern" as above for original assessment (e.g. waiting, success, decline banners)

Completed (for reassessments) - new ticket

appeal, scholastic standing

Scenario: Application was in completed stage, but then Student requests a change and triggers a reassessment

[ ] If student submits change request, display orange bar (w/ warning icon), orange banner, waiting banner
[ ] If student change request APPROVED, display green bar bar (w/ check icon), green banner, waiting banner
[ ] If student change request DENIED, display red bar (w/ alert icon), red banner, hide waiting banner

Scenario: Application was in completed stage, but then School requests to change offering dates

[ ] If offering request is approved by the ministry, trigger NEW ASSESSMENT, display a green banner, green bar (w/ check icon), waiting banner
[ ] If request is IN PROGRESS or DECLINED, no UI is required to display

Scenario: Application was in completed stage, but school reports scholastic standing

[ ] If school reports student (switched FT/PT, withdrawal, or early completion) - trigger NEW ASSESSMENT, display a green banner, green bar (w/ check icon), waiting banner
[ ] If school reports student (unsuccessful completion) - NO reassessment required, display red banner, red bar (w/ alert icon), hide waiting banner

UNKNOWNS
?? - Can we have 1 COE approved and 1 COE declined (Need to consult with business)
?? - More than 2 COEs (Need to consult with business)

Application progress bar scenarios:
---------------Enrolment---------------
Application in enrolment status with 1 enrolment waiting
Application in enrolment status with 2 enrolements waiting
Application in enrolment status with first enrolment declined
Application in cancelled status:<PHONE_NUMBER>
-------------Completed---------------------------
Application with 1 enrolment waiting for ecert to be sent
Application with 1 enrolment and e-cert sent
Application with 2 enrolments and first enrolment confirmed
Application with 2 enrolments and first enrolment confirmed and first payment sent
Application with 2 enrolments and both the enrolments confirmed and first payment sent
Application with 2 enrolment and both the enrolment confirmed and botht the payment sent
Application with 2 enrolment and second enrolment declined


As a player, I want to be able to walk through walls so that I can see what the inside of a block looks like.

Addressed by https://github.com/WSU-CEG-6110-4410/ADAD-Craft/pull/41


Update VS Code for Runtime Analysis Findings Pages

Fixes #520
This PR uses webviews that are available from this PR
Overview
This PR adds webviews to the VS Code extension that provide information about findings. There are three main changes:

The Runtime Analysis tree view is now organized:

There is a Findings Overview page:

There is a Finding Details page for each finding:

Developing Locally

Build this branch of appmap-js locally.
a. git clone https://github.com/getappmap/appmap-js.git.
b. cd appmap-js.
c. git checkout analysis-findings.
d. yarn.
e. yarn build.
Checkout this branch of vscode-appland.
Add this to the bottom of you package.json file in vscode-appland, replacing YOUR_PATH with the path to appmap-js on your machine::

"resolutions": {
    "@appland/components": "portal:<YOUR_PATH>/appmap-js/packages/components",
    "@appland/diagrams": "portal:<YOUR_PATH>/appmap-js/packages/diagrams",
    "@appland/models": "portal:<YOUR_PATH>/appmap-js/packages/models",
    "@appland/openapi": "portal:<YOUR_PATH>/appmap-js/packages/openapi",
    "@appland/scanner": "portal:<YOUR_PATH>/appmap-js/packages/scanner"
  }

Run yarn from the root of vscode-appland.
Run yarn watch from the root of vscode-appland.
Open vscode-appland in VS Code and launch the debugger extension host (press F5 or click the Run menu and then click Start Debugging).

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

v0.56.0
GitHub release

Your semantic-release bot :package::rocket:


Update Readme for NHD

Update Readme for NHD

@yegor256 please, pay attention to this pull request

Job gh:yegor256/jpeek#49 is in scope.

Codecov Report

Merging #49 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #49   +/-   ##
=========================================
  Coverage     90.32%   90.32%
  Complexity      192      192
=========================================
  Files            27       27
  Lines           775      775
  Branches         85       85
=========================================
  Hits            700      700
  Misses           58       58
  Partials         17       17

Continue to review full report at Codecov.

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

@memoyil thanks!


App fails to launch in offline Mode

Version used : 1.30.1
Scenario 1: App fails to launch in offline mode[extension enabled/disabled].
Scenario 2: After launching an instance in online mode, again going back to offline mode, app fails to create new instance from start menu, taskbar or from the .exe location itself. Works again if toggled back to online, even without reloading the opened instance.
Scenario 3: Even after 'open with code'  for file and directory' mode is being setup, app fails to launch an instance in offline mode.
scenario 4: power shell 'code .' feature while offline, is also failing with error:
dns.js:246     this._handle = new ChannelWrap();                    ^ Error: EFILE     at new Resolver (dns.js:246:20)     at dns.js:377:25     at dns.js:431:3     at NativeModule.compile (bootstrap_node.js:606:7)     at NativeModule.require (bootstrap_node.js:550:18)     at net.js:45:13     at net.js:1730:3     at NativeModule.compile (bootstrap_node.js:606:7)     at NativeModule.require (bootstrap_node.js:550:18)     at internal/child_process.js:6:13
otherwise works fine in online mode.
Hope this helps

Dulicate of #7570

/duplicate of #7570


Add signatures with message attached

Add sign(byte[] msg, byte[] privateKey) and verify(byte[] signature, byte[] publicKey) methods. Those will be used on signatures which have the data attached to them.
Useful thread: http://bouncy-castle.1462172.n4.nabble.com/Add-signed-content-to-detached-signatures-td1467150.html#a3387511. However, the solution proposed here uses deprecated methods.

These functions should be the equivalent of the "combined" functions of libsodium.
https://libsodium.gitbook.io/doc/public-key_cryptography/public-key_signatures#combined-mode


[vcpkg] add x64-osx-release community triplet

parallel of #22120 for osx
again, this would be very convenient to simplify third party CI pipelines and make them run on vcpkg master repo

Thanks for the community triplet.


fix URL to doc page

URL is case sensitive and is redirected to code.facebook.com instead.

duplicate PR.


RuntimeWarning

Hi, when running staramr with the settings staramr search --pointfinder-organism salmonella -o starout dir/*.fasta
I got the error below. Please advice and thanks
apps/Python/Python-3.5/lib/python3.5/site-packages/numpy/core/_methods.py:26: RuntimeWarning: invalid value encountered in reduce return umr_maximum(a, axis, None, out, keepdims)

Hello @jotes35. Do you happen to have the input files you were using when that warning occurred? Or, was there other messages around that warning message?
Based on some searches, it seems like this warning is generated due to empty/NA values turning up when trying to find the maximum of a list of numbers, which are unexpected (https://github.com/numpy/numpy/issues/11029). Without having more details, though, it's difficult to know what is triggering this.


Scrollview has bad visibility check

When playing around with scrollview to understand it and later try to implement #74 , i stumbled across an issue:
The visibility is only checked by the top left corner (at least thats what i think)
Example:
At the top:

Then moving it just a little bit down and the green bar disappears:

this is recognizable trough the whole scrollview example

3rd issue = 3rd times the charm 😅

This even gets worse at the bottom example:

where it just overrenderes white

Yep you are quite right. I accidentally introduced this bug but it's fixed in #302.

Oh Good! :D

Is this fixed now? I currently have no computer available to check, @geom3trik does the Scrollview example work now?

Yes, this is now fixed.


Operator

change the image tensor read mode.

Codecov Report

Merging #100 (04c4880) into main (9c5a841) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #100   +/-   ##
=======================================
  Coverage   82.64%   82.64%
=======================================
  Files          61       61
  Lines        1999     1999
  Branches      170      170
=======================================
  Hits         1652     1652
  Misses        285      285
  Partials       62       62

Impacted Files
Coverage Δ

...ators/pytorch_cnn_operator/pytorch_cnn_operator.py
92.85% <100.00%> (ø)

...owhee/tests/operators/test_pytorch_cnn_operator.py
90.90% <100.00%> (ø)

Continue to review full report at Codecov.

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


TLS issue on init after upgrade to Homeassistant 2024.2.0

Describe the bug
Get the below error on initialization after upgrade to current version of Homeassistant (2024.2.0);
A clear and concise description of what the bug is.
File "/usr/local/lib/python3.12/site-packages/aioxmpp/security_layer.py", line 230, in check_x509_hostname
ssl.match_hostname(cert_structure, hostname)
^^^^^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'match_hostname'
2024-02-08 13:18:04.170 INFO (MainThread) [custom_components.bosch] Setting up Bosch component version 0.24.6.
2024-02-08 13:18:04.171 DEBUG (MainThread) [custom_components.bosch] Initializing Bosch integration.
2024-02-08 13:18:04.171 DEBUG (MainThread) [custom_components.bosch] Checking connection to Bosch gateway as ########.
2024-02-08 13:18:04.337 ERROR (MainThread) [homeassistant] Error doing job: Fatal error on tls handshake
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aioopenssl/init.py", line 355, in _tls_do_handshake
self._tls_conn.do_handshake()
File "/usr/local/lib/python3.12/site-packages/OpenSSL/SSL.py", line 2202, in do_handshake
self._raise_ssl_error(self._ssl, result)
File "/usr/local/lib/python3.12/site-packages/OpenSSL/SSL.py", line 1802, in _raise_ssl_error
self._context._verify_helper.raise_if_problem()
File "/usr/local/lib/python3.12/site-packages/OpenSSL/SSL.py", line 456, in raise_if_problem
raise self._problems.pop(0)
File "/usr/local/lib/python3.12/site-packages/OpenSSL/SSL.py", line 481, in wrapper
result = callback(
^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aioxmpp/security_layer.py", line 300, in verify_callback
if not check_x509_hostname(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aioxmpp/security_layer.py", line 230, in check_x509_hostname
ssl.match_hostname(cert_structure, hostname)
^^^^^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'match_hostname'
2024-02-08 13:18:04.341 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback None()
To Reproduce
Steps to reproduce the behavior:

Go to integrations, find the bosch integration, click reload
Check the logs and you'll find what I inserted above

Expected behavior
I expect the integration to initialize like it did before the upgrade
Screenshots
NA
Version

HA version? 2024.2.0
HA Bosch component version? 0.24.6
Python Bosch HTTP client version? Not sure, I use the docker container for homeassistant ghcr.io/home-assistant/home-assistant:stable

** Debug SCAN **
** IMPORTANT **
Go to Developer tools in Home Assistant, choose Service tab and choose bosch.debug_scan
Download file to your computer and upload it somewhere eg. https://jsonblob.com/
----> I don't seem to have this service
Additional context
Add any other context about the problem here.

I removed the component, since than I cannot add it again, I always get "Unknown error occurred" when I give the credentials (serial, access, password)

I also have this error since the upgrade, following this topic for a fix.

In Python 3.12 function match_hostname() was removed. You have to downgrade until update is released of aioxmpp library.

There won't be new release any time soon. According to aioxmpp repo:
Notice: As of January 14th, 2024, aioxmpp entered a new mode of operation, which hasn't been fully documented yet elsewhere. There will be no further releases, until there are more contributors who stick around and care for the maintenance and quality of the code. Maintaining it alone at the previous quality level is something I simply cannot deliver anymore.

Too bad, i think that the error that i'm experiencing on #385 can be also related to the aioxmpp library...

There won't be new release any time soon. According to aioxmpp repo:
Notice: As of January 14th, 2024, aioxmpp entered a new mode of operation, which hasn't been fully documented yet elsewhere. There will be no further releases, until there are more contributors who stick around and care for the maintenance and quality of the code. Maintaining it alone at the previous quality level is something I simply cannot deliver anymore.

Same issue. Downgraded back to 2024.1 while waiting for update *fingers crossed

I don't have any knowledge of Python programming, but I'm trying to solve this issue using ChatGPT (3.5)
As pszafer mentioned, the aioxmpp library is not compatible with Python 3.12, so we need to adapt the code of the component to this version.
First of all you need access to your system as root, I use hass os so I follow the steps described in this dev guide
The component runs in homeassistant container in my case. To access it (once connected to SSH as root), I used:
docker exec -it homeassistant bash
Once inside container terminal, locate the route of the  package:
pip show aioxmpp
The file that contains the match_hostname function is security_layer.py so edit with vi but make a backup just in case
cd /usr/local/lib/python3.12/site-packages/aioxmpp
cp security_layer.py security_layer.py.bak
vi security_layer.py
This is the code generated by ChatGPT:

Add the import at the begining of the script

import re

Replace the definition of check_x509_hostname

def check_x509_hostname(x509, hostname):
    """
    Check whether the given :class:`OpenSSL.crypto.X509` certificate `x509`
    matches the given `hostname`.

    Return :data:`True` if the name matches and :data:`False` otherwise.
    """

    cert_structure = extract_python_dict_from_x509(x509)
    if 'subjectAltName' not in cert_structure:
        return False

    for key, value in cert_structure['subjectAltName']:
        if key == 'DNS' and _match_hostname(value, hostname):
            return True

    return False

Add this two functions

def _match_hostname(cert_hostname, hostname):
    if not cert_hostname:
        return False

    # Exact match
    if cert_hostname == hostname:
        return True

    # Wildcard match
    if cert_hostname.startswith("*."):
        cert_hostname = cert_hostname[2:]
        return (
            hostname.count(".") > cert_hostname.count(".")
            and hostname.endswith(cert_hostname)
            and hostname.split(".")[0] != cert_hostname.split(".")[0]
        )

    # IPv4 literal address match
    if re.match(r"\d+\.\d+\.\d+\.\d+$", cert_hostname):
        return hostname == cert_hostname

    # IPv6 literal address match
    if ":" in cert_hostname:
        # Normalize IPv6 address
        cert_hostname = _normalize_ipv6(cert_hostname)
        return hostname == cert_hostname

    return False

def _normalize_ipv6(address):
    """
    Normalize IPv6 address according to RFC 5952.
    """
    parts = address.split(":")
    if "" in parts:
        empty_index = parts.index("")
        parts = parts[:empty_index] + ["0"] * (8 - len(parts)) + parts[empty_index + 1:]
    else:
        parts += ["0"] * (8 - len(parts))
    return ":".join(parts)

I don't know if the code is correct with my limited knowledge but its running again. Please, devs , check if this is ok.

I don't have any knowledge of Python programming, but I'm trying to solve this issue using ChatGPT (3.5)
As pszafer mentioned, the aioxmpp library is not compatible with Python 3.12, so we need to adapt the code of the component to this version.
First of all you need access to your system as root, I use hass os so I follow the steps described in this dev guide
The component runs in homeassistant container in my case. To access it (once connected to SSH as root), I used:
docker exec -it homeassistant bash
Once inside container terminal, locate the route of the package:
pip show aioxmpp
The file that contains the match_hostname function is security_layer.py so edit with vi but make a backup just in case
cd /usr/local/lib/python3.12/site-packages/aioxmpp cp security_layer.py security_layer.py.bak vi security_layer.py
This is the code generated by ChatGPT:
1. Add the import at the begining of the script

import re

2. Replace the definition of check_x509_hostname

def check_x509_hostname(x509, hostname):
    """
    Check whether the given :class:`OpenSSL.crypto.X509` certificate `x509`
    matches the given `hostname`.

    Return :data:`True` if the name matches and :data:`False` otherwise.
    """

    cert_structure = extract_python_dict_from_x509(x509)
    if 'subjectAltName' not in cert_structure:
        return False

    for key, value in cert_structure['subjectAltName']:
        if key == 'DNS' and _match_hostname(value, hostname):
            return True

    return False

3. Add this two functions

def _match_hostname(cert_hostname, hostname):
    if not cert_hostname:
        return False

    # Exact match
    if cert_hostname == hostname:
        return True

    # Wildcard match
    if cert_hostname.startswith("*."):
        cert_hostname = cert_hostname[2:]
        return (
            hostname.count(".") > cert_hostname.count(".")
            and hostname.endswith(cert_hostname)
            and hostname.split(".")[0] != cert_hostname.split(".")[0]
        )

    # IPv4 literal address match
    if re.match(r"\d+\.\d+\.\d+\.\d+$", cert_hostname):
        return hostname == cert_hostname

    # IPv6 literal address match
    if ":" in cert_hostname:
        # Normalize IPv6 address
        cert_hostname = _normalize_ipv6(cert_hostname)
        return hostname == cert_hostname

    return False

def _normalize_ipv6(address):
    """
    Normalize IPv6 address according to RFC 5952.
    """
    parts = address.split(":")
    if "" in parts:
        empty_index = parts.index("")
        parts = parts[:empty_index] + ["0"] * (8 - len(parts)) + parts[empty_index + 1:]
    else:
        parts += ["0"] * (8 - len(parts))
    return ":".join(parts)

I don't know if the code is correct with my limited knowledge but its running again. Please, devs , check if this is ok.

Wow, when I read ChatGPT I had low expectations, but this actually works! Even if the code is buggy (looks good to me though) I guess the only impact is that it's open to a man in the middle attach, which I am not too worried about for this application. Would be nice if someone with actual coding skills considers this fix. For now, I'm happy to be on this version of HomeAssistant, even if I have to 'patch' with every update.
Thanks!

FYI You have to patch after every restart of HA.

FYI You have to patch after every restart of HA.

Is this also the case when running HA locally on a machine instead of in a docker container? I guess these fixes aren't persistent but I'm not sure if this also is the case for local installs.

FYI You have to patch after every restart of HA.

Yeah, after every update of homeassistant

What is the current plan?
aioxmpp seems to be dead in the long term.
Is slixmpp perhaps a suitable replacement? There is at least current activity in the repo, and the last release was this month.
I actually wanted to try swapping the lib myself in order to create a pr if necessary, but I'm currently failing to get the depedencies with pip without any errors using Python 3.12 -.-

The plan is to rewrite xmpp part of the lib to use Slixmpp, but for now I failed to make it work.
It needs to be written in HTTP style, GET -> RESPONSE or PUT -> RESPONSE and make context, together with some sort of queue, so it won't push next message until last one is received or abandoned.

I am very sorry for posting when the thread is closed.
I would just like to know if the problem occurs when I don't use xmpp connect, but HTTP.
Thanks

This is not closed, right?

Question to the developpers @pszafer and @depuytnl.
Would it be an idea to create a version with the workaround of @depuytnl so we are able to upgrade our HA environment to version 2024.2 and above until @pszafer is ready with the "new" compatible version?
@pszafer I'm not pushing you because I know programming and testing takes a lot of time, but any idea when we can expect the updated version  is it weeks, months or........?

It's not possible as it is system package.
Weeks I guess, I'm injured and unfortunately unable to work for a few weeks...
https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/issues/390#issuecomment-1965056042

I am very sorry for posting when the thread is closed. I would just like to know if the problem occurs when I don't use xmpp connect, but HTTP. Thanks

I used xmpp (why I'm not sure) and switched to http and it now workes fine.
So if you guys are using xmpp but have local access to your bosch, switch to local http instead.

I am very sorry for posting when the thread is closed. I would just like to know if the problem occurs when I don't use xmpp connect, but HTTP. Thanks

I used xmpp (why I'm not sure) and switched to http and it now workes fine.
So if you guys are using xmpp but have local access to your bosch, switch to local http instead.

Can you maybe elaborate how to switch from xmpp to http? Does this need to be done in the Nefit Easy app? Also, can we simply update the HA core after this change or do we also need to change something in HA itself?
Thanks in advance! :)

What thermostat you are using ?
I have the TC100 from Nefit ..

I am very sorry for posting when the thread is closed. I would just like to know if the problem occurs when I don't use xmpp connect, but HTTP. Thanks

I used xmpp (why I'm not sure) and switched to http and it now workes fine.

So if you guys are using xmpp but have local access to your bosch, switch to local http instead.

Can you maybe elaborate how to switch from xmpp to http? Does this need to be done in the Nefit Easy app? Also, can we simply update the HA core after this change or do we also need to change something in HA itself?
Because I'm not sure how or where I switch from xmpp to http, but I may be new to this kind of procedures.
Thanks in advance! :)

I didn't know how to switch either :) So instead I uninstalled the Bosch integration and then reinstalled it again with http settings instead of xmpp. Somewhere in this install process you can choose between xmpp and http. If your heating system is on the same network as your HA you should be able to do this. I think the http option is only available for IVT systems.

I am very sorry for posting when the thread is closed. I would just like to know if the problem occurs when I don't use xmpp connect, but HTTP. Thanks

I used xmpp (why I'm not sure) and switched to http and it now workes fine.

So if you guys are using xmpp but have local access to your bosch, switch to local http instead.

Can you maybe elaborate how to switch from xmpp to http? Does this need to be done in the Nefit Easy app? Also, can we simply update the HA core after this change or do we also need to change something in HA itself?
Because I'm not sure how or where I switch from xmpp to http, but I may be new to this kind of procedures.
Thanks in advance! :)

I didn't know how to switch either :) So instead I uninstalled the Bosch integration and then reinstalled it again with http settings instead of xmpp. Somewhere in this install process you can choose between xmpp and http. If your heating system is on the same network as your HA you should be able to do this. I think the http option is only available for IVT systems. The HA version can most likely be changed at any time.

Thanks for the information. I use the CT100 and when configuring the integration I'm automatically on a page to set up the credentials and it uses XMPP. No option to choose between HTTP or XMPP, so maybe it depends on the thermostat? This was for the  case for Easycontrol and Nefit when setting up the configuration.

I am very sorry for posting when the thread is closed. I would just like to know if the problem occurs when I don't use xmpp connect, but HTTP. Thanks

I used xmpp (why I'm not sure) and switched to http and it now workes fine.

So if you guys are using xmpp but have local access to your bosch, switch to local http instead.

Can you maybe elaborate how to switch from xmpp to http? Does this need to be done in the Nefit Easy app? Also, can we simply update the HA core after this change or do we also need to change something in HA itself?

Because I'm not sure how or where I switch from xmpp to http, but I may be new to this kind of procedures.

Thanks in advance! :)

I didn't know how to switch either :) So instead I uninstalled the Bosch integration and then reinstalled it again with http settings instead of xmpp. Somewhere in this install process you can choose between xmpp and http. If your heating system is on the same network as your HA you should be able to do this. I think the http option is only available for IVT systems. The HA version can most likely be changed at any time.

Thanks for the information. I use the CT100 and when configuring the integration I'm automatically on a page to set up the credentials and it uses XMPP. No option to choose between HTTP or XMPP, so maybe it depends on the thermostat? This was for the  case for Easycontrol and Nefit when setting up the configuration.

Only IVT option supports HTTP.

In the step where you choose device type I choose IVT. Probably the reason why you can't choose http and I can in the next step.

I can confirm that IVT via HTTP is working for the Bosch/Junkers MB LANi module via the local network...

Does not work for the Junkers CT100 :(

FYI, although not fixed, I applied the changes suggested by KarlosHYD (ChatGPT) and it works for me. To ensure it survives updates I have updated the file, which I mount in the container and then execute a copy after having updated the container.
docker exec homeassistant sh fixsecurity.sh && docker restart homeassistant #run nefit easy security fix
where fixsecurity contains:
cp security_layer.py /usr/local/lib/python3.12/site-packages/aioxmpp/security_layer.py
Not a great fix, but though it might be helpful for some

Can anyone tell me how to apply this fix when running HA OS on a pi?

Please, test new release and let me know if it is working https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/releases/tag/v0.25.0-dev.3
I wasn't able to test everything, so I really want your feedback

Works flawless with lastest beta release with HA Core 2024.2.2 using IVT (Rc300)
Have not tested with 2024.3 yet. Thank you so much ❤🤟

Works for me @2024.3  only getting a "Using slower stringprep, consider compiling the faster cython/libidn one." warning

Warning is normal, HA doesn't ship faster method.

Beta working for me with my Bosch Worcester Wave boiler using NEFIT set up.

Stopped working @2024.3 after approximately 6,5h:

no errors from the module during this period
but an other bosch related error in another module:

`Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: homeassistant
Quelle: custom_components/bosch/init.py:449
Integration: Bosch thermostat (Dokumentation, Probleme)
Erstmals aufgetreten: 05:14:28 (1 Vorkommnisse)
Zuletzt protokolliert: 05:14:28
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/bosch/init.py", line 449, in firmware_refresh
await self.gateway.check_firmware_validity()
File "/usr/local/lib/python3.12/site-packages/bosch_thermostat_client/gateway/base.py", line 359, in check_firmware_validity
fw = await self._connector.get(self._db.get(BASE_FIRMWARE_VERSION))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/bosch_thermostat_client/connectors/xmpp.py", line 115, in get
raise DeviceException(f"Error requesting data from {path}")
bosch_thermostat_client.exceptions.DeviceException: Error requesting data from /gateway/versionFirmware
 Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: bosch_thermostat_client.sensors.sensor
Quelle: custom_components/bosch/init.py:412
Integration: Bosch thermostat (Dokumentation, Probleme)
Erstmals aufgetreten: 03:32:29 (770 Vorkommnisse)
Zuletzt protokolliert: 08:39:52
Can't update data for Outdoor temperature. Trying uri: /system/sensors/temperatures/outdoor_t1. Error message: Error requesting data from /system/sensors/temperatures/outdoor_t1
Can't update data for Actual supply temp. Trying uri: /system/sensors/temperatures/supply_t1. Error message: Error requesting data from /system/sensors/temperatures/supply_t1
Can't update data for Return temp. Trying uri: /system/sensors/temperatures/return. Error message: Error requesting data from /system/sensors/temperatures/return
Can't update data for Actual modulation. Trying uri: /heatSources/actualModulation. Error message: Error requesting data from /heatSources/actualModulation
Can't update data for Actual supply temperature for HC. Trying uri: /heatingCircuits/hc1/actualSupplyTemperature. Error message: Error requesting data from /heatingCircuits/hc1/actualSupplyTemperature`

Hi Pawel,
The latest beta release is working for me too!
IVT RC300/RC310/Nefit Moduline 3000
HA Core: 2024.3.0
HA Supervisor: 2024.02.1
Sent a small thank you as appreciation for your time and expertice on this project.
Pat

Hi Pawel,
I'm new in HA, how can I upgrade it to 0.25.0-den.3 if I have HA version 2024.3.0. Which tool I may use for it :-) Or is available this version like ease upgrade installation?  But if try add new device via device type=IVT, Bosch IVT Protocol = HTTP, IP adresa from router (i tried use ping to this adres and work well) token and password from IVT AIR-X display menu, after use button "send" is proces finished, but still is there error Unknown model.

Hello Pawel,
I tested and is working like charm!
Device: Buderus CT100 (NEFIT XMPP )
Component: v0.25.0-dev.3
HA Core: 2024.3.0
HA Supervisor: 2024.02.1
OS: 12.0
I send you a small contrib 🙇

Thanks! I'll wait one more day and release stable version.

CT100 via NEFIT XMPP working perfectly again :)

I had to deactivate the plugin completely, no one else had any problems after a few hours?
Compress 7001 IVT xmpp

CT100 Belgium seems to work like a charm again, however I do see the following errors in the log:

Logger: homeassistant.util.logging
Source: util/logging.py:102
First occurred: 8 March 2024 at 15:23:37 (3847 occurrences)
Last logged: 07:30:39

Exception in async_update when dispatching 'bosch_sensor_update': () Traceback (most recent call last): File "/config/custom_components/bosch/sensor/base.py", line 120, in async_update self._state = None if self._attr_state_class == "measurement" else self._bosch_object.state ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 345, in _getter return getattr(o, private_attr_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'BoschSensor' object has no attribute '__attr_state_class'. Did you mean: '_attr_state_class'?

Logger: homeassistant.helpers.entity
Source: helpers/entity.py:945
First occurred: 8 March 2024 at 15:24:00 (7694 occurrences)
Last logged: 07:30:38

Update for sensor.notifications fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 945, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1262, in async_device_update
await self.async_update()
File "/config/custom_components/bosch/sensor/base.py", line 120, in async_update
self._state = None if self._attr_state_class == "measurement" else self._bosch_object.state
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 345, in _getter
return getattr(o, private_attr_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'BoschSensor' object has no attribute '__attr_state_class'. Did you mean: '_attr_state_class'?

Logger: bosch_thermostat_client.sensors.sensor
Source: custom_components/bosch/init.py:412
integration: Bosch thermostat
First occurred: 9 March 2024 at 16:14:40 (1 occurrences)
Last logged: 9 March 2024 at 16:14:40

Can't update data for Total year usage. Trying uri: /ecus/rrc/recordings/yearTotal. Error message: Error requesting data from /ecus/rrc/recordings/yearTotal

Logger: slixmpp.stringprep
Source: custom_components/bosch/init.py:12
integration: Bosch thermostat (documentation, issues)
First occurred: 8 March 2024 at 15:23:25 (1 occurrences)
Last logged: 8 March 2024 at 15:23:25

Using slower stringprep, consider compiling the faster cython/libidn one.

Still going strong!

v0.25.0-dev.3  works for me with Control Connect

You can also try https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/pull/396 against teh default branch which works with aioxmpp

You can also try #396 against the default branch which works with aioxmpp

Interesting fix. Does the dev.3 version not work for you? I'd say that replacing an unmaintained outdated component is the better route?

It probably is. I made the fix without being aware of the other branch. Nevertheless this could function as an in between solution while the other one stabalizes.

fixed in dev version https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/releases/tag/v0.25.0-dev.6
I will release stable, when I got confirmation that everything is working.

Installed dev 7, and last 2023.3.3, all working perfectly on two TC100! Thanks!


Problem downloading MapTile: /12/2299/1442 HTTP response: Forbidden

Hi all.
I`ve got a the problem mentioned in the title.
It wont load all the tiles on the map.

Hi guys,
We are having the same issue right now.

Hello, I'm having the same issue now
08-11 12:48:00.197 W/OsmDroid: Problem downloading MapTile: /10/586/371 HTTP response: Forbidden
08-11 12:48:00.207 W/OsmDroid: Problem downloading MapTile: /10/585/371 HTTP response: Forbidden
08-11 12:48:00.477 W/OsmDroid: Problem downloading MapTile: /10/584/370 HTTP response: Forbidden
08-11 12:48:00.647 W/OsmDroid: Problem downloading MapTile: /10/585/370 HTTP response: Forbidden

+1

It's possible that the sample application's and default value for
osmdroid's aar user agent have been banned. I was noticing it too. Try
changing your user agent value
On Thu, Aug 11, 2016 at 5:57 AM, Emil Dancescu<EMAIL_ADDRESS>wrote:

+1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/osmdroid/osmdroid/issues/366#issuecomment-239119109,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB4kGXHaheVEC0Ax33CbEpBlxmPhkZsTks5qevH-gaJpZM4Jh6ih
.

Yup, that's it.
Stick this your application before loading the map
OpenStreetMapTileProviderConstants.setUserAgentValue(BuildConfig.APPLICATION_ID);

That means that i should update 6 apps that are allready in production... Awesome...

Are you sure that there isn't other solution to this problem ?

Spyhunter99 this fixed for me. Thanks for the answer!

@catalin2402 sorry for the inconvenience. It's been in the api since 5.0 and in the wiki shortly afterwards. I'm not sure it was ever read only but it's a critical thing.

Its' working again, without any change in my app.
Policy on Mapnik server has probably been changed again.

For details see

http://wiki.openstreetmap.org/wiki/Blocked_applications
http://wiki.openstreetmap.org/wiki/Tile_usage_policy

FYI: Since this commit https://github.com/openstreetmap/chef/commit/bb8fbb886ef77d0e23f675966342c10d1d603e00 we have re-enabled the block if a proper User-Agent is not set.

Even I faced this issue after some googling I came across a solution, we need to set User agent value in configuration. Please refer to this link for furthermore clarification https://github.com/osmdroid/osmdroid/wiki/Important-notes-on-using-osmdroid-in-your-app


KiCost with octopart doesn't use/priritize distributor# over manf# for scrape

Issue / Problem report
As described in the docs it should be possible to speficy subparts with the "part1;42:part2" to get 1pcs of part1 and 42 pcs of part2 into the BOM output. This does not seem to work properly. I get a row matching the number of parts, but the pcs are not respected.
I added the follwoing 455-1700-1-ND;455-1197-ND;10:455-1130-1-ND to digikey#.
n.
I use the octopart branch of kicost from yesterday. I am not sure how to check for the latest version with pip. KiCost 0.1.47, for future reference I guess it is corresponding to 96be627.
Commandline used:
kicost -i subpartbom.xml --overwrite --include digikey farnell --debug
I get no errors. I have attacehd the input xml and the resulting xlsx.
subpartbom.txt
subpartbom.xlsx
Looking at the debug output it do look like it parses the digikey part and qty correctly, but it does not seem like it is used in the query to octopart.
collapsed_refs =  'J2#3'
fields =  {'digikey#': '455-1130-1-ND',
 'digikey#_qty': '10',
 'footprint': 'None',
 'libpart': 'test:lala',
 'manf': '',
 'manf#': 'S10B-ZR-SM4A-TF(LF)(SN) ',
 'value': 'MY_CONN - p3/3'}
info_dist =  {'digikey': {}, 'farnell': {}, 'local_template': {}}
manfcat_codes =  {'digikey#': {'455-1130-1-ND'},
 'farnell#': {None},
 'local_template#': {None},
 'manf#': {'S10B-ZR-SM4A-TF(LF)(SN) '}}
part_num =  {'digikey': '455-1700-1-ND', 'farnell': '2399333', 'local_template': ''}
price_tiers =  {'digikey': {0: 0.0,
             1: 1.01,
             10: 0.889,
             100: 0.7672,
             500: 0.6277,
             1000: 0.50724,
             2000: 0.47554,
             3000: 0.45969000000000004,
             5000: 0.44384,
             10000: 0.42165},
 'farnell': {0: 0.0,
             1: 5.745261,
             30: 5.416289000000001,
             80: 5.0755680000000005,
             250: 4.746596,
             500: 4.382377},
 'local_template': {}}
qty_avail =  {'digikey': 2599, 'farnell': 802, 'local_template': None}
qty_increment =  {'digikey': 9, 'farnell': 29, 'local_template': None}
refs =  ['J2#3']
url =  {'digikey': 'https://octopart.com/click/track?ak=96df69ba&sig=068f204&sid=459&ppid=248864&vpid=1873498&ct=offers',
 'farnell': 'https://octopart.com/click/track?ak=96df69ba&sig=0fed374&sid=819&ppid=248864&vpid=141950469&ct=offers',
 'local_template': ''}

It looks like the part_num variable uses only the first part always. And the quantity is as of the last for all in the spreadsheet at least.

This is a potential duplicate of https://github.com/xesscorp/KiCost/issues/266

You are using:
digikey# = "455-1700-1-ND;455-1197-ND;10:455-1130-1-ND"
manf# = "S10B-ZR-SM4A-TF(LF)(SN)"
This create some ambiguous interpretation. Is this part composed by one subpart as manf# or by 3 as digikey#. You should leave manf# blank or specify the association order between manf#<->digikey#.
As far I search your parts:
digikey# = "455-1700-1-ND;455-1197-ND;10:455-1130-1-ND"
manf# = "S10B-ZR-SM4A-TF(LF)(SN);;"
So:
digikey = ["455-1700-1-ND", "455-1197-ND", "10:455-1130-1-ND"]
manfCode = ["S10B-ZR-SM4A-TF(LF)(SN)", "", ""]
This means, the manf# is associated with the first digikey code and I did type correspondence codes to the other ones.
Re-open if the issue persists.

Hmm, ok. I would have expected the digikey# to override the manf# always.
May I suggest kicost to throw a warning if there is ambiguity? Or handle this in some more user friendly way.
I tried to remove the manf# field and sure enough it shows all the parts in the list, but it does not use the correct qty. I would expect it to say 10 for the third part when the board number is 1.

A was review the code and there two issues here:

The old KiCost (with scrape module) prioritize the distributor# over manf# to remove ambiguity.
E.g: 5001 is a manufacture code of a pin, but we have to look for 36-5001-ND. But 5001 works on Mouser and others.

I check and there isn't a code that do that in the release API version.

I change the issue title here to deal withe the this. Could you create a other issue for this suggested warning? (It will better for me to track).

@hildogjr yes, I can do that. But I just wanted to test your change, but it seems like you committed it on master. Is it correct that there is no octopart branch anymore?
I then tried to install with
pip install -U git+https://github.com/xesscorp/KiCost.git@master --user
But the spreadsheet does not contain any parts now. :S

Yes, octopart became the oficial release and scrape module is just kept as history/backup

Not working in full test branch. It will need for coding.

Try now. I changed some parameters on the installer (we I fix some installer documentation in the branch) and the octopart for others files test.

Mmm, why? I think the install went fine.
On e6b5a87ead990ed7b4b8db68dd84d4393a0637c3 I am back to a state similar to before my bug reprot. That is it uses the same part for all. And I have the manf# field populated as well. Which bugs are you expecting to be fixed by now?

I fixed the issue related with the Octopart API, but you still have to use semicolon and "blank codes":
digikey# = "455-1700-1-ND;455-1197-ND;10:455-1130-1-ND"
manf# = "S10B-ZR-SM4A-TF(LF)(SN);;"
because KiCost correlate:
"455-1700-1-ND" <-> "S10B-ZR-SM4A-TF(LF)(SN)"
"455-1197-ND" <-> "" So prioritize digikey#
"10:455-1130-1-ND" <-> ""
I tested with this modify version of your BOM.
subpartbom.xml.txt

Ok. I confirm that it will now search for all the parts, after I added the extra semicolons to the manf# to make "empty" parts there.

There is some other issues that I realize: the warning about the ;; would be good and the quantities are not ok in yout BoM (the actual script take the quantity of 'manf#' and not from 'digikey#').
If you agree, please open 2 issues to track these fix.


Support for NestJS v10

Had an issue to upgrade to NestJS 10
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@nestjs/common
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/nestjs-url-generator
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /Users/tumaini/.npm/_logs/2023-09-09T15_02_52_732Z-eresolve-report.txt

npm ERR!      /Users/tumaini/.npm/_logs/2023-09-09T15_02_52_732Z-debug-0.log

Add new release to support NestJS 10

Hey, any update on this ?


Typo "Github"→"GitHub"

https://learn.microsoft.com/en-us/python/api/overview/azure/sentinel?view=azure-python
https://github.com/MicrosoftDocs/azure-docs-sdk-python/blob/main/docs-ref-services/latest/sentinel-mgmt-index.md
#PingMSFTDocs

Learn Build status updates of commit e177fe5:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/latest/sentinel-mgmt-index.md
:warning:Warning
View (azure-python)
Details

docs-ref-services/latest/sentinel-mgmt-index.md

Line 0, Column 0: [Warning: h1-missing - See documentation] H1 is required. Use a single hash (#) followed by a space to create your top-level heading.
Line 1, Column 1: [Warning: ms-date-missing - See documentation] Missing required attribute: 'ms.date'. A freshness date is required for this content set. Add a date in format MM/DD/YYYY.
Line 1, Column 1: [Warning: ms-topic-missing - See documentation] Missing required attribute: 'ms.topic'. Add a valid value to indicate the article type.
Line 1, Column 1: [Warning: author-missing - See documentation] Missing required attribute: 'author'. Add the current author's GitHub ID.
Line 1, Column 1: [Warning: title-missing - See documentation] Missing required attribute: 'title'. Add a title string to show in search engine results.
Line 1, Column 1: [Warning: ms-author-missing - See documentation] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 1, Column 1: [Warning: ms-prod-or-service-missing - See documentation] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 1, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Virtual environment still refreshes DB

Even with the experimental option enabled, the DB is still being refreshed. (This was in a Django project, but that shouldn't make any difference.)

I'm not sure what to look for. The DB directory under the virtual env? An extra analyzer process? DB UI in environment window?
(I'm not seeing any of those for a virtual env in django project)

I was seeing an analyzer process and the UI in the environment window. Perhaps we've already fixed it and I was testing against the slightly older release we shipped today? I thought I fixed it much earlier than that...

I can't see any way this could have happened with the current code, so I'll close it and we can reopen if anyone spots it again.


Add composer

Add a composer.json file to allow installation from composer, and some other fixes to make it happier

:+1: for the composer json, so it can get added to the firegento repository


feat: Split plonk and honk tests

Description
With this PR, honk_tests and plonk_tests targets build without a composer wrapping a circuit constructor and composer helper. I verified this by temporarily deleting the composer files and rebuilding, but the composer files are still present place because other parts of Barretenberg still depend on them. Next step is to split the stdlib tests and then delete the old composers.
Along the way I deleted some unused (or declared but not defined) functions, did some renaming (some composers become circuit_constructor or builder; I leave a mix since a big renaming PR will have to be made later anyway), removed the honk dependency on plonk (very easy), and did other nice small bits of cleanup.
Checklist:

[x] I have reviewed my diff in github, line by line.
[x] Every change is related to the PR description.
[ ] I have linked this pull request to the issue(s) that it resolves.
[x] There are no unexpected formatting changes, superfluous debug logs, or commented-out code.
[x] There are no circuit changes, OR specifications in /markdown/specs have been updated.
[x] There are no circuit changes, OR a cryptographer has been assigned for review.
[ ] I've updated any terraform that needs updating (e.g. environment variables) for deployment.
[x] The branch has been rebased against the head of its merge target.
[x] I'm happy for the PR to be merged at the reviewer's next convenience.
[x] New functions, classes, etc. have been documented according to the doxygen comment format. Classes and structs must have @brief describing the intended functionality.
[x] If existing code has been modified, such documentation has been added or updated.

I don't understand why it's complaining about the conventional commit title.

I force re-ran it and everything seems ok

I don't understand why it's complaining about the conventional commit title.

I swear the action/github actions is just a bit buggy - I see PR's close and then suddenly their bad status propagates to another PR


Add comment sender name to Email notification

Got an email notification saying I have a new comment on one of my resources. The email includes the comment content but no sender's name. I had to login HydroShare to find it out.

Having something like the HipChat's email notification would be awesome.

@zhiyuli The fix is merged and deployed to dev. You can test on dev and close the issue if it is working as expected now.

@hyi I just tested it on dev and it worked well. I am closing this issue now. Thanks!


[BUG] Error while running npm run examples

When I run npm run examples, the following errors show up:

Can I get some help on this? Thank you!

Some arguments were switched. Should be fixed now.

Thank you very much for the quick fix!! I am still seeing the following TypeError

Would be great if i can get some help, as I really want to use this npm package in my project🙏🙏🙏

Could you tell me what version of node you are using?

v10.19.0

Just upgraded node to 12.14.1 and it works now!! Thank you very much!!!!

10.19.0 does not support flatMap.


[Proposal] restrict mujoco version for "mujoco environments" (v4+)

Proposal
mujoco v4 environments support: "2.1.5" <= mujoco.__version__ <= "2.3.3"
mujoco v5 environments (will) support: "2.3.3" <= mujoco.__version__
and it is a good long term solution to pin mujoco==2.3.3
and so a restriction should be added to prevent making a mujoco-v4 environment with an unsupported version of mujoco
e.g. gym.make("Hopper-v4")  # with mujoco==2.3.5
a possible implementation would be to add something like to all the v4 environments
if "2.1.5" <= mujoco.__version__ <= "2.3.3":
    generate_error....  # tell the user to `pip instal mujuco==2.3.3`

There may be a better way to implement this. (Perhaps in registration?)
Motivation
No response
Pitch
No response
Alternatives
generate a warning instead of an error
Additional context
No response
Checklist

[X] I have checked that there is no similar issue in the repo

Yes, for now, we have pinned the mujoco version for the CI to avoid this issue
But I think your plan is a good idea

We would have to skip CI for mujoco-v4 environments if an incompatible version of mujoco was installed, what would be the best way to do that?

An elegant way, not way. We have a mujoco_envs variable I believe we could modify or we could add a skipIf for certain environment id

issues has been fixed with: https://github.com/Farama-Foundation/Gymnasium/pull/589

hi, how to pin the mujoco to 2.3.3? just input pip install mujoco==2.3.3?

yes


Change "pass" references to "yield this"

I recently went to add an example to the join tutorial that required the functionality provided by pass, which led me to confront that pass was not currently documented. That led to the observation that yield this is functionally equivalent and not much more verbose, so we could make the language simpler by dropping pass. As a prerequisite to putting up the join docs PR, here I'm just switching over the references in the docs.

While the changes to the examples here are syntactically correct, @nwt spotted that the join example from #4403 that originally needed pass won't work with yield this. If I change it:
$ cat three-way-join.zed
from (
  file fruit.ndjson => sort flavor
  file people.ndjson => sort likes
) | inner join on flavor=likes eater:=name | sort name
| from (
  yield this
  file prices.ndjson => sort name
) | inner join on name=name price:=price

$ zq -I three-way-join.zed
zq: error parsing Zed in three-way-join.zed at line 6, column 9:
  yield this
    === ^ ===

Therefore @nwt and I agreed that we can move forward with keeping pass for now and perhaps look at making the parser changes down the road to standardize on yield this. Closing this PR.


replaced crypto/sha256 with github.com/minio/sha256-simd.

minio/sha256-simd is significantly faster than crypto/sha256 as it uses native processor primitives in assembly instead of a pure golang implementation. it supports both Intel and ARM, and will default to crypto/sha256 for AMD processors.
this change comes as large binary downloads, such as pas/srt, take a significantly long time to checksum, and this change will save large chunks of time when it comes to levering upstream tools such as pivnet-cli.
there were two stale references to the pivnet-resource in the sha256 and md5 implementations, those were updated to reference their formal implementations since the dependent libraries no longer exist.
Signed-off-by: Mike Lloyd<EMAIL_ADDRESS>

But... is there really a speedup?
Huge speed up in minio/sha256-simd is achieved by utilizing avx512 instructions (on intel processors). There are only a few cpus support that instruction.
When avx512 is not available, it will try to use avx256, which is a pretty common instruction set in nowadays intel cpus. It does speedup the sum, but golang crypto sha256 supports avx256 as well.
Back to avx512, even if the cloud provider offers the high-end cpus with avx512 extensions, it may not work so well as expected. There might be a negative performance impact in the overall virtualization work situation.
In the end, speed up is not real...

Simple benchmark:
code:
func main() {
	filepath := os.Args[1]
	fh, _ := os.Open(filepath)
	h := sha256.New()
	_, err := io.Copy(h, fh)
	if err != nil {
		panic(err)
	}
	fmt.Printf("%x", h.Sum(nil))
}

set up:
go build . && time ./main cf-2.3.0-build.264.pivotal

result:
crypto/sha256:
real    0m35.853s
user    0m33.538s
sys     0m2.278s

github.com/minio/sha256-simd:
real    0m37.245s
user    0m34.711s
sys     0m2.458s

Skylake and Skylape-SP have been out since 2015, which is Intel's 6th gen Core series for desktop, mobile, and server platforms, and it's a common platform for lots of development machines and servers.
The intent of this PR is to make performance improvements available to folks when the have the options available. Defaulting back to AVX-256 is fine since that's the maximum crypto/sha256 supports, but limiting the performance for folks that can use it seems like a counter-intuitive argument. It's an obvious performance improvement that can be available to those that have access to it and the downsides, which I go into detail below, are minimal as this code is run-once, not a constant always-on feature.
I did some research into the AVX concerns - it has to do with the frequency scaling of the processor. The delay in frequency scaling is ~2ms or less, which is undetectable to a human. This PR is a change for humans, not machines. Looking at modern processors and the recommended design patterns, even though AVX-512 and AVX2 can downclock a processor frequency, that isn't a linear loss of productivity.
Let's take a modern server. Most modern servers are run at <70% capacity at any given time due to preparation for unexpected load. On a server capable of providing 40GHz, that's roughly 28GHz of active utilisation at any given time, with 12GHz still available. On that, a good operator will only run a VM at <70% or less. Even when AVX-512 downclocks the frequency, there is still the same 30% of the server going unutilized, plus the same 30% of VMs going unutilised, so at the end of the day, a down scale of frequency is a moot point because there is still so much of the server yet to be utilised.
If you're curious about an in-depth dive into the issue, Daniel Lemire is a professor at the University of Toronto:

AVX-512 instructions are powerful. With great power comes great responsibility. It seems unwarranted to disable AVX-512 by default at this time. Instead, the usual engineering evaluations should proceed.

@mxplusb Thanks for the additional material, definitely interested!
But to correct the cpu models, Skylake-X (Xtreme)  is not the same as Skylake (<= i7-6700k), which are not for mainstream users. In which Skylake does not support avx512.
Skylake-SP on the other hand, just released last year.
Right now I don't feel strongly either way (was super excited when I saw this the first time), because most of the time it would not introduce a speedup, but for limited data clusters, definitely will.

actually... @mxplusb, the drop-in replacement will definitely not introduce a speedup.
New function:
https://github.com/minio/sha256-simd/blob/51976451ce1942acbb55707a983ed232fa027110/sha256.go#L85-L95
As a dropin replacement, it will only check avx2 || avx || ssse3 || armSha, in which avx2 is the fastest hw-acc it supports (which is also supported by crypto/sha256).
If one wants to benefit from the avx512 features, explict initialization needs to be called:

Due to this different way of scheduling, we decided to use an explicit method to instantiate the AVX512 version.

And I just tried to initialize avx512 on a cpu (6700k) that does not support the feature, I got a unrecgonized instruction error.
In another word, to savely utilize avx512, one needs to detect if the cpu supports the instrcution set first(e.g var avx512 = haveAVX512()). Unfortunately, minio decided not to expose those functions.
So summary:

Dropin replacement will only benefit arm cpus which support armsha.
avx512 needs special initialzer
initialzer avx512 on non-supported cpus will panic
it is not straightforward to detect avx512 support

It looks like it isn't too clear how much this change would help. Also there are additional changes required in go modules when making vendor changes. Closing this PR for now.


Nunaliit iPad app unable to connect to DB after sleep or backgrounding

This issue affects the latest Nunaliit app on iOS 5.
Need to test for iOS 6.
In some cases, it fails to connect after the 2nd sleep or long (>10 min) in background.

I think this can be closed.


Adding TypeScript definitions

I'm currently using this in a TypeScript project and noticed react-switch doesn't currently have any TypeScript typings. This definition file is a combination of the types described in the README and actual code implementation.
As long as the d.ts file ends up in the NPM package, types should be available for users utilizing TypeScript as well as users of IDEs that support code completion, etc., via TypeScript typings.

Nice. After having familiarized myself with typescript a little bit I'd say it looks good. I just have one super minor thing.
The event that is passed to the onChange function is declared as React.SyntheticEvent<React.ChangeEvent<HTMLInputElement>>, but it is actually not always a synthetic react element. When the user clicks on the handle of the switch and then triggers a mouseup event, it's a native event. I don't know if this matters at all, but I guess it could be fixed by declaring it as a React.SyntheticEvent | (*whatever they call a native event*).
Could you fix this before I merge?
Merry christmas

Thanks for the feedback! 😄
You are correct that it's not always a Synthetic Event. After looking into it, I don't think it's ever an actual change event; this would make my original typing quite incorrect.
I believe the correct signature would be React.SyntheticEvent<MouseEvent | KeyboardEvent> | MouseEvent. I'll go ahead and update.
Merry Christmas. 🎅

Alright! Merged and published to npm in version 2.3.0.
My first ever merged pull request :smile:  Hopefully the first of many.

@timothymclane I was thinking of making a contributors section in the README kind of like this: https://github.com/mgechev/github-contributors-list
Is that fine with you?

Not sure if reactions notify, so I'll just be explicit: yes, totally fine with me. :)


java classes without packages are not recognised.

steps
sbt version: 1.2.8
problem
Create a java class without any package and put it in src/main/java. Refer that class (create an instance) elsewhere in a scala file. Compilation fails with not found: type <classname>
expectation
Class should be recognised
notes

@mriduld Thanks for the report.

I wonder if this is reproducible without involving sbt. Perhaps it's a scalac issue rather than a sbt issue.


mount cloud pillar in salt-master cotainer

This is required to give the salt-master access to static cloud-specific pillar data.

 mount cloud pillar in salt-master container


fix: Private data created before it's public counterpart

Creating private data tracked by a place holder entity in the public chain will fail if the private data is created before the public one.

The tracking was implemented with a private-data-tracked event. The existing code will treat the result as error if the private data is created before the public place holder, because the reducer do not know how to handle a private-data-tracked event without the corresponding entity-created events. The solution is to bypass that error checking, allowing the chain (and the commit list cached in the query handler) to accept that event as is


library incompatible with React 17

I've recently updated my project to react 17.0.2 and seems that the library is not compatible.
Are you planning to update compatibility to React 17?
I have react-notification-system updated to verson 0.4.0

Was also curious about this, as we are looking to move to React 17 in the near future

@detrash08 for the workaround, I used 0.2.17 and was able to resolve the issue with React 17

@detrash08 for the workaround, I used 0.2.17 and was able to resolve the issue with React 17

The peer-dep will force you installing 2 React versions. (one for 16 and one for 17)

I tried it and it works. You have to delete the peerDep from package.json and also to add this dep create-react-class

I tried it and it works. You have to delete the peerDep from package.json and also to add this dep create-react-class

So you delete the perDeep Object ? and this dep where did you add it ? to the package json of the react notification or your entire project packafge.json ? and do you get the problem what i get now , i try to call the fork version, i get a problem said module cannot resolve react redux notification system and redux ? can please write me the step what u did to make it work and how you call the forked version to your package.json ?


Support for this use case: send email 30 days after registration?

I am currently exploring a bunch of Node libraries for scheduling tasks (https://github.com/rschmukler/agenda, https://github.com/topliceanu/schedule-drone, etc.) and though kue doesn't seem to be designed with that primary use case in mind, it seems like it could be a good fit using delayed jobs. I was wondering if kue would support scheduling tasks like "email this user in 30 days" and if there are some guarantees that those tasks will eventually execute even if my kue process dies/reboots.

To answer my own question, it does seem to work for that use case.


Removed warnings about patterns in functions without body

Sorry, I dropped the ball on this one and didn't merge it in until now! Thank you for the PR.


tox coverage environment

Run coverage with tox -e coverage. Html report will be put in htmlcov/

LGTM.  Merging.


Cannot clone file to new pane

With a single file open in a single pane, "Clone file to pane on the right" clones the file in the current pane. "Create pane with file on the right" creates a pane on the right and mvoes the file to the new pane.
I seem to remember that one of these commands allowed you to create a new pane and clone the current file to it.

I just merged PR #87, which will make a new pane if you're moving in a direction where there is no pane. Does that solve your issue?

Issue necromancy! Yes, I do believe that would resolve the issue. Thanks!


data

Hi,
The paper "Cyber-Physical Intrusion Detection System for Unmanned Aerial Vehicles" is very interesting.
However, where is the data? Thank you very much.
df = pd.read_csv("../../dataset_updated/standardized_dataset_{}.csv".format(fusion)) .

The dataset is in this repo:
https://github.com/uamughal/UAVs-Dataset-Under-Normal-and-Cyberattacks
Also, you can download it from the IEEE data port.
Here is the link:
https://ieee-dataport.org/documents/cyber-physical-dataset-uavs-under-normal-operations-and-cyber-attacks

OK. Thank you very much. Do I still need to preprocess the data I downloaded online?

Hello. Dr.Uamughal:
I found a program that reads df = pd.read_csv("../../dataset_updated/standardized_dataset_{}.csv".format(fusion))， For CSV file is not the original Dataset, but should be separated into" standardized_dataset_drone1_cyber，standardized_dataset_central_physical",and so on through network, physical data differentiation of datasets, so can you provide in the program to read the data set? In addition, the network data and physical data are collected asynchronously, so the time stamps are not consistent, how to form a network physical dataset? I look forward to hearing from you.


(🐞) the 'Project Specific > ruff executable' field isn't saveable

we should fix it in the PR
https://github.com/koxudaxi/ruff-pycharm-plugin/pull/381

@KotlinIsland
Can we delete the executable path in a config file?
I think we don't need to save the path in the file.
The plugin can find the ruff executable from active Python SDK.
Otherwise, the global ruff path works for the remaining use cases.

sounds perfect


Consider reworking fill(none) to fill(null)

Consider reworking fill(none) to fill(null) on InfluxDB dashboard panels

Select graphs with fill(none)

Select graphs with fill(null)

I think it's better to have a gap if there are no metrics, so fill(null) wins here.
Derivative graph with fill(none)

Derivative graph with fill(null)

Nothing has changed by design, see https://github.com/influxdata/influxdb/issues/7185 . There are workarounds, but I don't think it is worth to make query more complicated both in terms of readability and performance.
Thus, I think it is better to rework panels to use fill(null).


Modernize GitHub OAuth to avoid deprecated access token as a URL param

Fixes #15

Not sure how to test this short of trying it out in the real system. Thoughts, @lrytz ?

I'll give it a try. Thank you!

Seems to work as intended 👍


Not working with Fluent

The handleAction function does a direct UPDATE on the database to gain speed:
DB::query("UPDATE SiteTree SET {$fieldName} = '{$sqlValue}' WHERE ID = {$page->ID}");
if ($page->isPublished()) {
     DB::query("UPDATE SiteTree_Live SET {$fieldName} = '{$sqlValue}' WHERE ID = {$page->ID}");
}

This causes other modules like Fluent to work incorrectly.
If you change this to the ORM method:
$page->$fieldName = $sqlValue;
$page->write();
if ($page->isPublished()) {
      $page->doPublish();
}

I made a fork with a new branch called enable-augmentation, with this implemented:
https://github.com/RVXD/silverstripe-seo-editor/tree/enable-augmentation
Perhaps if you would want the increased speed for sites without Fluent, this could be made optional.

Hi @RVXD ,
We made this choice to directly alter the database rather than force a publish cycle as there may be other changes which are waiting to be published and we didn't want to assume that we could publish the page.
We've actually got a Fluent compatible version of the module. I've just pushed this up to github for you here: https://github.com/littlegiant/silverstripe-seo-editor-fluent
We will likely look at making it extensible rather than having to have two separate repositories as part of the upgrade work for SilverStripe 4.

Thanks for you reply. Dit not know the fluent version existed! I will check it out.


Raven_Compat::substr() method for calling mb_substr() if available

Fixes #727

Well that's interesting, the test loads a bunch of binary gibberish into the $event['message'] :p

Would be nice to update Serializer.php too with this helper and cleanup some code there.
https://github.com/getsentry/sentry-php/blob/82c6d9ad6c59a8648a9fe1730a08e6e22e9a476a/lib/Raven/Serializer.php#L94-L117
To not have any mb_substr calls in the code left.
(looks like the Serializer.php has the only mb_substr call: https://github.com/getsentry/sentry-php/search?classic=1&q=mb_substr()

@HazAT can we get this merged?


fix: php72 support

twig template loader should use getSourceContext,
leave getSource for still supporting php < 7

Instead of duplicate code I would suggest getSource from getSourceContext

Yes indeed, I removed the duplicate code.


ENT-1 - Code refactoring to enable OSS versus non-OSS modes

@sumwale this is just the initial commit but can I get an initial review from you before I move on to the pending items viz. gradle changes and reflection based classloading after checking the new GFXD Enterprise-Mode property.
There is another PR on the top level snappydata repo which I will link here once created.

Also see https://github.com/SnappyDataInc/snappydata/pull/720

@sumwale whenever you get the time please do an initial review/comments.

Related PR https://github.com/SnappyDataInc/snappy-aqp/pull/154

Do these changes in GemFire core make it challenging to integrate with a
newer version of GemFire? make sure at least the code changes are tagged
(like ==== snappydata changes begin here ===) so it is easier to integrate
in teh future?

Jags
SnappyData blog http://www.snappydata.io/blog
Download binary, source https://github.com/SnappyDataInc/snappydata
On Tue, Aug 8, 2017 at 10:30 AM, Amogh Shetkar<EMAIL_ADDRESS>wrote:

Related PR SnappyDataInc/snappy-aqp#154
https://github.com/SnappyDataInc/snappy-aqp/pull/154
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SnappyDataInc/snappy-store/pull/243#issuecomment-321026050,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB2KBvwqKEzRr0ZjaznX1WxNOEgXW0rGks5sWJsZgaJpZM4ObVWj
.

Do these changes in GemFire core make it challenging to integrate with a newer version of GemFire? make sure at least the code changes are tagged (like ==== snappydata changes begin here ===) so it is easier to integrate in teh future?

Just added member variables for new property names, so it shouldn't be too difficult.


Add Giraffe by @evgeniyd

[x] Project URL: https://github.com/evgeniyd/Giraffe
[x] Update contents.json instead of README
[x] One project per pull request
[x] Avoid iOS or open-source in description as it is assumed
[x] Use this commit title format if applicable: Add app-name by @github-username
[x] Use approved format for your entry

Thank you for contributing to open-source-ios-apps 😉


M3-4294: Analytics tab in Linode Details

Description
Analytics tab in Linode Details as per the designs, with the old Summary tab used as a starting point.
Type of Change

Non breaking change ('update', 'change')

To-Do

[x] Two rows of two charts
[x] Group charts together within a <Paper> element or something similar

Note To Reviewers
The designs have a Longview section, but we do not have a way to tie those in presently to Linodes.

This is almost ready, but getting the graphs into rows has been a sticking point. The CPU & Disk IO graphs are in the first row, but the sizing is off because of the width I set to get them in a single row.
For the Network graphs, I was thinking of passing an optional prop down to <NetworkGraph>, let's call it fromAnalyticsTab, and if that was passed down, wrap the JSX that gets returned from NetworkGraph in a <Grid container> instead of the current React.Fragment. Syntactically that was a bit of a sticking point because I want to do it without repeating each <StatsPanel> instance twice, if possible.

This is almost ready, but getting the graphs into rows has been a sticking point. The CPU & Disk IO graphs are in the first row, but the sizing is off because of the width I set to get them in a single row.
For the Network graphs, I was thinking of passing an optional prop down to <NetworkGraph>, let's call it fromAnalyticsTab, and if that was passed down, wrap the JSX that gets returned from NetworkGraph in a <Grid container> instead of the current React.Fragment. Syntactically that was a bit of a sticking point because I want to do it without repeating each <StatsPanel> instance twice, if possible.

Probably what you want here is a NetworkGraph_CMR that copies the contents over and adjusts them to match the new designs. We'd have to remove the new prop anyway post-cmr.

Giving xs={6} to the grid items containing the CPU and Disk graphs solve the jittering loading states, though I'm still sometimes seeing jitter when changing the date toggle like Jared described.