Multi select px-dropdown not refreshing checkboxes for item when bound data is modified

Expected behavior and actual behavior:
I'm having an issue with the px-dropdown control in multi select mode not refreshing the state of its checkboxes in the UI when the data backing the control is modified by a second control. I have a UI with a dropdown and a basic dom-repeat based list control (with remove buttons for each item) bound to the same array of items. When the bound data is modified by the list control (to set an item's checked property to false), the checkbox in the dropdown does not uncheck.
Specifically:

When I checked one of the items in the dropdown, the change would be reflected in my list control (which filters based on item.checked == true). Unchecking in the dropdown would cause the item to be removed from my list. So, data binding and change events from dropdown -> list control are working fine.

When I click the remove button in my list control, the item's checked property is set to false and it disappears from my list control, but the checkbox for that item in the dropdown remains checked.

Some debugger investigation showed that the bound array's data was updated correctly and that the dropdown's items collection also had the right data. We also found that the _itemsChanged function in the dom-repeat template from the dropdown was being called, which suggests that the dom-repeat does know that something changed.
However, for whatever reason the checkbox itself is not refreshed to indicate the data has changed.
Steps to reproduce the problem:
Should be reproduceable simply by adding a px-dropdown bound to an array of data, then adding a button that takes one of those elements and changes it's checked property. I was using dom-repeat's event.model.set to modify the item that was clicked, but even when going against the root's this.set and modifying the item in the array collection itself, the behaviour still occurred.
Environment (component version number, Browser (including version), operating system, hardware, etc):
Found using version 2.2.11 of the px-dropdown component in Chrome 56.0.2924.87 on Windows.

I'm able to edit the bound array on our demo page and the checkbox is checking/unchecking as expected. How are you binding the array to both your list and dropdown - Polymer or Angular or some other method?
One "gotcha" to keep in mind is that the array is expecting checked as a boolean and not a string, since both "checked": "true" and "checked": "false" evaluate as truthy. You'll either need "checked": false, or to completely remove the checked property from the object when it's dropped from your list component. It could be coming down to whatever binding method you're using and how it serializes booleans.

We do have a little bit of Angular in our application, but it's way up the hierarchy and both of our controls are inside the same Polymer element, so I don't think Angular would be involved.
Both controls are two way bound to a property of the Polymer element containing the key value pairs that back the dropdown/list. The array is initialized with no checked property, with the dropdown adding those properties when they are checked and my list setting them to false when they are removed via the list.
The list was setting the checked property of the element being removed to false in a click event handler using event.model.set("item.checked", false).

Would you be able to reproduce the issue in a codepen? It would help a lot investigating the root cause of the problem.

You may also need to use notifyPath? See https://www.polymer-project.org/1.0/docs/devguide/model-data#notify-path

So I don't mind trying to reproduce it in a codepen, but I'm not super familiar with it. I'm trying to create a polymer element that'd duplicate what I've got, but I'm not sure how to inline it (or alternatively import it from another codepen?). Any tips there?

@jeff-green
Go to the dropdown page on predix-ui.com and click on the pencil icon - that will open a new window with dropdown pre-configured in it.

I update px-dropdown version to newest version. However, I still have the same issue. Do we have any solution for this case now? Thanks.

I have a not very nice but working fix as this is more like a workaround by adding the following code in px-dropdown-content.html file from the v3.1.1
    observers: [
      '_syncView(computedItems, computedItems.*)'
    ],
    _syncView: function (computedItems) {
      Array.from(this.root.querySelectorAll('#list input[type=checkbox]'))
          .forEach(function (input) {
            if (computedItems[this.$.dropdownItems.indexForElement(input)].checked !== input.checked)
              input.checked = computedItems[this.$.dropdownItems.indexForElement(input)].checked;
          }, this);
    },

But I don't know how to open a pull request, for a potential release v3.1.2 as the file doesn't exist anymore in master that is released under prerelease of version 4, and there is no branch for v3.

We completely rebuilt dropdown for v4, please let us know if this issue is still valid for the new version and we can reopen.


Delta Lake is not compatible with pyspark 2.4.3

Hi Delta Lake team,
I tried to setup for Delta Lake by following this instruction and got the same error as described in this issue. I also left comment about the error and environment in that issue.
Today I tried to downgrade my pyspark version to 2.4.2 and it worked:
pyspark --packages io.delta:delta-core_2.12:0.1.0
Python 2.7.16 (default, Apr 12 2019, 15:32:40)
[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Ivy Default Cache set to: /Users/xuc/.ivy2/cache
The jars for the packages stored in: /Users/xuc/.ivy2/jars
:: loading settings :: url = jar:file:/usr/local/lib/python2.7/site-packages/pyspark/jars/ivy-2.4.0.jar!/org/apache/ivy/core/settings/ivysettings.xml
io.delta#delta-core_2.12 added as a dependency
:: resolving dependencies :: org.apache.spark#spark-submit-parent-bbcee9fd-e9b9-444d-88ac-389b062944c6;1.0
	confs: [default]
	found io.delta#delta-core_2.12;0.1.0 in central
:: resolution report :: resolve 195ms :: artifacts dl 2ms
	:: modules in use:
	io.delta#delta-core_2.12;0.1.0 from central in [default]
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|      default     |   1   |   0   |   0   |   0   ||   1   |   0   |
	---------------------------------------------------------------------
:: retrieving :: org.apache.spark#spark-submit-parent-bbcee9fd-e9b9-444d-88ac-389b062944c6
	confs: [default]
	0 artifacts copied, 1 already retrieved (0kB/6ms)
19/05/31 12:05:28 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
Welcome to
      ____              __
     / __/__  ___ _____/ /__
    _\ \/ _ \/ _ `/ __/  '_/
   /__ / .__/\_,_/_/ /_/\_\   version 2.4.2
      /_/

Using Python version 2.7.16 (default, Apr 12 2019 15:32:40)
SparkSession available as 'spark'.
>>> data = spark.range(5, 10)
>>> data.write.format("delta").mode("overwrite").save("/tmp/delta-table")
>>> exit()

Wonder if there is some compatibility issue?

Hi Chen,
There was a bug where Spark 2.4.2 was built with Scala 2.12 instead of 2.11. So if you're using Spark 2.4.2, you need to use Delta Lake 2.12, but for 2.4.3 (and future 2.4.x versions) use Delta Lake 2.11.

Got it. Thanks!

@mukulmurthy It seems the quickstart doc is not up-to-date for Spark 2.4.3.

You're correct; thanks for calling that out. We'll fix that.

Hi, we are facing the same issue 'module not found: io.delta#delta-core_2.12;1.0.0' and we have spark-3.1.2-bin-hadoop3.2

"connection reset" sounds like connection issues with maven servers.


How to create a custom server

Hi, I tried several times but still cannot connect to both sides. So, I want to set up my own server, but how?

Do you know how to build it now?

https://github.com/peers/peerjs-server，This is a peerjs-server project, although I still failed


lua-resty-http

I am using lua-resty-http module.
In nginx.conf:
Server {
lua_package_path "/usr/local/ngx_openresty-<IP_ADDRESS>/build/lua-resty-http/lib/?.lua;;";
location ~ /abc/ {
    content_by_lua '

  local http = require "resty.http"
  local httpc = http.new()
  local res, err = httpc:request_uri("https://example.com/national/DetailPage/test", {
    method = "POST",
    body = "a=1&b=2",
    headers = {
      ["Content-Type"] = "application/x-www-form-urlencoded",
    }
  })

  if not res then
    ngx.say("failed to request: ", err)
    return
  end

  ngx.status = res.status

  ngx.say(res.body)
';
  }

}
Note : https://example.com is development server
content_by_lua code is not executing . can you please help me to get out of this ??

It doesn't seem like you're even getting as far as having a problem with resty-http.
I'd suggest you try the general openresty mailing list first: https://groups.google.com/forum/?fromgroups=#!forum/openresty-en
Also thats a very old version of openresty you're running.
Probably try just adding some ngx.log statements to ensure you're actually executing the code you think you are.

@hamishforbes
root@8e783b83713b:/usr/local/openresty/lualib# ls
cjson.so  ngx  rds  redis  resty
this is what you have say ngx context?
the work environment is:
what you have seen "root@8e783b83713b:" is   the openresty docker container that i run the command "docker pull openresty/openresty:xenial" form the internet


Add dist dir to gitignore

npm run build creates a build directory in dist. We can add this dir to gitignore.

This change is

Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

.gitignore, line 10 at r1 (raw file):

npm-debug.log
.DS_Store
dist

can you make this dist/ just so that it mirrors the style from above (and it's clear it's a dir)

Comments from Reviewable

@nsthorat Thanks for checking. I updated accordingly.

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

Comments from Reviewable

Update this branch and then I will merge it (someone added something else to gitignore)!


[Feature Request] Ability to sort the workers grid by columns. or at least name.

Would be handy to be able to sort them by the names.

I am not even sure the Bootstrap table supports sorting by names since the name is an input field. I will leave this open though, maybe someone feels like trying this out (and verifies that submitting changes updates those rows as expected even when sorted).

Given a template that initializes DataTables on the worker table (which is not the case by default), sorting the Worker Login column is just a matter of adding data-sort="{$username.1}" to the  in the template. In this way, sorting could easily be applied to the "Active" and "Monitor" columns as well.
DataTables is one of my least favorite plugins, but maybe I can take this on later.


Hub and Spoke architecture - Internet access

Hi,
I'm from Avande and I'm working on a large Cloud Transition project. We are considering deployng Hub and Spoke architecture in two Azure Regions, mainly for redundancy. Our plan was to use the Hubs as centralised Internet ingress/egress point, but we have been told that this approach is deprecated and that, in case of web services present in the spokes, Microsoft preferred solution is to have the spokes accessing the Internet directly, without passing through the Hub.
Can you confirm that this scenario is now Microsoft preferred approach?
Thanks and regards
Danilo

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

ID: f9bc9f39-cae7-2967-dfd5-58caa34452d1
Version Independent ID: 9118485a-56d8-ce9e-fbfd-6e66be87a611
Content: Hub and spoke network topology - Cloud Adoption Framework
Content Source: docs/ready/azure-best-practices/hub-spoke-network-topology.md
Service: cloud-adoption-framework
Sub-service: ready
GitHub Login: @tracsman
Microsoft Alias: brblanch

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 465345

Hi,
I'm from Avande and I'm working on a large Cloud Transition project. We are considering deployng Hub and Spoke architecture in two Azure Regions, mainly for redundancy. Our plan was to use the Hubs as centralised Internet ingress/egress point, but we have been told that this approach is deprecated and that, in case of web services present in the spokes, Microsoft preferred solution is to have the spokes accessing the Internet directly, without passing through the Hub.
Can you confirm that this scenario is now Microsoft preferred approach?
Thanks and regards
Danilo
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f9bc9f39-cae7-2967-dfd5-58caa34452d1
Version Independent ID: 9118485a-56d8-ce9e-fbfd-6e66be87a611
Content: Hub and spoke network topology - Cloud Adoption Framework
Content Source: docs/ready/azure-best-practices/hub-spoke-network-topology.md
Service: cloud-adoption-framework
Sub-service: ready
GitHub Login: @tracsman
Microsoft Alias: brblanch

Hello Danilo,
Just a clarification: you state 'Microsoft preferred solution is to have the spokes accessing the Internet directly, without passing through the Hub'
We are talking about ingress from Internet to workload; not outbound connectivity from workload/Spoke to Internet. In the former case, the latest guidance is below (and for latter case, scroll to bottom):
https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/traditional-azure-networking-topology (In this last link we state explicitly: Don't deploy Layer-7 inbound NVAs, such as Azure Application Gateway, as a shared service in the central-hub virtual network. Instead, deploy them together with the application in their respective landing zones.)
https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/plan-for-app-delivery
https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/plan-for-landing-zone-network-segmentation
https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/ready/enterprise-scale/
For outbound internet connectivity from Spoke, it may traverse the Hub (Azure FW in hub) depending on the scenario:
https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/plan-for-inbound-and-outbound-internet-connectivity
Regards,
-krish


[BUG]Contact Us form email functionality

The "send us email" functionality doesn't work in the contact form.

I would love to work on this and make it work, as I have done a project previously just by using PHP and mySQL. So please assign this to me. If you are willing to please add GSSOC and HACTOBERFEST tags.

Hey @BlitzIQ-Coder, Sounds cool. you can start working on it. You can forward the emails to<EMAIL_ADDRESS>

Thank you I'll need assist with few things, so where can i contact u personally?

Sure, Here's my linkedin - https://www.linkedin.com/in/vimall03/


Additional tracker

Slovenian COVID-19 tracker is missing from the Europe subsection. You can use any of the two below, but the former seems to be more detailed.

https://covid-19.sledilnik.org/en/stats
https://covid19.alpaka.si/en/

Thanks, added.


Rewrite read functions

The read functions repeat too much code between them. Perhaps there should be a master function that takes care of the for loop?

New version begun in branch reading, with the following commit: https://github.com/deadlyraptor/contact-copy/commit/61f3c79f5b4d3b67f63058b78f02309c708472c6.


AppvSequencer PowerShell reference update

1882606
Add 2 param descriptions in a couple of places. Minor changes to total of 3 cmdlets.

Docs Build status updates of commit 09b561a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/appvsequencer/Expand-AppvSequencerPackage.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/appvsequencer/New-AppvSequencerPackage.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/appvsequencer/Update-AppvSequencerPackage.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 47e0c23:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/appvsequencer/Expand-AppvSequencerPackage.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/appvsequencer/New-AppvSequencerPackage.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/appvsequencer/Update-AppvSequencerPackage.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

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

File
Status
Preview URL
Details

docset/winserver2022-ps/appvsequencer/Expand-AppvSequencerPackage.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/appvsequencer/New-AppvSequencerPackage.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/appvsequencer/Update-AppvSequencerPackage.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@tiburd We got approval for the text changes. Ready for technical review.

@tiburd It looks like this one is approved and ready to merge -

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

File
Status
Preview URL
Details

docset/winserver2022-ps/appvsequencer/Expand-AppvSequencerPackage.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/appvsequencer/New-AppvSequencerPackage.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/appvsequencer/Update-AppvSequencerPackage.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Scroll position slightly off for really long madlibs

Describe the bug
Examples of problems when sticking madlib header contains really long conditions / place names and needs more vertical space; the scrolling is a little off. This is a pretty rare edge case that doesn't break anything just doesn't look as spiffy so deprioritizing this fix.
To Reproduce
Steps to reproduce the behavior:

Go to /exploredata?mls=1.substance-3.02198&mlp=disparity&dt1=covid_hospitalizations&demo=race_and_ethnicity&dt2=covid_hospitalizations

Expected behavior
Scroll position and menu placement should be dynamically calculated off the header height, to keep it looking pretty.
Screenshots

agree with your prioritization on this - work as time allows


Editor Wish: moving a list element

If I had a nickel for every time I moved elements of a Dart list around and forgot to fix up the commas.
In the example below, it would be nice if one could put the cursor within the "new Flexible(...)" statement, hit a magic key several times - moving the scope of the selection outward - until the entire new Flexible() list element was selected. Then, with a different magic key, move the list element elsewhere in the list.
  children: <Widget>[
    new Text(destination.description[0], style: descriptionStyle),
    new Text(destination.description[1], style: descriptionStyle),
    new Text(destination.description[2], style: descriptionStyle),
    new Flexible(
      child: new Row(
        justifyContent: FlexJustifyContent.start,
        alignItems: FlexAlignItems.end,
        children: <Widget>[
          new Padding(
            padding: const EdgeDims.only(right: 16.0),
            child: new Text('SHARE', style: buttonStyle)
          ),
          new Text('EXPLORE', style: buttonStyle)
        ]
      )
    )
  ]

This issue was moved to flutter/flutter-intellij#464


Security fix

Challenge derivation in non-interactive ZK proofs was ambiguous and that could lead to security vulnerability (however, it's unknown if it could be exploited). This PR makes challenge derivation unambiguous.
The fix was developed and reviewed privately. Fixed library version has been already released on crates.io.

Github deploy workflow was canceled, as I released the new library version to crates.io manually


Validation issue with +2347071928105 (NG)

This number was considered valid in previous version (tested with 7.0.2).
Country/region affected (e.g., "US"): NG
Example number(s) affected ("+1<PHONE_NUMBER>"): +2347071928105
The phone number range(s) to which the issue applies ("+1 555 555-XXXX"):
The type of the number(s) ("fixed-line", "mobile", "short code", etc.):
The cost, if applicable ("toll-free", "premium rate", "shared cost"):
Supporting evidence (for example, national numbering plan, announcement from mobile carrier, news article): https://www.naijatechguide.com/2008/10/reltel-rebrands-to-zoom-mobile-launches.html
IMPORTANT - anything posted here is made public. Read the guidelines first!
link to demo

Hi,
Thank you for taking the time to improve libphonenumber!
We were able to connect to +2347071928105. We've accepted this issue and will fix this in an upcoming release.
Please note that you have submitted this information with the knowledge that we may use, modify, reproduce, publicly display, and distribute the information in accordance with our open source policies. Please let us know if you did not intend to submit the information for such use.

This is fixed in release 7.7.4
https://libphonenumber.appspot.com/phonenumberparser?number=%2B2347071928105


Add consensus score in group mode

You could do one where you take the most common vote and another where you weigh it by confidence.


test1 case removed and java file edited

Make sure to make a feature branch and then merge it into develop. The only branch that is merged into main will be develop and develop is where the smaller features are merged into. This insures that if there are any breaking changes we know it will be isolated to just develop. This will become increasingly important when the site is up and running. Thanks!

@adammenker Ok thank you for the update
I will close this and do just that👍🏾


CASMINST-6843: Linting

More MitchLint. No content changes. Backports forthcoming.

/backport release/1.5 release/1.4


Linux support?

I recently started dipping my toes into playing P99 from a linux install and am having pretty good luck!
I've got eqtool running with proton 8 in steam and it works but it's a little rough looking.
I can keep running this way because it works, but I was curious about native linux support?
I'm happy to assist in any way that I can to make this happen, just let me know what I can do to help.
https://imgur.com/a/S6Hcgb4

Well, apparently I'm blind AND I can't read :)
I downloaded the linux release but am running into issues with it.
$ mono ./EQTool.exe
Can't find custom attr constructor image: /home/brandor5/Games/PigParseLinux/EQTool.exe mtoken: 0x0a00000d due to: Could not load file or assembly 'PresentationFramework, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.

Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'PresentationFramework, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
File name: 'PresentationFramework, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'PresentationFramework, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
File name: 'PresentationFramework, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

Linux support is painful. Pull requests welcome!!


feat: external argo list

Description
To add extrenal argo list
Fixes # (issue)
Type of change

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

Checklist:

[ ] The title of the PR states what changed and the related issues number (used for the release note).
[ ] Does this PR require documentation updates?
[ ] I've updated documentation as required by this PR.
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas

Customer demo Feature only


[proposal] Add didManagerUpdate to IDIDManager & implement IDIDManagerUpdateArgs to support full payload update operation

By adding this method DIDManager supports whole did payload updates for providers that intentionally follow this workflow, namely cheqd.
In the future, this can easily allow arbitrary data update by calculating diffs client-side as well.
In the current scope, diffs are calculated ledger side, submitting whole body payloads in each request.

Working on a PR with a proposed solution.


Reduce brightness of LED

It should be possible to change the brightness of the LEDs. As of now they are too bright.

Agree - I had to turn them off as they're blinding! Maybe some parameter that we can pass over command line?

I thought I had replied here but... Anyway, I submitted a new feature to control the brightness via a parameter in the command line for the 2mic example. It should be merged soon by synesthesiam.

May I ask your help to point me to the doc or where to find how to reduce the 2mic led brightness. Thank you!

Looks like the new feature has not yet been merged.

Looks like the new feature has not yet been merged.

Just fyi, It has been merged now. The brightness can be controlled with --led-brightness VALUE. Value should be between 1 and 32.


Demo Title of PR

Made my card

Thanks for your pr @visthruth21, welcome to the community :1st_place_medal: .


Fix issue when reading Lists in AEDT File.

Bug found. If no Lists are in the AEDT project it was returning a Log error ("Lists not found"). It is not an error because typically, the AEDT file will not have Lists.

Excellent fix @Samuelopez-ansys .


configuration does not work

I'm using following flags --disable=dupl, --dupl-threshold=500, --cyclo-over=15 - no effect (also after restart)
linter complains on "complexity 14" and "dull" code of 50 lines
I'm using Atom 1.6.1 and gometalinter 1.1.0

Have you tried those arguments on the command line? If that works the problem is with the editor configuration.

Command line it works.
Here is my editor config
"go-plus": {}
  "gometalinter-linter":
    args: [
      "--disable=dupl --dupl-threshold=500 --cyclo-over=15"
    ]

Ah. Each argument needs to be a separate string in the args list, not one big string.

Yep, you are right. Comma separated strings and adding --json (did not work without).


Missing url of blog in twitter

Hello,
I use your theme for my blog and I've a problem with the twitter link. When I click on twitter link, he only put end of url :
For example if I click on icon twitter, he put /tuto/fusion-inventory/
And not the full url, like this http://algorys.github.io/tuto/fusion-inventory in the tweet...
Is there a special configuration to do to avoid this problem or is it normal ?
My repo is here : https://github.com/algorys/algorys.github.io
Thanks for help.

You need to set url:  in your _config.yml file. Without it all links are relative and don't contain the domain, which is why the link shared to Twitter is missing it.
# _config.yml
url: //algorys.github.io

Oops so simple... Thanks for help.


fix isTomorrowSchoolHoliday (compare same date format)

Value of isTomorrowSchoolHoliday is not good because the date compared is not with the same format.
I use a new variable tomorrowDate to compare Date (example date from data.Education format API : 2022-07-06T22:00:00+00:00)
I test format with a node-red flow
[{"id":"ae2d2d3318e66511","type":"inject","z":"645130a2.77008","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":100,"y":660,"wires":[["5981843e04fe9e1d","d302d7665fa21c98"]]},{"id":"2cb97996aa853eea","type":"function","z":"645130a2.77008","name":"isTomorrowSchoolHoliday = true","func":"var today = new Date();\nvar tomorrow = new Date(today);\ntomorrow.setDate(today.getDate() + 1);\nmsg.tomorrow = tomorrow;\n\nvar start_date = new Date(msg.start_date);\nvar end_date = new Date(msg.end_date);\nvar isTomorrowSchoolHoliday = false;\nif (tomorrow >= start_date && tomorrow <= end_date) {\n    isTomorrowSchoolHoliday = true;\n}\nmsg.isTomorrowSchoolHoliday = isTomorrowSchoolHoliday;\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":530,"y":620,"wires":[["3d5cc857dea590e4"]]},{"id":"5981843e04fe9e1d","type":"change","z":"645130a2.77008","name":"","rules":[{"t":"set","p":"start_date","pt":"msg","to":"2022-07-06T22:00:00+00:00","tot":"str"},{"t":"set","p":"end_date","pt":"msg","to":"2022-08-31T22:00:00+00:00","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":280,"y":620,"wires":[["2cb97996aa853eea"]]},{"id":"d302d7665fa21c98","type":"change","z":"645130a2.77008","name":"","rules":[{"t":"set","p":"start_date","pt":"msg","to":"2022-03-06T22:00:00+00:00","tot":"str"},{"t":"set","p":"end_date","pt":"msg","to":"2022-03-31T22:00:00+00:00","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":280,"y":680,"wires":[["30057fcb240463a5"]]},{"id":"30057fcb240463a5","type":"function","z":"645130a2.77008","name":"isTomorrowSchoolHoliday = false","func":"var today = new Date();\nvar tomorrow = new Date(today);\ntomorrow.setDate(today.getDate() + 1);\nmsg.tomorrow = tomorrow;\n\nvar start_date = new Date(msg.start_date);\nvar end_date = new Date(msg.end_date);\nvar isTomorrowSchoolHoliday = false;\nif (tomorrow >= start_date && tomorrow <= end_date) {\n    isTomorrowSchoolHoliday = true;\n}\nmsg.isTomorrowSchoolHoliday = isTomorrowSchoolHoliday;\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":540,"y":680,"wires":[["b1419888b6690c4c"]]},{"id":"3d5cc857dea590e4","type":"debug","z":"645130a2.77008","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"isTomorrowSchoolHoliday","targetType":"msg","statusVal":"","statusType":"auto","x":850,"y":620,"wires":[]},{"id":"b1419888b6690c4c","type":"debug","z":"645130a2.77008","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"isTomorrowSchoolHoliday","targetType":"msg","statusVal":"","statusType":"auto","x":850,"y":680,"wires":[]}]

Thanks for merging :)


When trying offline mode, No Internet Connection even though assets are cached

Hello,
I have been having issues  when trying to run the PWA in offline mode.
I receive no error when running the "yarn encore dev --watch".
When checking the assets cached I can see that everything seems in place.
I am using  symfony 4.2 if that helps with encore and webpack
App.js file has the follwing code:
require('offline-plugin/runtime').install();
Webpack.config.js has the following:
Encore
  .setOutputPath("public/build/")
  // public path used by the web server to access the output path
  .setPublicPath("/build")
  // only needed for CDN's or sub-directory deploy
  //.setManifestKeyPrefix('build/')

  .addEntry("app", "./assets/js/app.js")
  .addEntry("home", "./assets/js/ocrMain.js")
  .addEntry("collection", "./assets/js/collection.js")
  .addEntry("snippet", "./assets/js/snippet.js")
  .addEntry("label", "./assets/js/label.js")
  .addEntry("snippet-list", "./assets/js/snippetList.js")

  // When enabled, Webpack "splits" your files into smaller pieces for greater optimization.
  .splitEntryChunks()

  // will require an extra script tag for runtime.js
  // but, you probably want this, unless you're building a single-page app
  .enableSingleRuntimeChunk()

  .cleanupOutputBeforeBuild()
  .enableBuildNotifications()
  .enableSourceMaps(!Encore.isProduction())
  // enables hashed filenames (e.g. app.abc123.css)
  .enableVersioning(Encore.isProduction())

  // enables @babel/preset-env polyfills
  .configureBabel(() => { }, {
    useBuiltIns: "usage",
    corejs: 3
  })

  .addPlugin(new CopyWebpackPlugin([
    { from: './assets/img', to: 'img' }
  ]))

  .addPlugin(new OfflinePlugin({
    ServiceWorker: {
      start_url: "./",
      externals: ['./'],
    }
  }))

  // uncomment if you're having problems with a jQuery plugin
  .autoProvidejQuery();

module.exports = Encore.getWebpackConfig();

Inside the sw.js I got at the beginning the following:
var __wpo = {
  "assets": {
    "main": [
      "/build/app.css",
      "/build/app.js",
      "/build/collection.js",
      "/build/home.js",
      "/build/label.js",
      "/build/runtime.js",
      "/build/snippet.js",
      "/build/snippet-list.js",
      "/build/vendors~app.css",
      "/build/vendors~app.js",
      "/build/vendors~app~collection~home~label~snippet~snippet-list.js",
      "/build/vendors~home.js",
      "/build/img/icons/icon-128x128.png",
      "/build/img/icons/favicon-128.png",
      "/build/img/icons/favicon-192.png",
      "/build/img/icons/icon-152x152.png",
      "/build/img/icons/icon-192x192.png",
      "/build/img/icons/icon-144x144.png",
      "/build/img/icons/icon-256x256.png",
      "/build/img/icons/logo.png",
      "/build/img/icons/icon-512x512.png",
      "/build/img/sky_loader_39_42.GIF",
      "/build/img/main.jpg"
    ],
    "additional": [],
    "optional": []
  },
  "externals": [],
  "hashesMap": {
    "bdf5e337196dfbfda4f79cdb532ae96afbe67bc2": "/build/app.css",
    "e648b8b948a8df311f37cdc15dfb50f577ce7ba0": "/build/app.js",
    "28816cac30deab3ebe7df7c4ce2c7d55062ab25f": "/build/collection.js",
    "edac3dcd9a3959dbee2300002e1057d2b0a3c5f0": "/build/home.js",
    "ab6ad3de0e63ef66404a4ab9405f79713519ae10": "/build/label.js",
    "4c245e0f951b0807eacbd9a15ed5405958d58d97": "/build/runtime.js",
    "ec5b791c50853401eb959776b315e83522500b17": "/build/snippet.js",
    "3bda66b23c8de88fc987e87eafe04b22fd8987ec": "/build/snippet-list.js",
    "884a98f9a3aedc99afaf4197b2ab1f744c174010": "/build/vendors~app.css",
    "9c69c7ac5649bdaf7885f189bc21cad0726822cd": "/build/vendors~app.js",
    "386f36318e1693aadfe9aec8b0415ef88fd714a7": "/build/vendors~app~collection~home~label~snippet~snippet-list.js",
    "a919b7bb788b46a54619076106dbecb73d1ab5be": "/build/vendors~home.js",
    "c4174cf73a0433bdf8e96e0160b2e48ad875c857": "/build/img/icons/favicon-128.png",
    "9e53f4ae19a3ad293c89593619795052fa9418f7": "/build/img/icons/icon-192x192.png",
    "45f99d99f3f770dc9e787db374f28b991879bd65": "/build/img/icons/icon-152x152.png",
    "7ffd0665e7c7cc3616a517d2c57e83e036b1a899": "/build/img/icons/icon-144x144.png",
    "ed8879d12c59171e53ee2076e64be43503e2271c": "/build/img/icons/icon-256x256.png",
    "b4ac573717102b770d8d9bbcb29f75d791f142e4": "/build/img/icons/logo.png",
    "bb520c114d5d878fa9cf8d6ea4cede5f76ddf6d6": "/build/img/icons/icon-512x512.png",
    "7c0edfd7ba269458a5d72134c319415432652157": "/build/img/sky_loader_39_42.GIF",
    "8232cb54d2d63c980ee13dbcdffc367bba0f01aa": "/build/img/main.jpg"
  },
  "strategy": "changed",
  "responseStrategy": "cache-first",
  "version": "7/21/2019, 9:05:28 PM",
  "name": "webpack-offline",
  "pluginVersion": "5.0.7",
  "relativePaths": false
};

The browser attached images:

From this I can see that the assets are cached:

Also I can see in the manifest tab that it says: "No matching service worker detected" if that means anything.
I have also tried to leave plugin setup without any configuration with the same result:
 .addPlugin(new OfflinePlugin())
I am trying this using a docker container andthe localhost host.
Can someone help? I have stayed all day trying to debug and find related issues but with no success.

Any ideas? I haven't been able to solve this

@IonutQo2
It could be the issue that your index.html file is being cached. (For example ,see issue #229
This could be fixed by excluding your root (depending on how this is served, I am not familiar with symfony)
It could be as easy as adding it to externals:
externals: [
    '/'
  ]

Also, please see the troubleshooting docs for additional info


CLI mode show updatable track and playback info

implement small status bar above command input that's a show some information like volume and track name

playback time implemented in #4

https://github.com/LaineZ/bc_rs/commit/8a371a0d39cb60c90dc8a87c94acc78e520d0660
implemented since this commit


Run memory hungry native tests in a dedicated category

Experiment to see if this improves the build flakiness / speed.

Looks like restricting the builder memory is enough. Group 14 took 16 minutes to complete, so I'll move the two tests back to their original groups.


Issue/510 - Feature request: delete tab by swipe

Task/Issue URL: https://github.com/duckduckgo/Android/issues/510
Tech Design URL: N/A
Description:
In tabs screen the tabs can get deleted by swipe left and right now. Implemented ItemTouchHelper for the tabs recyclerview to achieve this. Added unit test for tabs deletion
Steps to test this PR:

Go to tabs screen with multiple open tabs
Swipe right or left to delete that tab

Internal references:
Software Engineering Expectations
Technical Design Template

Hi, thanks for this submission.
The bad news: you've picked a bad area to make an improvement in, as an overhaul of the tabs is already underway. As such, we will not be accepting this PR.
The good news: the new overhauled tabs screen will feature, amongst other improvements, swipe to delete (and its implementation will be near identical to how you've done it... Great minds!). But merging this now will create more work than it would save. Apologies, I know that's never nice to hear and I don't like writing it.
This is why we encourage people to focus on flagged issues first, or to open an issue and discuss planned work before doing anything major. We don't want to see anyone do work that won't be used. Though I really appreciate your enthusiasm and desire to make improvements.

It's ok, I use this project for practice and study purposes. I'll keep an eye on flagged issues, too.


Add an autonag to need-info when a bug is pending sec-approval but not all Tracking Flags are set.

IF a Bug has an attachment that is pending sec-approval AND not all release tracking fields are set to affected/unaffected THEN create a need-info for the assignee to update the tracking flags status appropriately.
:{{ nickname }}, there is a patch pending security approval, however, the affected/unaffected status is not set for all current releases. Please update the status flags to correctly reflect the correct status.
NOTE: Please ensure bugbot doesn’t race against itself, this should only run after the flag automation has run. We don't want to add this prompt if there the regressed by  has a bug and bugbot would automatically update the status flags anyway.

Please let me know if you need more details to triage/prioritize this correctly

Adding an extra detail - if possible can there be a grace period before the bot added the needinfo?
Avoid the scenario of someone adding the sec-approval request and then the bot pinging before they have time to update the release status. The sec-approval and release flags updates can't be updated at the same time.

if possible can there be a grace period before the bot added the needinfo?

Yes, this is doable.


Lock configurations based on Application labels

Summary
Some organizations have aberration giving full control to all the Developers (admin access in Devtron) on a critical production app. While restricting Developers' access to anything less than Admin will disable their ability to create new apps on Devtron.
Motivation
After analyzing my experience with multiple organizations using Devtron and taking feedback from the superadmins (Generally Infra/DevOps Team Leads) I found out that they are uncomfortable giving admin access to the Developers stating the following reasons:

They need control on how much resources are being allocated to the containers.
They need control on LoadBalancer creation (service.type LoadBalancer) and Ingress configs.
They need control on all configurations once the app has been productionized.

Proposal
Introducing some reserved Application Labels as below will solve the purpose:
Lock
After the app has been productionized, the superadmins can mark the app as Locked. No configurations can be changed once the app has been labelled Locked. Only superadmins can remove this label. The admins can still Trigger the pipelines.
Infra Lock
Infra/DevOps Team can review the configurations and label the application as Infra Locked after setting up the resources, Service Type and Ingress configs, and those sections will be locked for everyone once Infra lock label is applied. Only superadmins can remove this label.
This feature can be an extension of #580
AB#370

Completed with Protect Configuration


Jax tutorial

Adding a WIP draft to get early comments. Would also like some help getting links correctly embedded.
This tutorial goes over the most common use cases for JAX transforms, mainly gradient decent and ES. We keep the examples simple and short to not confuse new users.

Saw that @glassnotes submitted a review while I was in-progress with my review, with a lot of the same suggestions, so I switched over to "just comments" so you could see them before they got stale

Thanks @Thenerdstation! Gonna be awesome to have this tutorial
Generally my feedback (probably similar to @glassnotes) is there is a solid foundation here, but would be nice to have a bit more narrative elements (e.g., more explicit conclusions at each section than a print statement, alternative methods to visualize, a more compelling hook at the beginning, and a nice wrap-up at the end

Thanks for the comments, @co9olguy @glassnotes. Very helpful.
I added narrative hooks and the JAX logo, but I'm not sure what more what more images I should add. I don't really want to add scatter plots since the examples are all 1D, and the plots would distract from the more important code examples.
Maybe some hand draw fn -> jax.jit -> faster_fn diagrams?

Everything built but I don't see it on the demo basics page...

Everything built but I don't see it on the demo basics page...

@Thenerdstation I got it working,

it was a combination of:

a typo in the card link (Sphinx has a terrible habit where it will just not display non-existing links, rather than giving a build error)
The JAX tag not yet existing - I temporarily swapped it for the beginner tag while troubleshooting 🤔

We could make a new PR after this is merged to add in a JAX tag (this requires modifications to the CSS, HTML and JS, so likely out of scope to do that here)

Awesome. Thank you josh!


String api update

This PR closes #628 by reordering arguments of all string functions.
With this PR all string functions have the string being manipulated as the last argument.

Thank you!

Thank you for the review, I agree on all counts. I think the color function especially was a good call and got much easier to understand after the change.


Refactor ApplyContextCore

What have you changed? (mandatory)
Refactor ApplyContext. This is a preparation for apply pool.
What are the type of the changes? (mandatory)
The currently defined types are listed below, please pick one of the types for this PR by removing the others:

Refactor

How has this PR been tested? (mandatory)
CI
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
No
Does this PR affect tidb-ansible update? (mandatory)
No
Refer to a related PR or issue link (optional)
Apply pool https://github.com/pingcap/tikv/pull/2960

rest LGTM.


Releasing 0.0.1?

How far out from this are we?  We clearly don't have comparable feature extraction compared to the old remix, but is it worth announcing it / putting it on PyPi anyways?
Related to this is that the Monthly Music Hackathon for February is Automatic Music, so we could announce it as one of the talks.
Thoughts?

I still haven't had a chance to play with it thoroughly yet; i tried last week and got an error with the packaged reversal example.  I'll try dig into it more closely tonight.
Otherwise, I'm all for putting out a preliminary release, if only for feedback and testing.

(That error is probably my fault - will take a look this week.)

Fix the bug, (https://github.com/algorithmic-music-exploration/amen/pull/31).
Assuming that there are no more bugs, I feel like we need a nice readme / installation method, and maybe polish the documentation more.
There's also the issue of the test audio file not giving the correct number of beats back.  Would a longer edit of the Amen break work better?

Oh, and will we need to answer the license question before we do a release?

Update:  I am wrestling with some vicious RSI, so I am trying to avoid using computers as much as I can.  Thus, I don't think we can get this out for the February hackathon - but we should still try to do it soon!

Back on this:

We have a license, so we're good there.
I think @bmcfee has worked out most of the egregious bugs.
I can move my hands again!

Worth making at 0.01?

Update:  track/upload closes on May 31st.  I will get this out there before then.

Oh, cool, we did this.  Nice work, team.


Updated axios to the latest version

I have set up this to Draft, because as in the issue says: https://github.com/metacall/protocol/issues/34
It is required to review all the API from Axios implied, and test this change with metacall/deploy and metacall/faas in order to see if something breaks. If you do not have an exhaustive review, I won't merge it.


fix(alias): ls alias lx is an illegal option on MacOS/Darwin

Fixes illegal option -X on MacOS
The option -X gets MacOS' ls (and probably also other BSD-ish OS) to complain about an illegal option:
user@host ~ $ ls -lhXB
ls: illegal option -- X
usage: ls [-ABCFGHLOPRSTUWabcdefghiklmnopqrstuwx1] [file ...]

Proposed Changes

only define the alias lx with option -X on machines that are not Darwin

I would also exclude other BSD like OS but since I do not have such a host at hand I cannot verify if that is even really needed for them.

👍
Makes sense. Also the recent PR #1758 will make it work with people who've done a brew install coreutils.

@wadkar

Makes sense. Also the recent PR #1786 will make it work with people who've done a brew install coreutils.

Who could I request a review from then? I mean in order to get it merged?

Added a comment

I'm not sure the best way to do this, but this alias should be enabled only if ls is coreutils based. I believe this will also be broken on BSD.
It's good to know though. I'd be happy to merge this with a slightly better check.

@belak

It's good to know though. I'd be happy to merge this with a slightly better check.

What would you think if I checked for ls running with code 0 with -XB instead, and only then add the alias?
This way it would really only depend on ls's capabilities, and not on the OS at all.
if ls -XB &> /dev/null; then
  alias  lx='ll -XB'        # Lists sorted by extension (GNU only).
fi

Haven't tried if that would work well everywhere. The idea just came up when you asked for a better check...


Update docs deps

Also update the build environment in Cloudflare pages:
NODE_VERSION | 18.16.0
NPM_VERSION | 9.5.1

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.722%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
277

Relevant Lines:
302

💛  - Coveralls


Clarify when the server will respond with 304

In GitLab by @stefanprobst on Jan 26, 2022, 16:36
It is currently not very clear to me when the server will return status code 304 in response to a PUT request.
Example:
(1) Retrieve item:
curl --request GET \
  --url https://sshoc-marketplace-api.acdh-dev.oeaw.ac.at/api/tools-services/ef1r3I

which will return:
{
  "id": 63903,
  "category": "tool-or-service",
  "label": "Bread!",
  "version": "",
  "persistentId": "ef1r3I",
  "lastInfoUpdate": "2022-01-26T13:46:53+0000",
  "status": "approved",
  "informationContributor": {
    "id": 1,
    "username": "Administrator",
    "displayName": "Administrator",
    "status": "enabled",
    "registrationDate": "2020-07-27T15:13:06+0000",
    "role": "administrator",
    "email"<EMAIL_ADDRESS>    "config": true
  },
  "description": "Bread!",
  "contributors": [],
  "properties": [],
  "externalIds": [],
  "accessibleAt": [],
  "relatedItems": [],
  "media": []
}

Note that the description field has "Bread!".
(2) As contributor, try to change item description via PUT request:
curl --request PUT \
  --url https://sshoc-marketplace-api.acdh-dev.oeaw.ac.at/api/tools-services/ef1r3I \
  --header 'Authorization: ${SSHOC_TOKEN}' \
  --header 'Content-Type: application/json' \
  --data '{
	"label": "Bread!",
	"version": "",
	"description": "Bread! Bread! Bread!",
	"contributors": [],
	"properties": [],
	"externalIds": [],
	"accessibleAt": [],
	"relatedItems": [],
	"media": []
}'

Note that the description field has been changed to "Bread! Bread! Bread!" -- however the server will respond with 304.

I tried to reproduce the problem today but with no success. Currently the response to PUT (described above by @stefanprobst) is 200 and not 304 so it behaves properly. @stefanprobst could you please verify that, and if the problem is not there anymore, just close the issue. Thanks.

yep, i cannot reproduce this issue anymore either - closing as fixed. thanks!

Re-opening as I discovered this problem again:
If I'm trying to approve a re-ingest item directly at API (not using the frontend) I get the 304 Not modified:

Looking for an ingested item that needs to be approved, e.g. call GET /api/item-search?d.status=ingested&f.source={param_source_label}
Take one item that has rich content (I suspect, that some properties must be there, ideally ones with type concept - I didn't have the chance to test items with only label and description set, which would be interesting) and get the content with GET /api/{category}s/{persistentId}/versions/{id}
Now take the response, don't manipulate it and approve it by inserting in the call to the endpoint PUT /api/{category}s/{persistentId}
I then get a 304 Not Modified even if the published item differs to the ingested one, e.g. having a different label and description but everything else is the same.

I was wondering, why the same works on level of the frontend (it does the same API calls). I found out, that if I manipulate the response from step 3, e.g. adding a single character to the label it will not give a 304 and instead will approve the item and return 200. This is also true, if you don't manipulate a value but reduce the sent json-structure for a single concept property to its minimum by deleting all unnecessary keys (only having e.g. {"type": {"code": "language"}, "concept": {"code": "swe"}},). There seems to be some unnecessary(?) check that leads to 304 which does not make sense in the approve-workflow.

The check that leads to 304 is done when current item for the user that executes the API call is not DRAFT and the draft flag (in the API call) is set to false. As I understand this is indeed the case in the workflow you described - the item to be approved has INGESTED status, the flag is false (default value) and all properties in the PUT request are the same as the current item. The the system checks that the items are the same and returns 304. To handle that I would say that we should add condition that we also do not compare items if the approve flag is set to true and the status of the current item is not APPROVE. It would mean that in all such cases we simply update the item (because we know the expected status is different from the current one, so we should update the item). Does it make sense to you?

As of discussion 2023-10-24 - there is agreement to proceed with suggested solution.


Authentication Middleware!

BEFORE YOU TEST EVERYTHING: Rather than each controller action having to check for authentication, have that as middleware in the router file!!

https://github.com/osumb/challenges/pull/29

This has been implemented passport.js has been added. See https://github.com/osumb/challenges/pull/31


Add doc for streaming in Unreal, update Unreal tutorial to include Stop AR Session step

Docs Build status updates of commit ac49ee9:
:warning: Validation status: warnings

File
Status
Preview URL
Details

mixed-reality-docs/unreal-streaming.md
:warning:Warning
View
Details

mixed-reality-docs/TOC.md
:white_check_mark:Succeeded
View

mixed-reality-docs/images/unreal-uxt/3-startarsession.PNG
:white_check_mark:Succeeded

mixed-reality-docs/images/unreal-uxt/3-stoparsession.PNG
:white_check_mark:Succeeded
View

mixed-reality-docs/unreal-uxt-ch3.md
:white_check_mark:Succeeded
View

mixed-reality-docs/unreal-streaming.md

Line 15: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/windows/mixed-reality/holographic-remoting-player' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 20: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/windows/mixed-reality/holographic-remoting-troubleshooting' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 27: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/windows/mixed-reality/unreal-uxt-ch6#device-only-streaming' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.

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

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

File
Status
Preview URL
Details

mixed-reality-docs/TOC.md
:white_check_mark:Succeeded
View

mixed-reality-docs/images/unreal-uxt/3-startarsession.PNG
:white_check_mark:Succeeded

mixed-reality-docs/images/unreal-uxt/3-stoparsession.PNG
:white_check_mark:Succeeded
View

mixed-reality-docs/unreal-streaming.md
:white_check_mark:Succeeded
View

mixed-reality-docs/unreal-uxt-ch3.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

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

File
Status
Preview URL
Details

mixed-reality-docs/TOC.md
:white_check_mark:Succeeded
View

mixed-reality-docs/images/unreal-uxt/3-startarsession.PNG
:white_check_mark:Succeeded

mixed-reality-docs/images/unreal-uxt/3-stoparsession.PNG
:white_check_mark:Succeeded
View

mixed-reality-docs/unreal-streaming.md
:white_check_mark:Succeeded
View

mixed-reality-docs/unreal-uxt-ch3.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 02637fd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/TOC.md
:white_check_mark:Succeeded
View

mixed-reality-docs/images/unreal-uxt/3-startarsession.PNG
:white_check_mark:Succeeded

mixed-reality-docs/images/unreal-uxt/3-stoparsession.PNG
:white_check_mark:Succeeded
View

mixed-reality-docs/unreal-streaming.md
:white_check_mark:Succeeded
View

mixed-reality-docs/unreal-uxt-ch3.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Can you post the code?

Hi, can you post the code for multiview point cloud registration? Thank you.

Hi, the code will be published in the following weeks after completing the camera-ready version of the paper.

Hi, @zgojcic ,
I'm very interested in your work 3D_multiview_reg. When will the code be released?
THX!


[Swift 2.2] Remove hackery introduced for Swift 3 migration

These hacks should only be there for Swift 3 migration; they pessimize normal compilation for 2.2

@swift-ci Please test


External DNS (Route 53) Configuration is misleading / support for Private Hosted Zones

The configuration screen from the External DNS asks for Hosted Zone. But what it actually wants here is the hosted zone's name (i.e. domain name), not the Hosted Zone Id.
This is non-intuitive. The page text could be more reflective.
However, this is problematic if using the external DNS service to create entries in a Route 53 Private Zone since multiple zones can have same the domain name in this scenario.
Instead, the configuration should take the HostedZoneId, then discover the corresponding domain name from the HostedZoneRecord.

This is fine as an additional option for the minority that have ambiguously named zones and need it..  But taking an ID instead of Name is awful for usability.

I updated catalog item description to reflect that its hosted zone Name that has to be provided, as a part of PR:
https://github.com/rancher/rancher-catalog/pull/34/files

@vincent99 I'm cool with it being an additional option

In this particular scenario it would be nice to be able to configure the naming pattern as well. Since with a private zone the Rancher environment would likely be redundant.

I ran into this today with AWS Private Hosted Zones and v0.2.1.  The External DNS service is putting the records in the Public zone, since it appears before the Private zone in the hosted zones list.  I would also be fine with an additional option to override or complement the existing zone name.

Should be fixed by @janeczku

With Route53 catalog version - rancher/external-dns:v0.4.0 , we are allowed to enter values for "HostedZoneId" in additoin to "Hosted zone name" .
So we are able to program entries to a specific "Hosted zone" when there are multiple hosted zones with the same name by using the "HostedZoneId".


Add lexical field tests

Resolves
Work on #2033
Description
Adds most of the tests I laid out here.
There are two functions I couldn't wrap my head around, so I need some feedback and then I can write tests for those. They are:

[ ] updateMutation -- What is the mutation supposed to look like?
[ ] freeVariables -- What is a free variable? What are they used for?

As I went through the lexical field file I also added a bunch of TODOs for things I might want to fix. And in some places I reformatted comments.

If there are any other tests you think need to be added just shout and I'll be happy to add them :D

Ok @ewpatton  I think that's all of the tests!
I fixed a bug with the local declare block's freeVariables function. It was using union when it should have been using unite. I wanted to go ahead and fix it so that I didn't forget about it later (since it was in a dif file) But I can move it into a different PR if you want as well!
I'll look into the code coverage (hopefully) tomorrow. But I have some doubts that I'll be able to get it working since we're including mocha via script tags :/

I don't think I'm going to be able to get code coverage working unless/until AI starts using the node distribution of Blockly :/
I looked into a few options:

Istanbul: This is the most common recommendation, and it looks like a really good library! It just doesn't work for us because it doesn't work with tests required via script tags.
Wallabyjs: You have to pay for it. It also doesn't work with tests required via script tags.
JSCover / jscoverage: This one maybe works with tests required via script tags? But it seems like that's only the case for the node distribution (which is weird).  And it's no longer maintained.
blanketjs: Actually does support tests required via script tags! But it doesn't work locally (i.e. from file://) or from PhantomJs :/ This one is also no longer maintained.

Is there a way I could manually check the code coverage? (I'm not exactly sure what kind of information we're looking for)

@BeksOmega Thanks for looking, but let's table that for now.


Lazy evaluation getOrElseGet pattern Option

Hi.
I am looking for an API with the option pattern for use it in a Angular 5 project.
I have a question, the API doesn't provide a "getOrElseGet" in the pattern Option, with a supplier in parameter (allows a lazy evaluation for the OR case).
For exemple getOrElseGet( () => defaultValue)
Have you planned to add it in a futur release ?
Thanks for your help.

I'm not against adding it :)
I refrained from doing so initially as creating a lambda is not free in JS and probably more costly than most primitives, etc.
By the way, spacelift would be the lib to look at for the up to date Option (and Result) code.
I could probably simply overload the current definition of getOrElse.


Output pdf suddenly blank, before it works fine

i'm making an app in react-native and using plugin react-native-html-to-pdf in it, and it worked like a charm.
a couple days ago, the pdf suddenly only showing a logo and some details at the above part, and the below part is blank,
i tried to find out what happen for several days already,
could someone point me out, what should i do, or what happened?
this is the image of pdf when it works normal =

this is the image of current pdf =

info =
"react-native": "0.55.4",
"react-native-html-to-pdf": "^0.6.0",
compileSdkVersion 25
buildToolsVersion "25.0.1"

dependencies {
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+"  // From node_modules
compile project(':react-native-navigation')
compile project(':react-native-image-picker')
compile project(':react-native-contacts')
compile project(':react-native-vector-icons')
compile project(':react-native-html-to-pdf')
compile project(':react-native-share')
}

// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
from configurations.compile
into 'libs'
}

buildscript {
repositories {
jcenter()
maven {
url 'https://dl.google.com/dl/android/maven2/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

thank you

It's because the # character. Try change colors from hexcode to html string colors (#ffffff to 'white').

how to use function within html string in this library? I want to set dynamic values to html table ...


🚀Feature

Have an additional function that allows the user to expand the label image (mainly for the parent layer which could originally be a DAPI-stained image). This is very straightforward using skimage.segmentation.expand_labels(). This facilitates choosing a proper parameter for the expansion.

Hi @sebgoti , I'll try to implement your suggested feature in the next release.
Thanks for the hint!


Bug fixes and enhancements.

See commit history for more info.

@mwfong-csl Minor comments. Please check these.

@ssudake21 'Saw your comments but am currently tied up at work.

Sure no problem. Take your time.


any plan to upstream to matplotlib?

Hi,
do you have any plan to upstream to matplotlib? so every pyside2 fans can use your works!

Tks,
Cong

Hey,
This is only a proof of concept. I don't have plan neither time to upstream a PR. But feel free to do so or to open an issue to request that feature on their GitHub with a reference to this demonstrator.
Cheers


May Revisions

This issue tracks improvement tasks in May (after the practice run).
Slides:

[ ] Add slide on why Pyomo
[ ] Change slide template
[ ] Add logos for other projects for more applications
[ ] Add graphical overview/agenda

Plots:

[x] Larger fonts
[x] Consistent color scheme
[x] Remove data from plots with only simulation results
[x] Remove disturbance from plots

Modeling:

[ ] Add constant Cp assumption
[ ] Ub instead of Uc

Numpy:

[ ] Add timing information (print out)

Pyomo tutorial:

[ ] Add objectives for each section to make the optimization problem really clear
[ ] Goals for the notebook
[ ] Emphasize square versus optimization problem
[ ] Show how to extract results from a Pyomo model

Parameter Estimation:

[ ] Remove vanilla Pyomo
[ ] Add excerpts of key code from tclab_pyomo.py file
[ ] Add LaTex for least squares objective

DoE exploratory analysis:

[ ] math and Pyomo code for sine wave parameterization
[ ] Can we do just half of the experiment?
[ ] What if we combine the FIM from the two measurements? Does this fix the eigenvalue problem?
[ ] What if we exclude CpS?
[ ] What is we drop a fraction of the data, i.e., 1/2, 1/3, 1/4, 1/5, 1/6, 1/8, 1/9, 1/10?

DoE optimization:

[ ] Switch order, do A-optimality first
[ ] What is the FIM of just the next experiment? Is the optimized experiment rank deficient?
[ ] How much do the A-optimality results depend on the values of theta?
[ ] Verify degrees of freedom for optimization problems.

General:

[ ] Check links for all data files
[ ] Run black for notebooks
[ ] Add exercise solutions to website

Pyomo.DoE improvements:

[ ] Add restart if solver fails?
[ ] Add warning about no measurement variables

Landing page:

[x] Add names of presenter and contributors

During the presentation, skip the numpy modeling. That will speed up the time.

Pyomo.DoE exercise. D-opt:
Total number of variables............................:    44157
                     variables with only lower bounds:        4
                variables with lower and upper bounds:    24309
                     variables with only upper bounds:        0
Total number of equality constraints.................:    43250
Total number of inequality constraints...............:        0
        inequality constraints with only lower bounds:        0
   inequality constraints with lower and upper bounds:        0
        inequality constraints with only upper bounds:        0

907 degrees of freedom. Expected 900.


JSON 32bit-Integer Improper storage

Because 32-bit integer type is stored as a double, will result in JSON data returned error, so need to use integer API may not actually use. JSON is actually supports a 32-bit integer.
see code:
https://github.com/ipkn/crow/blob/4e39b23e455e455f1878b3e68d729a1737f3e431/include/crow/json.h#L1247

I'm also currently having this problem. I would like to store a UNIX timestamp in a crow::json::wvalue, but since the integer is converted to a double, I get timestamps that look like "1.48573e+09" and thus are unusable. Is there any suggested solution?

Solution 1: convert timestamp to string
S 2: write a help class JsonWrite ，set use JsonWrite output string as response body, change Content-Type to json, send response.


Fix crash in the follow_actor example

This PR fixes a sneaky segfault introduced in #858, while the fix works I'm open to better solutions if anything is recommended (it makes the function arguments a bit bulky).
The issue was that the previous version of the code was relying on an unfortunate coincidence related to the variable names for the entityPoses and trajectoryPoses data structures, specifically when updating them here the variables would refer to the local variables introduced in the beginning of the Update() function, here.
However, when during the refactor the code was moved into a new function, the Implementation class variables (i.e. this and this) with the same name are being silently used behind the scenes, the problem is that at the beginning of the Update() function there is a std::move call that moves from the member data structures into the local variables, hence it becomes a case of using a data structure after it has been moved, which causes a segfault for a null pointer exception in the data pointer.
To reproduce the bug / check the PR just run the follow_actor demo with and without the PR:
ign gazebo follow_actor.sdf

Thanks @luca-della-vedova for catching this! Sorry I didn't notice this when working on #858 :grimacing:

Adding a sensors system and a camera to the follow_actor integration test also causes the test to crash

Do we need to fix this as well?

Do we need to fix this as well?

oh I meant adding it to the test  causes to crash before the changes in this PR, and confirmed that the test no longer crashes after this PR.

nice, I can reproduce the crash and this fixes it for me too.
Adding a sensors system and a camera to the follow_actor integration test also causes the test to crash. I've added it in the fix/follow_actor_crash_test branch so we can test the rendering side as part of the integration test in the future. Can you take a look and merge if that looks good to you?

Done!


Fix compatibility issue with template-haskell 2.11

DataConI constructor no longer has the fourth Fixity argument.
Tested with cabal under Arch Linux and stack under Ubuntu 14.04.

Awesome, thanks!

Are you on Hackage? I can grant you access there if you would like to update the library, as I don't have much time to maintain this library these days.

You can put me on the admin list if you like.

@ddssff: You're DavidFox, right? You're on the list! Cheers! :)

thanks!

@ollef: That would be a good idea as I'm practicing Haskell. Thank you for invitation!


[Storage] Samples for storage-packages

Add typescript samples
Readme for samples
Align them with the samples of other existing services

#1808


Add test folder to bower ignores

so they will not appear in bower package

 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.

Closing per https://github.com/vaadin/vaadin-button/pull/126#issuecomment-460432512


[REQUEST] Browsing between selectables does not trigger scroll

Is your feature request related to a problem? Please describe.
Browsing between selectables should trigger scroll to always show where the selectable is.
Describe the solution you'd like
Just compare selected_index to scroll_offset to check if the scrollable is in visible area, otherwise scroll the diff amount.
Describe alternatives you've considered
Tried to implement myself by overriding select() and handle_key(), couldn't make it work, scroll is irresponsive.
Is this feature present in other TUI products?
I don't know.
Additional context
Can be reproduced like this : Window -> Container -> [Button, Button, Button ...]

I think the problem here is that the selection is handled first at the higher level (e.g. Window), which thinks the Container itself is visible so it just moves on. The container doesn't have any awareness that its content is cut off IIRC, so it can't react appropriately. Not sure if an easy implementation here is possible, but it already is a bit more complicated than your (helpful!) algorithm, as widgets might be different heights.
FWIW this should work when inserted at the end of select, but doesn't for the aforementioned reasons.
if self.selected is not None and not self.contains(self.selected.pos):
    self.scroll(self.selected.pos[1] - (self.pos[1] + self._scroll_offset))


kubectl logs not working

Environmental Info:
K3s Version:

k3s version v1.25.5+k3s1 (48e5d2af)
go version go1.19.4
Node(s) CPU architecture, OS, and Version:

Linux myhost.us.mydomain.com 5.4.17-2102.202.5.el7uek.x86_64 #2 SMP Sat May 22 16:17:06 PDT 2021 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:

This is a very basic install with
curl -sfL https://get.k3s.io/ | INSTALL_K3S_EXEC='--disable=traefik' sh
Describe the bug:

Whatever I try to see the logs of any container it fails with this message
...k3s[124687]: E1227 17:29:00.322981  124687 status.go:71] apiserver received an error that is not an metav1.Status: &url.Error{Op:"Get", URL:"https://<IP_ADDRESS>:10250/containerLogs/anynamespace/any-pod-6dd5f95bbf-zvfd5/any-pod?follow=true", Err:(*net.OpError)(0xc0022ff9a0)}: Get "https://<IP_ADDRESS>:10250/containerLogs/anynamespace/any-pod-6dd5f95bbf-zvfd5/any-pod?follow=true": proxyconnect tcp: proxy error from <IP_ADDRESS>:6443 while dialing proxy:80, code 503: 503 Service Unavailable
Steps To Reproduce:

Installed K3s:
IDK

Expected behavior:

Expected to see the logs
Actual behavior:

Additional context / logs:

[root@myhost etc]# kubectl -n kube-system logs metrics-server-b4db94d78-2thng Error from server: Get "https://<IP_ADDRESS>:10250/containerLogs/kube-system/metrics-server-b4db94d78-2thng/metrics-server": proxyconnect tcp: proxy error from <IP_ADDRESS>:6443 while dialing proxy:80, code 503: 503 Service Unavailable [root@myhost etc]# kubectl --v=9 -n kube-system logs local-path-provisioner-79f67d76f8-2xxf2
I0106 13:04:43.932322  88393 loader.go:374] Config loaded from file: /etc/rancher/k3s/k3s.yaml
I0106 13:04:43.938125  88393 round_trippers.go:466] curl -v -XGET -H "Accept: application/json, */*" -H "User-Agent: kubectl/v1.25.5+k3s1 (linux/amd64) kubernetes/48e5d2a" 'https://<IP_ADDRESS>:6443/api/v1/namespaces/kube-system/pods/local-path-provisioner-79f67d76f8-2xxf2'
I0106 13:04:43.938575  88393 round_trippers.go:510] HTTP Trace: Dial to tcp:<IP_ADDRESS>:6443 succeed
I0106 13:04:43.942793  88393 round_trippers.go:553] GET https://<IP_ADDRESS>:6443/api/v1/namespaces/kube-system/pods/local-path-provisioner-79f67d76f8-2xxf2 200 OK in 4 milliseconds
I0106 13:04:43.942821  88393 round_trippers.go:570] HTTP Statistics: DNSLookup 0 ms Dial 0 ms TLSHandshake 1 ms ServerProcessing 2 ms Duration 4 ms
I0106 13:04:43.942831  88393 round_trippers.go:577] Response Headers:
I0106 13:04:43.942840  88393 round_trippers.go:580]    Audit-Id: 429be555-0613-4685-a724-68e5ed864cbe
I0106 13:04:43.942846  88393 round_trippers.go:580]    Cache-Control: no-cache, private
I0106 13:04:43.942852  88393 round_trippers.go:580]    Content-Type: application/json
I0106 13:04:43.942858  88393 round_trippers.go:580]    X-Kubernetes-Pf-Flowschema-Uid: 240aa95e-5be8-4d1b-ac8f-771def8b66ad
I0106 13:04:43.942864  88393 round_trippers.go:580]    X-Kubernetes-Pf-Prioritylevel-Uid: aff55999-7983-45d4-a3f9-3d55359b64cb
I0106 13:04:43.942876  88393 round_trippers.go:580]    Date: Fri, 06 Jan 2023 19:04:43 GMT
I0106 13:04:43.942988  88393 request.go:1154] Response Body: {"kind":"Pod","apiVersion":"v1","metadata":{"name":"local-path-provisioner-79f67d76f8-2xxf2","generateName":"local-path-provisioner-79f67d76f8-","namespace":"kube-system","uid":"0e00fe7f-94bf-4428-98b9-9bec8585c1ac","resourceVersion":"455","creationTimestamp":"2023-01-06T17:45:47Z","labels":{"app":"local-path-provisioner","pod-template-hash":"79f67d76f8"},"ownerReferences":[{"apiVersion":"apps/v1","kind":"ReplicaSet","name":"local-path-provisioner-79f67d76f8","uid":"1051779f-f3cc-4e2e-a51c-a87149b8d429","controller":true,"blockOwnerDeletion":true}],"managedFields":[{"manager":"k3s","operation":"Update","apiVersion":"v1","time":"2023-01-06T17:45:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:generateName":{},"f:labels":{".":{},"f:app":{},"f:pod-template-hash":{}},"f:ownerReferences":{".":{},"k:{\"uid\":\"1051779f-f3cc-4e2e-a51c-a87149b8d429\"}":{}}},"f:spec":{"f:containers":{"k:{\"name\":\"local-path-provisioner\"}":{".":{},"f:command":{},"f:env":{".":{},"k:{\"name\":\"POD_NAMESPACE\"}":{".":{},"f:name":{},"f:valueFrom":{".":{},"f:fieldRef":{}}}},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{},"f:volumeMounts":{".":{},"k:{\"mountPath\":\"/etc/config/\"}":{".":{},"f:mountPath":{},"f:name":{}}}}},"f:dnsPolicy":{},"f:enableServiceLinks":{},"f:priorityClassName":{},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{},"f:tolerations":{},"f:volumes":{".":{},"k:{\"name\":\"config-volume\"}":{".":{},"f:configMap":{".":{},"f:defaultMode":{},"f:name":{}},"f:name":{}}}}}},{"manager":"k3s","operation":"Update","apiVersion":"v1","time":"2023-01-06T17:45:54Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"ContainersReady\"}":{".":{},"f:lastProbeTime":{},"f:lastTransitionTime":{},"f:status":{},"f:type":{}},"k:{\"type\":\"Initialized\"}":{".":{},"f:lastProbeTime":{},"f:lastTransitionTime":{},"f:status":{},"f:type":{}},"k:{\"type\":\"Ready\"}":{".":{},"f:lastProbeTime":{},"f:lastTransitionTime":{},"f:status":{},"f:type":{}}},"f:containerStatuses":{},"f:hostIP":{},"f:phase":{},"f:podIP":{},"f:podIPs":{".":{},"k:{\"ip\":\"<IP_ADDRESS>\"}":{".":{},"f:ip":{}}},"f:startTime":{}}},"subresource":"status"}]},"spec":{"volumes":[{"name":"config-volume","configMap":{"name":"local-path-config","defaultMode":420}},{"name":"kube-api-access-slppv","projected":{"sources":[{"serviceAccountToken":{"expirationSeconds":3607,"path":"token"}},{"configMap":{"name":"kube-root-ca.crt","items":[{"key":"ca.crt","path":"ca.crt"}]}},{"downwardAPI":{"items":[{"path":"namespace","fieldRef":{"apiVersion":"v1","fieldPath":"metadata.namespace"}}]}}],"defaultMode":420}}],"containers":[{"name":"local-path-provisioner","image":"rancher/local-path-provisioner:v0.0.23","command":["local-path-provisioner","start","--config","/etc/config/config.json"],"env":[{"name":"POD_NAMESPACE","valueFrom":{"fieldRef":{"apiVersion":"v1","fieldPath":"metadata.namespace"}}}],"resources":{},"volumeMounts":[{"name":"config-volume","mountPath":"/etc/config/"},{"name":"kube-api-access-slppv","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"local-path-provisioner-service-account","serviceAccount":"local-path-provisioner-service-account","nodeName":"myhost.my.domain.com","securityContext":{},"schedulerName":"default-scheduler","tolerations":[{"key":"CriticalAddonsOnly","operator":"Exists"},{"key":"node-role.kubernetes.io/control-plane","operator":"Exists","effect":"NoSchedule"},{"key":"node-role.kubernetes.io/master","operator":"Exists","effect":"NoSchedule"},{"key":"node.kubernetes.io/not-ready","operator":"Exists","effect":"NoExecute","tolerationSeconds":300},{"key":"node.kubernetes.io/unreachable","operator":"Exists","effect":"NoExecute","tolerationSeconds":300}],"priorityClassName":"system-node-critical","priority":2000001000,"enableServiceLinks":true,"preemptionPolicy":"PreemptLowerPriority"},"status":{"phase":"Running","conditions":[{"type":"Initialized","status":"True","lastProbeTime":null,"lastTransitionTime":"2023-01-06T17:45:47Z"},{"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2023-01-06T17:45:54Z"},{"type":"ContainersReady","status":"True","lastProbeTime":null,"lastTransitionTime":"2023-01-06T17:45:54Z"},{"type":"PodScheduled","status":"True","lastProbeTime":null,"lastTransitionTime":"2023-01-06T17:45:47Z"}],"hostIP":"<IP_ADDRESS>","podIP":"<IP_ADDRESS>","podIPs":[{"ip":"<IP_ADDRESS>"}],"startTime":"2023-01-06T17:45:47Z","containerStatuses":[{"name":"local-path-provisioner","state":{"running":{"startedAt":"2023-01-06T17:45:53Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"docker.io/rancher/local-path-provisioner:v0.0.23","imageID":docker.io/rancher/local-path-provisioner@sha256:db1a3225290dd8be481a1965fc7040954d0aa0e1f86a77c92816d7c62a02ae5c,"containerID":"containerd://f2691629f897761a48b017657df05f7fba53824bc0d49bb55d0d9aeb8a4663d0","started":true}],"qosClass":"BestEffort"}}
I0106 13:04:43.944787  88393 round_trippers.go:466] curl -v -XGET -H "Accept: application/json, */*" -H "User-Agent: kubectl/v1.25.5+k3s1 (linux/amd64) kubernetes/48e5d2a" 'https://<IP_ADDRESS>:6443/api/v1/namespaces/kube-system/pods/local-path-provisioner-79f67d76f8-2xxf2/log?container=local-path-provisioner'
I0106 13:04:43.950277  88393 round_trippers.go:553] GET https://<IP_ADDRESS>:6443/api/v1/namespaces/kube-system/pods/local-path-provisioner-79f67d76f8-2xxf2/log?container=local-path-provisioner 500 Internal Server Error in 5 milliseconds
I0106 13:04:43.950312  88393 round_trippers.go:570] HTTP Statistics: GetConnection 0 ms ServerProcessing 5 ms Duration 5 ms
I0106 13:04:43.950326  88393 round_trippers.go:577] Response Headers:
I0106 13:04:43.950334  88393 round_trippers.go:580]    Audit-Id: 24629ae2-5fb5-4201-a3bf-28fc7627062b
I0106 13:04:43.950343  88393 round_trippers.go:580]    Cache-Control: no-cache, private
I0106 13:04:43.950349  88393 round_trippers.go:580]    Content-Type: application/json
I0106 13:04:43.950357  88393 round_trippers.go:580]    Content-Length: 327
I0106 13:04:43.950363  88393 round_trippers.go:580]    Date: Fri, 06 Jan 2023 19:04:43 GMT
I0106 13:04:43.950390  88393 request.go:1154] Response Body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Get \https://<IP_ADDRESS>:10250/containerLogs/kube-system/local-path-provisioner-79f67d76f8-2xxf2/local-path-provisioner\: proxyconnect tcp: proxy error from <IP_ADDRESS>:6443 while dialing proxy:80, code 503: 503 Service Unavailable","code":500}
I0106 13:04:43.950614  88393 helpers.go:246] server response object: [{
  "metadata": {},
  "status": "Failure",
  "message": "Get \https://<IP_ADDRESS>:10250/containerLogs/kube-system/local-path-provisioner-79f67d76f8-2xxf2/local-path-provisioner\: proxyconnect tcp: proxy error from <IP_ADDRESS>:6443 while dialing proxy:80, code 503: 503 Service Unavailable",
  "code": 500
}]
Error from server: Get https://<IP_ADDRESS>:10250/containerLogs/kube-system/local-path-provisioner-79f67d76f8-2xxf2/local-path-provisioner: proxyconnect tcp: proxy error from <IP_ADDRESS>:6443 while dialing proxy:80, code 503: 503 Service Unavailable

It would appear that you have a HTTP proxy configured in your environment (HTTP_PROXY, HTTPS_PROXY environment variables) . Have you configured the NO_PROXY environment variable to exclude the address ranges used by your nodes (ie `NO_PROXY=<IP_ADDRESS>/16' or the like)? If not, K3s will attempt to use that proxy to connect to the nodes, which probably isn't what you want.

You are right. Worked after setting the no_proxy env. Thank you.


Refactor some code to group the msgpack functions together.  Add unit…

… tests against the msgpack code.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@02bb981). Click here to learn what that means.
The diff coverage is 86.66%.

@@            Coverage Diff            @@
##             master     #130   +/-   ##
=========================================
  Coverage          ?   73.24%
=========================================
  Files             ?       10
  Lines             ?      897
  Branches          ?      161
=========================================
  Hits              ?      657
  Misses            ?      102
  Partials          ?      138

Impacted Files
Coverage Δ

src/wrp_interface.c
81.11% <100%> (ø)

src/process_data.c
59.74% <66.66%> (ø)

src/aker_msgpack.c
87.17% <88.46%> (ø)

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 02bb981...9a7e272. Read the comment docs.


Future compatibility with Transformers API?

Thanks for the great work!
I was wondering if there's any plans to integrate your scGPT model with the Transformers (https://huggingface.co/docs/transformers/index) API?
I'm asking because the project workflow I use requires models to use the Transformers API in order to work, and I was thinking of incorporating your pretrained scGPT models for my project. If not, is there any way to "cast" your model as if it were a Transformers instance?
Thanks again and looking forward to your response,
Patrick

Hi @patricks-lab , thank you for the great suggestion. Currently, it is not integrated into huggingface transformers yet. We do have this as planned. Previously, there was the challenge of implementing the customized flash-attention transformers using the huggingface interface. Now given that pytorch has natively supports for flash-attention, I expect to complete the support for huggingface in the next month.

Hey @subercui, let me know if we @huggingface can be of any help, for example if we can answer questions! It's really exciting work and we're really looking forward to it being integrated and shared on HF 🤗

Thank you, @katielink, this is exciting! I also created a discussion #115 for this topic. Your help will be super valuable for us. First, I am currently learning how to perform the integration 😄 . So, could you share some recent best practices or tutorials with me?

Awesome! We can continue the conversation in #115, I've put some docs and tutorials there :)

Thank you!


Update Bibliographies to Reflect Name Change at Special Collections

The Department of Rare Books and Special Collections is now called the Department of Special Collections. Accordingly, the bibliographies should be revised.
Replace all "Department of Rare Books and Special Collections" with "Department of Special Collections."
So bibliographies would read, e.g.:
Sylvia Beach, Adele Eggimann Lending Library Card, Box 43, Sylvia Beach Papers, Department of Special Collections, Princeton University Library.

I checked the test site admin.  For some reason 13 bibliographies remain unchanged (the remainder are perfect).

.


Error when attempting to discover gulp tasks

Does this issue occur when all extensions are disabled?: Yes
When attempting to discover Gulp tasks using "Run Task -> gulp", "Gulp Auto Detection"-output shows the following:
Auto detecting gulp for folder {0} failed with error: {1}', this.workspaceFolder.name, err.error ? err.error.toString() : 'unknown

Version: 1.91.1 (system setup)
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
Date: 2024-07-09T22:06:49.809Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22631
Steps to Reproduce:

Open Command Palette
Tasks: Run Task
Select "gulp"
See error

cannot reproduce, can you try insider's?

Same error happens there:

does it work for you in other folders? wondering if there's a permissions issue or something since I cannot repro

Hmm, it does seem to work if I make a new folder, copy the gulpfile in there and install dependencies. Interesting.

Is there no way to diagnose this? Get some verbose logs or something that can tell me where the permissions are going wrong?

I would check the dev tools console for errors


ValueError in pysift when running notebook

ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
The error is in pysift.py on row 134:
if abs(center_pixel_value) > threshold:

Looks like center_pixel_value is a ndarray with 3 floats. Not sure what the correct fix would be. All? Any? .. Or is there something else wrong perhaps ?
macOS 10.15.5
Python 3.7.5

Hi @bobmoff , did you convert your image to grayScale using cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) ?

ahh. thanks. i was trying to take a shortcut and missed that part.
now i have another question. :)
findScaleSpaceExtrema in pysift takes 102 seconds for me to run. is this normal ?

Yeah, if you look at the code, we have for loops everywhere which makes it highly inefficient. This can be improved a lot by writing an efficient code. I might take this work up soon, not sure about this though.

ok. thanks for the fast replies. i might try and use opencvs sift implementation instead, if possible. have you tried ?

Yeah, you can definitely use opencv's internal sift library, it is very well optimised.
The only change you need to make is, instead of pysift.computeKeypointsAndDescriptors(image) you can use cv2.SIFT_create().

@bobmoff I have updated the repo with provision for using either opencv's sift or custom sift implementation.

Oh, thats great! Thanks!


HPE_INVALID_HEADER_TOKEN

Hello, since the update of wordpress 5.8 it does not work anymore
we receive an error : HPE_INVALID_HEADER_TOKEN
"reason: Parse Error: Invalid header value char "
do you have an idea where it comes from?

hey @ActivatedDigital i just upgraded my own wordpress instance to 5.8 and i'm not able to reproduce the issue, can you provide more information or ideally a codesandbox where you're able to reproduce this?


artisan serve exit code

Description:
Artisan seems to ignore exit codes. A forced error always returns zero.
Attempting to write an actual sysv init wrapper.
Steps To Reproduce:
Do something zany and nutty like try to bind to port 98080, as far as php is concerned it exits clean even though there was an issue.
php artisan serve --host=<IP_ADDRESS> --port=98080 ; echo $?
Laravel development server started: <http://<IP_ADDRESS>:98080>
Invalid address: <IP_ADDRESS>:98080
0

Laravel Version: 5.5.32
PHP Version: 7.1.11
Database Driver & Version:

I did notice this. https://github.com/laravel/framework/issues/560
Not sure if related or not.


Android webrtc permission request - conflicts fixed

Hello @Titozzz, I fixed the conflicts and tested it successfully in simulator and device:

Let me know if there's anything else I can do to help move @Javascript-Ninja's fix forward.
Thanks!

hi guys,
this looks very useful, nice idea.
i just wanna know when can this feature be released?

There is so many unnecessary changes due to you code formatter, can you please remove those?

Let me try to find time today to do it.

what about location permission?


clone the repo and get the skeleton running on your local system

Works for me. Check image.

I was able to run this by installing flutter.
After installing flutter on your system run flutter doctor -v to find any problems and resolve them.
Then flutter run will run your app on an available device. Possible devices include:

A running iOS Simulator
A running Android device Emulator
Browser


[R] Progress bar for read_feather for R and a verbose version

Describe the enhancement requested
I would like to request a that a progress bar be shown when using read_feather function in R especially for large files, so that the user can see if the file is actually being read and progress is being read, similar to data.table::fread which shows a simple progress bar enabled using the showProgress argument in fread. I have a use case in which I am using read_feather to read a large file into R from a network drive, and there is no indication if R is even making progress on loading the file during some runs. In others it loads in ~300 seconds. fread also has a verbose option which dumps a lot more output, and would also be well worth implementing, but a progress bar at minimum would also be great!
Component(s)
R

I think this is a great idea @ajinkya-k though I'm not sure how feasible this is as this has been discussed in relation to another piece of functionality and we concluded it would be tricky as it'd require non-trivial updates to the Arrow C++ library.
Out of interest, once you've loaded the file, are you performing further dplyr manipulations?  It might be that you get better performance calling open_dataset() on the file so it's not pulled into your R session, running whatever manipulations, and then only calling collect() to pull the relevant bits into memory.

Thanks for the update @thisisnic . I do a join and a few filters that drop less than 1% of the rows and then collect, but it's still a huge dataset after that, which I plug into a Bayesian model. The Bayesian model does work, it's just that due to DUA constraints I have to keep the file on a network drive and pull from there. And therefore it's hard to figure out if the file is even being loaded at all, i.e. a progress bar will help me figure out if the read is even progressing at all, or if the network throttling means the process is hung up.

Ah, that makes sense, doesn't sound like there's much else to suggest in terms of temporary workarounds then!

@thisisnic I ran the code a few more times and it turns out that the read_feather code was indeed working but it was very very slow compared to loading the exact same data stored as a css using fread function. Is there a known issue with network drives on windows?

I believe I've seen issues with this kind of thing on Windows reading across a network drive though unsure - could be worth comparing with a local file to test.

yeah unfortunately cant make a copy of the data on my local machine due to DUA constraints. I might try an opensource dataset to test this though. Any suggestions for dataset?


Cherry pick easing TypeError fix onto v2.0.0

Tested locally this that no longer triggers the exception or the warning in Chrome Canary when using groups.

Unable to repro the failing test locally. :/

Travis was failing on branch2.0 already, this PR is not introducing any new failures: https://travis-ci.org/web-animations/web-animations-next/builds/124106204

lgtm


fix(TDI-38126): Salesforce with socks proxy have error for the proxy user and passwd verification.

What is the current behavior? (You can also link to an open issue here)
https://jira.talendforge.org/browse/TDI-38126
What is the new behavior?
https://jira.talendforge.org/browse/TDI-38126
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Pull request test result: success :star:


wait_for_free_dialog, zcl_thread

    "hardcoded 3 on purpose. Less than that and systems get weird.
"   ...
    while num_free_dia_wps < 3.
      "can lead to starvation if server usage is too high for too long
      wait up to '0.2' seconds.
      call 'ThWpInfo'
      id 'OPCODE' field opcode_wp_get_info
      id 'WP' field num_wps
      id 'FREE_DIAWP' field num_free_dia_wps.
    endwhile.

Does this mean that during parallelization more than 2 users will not be able to log into the system, because will all dialog processes (DIA) be busy?

Implemented zcl_executors, zcl_thread_pool_executor ;)