General TODOs/Issues

[ ]  flexary notations, especially with \symvariant show discrepancies between the argument markers/names occuring in <prototype> and <rendering>, causing ambiguity and problems in the omdoc-importer
[ ] smglom/sets/words.tex uses \text{#1} which causes errors. Not clear at what point (stex/latexml/tex-file) that needs fixing.
[ ] In general, nested math environments (e.g. $\text{$p$}$) yield <OMS name="verbalize"/>, which doesn't exist. They're surprisingly common in smglom, and in seemingly all cases unnecessarily so. Example, smglom/sets/image.en.tex: \text{$\inset{\pair{a}{b}}f$ for some $\inset{a}{\primvar{A}}$}
[ ] structures are being used heavily in smglom/algebra, but references to constants from structures are never prefixed/disambiguated... unclear how to proceed here.
[ ] many smglom files contain things like \defi[name=foo]{foo}{...} followed by a \symi{foo}, which makes the omdoc importer attempt to introduce the same constant twice. I don't know what to do about that.
[ ] mutliple separate terms in the same math environment seem to cause problems, e.g. in smglom/complexity/landau-sets.en - $\atmost{g},\atleast{g},\sameas{g}$ yields a single <OMOBJ> which the omdoc-importer attempts to parse as a single term, which will fail. Fixing that in the omdoc importer would unfortunately require quite a lot of refactoring, but

$\atmost{g}$,$\atleast{g}$,$\sameas{g}$ solves the problem quite simply and
I'm almost sure that shouldn't be a single <OMOBJ> in the first place...

on that note - \text{$...$ and $...$} occurs quite frequently and does not look very stex-y to me. I'm almost sure there's an and-operator somewhere in mv that should probably be used instead? ;)

More issues:

[ ]  fromrepos and torepos in gviewnl are apparently not properly passed down to mhview. The resulting omdoc contains no references to repositories: <omdoc:view from="magma" to="natarith" type="example" xml:id="natp-magma.en"> (from smglom/algebra/natp-magma.en.tex). Apparently mhview only uses those to do an \importMHmoduleI, but they should probably be stored as attributes in the resulting omdoc:view-node
[ ]  mhinlineView is currently translated as <ltx:inline-para> instead of anything semantic. I think there's a separate issue for that around somewhere

[ ] \fassign currently has only a dummy implementation

[ ] gstructure or structureenv does not resolve smglom-repository names; the optional argument seems to be packed (in the bindings for structureenv) in a "load" option, but fails to resolve properly and I'm not sure how the "load" thing works.
Example: smglom/linear-algebra/vectorspace.tex has \begin{gstructure}[smglom/algebra]{group}{group}, but the resulting omdoc is <omdoc:structure from="?group" name="group">, missing the smglom/algebra information.


Get Heroku staging environment set up

@pedrorijo91 Adding this tracking issue to pick up the discussion that began at https://github.com/git/git-scm.com/issues/1143#issuecomment-367045485.
It sounds like Heroku Flow would be nice for deploying branches for testing. @tarebyte may be another resource that could help with this I believe.

Oops, I see there's already an issue for this at #1159. Let's close this one or that one and made sure the remaining issue is attached to the Site modernization project.

I haven't find much time to look into this, but I will try to find some time soon so it doesn't block your work :)

No worries @pedrorijo91, just wanted to start keeping track of all the tasks swirling in my head. I'm not currently blocked at all – just looking forward to having a place to show progress once we have time to figure it out.

@peff we need to create a pipeline, but it needs to be done by someone with "admin rights" on this repo. Can you do that part? https://dashboard.heroku.com/pipelines/new?org=git-scm
I suppose after that I can configure the pipeline, but if I lack some permission I will tell you

just so that this info don't get lost:

it seems we need to create a pipeline as described on: https://devcenter.heroku.com/articles/pipelines
we need to add an app.json file to the repo
the app.json should specify the add-ons for review apps: https://devcenter.heroku.com/articles/app-json-schema#addons
the review app can use the 'production' database by using inheried config vars https://devcenter.heroku.com/articles/github-integration-review-apps#inheriting-config-vars

the review app can use the 'production' database

🎉 Yay! This will be nice. And low/no risk since it's read-only.

This was the app.json file the heroku GUI generated: https://github.com/git/git-scm.com/commit/49c8b1c87c9b127e7b028cd6befac5cd656ea4e7
At this moment the review app is not automatically created (we need to go to heroku and ask for a deploy). It's easily changed on https://dashboard.heroku.com/pipelines/4876d313-a94b-4f65-979a-6cfb92280f77 (1 click) if we prefer that way.
During the setup I found the problem on #1175

@jasonlong / @tarebyte you need to rebase with master to get the commit which introduces the app.json file, and you should be ok to create the review app. let me know if you need any help

Thanks @pedrorijo91. I'm part way through some rebase conflicts, but will try to wrap that up soon (and not go so long between future rebases).
Once I push v2 with the new app.json, will a new review app spin up? Do we know what the url will be?

review apps are only spin upon PRs. At this moment we need to go to heroku and start the review app manually (this can be done automatically if we prefer - it's easier, but I was afraid due to increasing costs).
On this test pr (https://github.com/git/git-scm.com/pull/1174), the app was deployed at https://git-scm-pr-1174.herokuapp.com/

@pedrorijo91 I got master merged into v2 and those changes pushed up. Would you be able to start the review app for that branch? Anything else you need from me to make that happen?

I think we're good to go now. :zap:


Exchange Server with Nginx Proxy Manager

I have some settings that will supposedly work, but I am unsure how to enter these into NPM.  Any ideas?
http://blog.manton.im/2016/04/configure-nginx-with-exchange-2010-2013.html
server {
  listen <IP_ADDRESS>:443 ssl;
  server_name owa.myserver.com;
  ssl_certificate /etc/nginx/ssl/cert.pem;
  ssl_certificate_key /etc/nginx/ssl/key.key;
  access_log  /var/log/nginx/mydomain.access.log  combined;
  error_log  /var/log/nginx/mydomain.error.log;
  client_max_body_size 3G;
  proxy_request_buffering off;
  ssl_session_timeout     5m;
  tcp_nodelay on;
    proxy_http_version      1.1;
    proxy_read_timeout      360;
    proxy_pass_header       Date;
    proxy_pass_header       Server;
    proxy_pass_header      Authorization;
    proxy_set_header        Host $host;
    proxy_set_header        X-Real-IP $remote_addr;
    proxy_set_header        X-Forwarded-For  $proxy_add_x_forwarded_for;
    proxy_pass_request_headers on;
    more_set_input_headers 'Authorization: $http_authorization';
    proxy_set_header Accept-Encoding "";
    more_set_headers -s 401 'WWW-Authenticate: Basic realm="fqdnofyourexchangeserver"';
    proxy_buffering off;
    proxy_set_header Connection "Keep-Alive";
  location / {
  return 301 https://owa.myserver.com/owa;
  }
  location ~* ^/owa { proxy_pass https://fqdnofyourexchangeserver; }
  location ~* ^/Microsoft-Server-ActiveSync { proxy_pass https://fqdnofyourexchangeserver; }
  location ~* ^/ecp { proxy_pass https://fqdnofyourexchangeserver; }
  location ~* ^/rpc { proxy_pass https://fqdnofyourexchangeserver; }
}
# redirect all http traffic to https
server {
  listen 80;
  server_name owa.myserver.com;
  return 301 https://$host$request_uri;
}

Are there any Updates on this issue? @jc21

I got nothing back from anyone... Nobody seems to know how to implement it. I gave up and went back to Microsoft Web Application Proxy

I tried adding the below in the NPM advanced tab, and also for each of the locations you mentioned above.
client_max_body_size   3G;
tcp_nodelay   on;

proxy_request_buffering off;
proxy_buffering off;

proxy_http_version     1.1;
proxy_read_timeout     3600;

proxy_pass_request_headers on;
proxy_pass_header Date;
proxy_pass_header Server;
proxy_pass_header Authorization;

proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Connection "Keep-Alive";
proxy_set_header Accept-Encoding "";

more_set_input_headers 'Authorization: $http_authorization';
more_set_headers -s 401 'WWW-Authenticate: Basic realm="exchange-server.mydomain.com"';

However when I go to https://exchange-server.mydomain.com/owa I get an error 'HTTP Error 400. The request has an invalid header name.'
I connected to the container and went to the logs in /data/logs but I can't see which header its complaining about.

I tried adding the below in the NPM advanced tab, and also for each of the locations you mentioned above.
/
/owa
/ecp
/rpc
/Microsoft-Server-ActiveSync
/mapi

client_max_body_size   3G;
tcp_nodelay   on;

proxy_request_buffering off;
proxy_buffering off;

proxy_http_version     1.1;
proxy_read_timeout     3600;

proxy_pass_request_headers on;
proxy_pass_header Date;
proxy_pass_header Server;
proxy_pass_header Authorization;

proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Connection "Keep-Alive";
proxy_set_header Accept-Encoding "";

more_set_input_headers 'Authorization: $http_authorization';
more_set_headers -s 401 'WWW-Authenticate: Basic realm="exchange-server.mydomain.com"';

However when I go to https://exchange-server.mydomain.com/owa I get an error 'HTTP Error 400. The request has an invalid header name.'
I connected to the container and went to the logs in /data/logs but I can't see which header its complaining about.
However if you took out the line proxy_set_header Host $host; it works
Well!!! Works to a point.

I have OWA webaccess working.
I have ECP working, although I soon redirected that as I don't want the ECP publicly accessible
I even seem to have ActiveSync working as I am running Nine from Android App store and that connects too.

What I can't get working is outlook from outside on the Internet when the Exchange IIS server only has "Windows Auth" enabled. If I enable "Basic Auth" it gets a bit further but still doesn't works.
I can see it does the autodiscover stuff ok and then redirects to https://exchange-server.mydomain.com/mapi and asks for a username and password.
I tried domain\username and<EMAIL_ADDRESS>and neither work. I tried setting the Realm to exchange-server.mydomain.com and exchange-server.msad.mydomain.com
I am missing something for passing the correct type of authentication, but what??? I need to support the "Windows Auth" on the IIS server, but how do I that from NPM?
Any ideas?
Has anyone got MS Exchange working behind a NPM for OWA, ActiveSync and Outlook?

You for so much further than I ever did! I'm intrigued as to what else gets in the way of allowing this. I believe the mechanism that needs to function is "Forms Authentication", but not sure what that needs from an http reverse proxy perspective.
Wish MS had more info, I don't think they'll ever consider this a "supported" configuration so I can't ask.
Only other thing I can think of is running Wireshark from my existing Web Application Proxy and doing some pakcey captures

@azaloum90 I think I got all the stuff working for HTTP GET requests and stuff requiring Basic Auth.
What I can't get working is the NTLM auth on /autodiscover and /mapi
I am either missing something in the NPM settings or its just not possible to proxy NTLM auth.  Something in the back of my mind is thinking this isn't possible because technically NPM is acting as "a man in the middle".  IDK.

@azaloum90 I think I got all the stuff working for HTTP GET requests and stuff requiring Basic Auth.
What I can't get working is the NTLM auth on /autodiscover and /mapi
I am either missing something in the NPM settings or its just not possible to proxy NTLM auth. Something in the back of my mind is thinking this isn't possible because technically NPM is acting as "a man in the middle". IDK.

It's definitely possible because MAPI authentication works fine with Microsoft Web Application Proxy (that's actually a Microsoft-supported configuration, though you are supposed to pass it through ADFS for authentication which I do not). Brings me back to "what's missing in the packets", so I think I'd have to look at the packets traversing:
From Microsoft Web App Proxy
To Exchange
And then compare that with packets traversing:
From NPM
To Exchange
Unfortunately my NPM setup has been turned off for over a year now, but I suppose I could grab some packet captures from my Web App Proxy to Exchange servers and then compare with yours?

Hi,
try to check that basic authentication enabled for MAPI on Exchange:
https://learn.microsoft.com/en-us/exchange/clients/mapi-over-http/configure-mapi-over-http?view=exchserver-2019
After exec that command:
Set-MapiVirtualDirectory -Identity "<exchange_host>\mapi (Default Web Site)" -ExternalURL https://<mail.domain.com>/mapi -IISAuthenticationMethods NTLM, OAuth , Basic
in our case, all works fine

Hi, try to check that basic authentication enabled for MAPI on Exchange: https://learn.microsoft.com/en-us/exchange/clients/mapi-over-http/configure-mapi-over-http?view=exchserver-2019 After exec that command: Set-MapiVirtualDirectory -Identity "<exchange_host>\mapi (Default Web Site)" -ExternalURL https://<mail.domain.com>/mapi -IISAuthenticationMethods NTLM, OAuth , Basic in our case, all works fine

Hey, could you by chance show me some screenshots of how you have the configuration entered into NPM?  The entry points are rather confusing and I am curious as to what your configuration is.

@azaloum90
that command must be directly executed on Windows Server with installed Exchange via Powershell

@azaloum90 that command must be directly executed on Windows Server with installed Exchange via Powershell

Hey,
I'm aware of that piece, I'm just curious how you have the rest of the configuration entered into NPM?

@azaloum90 Look at magic lines
http {

map $status $forceBasicOutlook{         #magic_line
        401    'Basic realm=$host';     #magic_line
}                                       #magic_line

}

server {
...
    keepalive_timeout 3h;
    proxy_read_timeout 3h;

    proxy_pass_header       Date;
    proxy_pass_header       Server;
    proxy_pass_header       Authorization;

    proxy_hide_header WWW-Authenticate;                      #magic_line
    add_header WWW-Authenticate $forceBasicOutlook always;   #magic_line

    proxy_buffering off;
    proxy_http_version 1.1;
    proxy_request_buffering off;
    proxy_set_header Connection "Keep-Alive";

...
}

@azaloum90 Look at magic lines
http {

map $status $forceBasicOutlook{         #magic_line
        401    'Basic realm=$host';     #magic_line
}                                       #magic_line

}

server {
...
    keepalive_timeout 3h;
    proxy_read_timeout 3h;

    proxy_pass_header       Date;
    proxy_pass_header       Server;
    proxy_pass_header       Authorization;

    proxy_hide_header WWW-Authenticate;                      #magic_line
    add_header WWW-Authenticate $forceBasicOutlook always;   #magic_line

    proxy_buffering off;
    proxy_http_version 1.1;
    proxy_request_buffering off;
    proxy_set_header Connection "Keep-Alive";

...
}

Thanks for this.  How many entries for your mail server?  just a mail.domain.com entry?

@azaloum90 Look at magic lines
http {

map $status $forceBasicOutlook{         #magic_line
        401    'Basic realm=$host';     #magic_line
}                                       #magic_line

}

server {
...
    keepalive_timeout 3h;
    proxy_read_timeout 3h;

    proxy_pass_header       Date;
    proxy_pass_header       Server;
    proxy_pass_header       Authorization;

    proxy_hide_header WWW-Authenticate;                      #magic_line
    add_header WWW-Authenticate $forceBasicOutlook always;   #magic_line

    proxy_buffering off;
    proxy_http_version 1.1;
    proxy_request_buffering off;
    proxy_set_header Connection "Keep-Alive";

...
}

Thanks for this. Could you tell me how to perform this configuration in the Nginx proxy manager interface? How and in which tab should this be specified?

@azaloum90 Look at magic lines
http {

map $status $forceBasicOutlook{         #magic_line
        401    'Basic realm=$host';     #magic_line
}                                       #magic_line

}

server {
...
    keepalive_timeout 3h;
    proxy_read_timeout 3h;

    proxy_pass_header       Date;
    proxy_pass_header       Server;
    proxy_pass_header       Authorization;

    proxy_hide_header WWW-Authenticate;                      #magic_line
    add_header WWW-Authenticate $forceBasicOutlook always;   #magic_line

    proxy_buffering off;
    proxy_http_version 1.1;
    proxy_request_buffering off;
    proxy_set_header Connection "Keep-Alive";

...
}

Thanks for this. Could you tell me how to perform this configuration in the Nginx proxy manager interface? How and in which tab should this be specified?

I am wondering the same... @ilya-maltsev if you know please let us know.

Thank you. Do I understand correctly that I have to create
a /data/nginx/custom/http_top.conf file
with this content:
map $status $forceBasicOutlook{         #magic_line
401    'Basic realm=$host';     #magic_line
}                                                             #magic_line
and
the /data/nginx/custom/server_proxy.conf files
with the contents:
keepalive_timeout 3h;
proxy_read_timeout 3h;

proxy_pass_header       Date;
proxy_pass_header       Server;
proxy_pass_header       Authorization;

proxy_hide_header WWW-Authenticate;                      #magic_line
add_header WWW-Authenticate $forceBasicOutlook always;   #magic_line

proxy_buffering off;
proxy_http_version 1.1;
proxy_request_buffering off;
proxy_set_header Connection "Keep-Alive";

@azaloum90 Look at magic lines
http {

map $status $forceBasicOutlook{         #magic_line
        401    'Basic realm=$host';     #magic_line
}                                       #magic_line

}

server {
...
    keepalive_timeout 3h;
    proxy_read_timeout 3h;

    proxy_pass_header       Date;
    proxy_pass_header       Server;
    proxy_pass_header       Authorization;

    proxy_hide_header WWW-Authenticate;                      #magic_line
    add_header WWW-Authenticate $forceBasicOutlook always;   #magic_line

    proxy_buffering off;
    proxy_http_version 1.1;
    proxy_request_buffering off;
    proxy_set_header Connection "Keep-Alive";

...
}

@ilya-maltsev ,
Would you be able to post your configuration with domain names redacted?  Though your info was helpful, I am unable to make this work with a variety of configurations -- NPM is reporting that my host is offline, likely due to the configuration being mis-scripted.
Any help is greatly appreciated!
Adam

@azaloum90
Did you look at https://develop.nginxproxymanager.com/advanced-config/#custom-nginx-configurations
?
Advanced configuration must be did through config files of nginx, not through web-ui of NPM...
If you are a more advanced user, you might be itching for extra Nginx customizability.

NPM has the ability to include different custom configuration snippets in different places.

You can add your custom configuration snippet files at /data/nginx/custom as follow:

Unfortunately I can't show my config files of nginx...

Useless discussion....


fix: fix some issues

[x] Fix a crash that occurred when running an app with iOS < 13
[x] Add missing manifest architectures
[x] Handle all cancel error codes to fire the "cancel" event instead the "error" one
[x] Silent some unrelated warnings from the SDK (tracked on TIMOB already)
[x] Bump to 1.1.1

Warnings

:warning:

:mag: Can't find junit reports at ./TESTS-*.xml, skipping generating JUnit Report.

  Generated by :no_entry_sign: dangerJS against a324b6d36db2098301c67fba62b9bdbb1fed7481

cc @sgtcoolguy, without these fixes, no one will be able to include this on a project with min-iOS-version < 13.

@sgtcoolguy Build is failing for this. Please have a look. Thanks!


Start jupyter agent for config and summary

This makes it work in jupyter

This now also fixes some other issues with summary like saving nested dictionaries directly.  I'm not sure about the tests not passing @vanpelt can you help?


Custom styles

where can I custom properties like this?
<vue3-snackbar bottom :duration="1000" border="left" dense shadow groups>
</vue3-snackbar>

There will be 4-5 styles on my nuxt app.

You will have to ask about it here
https://github.com/evo-mark/vue3-snackbar


Fix animals appearing as babies instead of parents

Fixes https://github.com/MylesIsCool/ViaVersion/issues/82

:+1:


Stack trace points to incorrect file on error

Describe the bug
When running tests that encounter an error in a required file, the generated trace does not point to the correct file.
Expected:
ReferenceError: boop is not defined
 ❯ test/main.test.js:5:12
 > src/main.js:2:9
      1| export function testFunc(x) {
      2|   return boop(x);
       |          ^
      3| }

Actual:
ReferenceError: boop is not defined
 ❯ Module.testFunc ../../../../../src/main.js:2:3
 ❯ test/main.test.js:5:12
      3| describe('Main test', () => {
      4|   it('should blow up here', () => {
      5|     expect(testFunc(5)).toBe(10);
       |            ^
      6|   });
      7| });

Reproduction

Check out https://github.com/DanHulton/vitest-stack-sourcemap-repro
yarn install
yarn test

System Info
System:
    OS: macOS 13.2.1
    CPU: (8) x64 Apple M1 Pro
    Memory: 19.44 MB / 32.00 GB
    Shell: 3.5.1 - /usr/local/bin/fish
  Binaries:
    Node: 17.3.0 - /usr/local/bin/node
    Yarn: 3.3.1 - /usr/local/bin/yarn
    npm: 8.16.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 110.0.5481.177
    Firefox: 109.0
    Safari: 16.3
  npmPackages:
    vite: latest => 4.1.4
    vitest: latest => 0.29.2

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I can handle this one.

Yes, I figured this out as well. In fact, this makes sense because it is hard to not notice such an "obvious" bug unless it wasn't very frequent because most people use Vite with Vue (or another framework) and TypeScript.

Yeah, I'm developing a framework that uses Vue for the frontend, so I didn't notice this for a while, but I also wanted to use Vite for the backend API part of it as well, which is where I started running into this issue, and I was certain for the longest time that it was some configuration issue I had messed up.  Thanks for looking into this.

No problem. I'll start working on a solution as soon as possible once I manage to find some time. Which is somewhat hard to do for a full-time student and an engineer 😅.

I hear ya.  It gets done when it gets done, no worries.

❤


Incorrect ban

WhaleHell0There was banned for using Xray. Nothing of the sort is installed on the pc, she is a total newbie to minecraft and has no idea what it meant until I told her.  I even installed pixelmon on the pc for her so she could play with me. This is extremely infuriating and it feels like we've been stonewalled as "Guilty unless you prove innocent". No idea what else to say? I (scopenhagenmines) have been playing a few days with zero issues. If anyone was going to be using something it would be me not my wife who is a newbie. I put a lot of work in the server and hope this can be resolved as I enjoy it but this seems like a weird mistake.

A helper of ours received a message from a Discord username with the same as your in game name. I'm unsure why someone would go to impersonate you, but it seems someone has.
You have been unbanned.


Typescript definition file should be called index.d.ts

Per latest typescript conventions, the definition file should be called index.d.ts. Otherwise tooling such as VS Code is not able to automatically discover it.

@Nava2 can you please release this?

@philgs It looks like the type files were merged in, but you never published the update to npm. Could you please publish the latest to npm?


Add Lepton as featured app on Electron website

Here is our app Lepton.
It is a GitHub Gist client built on Electron. We provide free macOS/Windows/Linux downloads on our release page.
Please let me know if there is something missing in this PR.
Thanks,
-Cosmo

@zeke Haha, that's interesting~
That's my English name I picked up around 2008 before I moved to US.
Are you living in SB? Me too!

Are you living in SB?

I was! But I moved yesterday. Moved down to Moorpark / Thousand Oaks with my family.
Next time I'm in SB we should have coffee. ☕

@zeke Sure thing!


[Issue] The supplied authentication is not authorized to access 'whisk.system/messaging'.

Hello,
I might be facing an issue and I will be grateful for your expertise.
After building this project, I am not seeing 'whisk.system/messaging'.
I had a look at the documentation on packages: https://github.com/apache/incubator-openwhisk/blob/master/docs/packages.md But yet, no success.
Hence the step of creating the Kafka package wsk -i package bind /whisk.system/messaging myMessageHub -p kafka_brokers_sasl "["localhost:9092"]"
error: Binding creation failed: The supplied authentication is not authorized to access 'whisk.system/messaging' always fail.
May I kindly ask for some advice?
Thank you

Hello,
To follow up, I am currently facing this issue:
wsk -i trigger create MyKafkaTrigger -f /whisk.system/messaging/kafkaFeed -p brokers "["localhost:9092"]" -p topic mytopic -p isJSONData true
ok: deleted trigger MyKafkaTrigger
error: Unable to create trigger 'MyKafkaTrigger': Unable to configure feed '/whisk.system/messaging/kafkaFeed': The requested resource does not exist. (code ALQiXMmsge9APwcDYqdyt2epITdFh2yP)
Hence, I went to check about this kafkaFeed, and rightfully said, it is not here:
~/incubator-openwhisk-devtools/docker-compose$ wsk -i package get --summary /whisk.system/messaging
package /whisk.system/messaging: Returns a result based on parameters bluemixServiceName, endpoint, isBinaryKey, isBinaryValue, isJSONData, kafka_admin_url, kafka_brokers_sasl, password, topic and user
(parameters: *bluemixServiceName, *endpoint, isBinaryKey, isBinaryValue, isJSONData, kafka_admin_url, kafka_brokers_sasl, password, topic, user)
action /whisk.system/messaging/messageHubProduce: Deprecated - Produce a message to Message Hub
(parameters: base64DecodeKey, base64DecodeValue, kafka_brokers_sasl, key, password, topic, user, value)
feed   /whisk.system/messaging/messageHubFeed: Feed to list to Message Hub messages
(parameters: endpoint, isBinaryKey, isBinaryValue, isJSONData, kafka_admin_url, kafka_brokers_sasl, password, topic, user)
The guide did not mentioned anything about creating this "kafkaFeed". May I ask in which step this is done please?
Thank you

I was facing a similar issue.
What does wsk -i package list produce for you?
After successfully running the installKafka.sh-script, you should have something like this:
packages
/whisk.system/messagingWeb                                             private
/whisk.system/messaging                                                shared
[…]

For me the issue was that the auth-key I first ran the script with was actually a guest-one, while you need the system one to install the packages into /whisk.system, so I ended up with
packages
/guest/messagingWeb                                             private
/guest/messaging                                                shared
[…]

which results in the "resource does not exist"-error when trying to create the trigger.


Add Pango column to MatchDB

This will make it useful to search for seed lineages for the VoCs when doing post hoc analysis. Also worth storing the scorpio designation.  Should store the path length too, so that we can rule out recombinants.

Worth taking a look at this point to see if we really need to store the "sample" object here, and whether just the HMM match would be enough (ideally, directly as SQL columns, so we can search)

Worth taking a look at this point to see if we really need to store the "sample" object here, and whether just the HMM match would be enough (ideally, directly as SQL columns, so we can search)

We do need the "sample" object stored because we need the haplotype later when computing the overall missingness and deletion stats for stored samples and sites.

Note this isn't strictly necessary - the information is in there, it would be be slightly more convenient to do it using SQL.


WIP: deployment changes to support kubernetes v1.12

[This is not tested yet, Please don't merge]
Signed-off-by: Amarnath Valluri<EMAIL_ADDRESS>

I applied the changes from this PR on top of latest devel, and I get my-csi-app running with mounted volume in k8s version 1.12.3, that's good news. Node pods remain running without crash.
However, there is still something wrong with master pod which gets restarted in CrashLoopBackOff state,
it's log is showing:
I1209 22:39:26.151322       1 main.go:153] Calling CSI driver to discover driver name.

E1209 22:39:26.152406       1 main.go:179] Unknown mode: kubelet-register

@olev, i think the driver-registrar's "kubelet-register" option has renamed to  "kubernetes-register". Can you try with this chang in our yaml.

I force-pushed new state here, with 2 commits renaming deploy/k8s and adding deploy/kubernetes-1.12.
The only changed file there is pmem-csi.yaml, others being symlinks.
The open case right now is pmem-unified-csi.yaml which has not been yet verified/tried on 1.12.
Note that e2e testing code refers deploy/ files directly so it has to hard-code kubernetes or kubernetes-1.12

Olev Kartau<EMAIL_ADDRESS>writes:

Note that e2e testing code refers deploy/ files directly so it has to
hard-code kubernetes or kubernetes-1.12

It would be possible to add a command line flag to the test to set the
directory, or let it query the running Kubernetes version and switch
accordingly.

I propose we create another PR for e2e changes which needs work anyway as per #101, and merge this PR to get 1.12 support functional. Anyone wants to verify this to get additional confirmation that it works on another setup apart from mine?

I will test this and let you know Olev

I tested this PR on my local cluster, found no issues. +1


remove print

Codecov Report

Merging #89 (059cc06) into main (22790d3) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #89      +/-   ##
==========================================
- Coverage   92.14%   92.13%   -0.02%
==========================================
  Files          19       19
  Lines         624      623       -1
==========================================
- Hits          575      574       -1
  Misses         49       49

Impacted Files
Coverage Δ

pylic/cli/app.py
100.00% <ø> (ø)

pylic/__version__.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Better handling of asset versions to prevent inflight issues caused by failure to increment

It's too easy for app teams to ignore best practice and fail to increment asset (especially process) versions when making structural changes.  This causes major headaches with inflight when incompatible same-versioned assets are imported.  We need to take a hard look at how we can prevent this from happening.
Scenario 1 (process change):
Process myproc v0.1 is running in production.  For an enhancement, a new input variable "myjson" is added to the process, and a script activity downstream of an event wait is updated to retrieve a value: myjson.getString('myprop').  The developer fails to increment myproc, and imports the update myproc v0.1 into prod.  After deployment an inflight instance of myproc that was stopped at the event wait is now cleared to resume (the event is received).  Since the new definition is indistinguishable from the old, the inflight instance resumes using the new def.  It hits the script activity and a NullPointerException is thrown because the required "myjson" variable was never populated.
Scenario 2 (asset-driven activity):
(Moved to issue #260)

I've given some thought to Scenario 1, and I think our approach should be to prevent this on asset import as we used to do with the old Designer import mechanism.  Thanks to the ASSET_REF table, we have the Git commit hash and process id associated with myproc v0.1.  We should check existing ASSET_REFS to see if there is a same-or-earlier version extant, and in that case we should abort the import with an appropriate error message.

Scenario 2 asset-driven activities:

Activity
Asset Type

Autoform Manual Task
Task Template

Camel Route Adapter
Route Definition

Crossmap Activity
Mapping Script

Custom Manual Task
Task Template

Drools Activity
Knowledge Base

Drools Decision Table
Excel Spreadsheet

Notification
E-Mail Template

Velocity Activity
Velocity Template

This issue is fixed for MDWHub imports or any method that uses VcsArchiver.java to perform the import of assets.   For MDW CLI, see issue #267


Rewrite “status” rule unimplemented

1. What version of Caddy are you running (caddy -version)?
0.9.1
2. What are you trying to do?
Use the status rewrite rule in the rewrite directive.
3. What is your entire Caddyfile?
(Put Caddyfile here)

4.  What did you expect to see?
Caddy running.
6. What did you see instead (give full error messages and/or log)?
Activating privacy features... done.
2016/09/06 15:44:35 Caddyfile:10 - Parse error: Wrong argument count or unexpected line ending after ‘status'

7. How can someone who is starting from scratch reproduce this behavior as minimally as possible?
echo -e ":2016 {\n rewrite { \n status 200 \n} \n}" | caddy -conf stdin -log stdout

I’ll fork and submit a pull request momentarily.

This has been removed here https://github.com/mholt/caddy/pull/1042 to provide a permanent fix for this issue https://github.com/mholt/caddy/issues/1012.
It still works if you're on version <=0.9.1 but starting from 0.9.2 (or if you build from source), you will need to use status directive instead.

@abiosoft is is possible to use regex path match conditions with the status directive?
I'm trying to achieve the following now it's not possible to use status in rewrites
# block access to php files in mysite, framework and cms
rewrite {
  if {path} match /(mysite|framework|cms)/.*\.(php|php3|php4|php5|phtml|inc)$
  if {path} not_match /framework/.*(main|rpc|tiny_mce_gzip)\.php$
  if_op and
  status 403
}

# block access to other files
rewrite {
  if {path} match /\..
  if {path} match \.ss$
  if {path} match web\.config$
  if {path} match \.ya?ml$
  if {path} match ^/vendor/
  if {path} match /silverstripe-cache/
  if {path} match composer\.(json|lock)$
  if {path} match /(cms|framework)/silverstripe_version$
  if_op or
  status 403
}

Try something like this
status 403 /forbidden

rewrite {
  if {path} match /(mysite|framework|cms)/.*\.(php|php3|php4|php5|phtml|inc)$
  if {path} not_match /framework/.*(main|rpc|tiny_mce_gzip)\.php$
  if_op and
  to /forbidden
}

# block access to other files
rewrite {
  if {path} match /\..
  if {path} match \.ss$
  if {path} match web\.config$
  if {path} match \.ya?ml$
  if {path} match ^/vendor/
  if {path} match /silverstripe-cache/
  if {path} match composer\.(json|lock)$
  if {path} match /(cms|framework)/silverstripe_version$
  if_op or
  to /forbidden
}

That worked, thanks @abiosoft

I've updated to 0.9.3 and it has been an ENORMOUS ball ache today that
    rewrite {
            r   /\.(.*)
            status 404
    }

has broken. WHY? :(

@kaihendry Because #1042

Breaking the API is always something you really must avoid or people will drop this like a hot potato.
The ultra common use case is to forbid hidden files or folders (stuff prefixed with a dot). https://caddyserver.com/docs/status annoyingly doesn't answer that.

I know breaking changes are inconvenient, I'm sorry about that. I'd rather make them before 1.0 than after, frankly, because they have to be had.
What doesn't answer what exactly?

The question is: "How do I stop Caddy serving hidden files?"
You expect to find the answer in https://caddyserver.com/docs/status but I couldn't.

Don't you just specify the files you want to hide, and give them a 404 status?

Ok, what is the canonical way to hide '.' prefixed files & directories?

At this point, something like this:
status 404 {
    /.htaccess
    /.hidden
    /.whatever
}

How many dotfiles do you have in your site? O.o
(Don't mind my questions -- trying to gauge the needs of users here.)

Isn't it more reasonable just to do all dotfiles?
This is almost the default I think in Apache
<DirectoryMatch "^\.|\/\.">
    Order allow,deny
    Deny from all
</DirectoryMatch>

Maybe for one user, but not for another. I'm just not sure what their needs are yet. (Now I know what yours are at least!)

I'm not asking for defaults, I'm asking for documentation that answers the question in a canonical way btw.

Hmm, so like an example? Is what I posted above good for that?

You mean https://github.com/mholt/caddy/issues/1092#issuecomment-251284815 ?
No because it's not in the docs and it doesn't handle all dotfiles.

I can't predict all the dotfiles that any user would have :confused:
But thank you for your feedback, I'll look into ways to improve the docs!

Match any file with a dot prefix!? === dotfile. What's difficult about that? It was one as easy as r   /\.(.*)

I'm confused, status doesn't have an r subdirective. Are you referring to rewrite?

Well, it used to work ;) https://github.com/mholt/caddy/issues/1092#issuecomment-250957848

Hmm, would be great to apply status to regex match: note, this breaks the default Caddyfile for grav. I will also open an issue with them.

After digging through the docs & lots of small Caddyfile example snippets, I've now found this thread that discusses this problem.
@mholt I'd love to see Caddy implement an easy way to cleanly block access to all dotfiles while still following other defined rules inside a Caddyfile. Dotfiles creation inside a site's root is sometimes out of our control, e.g. ".gitignore" in subdirectories or ".etckeeper" can pop into existence without us being able to always update a blacklist as suggested when using your example:
status 404 {
    /.htaccess
    /.hidden
    /.whatever
}

What I've managed to scrape together from all the other Caddyfile examples that I've read while trying to implement this, is the following:
# Prevent access to hidden files (.htaccess, .htpasswd, .DS_Store etc)
        rewrite {
                if {file} starts_with .
                to error/index.html
        }

# Prevent clients from accessing to backup, config or source files
        rewrite {
            r /(.*).(bak|config|sql|fla|psd|ini|log|sh|inc|swp|dist)$
            to error/index.html
        }

 status 404 error/index.html

While this at least throws the appropriate status code and shows the defined 404 error HTML page, this approach using rewrite does not honor any custom headers defined for this location block in the Caddyfile.
Expected headers result:
HTTP/1.1 404 Not Found
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Origin: *
Content-Encoding: gzip
Content-Type: text/html; charset=utf-8
Strict-Transport-Security: max-age=31536000;
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Ua-Compatible: IE=Edge
X-Xss-Protection: 1; mode=block

Actual headers result:
HTTP/1.1 404 Not Found
Content-Encoding: gzip
Content-Type: text/html; charset=utf-8
Expires: Sat, 07 Jan 2017 01:49:00 CET
Server: Caddy
Vary: Accept-Encoding

How can we implement a clean blocking of access to dotfiles + other defined file types without losing control over response headers?

@technopagan What version of Caddy are you using? And why are those the expected headers, your Caddyfile doesn't have anything in there to set those or remove the Server header?

I expected also being able disable serving files based on a regex. But only for actual files. If file doesn't exists then it should continue execution as some other rewrite rule might use that path and sends it to another proxy.


Schema Matching Lens

Need to import this into the user-facing Scala codebase from Java land.

A basic implementation of this is done, but it's not working correctly. I didn't see this comment earlier, so I used edit distance and column type to just map the columns, this isn't giving correct results, it assigns the rating column to rating count for the example in the paper.
I couldn't find the Java code which has to be changed to Scala. Where can I find it?

This sounds like a question for @sophieyoung717

Hi Vinayak,
The code is in my laptop in the office, I will send you more detail
tomorrow morning. The java code for schema matching is written by me and
tested. It should give you the correct probability for each mapping
candidate. Remember, it is just a rough estimation, so it is possible to
assign wrong candidate columns. But we want to remember the probability it
went wrong and later when user wants to improve the accuracy, we ask for
correct matching candidate.
best,
Ying.
On Fri, Jul 24, 2015 at 5:40 PM, Oliver Kennedy<EMAIL_ADDRESS>wrote:

This sounds like a question for @sophieyoung717
https://github.com/sophieyoung717
—
Reply to this email directly or view it on GitHub
https://github.com/UBOdin/mimir/issues/11#issuecomment-124733954.

Hi Vinayak,
Here is the code:
main()
HashMap<String,HashMap<String,Double>> sm_gcd=new HashMap<String,HashMap
<String,Double>>();
String matcherName="NGramDistance";//LevensteinDistance,JaroWinklerDistance,
NGramDistance can be used here.
String[] JCD={"Deposit_Amount","Numb_of_months","Purchase_item","Num
_of_years_in_company","Monthly_payment","married_gender","Age","job"};
//target
schema
ArrayList<String[]> candidateJCD=new ArrayList<String[]>();
String[] s={"Payment_Status_Previous_Credit","Purpose","Sex_Marital_Status",
"Guarantors","Duration_in_Current_address","Most_valuable_available_asset",
"Concurrent_Credits","Type_of_apartment","Occupation","Telephone",
"Foreign_Worker"};//source or candidate schema
String[] d={"Account_Balance","Value_Savings_Stocks","Installment"};//source
or candidate schema
String[] in={"Duration_of_Credit_month","Credit_Amount",
"No_of_Credits_at_this_Bank","Length_of_current_employment",
"No_of_dependents"};//source or candidate schema
String[] age={"Age"};//source or candidate schema
//Above is my imitation of filter, filtering by type, d represents double,
in represents int, s string, age on range.
//follow the order of target schema.
candidateJCD.add(d);
candidateJCD.add(in);
candidateJCD.add(s);
candidateJCD.add(in);
candidateJCD.add(d);
candidateJCD.add(s);
candidateJCD.add(age);
candidateJCD.add(s);
getMatchingMap(sm_gcd,matcherName,JCD,candidateJCD,12); //construct sm_gcd
=======================
public static void getMatchingMap(HashMap<String,HashMap<String,Double>>
result,String matcherName,String[] target,ArrayList<String[]> source,int
top){
for(int i=0;i<target.length;i++){
result.put(target[i],normalizeMapValue(getSchemaMatching(matcherName
,target[i],source.get(i),top)));
}
}
=======================
public static HashMap<String,Double> normalizeMapValue(HashMap
<String,Double>input){
HashMap<String,Double> result=new HashMap<String,Double>();
double total=0.0;
for(double d:input.values()){
if(d!=0.0)
{total+=d;}
}
for(Entry<String,Double> entry:input.entrySet()){
result.put(entry.getKey(), (double)Math.round(entry.getValue
()/total*100)/100);
}
return result;
}
=======================
public static HashMap<String,Double> getSchemaMatching(String
matcherName,String
target,String[] source,int top){
HashMap<String,Double> map = new HashMap<String,Double>();
ValueComparator bvc =  new ValueComparator(map);
StringDistance matcher=getMatcher(matcherName);
Map<String,Double> result_1=new TreeMap<String,Double>(bvc);
HashMap<String,Double> result=new HashMap<String,Double>();
for(int i=0;i<source.length;i++){
map.put(source[i],(double) matcher.getDistance(target, source[i]));
}
result_1.putAll(map);//sort to obtain top some number values.
int counter=0;
for(Map.Entry<String, Double> entry:result_1.entrySet()){
if(counter<top){
result.put(entry.getKey(),entry.getValue());
counter++;
}
else break;
}
return result;
}
=======================
public static StringDistance getMatcher(String criteria)
{
if ( criteria.equals("JaroWinklerDistance") )

  return new JaroWinklerDistance();

else if ( criteria.equals("LevensteinDistance") )

  return new LevensteinDistance();

else if ( criteria.equals("NGramDistance") )

  return new NGramDistance();

return null;

}
The jar file is lucene-spellchecker-3.6.1.jar , you can find it in
repository or search it online.
best,
Ying.
On Sat, Jul 25, 2015 at 11:12 PM, Ying Yang<EMAIL_ADDRESS>wrote:

Hi Vinayak,
The code is in my laptop in the office, I will send you more detail
tomorrow morning. The java code for schema matching is written by me and
tested. It should give you the correct probability for each mapping
candidate. Remember, it is just a rough estimation, so it is possible to
assign wrong candidate columns. But we want to remember the probability it
went wrong and later when user wants to improve the accuracy, we ask for
correct matching candidate.
best,
Ying.
On Fri, Jul 24, 2015 at 5:40 PM, Oliver Kennedy<EMAIL_ADDRESS>wrote:

This sounds like a question for @sophieyoung717
https://github.com/sophieyoung717
—
Reply to this email directly or view it on GitHub
https://github.com/UBOdin/mimir/issues/11#issuecomment-124733954.

got it, thanks!

Ok, I have merged this code, and we are saving the probabilities of each columns mappings.
It still gives the same result as before because the only measure for similarity is the edit distance. Can't we use variance of the columns over some sample as measure to see similarity also? or a classification technique?

Matching errors are ok.  The goal isn't to get a perfect match, the goal is to get a best guess.  This is fine for now.


Micropython openthread support

I am trying to make a working example of openthread running on micropython on the nrf52840.
I opened an issue to discuss this on the micropython github page but figured there may be interest here as well.
With the ease of development on micropython porting this over may bring a considerable audience to openthread.
Pycom has already ported openthread to micropython but specifically on the lora radio, this provides incrediable range but brings latency issues.
If anyone is interested in helping to bring openthread to the micropython platform please let me know.

@CraigZych, sounds like a great initiative!

@CraigZych, are you actively working on MicroPython support? Do you have any updates to provide?

I am actively working on it but with limited time.
I'm still very interested if anyone is interested in helping.
I am currently working the angle that the best way is through the micropython zephyr port since it has openthread support. I had tried originally with the nrf port but this will open up many more board options.

@jwhui @rlubos
Any chance either of you can provide some insight into a stumbling block I'm having.
I'm trying to use the zephyr port of micropython https://github.com/pfalcon/micropython
Clone that repo and cd into ports/zephyr
If I copy the overlay-ot.conf (from this project zephyr/samples/net/echo-client) file and add the -DOVERLAY_CONFIG parameter from that example to line 105 of the MAKEFILE it attempts to build in openthread but doesn't actually download or include it.
It throws the same errors I get if I add the DOVERLAY_CONFIG parameter without deleting the build directory in the zephyr/samples/net/echo-client directory of this project. I'm guessing I have some cache or other issue.
I'm hoping to get this going and this is the first major step before I can start implementing the necessary components to expose the openthread functionality into micropython.
I think if I can get this going (with some help) it will significantly broaden the reach of openthread into the maker community by creating a dead simple usage environment. Hopefully someone can help.

@CraigZych
I have been playing with this today and i managed to remove the errors.
You are missing some configuration that the zephyr openthread  module is dependent on such as CONFIG_FLASH.
See my last message on https://github.com/micropython/micropython/issues/4098

@CraigZych
Just to add my 2 cents here - due to config file refactorization applied some time age to the echo samples in Zephyr, they now use 3 config files to build OpenThread for nRF52840 - prj.conf, boards/nrf52840_pca10056.conf and overlay-ot.conf. As nrf52840_pca10056.conf is used by both, OpenThread and raw 802.15.4 configuration of this sample, some configs vital for OpenThread might be present there as well (as already pointed out by @bmeisels).

@Craigzyc
Unfortuantely nobody was working (yet) on improving the Zephyr port for OpenThread, so the static configuration of OpenThread parameters is the only possible option available out-of-the box.

@rlubos
I know i had tried to change the panid through the cli and it didnt work. Is that due to it statically coded?

Well partially because of this. You can't modify PANID while network is up and running, and as it starts in Zephyr automatically, that's what's blocking you. If you have issued thread stop command first, you should be able to modify network parameters. Note, that you have to re-enable the network with thread start afterwards.

Ok. I totally should have remembered that from playing with openthread before.
So even though we can't stop the auto initialization we can thread stop and setup the network the way we need it.
@rlubos
Can the cli be accessed from within code in the current implementation or is that only in the console manually?

From what I know the OpenThread APIs are not exposed to the Zephyr application for now. It should be doable, still it's not something available out-of-the box.

Ok, Thank you.
From what I saw in the comments on the zephyr issues it sounded like you were working on the openthread implementation but thats obviously not the case. Thanks for your help

Closing stale issue.


Implement nearestPointOn(Multi)Line and internal intersects helper

The original implementation in Turf.js handles both LineString and MultiLineString objects with a union type. However, since Dart has no support for such, I've opted for creating two separate methods instead of resorting to runtime type checking. This means that there is both a nearestPointOnLine and a nearestPointOnMultiLine. If you'd rather go a different route with this, I'm happy to make the changes.
I haven't implemented Raw versions of these functions as I didn't particularly see the point - I hope that's okay. There are, however, some internal functions and data structures private to nearest_point_on_line.dart, as it makes the implementations cleaner and parts of it reusable within the same file - specifically, nearestPointOnMultiLine uses the implementation of nearestPointOnLine internally.
I've also written tests based on the input and expected output values in the original Turf.js implementation. They all pass.
There is an extra file included within this PR that doesn't strictly belong; intersection.dart contains code that finds the geometrical intersection between two lines. This function has not been exported from the library, but it can be used in the future to implement lineIntersect (and consequently numerous other methods that depend on it). If you'd like, I can submit it as a separate PR.

Thank you for you PR – really great work so far! 😃

The original implementation in Turf.js handles both LineString and MultiLineString objects with a union type. However, since Dart has no support for such, I've opted for creating two separate methods instead of resorting to runtime type checking

I could see a use case where you would get data dynamically and don't know which of the two types it is. In this case I think, it would make sense to create a version with GeometryType and runtime type checking. But at the same time, I think we shouldn't get rid of the versions with explicit type!

I haven't implemented Raw versions of these functions as I didn't particularly see the point - I hope that's okay.

This is a major design decision of this lib you are pointing out. It is also – again 😢  –  because Dart does not have union types.
In TS you would just write something like : Position | Point | Feature<Point> but what could be a good solution for Dart?
I haven't found an appropriate solution so far.
Let's stick with your solution for the time being and start a discussion on that topic, maybe with the input of @baparham & @tobrun

There is an extra file included within this PR that doesn't strictly belong; intersection.dart contains code that finds the geometrical intersection between two lines. This function has not been exported from the library, but it can be used in the future to implement lineIntersect (and consequently numerous other methods that depend on it). If you'd like, I can submit it as a separate PR.

I think it's fine if it is in the same PR, but we could maybe point it out in the title.
And what about some dedicated unit tests for the intersects function?

I have found that the MultiLineString version of this function was pretty useless considering the fact that there was no way to tell which line within a MultiLineString the nearest point was found on, so I've opted to add an extra line property to the resulting Feature that contains its index.
In the original Turf.js implementation, this is solved differently; it just counts all lines in the index property. I feel like this is cleaner and easier to use for library consumers, but I'm happy to change it if compatibility with the existing Turf.js implementation is more important.
I couldn't implement unit tests for intersects, unfortunately, as it isn't exported from the library and so the test files can't reach it either. Should I export it, go another way with testing, or just leave it be?

I have found that the MultiLineString version of this function was pretty useless considering the fact that there was no way to tell which line within a MultiLineString the nearest point was found on, so I've opted to add an extra line property to the resulting Feature that contains its index.

Am I understanding it right, that we basically have a superset oft the functionality of the original implementation, “index” is the same?
This line property is an excellent new idea btw 👍👍👍👍👍🔥

I couldn't implement unit tests for intersects, unfortunately, as it isn't exported from the library and so the test files can't reach it either. Should I export it, go another way with testing, or just leave it be?

But the test folder is in the same package. I think it should be possible to include the implementation file like this:
import 'package:turf/src/intersect.dart'
The linter could warn you not to import implementation (not exported) files, but this is fine in this case imo! Or have I misunderstood the error?

Am I understanding it right, that we basically have a superset oft the functionality of the original implementation, “index” is the same?

Not exactly. index is the same for a LineString, but for a MultiLineString, Turf.js uses index across all of the lines. Instead, I've opted to make index a local index within the line identified by line.

But the test folder is in the same package. I think it should be possible to include the implementation file [...].

You're right, that's my mistake - you indeed can import it from the same package. I'll get on those tests.

Not exactly. index is the same for a LineString, but for a MultiLineString, Turf.js uses index across all of the lines. Instead, I've opted to make index a local index within the line identified by line.

What about keeping index compatible with turf JS, but we could extend the functionality with something like localIndex. wdyt?

What about keeping index compatible with turf JS, but we could extend the functionality with something like localIndex.

Seems reasonable, I'll look into it!

@skreborn
Any update on the index and localIndex idea, wdyt?
Is this PR ready for review anyways?

I think it's an excellent idea - I just haven't had the time to implement it yet - apologies for that. It needs this modification, unit test for the helper function, and a rebase. I'll get to it as soon as I can.

If you‘re okay with it, I will take over in branch feature-nearest-point-on-line

If you‘re okay with it, I will continue your efforts @skreborn in branch feature-nearest-point-on-line

Of course, and thank you! I really am finding it hard at the moment to work on it myself.

closed in favor of #87


CI is failing due to missing Helm chart repository name

Description:
The last few PRs have been failing since the GHA is unable to push the helm chart into docker HUB
e.g. https://github.com/envoyproxy/gateway/actions/runs/4401947795/jobs/7708816453
Raising this issue to solve the following

[x] Get CI to be green again https://github.com/envoyproxy/gateway/pull/1140
[ ] Decide on the chart name (envoy-gateway vs envoy-gateway-chart) since this decides the repo name within Docker Hub
[ ] Request access from a envoyproxy admin to create above repo in Docker Hub

+1 for envoyproxy/envoy-gateway or envoyproxy-charts/gateway


Add support for variables, "+" and "#"

This PR adds support for

variable support via overwriting the applyTemplateVariable function of the class DataSource.

Now topics can contain variables. E.g.: tlm/${Device}/measurement
Single selection and all selection for repeating panels works

+ operator of mqtt

e.g. tlm/+/measurement or tlm/+/measurement/+

# operator of mqtt

e.g. tlm/device1/#

 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.

Should be close:
#63
#28

recreated because can't change branch from main to feature/wildcard-variables
#95


ADD table of Content  and API Documentation on README file

Is there an existing issue for this?

[X] I have searched the existing issues

Issue Description
The goal is to add a Table of Contents and include API Documentation in the README file to improve navigation and provide clarity on how the API functions.
Suggested Change
Suggested Change
The proposed enhancement to the documentation involves adding a Table of Contents and detailed API Documentation to the README file. The Table of Contents will serve as a quick navigation guide, allowing readers to effortlessly locate key sections such as installation instructions, usage guidelines, and API details. This structure will enhance the overall user experience by providing a clear and organized overview of the documentation, making it easier to access relevant information.
Furthermore, the inclusion of comprehensive API Documentation will offer clear insights into how the API operates. This addition will encompass descriptions of available endpoints, required parameters, expected response formats, potential error codes, and practical usage examples. These changes aim to make the documentation more user-friendly and accessible, especially for developers, by offering a step-by-step breakdown of how to interact with the API. The ultimate goal is to make the project more approachable, minimize confusion, and ensure that both newcomers and experienced users can navigate the documentation seamlessly.
Rationale
N/A
Urgency
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Assign me the task Under GSSOC EXT 24 AND HACKTOBERFEST @manikumarreddyu
THANK YOU!


Getting Error trying to add Integration

When I click "add integration" from the Integration Configuator, I get the following error:
This device can not be added from the UI
You can add this device by adding it to your 'configuration.yaml'. See the documentation for more information.
I am doing this from a Mac, not an ios device.  I got the same error when I used my iPhone as a test.

In the/config/custom_components/icloud3 directory, do you see a file icloud3_main.py, 'const.py or just a 'device_tracker.py file? Are the dates of these file in 2023 or is the device_tracker.py file in 2021?
If you see const.py, the open it, the version number will be at the top and look like `VERSION = 'v3.0.0b8'.
What is the version if you see it?
If you do not have an icloud3_main.py or const.py files and only the device-tracker.py file, you have not installed v3 and still have v2 installed. Download the v3 zip file and unzip it (the icloud3 directory portion) into the `/config/custom_components/icloud3 directory. Restart HA and try again.

I only have the device_tracker.py (I have not installed v3).  I unzipped the folder, but am getting some errors loading the component.  Do I put the entire folder in the /config/custom_components/icloud3 directory or just the contents (I'm using the beta 8 version)?

The contents of the iCloud3 directory in the zip file (including sub-directories) are installed in the icloud3 directory.

That's what I did, but I'm getting config errors.  Can I delete everything and just put the beta folder contents in?

Yes, you can delete everything in the iCloud3 folder and unzip it again but take a screenshot of the iCloud3 directory and post on this note. I would like to see how I it is set up right now.
The zip file has the /custom_components/icloud3 structure. Make sure you are not ending up with ‘/config/custom_components/icloud3/custom_components/icloud3’ structure.

I posted above how it looks when I pasted the beta contents into the existing folder.

I just uploaded Beta 8b to fix a migration issue. Delete everything in the iCloud3 directory and unzip Beta 8b into it.
Download from the Release page here. Select Assets, then select icloud3-beta-8b.zip. Click download on the right side of the screen.

I just refreshed and everything still looks like beta8a.  I’ll give it a few.

On Jan 16, 2023, at 18:57, Gary Cobb @.***> wrote:
I just uploaded Beta 8b to fix a migration issue. Delete everything in the iCloud3 directory and unzip Beta 8b into it.
Download from the Release page here https://github.com/gcobb321/icloud3_v3/releases. Select Assets, then select icloud3-beta-8b.zip. Click download on the right side of the screen.
—
Reply to this email directly, view it on GitHub https://github.com/gcobb321/icloud3_v3/issues/34#issuecomment-1384680804, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADDD4KHDIPF5OHOY7YJXBHTWSXN43ANCNFSM6AAAAAAT3TJPHA.
You are receiving this because you are subscribed to this thread.

The only change between b8a and b8b was to change the v2v3migration.py module which had ha_country_code in it. I changed it to just country_code in line 570.

I got v3 installed, and completed the 2FA but my sensors aren't updating frequently. For example, my battery charging status was last updated yesterday.

@Exit2Studios  There tracking type of sensors are updated each time the device is located, which in a zone, might be every 2-hours, depending on your inzone_interval.  The battery_status sensor only updates when the device goes from charging to not charging, the battery sensor is updated when the battery level changes. Beta 9 does deal with some battery issues and will be out later this week.

Version ?

When will it be available?  I'm on 8a.

I updated to 8b and the sensor data is way out of date.  It's giving me battery status (the only thing I really know how to check in real time since I'm home) from yesterday.

This week, probably Thursday after I finish the item I'm working on.

Is the behavior I'm seeing to be expected or is there something I can try to get it reporting accurately?  It is simply not updating at all.

Lets see if b9 fixes it. 8b only changed the v2v3migration program, nothing else so 8a=8b except for that. B9 has a lot of other changes.

Interestingly (?), the ios device is showing the exact same values.

ic3 looks at the ios app battery info every 5-seconds and gets it when it changes. The other source is famshr when an icloud famshr tracking update is done.

When I go to Sensors in the companion app, it is accurate (i.e. charging), but neither sensor is being updated in HA.

I know. That has been fixed in b9.. Which will be out in a few days.

I just uploaded Beta 9. Reopen this issue if you are still having problems after installing and using it.
Gary


added cloudevent support, based on https://github.com/lucperkins/gola…

A few things: we welcome new users. We ask that you follow the contribution process, and create an issue to discuss your needs before sending PRs.


Employee resigned_at date can't be before joined_at date

We already have validation for it. Closing it


Nimble: Unable to stop advertising (IDFGH-2063)

Environment

Development Kit:      none
Module or chip used:  ESP32-WROOM-32
IDF version (run git describe --tags to find it):
// v4.1-dev-369-g4dac7c7df
Build System:         CMake
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
// 8.2
Operating System:     Linux (via Docker)
Power Supply:        external 5V

Problem Description
I've been slowly converting an existing codebase from using Bluedroid to using Nimble.  Right now, I am working on implementing the Peripheral.  I am able to advertise, connect, handle writes/reads, send notifies, etc. all without a problem.
My only problem is when I need to update some advertising data based on information sent by a connected central.  To do this, I begin by calling ble_adv_stop(), but this function invariably fails with a return code of 504 or 0x20C, which means BLE_HS_ERR_HCI_BASE + BLE_HS_ECONTROLLER.  Apparently that means the controller sent an invalid event!?
The only other thing I saw was an BLE_HS_ENOMEM if I try to enable advertising after the failed stop attempt.  That's odd, because I'd have expected BLE_HS_EALREADY instead.  The remaining heap at that moment was around 107K.  nRF Connect showed that advertising was still going on, as expected.
Expected Behavior
ble_adv_stop() returns 0 and stops advertising.
Actual Behavior
ble_adv_stop() always returns BLE_HS_ECONTROLLER.
Steps to repropduce

Start a project that advertises.
Connect to the advertiser.
Stop advertising.

Code to reproduce this issue
Debug Logs
I don't have a useful debug log.  I'm not sure what I need to enable for Nimble to produce useful debug.  I'm happy to turn on anything you can suggest.
Here's the little I have.  Most of it is custom debug.  I also print out all events received plus any characteristic reads/writes (the format is connection, char handle, operation, arg).
E (1727) Network: Start BLE peripheral server.
E (1727) Esp Ble Server: Start advertising req: 0, 1
E (1733) Esp Ble Server: Start advertising!
E (1733) Esp Ble Server: advertisingParams: 32, 64, 7, 0.
E (2371) Esp Ble Server: event: BLE_GAP_EVENT_CONNECT
E (2618) Esp Ble Server: event: BLE_GAP_EVENT_CONN_UPDATE_REQ
E (3160) Esp Ble Server: event: BLE_GAP_EVENT_CONN_UPDATE
E (3160) Esp Ble Server: update connection params for 0: status = 0, conn_int = 6, latency = 0, timeout = 500
E (3588) Esp Ble Server: event: BLE_GAP_EVENT_CONN_UPDATE_REQ
E (3611) Esp Ble Server: event: BLE_GAP_EVENT_MTU
E (3678) Esp Ble Server: event: BLE_GAP_EVENT_CONN_UPDATE
E (3678) Esp Ble Server: update connection params for 0: status = 0, conn_int = 39, latency = 0, timeout = 500
E (3679) Esp Ble Server: event: BLE_GAP_EVENT_SUBSCRIBE
E (3679) Esp Ble Server: subscribe event; conn_handle=0 attr_handle=18 reason=1 prevn=0 curn=1 previ=0 curi=0
___ZWB ACCESS 0, 26, 0, 0x3ffb7a38
E (3825) Esp Ble Server: event: BLE_GAP_EVENT_CONN_UPDATE_REQ
E (4273) Esp Ble Server: event: BLE_GAP_EVENT_CONN_UPDATE
E (4274) Esp Ble Server: update connection params for 0: status = 0, conn_int = 9, latency = 0, timeout = 2000
E (6704) Esp Ble Server: event: BLE_GAP_EVENT_NOTIFY_RX
___ZWB ACCESS 0, 16, 1, 0x3ffb78d4
E (39085) Esp Ble Server: event: BLE_GAP_EVENT_NOTIFY_TX
E (39086) Esp Ble Server: event: BLE_GAP_EVENT_NOTIFY_TX
___ZWB ACCESS 0, 16, 1, 0x3ffb78d4
E (53836) ESP Wifi: Event received: WIFI_EVENT_STA_STOP
E (53845) ESP Wifi: Event received: WIFI_EVENT_STA_START
E (54567) ESP Wifi: Event received: WIFI_EVENT_STA_CONNECTED
E (54693) Esp Ble Server: Stop advertising!
Didn't stop advertising.  Error 524
E (54694) Esp Ble Server: Start advertising req: 0, 1
Didn't start advertising.  Error 6

Nothing crashes or otherwise fails besides ble_adv_stop().
Other items if possible

@zacwbond Once you are connected to a central, ESP32 peripheral stops advertising. So, you need not explicitly call ble_gap_adv_stop(). From the spec:
The Controller shall continue advertising until the Host issues an HCI_LE_Set_Advertising_Enable command with Advertising_Enable set to 0x00 (Advertising is disabled) or until a connection is created or until the Advertising is timed out due to high duty cycle Directed Advertising.

The error you are seeing is 0x20c (or 524) which means: HCI_ERR_COMMAND_DISALLOWED (0x0c). The thing is that ESP32 controller returns with a disallowed error code when you try to stop advertising which is already stopped. You would not have seen this issue with Bluedroid because the Bluedroid host does not send the stop command to the controller if advertisement is already stopped but NimBLE host does send it.
The other problem you mentioned about restarting the advertisement after connection should not be related to the above issue. I think, you are getting BLE_HS_ENOMEM because the max number of connections set in menuconfig for NimBLE host are set to 1 by default. You can try to increase it through menuconfig: make menuconfig -> Component config -> Bluetooth -> NimBLE Options -> Maximum number of concurrent connections or pull the latest master branch which has its default value same as that of the controller: 3.
Please give it a try and let me know in case of anything.

@dhrishi
Thanks for the information.  I didn't notice that there was a default max connections.  Advertising seems to work well once I removed the extraneous stop.  I've managed to port almost our peripheral and our central from Bluedroid to Nimble, and nearly everything works.
I've run into two additional problems I'm not sure how to solve.  I can open new issues if you like, but maybe I am just misunderstanding something.

We are using "just works" pairing with bonding between our central and a peripheral remote control.  The initial pairing works fine (at least as far as I an tell), as do subsequent re-connections by the same remote.  However, if I factory reset my remote control (that is, force it to erase its bonding information), I'm not sure how to get the central to re-pair correctly.

E (423899) BLE Central: Exchanged MTU: 247
E (424198) BLE Central: event: BLE_GAP_EVENT_ENC_CHANGE
E (424199) BLE Central: encryption change event for 0x0000: status 0x206, encrypted 0 (key size 0), authenticated 0, bonded 0
E (54293) BLE Central: ble_gap_terminate() returned 0x212.

Error code 0x206 is BLE_ERR_PINKEY_MISSING, which I guess makes sense as the peer has deleted its key.  But I don't know what I'm supposed to do to recover so that the remote can pair again.  Here's my best guess for what I was supposed to do in the GAP handler, but it doesn't work--as you see in the log, the attempt to terminate returns BLE_ERR_INV_HCI_CMD_PARMS for some reason.
case BLE_GAP_EVENT_ENC_CHANGE:
            BAssert(!ble_gap_conn_find(event->enc_change.conn_handle, &desc));

            ESP_LOGE(LOGGING_TAG,
                     "encryption change event for 0x%04X: status %u, encrypted "
                     "%u (key size %u), authenticated %u, bonded %u",
                     event->enc_change.conn_handle,
                     event->enc_change.status,
                     desc.sec_state.encrypted,
                     desc.sec_state.key_size,
                     desc.sec_state.authenticated,
                     desc.sec_state.bonded);

            if (event->enc_change.status
                == BLE_HS_ERR_HCI_BASE + BLE_ERR_PINKEY_MISSING)
            {
                ESP_LOGE(LOGGING_TAG, "Security failure.");

                // Something went wrong with pairing, so delete the peer from the store.
                int err{ble_store_util_delete_peer(&desc.peer_id_addr)};

                if (err)
                {
                    ESP_LOGE(LOGGING_TAG,
                             "ble_store_util_delete_peer() returned %u.",
                             err);
                }

                err = ble_gap_terminate(event->enc_change.conn_handle,
                                        BLE_ERR_CONN_TERM_LOCAL);

                if (err)
                {
                    ESP_LOGE(LOGGING_TAG, "ble_gap_terminate() returned %u.", err);
                }
                return 0;
            }

With Bluedroid, I was able to remove bonding for specific devices, whether they are connected or not.  In Nimble, it seems like I should be able to do this by using ble_gap_unpair() to unpair and delete bonding for a given address, plus ble_store_util_bonded_peers() to get the list of bonded peers.  The trouble is that ble_gap_unpair() doesn't appear to delete anything from storage, so that I can "unpair" from a remote, but still find that remote's address in the list returned by ble_store_util_bonded_peers().

When a remote is connected, ble_gap_unpair() will close the connection but the remote will remain in the list.  On the other hand, if the remote is not connected, then ble_gap_unpair() will return BLE_ERR_CMD_DISALLOWED.
What am I missing?

When a remote is connected, ble_gap_unpair() will close the connection but the remote will remain in the list

Yes @zacwbond , I have actually raised an upstream pull request to get the device un-paired using ble_gap_unpair irrespective of its connection status, I will update you on this ASAP. However, the simple workaround for this could be calling ble_gap_terminate before ble_gap_unpair.

On the other hand, if the remote is not connected, then ble_gap_unpair() will return BLE_ERR_CMD_DISALLOWED.

Can you please share logs for this ? I am suspecting you might be getting error code as BLE_ERR_UNK_CONN_ID (0x202), I am working to get this resolved as well.
However as a temporary workaround for this might be as below (from your code snippet)
case BLE_GAP_EVENT_ENC_CHANGE:
            BAssert(!ble_gap_conn_find(event->enc_change.conn_handle, &desc));

            ESP_LOGE(LOGGING_TAG,
                     "encryption change event for 0x%04X: status %u, encrypted "
                     "%u (key size %u), authenticated %u, bonded %u",
                     event->enc_change.conn_handle,
                     event->enc_change.status,
                     desc.sec_state.encrypted,
                     desc.sec_state.key_size,
                     desc.sec_state.authenticated,
                     desc.sec_state.bonded);

           if (event->enc_change.status
                == (BLE_HS_ERR_HCI_BASE + BLE_ERR_PINKEY_MISSING))
            {
                ESP_LOGE(LOGGING_TAG, "Security failure.");

                err = ble_gap_terminate(event->enc_change.conn_handle,
                                        BLE_ERR_CONN_TERM_LOCAL);

                if (err)
                {
                    ESP_LOGE(LOGGING_TAG, "ble_gap_terminate() returned %u.", err);
                }

                // Something went wrong with pairing, so delete the peer from the store.
                int err{ble_store_util_delete_peer(&desc.peer_id_addr)};

                if (err)
                {
                    ESP_LOGE(LOGGING_TAG,
                             "ble_store_util_delete_peer() returned %u.",
                             err);
                }

            }

    return 0;

@prasad-alatkar Thanks for your recommendations!

Can you please share logs for this ? I am suspecting you might be getting error code as BLE_ERR_UNK_CONN_ID (0x202), I am working to get this resolved as well.

There's not that much logging for this, but here it is:
E (890954) Ble Driver: Removing bonding for E9:7E:E8:F5:89:F9
E (890956) Ble Driver: ble_gap_unpair() returned 524

E (890956) Ble Driver: Bonded devices:
E (890956) Ble Driver:    E9:7E:E8:F5:89:F9 1

Digging into it, that BLE_ERR_CMD_DISALLOWED return code is coming from the function ble_hs_pvcy_remove_entry(), which is called by ble_gap_unpair() before it gets to ble_store_util_delete_peer().  I'm not sure what to do about that.
For my other problem (repairing after the peer has deleted its key), I gave your suggested code change a try, but ran into the BLE_ERR_INV_HCI_CMD_PARMS error again.  Turns out that in order to terminate, you need to provide the reason from the perspective of the peer, so I should have sent BLE_ERR_REM_USER_CONN_TERM instead of BLE_ERR_CONN_TERM_LOCAL.  If I use the right reason code, it works.

Turns out that in order to terminate, you need to provide the reason from the perspective of the peer, so I should have sent BLE_ERR_REM_USER_CONN_TERM instead of BLE_ERR_CONN_TERM_LOCAL.

That's right

Digging into it, that BLE_ERR_CMD_DISALLOWED return code is coming from the function ble_hs_pvcy_remove_entry(), which is called by ble_gap_unpair() before it gets to ble_store_util_delete_peer(). I'm not sure what to do about that.

Yes @zacwbond, that is what I had observed and I have raised an upstream PR PR!636 for the same.  However for me the error code was BLE_ERR_UNK_CONN_ID, which by spec Vol 2, Part E, section 7.8.39 (When a Controller cannot remove a device from the resolving list because it is not found, it shall return the error code Unknown Connection Identifier (0x02).)

Turns out that in order to terminate, you need to provide the reason from the perspective of the peer, so I should have sent BLE_ERR_REM_USER_CONN_TERM instead of BLE_ERR_CONN_TERM_LOCAL. If I use the right reason code, it works.

Yes, I actually took it from your code snippet directly, my bad !!


Change TImezone

Is there any way to successfully change the timezone? This is affecting my Last Modified by using UTC time instead of my local timezone.

Following this guide resolved the issue for me.
https://www.hoelzel.it/helm/2022/07/05/update-timezone-alpine-container.html


Remove pprof port reference in CNI doc

pprof is exposed over kubelet unauthenticated healthz endpoint on
port :10248 to localhost only 1, removing MicroShift specific pprof
port document.

/lgtm


Android: Fix load more messages

Summary
Loading more messages fix for Android, iOS should still work as expected
Ticket Link
https://mattermost.atlassian.net/browse/RN-542

@mkraft did you test it in both platforms before approving?

@enahum No I didn't. I'll try now and reply back here in comments.

@enahum I was able to scroll all the way to the beginning of "private off-topic" channel. I'm back to not being able to login to pre-release on Android emulator so perhaps @hmhealey can try that one?

I'll pull the branch and see how it feels on my dev phone


Date slider UI component

It would be useful to have a date slider UI component so that we can pick a range of dates with a single component instead f using two date pickers. Also, date picker doesn't have the ability to disable dates outside a range.

Possible duplicate of #584.


Storybook crashes. Outdated AppProvider import source.

Steps to reproduce
Standard clone repo, install, and then run storybook yarn run storybook.
Error
Crashes due to missing ../src/context in .storybook/preview.js (AppProvider import).
AppProvider was moved during updates to project src/ structure.
Fix
File: .storybook/preview.js
Line: 2
Changes:
import { AppProvider } from '../src/providers/app';
Documentation needs similar loving attention.
File: docs/error-handling.md
Line: 13
Changes:
[Error Boundary Example Code](../src/providers/app.tsx)

Good catch, thanks for reporting it!


Implements Portfolio Statistics in QuantBook

Implements the GetPortfolioStatistics method that computes the portfolio statistics from a pandas.DataFrame using the existing Portfolio Statitics class from Lean.

I will work on this PR.
Maybe it would be better to implement SetBenchmark and the GetPortfolioStatistics would make a Historical data request for the benckmark, instead of asking the user to include the benchmark in the input.
What do you think, @jingwu74 ?

Yes great idea


error when re-rendering nested polymer components

Description

Error when re-rendering nested polymer components which make dom manipulations on ready.
Live Demo

http://plnkr.co/edit/8F7f86kln7uzjMlnc8x0?p=preview
Steps to Reproduce

You have to have the following to make polymer revert to original content after it being manipulated from outside polymer:

2 nested polymer components;
Inner one must do dom manipulation on ready;
There must be a 3rd party library changing the content of the outer one (like angular or, like in the plnkr above, js dom manipulation);
I seem to get this only on polymer >= 1.2.4

Expected Results

"old" to change into "new" in 5s
no console logs after "updated"
Actual Results

text changed back to "old" immediately after being changed to "new" so "old" is displayed on the screen after 5s
new element detached from dom and old element re-attached to dom after dom update (look in console)
Browsers Affected

[x] Chrome
[x] Firefox
[x] Edge
[x] Safari 9
[x] Safari 8
[x] IE 11

Versions

Polymer: v >= 1.2.4
webcomponents: any

Must use the Polymer.dom() wrapper. http://plnkr.co/edit/1dFTEwzZlnb1J3dgjZUR?p=preview

Hi @kaste . Thanks for your answer. Unfortunately, although that's a valid fix for the provided plnker, we can't really apply that as in our original case (much larger application) the re-rendering is done by angular.
I dont know if that would help anybody, but the commit that triggered this problem is: https://github.com/Polymer/polymer/commit/306cc8130e4cab12d6e05eec6097e1ad85220c50
Thank you

The Polymer.dom() wrapper has been removed and the integration with Angular should thus be fixed. Please let us know if you are still running into issues.


[vscode] icon fix; plus small change

and
[minor] change the promise handling style of fs.stat

btw: feel free to reject, in case you want to maintain the ols.json location where it is.
I figured every extension in vscode uses the .vscode folder for settings so we'd like to do that too

Just pushed another patch fixing the file icon.
I chose the de-saturated blue from the odin website as color because it works ok for both light and dark themes

We can't move the path of the ols.json, it is used to indicate the root of the project.

here it is a screenshot of how vscode looks now:

another one with the debugging working :)


dask-expr is now a hard dependency

dask-expr is now a hard dependency of dask[dataframe].
We still need to update

distributed/continuous_integration/recipes (see conda build workflow on distributed, currently failing)
https://github.com/conda-forge/dask-feedstock
distributed gpuci failing
other?

CC @phofl @jrbourbeau
XREFs

dask/dask#10967
dask/dask#10976
dask/distributed#8552

gpuci is failing, I think due to a method that has no docstring in dask-expr:
https://gpuci.gpuopenanalytics.com/job/dask/job/distributed/job/prb/job/distributed-prb/8511/CUDA_VER=11.8.0,LINUX_VER=ubuntu20.04,PYTHON_VER=3.9,RAPIDS_VER=24.04/testReport/junit/distributed.shuffle.tests/test_shuffle/test_basic_cudf_support/

cc @rjzamora

Thanks for the ping

I think due to a method that has no docstring in dask-expr

Yes, I should be merging a workaround for this (and many other things) today. It may take a few days for me to get gpuci passing.


Improve web portal

Will fix: #27 #47

[x] correct title
[x] hide navbar items
[x] hide AUR repo
[x] use custom news
[x] hide iso download links
[x] fix help links
[x] hide server status image
[x] display footnote when needed

To put custom text at the bottom of the page, add the following lines to web-porta/_config.yml:
footnote: XXX


[Suggestion] future support and less log spam (flip-v)

Log: Model "extendedflywheels:block/bluesteelflywheel/block" is using the deprecated "flip-v" field in its OBJ model instead of "flip_v". This field will be removed in 1.20.
just change the field I guess
Forge: 43.1.47
Mod Version: 1.2.2

This really needs fixing, the spam is absurd.

This will  be fixed in the next patch for 1.19.2

This issue should be fixed in the latest patch