feat(data_classes): Add Amazon Work Mail

Issue #, if available:
closes #1028
Description of changes:
Add data class for Amazon Work Mail
Checklist

[X] Meet tenets criteria
[X] Update tests
[ ] Update docs
[X] PR title follows conventional commit semantics

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #1032 (54f5bdf) into develop (00b5b5c) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop    #1032   +/-   ##
========================================
  Coverage    99.96%   99.96%
========================================
  Files          119      120    +1
  Lines         5365     5402   +37
  Branches       612      616    +4
========================================
+ Hits          5363     5400   +37
  Partials         2        2

Impacted Files
Coverage Δ

...bda_powertools/utilities/data_classes/work_mail.py
100.00% <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 00b5b5c...54f5bdf. Read the comment docs.

(closing for now and will reopening when capacity is available for this)


Process Exporter Service failing due to error in Config file

process_exporter_names attribute is passed as string in Json format as suggested in doc https://prometheus-community.github.io/ansible/branch/main/process_exporter_role.html .
Even though it works with default value, it fails when we set custom values. So, we need to pass value in same line instead of newline as done in manual Fix screenshot.

Issue:

Fix:

It should also be working on newline, could it be because of spacing with custom values?
YAML can be quite unpredictable with scoping sometimes.

@prakyathraj please post the variable you are attempting to use.
Btw, you can take a look at the alternative molecule scenario for more examples of a working config
https://github.com/prometheus-community/ansible/blob/f3514a9e97dfc3d64f02aefd299487efd99e779f/roles/process_exporter/molecule/alternative/molecule.yml#L18-L29


Add FilterInterface for ReadByQuery

We did this for get_list - https://github.com/Intacct/intacct-sdk-php/tree/master/src/Intacct/Functions/Common/GetList
We should add something similar to build the <query> block for the dev when they want to use readByQuery
query parameter: A subset of standard SQL where clause.  The following SQL operators are supported: <, >, >=, <=, =, LIKE, NOT LIKE, IN, NOT IN, IS NOT NULL, IS NULL. Multiple fields may be matched using the AND and OR operators. Joins are not supported. If the value you are filtering on contains an apostrophe, add a backslash before it to escape the apostrophe. For example, to filter on Erik's Deli in contacts, your query element would be: contactname = 'Erik\'s Deli'
Looking for != operator?  Prefix with NOT for example NOT contactname = 'Erik\'s Deli'
Requested from issue #90

@billystalnaker take a look at the query branch I just setup. There's a QueryInterface in there we're considering for v1.1 release.  Check out some of the tests to see the usage
$condition = new GreaterThanOrEqualToInteger();
$condition->setField('RECORDNO');
$condition->setValue(1234);
$readByQuery = new ReadByQuery('unittest');
$readByQuery->setObjectName('CUSTOMER');
$readByQuery->setQuery($condition);

If folks want to manually write their own query strings, they're forced into the interface. The same above can be done through the QueryString class:
$readByQuery = new ReadByQuery('unittest');
$readByQuery->setObjectName('CUSTOMER');
$readByQuery->setQuery(new QueryString('RECORDNO >= 1234'));

An example of nested conditions -- https://github.com/Intacct/intacct-sdk-php/blob/query/test/Intacct/Functions/Common/Query/Logical/OrConditionTest.php#L86-L114

That's awesome. I'm out of town for two weeks. But I will check it out when I get back! Thanks!


Ensuring that RANDOM calls are not considered equal

Replaced by https://github.com/Bodo-inc/calcite/pull/132


Only require the event listener methods we use

Motivation
In BigTest, we're settling on using the ws websocket library across the board, but sockets from that library don't implement the full EventTarget api, only {add,remove}EventListener. This means that we can't use those sockets easily because they cannot be passed to the underlying subscription mechanism which is on() from '@effection/events'.
Approach
This relaxes the requirement of what can constitute an EventSource to just things that have the addEventListener and removeEventListener methods, since those are the only ones we use.

Great idea!


Update setup requirements in README

Closes #147

@Stargator I used the --fixup option. Am I to rebase it locally or this PR will do that automatically upon merging?

Squashing while merging will combine all the commit messages into one for the whole PR.
If you intend to have the fixup messages in, you could do that. Or you could do a rebase and fixup everything.

@devkabiir If you do --fixup you'll have to do a rebase and ensure the fixup merges with the necessary commit.


Update assetId to handle a hexString

Ref: https://github.com/polkadot-js/api/pull/5967
Once a the new version of PJS/Api is released, it will come with a breaking change of handling the assetId as a HexString instead of number | object as it's now. The dep will have to be updated as well as the corresponding methods/examples/tests that currently handle that field.

Due to Asset Transfer API not relying on the SignerPayloadJSON interface directly from PJS, the assetId HexString update made in https://github.com/polkadot-js/api/pull/5967 does not require any additional changes in the API.


Newest release fails in fastboot

Newest release fails with fastboot.
Ember 3.17
error:
Error: Cannot find module 'object-hash'

Only fails in production, which is delightful :joy:

Took a stab at a fix while also slimming down the library quite a bit here: https://github.com/Exelord/ember-initials/pull/43

Can you give me some intro how to reproduce it in demo app? On my local machine, development and production envs work ok.


Read old SMS messages

Describe the solution you'd like
I'd like to be able to access old SMS messages (e.g. the last x messages from a given contact) as opposed to listening for present/incoming messages.
Additional context
Is this functionality already supported? It didn't seem to be the case based on the README.

@h13e Can you elaborate on the use case here ?
The library currently only reads incoming messages.

@maniac-tech sure my main understanding (or assumption) was that this library was the expo equivalent of react-native-get-sms-android.
So if I wanted an app to read older messages (say the last 10 messages from a contact) on a device, to analyze how often the user and the contact text each other, I thought that I could use this library for that in expo (given the fact that expo doesn't support this out the box).

@h13e : That isn't the use case I had in mind when I wrote this. Have you checked why isn't expo supporting this at the moment ?

@maniac-tech It's likely due to security concerns. Thanks for getting back to me. I'll close this now.

Feel free to ping me if you need help with your problem statement @h13e, more than happy to help solve a problem 🥂


Improve test coverage

Coverage increased (+19.5%) to 65.536% when pulling 679310d52ea69cf30c78f08278a0a34e0f61ea7d on improve-test-coverage into 5014e39f5341fb1c24e5b2c4aa5c6b77c17c4717 on develop.


git clone command listed in README

Used:
 git clone git@github.com:codeforamerica/adopt-a-hydrant.git

Vs.
 git clone git://github.com/codeforamerica/adopt-a-hydrant.git

as listed in the readme. Command listed kept giving a:
 fatal: unable to connect to github.com:
 errno=Operation timed out

The version of the command specified in the README worked for me.

This issue is not updated for a long time. Also both commands worked for me. Could not this issue be closed?


some file support partial loading, some not

One of my favorite features is "Your saved changes to the CSS and JS are reflected instantaneously without refreshing the page. ".
So I tried to change "app/containers/HomePage/index.js" and it works as excepted. But for "app/components/Header/index.js", after changed, the browser re-loaded fully, as what happen when I press F5 button.
This make me confused. Are there some rules about this case?

Hi @fkpwolf, I assume this is most likely due to the fact that "pure functional component" does not allow for hot reloading, that's why a full reload is automatically trigger when a change of this nature happened.
There's mention of this here #1544

HomePage extends React.PureComponent so page will reload. I see. Thanks @denisflorkin


What is the recommended way to use band.dat from sumo-bandplot?

Hello!
I want to ask about the format used in band.dat, the text data file produced after executing sumo-bandplot.
especially, about the format where the bands are separated by an empty line
(band 1)
k-location Energy
k1.              E1
k2.                           E1
k2.
I have also seen this format for example in quantum espresso output.
I am curious what is the practical way that this format is usually worked with?
For example, I can think of using band.dat to plot different systems in one plot for comparison.
(say, undoped and doped structures, or structures with and without pressure)
But to do that, I need to select a small energy window of interest or by selecting a number of bands,
say -3 to 3 eV from the Fermi level, or to plot 5 bands below and above the Fermi level.
How should one practically do the above with band.dat?
Is there a data processing software that is most suitable with this format?
Coming from windows background, my go-to data processing software is microsoft excel.
Although I can still somehow manually filter and work with this data format, it becomes imprecise and inefficient with large datasets.
How would you select for example the first 5 bands below and above the Fermi level from band.dat?
What software will be your tool to recognize the empty line as a filter for bands or to count the bands?
could you please give a simple example on how it's done?
P.S. I notice band.dat remains the same with and without --zero-energy selected.
i.e., band.dat has the OUTCAR's Fermi energy as 0 in both cases.
Should this be adapted to change when --zero-energy option is selected?
Thank you!
-alpin-

These files were originally intended for use with the Grace plotting system. I'm not practiced enough with Grace to explain how this file format works with it, perhaps @jbuckeridge could comment?

Coming from windows background, my go-to data processing software is microsoft excel.

We didn't really consider Excel users when designing Sumo; I don't think I've ever seen a band structure plotted with Excel.

Although I can still somehow manually filter and work with this data format, it becomes imprecise and inefficient with large datasets.

I would suggest that in general work with Excel becomes imprecise and inefficient with large datasets. jspreadsheets not a great format for consistent, reproducible and reusable work if you are making changes manually. Mistakes are very difficult to find as they can be hidden on any cell of the spreadsheet.

See https://github.com/QijingZheng/pyband.


Dataview table question

How did you get your data view queries to allow sorting when clicking the header?

Not sure about it. Maybe sortable plugin can help with that?

Not sure about it. Maybe sortable plugin can help with that?

That was exactly what I was looking for!


MIDI 1.0 MPE / MIDI 2.0 Per-Note Abstractions

MIDI 1.0 MPE / MIDI 2.0 Per-Note Abstractions

[ ] Explore feasibility of adding MPE / MIDI 2.0 Per-Note Abstractions.

M2-104-UM Universal MIDI Packet (UMP) Format and MIDI 2.0 Protocol, page 53:

Using Note Number Rotation, Per-Note Pitch, and Per-Note Management Message for Independent Per-Note Expression
A MIDI 2.0 Protocol Sender can have fully independent control over individual Notes, even applied to simultaneous Notes on the same pitch. MIDI Polyphonic Expression (MPE) on the MIDI 1.0 Protocol uses a Channel Rotation mechanism for this kind of flexible expressive control with up to 16 notes of polyphony. In the MIDI 2.0 Protocol, a Note Number Rotation mechanism can replace the Channel Rotation mechanism for some applications. This improves on MPE by utilizing only a single MIDI Channel while providing polyphony of up to 128 notes.

MIDI 2.0 Per-Note Events have been implemented in MIDIKit.
The Spec defines ways to use them. Abstractions could be added to aid in this but they would need to be as broadly applicable as possible for a consumer of the library to find any utility in their presence.


feat(datahub-frontend): Option to configure OIDC auth easily

🥅 Goal
Add an option to configure optional OIDC authentication to datahub-frontend subchart.
🔍 Details
This is already achievable by passing appropriate values to datahub-fronend.extraEnvs:
datahub-frontend:
  extraEnvs:
    - name: AUTH_OIDC_ENABLED
      value: "true"
    - name: AUTH_OIDC_CLIENT_ID
      value: your-client-id
    - name: AUTH_OIDC_CLIENT_SECRET
      value: your-client-secret
    - name: AUTH_OIDC_DISCOVERY_URI
      value: https://accounts.google.com/.well-known/openid-configuration
    - name: AUTH_OIDC_BASE_URL
      value: your-datahub-url
    - name: AUTH_OIDC_SCOPE
      value: "openid profile email"
    - name: AUTH_OIDC_USER_NAME_CLAIM
      value: email
    - name: AUTH_OIDC_USER_NAME_CLAIM_REGEX
      value: ([^@]+)

This PR makes it more straightforward and readable with new datahub-frontend.oidcAuthentication config:
datahub-frontend:
  oidcAuthentication:
    enabled: true
    provider: google
    clientId: my-client-id
    clientSecret: my-client-secret

Can use any of the three supported providers: google, okta, or azure.
🧪 Testing
Locally rendering using helm template . > preview.yaml.

provider: google
provider: google
Extending values.yaml:
datahub-frontend:
  ...
  oidcAuthentication:
    enabled: true
    provider: google
    clientId: MYCLIENTID
    clientSecret: MYCLIENTSECRET

The preview now contains these in spec.template.spec.containers[0].env:
            - name: AUTH_OIDC_ENABLED
              value: "true"
            - name: AUTH_OIDC_CLIENT_ID
              value: MYCLIENTID
            - name: AUTH_OIDC_CLIENT_SECRET
              value: MYCLIENTSECRET
            - name: AUTH_OIDC_BASE_URL
              value: https://chart-example.local
            - name: AUTH_OIDC_DISCOVERY_URI
              value: https://accounts.google.com/.well-known/openid-configuration
            - name: AUTH_OIDC_SCOPE
              value: "openid profile email"
            - name: AUTH_OIDC_USER_NAME_CLAIM
              value: email
            - name: AUTH_OIDC_USER_NAME_CLAIM_REGEX
              value: ([^@]+)

This provider has also been to tested to actually work -> triggering Google login screen and actually signing an internal google user.

provider: okta
provider: okta
Extending values.yaml:
datahub-frontend:
  ...
  oidcAuthentication:
    enabled: true
    provider: okta
    clientId: MYCLIENTID
    clientSecret: MYCLIENTSECRET
    oktaDomain: MYOKTADOMAIN

The preview now contains:
            - name: AUTH_OIDC_ENABLED
              value: "true"
            - name: AUTH_OIDC_CLIENT_ID
              value: MYCLIENTID
            - name: AUTH_OIDC_CLIENT_SECRET
              value: MYCLIENTSECRET
            - name: AUTH_OIDC_BASE_URL
              value: https://chart-example.local
            - name: AUTH_OIDC_DISCOVERY_URI
              value: https://MYOKTADOMAIN/.well-known/openid-configuration
            - name: AUTH_OIDC_SCOPE
              value: "openid profile email groups"

provider: azure
provider: azure
Extending values.yaml:
datahub-frontend:
  ...
  oidcAuthentication:
    enabled: true
    provider: azure
    clientId: MYCLIENTID
    clientSecret: MYCLIENTSECRET
    azureTenantId: MYAZURETENANTID

The preview now contains:
            - name: AUTH_OIDC_ENABLED
              value: "true"
            - name: AUTH_OIDC_CLIENT_ID
              value: MYCLIENTID
            - name: AUTH_OIDC_CLIENT_SECRET
              value: MYCLIENTSECRET
            - name: AUTH_OIDC_BASE_URL
              value: https://chart-example.local
            - name: AUTH_OIDC_DISCOVERY_URI
              value: https://login.microsoftonline.com/MYAZURETENANTID/v2.0/.well-known/openid-configuration
            - name: AUTH_OIDC_SCOPE
              value: "openid profile email"

✔ Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[x] Links to related issues (no related issue)
[x] Tests for the changes have been added/updated
[x] Docs related to the changes have been added/updated

Hello @tomas-kubin
Thank you for this PR! Could I ask you to bump the frontend chart yaml so that the linter passes?

@pedro93 Chart versions were bumped. The linter should now pass.

@pedro93 Can you please rerun the workflow for this PR so that we see if the linter passes? I cannot do it as I'm first-time contributor. Thanks!

@pedro93 Sorry, I missed a version. Now it should be fixed. Could you please run it once again?

@pedro93 Thanks, the linter passed. Could you please do a code review for this PR?


feat: 🎸 Add procedure to apply all incoming balances for CA

Description
Adds a procedure to apply incoming balances for a CA
Breaking Changes
NA
JIRA Link
DA-1087
Checklist

[ ] Updated the Readme.md (if required) ?

I'm merging this so that I can implement this in REST API, if there are any comments more here happy to implement them then @polymath-eric

:tada: This PR is included in version 24.0.0-confidential-assets.11 :tada:
The release is available on:

npm package (@confidential-assets dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Added While Loop to wait until Kw succeeds to get installplan name

running rhoai-test-flow/1151/

rhoai-test-flow/1221/ succeded

@asanzgom can u try it on a managed cluster? I have seen recurrent errors there. You need to run a job to create a managed cluster and installing the latest RHOAI nightlies. The dependant operators should be installed properly


Fail the build when javadoc.options can't map characters (e.g. when printing emoji to a windows-1252 file)

Expected Behavior
Gradle should fail the build when the configured encoding does not support some of the characters.
For instance, if user puts characters that happen to be unmappable to javadoc.options, then Gradle should fail rather than transparently replace them.
The unmappable characters can happen in both user-provided options (e.g. javadoc footer/header), and in file paths (e.g. project directory can have non-ASCII chars).
It might be that the issue has a broader scope than just javadoc, however, I believe javadoc failures are very common symptoms of unmappable char issues.
Current Behavior
Currently, Gradle happily produces a corrupted file which causes issues down the line.
For instance, if I use windows-1252 encoding, and I configure
tasks.withType<Javadoc>().configureEach {
    (options as StandardJavadocDocletOptions).apply {
        bottom = "©"
    }
}

then Gradle produces options file with unmappable character which literally corrupts user data:
-bottom '�'

In the context of javadoc, it causes weird "javadoc: error - cannot read Input length = 1" which are far from easy for the analysis for the regular user.
Context

https://github.com/gradle/gradle/issues/22574

Sorry for the late reply.
While this feature request is reasonable from a user perspective, it might be hard to resolve it from a technical perspective completely.

@ov7a , Could you please clarify what is hard from the technical perspective?
Let me rephrase the suggestion:

Currently Gradle generates javadoc.options file. The suggestion is that Gradle should FAIL the build in case the file contains unmappable character.

In other words, this exact test must throw exception rather than asert ? ? ?: https://github.com/gradle/gradle/blob/46c40f94cad9327d502f06256c24cd9196859d1c/platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocFileEncodingIntegrationTest.groovy#L47
Java supports java.nio.charset.CodingErrorAction#REPORT since Java 1.4, so detecting and reporting the unmappable characters should not be a problem.
WDYT?

@vlsi I meant that in a broader scope, encoding detection is hard since it's just bytes. I was thinking of examples like KOI8-R <-> CP1251 - it's hard to reliably detect encoding issues there.
But your point on java.nio.charset.CodingErrorAction#REPORT is completely on spot, thanks for sharing the additional context!


Broken link for crd management in https://gateway-api.sigs.k8s.io/guides/

What happened:
Link for CRD management is broken in https://gateway-api.sigs.k8s.io/guides/
What you expected to happen:
Link should be working
How to reproduce it (as minimally and precisely as possible):
Clink on link
Anything else we need to know?:

/kind documentation

/assign

Page to be updated:
https://github.com/kubernetes-sigs/gateway-api/blob/main/site-src/guides/index.md

its broken in other page too:
https://gateway-api.sigs.k8s.io/guides/implementers/


Save value with decimal

Yes the dockerfile and devcontainer.json pull request is not merged yet in this repo
https://github.com/microsoft/azure-boards-estimate/pull/128  :-).

the pull


Helm chart: add CI tests for Eclipse Link

Description
Add more CI automated tests for the Helm chart, this time leveraging EclipseLink with H2.
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
In CI.
Checklist:
Please delete options that are not relevant.

[x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] If adding new functionality, I have discussed my implementation with the community using the linked GitHub issue

@adutra @snazy Could you confirm a CI failure on main branch? https://github.com/apache/polaris/actions/runs/11382155365/job/31665072150

@ebyhr this should fix it: #381


Add check in split utility method to prevent panic

This line panics when i = -1, which happens when not a valid email:
       account = email[i:]
	host = email[i+1:]

Add a few more testcases for this check and update some test cases.

Thks for your contribution @agau4779


Stalled after multiple rebuild requests

Hi,
First off, stellar job on this. Really excellent tool.
I'm having a problem with the web client, after multiple attempts to rebuild binder for the repo CoAxLab/radd. It seems to be "stuck" in an early stage of the build and keeps repeating these lines:
[1] "starting build for URL: https://github.com/coaxlab/radd"
[2] "already building coaxlab-radd -- not rebuilding"
(see attached image)

Probably a user error, I accidentally closed the window before confirming the rebuild was successful. Now I can't seem to start over or reset the process.
Any help would be much appreciated!
Best,
kd

Hi,
Just to add another example to the list, I have the exact same problem with my repo: https://github.com/miykael/nipype_tutorial. It also got stuck in the "not rebuilding" loop (http://mybinder.org/status/miykael/nipype_tutorial).
I'm not sure what I did wrong, but closing the window too early, or requesting too many rebuilds within a short time could very well be the reason.
Is there a way from a user side to force a restart/reset of a build?
I'm not 100% sure, but I think this issue is connected to https://github.com/binder-project/binder/issues/16
Thanks for the hard work!

Looks like the build either timed out or was cancelled. Can now build new binders, thanks!

Same thing here. I can again build new binders on this repo. Thank you very much!

Refreshing an old discussion. I have the same problem. It has been a few days now (about a full week). For reference the reop: https://github.com/ygrange/taql-jupyter.

I have two builds stuck:
http://mybinder.org/status/p-madden/sea-2016-tutorial
http://mybinder.org/status/catees/opendap_geographical_subsetting
The first has been stuck for three weeks.

I have also one here:
http://mybinder.org/status/cserti/optika
it has been a couple of days..
If I try to rebuild it it just adds one more line of
already building cserti-optika -- not rebuilding
starting build for URL: https://github.com/cserti/optika


Create guidelines to contribute new widgets

Write some gudelines on the wiki explaining what should be done for new widgets :

pin order, pin names, pin descriptions, visible or not etc
help patch (HowTo lalala)
add to All at once

Guidelines for new widgets are available here.


Update fingerprinting URL in README

Thanks @wagenet.
@samselikoff how do we keep this kind of thing in sync with the new docs site?

I think we should scrap the readme and just it point to the site, and make sure the site encourages PRs (I've added the "Improve this page" link, hopefully that's enough).
If everyone gives it a :shipit:, we can add the link to the site + delete the readme. I already pulled the readme to the site so all the content should be there.

:+1: :shipit:

donezo


Identifiers with Edition number only

There are two identifiers that have only edition number without year:

ISO 11553-1 Ed.2
ISO/IEC 30142 ED1

(these identifiers are not available in relaton-iso-data, I'm not sure where they come from)
Should we leave them as it is or maybe we should raise an error when edition number provided without year?
And some identifiers that don't have edition year for supplement, but have edition number (maybe this is another case):

ISO/IEC 10646:2020/CD Amd 1 ED6
ISO/IEC 14496-30:2018/FDAmd 1 ED2
ISO 10791-6:2014/PWI Amd 1 ED1
ISO 11137-2:2013/FDAmd 1 ED3
ISO/IEC 10646-1:1993/pDCOR.2 ED1
ISO/IEC 14496-12:2012/PDAM 4 ED4

original source of these identifiers: https://github.com/metanorma/pubid-iso/issues/1#issuecomment-1053930136
some of these identifiers mentioned here: https://github.com/metanorma/pubid-iso/issues/102#issuecomment-1251131247
@ronaldtse here https://github.com/metanorma/pubid-iso/issues/1#issuecomment-1057553289 you are saying we don't need to render edition number, only year, this is implemented, but when using "with_edition" option we still getting "Ed" in pubid output (ISO 11553-1 Ed.2 -> ISO 11553-1 ED2)

@andrew2net Just in case, do you know the provenance of ISO 11553-1 Ed.2? @ronaldtse Has ISO changed editorial practice, so that we need to support both formats?

@opoudjis I don't. The ISO website doesn't have any ID with edition number.

Should we leave them as it is or maybe we should raise an error when edition number provided without year?

No error should be raised. Closing ticket. Thanks.

do you know the provenance of ISO 11553-1 Ed.2?

These identifiers are all from iso.org. Some of the funny ones come from older standards' bibliography.


osfamily vs operatingsystem in params

On an amazon AMI, $::osfamily is RedHat, but $::operatingsystem is Amazon.  the problem is that the $::operatingsystemmajrelease is 2015, when the conditional only looks to see if it is 6 or 7.  This results in no 'default' option under RedHat.
The correct defaults for the Amazon AMI are the same as RedHat 6
I'm not sure what the best fix would be... switching to $::operatingsystem instead of $::osfamily and adding an /Amazon/ match, or adding an extra conditional inside of the /RedHat/ $::osfamily.

Switching to $::operatingsystem would mean you would need to cater for other Redhat variants such as Centos and Scientific, although it would probably read better.  Would you be happy to submit a patch for above? I am happy with either option.

Sure!  I ran into an issue with the same thing before using the elasticsearch module
https://github.com/elastic/puppet-elasticsearch/blob/master/manifests/params.pp
I'll do something similar to the service parameters section

My PR was merged, closing...
https://github.com/puppet-community/puppet-jira/pull/89


Use SkyPy to check if user exists

Hello,
I'm wondering there's a way to check if given username exists without pass a password.
I'd like to use SkPy to verify a list of users and delete all "non-skype-user" from it.
Could you give me some hint?
Cheers!

There's no foolproof way of doing that.
You can't do anything useful here without authenticating, and even then you can't tell if a user exists or not from the API alone -- see SkypeContacts.user(id) (specifically, there's no way to tell the difference between a private profile, and one that doesn't exist).

As I understand there's no chance to do that by SkyPy API and Skype API itself as well?

This is a limitation of the upstream web APIs, so will be a limitation of any libraries that use them.
(There may be a different way to detect what you're looking for, but I've yet to come across one.)

Maybe you could try to use the avatars, they seem to not be restricted. I do not remember the exact syntax, but I think that it depends only on the username (or prefixed with the user resource type).

That still doesn't make any distinction between non-existent users, and users without a profile picture?
e.g. https://api.skype.com/users/dfgdfklgjdfkljgdsdfjhgjfklgjdfklg/profile/avatar

Right, I thought that you would get a 404 error :/

The user API might be a start, as many users aren't private and will therefore return something*, but it'll be far from complete.  The Skype HTTP APIs are designed for a client and nothing more, so there isn't much in the way of flexibility.

* A private or non-existent profile will look like this:
>>> sk.contacts["sdkljsdlfjsdklfjsdlkf"]
SkypeUser(id='sdkljsdlfjsdklfjsdlkf', name=Name(), location=Location())

Any other fields present and it probably represents an actual user.


Burst-Shot feature story

"As a user, I would like to be able to take burst shots from my simple camera app."
The following will complete this story:

[x] burst-shot will use the shutter as its trigger. Therefore, no front-end coding required.
[x] burst-shot back-end must allow capture() to be called n times during shutter hold listener event.
[x] burst-shot UI + unit testing

Mockup can be found here: Burst-Shot.

Completed.

Acceptance Test
This test characterizes the desired behaviour for this story, with the most appropriate steps to take.

Step
Description
Expected Output
Actual Output
Result

1
User opens Simple Camera Application
Simple camera opens
Simple camera opens
pass

2
User holds down on the shutter button for at least 1.5 seconds
The preview screen flashes at least once to indicate an image is captured
The preview screen flashes at least once
pass

3
User opens the photo album by selecting the Settings button and then selecting the image
The photo album is opened and multiple pictures were taken
The photo album is opened and multiple pictures were taken
pass

4
User selects selfie mode by tapping the Selfie button
Selfie mode is activated
Selfie mode is activated
pass

5
User holds down on the shutter button for at least 1.5 seconds
The preview screen flashes at least once to indicate an image is captured
The preview screen flashes at least once
pass

6
User opens the photo album by selecting the Settings button and then selecting the image
The photo album is opened and multiple selfies were taken
The photo album is opened and multiple selfies were taken
pass

completed with PR #111
added acceptance test


OKD 4.7: Nodes not boot: clocksource: Switched to clocksource tsc

Describe the bug

Cluster: 3-master, 3 worker nodes
Version: 4.7.0-0.okd-2021-03-07-090821
Method: UPI
Platform: vSphere
VM created from vSphere template: fedora-coreos-33.20210217.ova
At some point, two cluster nodes (1-master,1-worker) became unavailable. The SSH connection attempt was unsuccessful. In vSphere I see the OS is not boot. OS does not receive an IP address from a DHCP server

Please attach log bundle


Update brew docker install for new cask format

brew no longer supports brew cask it's now formatted as brew install [formula] --cask
Signed-off-by: Dan Garfield<EMAIL_ADDRESS>

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@todaywasawesome can you sign the CLA?


Use extension trait to simplify config

Another idea: we could potentially add another trait implemented directly for ClientConfig, such that you could do ClientConfig::with_platform_verifier() and ClientConfig::with_platform_verifier_and_provider(provider).
Worth doing over the current approach of rustls_platform_verifier::tls_config()?

Worth doing over the current approach of rustls_platform_verifier::tls_config()?

Your proposal seems a bit tidier to me. I'd be :+1:

If we don't remove tls_config, maybe we should reimplement it in terms of the new extension trait internally for better coverage?

Implemented a "maximalist" approach with two new traits, that deprecates the old tls_config*() API.

Updated the README and also used the new ConfigBuilder::crypto_provider() API to make sure we use the matching crypto provider.


add ability to snap to n items

Hi @chrisbanes .
I need a feature to snap n items, not only one.
I'd appreciate if you'll look on my changes to support this case or at least to say if snapper is going to support this case.

This feature is already covered by the maximumFlingDistance parameter. You can provide the width of 2 items in pixels, using the given SnapperLayoutInfo.

It's a bit different.
For example it should scroll per 3 items.
After you lift the finger, it should scroll to the index multiple to 3.

Ahhhh, so it's snapping to groups of items? Let me have a think on what the API could look like for this.

Had a think through this today and I think the API for this should be something like:
rememberSnapperFlingBehavior(
    lazyListState = ...,
    snapIndex = { calculatedTargetIndex ->
       // round down/up to nearest group
    }
)

WDYT?

Nice, it works perfectly as far as I tested.


[PI8]: Plutus Remote Environment

PI Objective description
No response
Related Epics

[ ] Product discovery
[ ] POC of the Plutus Remote Environment

[ ] Set up environment infrastructure
[ ] Set up minimal ptt examples
[ ] VSCode integration
[ ] Codespace integration

[ ] Request budget from Intersect

Status
Commited

TODO: Move the repo to input-output-hk and link to the Plutus HA Board


Institution Whitelist implementation

Depends on https://github.com/SURFnet/Stepup-Middleware/pull/87

:pray: @rjkip

Wicked. Ship it! :+1:


allow creating users as non-root on dev server

That's a lot easier than I expected -- definitely a feature I've been waiting for!


Moving career templates to career folder

Moving all the career templates to the career folder
Removals

Removed the /templates/summaries folder

Changes

Moved the LinkedIn and Careers feedback templates to the careers folder to keep with the other career templates

Testing

Visit http://localhost:7000/careers/working-at-cfpb/
Visit http://localhost:7000/careers/working-at-cfpb/

Review

@anselmbradford
@jimmynotjim
@sebworks

Preview
Preview this PR without the whitespace changes
Notes

This was discussed in chat to keep all the section-specific templates in that section to make it easier to find templates.

:+1:

Thanks!


Docker service takes long to start

I found out that with version 1.10 installed on some devices it could take docker several minutes before it started. I was researching another issue with a service that wouldn't start at boot and found out that docker wasn't starting quickly. Checking the logs didn't help and adding debug didn't give any solution as well.
Then I went to check out the 1.11-rc2 and found that it was starting quickly and I tried to install that docker version on an 1.10 build.
The new docker version did give me a hint, why it wasn't starting:
crypto/rand: blocked for 60 seconds waiting to read random data from the kernel
Then I installed haveged, which sometimes is also needed for hostapd, and that seemed to solve my problem and docker start immediately.

So, it doesn‘t take too long with 1.11.0-rc2?

For now the 1.11.0-rc2 looks good, but I haven't tested it yet on a Raspberry Pi 0 W, where I first found the problems. In fact I'm not using docker yet on these machines, so that could be part of the problem.

Found the time to do some testing. It also occurs with the 1.11.0-rc2.
It happens probably because I remove cloud-init, as I take over with ansible after the first boot.

Confirmed it now on a Raspberry Pi 1, only removing cloud-init makes docker wait for the system to get enough randomness.


[Feature] Support for Spanish locale

Provide Spanish translation

My Editor cleans trailing white spaces, and there is... some. :sweat_smile:
For a clean diff, ignore whitespaces [?w=1]: https://github.com/dwqs/v2-datepicker/pull/18/files?w=1

Thanks


Why does auto_bind() bind SQL_FLOAT to SQL_C_DOUBLE instead of SQL_C_FLOAT?

Looking at the implementation file I see that the template method get_ref_impl() can handle SQL_C_FLOAT c type. However, it appears that SQL_C_FLOAT is not being used at all in the switch case block in the auto_bind(). Is this an oversight or intentional?

I based that code off of https://msdn.microsoft.com/en-us/library/ms714556(v=VS.85).aspx which seems to indicate that SQLDOUBLE and SQLFLOAT both correspond to the C identifier SQL_C_DOUBLE. It looks like SQLREAL is what corresponds to SQL_C_FLOAT.

I see. That's actually make sense.

Yeah, I'm not too sure on the logic behind why things are mapped out like this.


Add lens

Lens seems to use some xdg directories for parts of it, but not for its extensions directory.
Relevant Issue: https://github.com/lensapp/lens/issues/2494

Thanks!


Getting  "android.view.InflateException: Binary XML file line #24: Error inflating class com.lapism.searchview.SearchView .... Caused by: java.lang.ClassCastException: android.support.constraint.ConstraintLayout cannot be cast to android.widget.LinearLayout"

So I tried adding the library via "compile project(':searchview')" and I am getting the following error:
android.view.InflateException: Binary XML file line #24: Error inflating class com.lapism.searchview.SearchView .... Caused by: java.lang.ClassCastException: android.support.constraint.ConstraintLayout cannot be cast to android.widget.LinearLayout
I haven't changed anything on the library so I am not sure why I'm getting this error.
I am also having this issue in the search_view.xml file regarding the ConstrainedLayout which may be related to my error:
This view is not constrained, it only has designtime positions, so it will jump to (0,0) unless you add constraints less... (Ctrl+F1)
The layout editor allows you to place widgets anywhere on the canvas, and it records the current position with designtime attributes (such as layout_editor_absoluteX.) These attributes are not applied at runtime, so if you push your layout on a device, the widgets may appear in a different location than shown in the editor. To fix this, make sure a widget has both horizontal and vertical constraints by dragging from the edge connections.

you should use version from jCenter or branch version5.


Backport "Port pc find references from metals" to LTS

Backports #20544 to the LTS branch.
PR submitted by the release tooling.
[skip ci]

No regressions detected in the community build up to lts-20902.
Reference


SuccessExitStatus=143

Hi!
I am currently trying to use your provided services on CentOS 7 with confluent-platform.
They are currently not working because the call to e.g. /usr/bin/kafka-server-start -daemon /etc/kafka/server.properties doesn't actually return exit status 143, rather a simple 0, to me.
What made you put there 143?
The actual script being run in the chain of shell scripts (/usr/bin/kafka-run-class) is:
# Launch mode
if [ "x$DAEMON_MODE" = "xtrue" ]; then
  nohup $JAVA $KAFKA_HEAP_OPTS $KAFKA_JVM_PERFORMANCE_OPTS $KAFKA_GC_LOG_OPTS $KAFKA_JMX_OPTS $KAFKA_LOG4J_OPTS -cp $CLASSPATH $KAFKA_OPTS "$@" > "$CONSOLE_OUTPUT_FILE" 2>&1 < /dev/null &
else
  exec $JAVA $KAFKA_HEAP_OPTS $KAFKA_JVM_PERFORMANCE_OPTS $KAFKA_GC_LOG_OPTS $KAFKA_JMX_OPTS $KAFKA_LOG4J_OPTS -cp $CLASSPATH $KAFKA_OPTS "$@"
fi

which simply doesn't set any exit status.

OK. Forget this. I have misunderstood SystemExitStatus. I probably have other internal issues.


Enable for- and if-like possibilities

FsHttp once worked good for me, i was missing ability to use for and if constructs in the CE body though

https://github.com/SchlenkR/FsHttp/blob/62f07985e5bc0396861e22343f3c3ec68141b97c/src/FsHttp/Dsl.CE2.fsx


Update creating-a-codespace.md

Why:
Closes [issue link]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@muddylotus
Thanks for opening a PR :+1: Please fill out "why" and "what's being changed" in the pull request template in the top comment in this pull request, so I can get this up for review!

@
This seems to be opened accidentally, I am going to close it now :yellow_heart: Take a look at the contributing.md to learn how to contribute in this repo. You can open a discussion if you have any questions :sparkles:


Fetched active media session of unknown type: <class 'plexapi.video.EpisodeSession'>

I'm getting errors when playing media.
Fetched active media session of unknown type: <class 'plexapi.video.EpisodeSession'>
I'm also wondering if I need to set something up in Discord?

plexapi was changed a few months back.  I would install plexapi version 4.8.0 for now until this project gets updated.
pip install plexapi==4.8.0


Break up big regex; Support process names with numbers, periods, and slashes

The title about says it all :)
The main regex should be easier to understand, fix, and enhance now.

Hmm, I guess I'm using modern language features here that requires Node 6.
FWIW, Node 6 becomes LTS this Saturday. The Future Is Near.

Ah yes I forgot about the 'use strict' requirement under node 4.x. I implemented your suggestion and now tests are passing, thanks.

Merged in via https://github.com/vdemedes/syslog-parse/commit/a333586c5999c0d6d2a9961d6b02b50dccbe5f06. Big thanks! 🎆

Published as 1.3.0.


log file check for ID prefixes

Malformed GO ID was not reported in logs....
/GO="aspect=P; term=spermidine acetylation; GOid=O:0032918; evidence=ISS; db_xref=GO_REF:0000024; with=UniProtKB:P21673; date=20140929"

also doesn't report "UniProt" instead of "UniProtKB" (led to problem in https://github.com/pombase/website/issues/410)

Hi @kimrutherford was this covered when you made recent additional checks on the artemis data loaded?

GOid=O:0032918

That should give a warning now.

also doesn't report "UniProt" instead of "UniProtKB"

There is no checking of the with values except for making sure there is a prefix.  It does check that the prefix is sensible.  I'll fix that.

Here are is a list of the prefixes in Chado and how often they are used.  Could you let me know if this list looks OK?  Could you let me know which of these prefixes are valid?
I'll add a query to the chado-checks that warns about any prefix not on your list.  The query results will include the publication, session, gene and term of the annotation with the dodgy "with".
    prefix        | count
------------------+-------
AGI_LocusCode     |     5
CBS               |     6
dictyBase         |     1
EC                |   208
ECOGENE           |     7
FB                |     8
GO                |    95
InterPro          |  1598
MGI               |    19
Panther           |     1
PANTHER           |    32
PDB               |     2
Pfam              |   847
PomBase           |  3318
RGD               |     2
SGD               |  5368
SUPERFAMILY       |     1
UniPathway        |    86
UniProtKB         |  1547
UniProtKB-KW      |  1776
UniProtKB-SubCell |    73
UniRule           |     2
WB                |     2

I think all are correct, except "Panther" case which I will fix now. More than reported, possibly because of redundancy filtering.
chromosome1.contig:FT                   BDH1 ortholog; db_xref=Panther:PTHR43490; date=20170625"
chromosome1.contig:FT                   YKL128C; db_xref=Panther:PTHR43387; date=20170627"
chromosome1.contig:FT                   db_xref=Panther:PTHR43016:SF3; date=20170726"
chromosome1.contig:FT                   YKL128C; db_xref=Panther:PTHR43387; date=20170627"
chromosome2.contig:FT                   YBL029C-A; db_xref=Panther:PTHR28139; date=20170618"
chromosome3.contig:FT                   with=Panther:PTHR23029; date=20170625"
chromosome3.contig:FT                   db_xref=Panther:PTHR15892; date=20170227"
chromosome3.contig:FT                   in fungi; db_xref=Panther:PTHR10957; date=20170618"
chromosome3.contig:FT                   in metazoa; db_xref=Panther:PTHR10957; date=20170618"
chromosome3.contig:FT                   in vertebrates; db_xref=Panther:PTHR10957; date=20170618"
chromosome3.contig:FT                   in eukaryotes; db_xref=Panther:PTHR10957; date=20170618"
chromosome3.contig:FT                   in eukaryoties only; db_xref=Panther:PTHR10957;
chromosome3.contig:FT                   db_xref=Panther:PTHR10957; date=20170618"
chromosome3.contig:FT                   YPL161C; db_xref=Panther:PTHR10957; date=20170618"
chromosome3.contig:FT                   db_xref=Panther:PTHR10957; date=20170618"

fixed

I've added Chado check to catch illegal "with" prefixes.  It will report the problematic ID, the session ID and the PubMed ID.


Clean tox output hiding warnings

When using tox, all warnings set within NLTK are currently displayed. This makes tox output less readable. For example:
py34 runtests: commands[1] | python runtests.py ../app/__init__.py
nltk/nltk/app/__init__.py:29: UserWarning: nltk.app package not loaded (please install Tkinter library).
  warnings.warn("nltk.app package not loaded "

This PR aims to hide all warnings by setting a specific environment variable during tox tests:
PYTHONWARNINGS=ignore

I would like to have your opinion about it. I personally prefer having a clean tox output, especially since these warnings do not currently affect tests.
In any case, I think it would be a good idea to also write specific tests for warnings. For example, since tox tests will not install many optional dependencies, we could check that a warning is actually displayed when some module tries to use them (see for example twitter/__init__.py). If you think this could be a good idea, please let me know so that I can start working on it.

@fievelk: please go ahead with your proposal to write specific tests for warnings and submit a new PR when you're ready. Thanks!


Features/four digit display

Add a driver for the 4digitDisplay of SeeedStudio

Thanks for the contribution! Unfortunately, this project is meant to be only for the drivers provided in the kit itself. The readme we just added has more information. However, we don't want to lose your contribution either, so we'd be happy to see it added to the wiki list of community drivers available at https://forums.ghielectronics.com/t/available-drivers/20534

No problem, I'll do a new repo on GitHub, with this driver.


Add support for recursive url loader

https://twitter.com/attila_ibs/status/1673661554732986369

this should probably have a nesting and/or total limit


SALEOR 3115 Fix EditorJS inline formatting

I want to merge this change because... it fixes inline formatting in rich text editors - it was impossible to save bold, italic, link and strikethrough.

PR intended to be tested with API branch:  master
Screenshots

Pull Request Checklist

[ ] This code contains UI changes
[ ] All visible strings are translated with proper context including data-formatting
[ ] Attributes [data-test-id] are added for new elements
[ ] Changes are mentioned in the changelog
[ ] The changes are tested in different browsers and in light/dark mode

Test environment config

API_URI=https://qa.staging.saleor.cloud/graphql/

Task linked: SALEOR-3115 Formatting not saved in rich text editors


If ratpack.server.ServerConfig#getAddress is null, set brave host/loc…

…al endpoint to first site-local java.net.NetworkInterface#getNetworkInterfaces instead of loopback
@hyleung @llinder @jeff-blaisdell please take a look

Codecov Report

Merging #21 into master will decrease coverage by 0.89%.
The diff coverage is 79.31%.

@@             Coverage Diff             @@
##             master      #21     +/-   ##
===========================================
- Coverage     91.27%   90.38%   -0.9%
- Complexity       87       90      +3
===========================================
  Files            18       18
  Lines           298      312     +14
  Branches         15       17      +2
===========================================
+ Hits            272      282     +10
- Misses           22       25      +3
- Partials          4        5      +1

Impacted Files
Coverage Δ
Complexity Δ

...in/internal/RatpackServerClientLocalSpanState.java
98.21% <100%> (+0.06%)
13 <3> (+1)
:arrow_up:

.../main/java/ratpack/zipkin/ServerTracingModule.java
85.93% <68.42%> (-4.45%)
13 <2> (+2)

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 fe7cfc3...de80cbf. Read the comment docs.

removed a constructor, added some tests


Provide Canvas Underlay to make zoom behavior more obvious

When zooming the canvas the user's perception of what is happening would be enhanced if there was a different colored rectangle under the nodes and comments.

Fixed


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Bad code insert after accepted suggested answer

Type: Bug
After Accepted suggested answer, the inserted code is repeated in a strange way many times and result is unamageable.
I have to come back and copy the suggested answer and close copilot interface.

Chat
Editor Inline Chat
Copilot Edits
Quick Chat

A screenshot would help a ton.

Editor Inline Chat, I asked fix with copilot to add a simple docstring in python.
The answer was correct but when I accept, Copilot add a lot of mixed code (docstring and my original code many times).

Cancel and repeat the operation gave me the same result.

Please share the code and prompt that was involved here


0.88 Breaking change for custom components

from the beta release notes:

Note for custom component developers: We are moving to a new file structure. Platforms now live embedded in components. Custom platforms will have to be updated to follow this pattern. This is a breaking change in case your custom platform overrides a built-in platform. Rename your custom platform from, ie light/hue.py to hue/light.py.

https://rc--home-assistant-docs.netlify.com/blog/2019/02/13/release-88/

Fixed by 97b46b9. Tested both 0.87 and 0.88 dev and it is compatible with both.


It doesn't work on Alpine Linux（Actually in iSH app）

Environment
platform (result of "uname -a")
Linux iPhone-7-Plus 4.20.69-ish SUPER AWESOME May 20 2023 23:41:32 i686 Linux
Note: Alpine Linux's default shell is ash. This may be crucial.
uv version
0.1.26
Method of reproducing
I'm afraid you have to try to find an Apple device and install iSH to reproduce.
issue
I use iSH app to simulate linux on iPhone. Using pip in this case is unbearably slow. So I tried to install uv.
I tried four times, but the installation was not successful. The following are the details of my four attempts.

I first installed it using the package manager: "apk add uv" (apk is the package manager of Alpine Linux.)  Output shows that there is no such package. Then I ran "apk search uv", still no.

I ran the installation command in readme. But it raised an error: ERROR: there isn't a package for i686-unknown-linux-musl-dynamic. I didn't delve into the reason.

I downloaded uv-i686-unknown-linux-musl.tar.gz, uncompressed it, and tried running the "uv" file in it. It raised an error again:

thread 'tokio-runtime-worker' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/multi_thread/worker.rs:656:12thread 'tokio-runtime-worker' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/multi_thread/worker.rs:656:12:
:
attempt to calculate the remainder with a divisor of zero
attempt to calculate the remainder with a divisor of zero
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Segmentation fault

I thought it might not work this way, So I tried to find another.

I browsed the installation script and modified the part of the architecture check. I let it to install i686-unknown-linux-musl directly. The installation went smoothly. The output looks like this:

downloading uv 0.1.26 i686-unknown-linux-musl
installing to /root/.cargo/bin
  uv
everything's installed!

To add $HOME/.cargo/bin to your PATH, either restart your shell or run:

    source $HOME/.cargo/env

I ran "source $HOME/.cargo/env" and then ran "uv", still not working. Error message was the same as the second time.
my request
Please see what's wrong with this. Alpine Linux is popular after all.
PS: uv is such a cool program!

Thanks for the issue. We do support Alpine (ref #1392) but perhaps not on i686.
Could you share the output with RUST_BACKTRACE=1?

Ok, this is the screenshot.


Dimming actuators aren't discovered

Describe The Bug:
The dimming actuators from Busch Jeager do not show up in the apple home app. Normal light switches work, dimmers do not.
To Reproduce:
Connect to free@home system with dimming actuators.
Expected behavior:

Dimming actuator shows up in the home app
Allow to turn on and off the light
Allow setting the brightness level

Logs
[30/12/2023, 14:31:58] [Busch Jaeger] Connection opened
[30/12/2023, 14:31:59] [Busch Jaeger] Restoring existing accessory from cache: Hoek lamp
[30/12/2023, 14:31:59] [Busch Jaeger] Restoring existing accessory from cache: Hoek lamp
[30/12/2023, 14:31:59] [Busch Jaeger] Restoring existing accessory from cache: Switch Woonkamer
[30/12/2023, 14:31:59] [Busch Jaeger] Restoring existing accessory from cache: Switch
[30/12/2023, 14:31:59] [Busch Jaeger] Restoring existing accessory from cache: Switch
[30/12/2023, 14:31:59] [Busch Jaeger] Restoring existing accessory from cache: Hal
[30/12/2023, 14:31:59] [Busch Jaeger] Restoring existing accessory from cache: Voorgevel
[30/12/2023, 14:31:59] [Busch Jaeger] Restoring existing accessory from cache: Poort
[30/12/2023, 14:31:59] [Busch Jaeger] Discovery completed: 8 accessories detected
System
Node.js: v18.18.2
SAP: 2.399
Screenshots:

Not sure this is a bug or a just a kind of accessory that is not supported (yet). My plugin communicates with the System Access Point using the local API REST interface. Each device type has a unique function ID and devices with the same function ID use the same data points to exchange information. The reason the actuators are not recognizes could simply be that they have a different function ID compared to the other (e.g. wired) dimming actuators that the plugin does not know. If a device is reported by the SysAP that the plugin does not recognize, it ignores it.
To support a new device type I need to know the data points on which the device provides data and expects updates. And for that I need a sample configuration from the device. I have created a guide (here: https://github.com/pgerke/homebridge-freeathome-local-api/wiki/Retrieving-the-Configuration-for-a-Device-from-the-System-Access-Point) as to how retrieve a device configuration from the System Access Point. If you provide the configuration, I can try and support the new type in the plugin.

Thanks for the quick response and clarification. Looks like it should be a feature request instead of bug. Hereby the device info.
{
  "00000000-0000-0000-0000-000000000000": {
    "devices": {
      "ABB702FB83EF": {
        "floor": "01",
        "room": "04",
        "interface": "RF",
        "displayName": "Lamp",
        "unresponsive": false,
        "unresponsiveCounter": 0,
        "defect": false,
        "channels": {
          "ch0001": {
            "floor": "01",
            "room": "04",
            "displayName": "Lamp",
            "functionID": "1010",
            "inputs": {
              "idp0000": {
                "pairingID": 256,
                "value": "0"
              },
              "idp0001": {
                "pairingID": 18,
                "value": "0"
              },
              "idp0002": {
                "pairingID": 257,
                "value": "0"
              },
              "idp0003": {
                "pairingID": 273,
                "value": "0"
              },
              "idp0004": {
                "pairingID": 261,
                "value": "0"
              },
              "idp0005": {
                "pairingID": 262,
                "value": "0"
              },
              "idp0006": {
                "pairingID": 278,
                "value": "0"
              },
              "idp0007": {
                "pairingID": 359,
                "value": "0"
              },
              "idp0008": {
                "pairingID": 272,
                "value": "0"
              },
              "idp0009": {
                "pairingID": 277,
                "value": "0"
              }
            },
            "outputs": {
              "odp0000": {
                "pairingID": 1,
                "value": "0"
              },
              "odp0001": {
                "pairingID": 4,
                "value": "0"
              },
              "odp0002": {
                "pairingID": 418,
                "value": "65535"
              },
              "odp0003": {
                "pairingID": 360,
                "value": "0"
              },
              "odp0004": {
                "pairingID": 16,
                "value": "0"
              }
            },
            "parameters": {
              "par0002": "50",
              "par0001": "50",
              "par0007": "1"
            }
          },
          "ch0007": {
            "floor": "01",
            "room": "04",
            "displayName": "Lamp",
            "functionID": "101a",
            "inputs": {
              "idp0000": {
                "pairingID": 256,
                "value": "0"
              },
              "idp0002": {
                "pairingID": 359,
                "value": "0"
              },
              "idp0006": {
                "pairingID": 272,
                "value": "0"
              }
            },
            "outputs": {
              "odp0000": {
                "pairingID": 1,
                "value": "0"
              },
              "odp0001": {
                "pairingID": 418,
                "value": "65535"
              },
              "odp0002": {
                "pairingID": 360,
                "value": "0"
              },
              "odp000f": {
                "pairingID": 16,
                "value": "0"
              },
              "odp0010": {
                "pairingID": 17,
                "value": "0"
              }
            },
            "parameters": {
              "par0010": "1"
            }
          },
          "ch000d": {
            "floor": "01",
            "room": "04",
            "displayName": "Lamp-Ⓐ",
            "functionID": "1810",
            "inputs": {
              "idp0000": {
                "pairingID": 1,
                "value": "0"
              },
              "idp0001": {
                "pairingID": 2,
                "value": "0"
              },
              "idp0002": {
                "pairingID": 3,
                "value": "0"
              },
              "idp0003": {
                "pairingID": 4,
                "value": "0"
              },
              "idp0004": {
                "pairingID": 6,
                "value": "0"
              },
              "idp0005": {
                "pairingID": 16,
                "value": "0"
              },
              "idp0006": {
                "pairingID": 17,
                "value": "0"
              },
              "idp0007": {
                "pairingID": 18,
                "value": "0"
              },
              "idp0008": {
                "pairingID": 428,
                "value": "0"
              }
            },
            "outputs": {
              "odp0000": {
                "pairingID": 256,
                "value": "0"
              },
              "odp0001": {
                "pairingID": 272,
                "value": "0"
              },
              "odp0002": {
                "pairingID": 357,
                "value": "4"
              },
              "odp0003": {
                "pairingID": 273,
                "value": "0"
              },
              "odp0004": {
                "pairingID": 257,
                "value": "0"
              },
              "odp0005": {
                "pairingID": 417,
                "value": "65535"
              },
              "odp0006": {
                "pairingID": 429,
                "value": "0t+0"
              }
            },
            "parameters": {
              "par0003": "1",
              "par0004": "1",
              "par013f": "100",
              "par0005": "100",
              "par0012": "100",
              "par0015": "60",
              "par0029": "1",
              "par00fe": "2"
            }
          }
        },
        "parameters": {
          "par00ed": "1",
          "par0038": "553713923"
        }
      }
    }
  }
}

Thanks for providing the config file! I'll check it out when I have a minute!

Hi @SimonLit, you can try version 1.11.0-pre.0. If you enable "Experimental Accessories", the wireless dimming actuator should be recognized and usable. Any feedback you can give me is highly appreciated!

@pgerke Thanks for updating the code. Works like a charm. Many thanks.

Very happy to hear that, @SimonLit! Then I'll release the change later today.

Release as v1.11.0. Please note that the experimental flag is no longer required in the officially released version.


Unable to download [circledet_monuseg_hg]

Should be fixed now. Thanks!
Model Zoo

unable to open the website   ( https://vanderbilt.app.box.com/s/a487y8swbjssfogtpbpnb8wsn50fvdm3)

That’s interesting — it works on my end without any credentials.
Can you access box.com http://box.com/?

On Feb 20, 2023, at 9:44 PM, lili @.***> wrote:
unable to open the website ( https://vanderbilt.app.box.com/s/a487y8swbjssfogtpbpnb8wsn50fvdm3 https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvanderbilt.app.box.com%2Fs%2Fa487y8swbjssfogtpbpnb8wsn50fvdm3&data=05|01|ethan.h.nguyen%40mail-service-3-mx.vanderbilt.edu|6ecd88be40f645470a5a08db13bde77d|ba5a7f39e3be4ab3b45067fa80faecad|0|0|638125478570823647|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=UMlXBH7Ff6izDwiM7kGohMZs1Sm3BmsswNoahqkyim4%3D&reserved=0)
—
Reply to this email directly, view it on GitHub https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhrlblab%2FCircleNet%2Fissues%2F22%23issuecomment-1437818130&data=05|01|ethan.h.nguyen%40mail-service-3-mx.vanderbilt.edu|6ecd88be40f645470a5a08db13bde77d|ba5a7f39e3be4ab3b45067fa80faecad|0|0|638125478570823647|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=WLOBkWuf17Vy12OG5hoFzV8oz47hma4elPwbSVe5lB0%3D&reserved=0, or unsubscribe https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFQ7ZQ72J6WS6HKPHSYY5WLWYQ2Y5ANCNFSM6AAAAAAVCN2XJU&data=05|01|ethan.h.nguyen%40mail-service-3-mx.vanderbilt.edu|6ecd88be40f645470a5a08db13bde77d|ba5a7f39e3be4ab3b45067fa80faecad|0|0|638125478570823647|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=aSweQTT%2FRHyyamnTG17jF4fbzgVJgNxoM%2FqdJXClqNo%3D&reserved=0.
You are receiving this because you modified the open/close state.

unfortunately ,i can not open http://box.com/   ,That's my problem.    thanks!!


Missing online documentation for HPX 0.9.11

The page http://stellar.cct.lsu.edu/docs/ has no pointers to the documentation for version 0.9.11.

That should be fixed now, thanks!


Rule proposal single_quote

Ref https://cs.symfony.com/doc/rules/string_notation/single_quote.html
I'd like to introduce it with the default value:
--- Original
+++ New
 <?php

-$a = "sample";
+$a = 'sample';
 $b = "sample with 'single-quotes'";

What happens to string with variables like "hello $name"?

It's good:

Same for \n:

Then :+1: fine by me


Change documentation of k-step to list default as 10

Thanks for doing that. I just didn't want us to have to learn that lesson again in the future.


TypeError: ClassificationModelTrainer.trainModel() got an unexpected keyword argument 'num_objects'

I've been trying to follow these instructions on both Windows and Linux but I constantly come up against the error:
TypeError: ClassificationModelTrainer.trainModel() got an unexpected keyword argument 'num_objects'
when I run the training model.
Am I missing a dependency or something?

Kindly check the documentation: https://imageai.readthedocs.io/en/latest/customdetection/index.html
The function trainModel() no longer accept parameters. Parse them into setTrainConfig() instead


tf.config.set_soft_device_placement() seems to have no effect

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
MacOSX 10.13.6
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
N/A
TensorFlow installed from (source or binary):
binary
TensorFlow version (use command below):
VERSION='2.0.0-dev20190527'
GIT_VERSION='v1.12.1-2821-gc5b8e15064'
Python version:
3.5
Bazel version (if compiling from source):
N/A
GCC/Compiler version (if compiling from source):
N/A
CUDA/cuDNN version:
CUDA 10.0 (it's just a Colab GPU instance)
GPU model and memory:
Tesla P4 15079MiB

Describe the current behavior
The tf.config.set_soft_device_placement() function seems to have no effect when I create an integer variable and try to place it on a GPU, I still get an exception.
Describe the expected behavior
I expect soft placement to fallback to using the CPU. No error.
Code to reproduce the issue
import tensorflow as tf
tf.config.set_soft_device_placement(True)
with tf.device("/gpu:0"):
    f = tf.Variable(42)

Other info / logs
The code above causes the following exception:
---------------------------------------------------------------------------
NotFoundError                             Traceback (most recent call last)
<ipython-input-3-1babaf613bc3> in <module>()
      2 tf.config.set_soft_device_placement(True)
      3 with tf.device("/gpu:0"):
----> 4     f = tf.Variable(42)

10 frames
/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/variables.py in __call__(cls, *args, **kwargs)
    260       return cls._variable_v1_call(*args, **kwargs)
    261     elif cls is Variable:
--> 262       return cls._variable_v2_call(*args, **kwargs)
    263     else:
    264       return super(VariableMetaclass, cls).__call__(*args, **kwargs)

/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/variables.py in _variable_v2_call(cls, initial_value, trainable, validate_shape, caching_device, name, variable_def, dtype, import_scope, constraint, synchronization, aggregation, shape)
    254         synchronization=synchronization,
    255         aggregation=aggregation,
--> 256         shape=shape)
    257
    258   def __call__(cls, *args, **kwargs):

/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/variables.py in <lambda>(**kws)
    235                         shape=None):
    236     """Call on Variable class. Useful to force the signature."""
--> 237     previous_getter = lambda **kws: default_variable_creator_v2(None, **kws)
    238     for _, getter in ops.get_default_graph()._variable_creator_stack:  # pylint: disable=protected-access
    239       previous_getter = _make_getter(getter, previous_getter)

/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/variable_scope.py in default_variable_creator_v2(next_creator, **kwargs)
   2549       synchronization=synchronization,
   2550       aggregation=aggregation,
-> 2551       shape=shape)
   2552
   2553

/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/variables.py in __call__(cls, *args, **kwargs)
    262       return cls._variable_v2_call(*args, **kwargs)
    263     else:
--> 264       return super(VariableMetaclass, cls).__call__(*args, **kwargs)
    265
    266

/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/resource_variable_ops.py in __init__(self, initial_value, trainable, collections, validate_shape, caching_device, name, dtype, variable_def, import_scope, constraint, distribute_strategy, synchronization, aggregation, shape)
    462           synchronization=synchronization,
    463           aggregation=aggregation,
--> 464           shape=shape)
    465
    466   def __repr__(self):

/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/resource_variable_ops.py in _init_from_args(self, initial_value, trainable, collections, caching_device, name, dtype, constraint, synchronization, aggregation, shape)
    616               shared_name=shared_name,
    617               name=name,
--> 618               graph_mode=self._in_graph_mode)
    619         # pylint: disable=protected-access
    620         if (self._in_graph_mode and initial_value is not None and

/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/resource_variable_ops.py in eager_safe_variable_handle(initial_value, shape, shared_name, name, graph_mode)
    223   dtype = initial_value.dtype.base_dtype
    224   return variable_handle_from_shape_and_dtype(
--> 225       shape, dtype, shared_name, name, graph_mode, initial_value)
    226
    227

/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/resource_variable_ops.py in variable_handle_from_shape_and_dtype(shape, dtype, shared_name, name, graph_mode, extra_handle_data)
    139                                                    shared_name=shared_name,
    140                                                    name=name,
--> 141                                                    container=container)
    142   if extra_handle_data is None:
    143     extra_handle_data = handle

/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/gen_resource_variable_ops.py in var_handle_op(dtype, shape, container, shared_name, name)
   1416       else:
   1417         message = e.message
-> 1418       _six.raise_from(_core._status_to_exception(e.code, message), None)
   1419   # Add nodes to the TensorFlow graph.
   1420   dtype = _execute.make_type(dtype, "dtype")

/usr/local/lib/python3.6/dist-packages/six.py in raise_from(value, from_value)

NotFoundError: No registered 'VarHandleOp' OpKernel for GPU devices compatible with node {{node VarHandleOp}}
	 (OpKernel was found, but attributes didn't match) Requested Attributes: container="", dtype=DT_INT32, shape=[], shared_name="cd2c89b7-88b7-44c8-ad83-06c2a9158347"
	.  Registered:  device='GPU'; dtype in [DT_VARIANT]
  device='GPU'; dtype in [DT_INT64]
  device='GPU'; dtype in [DT_COMPLEX128]
  device='GPU'; dtype in [DT_COMPLEX64]
  device='GPU'; dtype in [DT_BOOL]
  device='GPU'; dtype in [DT_DOUBLE]
  device='GPU'; dtype in [DT_FLOAT]
  device='GPU'; dtype in [DT_HALF]
  device='CPU'
  device='XLA_CPU'
  device='XLA_GPU'
 [Op:VarHandleOp] name: Variable/

Also, if I activate soft placement and I try to place an operation on a GPU device that does not exist, I still get an exception. I expected TF to fallback to using the CPU:
import tensorflow as tf
tf.config.set_soft_device_placement(True)
with tf.device("/gpu:1"):
    f = tf.Variable(42.0)

Raises this exception:
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-1-3a03536f5e27> in <module>
      2 tf.config.set_soft_device_placement(True)
      3 with tf.device("/gpu:1"):
----> 4         f = tf.Variable(42.5)
      5

~/miniconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/ops/variables.py in __call__(cls, *args, **kwargs)
    259       return cls._variable_v1_call(*args, **kwargs)
    260     elif cls is Variable:
--> 261       return cls._variable_v2_call(*args, **kwargs)
    262     else:
    263       return super(VariableMetaclass, cls).__call__(*args, **kwargs)

~/miniconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/ops/variables.py in _variable_v2_call(cls, initial_value, trainable, validate_shape, caching_device, name, variable_def, dtype, import_scope, constraint, synchronization, aggregation, shape)
    253         synchronization=synchronization,
    254         aggregation=aggregation,
--> 255         shape=shape)
    256
    257   def __call__(cls, *args, **kwargs):

~/miniconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/ops/variables.py in <lambda>(**kws)
    234                         shape=None):
    235     """Call on Variable class. Useful to force the signature."""
--> 236     previous_getter = lambda **kws: default_variable_creator_v2(None, **kws)
    237     for _, getter in ops.get_default_graph()._variable_creator_stack:  # pylint: disable=protected-access
    238       previous_getter = _make_getter(getter, previous_getter)

~/miniconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/ops/variable_scope.py in default_variable_creator_v2(next_creator, **kwargs)
   2542       synchronization=synchronization,
   2543       aggregation=aggregation,
-> 2544       shape=shape)
   2545
   2546

~/miniconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/ops/variables.py in __call__(cls, *args, **kwargs)
    261       return cls._variable_v2_call(*args, **kwargs)
    262     else:
--> 263       return super(VariableMetaclass, cls).__call__(*args, **kwargs)
    264
    265

~/miniconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/ops/resource_variable_ops.py in __init__(self, initial_value, trainable, collections, validate_shape, caching_device, name, dtype, variable_def, import_scope, constraint, distribute_strategy, synchronization, aggregation, shape)
    462           synchronization=synchronization,
    463           aggregation=aggregation,
--> 464           shape=shape)
    465
    466   def __repr__(self):

~/miniconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/ops/resource_variable_ops.py in _init_from_args(self, initial_value, trainable, collections, caching_device, name, dtype, constraint, synchronization, aggregation, shape)
    607             initial_value = ops.convert_to_tensor(
    608                 initial_value() if init_from_fn else initial_value,
--> 609                 name="initial_value", dtype=dtype)
    610           # Don't use `shape or initial_value.shape` since TensorShape has
    611           # overridden `__bool__`.

~/miniconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/framework/ops.py in convert_to_tensor(value, dtype, name, preferred_dtype, dtype_hint)
   1095   preferred_dtype = deprecation.deprecated_argument_lookup(
   1096       "dtype_hint", dtype_hint, "preferred_dtype", preferred_dtype)
-> 1097   return convert_to_tensor_v2(value, dtype, preferred_dtype, name)
   1098
   1099

~/miniconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/framework/ops.py in convert_to_tensor_v2(value, dtype, dtype_hint, name)
   1153       name=name,
   1154       preferred_dtype=dtype_hint,
-> 1155       as_ref=False)
   1156
   1157

~/miniconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/framework/ops.py in internal_convert_to_tensor(value, dtype, name, as_ref, preferred_dtype, ctx, accept_symbolic_tensors, accept_composite_tensors)
   1232
   1233     if ret is None:
-> 1234       ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
   1235
   1236     if ret is NotImplemented:

~/miniconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/framework/constant_op.py in _constant_tensor_conversion_function(v, dtype, name, as_ref)
    303                                          as_ref=False):
    304   _ = as_ref
--> 305   return constant(v, dtype=dtype, name=name)
    306
    307

~/miniconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/framework/constant_op.py in constant(value, dtype, shape, name)
    244   """
    245   return _constant_impl(value, dtype, shape, name, verify_shape=False,
--> 246                         allow_broadcast=True)
    247
    248

~/miniconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/framework/constant_op.py in _constant_impl(value, dtype, shape, name, verify_shape, allow_broadcast)
    252   ctx = context.context()
    253   if ctx.executing_eagerly():
--> 254     t = convert_to_eager_tensor(value, ctx, dtype)
    255     if shape is None:
    256       return t

~/miniconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/framework/constant_op.py in convert_to_eager_tensor(value, ctx, dtype)
    109       return ops.EagerTensor(
    110           value, handle, device, dtype, tensor)
--> 111     t = ops.EagerTensor(value, handle, device, dtype)
    112     scalar_cache[cache_key] = t
    113     return t

RuntimeError: Error copying tensor to device: /job:localhost/replica:0/task:0/device:GPU:1. /job:localhost/replica:0/task:0/device:GPU:1 unknown device.

Hey, have you had a look at this example from the GPU guide at tensorflow.org
tf.debugging.set_log_device_placement(True)
# Create some tensors
a = tf.constant([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]])
b = tf.constant([[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]])
c = tf.matmul(a, b)
print(c)
To me it looks like TF is choosing which device is then suitable to execute this op:

If enabled, an op will be placed on CPU if any of the following are true
1. there's no GPU implementation for the OP
2. no GPU devices are known or registered
3. need to co-locate with reftype input(s) which are from CPU

(from TF config

Hi @lufol,
Thanks for your answer. Yes I saw this doc, that's actually why I filed this bug. I don't see what soft placement would change in this example.
I expect soft placement to change something when the user requests a specific device but there is no op for that device, or the device does not exist. This would be useful if you want to write a program and deploy it on machines that may or may not have GPUs, for example. So on a machine without any GPU, I expect the following code to work without any error, and just fallback to placing the variable on the CPU:
tf.config.set_soft_device_placement(True)
with tf.device("/gpu:0"):
    x = tf.Variable(1.0)

Perhaps I'm misunderstanding what set_soft_device_placement() is designed for?

Oh, got it, soft placement is actually active by default, it's the default placement logic.

From what I understand, you either use

tf.config.set_soft_device_placement(True) to let tf automatically decide, which device to use.

or you use tf.config.set_soft_device_placement(False) and decide for each tensor where to place it like this with tf.device('/CPU:0'): ...

So I guess in your case the first option would be best.

Hi @lufol,
I just ran some tests, and it really seems like tf.config.set_soft_device_placement(False) makes no difference at all. Whether it's True or False, the default behavior is applied.
I'm quite puzzled.

Have tried to reproduce on Colab with TF 2.0.0-dev20190527  with set_soft_device_placement as True as well as False and was able to get same result in both the scenarios as mentioned in the issue.

Yes @ageron , you are right.
But I guess at least the doc does not explicitly says to execute the tensors on CPU if tf.config.set_soft_device_placement(False) according to the doc:

If enabled, an op will be placed on CPU if any of the following are true
1. there's no GPU implementation for the OP
2. no GPU devices are known or registered
3. need to co-locate with reftype input(s) which are from CPU

Maybe one could add something to the doc explaining the behaviour if tf.config.set_soft_device_placement() is set to False?

@jaingaurav any comments?

Sorry for the delay. There have been multiple discussions about this internally. It seems that soft placement is respected by tf.function but not by the tf.device placement. We'd like to resolve this, however given it is a behavior change we're unlikely to be able to change the default in 1.0.

Thanks @jaingaurav. I'm just thinking about TF 2.0, I understand that it must keep the same behavior in TF 1.0.


[Notebook Hello Segmentation] segmented image result is not displaying expected image

Describe the bug
The expected image is not being displayed.
Expected behavior

*Output

.take

@sarang-26 could you share:

which OS are you using?
your hardware (CPU and GPU)
did the issue happen on both CPU & GPU?
OpenVINO version

Closing issue, feel free to re-open or start a new issue if additional assistance is needed.


Rename BlockUsages -> Usages.

Remove tracking of usages for blocks as they are unused.

This change is

crates/cairo-lang-lowering/src/lower/test_data/usage line 84 at r1 (raw file):

  Changes: ParamId(test::a)::b::c, ParamId(test::b),
  Snapshot_Usage:
  Introductions: LocalVarId(test::h),

Note that this was changed, as it is introduced in the body of the loop and not in the loop it self.
Code quote:
 Introductions: LocalVarId(test::h),

crates/cairo-lang-lowering/src/lower/usage.rs line 156 at r2 (raw file):
Previously, orizi wrote…
typo

Updated the comments.

Previously, orizi wrote…
doesn't this change remove the need of printing introductions?

Done,
It was not always empty for closures, but we didn't use that information.


Heapster containers are being killed

It seems that after 10 min or so, k8s kills heapster pods and removes rc.
FIRSTSEEN                         LASTSEEN                          COUNT     NAME           KIND                    SUBOBJECT   REASON             SOURCE                      MESSAGE
Mon, 01 Feb 2016 15:34:03 -0800   Mon, 01 Feb 2016 15:34:03 -0800   1         heapster-v10   ReplicationController               SuccessfulCreate   {replication-controller }   Created pod: heapster-v10-9djcs
Mon, 01 Feb 2016 15:34:03 -0800   Mon, 01 Feb 2016 15:34:03 -0800   1         heapster-v10-9djcs   Pod                 Scheduled   {scheduler }   Successfully assigned heapster-v10-9djcs to ip-10-72-9-107.us-west-2.compute.internal
Mon, 01 Feb 2016 15:34:03 -0800   Mon, 01 Feb 2016 15:34:03 -0800   1         heapster-v10-9djcs   Pod       implicitly required container POD   Pulled    {kubelet ip-10-72-9-107.us-west-2.compute.internal}   Container image "gcr.io/google_containers/pause:0.8.0" already present on machine
Mon, 01 Feb 2016 15:34:03 -0800   Mon, 01 Feb 2016 15:34:03 -0800   1         heapster-v10-9djcs   Pod       implicitly required container POD   Created   {kubelet ip-10-72-9-107.us-west-2.compute.internal}   Created with docker id d71af43c5d13
Mon, 01 Feb 2016 15:34:03 -0800   Mon, 01 Feb 2016 15:34:03 -0800   1         heapster-v10-9djcs   Pod       implicitly required container POD   Started   {kubelet ip-10-72-9-107.us-west-2.compute.internal}   Started with docker id d71af43c5d13
Mon, 01 Feb 2016 15:34:03 -0800   Mon, 01 Feb 2016 15:34:03 -0800   1         heapster-v10-9djcs   Pod       spec.containers{heapster}   Pulled    {kubelet ip-10-72-9-107.us-west-2.compute.internal}   Container image "gcr.io/google_containers/heapster:v0.18.2" already present on machine
Mon, 01 Feb 2016 15:34:03 -0800   Mon, 01 Feb 2016 15:34:03 -0800   1         heapster-v10-9djcs   Pod       spec.containers{heapster}   Created   {kubelet ip-10-72-9-107.us-west-2.compute.internal}   Created with docker id 0ad4599f1a95
Mon, 01 Feb 2016 15:34:03 -0800   Mon, 01 Feb 2016 15:34:03 -0800   1         heapster-v10-9djcs   Pod       spec.containers{heapster}   Started   {kubelet ip-10-72-9-107.us-west-2.compute.internal}   Started with docker id 0ad4599f1a95
Mon, 01 Feb 2016 15:41:01 -0800   Mon, 01 Feb 2016 15:41:01 -0800   1         heapster-v10-9djcs   Pod       spec.containers{heapster}   Killing   {kubelet ip-10-72-9-107.us-west-2.compute.internal}   Killing with docker id 0ad4599f1a95
Mon, 01 Feb 2016 15:41:01 -0800   Mon, 01 Feb 2016 15:41:01 -0800   1         heapster-v10-9djcs   Pod       implicitly required container POD   Killing   {kubelet ip-10-72-9-107.us-west-2.compute.internal}   Killing with docker id d71af43c5d13

Heapster container logs does not show any errors.

I have the same issue with os 1.1.3
Only heapster pod is being deleted, no error in the logs, just:
Killing container with docker id 97b2aa607729: Need to kill pod.
in the events.

Update: this issue is most likely due to "corrupted" heapster-controller.yaml during kube up. Which resulted in installation where heapster-controller.yaml was entirely missing on kube master under: /etc/kubernetes/addons/cluster-monitoring/influxdb/. They way I understand it k8s is using salt to keep installed kube-system components in check. Since heapster-controller.yaml was originally missing, adding it after the fact violated the state captured in salt, hence the controller was deleted.
I stood up new cluster with "corrected" heapster-controller.yaml and heapster pod is running as expected.

Ok, I'll wait for the image openshift/origin-metrics-deployer to be updated and will try again then.
Thanks!

/cc @mwringe

@gravis How exactly does this relate to origin-metrics? This doesn't sound like the issue with the yaml file would apply to origin-metrics. Could you please open a new issue for the issue you are seeing when running with the origin-metrics components (https://github.com/openshift/origin-metrics/issues)?

@gravis its not mixing up projects and if you have specific questions or issues about Heapster, then please file them here :) The origin-metrics project does things a bit differently in terms of deployment and if you hare having problems deploying components than its likely the fault of origin-metrics and not related to Heapster directly.

This is no longer an issue after hipster controller was fixed. Also, this does not repro in 1.2.x.
Closing.


Docs: is_published is a property not a method

As demonstrated by this test and this source.

Thanks for the fix!
Cheers


A long comment expands the table in the address book

A long comment expands the table in the address book

Checked


Improve test coverage for complex function chosen by Aleksey

I have chosen Compile function from internal/shaderir/msl/msl.go. Initial branch coverage is 0.7857142857142857.

Coverage improvement of the function reached 95%. Further coverage improvement is not possible, since the last two untaken branches are not possible to reach. They are related to condition len(lines) > 0 && lines[len(lines)-1] != "" on line 95. Both parts of this conditions are always true. This is probably a nice catch for refactoring.


Duplicate snippet issues

http://prntscr.com/9fkh0s

Did this occur when the styleguide node server was running (started with gulp task)?

Need testing


feat: Support negative numbers in LogQL

Mirrors https://github.com/grafana/loki/pull/13091
Adds negative number support to the LogQL parser.

Works for both ints and floats.
Negative durations are already supported.
Negative bytes are not supported because the humanize library does not support them

@matyax do you want to wait with this until https://github.com/grafana/loki/pull/13091 is merged, as this is currently not supported by loki.

https://github.com/grafana/loki/pull/13091 merged


Users should be able to specify whether to use their Gravatar

We should allow users to be able to use their Gravatar as their avatar. Add a checkbox to the user profile edit form.

I have already done it, and it is ready to be checked.
It is located inside EditInfo.vue component.

This is specific to Gravatar. This should be just a checkbox, then use the gravatar for the avatar. No need to input an address or anything.


"Application terminated" notifications not appearing

Testing <IP_ADDRESS>542, with application blocking enabled the notification does not appear when an attempt is made to launch one of the blocked applications. When I reverted to <IP_ADDRESS>503, the notifications were displayed again.

please try https://github.com/macadmins/nudge/releases/tag/v<IP_ADDRESS>544

App blocking is working, notifications are working, but blurring stopped working. I tested .81544 and .81545.

I didn't touch the blur code, so that doesn't make much sense to me, but we discussed on slack that I need more info for the blur. Closing this one since it's fixed.


Unclear which Tessel was affected when unspecified

Have a look:
➜  t2-cli git:(adhoc) t2 wifi --off
INFO Looking for your Tessel...
INFO Connected to trendelmame.
INFO Connected to Mariano.
INFO Wifi Disabled.

... so which one got Wifi disabled?
(it was trendelmame)

I believe it works on whichever Tessel was connected first, though hard to verify due to https://github.com/tessel/t2-cli/issues/850

Either way... there shouldn't be two Tessels in that list :(


Not responsive on Mobile

The education and mail on the website is NOT responsive on Mobile:

is it better now?

Yes! Thanks.

Yes! Thanks.


Running with 17 patches and hash encoding has alerts.

ALERT: some points are outside bounding box. Clipping them!
Like in such image: this is not a good sign.

Ground truth warpings are not out of bounds

Positional encoding has the same problem

so it's not a specific problem to hash encoding.


AMQP-784: Fix multi method @RabbitListener

JIRA: https://jira.spring.io/browse/AMQP-784
When looking for matching methods, we matched on no annotation or @Payload.
Match should have been no annotation(s) or not @Header.
cherry-pick to 1.7.x

... and cherry-picked as https://github.com/spring-projects/spring-amqp/commit/4f4d0c57de4cb9040823c868f0b14f7157ec3370 after replacing @NonNull (Spring 5) to @Validated (Spring 4).


Vim 8.2.2421 fails to build on Ubuntu 20.04

Ubuntu 20.04,  Trying to build vim 8.2.2421 fails as follows:
In file included from arglist.c:14:
arglist.c: In function ‘check_arglist_locked’:
arglist.c:29:9: error: ‘e_cannot_change_arglist_recursively’ undeclared (first use in this function); did you mean ‘e_cannot_change_list_item’?
   29 |  emsg(_(e_cannot_change_arglist_recursively));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim.h:548:25: note: in definition of macro ‘_’
  548 | # define _(x) ((char *)(x))
      |                         ^
arglist.c:29:9: note: each undeclared identifier is reported only once for each function it appears in
   29 |  emsg(_(e_cannot_change_arglist_recursively));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim.h:548:25: note: in definition of macro ‘_’
  548 | # define _(x) ((char *)(x))
      |                         ^
make[1]: *** [Makefile:3143: objects/arglist.o] Error 1
make[1]: Leaving directory '/opt/bld/vim/src'
make: *** [Makefile:29: first] Error 2

The problem must be sometime within the last <10 patchlevels, because I build successfully within the last couple of days.

I'm getting the same error on MacOS via Homebrew on my M1 MacBook Air, so it must be fairly universal.
HEAD is now at 5ed58c7 patch 8.2.2421: double free when using autocommand with "argdel"
==> ./configure --prefix=/opt/homebrew --mandir=/opt/homebrew/Cellar/vim/HEAD-5ed58c7/share/man --enable-multibyte --with-tlib=ncurses --with-compiledby=Homebrew --enable-cscope --enable-terminal --enable-perlinterp --enable-ruby
==> make
Last 15 lines from ~/Library/Logs/Homebrew/vim/02.make:
clang -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X -DMACOS_X_DARWIN  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/blowfish.o blowfish.c
arglist.c:29:9: error: use of undeclared identifier 'e_cannot_change_arglist_recursively'; did you mean 'e_cannot_change_list_item'?
        emsg(_(e_cannot_change_arglist_recursively));
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               e_cannot_change_list_item
./vim.h:539:33: note: expanded from macro '_'
#  define _(x) gettext((char *)(x))
                                ^
./errors.h:273:13: note: 'e_cannot_change_list_item' declared here
EXTERN char e_cannot_change_list_item[]
            ^
1 error generated.
make[1]: *** [objects/arglist.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [first] Error 2

I'm getting the same error on MacOS via Homebrew on my M1 MacBook Air, so it must be fairly universal.
HEAD is now at 5ed58c7 patch 8.2.2421: double free when using autocommand with "argdel"
==> ./configure --prefix=/opt/homebrew --mandir=/opt/homebrew/Cellar/vim/HEAD-5ed58c7/share/man --enable-multibyte --with-tlib=ncurses --with-compiledby=Homebrew --enable-cscope --enable-terminal --enable-perlinterp --enable-ruby
==> make
Last 15 lines from ~/Library/Logs/Homebrew/vim/02.make:
clang -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X -DMACOS_X_DARWIN  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/blowfish.o blowfish.c
arglist.c:29:9: error: use of undeclared identifier 'e_cannot_change_arglist_recursively'; did you mean 'e_cannot_change_list_item'?
        emsg(_(e_cannot_change_arglist_recursively));
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               e_cannot_change_list_item
./vim.h:539:33: note: expanded from macro '_'
#  define _(x) gettext((char *)(x))
                                ^
./errors.h:273:13: note: 'e_cannot_change_list_item' declared here
EXTERN char e_cannot_change_list_item[]
            ^
1 error generated.
make[1]: *** [objects/arglist.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [first] Error 2

Same error on Ubuntu 16.04

Same error on Ubuntu 16.04

looks like this is from https://github.com/vim/vim/releases/tag/v8.2.2421
and looks like a global configuration e_cannot_change_arglist_recursively is missing

looks like this is from https://github.com/vim/vim/releases/tag/v8.2.2421
and looks like a global configuration e_cannot_change_arglist_recursively is missing

Fixed by 8.2.2423

Fixed by 8.2.2423


Unable to change the timeout when using mountService in ServletContextSyntax.scala

Comment from @rossabaker
Oh, I see the problem
https://github.com/http4s/http4s/blob/master/servlet/src/main/scala/org/http4s/servlet/syntax/ServletContextSyntax.scala
We're setting the timeout there, but not passing it through as a param. That's bad design.

@rossabaker should this be closed as completed in https://github.com/http4s/http4s/pull/6037 ?

Yep!


Correct scaffolding example to use correct type.

Scaffolding uses string not text. Rails uses string as well so that seems consistent. This PR just corrects the example.

Using text in the example serves 2 purposes:

Within the rails context, text usually generated a textarea (for a blog post)
Here in the docs, it serves to show there are more than just 1 type of field, so it is educative (if everything is string a user might thing they should always use string for everything)

This is why I believe the example should remain as is. But, is there anything else you noticed that i missed?

I will double check the behavior later tonight but I believe using the text field in scaffold yielded a broken migration and broken code. my suggestion to use string was a result of that failure. I'll reproduce it tonight and look for a better solution.


complete file paths with env var's

For example, :edit $VIMRUNTIME does not complete

Should be fixed now.

Somehow it still appends the whole expanded path after $VIMRUNTIME

Tested with
set nocompatible
let $LANGUAGE='en_US.utf-8'

let &rtp = '~/.vim/plugged/vimsuggest/' . ',' . &rtp

filetype plugin indent on
syntax on

and Vim 9.1.840

Though the screenshot only shows $VIM, it is the same after $VIMRUNTIME

I tested this scenario and it is working for me. Can you make sure you get 0 when you type :echo 'edit $VIM' !~ '\$'?

Yes, I get 0. However, it's patch level 892, not 840

I type :e $VIMRUNTIME/<tab> and out comes /usr/... replacing <tab>

I am at patch 850.  Do you have this line (file autoload/vimsuggest/cmd.vim) ?

Yankcode gives me
#  autoload/vimsuggest/cmd.vim (line 201)
if options.wildignore && cmdstr =~# $'^\s*{cmdpat}\s' && cmdstr !~ '\$'

This sounds impossible. Can you do echo getcompletion('e $VIM', 'cmdline') and see what it prints?

~
['VIM', 'VIMRUNTIME']

The screenshot was by mistake. The same behavior after completing $VIMRUNTIME

All of this defies logic. Can you put a echom 'here' after the if statement in line 201 above, and see if it gets printed (:messages) when you run your use case?

cmd.zip
Of course. I just reproduced on Debian 12 (after Ubuntu 22.04)

The here is not shown.

Sorry for late response. Pl. try now.

Thank you!