Show Rain not converting to imperial

I have loaded MMM-WeatherChart in to my MM and set units to imperial. I'm in USA. Converts high and low temperatures as expected but not doing math to convert mm to inches.

Hi
The units config param is simply passed to OpenWeather API. But OpenWeather API returns rain volume info with mm unit even when the units is specified as imperial.
Then, I added a new config param rainUnit with the latest commit to change the unit of rain volume.
If you want to change it to inch, clone the latest module and add "rainUnit": "inch"  in your module config.
Please try it.

That worked perfectly.
I tried to figure out how to contact you directly about that so put in problem report.
This was driven by person managing MagicMirror forum telling me not to edit the module file directly but to put all modifications in config.js file. I am not a programmer but I can sort of read and understand code.
I was looking at code and it seems like the minimum temperature are configured so that the minimum and maximum temperatures don’t overlap.  I can easily be wrong about that.
It seems like the rain volume scale (bottom line vertical axis) is too narrow so a small amount makes a significant trend.
See attached jpg file.
From: tatsuma<EMAIL_ADDRESS>Sent: Saturday, December 12, 2020 9:39 AM
To: mtatsuma/MMM-WeatherChart<EMAIL_ADDRESS>Cc: ankonaskiff17<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [mtatsuma/MMM-WeatherChart] Show Rain not converting to imperial (#15)
Hi
The units config param is simply passed to OpenWeather API. But OpenWeather API returns rain volume info with mm unit even when the units is specified as imperial.
Then, I added a new config param rainUnit with the latest commit https://github.com/mtatsuma/MMM-WeatherChart/commit/a730676198b2c27207d3fb4b58351b9769bacb1d  to change the unit of rain volume.
If you want to change it to inch, clone the latest module and add "rainUnit": "inch" in your module config.
Please try it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mtatsuma/MMM-WeatherChart/issues/15#issuecomment-743765469 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMT3ATPZTFYFDOQEUDLDAWTSUN6CBANCNFSM4UXMDBIQ .  https://github.com/notifications/beacon/AMT3ATJY65IOZBYKF4UV7S3SUN6CBA5CNFSM4UXMDBI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFRKPLXI.gif
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

See attached jpg file.

I cannot find the jpg file. Could you attach it directly to this issue page?

No problem

Thank you for sharing the problem.
I added two changes to solve the problem.
https://github.com/mtatsuma/MMM-WeatherChart/pull/17
https://github.com/mtatsuma/MMM-WeatherChart/pull/18
To avoid the significant trend by the small amount rain, you can add a new param rainMinHeight and set it as a value that you think it is significant.
For example, if you think 0.1 inches of rain is significant, you should set rainMinHeight as 0.1.
Please clone the latest version of module and try it.

That works great. Thank you.
I think I understand the minRainHeight but what I was wondering about would be more of maxRainHeight config option. minRainHeight would always = zero.
But maxRainHeight would be a config option.
That would be determined by individuals location. If you are auto scaling everything that won’t work but if you are only auto scaling the high and low temperatures it might.
Tokyo maxRainHeight = X
Columbia, SC USA  maxRainHeight = Y   (<---My location)
Singapore maxRainHeight = Z
From: tatsuma<EMAIL_ADDRESS>Sent: Wednesday, December 16, 2020 9:02 AM
To: mtatsuma/MMM-WeatherChart<EMAIL_ADDRESS>Cc: ankonaskiff17<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [mtatsuma/MMM-WeatherChart] Show Rain not converting to imperial (#15)
Thank you for sharing the problem.
I added two changes to solve the problem.
#17 https://github.com/mtatsuma/MMM-WeatherChart/pull/17
#18 https://github.com/mtatsuma/MMM-WeatherChart/pull/18
To avoid the significant trend by the small amount rain, you can add a new param rainMinHeight and set it as a value that you think it is significant.
For example, if you think 0.1 inches of rain is significant, you should set rainMinHeight as 0.1.
Please clone the latest version of module and try it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mtatsuma/MMM-WeatherChart/issues/15#issuecomment-746333117 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMT3ATO7VKXKEIELRBTP2TDSVC4WHANCNFSM4UXMDBIQ .  https://github.com/notifications/beacon/AMT3ATK6FN5MVOHLNOIREULSVC4WHA5CNFSM4UXMDBI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFR6CHPI.gif
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

I think I understand the minRainHeight but what I was wondering about would be more of maxRainHeight config option. minRainHeight would always = zero.

I'm sorry for the confusion. rainMinHeight means minimum height of the rain volume (y-axis) in chart. So, it's the minimum rather than maximum.
See this picture.

That would be determined by individuals location. If you are auto scaling everything that won’t work but if you are only auto scaling the high and low temperatures it might.

It's almost impossible for me because there are many many places in the world and it's also difficult to get the place name from the latitude and longitude specified in config.
In my opinion, the adequate value of rainMinHeight depends on people rather than the location. So, it's enough to make it configurable.

What I was trying to say was to let the maxRainHeight be configurable.
Here in South Carolina the maximum normal daily rain is probably less than 1 inches. So I would put in a value of 1 inches.
A tropical rainforest country might see a daily maximum rainfall of 3 inches so that person would put in a value of 3 inches or equivalent mm number. I didn’t mean to imply plugging in values for every location.
Where you live has some daily rainfall average value. It is probably different than the value of where I live. That is all I was asking about.
But Thank you for what you have done it helps a bunch.
From: tatsuma<EMAIL_ADDRESS>Sent: Thursday, December 17, 2020 7:01 AM
To: mtatsuma/MMM-WeatherChart<EMAIL_ADDRESS>Cc: ankonaskiff17<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [mtatsuma/MMM-WeatherChart] Show Rain not converting to imperial (#15)
I think I understand the minRainHeight but what I was wondering about would be more of maxRainHeight config option. minRainHeight would always = zero.
I'm sorry for the confusion. rainMinHeight means minimum height of the rain volume (y-axis) in chart. So, it's the minimum rather than maximum.
See this picture.
https://user-images.githubusercontent.com/48573325/102484235-4c60e000-40a9-11eb-8806-42029326b877.png
That would be determined by individuals location. If you are auto scaling everything that won’t work but if you are only auto scaling the high and low temperatures it might.
It's almost impossible for me because there are many many places in the world and it's also difficult to get the place name from the latitude and longitude specified in config.
In my opinion, the adequate value of rainMinHeight depends on people rather than the location. So, it's enough to make it configurable.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mtatsuma/MMM-WeatherChart/issues/15#issuecomment-747397644 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMT3ATK3URKGC23R2QE43VLSVHXI3ANCNFSM4UXMDBIQ .  https://github.com/notifications/beacon/AMT3ATPEM3MYUWACKQ6WHMLSVHXI3A5CNFSM4UXMDBI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFSGGEDA.gif
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

What I was trying to say was to let the maxRainHeight be configurable.

You mean you want to fix the y-axis scale to a configured value?
Actually, fixing the maximum height of rain volume to a value is not simple because there are temperature charts above the rain volume charts.
Anyway, this may be another requests that is not related to this issue.
If you have another problem or feature requests, please open a new issue with a appropriate title.
It's very helpful to clearly describe the problem with a screenshot!


README: update machines and examples

Remove not supported machines from the list.
Use default machine (h3ulcb-4x2g) in examples.

Ack is added.
Testing is not applicable.
Ready to be merged.


feat: Option Panel to toggle features

Description
A second page, similiar like I did in #104 where users can toggle features like "Opera Workspace Sync" or additional debugging (todo)
Is your feature request related to a bug/issue?
Today I had the issue when having 2 windows open and each with an other active workspace, each time I switch a tab in either window, the Bookmark Bars getting changed. This is a normal behaviour but could run into issues by bars getting merged or even break them by hitting the chrome.storage api limits (#68)
Alternatives
As the current use for such an option page will only be for 1 feature atm, we could implement just a simple switch/checkbox.
But as the extension getting more features, an option page would be more suitable for this.

Another feature we could put in this panel is an option to purge all data related to the extension from the browser storage. Could be useful for debugging and for cases when entries somehow get corrupted.


Watch time progress not saving after "PlaybackException"

Steps to reproduce
1.Start a video
2.If PlaybackException [2004] : source error happens and you get out of the video
3.Re-open the video and the video loades back to the previous checkpoint of the watch time and not where the source error happend
Expected behavior
Watch time progress should save after source errors.
Actual behavior
Watch time progress not saving after source errors.
Crash logs (or stack trace)
No response
Flixclusive version
Latest pre-release
Android version
Android 14
Device
Samsung s22
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to the latest version.

This also happens when changing provider/server. Will fix now


Rename reflect to meta

The reflect node is actually the meta node: it provides meta information about the graph and graph traversal process.
For example, we'll need a scope identifier that helps scoping localMemory to a graph -- and that's where the meta node comes in.

Can you elaborate on your thoughts on scope?
(I'm thinking on how to support include/slot in the safety work, and something scope shaped appears there as well, if at first just to namespace the node IDs)

Yes! Scopes seem valuable when the graph contains multiple sub-graphs, included and slotted. There needs to be a way to help a node orient where it is, or at least have some identifier (scope!) that is like a zipcode for its own graph.

Not sure we need to do this anymore.


make service optional in gateway visibility config

Changes

:gift: service is now optional in gateway visibility config. If not provided, it will probe the IP in the Gateway status
Right now, this defaults to only probing 80 or 443. If the user sets up a default listener under a different port, this will not work. Could be a thing to add later to allow configurable ports.

The above also opens the can of worms around determining which KIngress belongs to which listener. Haven't thought too deeply on it, but it seems like we're bound to just reimplement the matching rules in the GatewayAPI spec for listeners 😬

/kind enhancement

Fixes #665

Release Note

net-gatway-api can be configured to support off-cluster Gateway implementations

Docs

FYI - my PR (https://github.com/knative-extensions/net-gateway-api/pull/672) is ready for review and merge (tests pass)- not sure if you want to rebase on that - the changes are pretty intrusive to this PR

it would probably be good to run some e2e/conformance tests with this setting used, but I'm not sure how it should be added?
@dprotaso @izabelacg do you have thoughts?

it would probably be good to run some e2e/conformance tests with this setting used, but I'm not sure how it should be added?

Sure - you could create a new gateway as part of the test and then create a KIngress and ensure the IP comes back.
I'd suggest maybe just run it in KinD though

okay I tried to add another round of conformance tests where the service is removed from the config, but that doesn't seem to be going well 😞
all the tests are failing, but it still seems to mark the test as passed

tide is in a weird state

/retest

/override "Generate some code!"

tide seems borked and is requiring skipped actions for some reason
/override "style / suggester / github_actions"


Passwords

The first issue with passwords is "why is a password required?" .. or more generally, "why do we need your identity and confirmation of that identity?" ... a significant number of password protected identities are not for user protection but for corporate marketing.   Clearly some interactions have financial, health or personal data exposure that warrants protection.  But most do not.  Let's be specific with respect to Consumer Reports (the magazine) ... identify/password are used to prevent non-subscribers from accessing the publication, or from someone redirecting my subscription to their address, or to keep someone from paying my bill.  None of these actually require significant protection -- either for CU or for the consumer.  Access to my bank account is a different story.  But forcing users to identify and authenticate is the first step on the road to lost identity and privacy.  One evaluation factor is "is identity here needed?"

Mudge/Sarah... Thoughts?

I think this is one that's very applicable to some products, and not at all to others.  We have a fair number of testing indicators that are only applicable to a subset of products - we deal with that by changing the weighting of the different elements we test for based on the product vertical.  So, in cases where we don't think user authentication is necessary, we could just assign a 0 weight to this item.  It is extremely relevant in some cases, though, so I think it should still be included.
The only possible change is if you thought it should talk more generally about user identity/authentication.  We worded the high level criteria to be as understandable to a layperson as possible, and passwords are something everyone is familiar with.

Actually, discounting the password issue where it is not as important is
not a good approach.
Many sites decide they need "password" protection of users (which really is
just confirmation of user identity for marketing purposes) .... by forcing
users to use passwords, the create a culture of password abuse ... this is
reflected in many ways. Folks use the same password everywhere (which is
fine for these "noise" sites, but problematic when it is used to protect
real data).  Folks make lists of passwords that are readily
disclosed/discovered -- again not an issue for noise sites, but more of a
problem for real ones.  Finally, folks become numb to the  real reasons for
passwords, forcing serious sites into  secondary and deeper levels of
protection.   A simple example is the movement of Social Security to
require two phase identification ... expecting older folks to have smart
phones that can be used to confirm their login credentials, and/or
expecting folks to have access to the phone at the same time they have
internet access (not easy in rural settings)
so, some pro-active statements about passwords would be useful.  For
example, downgrading a site for requiring a password when none is really
needed.   (And I might point out with web-bugs, persistant cookies, etc. )
identification of a person sufficient for most purposes does not even
require a login)
Best wishes
Jim
Jim Isaak

2016 Life Member Chair, IEEE NH Section http://IEEENH.org; IEEE
Region 1 Industry Liaison
2015 Vice President, IEEE Society on Social Implications of Technology
http://www.IEEESSIT.org;
President Emeritus, IEEE Computer Society http://www.Computer.org;
2003/2004 IEEE Division VIII Director
SSIT Blog Master http://ieeessit.org/category/ssitblog/

Now Published! in Live Free or Ride
http://www.nhbooksellers.com/#!product/prd1/4553219531/live-free-or-ride%3A-tales-of-the-concord-coach
(part
of the NH Pulp Fiction anthology series)
www.JimIsaak.com
On Wed, May 24, 2017 at 1:31 PM, citl-s<EMAIL_ADDRESS>wrote:

I think this is one that's very applicable to some products, and not at
all to others. We have a fair number of testing indicators that are only
applicable to a subset of products - we deal with that by changing the
weighting of the different elements we test for based on the product
vertical. So, in cases where we don't think user authentication is
necessary, we could just assign a 0 weight to this item. It is extremely
relevant in some cases, though, so I think it should still be included.
The only possible change is if you thought it should talk more generally
about user identity/authentication. We worded the high level criteria to be
as understandable to a layperson as possible, and passwords are something
everyone is familiar with.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/TheDigitalStandard/TheDigitalStandard/issues/31#issuecomment-303827854,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbE0WLFUz06qNdI2IUx37HTKwscSOxTSks5r9IWkgaJpZM4NQlLk
.

Keeping in mind that online users might prefer to use Passphrase instead of Password, one indicator could be if the product/service/app lets you set a passphrase? Most products don't let you choose more than 10 characters long password.


Warning: Material-UI: The white color was not parsed correctly,   because it has an unsupported format (color name or RGB %). This may cause issues in component rendering

I'm receiving the following error after upgrading from 0.16.4 to 0.18.0
Warning: Material-UI: The white color was not parsed correctly,   because it has an unsupported format (color name or RGB %). This may cause issues in component rendering

Versions

Material-UI: 0.18.0
React: 15.5.4

That warning was introduced with this PR #5939 to fix that issue #4841. I hope it helps.

tks
I just had to replace white with #ffffff for all labelColor of RaisedButton


support gzip compression?

hi,
I wonder if roadrunner supports gzip compression? conduct a "gzip" search in the reposiotry but no luck.

Currently, it does not support it, but it can be achieved using simple http middleware. Like https://github.com/nytimes/gziphandler

We can add it as default implementation if someone will send us a PR.


Exclude PF2e Companion Compendia items from ABCPicker results

Is their the possibility of getting some form of interface for this in future for exclusions (filtering) or support for modules to exclude themselves?


npm run tsd.... will not pass params correctly to tsd

I tried to install typings file in a private repos based on this project, where I ran into an odd situation
$ npm run tsd install sugar --save

><EMAIL_ADDRESS>tsd /Users/jesper/src/angular2-seed
> tsd "install" "sugar"

 - sugar / sugar

>> running install..
>> written 1 file:

    - sugar/sugar.d.ts

Now, while this installed the sugar/sugar.d.ts (in the ignored typings folder), it FAILED TO UPDATE tsd.json.
I would expect a dirty tsd.json file:
$ git status

On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean

Workaround:
You can install tsd globally, and it works:
$ tsd install sugar --save

 - sugar / sugar

>> running install..

>> written 1 file:

    - sugar/sugar.d.ts

now the tsd.json is updated correctly:
$ git status

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   tsd.json
no changes added to commit (use "git add" and/or "git commit -a")

The error
is probably that npm run tsd will not correctly pass params to tsd command. Instead, --save is probably eaten by npm. Question is how we can solve this?
For reference to tsd/typings workflow, see also issues #200, #201, #232

you have to run npm run tsd -- install sugar --save. -- indicates the end of npm args and passes what's after to the called script (that's in npm docs)

Awesome! An easy-to-overlook detail! Thanks


misc. logging cleanups

Change some log messages to use `WithField` so logged errors are more generic.
Remove unnecessary `Infof`, `Warningf`, and `Errorf` invocations.
change how endpoint BPF reloading / writing logs are emitted. The log messages for rewriting / reloading endpoint BPF programs always said that the endpoint's program was rewritten or reloaded, even if said operations had an error. If the operation occurred without error, log at Debug level to reduce the amount of these logs, as they scale to the number of endpoints on the node. If there is an error, log it at Warning level instead of Info level as was done before.

Signed-off by: Ian Vernon<EMAIL_ADDRESS>

This change is

test-me-please

Coverage increased (+0.05%) to 42.056% when pulling aa22abd517b1f22918c528366d86875601015779 on pr/ianvernon/cleanup-log-formatting into b2ff83adff68a557e12119ebb2cdf9d89a6cf017 on master.

test-me-please


Adding Event to GCal leads to strange "Where" line

When I click the calendar icon on the tool to add an event to my Google Calendar, an event is successfully created, but the "where" line is pretty strange and not human readable. Is that intentional?

@acohen84

This is a bug in the data transfer to the calendar. I'll post an update to this today.

Fixed.


Add GCP Pub/Sub Record Sink

Add a new GCP Pub/Sub Record Sink implementation to the NiFi GCP bundle.

GcpPubSubRecordSink.java: Add a new class GcpPubSubRecordSink implementing RecordSinkService to publish record sets to a GCP Pub/Sub topic. Include necessary imports, property descriptors, lifecycle methods, and data sending methods.
ControllerService: Add the fully qualified name of the new GcpPubSubRecordSink class to the list of services.
pom.xml: Add the new module for nifi-gcp-bundle.

Thanks for the contribution @gavin-burns-US. Please review the Pull Request Template checklist of steps required for the review. The first step involves creating a Jira issue in the Apache NiFi Jira project. You can request an account for approval, and just mention that you would like to contribute to the NiFi project. After writing up the Jira issue with the proposed feature, please review the steps to verify the code against standard conventions.
I'm closing this pull request for now, but feel free to open a new one after completing those steps.


Release notes for 18.02.0-ce-mac52 (Edge)

cc @gbarr01, cc @mistyhacks

Closing this one, new PR for the fixed release (which has an incremented number : mac53 btw)


Please add command to update data from database!

Please add command to update data from database or autoupdate!

I'll add this to the suggestions list.


http 204 causes gunicorn shutdown on appengine [BUG]

Describe the bug
I've found that a simple endpoint with status_code=204 is causing gunicorn to shutdown when running on Google appengine.
I suspect the bug is probably outside of FastAPI (eg maybe in uvicorn?), but I haven't yet managed to reproduce it with a simpler stack, and maybe this will help others with the same issue.
To Reproduce

Create the following:

main.py:
from fastapi import FastAPI

app = FastAPI()

@app.get("/")
def read_root():
    return {"Hello": "World"}

@app.delete("/", status_code=204)
def delete_root():
    print("deleted a thing...")
    return ""

requirements.txt:
fastapi
gunicorn
uvicorn

app.yaml:
runtime: python37

instance_class: F1

entrypoint: gunicorn --bind :$PORT --workers 1 --worker-class uvicorn.workers.UvicornWorker main:app

handlers:
    - url: /.*
      secure: always
      script: auto

Install gcloud cli, login to gcloud and then deploy to appengine with:

gcloud app deploy

Call the delete endpoint

curl -XDELETE https://YOURPROJECT.appspot.com

It hangs for a couple of seconds and then returns an error like this:

<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>500 Server Error</title>

Error: Server Error

The server encountered an error and could not complete your request.
Please try again in 30 seconds.

And logs as follows:
2020-05-23 15:08:11.658 NZST deleted a thing...
2020-05-23 15:08:13.193 NZST [start] 2020/05/23 03:08:13.192900 Quitting on terminated signal
2020-05-23 15:08:13.198 NZST [2020-05-23 03:08:13 +0000] [7] [INFO] Handling signal: term
2020-05-23 15:08:13.259 NZST [2020-05-23 03:08:13 +0000] [15] [INFO] Shutting down
2020-05-23 15:08:13.259 NZST [2020-05-23 03:08:13 +0000] [15] [INFO] Error while closing socket [Errno 9] Bad file descriptor
2020-05-23 15:08:13.360 NZST [2020-05-23 03:08:13 +0000] [15] [INFO] Waiting for application shutdown.
2020-05-23 15:08:13.360 NZST [2020-05-23 03:08:13 +0000] [15] [INFO] Application shutdown complete.
2020-05-23 15:08:13.360 NZST [2020-05-23 03:08:13 +0000] [15] [INFO] Finished server process
2020-05-23 15:08:13.361 NZST [2020-05-23 03:08:13 +0000] [15] [INFO] Worker exiting (pid: 15)
2020-05-23 15:08:13.502 NZST [2020-05-23 03:08:13 +0000] [7] [INFO] Shutting down: Master
2020-05-23 15:08:13.556 NZST [start] 2020/05/23 03:08:13.555603 Start program failed: termination triggered by nginx exit

But I expected it to return an empty body with http status 204.

Note - changing status code to something else, eg 200 resolves the issue.
Expected behavior
I expected an empty 204 response to be returned.
Environment

OS: Linux (appengine)

FastAPI Version

0.54.2

Python version

3.7 (whatever as used by appengine)
See also
Cross-post on the appengine issue tracker https://issuetracker.google.com/issues/157312477

Can confirm this happens on standalone uvicorn 0.11.8 as well.
The 204 response indicates that no content will follow.
However, return "" sends a response body that is two characters long for some reason.
This causes an ASGI exception, the related uvicorn traceback shows:
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "<snip>\env\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 388, in run_asgi
    result = await app(self.scope, self.receive, self.send)
  File "<snip>\env\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
    return await self.app(scope, receive, send)
  File "<snip>\env\lib\site-packages\fastapi\applications.py", line 179, in __call__
    await super().__call__(scope, receive, send)
  File "<snip>\env\lib\site-packages\starlette\applications.py", line 111, in __call__
    await self.middleware_stack(scope, receive, send)
  File "<snip>\env\lib\site-packages\starlette\middleware\errors.py", line 181, in __call__
    raise exc from None
  File "<snip>\env\lib\site-packages\starlette\middleware\errors.py", line 159, in __call__
    await self.app(scope, receive, _send)
  File "<snip>\env\lib\site-packages\starlette\exceptions.py", line 82, in __call__
    raise exc from None
  File "<snip>\env\lib\site-packages\starlette\exceptions.py", line 71, in __call__
    await self.app(scope, receive, sender)
  File "<snip>\env\lib\site-packages\starlette\routing.py", line 566, in __call__
    await route.handle(scope, receive, send)
  File "<snip>\env\lib\site-packages\starlette\routing.py", line 227, in handle
    await self.app(scope, receive, send)
  File "<snip>\env\lib\site-packages\starlette\routing.py", line 44, in app
    await response(scope, receive, send)
  File "<snip>\env\lib\site-packages\starlette\responses.py", line 139, in __call__
    await send({"type": "http.response.body", "body": self.body})
  File "<snip>\env\lib\site-packages\starlette\exceptions.py", line 68, in sender
    await send(message)
  File "<snip>\env\lib\site-packages\starlette\middleware\errors.py", line 156, in _send
    await send(message)
  File "<snip>\env\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 482, in send
    output = self.conn.send(event)
  File "<snip>\env\lib\site-packages\h11\_connection.py", line 469, in send
    data_list = self.send_with_data_passthrough(event)
  File "<snip>\env\lib\site-packages\h11\_connection.py", line 502, in send_with_data_passthrough
    writer(event, data_list.append)
  File "<snip>\env\lib\site-packages\h11\_writers.py", line 77, in __call__
    self.send_data(event.data, write)
  File "<snip>\env\lib\site-packages\h11\_writers.py", line 97, in send_data
    raise LocalProtocolError("Too much data for declared Content-Length")
h11._util.LocalProtocolError: Too much data for declared Content-Length

If you return None the response body will remain empty and the 204 response works.
I'm not sure if this is a bug in FastAPI, Starlette or h11, or which of them interprets the empty string as a literal '' response

looks like a no-content fastapi bug...
you should declare 204 response as to wrkaround:
@app.delete("/", status_code=204, response_class=Response)
...

Thanks, I can confirm that workaround works for me.
Happy for this to be closed, but will leave that up to maintainers.

Hi.
Finally ! After a week of hard work 🤯 , I finally find this issue.
It solves my problem. Thank you

Thanks for the report here @therefromhere! It seems this was handled in https://github.com/tiangolo/fastapi/pull/5145, available since FastAPI 0.79.0.
If that solves it, you could close the issue. Thanks! :cake:

Thanks @tiangolo , yes confirming this is fixed now


The link to analytics/base.js may be mispointed

Currently linking to:
https://github.com/philipwalton/analyticsjs-boilerplate/blob/master/src/analytics/index.js which 404s.
Should probably resolve to:
https://github.com/philipwalton/analyticsjs-boilerplate/blob/master/src/analytics/base.js

Thanks for letting me know! This should be fixed now.


Theme might be use invalid color format

error
The #fffff (with 5 times f) cause this issue:

It makes lots of component backgrounds to be transparent. (dropdown, dialog...etc)
code
When I modified this...
https://github.com/christopher-caldwell/vite-material-ui/blob/b651a2988e0ce1bfc470d6904dbc02b4708a1b51/src/providers/Theme.tsx#L27
that to #ffffff, everything works well as I expect.

Good catch, thanks!


Updates dependencies; Small version bump

Updates dependencies; Small version bump
If this is merged, I'll publish the update to NPM.

Done, holla at ya NPM


refactor! : on going rewrite utilizing XenGarden

removing IDE specific files from Repository applies from the time being.
please remove .vscode and .idea

From the timebeing, Maintainer will be the charge of the code review instead of members

@Alex4386 *will be in charge of


The method 'ancestorStateOfType' was called on null

I`m using local notification plugin and everything works fine except that when i tap on the notification....
i want to navigate to specific screen when the user tap the notification ```
Future onSelectNotification(String payload) async {
    //convert payload json to notification model object
    try{
    Map notificationModelMap = jsonDecode(payload);
    NotificationModel model = NotificationModel.fromJson(notificationModelMap);

    await Navigator.push(
        context,// it`s null!
        new MaterialPageRoute(
            builder: (context) => CommitmentPage(model)));}
            catch(e){print(e.toString());}
  }

but the context always null and gives me an exception
NoSuchMethodError: The method 'ancestorStateOfType' was called on null.
the problem is not related to the plugin, so how should i solve it ?

I have a same issue.

i have a same issue

having same issue .. ! any solutions ?

the navigator problem can be solved by passing a  GlobalKey<NavigatorState>() to  navigatorKey property in the MaterialApp
final navigatorKey = GlobalKey<NavigatorState>();
MaterialApp(
            navigatorKey: navigatorKey,
            title: 'Flutter Demo',
            debugShowCheckedModeBanner: false,
            theme: snapshot.hasData ? snapshot.data : null,
            // theme: _themeData,
            routes: routes,
            home: MyHomePage(),
          );

my issue is that i cant access my Bloc with context from global keys... from a push notification onclick i need to a make an api call by fetching data from Bloc and  route to particular screen..
Any help regarding this ? i get this error when accessing the bloc The method 'ancestorStateOfType' was called on null

the navigator problem can be solved by passing a GlobalKey<NavigatorState>() to navigatorKey property in the MaterialApp
final navigatorKey = GlobalKey<NavigatorState>();
MaterialApp(
            navigatorKey: navigatorKey,
            title: 'Flutter Demo',
            debugShowCheckedModeBanner: false,
            theme: snapshot.hasData ? snapshot.data : null,
            // theme: _themeData,
            routes: routes,
            home: MyHomePage(),
          );

my issue is that i cant access my Bloc with context from global keys... from a push notification onclick i need to a make an api call by fetching data from Bloc and route to particular screen..
Any help regarding this ? i get this error when accessing the bloc The method 'ancestorStateOfType' was called on null

Am also faced same issue, added 8 seconds of delay. Now screen navigation working fine without issue!

having same issue .. ! any solutions ?

Yeah i have
but I don't know english

Same issue. I don't know why is it closed.


[Téléphone] Mise en page dans les notes

Is there an existing issue for this?

[X] I have searched the existing issues

In which category does your improvement fall?
Notes
Explain the current situation that you do not think is right.
Actuellement, les notes ne sont composées que de texte
How is the improvement you propose?
Pemettre de la mise en page dans les notes (html ou markdown)

Accepted. You have the liberty of developing this, thank you. <3


Standalone CUDA version loops with python error.

Used docker-compose and logs are attached.

ha_net is defined elsewhere.
in the computer I have 2 nVidia GPU.

whisper_log.txt
docker_compose.txt

Seems it is the same as https://github.com/cociweb/custom_whisper/issues/6

yes, it is the duplicate of #6.


Checkout Content Map

Create content map and diagram for Checkout.
Acceptance Criteria

[ ] Content map and related data flow diagram

Next Issue
Content map for payments

Mat go bye bye 🪐


Per-request custom properties on auto-collected request

I can't seem to find any docs or examples about how to add custom properties onto auto-collected requests. For example, a userId or any other data that is discovered or calculated during the processing of a request.
I've tried stashing the data into
appInsights.defaultClient.context.tags[myKey] = 'foo';

but the additional properties don't show up in customDimensions (or anywhere if I try | search 'foo').
Am I missing a mechanism that allows custom properties to be added to auto-collected requests?

What you tried is actually quite close!
What you'll want instead is
appInsights.defaultClient.commonProperties[myKey] = 'foo';
client.context.tags is only for well-known Application Insights fields rather than custom properties.
Alternatively, the generic approach for modifying telemetry items (autocollected or otherwise) is a telemetry processor. They're described in the readme but here's an example:
appInsights.defaultClient.addTelemetryProcessor(( envelope, context ) => {
    var data = envelope.data.baseData;
    data.properties['mykey'] = 'myvalue';
    return true;
});

If you're using automatic dependency correlation, you can stash your own data for retrieval as the context variable by setting fields on the object returned by appInsights.getCorrelationContext(). The readme has more in-depth info about that (and what data is returned in the context variable by default)

I'm already leveraging the commonProperties as well, but my understanding was that commonProperties are the same for all events - not suitable for per-request.
So it sounds like adding fields to the correlation context is what I want. I came across this as well, however, this warning in the TS hint docs warned me off:
 * Do not store sensitive information here.
 * Custom properties set on this object can be exposed in a future SDK
 * release via outgoing HTTP headers.
 * This is to allow for correlating data cross-component.

I don't believe the properties I plan on adding right now are private, but I'd certainly like to avoid anything I put there being added as response headers by default.

Ah yes, fields set there will be propagated to allow scenarios where you want to keep knowledge of that property across the different servers in your stack. The way it works today is if you put something in getCorrelationContext().customProperties and make a call to another one of your servers, the value will show up in getCorrelationContext().customProperties there as well
Easiest workaround is to use your own field. Eg getCorrelationContext().myContext = {field: 'val'};
This should still get passed to the telemetry processor and should not get exported into response headers. It might be worthwhile for us to add a config setting to disable the sharing of correlation context properties so you don't have to workaround it in this way.

That totally makes sense. I think having my own field is a suitable solution to avoid propagation.
Thanks for all the help! Sorry that some of it was in the docs already, but hopefully this'll be helpful to anyone else searching like I was.

@OsvaldoRosado it looks like  envelope.data.baseData is missing from the typescript Envelope typing:
https://github.com/Microsoft/ApplicationInsights-node.js/blob/develop/Declarations/Contracts/Generated/Base.ts

@gunzip It's not missing, just not where one would probably expect it to be :smile: Our BOND schema (which these ts files are autogenerated from) is a bit complicated.
baseData is defined in https://github.com/Microsoft/ApplicationInsights-node.js/blob/develop/Declarations/Contracts/Generated/Data.ts

I believe you'll have to cast data to your specific data type (eg. Data<RequestData> or the generic Data<any>).
baseData indeed doesn't exist on Base, but Data<T> inherits from Base and supplies baseData according to T

thank you for the answer, this is not clear from the docs (maybe there's some way to avoid this casting using typescript discriminated unions in the src ?)

Glad to help! We could definitely use some better docs and examples for authoring telemetry processors.
We do expose one helper for the common case of not caring about the actual telemetry type and only wanting to get at the custom properties.
https://github.com/Microsoft/ApplicationInsights-node.js/blob/develop/Declarations/Contracts/Constants.ts
You can use domainSupportsProperties from here to set properties with typescript taking care of the cast itself:
if (Contracts.domainSupportsProperties(env.data.baseData)) {
   env.data.baseData.properties = myProperties;
}

Nice ! Two things:
return "properties" in domain || // Do extra typechecks in case the type supports it but properties is null/undefined

if properties is in domain it will return true even if the value is null or undefined (so I guess that the extra type checks are not needed there).
Anyway I cannot call Contracts.domainSupportsProperties(env.data.baseData) because env.data does not have a baseData property defined so Typescript complains (maybe it depends on some TS setting like strictNullChecks)

Hm you might still need a cast to Data<Domain> for env.data, but the helper should keep you from needing to figure out anything more specific than that (which is nice because properties otherwise only explicitly exists on the specific types like RequestData).

appInsights.defaultClient.addTelemetryProcessor(( envelope, context ) => {
    var data = envelope.data.baseData;
    data.properties['mykey'] = 'myvalue';
    return true;
});

@OsvaldoRosado  This option good for env level variable. But, I want to add custom field at request level. E.g I want to track bind Username of requester. How can I achieve that?
Currently I am sending custom fileds in trackRequest. But, those fileds are truncated when I print envelope & context in addTelemetryProcessor

@munir131 On automatically collected request telemetry, one of the context objects given to your telemetry processors is the incoming request object itself, which you might be able to get the username out of (or store it on). Alternatively, the correlation context (appInsights.getCorrelationContext()) can be used.
That being said, if I'm understanding right, you're already doing trackRequest manually. In this case, what is the scenario where you need a telemetry processor to add a custom property rather than doing it when calling trackRequest?
As a general advice, if you find simple console.logs are insufficient to see what's within envelope or context during development time, I highly suggest using a debugger with breakpoints instead. VS Code can work wonders here!

@munir131 How long are the values you're trying to store in custom properties? They may get truncated if they're over the field limit of 8192 characters (https://docs.microsoft.com/en-us/azure/application-insights/app-insights-api-custom-events-metrics#properties)
Telemetry processors do indeed run for all telemetry, but in their context variable they are always given their specific request object (in automatically collected requests), their specific manually passed contextObjects (for trackRequest), or their specific correlation context object (in all cases). These stay true regardless of requests coming in parallel.

Maximum size of those field value is 35 characters. So it is not issue.
Another issue with telemetry is when I will call trackRequest i need to call telemetry process to inject custom value as there is limited scope of those fields. So, everytime calling telemetry processor is not feasible solution.
Is there any specific reason to not allow custom fields in trackRequest parameter object?

@munir131 You can provide them at the time of trackRequest. Telemetry processors are only suggested for automatically collected requests or when the information needed is not available at the time of trackRequest.
To record a custom field within trackRequest simply do:
client.trackRequest({name:"GET /customers", ..., properties: {myProperty: "MyValue"}});

Thanks. This is what i was trying to find.

Would you accept a PR that shows an example that uses a custom property on the getCorrelationContext() object and uses a custom telemetry processor to track per-request data?
Similar to something like the following:

Adding authenticated user ID information in server-side NodeJS Application Insights events

I had to dig through a bunch of issues before I was able to figure out what to do, so an example would be nice to have in the docs.

Thank you, was looking this for hours. Finally after the weekend found this one in 10 minutes. So this works for me:
appInsights.addTelemetryInitializer((envelope) => {
if (envelope.baseData) {
const version =
localStorage.getItem(buildVersionKey) ?? 'No version detected'
envelope.baseData.properties['Website version'] = version
}
})


Help docs for --matching are unclear

-m, --matching   A string that will be matched against the release filename when there
are multiple files for your OS/arch, i.e. "gnu" or "musl". Note that
this will be ignored if there is only used when there is only one
matching release filename for your OS/arch.

It's the

if there is only used when there is only one matching release filename for your OS/arch

that is hard to parse.

It's hard to parse because it's gibberish. I will clean that up.

I just pushed a fix. This will be in the next release. Thanks for the report!

That's much clearer. Thanks! 🚀
Closed via d7848af128425e


Fix build errors with ITK v5.1rc01

We are trying to update Slicer to use latest ITK release (v5.1rc01), but the BRAINSTools version we have been fails to build with it. PerformMetricTest.cxx changes in this pull request fixes the error.
However, latest BRAINSTools is not compatible with latest ITK release (v5.1rc01), due to all the strongly typed enum changes. I've committed changes that undo all the incompatible changes in BRAINSTools in BRAINSStripRotation.cxx and BRAINSTransformConvert.cxx, but probably instead of a simple revert, you would want to use #ifdef to make the code work with both latest ITK release and ITK master. Alternatively, a new ITK stable release could be created that works with BRAINSTools, or a BRAINSTools branch could be created that is compatible with latest ITK release.

@hjmjohnson

@lassoan Do you need the very latest version of BRAINSTools?  I'd recommend using an earlier commit prior to these strongly typed changes.  I don't think there are other improvements to the registration code that are needed.

Earlier versions do not work because they don't have the fix in PerformMetricTest. If you create a branch for the latest ITK RC and merge the fix there then we could use that.

For now, we forked BRAINSTools and applied the PerformMetricTest.cxx fix there (and we don't need to revert strongly typed enum related changes here).
To make sure that BRAINSTools can be built with latest ITK master, it is enough to integrate this pull request: https://github.com/BRAINSia/BRAINSTools/pull/463 (and I close this pull request now).


Issue on Mac OS X Lion

Have you tried building and running on Lion?
I've got two different machine running Lion, and while I can build the static libs and frameworks for Cedar on both, My spec app (and the iPhoneSpecs app in the Cedar project) crash when loading:
void CDRDefineGlobalBeforeAndAfterEachBlocks() {
    [SpecHelper specHelper].globalBeforeEachClasses = CDRSelectClasses(^BOOL(Class class) { return !!class_getClassMethod(class, @selector(beforeEach)); });
    [SpecHelper specHelper].globalAfterEachClasses = CDRSelectClasses(^BOOL(Class class) { return !!class_getClassMethod(class, @selector(afterEach)); });
}

where the first line makes a call to ___CFBasicHashFindBucket_Linear
Any guidance?

I don't believe this has anything to do with SL vs. Lion.  We run on both versions of OS X without any OS-specific issues.
Without more info, my best guess is that this issue may be related to the recent change which removes the -beforeEach and -afterEach instance methods on SpecHelper, replacing them with a mechanism which discovers classes which implement a +beforeEach and +afterEach and runs your custom setup and teardown methods instead.
Let us know if this helps.  Additionally, you might get help more quickly by posting to the cedar-discuss mailing list.  Github issues aren't always actively monitored.
HTH,
Andrew

As Andrew mentioned, we run on Snow Leopard and Lion without problems.  Based on the location of the crash, the problem appears to be some class which doesn't properly support the class_getClassMethod() runtime function.  There's a known problem with the class UIAccessibilitySafeCategory__NSObject, which Apple provides when using an iOS device or simulator with the Accessibility Inspector enabled.  Cedar has handled that issue since commit 6ace9c9137dd8a05262b8454874a45e1f1c60f1d (8th of September).
If you can track down which class is causing this problem, we can try to figure out the cause.  There doesn't seem to be a problem with enumerating the class itself, so you may be able to print out the name of each class in the loops using the class_getName() function.  The last class name you print out before the crash should be the one that's causing the problem.

I'm working with this project today - I'll let you know!  WIll use the other list for further questions...

Anyone have updates on this issue?  I've still never seen it on any machine I use.


[SPARK-21412][SQL] Reset BufferHolder while initialize an UnsafeRowWriter

What changes were proposed in this pull request?
UnsafeRowWriter's construtor should contain BufferHolder.reset to make the writer out of the box.
While writing UnsafeRow using UnsafeRowWriter, developers should manually call BufferHolder.reset to make the BufferHolder's cursor(which indicates where to write variable length portion) right in order to write variable length fields like UTF8String, byte[], etc.
If a developer doesn't reuse the BufferHolder so maybe he never noticed reset and the comments in code, the UnsafeRow won't be correct if he also writes variable length UTF8String. This API design doesn't make sense. We should reset the BufferHolder to make UnsafeRowWriter out of the box, but not let user read the code and manually call it.
How was this patch tested?
makeKeyRow(long k1, String k2) in RowBasedKeyValueBatchSuite already tested it.

Can one of the admins verify this patch?

@cloud-fan @viirya @gatorsmile Could you please help me review this?

OK to test

ok to test

Test build #79702 has started for PR 18632 at commit a098540.

Test build #79702 has finished for PR 18632 at commit a098540.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/79702/
Test PASSed.

Mostly UnsafeRowWriter instances and BufferHolder  instance are reused during the query execution and we need to reset the buffer holder for every input row, so I don't think there is a place  inside UnsafeRowWriter can call holder.reset automatically.

@cloud-fan You are right, thanks. I will close this PR.


Cannot make a collection offer as the opensea one

Hey guys,
I am trying to create a fonction to make collection offers as opensea does it. Like you create an order, to buy 5 tokens and then the user who want to accept, fulfill it until the amount selected is achieved.
here the order I create
const { executeAllActions } = await seaport0x4.createOrder(
    {
      offer: [
        {
          amount: "5000000000000000",
          token: "0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6",
        },
      ],
      consideration: [
        {
          itemType: ItemType.ERC721,
          token: collection0x4Test,
          identifiers: [],
          recipient: account0x4,
        },
      ],
    },
    account0x4
  );

  const order = await executeAllActions();

Then I try to fullfil it from a user owning a nft of the collection
const { executeAllActions: executeAllFulfillActions } =
    await seaport0x9.fulfillOrder({
      order,
      accountAddress: account0x9,
    });

  const offer = await executeAllFulfillActions();

If the order is created, when I try to fulfill it I receive an error as :
Error: You must supply the appropriate criterias for criteria based items
Anyone has an Idea how can I make it work  and mostly why have I this error?

Fix, I manage to make it for an open order
here snippet of the code:
const { executeAllActions } = await seaport0x4.createOrder(
    {
      offer: [
        {
          amount: "5000000000000000",
          token: "0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6",
        },
      ],
      consideration: [
        {
          itemType: ItemType.ERC721,
          token: collection0x4Test,
          identifiers: [],
          recipient: account0x4,
        },
      ],
    },
    account0x4
  );

  const order = await executeAllActions();

Then to fulflil the open order
 const { executeAllActions: executeAllFulfillActions } =
    await seaport0x9.fulfillOrder({
      order,
      considerationCriteria: [{ identifier: "10", proof: [] }],
    });

  const offer = await executeAllFulfillActions();

In case anyone would need that one day. I now need to manage the several purchase if ythe user wants to buy more than one


How to limit  download to specific extensions

I'd like to  put in my  python code   restriction   to files with extensions mp4 and avi
What option ot need to add  to  option dictionary
before line
ydl = YoutubeDL(ydl_opts)
Thank you

'format': 'best[ext=mp4]/best[ext=avi]'

My settings
ydl_opts['format']= ['best[ext=mp4]/best[ext=avi]']
Moisey O
<EMAIL_ADDRESS>[image: linkedinbutton] https://www.linkedin.com/in/oysgeltm
The view changes only for the leading dog.
On Sat, Mar 12, 2016 at 9:58 AM, Sergey M<EMAIL_ADDRESS>wrote:

'format': 'best[ext=mp4]/best[ext=avi]'
—
Reply to this email directly or view it on GitHub
https://github.com/rg3/youtube-dl/issues/8837#issuecomment-195753337.

It should be a string but not a list.


Non-NDC Ray Sampling Logic

Hey, I am trying to understand this piece of code here. Would you mind explaining what exactly its trying to compute? What is rate_a/b & t_min. I might be rusty of on 3D geom
https://github.com/apchenstu/TensoRF/blob/main/models/tensorBase.py#L281-L284

Hi @ayush29feb - I was just reading into that function also, so I'll try to lend my understanding here related to the math:

Re: your second question - rate_a and rate_b are the distances between sampled points on 2 separate rays. Specifically, the rays that go from each rays_o to the aabb[0] (aka the min_xyz, or the bottom-left corner of the axis-aligned bounding box) and aabb[1] (which conversely is the max_xyz point in the aabb) respectively.

Re: t_min: so both rate_a and rate_b tell us the number of sampled points on each of the rays (I like to think of them as the number of "steps" we take along that ray).

Then we take the element-wise minimum() of these two, which I think represents for each ray, along each of the xyz axes, it stores what was the least amount of steps needed to get inside the bounding box.

Finally it calls amax() and passes -1 for the dim - so now it's just like the tensor before, but we're only taking the largest number of steps that was needed along any of the xyz axes (again, this is for when each ray first enters the bbox).

I hope this is helpful!

The lines that you mentioned are used to filter rays that do not intersect the aabb. Here is a link with more details: https://www.scratchapixel.com/lessons/3d-basic-rendering/minimal-ray-tracer-rendering-simple-shapes/ray-box-intersection

Sorry for opening this one, but I have a slightly related question to this non-ndc sampling logic: Is there a reason why you are using stepsize*(torch.arange(N_samples) + some noise) starting from bbox edge t_min (lines https://github.com/apchenstu/TensoRF/blob/main/models/tensorBase.py#L288-L293), instead of sampling in a (near,far) range as you did for sample_ray_ndc with linspace?
In this way, if I am not mistaken, you have a tradeoff between N_samples vs stepsize to cover whole bbox range (i.e. you need a lot of N_samples to cover full bbox if stepsize is really small)?


Cargo book chapter 4 does not document fmt

Problem
I am looking for documentation on cargo fmt
So I came to here
It is an undocumented Cargo command.
It seems like a good place to document it.
thank you
Proposed Solution
No response
Notes
No response

Neither is cargo clippy. They aren't built in commands but extension that get installed when you install those rustup components.

Neither is cargo clippy. They aren't built in commands but extension that get installed when you install those rustup components.

Really?  Ok.
I changed the title of the issue to reflect that.
I am raising this simply because this is where I came, and it seems a logical place to come (the Cargo Book) to find the documentation for the tools I use Cargo for.

We could technically put a link to each external command in new HTML pages. However there are things worth noting:

None of them (cargo-fmt and cargo-clippy) has a man page like documentation in their repository  (rust-lang/rustfmt and rust-lang/rust-clippy) for us to link to.
The man page style docs are also accessible via cargo help <cmd> in your terminal emulator. We can't link to arbitrary format if their man pages are available. Those man pages are generated from the source here https://github.com/rust-lang/cargo/tree/master/src/doc.
The Cargo team (maintainers of this repo) has no control over cargo-fmt and cargo-clippy in those repositories. The maintainers of those two repos can indeed write some man page docs in rust-lang/cargo repo, though it would be a burden to keep things sync in different repos.
There are some discussion about moving cargo-fmt/cargo-clippy into Cargo as built-in commands, though it is not going to happen anytime sooner.

We might have a possible way forward at this moment:
Writing a static markdown for cargo fmt and cargo clippy only for HTML documentation at https://doc.rust-lang.org/cargo/. For each page, explain it is an external subcommand and is available via rustup component add. Also provide a link to https://doc.rust-lang.org/clippy/installation.html or https://github.com/rust-lang/rustfmt (sorry I cannot find the official doc for rustfmt under doc.rust-lang.org).


Prereq Confusion

Under prereq it says minimum RAM per VM should be 64GB, but at this github page, https://github.com/microsoft/sql-server-samples/tree/cu1-bdc/samples/features/sql-big-data-cluster/deployment/kubeadm/ubuntu , it says 32GB RAM. Which is it?

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

ID: fc8bb827-4819-7b2d-490a-071f6b7b57a2
Version Independent ID: 65b90b91-5946-b2d1-b97a-537bc9b014ca
Content: Configure Kubernetes with kubeadm - SQL Server Big Data Clusters
Content Source: docs/big-data-cluster/deploy-with-kubeadm.md
Product: sql
Technology: big-data-cluster
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@mwdarab Thank you for the feedback, assigning this to the author for review.

Once deploy
azdata bdc create --config-profile custom --accept-eula yes
Pod Name: mgmtproxy-7jk75 event log displays following. Please let me know how to resolve this issue
Readiness probe failed: cat: /var/run/container.ready: No such file or directory


Tpu profiles

SUMMARY:

profile traces with TPU profile

This is awesome, thanks for adding this @robertgshaw2-neuralmagic I linked this PR to this bug: https://github.com/vllm-project/vllm/issues/9783

cc @lsy323


Add ordered_remove with O(n) perf.

I might be understanding the implementation wrong, but I think that order-preserving remove can be implemented by shifting both the indices and entry Vec-s, then decrementing all indices after the removed one, then correcting the robin hood property. But maybe I'm wrong, please review carefully @bluss :)
Because this operation is O(n) compared to the std O(1), I named it ordered_remove so that you're forced to make a conscious decision to preserve order at the expense of performance.
If this implementation makes sense, I'm happy to add a couple more commits to update the README and add this operation to Entry too.

This does look good to me, just not sure if we need it. I think it is ultimately needed, the OrderMap has a lot of Vec like functionality going already.

Since some time has passed, you can disregard review comments here. But I'll put down my thoughts so that I don't forget them, for when I come back to this.


Investigate: Hand-off within a skill is likely not working.

We need a test scenario to ensure hand-off from a skill scenario works.
Context:
I hear from multiple sources that a HandOff (Transfer to Agent) activity is not supported in a Bot that's running as Skill

what does actually happen when a Skill get to the HandOff?
Does it silently not execute the handOff and returns control to the parent Bot?
Is there an event or exception that Skill gives to the Parent bot when hits the HandOff activity?
For PVA as a SKill feature in PVA, what would the expectation be or if there any recommendations?

@garypretty , @gabog , @darrenj - FYI.

Transferring to botbuilder-dotnet repo for further tracking. Assigning to R13 milestone for shiproom evaluation.

Shiproom - not taking for R13 - moving to R14

Spoke with @msomanathan, and this is now resolved. He will add details here for the history books, and then close this issue.

What does actually happen when a Skill get to the HandOff?
When a skill gets to handoff, a Handoff EventActivity is raised, which will need to be handled by bot code.
Does it silently not execute the handOff and returns control to the parent Bot?
The control stays with skill bot, and it raises a handoff event that can be handled by bot code to relay messages from human agent back to parent bot.
Is there an event or exception that Skill gives to the Parent bot when hits the HandOff activity? For PVA as a SKill feature in PVA, what would the expectation be or if there any recommendations?
The bot code can send the messages from human agent using proactive message ContinueConversationAsync and the message will get relayed to the channel.

Please let me know if you need a sample POC code that I can share on how this works with a LivePerson agent.


Add a license

Please add an open source license (GPL, MIT, Apache, BSD, whatever) so people are actually allowed to contribute, modify and fork this. Without a license the code is copyrighted and others aren't really allowed to do anything with it.

I just noticed this doesn't even contain the Python source code of the app... Please also upload tjat to the repo. (Not the compiled EXE but the .py file)

Yeah I agree please add the python code. I wanna add some :)

Please add an open source license (GPL, MIT, Apache, BSD, whatever) so people are actually allowed to contribute, modify and fork this. Without a license the code is copyrighted and others aren't really allowed to do anything with it.

Hey Lenni-builder, thank you for addressing the issue! I just now added a licence and uploaded the .py file as a release for anyone to use. Massive help, thanks!

Great! If you upload the Python file to the repo files itself people can contribute by opening PRs. I have an idea I want to try out and contribute back of it works.

@scientistmdl I don't know if you understood my last comment correctly. If you added the Python file to the repo's files (Where the README, index.html and screenshot is saved) people can fork the repo, make code adjustments/add more quotes and open a PR back to the repo. It doesn't work if it's just in the releases. I recommend you to put the .py file into the repo itself and just upload the compiled binaries as releases. (You could also add the Python file the release's executables were made from, but having it in the repo is more important).

If you added the Python file to the repo's files (...)

I did that in #2. Just merge that PR (after testing it on Windows).


Remove default styling of eox-layout

The gray background etc. is good for debugging, but shouldn't be the default. Maybe enabled via a convenient debug attribute?

We could consider a debug flag for most/all eoxelements? Maybe something that could be set globally? Which adds more logging among other things?
But yes, in general i would remove the grey as default


Add lab function to Color module

https://www.xrite.com/pl-pl/blog/lab-color-space

I could work on this issue. Could you assign this to me?

Sure :)


Deal with upstream docker-boshrelease changes

It looks like the new bosh2-ified docker-boshrelease broke stuff. Here is the beginning of the string of errors from CI:
  Error 100: Unable to render instance groups for deployment. Errors are:
     - Unable to render jobs for instance group 'docker-bosh-tg_test_app4'. Errors are:
       - Error filling in template '(unknown)' (line (unknown): containers/monit:1: syntax error, unexpected ';'
      ...rs', []).each do |container| -; _erbout.concat "\ncheck proc...
      ...                               ^
      containers/monit:7: syntax error, unexpected ';'
      ;  end -; _erbout.concat "\n"
               ^)

I plan to pin to docker-boshrelease 29.0.0 in the meantime.

Sorry about that. But your resulting tile metadata files will be more lovely once you move to it!
A snippet from Dingo Redis metadata is:
job_types:
- name: docker
  resource_label: Docker Backend
  templates:
  - name: docker
    release: docker
    manifest: |
      tcp_address: <IP_ADDRESS>
      tls_cacert: (( $ops_manager.ca_certificate ))
      tls_cert: ((.properties.docker_tls.cert_pem))
      tls_key: ((.properties.docker_tls.private_key_pem))

property_blueprints:
- name: docker_tls
  type: rsa_cert_credentials

For running containers, here is a snippet for the containers job: https://github.com/cloudfoundry-community/docker-boshrelease/blob/master/manifests/containers/example.yml#L20-L41

Thanks, @drnic. Please, no need to apologize! This is a change for the better.

This was resolved in 8868772aa5620dc203a37d2e49b1101cf5229b08. Yay!


how can show the second metrics ONLY?

firstly,I get the metrics"npkt{DIP="<IP_ADDRESS>"} 1.0 ” ,when Visit "<IP_ADDRESS>:/8000", Show "npkt{DIP="<IP_ADDRESS>"} 1.0 ”
....after 30s...
then, I get the metrics"npkt{DIP="<IP_ADDRESS>"} 1.0 ” ,when Visit "<IP_ADDRESS>:/8000", Show "npkt{DIP="<IP_ADDRESS>"} 1.0 ”(this is first metric) and  "npkt{DIP="<IP_ADDRESS>"} 1.0 ”
how can show the second metrics ONLY?

Hello, you will have to unregister the metric with DIP="<IP_ADDRESS>" before adding the new metric. You can do that by calling registry.unregister(metric). If this is happening every 30 seconds, you will create a significant amount of series churn in your Prometheus instance, and the series that are created would be very poorly compressed with only one or two samples.

Every 30 seconds, there are new samples, but the old samples alway show on the html, I want the new samples ONLY, because the old ones were  stord in Prometheus, how to call registry.unregister(metric)
my code:
start_http_server(80)
.....
npkt = Gauge(name='npkt', documentation='count of packets',labelnames=['SIP'])
while True :
## code for generate new k.saddr and v.num
....
npkt.labels(SIP=decimal_to_human(str(k.saddr)) ).set(v.num)

That is not a model that will lead to success with Prometheus. Prometheus works with timeseries, which means a single series should exist for a period of time (at least a few minutes, preferably hours). Lots of series with just one datapoint will cause a large amount of memory usage in Prometheus and not provide much value to you.


See if we can extend the existing prow trigger plugin to cover our use case.

At the moment we have the benchmarking plugin to trigger benchmarks from comments.
Because of this we need to fork Prow and rebuild the Prow images that are deployed on k8s.
If we can modify the existing trigger plugin to cover our use case and it is accepted upstream than we wouldn't need the Prow fork.

I opened a PR to k8s/test-infra https://github.com/kubernetes/test-infra/pull/13098 but the changes were not accepted due to how the trigger plugin is used by some other components of prow.
for now, I think using the external prow plugin/ benchmark.go plugin is the way to go. either way the shift to github actions will remove this usecase for us.

Yes will close once we migrate everything to github actions.


Feature/config generator

For reviewers:

Missing features:

[ ] Filtering NLM
[ ] Non-interactive mode (for CI tests)
[ ] Only OpenFOAM should support two-way coupling

This is just nice-to-have, you can merge without it, but it would be very nice if in interactive mode, the validation errors would actually highlight the affected / conflicting fields. For example, if there is
Validation errors: Cannot use two-way coupling with analytical CFD solver.
then the lines  [4]	CFD solver	analytical and  [8]	2-way coupling	True  should be marked red. Or if I see
Validation errors: Example checkpoint file only provided for small Simple MD simulation.
then the lines  [1]	domain size	medium and  [2]	use checkpoint	True should be marked red.

This is not easily possible with the current implementation, because the error only originates at one generator and printing the current selection is done separately from validation.
I want to avoid making a huge mess because of feature creep.
Therefore, I suggest treating this as won't do and instead making sure that the error messages are informative enough.

[ ] Why do I get this error? Validation errors: Too many coupling cycles or too few MD instances for 2-way coupling. Something must be wrong with the conditions / limits for this. I have 20 MD instances, NLM, TWC, MD60, Cell size 5. This should work.

This works with simulation=test, but not with short or normal, because:

2-way coupling
Only 50 coupling cycles or 200 MD inst.

The condition "2-way coupling: Only 50 coupling cycles or 200 MD inst." is not complete, since filtering should be considered as a reduction of the necessary number of instances by a factor of 10. Thus, "if filtering=True then Only 50 coupling cycles or 20 MD inst.". I pushed a commit that does this.


chore: Fix merge conflict

Came across the merge conflict, and think the intention was to remove the language code from the link so I took that resolution

Hi @nschonni, This was fixed in the private repo over the weekend. The fix will be live later today.
Thanks,
Corey


rpi style 40-pin gpio library support

Does the coral have a library for interfacing with the 40-pin gpio on the Coral dev mini?
I am trying to interface an enviro+ sensor that works fine on a raspberry pi0 to instead work on a the google dev miniboard
https://github.com/pimoroni/enviroplus-python
python lcd.py
Traceback (most recent call last):
File "lcd.py", line 3, in
import ST7735
File "/home/mendel/enviro+stuff/enviroplus_exporter/venv3/lib/python3.7/site-packages/ST7735/init.py", line 26, in
import RPi.GPIO as GPIO
File "/home/mendel/enviro+stuff/enviroplus_exporter/venv3/lib/python3.7/site-packages/RPi/GPIO/init.py", line 23, in
from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!
I know the jetson folks have solutions https://github.com/NVIDIA-AI-IOT/jetbot/issues/18

Hello, please check out the python-periphery library as documented here: https://coral.ai/docs/dev-board/gpio/#program-with-python-periphery

Hello, please check out the python-periphery library as documented here: https://coral.ai/docs/dev-board/gpio/#program-with-python-periphery


feat: node recovery strategies

This is a feature request
Problem
Prerequisite: https://github.com/waku-org/js-waku/issues/2070
Once we can understand in what state a light node is we should provide clear strategies for consumers to recover from undesirable states.
Proposed Solutions
For each node health state we should develop a method that should be triggered to recover from it.
Additionally we should introduce option networkRecovery: boolean that would make triggering of such states automatic.
This behavior should be off by default and tested before making it on by default.
Node health state:

sufficiently healthy: no actions needed;
minimally healthy:

[ ] find and establish connection to new peers to fulfill needed requirements:

unhealthy:

[ ] if possible use previous operation (check in practice if it works);
[ ] if no implement hard reset operation that would re-establish connection to bootstrap nodes and will start all over again;

[ ] expose mentioned API;
[ ] implement auto triggering operation if networkRecovery option was provided;

Note: hard reset operation won't help in case if node is offline (from Internet) and we should be clear about it in our API / documentation / behavior.

From discussion:

partially healthy strategy:

from @danisharora099 : background approach should be sufficient enough

ping @vpavlin @hackyguru for perspective on the issue as we are not sure if it is needed

I am a bit confused by

For each node health state we should develop a method

I'd expect there are basically 2 methods - "find new nodes" and "hard reset" which can potentially be used in any health state by the app dev in case their app notices anything weird?
And then automating it on waku level by setting networkRecovery: true
Or maybe this is what has been said?:)

@vpavlin there could be two methods or just one depending how we find it better.
but the question here is more - do we need it? Have you noticed before such a need when talked to people that use js-waku?

From https://github.com/waku-org/support/issues/2

Maybe we need a full network wipe feature (zy0n)

Ideally js-waku should be able to recover from bad situations.
Keeping Iceboxed for now, need more feedback after fixing original problem with Filter https://github.com/waku-org/js-waku/issues/2158


chore: remove unused functions in utils/core

SUMMARY
This PR removes unused functions in utils/core.py
TESTING INSTRUCTIONS

unit + integration tests / CI

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Thanks for cleaning up the place!

@john-bodley thanks for pointing out the tool, I didn't know about it before. After trying it out, I agree with you about the poor accuracy and false positives. Even at 100% confidence level (which could possibly be used in a CI pipeline) it is unfortunately not very helpful IMO.


Add a space after prefilled console command string

When opening command console by tapping a shortcut, there is no space after prefilled command string, the user has to type a space first then user input. For example:

Type w in mitmproxy flow view, see console:

: save.file @shown█

(█ is current cursor position)
To enter the path ~/test, user has to enter a space first:
: save.file @shown ~/test█

It's a bit inconvenient every time to type the additional space...
After this commit, a space is inserted after command string and the initial cursor position is:
: save.file @shown █

I absolutely agree that this is a UX issue we need to fix. I think your patch is good enough for now, the long term solution should probably be that console.command accepts a single string as input (which then has a space at the end).

Thanks!


Fix tidy-html5 for non-Windows users

Tidy is currently impossible to install on Linux-based OSes due to its portfile attempting to move a .exe file which is specific to Windows.
Should fix the installation of this library for both Linux and MacOS, however I only tested on Linux.

include(vcpkg_common_functions) in portfile.cmake is deprecated. Please remove it.

I've updated the ci.baseline.txt file and removed the deprecated include in portfile.cmake, as suggested. Should be all good!

Alright, thanks so much @Bowser65 :)


Correct possible naivety mismatch when comparing dates for stats.

Does what it says. This should allow the django-name stats to work fine regardless of what the value is for USE_TZ.

ping @ldko, @madhulika95b, this is ready for review.

This will close #135


Edit sessions seem to disappear

Testing #161860

Open vscode-website and make a change to README.md
Store Current Edit Session
Run Show Edit Sessions

I can see the vscode-website edit session with the README file nested

Close VS Code and reopen on vscode-docs.
Run Show Edit Sessions

I can see the vscode-website Edit Session but without the nested README file

Close VS Code and reopen on vscode-website.
Run Show Edit Sessions

"You have no stored edit sessions to display"

Duplicate of https://github.com/microsoft/vscode/issues/162034


rouge-score 0.1.2 :snowflake:

rouge-score 0.1.2 :snowflake:
Destination channel: Snowflake
Links

PKG-4823
dev_url:        https://github.com/google-research/google-research/tree/master/rouge
conda_forge:    https://github.com/conda-forge/rouge-score-feedstock/blob/main/recipe/meta.yaml
pypi:           https://pypi.org/project/rouge-score/0.1.2
pypi inspector: https://inspector.pypi.io/project/rouge-score/0.1.2

Explanation of changes:

...

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_410r6vdbfv/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:68: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
clone/recipe/meta.yaml:68: missing_dev_url: The recipe is missing a dev_url
clone/recipe/meta.yaml:68: missing_documentation: The recipe is missing a doc_url or doc_source_url
===== Final Report: =====
4 Errors and 0 Warnings were found


Module

[!] The [Target] target has transitive dependencies that include statically linked binaries: (/Pods/CheckoutEventLoggerKit/CheckoutEventLoggerKit.xcframework)
pod 'Frames', '3.5.2'
xcode 13.2.1
iOS minimum target v11.0

Hi @FarhanAnsari92 Can you please give us more details to reproduce the issue. Some steps would be nice.

I installed the sdk using SPM.


⚠ Samsung has degraded performance

In 1d45cc4, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2473 ms

Resolved: Samsung performance has improved in 872b29c.


When formatting code, resulting in JS template engine language which can not be used to break

VSCode Version: Code 1.7.1 (02611b40b24c9df2726ad8b33f5ef5f67ac30b44, 2016-11-03T13:53:14.822Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions:

Extension
Author
Version

jquerysnippets
donjayamanne
0.0.1

vscode-JS-CSS-HTML-formatter
lonefy
0.2.1

debugger-for-chrome
msjsdiag
0.5.2

Material-theme
zhuangtongfa
1.0.3

html-css-class-completion
Zignd
1.0.3

Steps to Reproduce:

When I use Format Document

Can you paste the example code that you format?
I see you have a extension installed for formatting. You might have to file the issue to the repository of that extension.

                                 {{if taglist != ''}}
                                     {{each taglist as list}}                                         <input class="tagid" type="hidden" data-tagid="{{taglist[0].id}}">                                         {{each list.goodslist as value index }}                                         {{if index < 4}}

                                                     {{if value.goodsname != null}}{{value.goodsname}}{{else}}点击添加你想展示的文字内容{{/if}}

                                                     {{if value.goodsdesc != null}}                                                     {{=getGoodsIntro(value.goodsdesc)}}                                                     {{else}}                                                     点击添加你想展示的文字内容                                                     {{/if}}

                                                     {{if value.id != null && value.id != ''}}                                                     {{if value.price > 0 }}                                                     ￥{{value.price}}                                                     {{else}}                                                     面议                                                     {{/if}}                                                     {{else}}                                                     价格：待定                                                     {{/if}}

                                         {{/if}}                                          {{/each}}                                     {{/each}}
                                 {{/if}}

Above is my code examples, when I have only the editor comes with the format is not possible, I have put the plug-in has been tested.

You can use this function to test

we still need to know if what file type this happens and if it happens with extensions enabled (code --disableExtensions)

file type is the html . when user use  the editor own format function  to format  JS template engine language,then the  JS template engine language will be  format  to linebreak state. that will make a problem , the browser cannot recognize   linebreak of  JS template engine language.

webstorm  editor  can identify the template language , vscode cannot.

We're using the html formatter of js-beautify here.

This issue was moved to beautify-web/js-beautify#1066


Python improvements

Add python code to coveralls
Add python documentation to site
Normalize data store package structures

Coverage increased (+6.8%) to 48.734% when pulling a5f102d14254558c844f5bfe6f59b27f45012e04 on jdgarrett:python-improvements into 2fa431e83842b1f581b1370d31b63b233aad8196 on locationtech:master.


Bump production to 0.58.0 plus slack vars

feat: encrypt all S3 buckets (#148)
feat: bind topic to eks, rds plus add slack module (#151)
add new sns topic and slack integration (#145)
feat: add new sns topic "alert-general" and ready for slack integration
feat: turn on default encryption for EBS (#149)
feat: IAM config for continuous guardrail scanning (#147)

feat: IAM config for continuous guardrail scanning
Run fmt

Have some read replicas in the staging environment (#146)

test: I need some read replicas in staging to make tests on these
Update env/staging/rds/terragrunt.hcl

fix: Ignore engine version changes for AWS Elasticache Redis v6 (#143)

 SNS warning Topic should only be used by Alarms

 SNS warning Topic should only be used by Alarms


Wrong default firewall config file?

Describe the bug
Default Ports in /etc/config/firewall.conf seem wrong
To Reproduce
see file on RaspberryMatic
Expected behavior
The ports for hm and hmip had been changed from 2001 and 2010 to 32001 and 32010 for xmlrpc.
yet these new ports are not listed as default in the section
[SERVICE XMLRPC]
Id = XMLRPC
Ports = 2000 2001 2002 2010 9292 42000 42001 42010 49292
Access = restricted

while the non used binrpc ports are listed.
in order to call xmlrpc on this ports from home bridge i had to add them to the User-Defined List
despite allowing "restricted" access to the subnet of the homebridge. this seems wrong.

from process point of view, yes, ports have changed to 32xxx, but from application point of view they are still on 2xxx and for https on 42xxx and get proxied by lighttpd to ports 32xxx.
maybe you also want to have a look into CCU3 - empfohlene Firewall-Einstellungen which gives you an overview of the firewall rules used in RaspberryMatic (and CCU3).
what I think is wrong on your side, that authentication is still enabled.
authentication is done by lighttpd for non-localhost on ports 2xxx and 42xxx. with enabling ports 32xxx as user-defined ports you just bypassed the authentication.
to disable authentication just go to Einstellungen - Systemsteuerung - Sicherheit - Authentifizierung and remove the tick from Authentifizierung aktiv. maybe you need to reboot the RM afterwards.
if I'm wrong, maybe you wanna list here your iptables rules by doing command
iptables -L -n

Thx for the fast reply. Checked the doc and looked at the screenshot.
If i‘m not completely mistaken if taken the following from these:
if another host needs to access the ports it should go through the proxied ports (32001, 32010) instead of 2001 and 2010. the latter ones are the ones to be used internally on the ccu/raspberry if so needed.
In this case i would expect that the 2001/2010 are not part of the firewall config but never reachable from external addresses at all whereas the 3xxxx should be opened when the firewall is set to public or restricted    - based on the clients in-adress.

Am 02.03.2019 um 11:35 schrieb Klaus M Pfeiffer<EMAIL_ADDRESS>from process point of view, yes, ports have changed to 32xxx, but from application point of view they are still on 2xxx and for https on 42xxx and get proxied by lighttpd to ports 32xxx.
maybe you also want to have a look into CCU3 - empfohlene Firewall-Einstellungen which gives you an overview of the firewall rules used in RaspberryMatic (and CCU3).
what I think is wrong on your side, that authentication is still enabled.
authentication is done by lighttpd for non-localhost on ports 2xxx and 42xxx. with enabling ports 32xxx as user-defined ports you just bypassed the authentication.
to disable authentication just go to Einstellungen - Systemsteuerung - Sicherheit - Authentifizierung and remove the tick from Authentifizierung aktiv. maybe you need to reboot the RM afterwards.
if I'm wrong, maybe you wanna list here your iptables rules by doing command
iptables -L -n
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Sorry.  Just noticed. It’s the other way around. External applications should use the 2001 and 2010. internally they are on 32001 and 32010. so my config of homebridge ist wrong when I try to access the services using the 32001 and 32010 ports as outlined in their docu/issues

yes, now you got it. ;-)

Yes exactly! All 3xxxx are for internal (<IP_ADDRESS>) use only and only the original ports should be used for unencrypted XMLRPC use and the 4xxxx ports for SSL encrypted XMLRPC. BINRPC is retired for external applications. Thus, everything is correct. So this is not a bug, but a feature!


Apps: Support delete and/or disable for a specific version

From slack:
Sal Tijerina
2 months ago
Unrelated - is it possible to delete/disable an app version without disabling/deleting all versions of the app?
2 replies
Steve Black
2 months ago
No, not currently. Being able to delete a version of an app makes a lot of sense to me.
Might make sense to get together or talk here about who and when someone can delete a version, delete or disable or both? What if the version is locked? etc.
Sal Tijerina
2 months ago
Cool yeah, happy to help talk about it

2/9/2024 Discuss with Sal
With Apps, in WMA. Matching app version with corresponding software version, e.g. Matlab version 9
But when new version of Matlab comes out, say version 10, want to create a new Tapis app version and disable previous one.
Desired behavior - Jobs will reject job submission if App version disabled.


⚠ Bofrost.lu has degraded performance

In 9ee34e4, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1929 ms

Resolved: Bofrost.lu performance has improved in 627953b.


BMI calculator Flutter app

Describe the project you want to add with tech stack
This project would display the BMI index of the user based on the input taken from them through the application. The application would also tell if their BMI is good considering their age or if they are lacking in their BMI.
Tech Stack: Flutter
Expected behavior

Splash Screen to greet the users.
In home screen, the user would input their data related to their body measurements.
Post completing the inputs, the user would press on the submit button.
They would be taken to the output screen where their BMI would be displayed, including other relevent information, indicating how fit they are considering their BMI.

Please assign it to me @MohitGupta121


Regrounding with new ontology errors

When calling EidosSystem.components().ontologyHandler().reground() with the content of
https://raw.githubusercontent.com/WorldModelers/Ontologies/master/wm_with_flattened_interventions_metadata.yml, I get the following error: java.lang.Integer cannot be cast to java.util.Collection. When doing the same with https://raw.githubusercontent.com/WorldModelers/Ontologies/master/wm_metadata.yml, the same method works. I couldn't immediately figure out why the error happens but maybe the ontology file uses an unexpected formatting for some entries? For context, I'm using the latest master as a JAR file via Python.

@kwalcock: can you please take a look?

Yes, I'm looking.  The file doesn't get tested either by WorldModelers/Ontologies or clulab/eidos, so there's probably some oddity.

So far I haven't had any luck reproducing.  Can you give any further hints, such as the arguments that you are passing or some line number from an exception?  Here's my experiment:
# First turn on useW2V in eidos.conf
> cd eidos
> sbt
sbt:eidos> console
scala> import org.clulab.wm.eidos.EidosSystem
scala> import org.clulab.wm.eidos.utils.FileUtils
scala> val reader = new EidosSystem()
scala> val ontologyHandler = reader.components.ontologyHandler
scala> val yaml = FileUtils.getTextFromFile("./wm_with_flattened_interventions_metadata.yml")
scala> val result = ontologyHandler.reground("keith", yaml, Seq("This is one text", "This is another"), true, 10)

any luck on this?
On Sat, Dec 7, 2019 at 7:56 PM Keith Alcock<EMAIL_ADDRESS>wrote:

So far I haven't had any luck reproducing. Can you give any further hints,
such as the arguments that you are passing or some line number from an
exception? Here's my experiment:
First turn on useW2V in eidos.conf

cd eidos
sbt
sbt:eidos> console
scala> import org.clulab.wm.eidos.EidosSystem
scala> import org.clulab.wm.eidos.utils.FileUtils
scala> val reader = new EidosSystem()
scala> val ontologyHandler = reader.components.ontologyHandler
scala> val yaml = FileUtils.getTextFromFile("./wm_with_flattened_interventions_metadata.yml")
scala> val result = ontologyHandler.reground("keith", yaml, Seq("This is one text", "This is another"), true, 10)

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/issues/717?email_source=notifications&email_token=ABJCPCMPTYIIMLQEX3IYXFLQXRO4RA5CNFSM4JXUW7G2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGGUSQY#issuecomment-562907459,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJCPCITZPHDR3W7NPRILSDQXRO4RANCNFSM4JXUW7GQ
.

I'm still trying to figure it out, will post here once resolved.

The issue was a misplaced polarity entry in the ontology. It only made a difference if the YAML was deserialized and then serialized again, which is why it couldn't be reproduced above. Overall, nothing needs to be done in Eidos!

Thank you!  That's a relief.  I was at a loss for an explanation.  It sounds like the file must have changed after some round trip through serialization.


maxim/minimal ellipsoidal curvatures

The original stress copde calculates the maximal/minimal curvatures H_e, M and H_e, N here. This can probably be largely replaced by simply using sorting the major/medial/minor axes from the ellipsoid object, calculating the lengths and then use the formula from the paper.

Closed by #138


Name literal not supporting syntax highlighting

When researching the semantic token highlighting I ran into an issue with the the name literal not highlighting.  I verified that in the Lexer.js that the namelit was checking at the end of a string for an n/N.  The other semantic tokens that support line ending strings such as date (d), datetime (dt), time (t) , hex (h), and bitmask (b) are working.
Here were three examples that I was able to run against the current SAS Themes:
data foo.'My Table'n;

input 'Amount Budgeted'n 'Amount Spent'n
      'Amount Difference'n;

data testlexer;
	label dt_date= '20NOV15'd;
	label dt_time= '10:10:10't;
	label dt_datetime= '20NOV1510:10:10'dt;
	label hex= '234CD'x;
	label bitmask= '01010101'b;
	label namelit= 'Name'n;

To workaround and issue with SAS Themes using namebit as a semanticToken versus the appropriate namelit, I added a custom configuration in the ~/.vscode/settings.json of my vscode instance:
  "editor.semanticTokenColorCustomizations": {
    "[SAS Light]": {
      "enabled": true,
      "rules": {
        "namelit": "#ff0000",
      }
    },
    "[SAS Dark]": {
      "enabled": true,
      "rules": {
        "namelit": "#ff0000",
      }
    },
    "[SAS High Contrast]": {
      "enabled": true,
      "rules": {
        "namelit": "#ff0000",
      }
    }
  }

Thank you for finding this. It should be a typo.
https://github.com/sassoftware/vscode-sas-extension/blob/main/server/src/sas/LanguageServiceProvider.ts#L27
It would be good if you'd like to fix it in your pr #15 so that you can test it together.


Don't hardcode the TOC max height

This commit prevents the combination of extra whitespace below the TOC and
scrollbars to the TOC.

The css is from the original Hexo theme. This change about TOC height is reasonable. Fix #3. Thanks!


Additional library needed for PC users

Great article!  I did not load portaudio as suggested in the article.  Instead, I loaded pyaudio as follows:
pip install pyaudio.
Worked great.  Thanks for a well written article, clearly explaining each step.

Great to know you liked it. Thanks for the feedback.


Mineral encoding

Example use case: Identify all aluminum mines in the USA
Steps:

Extract mineral and its formula (from Macrostrat or another dictionary).
Derive constituent elements from the chemical formula.
Filter based on element/chemical criteria.
Map the locations of the remaining triplets.

Addressed in #49


fix: unicode path html entry point (#5821)

Description
fixes #5821
Does not work when the path to the entry point has Unicode characters，will cause a 404 error
such as Chinese character folders，when accessing the entry page in the browser at development time
├── 中文
│   └── index.html
└── にほんご
    └── index.html

this PR use decodeURIComponent() to handle the received file path

Additional context

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Thanks for the PR @yArna and the clear repro and linked issue! Would it be possible to add a test case in one of the playgrounds to the PR so we avoid future regressions? There is info about extending Vite's e2e test suite here https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md#extending-the-test-suite

Thanks for the PR @yArna and the clear repro and linked issue! Would it be possible to add a test case in one of the playgrounds to the PR so we avoid future regressions? There is info about extending Vite's e2e test suite here https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md#extending-the-test-suite

Okay, I'll add it later.

Nice! Thanks for adding the test case too

Glad to contribute to this project 🥳


jobs.petpay permission not working

*Description of issue:

*Description of issue:
Player had the permission jobs.petpay false.If the Pet hits Mobs they get Job EXP and Payout, they shouldnt get it.---

Server Type (Spigot/Paperspigot/etc):
Paper 1.16.1
Server Version (using /ver):
git-paper-131 (MC:1.16.1)

jobs.petpay is not enough to be a verified permission. You should give jobs.petpay.1, because this permission is boosts your jobs if you have pet.