refactor, extract git definitions to git

this is a start for extracting the git definitions to a new git definitions intf, zif_abapgit_git_definitions
zif_abapgit_definitions is getting too large, and its worth separating the responsibilities of the packages
this is just a start, trying to keep the amount of changes small, but its difficult

breaking lots of things, see cross check

You removed types completely and changed all the usage. That was a lot of work...  Why not keep the types in the defs interface but point them to the git defs?
Keeping the following would reduce the impact to almost nothing:
INTERFACE zif_abapgit_definitions.

TYPES:
  ty_sha1               TYPE zif_abapgit_git_definitions=>ty_sha1,
  ty_file               TYPE zif_abapgit_git_definitions=>ty_file,
  ty_files              TYPE zif_abapgit_git_definitions=>ty_files,
  ty_files_tt           TYPE zif_abapgit_git_definitions=>ty_files_tt,
  ty_file_signatures_tt TYPE zif_abapgit_git_definitions=>ty_file_signatures_tt,
  ty_comment            TYPE zif_abapgit_git_definitions=>ty_comment,
  ty_item_state         TYPE zif_abapgit_git_definitions=>ty_item_state,

There are a few more I would move or you might need in /git:
ty_chmod
ty_create
ty_commit
ty_commit_tt
ty_expanded
ty_expanded_tt
ty_ancestor

c_git_branch_type
c_head_name
c_git_branch
c_type
c_state
c_chmod
c_author_regex

well, having the same definitions multiple times, then it should be changed sometime anyhow?
yea, there is always more to move

this is just a start

will see how much extra breakage there is 😁

https://github.com/abapGit/abapGit/pull/6029#issuecomment-1413810169 somehow missed abapGit/CI (https://github.com/abapGit/CI/pull/211) 😉

rule "unknown_types": false, is disabled in CI


Bump version to 0.9.0 for release

Conflicts with https://github.com/googleapis/gax-java/pull/266

Codecov Report

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

@@           Coverage Diff            @@
##             master    #269   +/-   ##
========================================
  Coverage      70.8%   70.8%
  Complexity      547     547
========================================
  Files            79      79
  Lines          2713    2713
  Branches        274     274
========================================
  Hits           1921    1921
  Misses          685     685
  Partials        107     107

Continue to review full report at Codecov.

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


FR - Add audio control on video module

Agile Requirement
As a user I want to be able to mute and unmute the video using a button. Currently the default status of the videos is muted so to unmute them we need a button to do so.
Description
Add the unmute and mute button to the video module as in the design

Acceptance Criteria

When the video is mute, display the unmute button.
When the video is unmuted, display the mute button.
The user can clcick on the mute/unmute button to change the audio status.

Similar solution as the #156

This enhancement will be part of Media with Text block as apparent from the screenshot

This feature will be part of PR https://github.com/Netcentric/vg-volvotrucks-us-rd/pull/282

Validated and able to get the correct results on all viewports hence, marking this issue to done status.


Discrepancy in the Count of the Events - in the Incidents blade and Log Analytics Workspace results

Hi Team,
There is a discrepancy between the count of events from the Incident Blade and the output from the Log Analytics Workspace after executing the query.
For Example:
The number of events from the incidents blade for the Incident Number 1394967 are 2, but when the query was executed, the results getting displayed are only "1".

Incident Number: 1394532

Even after deploying the Updated template the results are getting populated the same.
In the query a Cisco URL link was used, which is getting updated every day.
**ASK: When the data for the past incidents was checked, there is a discrepancy in the output, because of which the SOC team is not willing to investigate the incidents. Need a quick solution for this issue.

Hi Team, A very good day. Let me know if any data is required from my end.
Thank you

Adding @@.***>

From: Ravindra-Am @.>
Sent: Monday, October 21, 2024 2:45 PM
To: Azure/Azure-Sentinel @.>
Cc: Sudarshan Kharat (Tata Consultancy Services Limi) @.>; Assign @.>
Subject: Re: [Azure/Azure-Sentinel] Discrepancy in the Count of the Events - in the Incidents blade and Log Analytics Workspace results (Issue #11302)
Hi Team, A very good day. Let me know if any data is required from my end.
Thank you
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/Azure-Sentinel/issues/11302#issuecomment-2426086258, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7SLE2WUKZKXM4D7JDLNR73Z4TAZ5AVCNFSM6AAAAABQJNE7T6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRWGA4DMMRVHA.
You are receiving this because you were assigned.Message ID: @.***>

Hi Team, a very good day. Any update on the ticket. Let me know if any data is required from my end.
Thank you

Hi @Ravindra-Am , we are working with respective team, we will update you.

Hi Team, Thank you for your response. any update on the ticket?

Hi Team, a very good day. Any update on this issue

Hi @Ravindra-Am , Could you please click on this event,

Copy the query that includes the specific timestamp, and run it in the Log Analytics Workspace to check for the events?

Let me know how many events you are getting after running this query.

HI @Ravindra-Am , Since we have not received a response in the last 5 days, we are closing your issue as per our standard operating procedures. If you still need support for this issue, feel free to re-open at any time.
Thank you for your co-operation.


Setup health checks that trigger alerts when Cliptok is not connected to the gateway

Some kind of "heartbeat" health check would be best. Like a service that runs on the bot, periodically checks everything is fine and then pings an external service which is expecting regular heartbeats and alerts when it does not get them for a time. Uptime Kuma for example has this feature.

so real


Formalizing the relationship between a disease and disorders

disease =def. A disposition (i) to undergo pathological processes that (ii) exists in an organism because of one or more disorders in that organism.
disorder =def. A material entity which is clinically abnormal and part of an extended organism. Disorders are the physical basis of disease.
I was wondering if anyone had an idea on how to formalize the relationship between a disease and its underlying disorders.  Should it be restricted to be borne by the patient that has the disorders as part?
Any thoughts? Thank you.

BFO 2020 has 'has material basis at some time',  'has material basis at all
times'
All times def:
b has material basis c at all times =Def For all times t, b exists at t
implies (b is a disposition & c is a material entity & there is some d
bearer of b & c continuant part of d at t & d has disposition b because c
continuant part of d at t)
Here's a search at ontobee:
http://www.ontobee.org/search?ontology=&keywords=material+basis&submit=Search+terms
However, the BFO links are broken. Also, I'm not sure why there are two
URLs for the at-all-times relation.
Alan
On Mon, May 10, 2021 at 6:40 AM eliasweatherfield @.***>
wrote:

disease =def. A disposition (i) to undergo pathological processes that
(ii) exists in an organism because of one or more disorders in that
organism.
disorder =def. A material entity which is clinically abnormal and part of
an extended organism. Disorders are the physical basis of disease.
I was wondering if anyone had an idea on how to formalize the relationship
between a disease and its underlying disorders. Should it be restricted to
be borne by the patient that has the disorders as part?
Any thoughts? Thank you.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/OGMS/ogms/issues/159, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB3CDRR652YH7AVFKBGM2LTM6Z3VANCNFSM44Q3PRTA
.

Yes, of course... Thanks, Alan!

Is there any reason why we should not axiomatize this explicitly in OGMS?
This has come up from time to time and has been discussed in the past, but
I don't remember what the reasons were. :)
thanks
Sivaram

Sivaram Arabandi, MD, MS
Ph:<PHONE_NUMBER>
Li : https://www.linkedin.com/in/sivaramarabandi/
On Thu, May 13, 2021 at 1:52 AM eliasweatherfield @.***>
wrote:

Yes, of course... Thanks, Alan!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/OGMS/ogms/issues/159#issuecomment-840355565, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4D6F67EIY3T6UJQF65TXDTNNZK3ANCNFSM44Q3PRTA
.


Error { kind: SendRequest, source: Some(hyper::Error(IncompleteMessage))

Hi, I'm facing some issues using the adapter with a Python Lambda function packaged as Docker Image using FastAPI framework. Lambda code functionality is implemented using mainly async functions and when deploying the lambda and invoking a async endpoint, the next error is shown:
{   "errorType": "&alloc::boxed::Box<dyn core::error::Error + core::marker::Send + core::marker::Sync>",   "errorMessage": "client error (SendRequest)" }
This does not happen for endpoints that use only sync operations. I get this response testing my lambda from AWS console using AWS_LWA_PASS_THROUGH_PATH variable for non http-triggers
And enabling RUST_LOG=debug, I just see this on logs:
ERROR Lambda runtime invoke{requestId="52dc7925-67d8-4682-9e83-f781e93ae4da" xrayTraceId="Root=1-65fa2420-49e792476009db305da67ab2;Parent=7106713d10b989f9;Sampled=0;Lineage=19427698:0"}: lambda_runtime: Error { kind: SendRequest, source: Some(hyper::Error(IncompleteMessage)) }
I'm running it behind a Lambda Function URL and I get the same logs using the URL. When I run this locally using sam local start-api it works just fine. Any idea on how to troubleshoot this correctly? Thanks in advance.

Could you share a minimum code that can reproduce this issue? And what is the trigger for the Lambda function?

Thanks for looking into this...I'm using  Nemoguardrails from a Lambda. The function is invoked using a Function URL. Here is a sample code on how it works:
import json
from fastapi import FastAPI, HTTPException, Request
from nemoguardrails import RailsConfig, LLMRails

app = FastAPI()

YAML_CONFIG = """
models:
 - type: main
   engine: openai
   model: gpt-4
rails:
  input:
    flows:
      - self check input
      - allow input
prompts:
  - task: self_check_input
    content: |
      Your task is to check if the user message below complies with safety policies.

      Policy for the user messages:
      - should not contain word TEST

      User message: "{{ user_input }}"

      Question: Should the user message be blocked (Yes or No)?
      Answer:
"""
COLANG_CONTENT="""
define bot allow
  "ALLOW"

define subflow allow input
  bot allow
  stop

define bot refuse to respond
  "DENY"
"""
@app.get("/")
def get_root():
    return {"message": "FastAPI running in a Lambda function"}

@app.post("/run")
async def execute(request: Request):
    raw_body = await request.body()
    body_str = raw_body.decode('utf-8')
    payload = json.loads(body_str)

    config = RailsConfig.from_content(yaml_content=YAML_CONFIG,colang_content=COLANG_CONTENT)
    rails = LLMRails(config,verbose=True)
    message_content = payload["input"]
    # Generate response from guardrails service
    output = await rails.generate_async( messages=[{
        "role": "user",
        "content": message_content
    }])

    if output.get("error"):
        print(f"Error: {output.get('error')}")
        raise HTTPException(status_code=500, detail=output)

    return output

/run endpoint expects a simple JSON object like this:
{"input":"Some test text"}

This is the Dockerfile I'm using to build the image. It is adapted from nemoguardrails docs to use AWS Lambda adapter:
FROM public.ecr.aws/docker/library/python:3.10-slim
# Copy the Lambda Adapter from the public ECR
COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.8.1 /lambda-adapter /opt/extensions/lambda-adapter
# Install OS dependencies
RUN apt-get update && apt-get upgrade && apt-get install -y gcc g++ make cmake
RUN mkdir -p /myapp
COPY requirements.txt /myapp
RUN pip install --upgrade pip && pip install -r /myapp/requirements.txt --no-cache-dir --target /myapp
COPY sample.py /myapp
WORKDIR /myapp
RUN python -c "from fastembed.embedding import TextEmbedding; TextEmbedding('sentence-transformers/all-MiniLM-L6-v2');"
# Make port 8000 available to the world outside this container
ENV PORT=8000
# Start nemoguardrails service
# FastAPI
CMD exec python -m uvicorn --port=$PORT sample:app --host=<IP_ADDRESS>

Hi, I'm facing the same issue. I have a FastAPI App using the lambda adapter to trigger it via API Gateway.
My POST requests work perfectly fine. The GET route, however, throws an internal server error and the lambda logs show what @sebasjuancho mentioned:
ERROR Lambda runtime invoke{requestId="c39861b5-955a-447c-91e8-319222d9caad" xrayTraceId="Root=1-663756d6-69e1fdbd321ff6c230681174;Parent=09faa06e7ad0673c;Sampled=0;Lineage=5726a561:0"}: lambda_runtime: Error { kind: SendRequest, source: Some(hyper::Error(IncompleteMessage)) }

Did anybody find a workaround or solution for this?

IncompleteMessage errors usually mean your web app drops the connection. Does the app crash?

@bnusunny I am running the same application code on an EC2 instance (with ALB) and with the lambda adapter (with API-Gateway proxy-path). The request on the EC2 instance is successful but the one to the lambda crashes.

@annStein Lambda execution environment has a few differences with an EC2 instance, such as read-only root file system (except /tmp), no root permission, etc). It is better to enable debug logs and see if any error happened in your application.

@bnusunny I figured it out, eventually. The lambda had only 128MB RAM while the EC2 instance had 1024MB. The lambda ran into a timeout during a hash-function. This led to the fact that I couldn't see any other logs or errors. Nevertheless, thank you for looking into this!


Add support for devices with additional GUI_PASSWORD_SALT (e.g. Sagemcom 5670)

https://drinia.tech/products/gpon/gpon-ont/sagemcom-gpon-ont/sagemcom-fst-5670/

Also can't get it to work with the 5670
Just says invalid authentication

Have you tried it?

Sorry for late reply. Yes I did, and doesn't work.

There is no new version of integration since my first comment. So yes, teh issue is still present.
My HA and all integrations are always up to date.

Issue is still present

Yep, still the same
🫤

It's probably problem of authentication. This is what Gemini AI told me:
I couldn't find specific information about Sagemcom 5670 using MD5 or SHA512 authentication.
However, based on my knowledge of router security practices, it's more likely that the Sagemcom 5670 uses a more secure hashing algorithm like SHA-256 or even SHA-3 for password authentication instead of MD5.

Still present
On Mon, Apr 29, 2024 at 4:46 AM github-actions[bot] <
@.***> wrote:

'There hasn't been any activity on this issue recently. Is this issue
still present?
Please make sure to update to the latest Home Assistant version and
version of this integration to see if that solves the issue. Let us know if
that works for you by adding a comment 👍.
This issue now has been marked as stale and will be closed if no further
activity occurs. Thank you for your contributions.'
—
Reply to this email directly, view it on GitHub
https://github.com/iMicknl/ha-sagemcom-fast/issues/98#issuecomment-2081765217,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANQKKWYP6EIODG6HNSJ45DY7WQ5VAVCNFSM6AAAAABBYCHFQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRG43DKMRRG4
.
You are receiving this because you commented.Message ID:
@.***>

One more vote for 5670 support please
Tried both encryption methods
Invalid authentication

Still present

Most likely this can't be solved. I am thinking about adding a way to verify if the right endpoint is available on the router.. These things are hard to debug without access to the router itself.

Still present

Would love to see this resolved :pray:

@johnnyaug lol, good find! Where did you find that they add this Salt?

I unminified the JavaScript in the debug console and checked out what it was doing 😀

@johnnyaug if you would be willing to briefly document how you do this; we can see if we can add this to instructions in this repo (or the python-sagemcom-api), so that users can try to debug these kind of issues themselves as well. It seems the Sagemcom API comes in many different variants..

Sure, I'll make sure today that I can close the loop and use it with the HA integration. Then I'll add it to the compatibility table in both repos.

sagemcom5670valuestree.txt
I can login without Salt123.
However i can"t get device info nor anything else.
My test sagem.py:
import asyncio
from sagemcom_api.client import SagemcomClient
from sagemcom_api.enums import EncryptionMethod
from sagemcom_api.exceptions import NonWritableParameterException
HOST = "<IP_ADDRESS>"
USERNAME = ""
PASSWORD = ""
ENCRYPTION_METHOD = EncryptionMethod.SHA512
async def main() -> None:
await asyncio.sleep(2)
async with SagemcomClient(HOST, USERNAME, PASSWORD, ENCRYPTION_METHOD) as c>
try:
await client.login()
except Exception as exception:  # pylint: disable=broad-except
print(exception)
return
    custom_command_output = await client.get_value_by_xpath("Device/DeviceInfo")
    print(custom_command_output)

device_info = await client.get_device_info()
print(f"{device_info.id} {device_info.model_name}")
asyncio.run(main())
Error:
$ python3 sagem.py
Traceback (most recent call last):
File "/home/pi/sagem.py", line 64, in
asyncio.run(main())
File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/home/pi/sagem.py", line 32, in main
custom_command_output = await client.get_value_by_xpath("Device/DeviceInfo")
File "/home/pi/.local/lib/python3.9/site-packages/sagemcom_api/client.py", line 310, in get_value_by_xpath
response = await self.__api_request_async([actions], False)
File "/home/pi/.local/lib/python3.9/site-packages/sagemcom_api/client.py", line 192, in __api_request_async
async with self.session.post(
File "/home/pi/.local/lib/python3.9/site-packages/aiohttp/client.py", line 1194, in aenter
self._resp = await self._coro
File "/home/pi/.local/lib/python3.9/site-packages/aiohttp/client.py", line 605, in _request
await resp.start(conn)
File "/home/pi/.local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 966, in start
message, payload = await protocol.read()  # type: ignore[union-attr]
File "/home/pi/.local/lib/python3.9/site-packages/aiohttp/streams.py", line 622, in read
await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected
I can see from the router's log that login was succesfull.
Please find attached file with the logs of $.xmo.getValuesTree("Device/DeviceInfo")  $.xmo.getValuesTree("")  $.xmo.getValuesTree("/") and $.xmo.getValuesTree("//")

@h00t2y please create a seperate issue with all details and I will have a look.
@johnnyaug I added a function get_encryption_method, which I might extend eventually to retry all (known) SALT options. Or maybe even better, refactor the feature to pull the /2.0/gui/js/gui-core.js and parse the salt and encoding strings. The only issue here is that it might be at a different url, for example my router puts them at /2.0.

Still present

@eytanbiala have you tried the suggest workaround?

🎉🎉 Good news - there is a workaround: to use 5670, add :Salt123 to your password when setting up the integration. So if your password is blabla, put blabla:Salt123 as the password. Use SHA512 encryption.

Adding :Salt123 doesn't work for me. Although I'm not sure what do you mean "Use SHA512 encryption". Could you explain pls? Also, should I use ssl and verify ssl?
Thx.


Getting Started in Angular 13 not working

I am trying to implement the getting started in an Angular 13 application. I followed the readme file, but I get the error:
Error: node_modules/@maxgraph/core/dist/types/gui/MaxPopupMenu.d.ts:29:15 - error TS2420: Class 'MaxPopupMenu' incorrectly implements interface 'Partial'.
Types of property 'eventListeners' are incompatible.
Type 'EventListenerObject[]' is not assignable to type '(eventName?: string) => EventListenerOrEventListenerObject[]'.
Type 'EventListenerObject[]' provides no match for the signature '(eventName?: string): EventListenerOrEventListenerObject[]'.
29 declare class MaxPopupMenu extends EventSource implements Partial {

Hi,
Yes, I am using the latest version of maxGraph? No I am not directly using the MaxPopupMenu in my code. I used the "getting started" code. I am checking out the repo for the first time.
Here is the public library:
https://github.com/hermanfransen/max-graph-angular-test
You can check this out with:

npm install
npm start

Thanks for your help !!

Ok thanks for the repo, I will be able to give it a try.
It currently uses typescript~4.6.2

Hi @hermanfransen
I have been able to reproduce the problem with your repository running in GitHub Codespace (ensure a fresh repro environment)
I see the problem with TypeScript 4.5.4 and 4.6.4. I haven't been able to test other versions because maxGraph requires 4.5+ and Angular doesn't support 4.7+ versions.
I am trying to reproduce this behavior with the examples repository
A side note (it may help when the maxGraph type issue will be fixed): I have seen that you are currently declaring the Graph container with an id. https://github.com/hermanfransen/max-graph-angular-test/blob/9cc110cedb575f008f9566ccb6017ccb07bcecf7/src/app/app.component.ts#L14
AFAIK this won't work. You may probably use something like what it is done in https://github.com/Dhawaldeep/mxgraph-angular-tteen/blob/ef7166aa0596ade96c0dd8fd03e09ad68c7f724e/src/app/app.component.html and use with https://github.com/Dhawaldeep/mxgraph-angular-tteen/blob/7ba3e9cb1609e7c8d57498e3d7878e2be634c91a/src/app/app.component.ts#L10-L11

Hi tbouffard,
Thanks for your effect.

New try today with the reproduction repository, still not working even when bumping dependencies

@maxgraph/core 0.3.0 to 0.6.0
tslib 2.3.0 to 2.6.2
typescript 4.6.4

Removing the implements Partial in the class declaration fix the type error.
This clause has been introduced in 61648e43 and seems not needed.
The following fix the problem in the repro repo:
declare class MaxPopupMenu extends EventSource {
// declare class MaxPopupMenu extends EventSource implements Partial<PopupMenuItem> {


⚠ Bofrost.be has degraded performance

In daffaac, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2744 ms

Resolved: Bofrost.be performance has improved in 09fba4f.


List pieces of documentation matching the API features we imagined in previous cycle

What
List the pieces of content we anticipate to need for documenting the features we're anticipating to offer in our public API (based on the work in #5147)
Why
This should help us figure out where we could add this content to the Frontend docs
Who needs to work on this
Developers, Technical writer
Who needs to review this
Developers, Technical writer
Done when

[ ] We have a document with an outline of the different pieces of content we think we'll need

Closing as this the list of features is in this working document (internal)


[Feature] series-line.showSymbol is expected to return a callback function that determines whether each symbol is showed or not, just like series-line.symbolSize

What problem does this feature solve?
to resolve a case that all data like [null, 1, null, 2, 3, 4] should show symbol in data '1', but not show symbol in [null, 2, 3, 4]
What does the proposed API look like?
just like series-line.symbolSize to return a callback function
showSymbol: (value, parmas) => Boolean

It can also be done by the symbol callback function.
symbol: (value, params) => {
  if (some condition) {
    return 'none'
  }
  return 'circle'
}

in 'none' case, tooltip can't also make the symbol show

It can also be done by the symbol callback function.
symbol: (value, params) => {
  if (some condition) {
    return 'none'
  }
  return 'emptyCircle'
}

in 'none' case, tooltip can't also make the symbol show, that's the situation i want to resolve

in 'none' case, tooltip can't also make the symbol show, that's the situation i want to resolve @plainheart


[1.7.10] Electrolyser simply doesn't work.

Game version := 1.7.10-Forge<IP_ADDRESS>4
Mod version := NuclareCraft 1.9f
Environment := Single player + Multi player
I put empty fluid cell in, and gave enough RF, as what recipe(provided by NEI) says. However, nothing happened.
I tried to add Energy Update and Speed Update, but it doesn't help.
Is it caused by an outdated recipe? Screenshots attached below.

As of version 1.8 or so, the Electrolyser requires water to be pumped into it as well as power - that little bar beside the input slot is the internal water tank.


Add documentation updates for "Email cache process"

Update documentation to reflect actual implementation in the SRS, STP, and Programmers Guide.

No changes to STP or SRS
Updated 6.5 on Programmers guide to include cache process


Newly created project cextrun fails: 'NoneType' object has no attribute 'get_descriptor'

Not sure if it's better to file a bug here or in cloudblue/connect-cli.
Steps to reproduce

ccli project extension bootstrap
Specify "all" for requests settings, everything else default
Run docker-compose run my_awesome_project_bash
Run cextrun

Result
Traceback (most recent call last):
  File "/usr/local/bin/cextrun", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/site-packages/connect/eaas/main.py", line 76, in main
    start(data)
  File "/usr/local/lib/python3.8/site-packages/connect/eaas/main.py", line 57, in start
    worker = Worker(secure=not data.unsecure)
  File "/usr/local/lib/python3.8/site-packages/connect/eaas/worker.py", line 92, in __init__
    self.handler = ExtensionHandler(self.config)
  File "/usr/local/lib/python3.8/site-packages/connect/eaas/handler.py", line 19, in __init__
    self.extension_type = get_extension_type(self.extension_class)
  File "/usr/local/lib/python3.8/site-packages/connect/eaas/helpers.py", line 87, in get_extension_type
    descriptor = cls.get_descriptor()
AttributeError: 'NoneType' object has no attribute 'get_descriptor'

Tried on tags 24.5 and 24.6 of Docker image

Fixed after image and container removal and recreation and poetry install while making sure all references to old 23.* connect-extension-runner were removed.


./fast5/src/logger.hpp:224:10: error: 'function' in namespace 'std' does not name a template type

Hi,
with current git master I get:
 CFLAGS="-O2 -pipe -march=native -ftree-vectorize" CXXFLAGS="-O2 -pipe -march=native -ftree-vectorize" make HDF5=noinstall
g++ -o src/nanopolish_getmodel.o -c -O2 -pipe -march=native -ftree-vectorize -std=c++11 -fopenmp  -I./htslib -I./fast5/src -I./src -I./src/hmm -I./src/thirdparty -I./src/common -I./src/alignment -fPIC src/nanopolish_getmodel.cpp
In file included from ./fast5/src/fast5.hpp:25:0,
                 from src/nanopolish_getmodel.cpp:23:
./fast5/src/logger.hpp:224:10: error: 'function' in namespace 'std' does not name a template type
     std::function<void()> _on_destruct;
          ^~~~~~~~
./fast5/src/logger.hpp: In constructor 'logger::Logger::Logger(const string&, logger::level, const string&, unsigned int, const string&, std::ostream&)':
./fast5/src/logger.hpp:101:9: error: '_on_destruct' was not declared in this scope
         _on_destruct = [&] () {
         ^~~~~~~~~~~~
./fast5/src/logger.hpp:101:9: note: suggested alternative: '__locale_struct'
         _on_destruct = [&] () {
         ^~~~~~~~~~~~
         __locale_struct
./fast5/src/logger.hpp: In constructor 'logger::Logger::Logger(int, const string&, unsigned int, const string&, std::ostream&)':
./fast5/src/logger.hpp:112:9: error: '_on_destruct' was not declared in this scope
         _on_destruct = [&] () {
         ^~~~~~~~~~~~
./fast5/src/logger.hpp:112:9: note: suggested alternative: '__locale_struct'
         _on_destruct = [&] () {
         ^~~~~~~~~~~~
         __locale_struct
./fast5/src/logger.hpp: In constructor 'logger::Logger::Logger(const Exception&, const string&, unsigned int, const string&, typename std::enable_if<std::is_base_of<std::exception, Exception>::value>::type*)':
./fast5/src/logger.hpp:132:9: error: '_on_destruct' was not declared in this scope
         _on_destruct = [&] () {
         ^~~~~~~~~~~~
./fast5/src/logger.hpp:132:9: note: suggested alternative: '__locale_struct'
         _on_destruct = [&] () {
         ^~~~~~~~~~~~
         __locale_struct
./fast5/src/logger.hpp: In destructor 'logger::Logger::~Logger()':
./fast5/src/logger.hpp:139:9: error: '_on_destruct' was not declared in this scope
         _on_destruct();
         ^~~~~~~~~~~~
./fast5/src/logger.hpp:139:9: note: suggested alternative: '__locale_struct'
         _on_destruct();
         ^~~~~~~~~~~~
         __locale_struct
make: *** [Makefile:104: src/nanopolish_getmodel.o] Error 1

This is probably a GCC version issue, nanopolish requires gcc 4.8 or greater.

I forgot to add, I tried 4.9.4 and 7.1.0, also I thing 6.2.0. Provided my server has hdf5-1.8.18 I assume it is either fixed in nver version or there is a patch floating around.

Hi - I think I'm getting a similar GCC issue and haven't been able to fix it. Any more ideas?
src/nanopolish_call_variants.cpp:418:75: error: call of overloaded ‘abs(unsigned int)’ is ambiguous          double num_events = abs(data.event_start_idx - data.event_stop_idx) + 1;                                                                            ^ In file included from /usr/local/Cellar/gcc/7.1.0/include/c++/7.1.0/cstdlib:75:,                  from /usr/local/Cellar/gcc/7.1.0/include/c++/7.1.0/stdlib.h:36,                  from src/nanopolish_call_variants.cpp:9: /usr/include/stdlib.h:129:6: note: candidate: int abs(int)  int  abs(int) __pure2;       ^~~

Hi,
This is a different issue. I suggest however that you compile using gcc-4.8 or 4.9 for now until I make nanopolish compatible with gcc 7.x.
Jared


Investigate shadow DOM and web components

Shadow DOM allows web developers to create compartmentalized DOM and CSS for web components

https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM
https://web.dev/shadowdom-v1/

I'd say this is on the backburner. I hear and see only the best things about Tailwind CSS so this is the recommended way to style Calico projects.
https://tailwindcss.com/


Reset other_organisation name when a User changes org

When a User changes from one Org to another, the System should reset the other_organization column to prevent stale data from lingering.

Not sure if we can UAT this, but the other org box disappears under edit profile when I switch to a listed institution

I observed the same behavior as @sjDCC when adjusting org affiliation under edit profile. that seems to be all we can test in the UI. closing issue.


$.hdb.getConnection() undefined

Hello everyone,
Im facing several issues trying to follow some of tutorial instructions, the first one im facing is this:
1.- Create a template.
2.- Add a new NodeJS Module.
3.- In file called: server.js there're this lines:
try{
  options = Object.assing(options, xsenv.getServices({hana : {tag: "hana"}});
}catch(error){
 console.log("[WARN] : " + error.message);
}

I always got this: "[WARN] : No service matches hana"
Also, i have created this "CreateCountry" function (as tutorial said) in country.xsjs file:
function createCountry(country){
 var conn = $.hdb.getConnection();
 //.... truncated ....
}

And i got this error running Node Application (tinyjs):
"500 Cannot read property 'getConnection' of undefined"
Can someone please, give me a tip ?

If you have no service matches, then the resources definition in your mta.yaml is most likely incorrect.  For the second item you mention tinyjs and createCountry.  The TinyWorld tutorial is not part of this project.  That's a completely separate tutorial.

Hi, Thanks for answer!
I know questions that i have posted, are related to another tutorial,  and sorry about that, but i got no answer until now, for that reason, please, let me take this opportunity to ask you the issues that i have face on in different exercices.
I tried to create a node application from cli and then using xs following this documentation: https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.02/en-US/32392948cb1844b2a6ed22ad641d4461.html
I have installed node 8.0 in my rhel 7.5 server, now using npm i have installed @sap/xsenv adding a registry from this url: https://npm.sap.com
now, when i try to install xsjs i got several issues with make in the package of fibrous and package xsjs could not install...
Let me paste what i have:
manifest.yaml
application:

name: myapp
path: myapp
no-route: true
services:

myhana

i have created the service using this line:
xs create-service hana hdi-shared myhana
using this:
xs s
i see this:
myhana hana hdi-shared
now, in the start.js
let xsenv = require('@sap/xsenv');
try{
    let services = xsenv.getServices({hana: {tag: "hana"}});
   /// also tried:  xsenv.getServices({hana: {tag: "myhana"}});
     console.log(services);
}catch(err){
 console.log("Error : " + err.message);
}

And i always got: "Error no service matches hana"

Now, from the tutorial TinyWorld
i have created everything, but with some issues, for example, in order to get sap.ui.table.Table works (show data), i had to run first tinyjs module.
Then, adding some functionality, in the tutorial steps, create a file called country.xsjs and from it add this code:

function createCountry(country){
   var conn = $.hdb.getConnection();
   var outrput = JSON.stringify(country);
   // truncated...
}

Once, running tinyjs application, i got "500 Cannot read property 'getConnection' of undefined"
So, do i need another package in order to get $.hdb , if that so, then what package?
Also, following the documentation tutorial: https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.02/en-US/2d970b65462c4ff3bc674f2ddbd5da9f.html
Im sorry for asking you non-related issues, but as i said above, i got no answers from anywhere until now.

I'm sorry but this isn't the appropriate place for your questions. They aren't even related to this project nor are they about a tutorial I created or own.


FP parsing fail

The following FP number doesn't parse: 1.e+300.
Error: unexpected token "1.e+300"
The problem is .e if I change it to 1.0e+300 it works.

This also fails in the spec repo, I just copied the float lexer from there.

Looking at the C++ grammar:
floating-literal:
  fractional-constant exponent-part[opt] floating-suffix[opt]
  digit-sequence exponent-part floating-suffix[opt]
fractional-constant:
  digit-sequenceopt. digit-sequence
  digit-sequence .
exponent-part:
  e signopt digit-sequence
  E signopt digit-sequence
sign: one of
  + -
digit-sequence:
  digit
  digit-sequence digit
floating-suffix: one of
  f l F L

Whereas the IEEE-754 examples always have a the zero in 1.0e300. I'm not sure which is right. C++ definitely allows 1. as a valid constant, but that may be a convenience thing?

Easy enough to support it, so might as well. Fixed in b8038680d76b081b5c8250b1f0ca711bcfaa1511.

I don't have an opinion about which is best, but it would be good in general for parsers to abide by the same restrictions as the spec repo, or to remove the restrictions from the spec repo.

Agreed with @sunfishcode. @rossberg-chromium WDYT we should standardize on?


chore: disable nx cache for all commands in CI

The check for GitHub action change
https://github.com/vaadin/hilla/actions/runs/6561290978


icon halo is not scaled with screen density

Describe the bug
The halo as specified by text-halo-width is scaled by display density, or in other words, the value specified is in dp rather than px.
The halo as specified by icon-halo-width however does not take into account display density, or in other words, the value is specified in  px.
To Reproduce
Have a style that defines both an icon halo and a text halo with the same width. Observe that the icon halo width is only 1/3rd or so on smartphone devices with extra high dpi.
Expected behavior
icon-halo-width should be in dp.
Screenshots
In the following screenshot from a smartphone with high display density, for both icon halo and text halo, the value of 3 was set.

The SDF icon used in the screenshot above is this one:

Platform information (please complete the following information):

OS: Android 13
Version v11-pre4

According to the style spec, they should both be px.
@HarelM Do you know what the behavior of MapLibre GL JS is?
I think it's going to be hard to change this in a backwards compatible manner.

Oh, are you sure? As far as I know, other widths such as e.g. line-width are all in dp, or "CSS pixels", which are dp as far as I know.

I honestly have no clue, sorry, but I guess the same style.json can be used in a jsbin to see what the behavior in GL JS is.
I've seen a lot of code related to device pixel ratio in the GL JS code, so it might be more polished there.
I think the same approach can be taken for geometry-type in this aspect - if there's a need to align the code with the spec then we can do it in a breaking change version.

I've checked with how it looks like on maplibre-gl-js. This is definitely a bug in maplibre-native.
Using the MapTiler streets-v2 style:

The style sets icon-halo-width and text-halo-width both to 2.

Sounds like the style spec needs to be updated.
Did you also observe this with 10.x.x by any chance?

No, I only started testing (this) with 11.

Related issue https://github.com/mapbox/mapbox-gl-style-spec/issues/66

Could you please post the code how your icon halo is set?
For some reason on 11-pre5 icon color is not displayed while text color works.

As far as I understand the linked issue, given how halos (on fonts) apparently work on the technical level, I guess specifically for icon halos, a guarantee about their displayed pixel size can only be made on a given blur radius used for the icon. I.e. if the spec is updated, it should mention the "standard" blur radius that would need to be used for a value of 1 to actually match 1 pixel.

@mtpdog this is offtopic here, maybe you want to join the chat on slack? Anyway, icon halo only works on SDF icons. These are monochrome icons with alpha channel which basically have been blurred a lot (maybe using a specific blurring algorithm, not sure). When adding such images programmatically, you need to specify that the image(s) you add are actually SDFs. (And if via style, there is a property somewhere.) MapLibre does not prepare your icons as SDFs itself.

My assumption in the starter post may be wrong. Currently investigating.

The following screenshot was made from a smartphone with a display density that results in a scaling of x1.5 after the icon halo width has been scaled programmatically by that factor in reference to this bug report

In other words, if the assumption for the source of this bug

The halo as specified by text-halo-width is scaled by display density, or in other words, the value specified is in dp rather than px.

was true, it should have been rendered with the same width.
Instead, the halo width of the icon(s) is always half of independent of display density.
After having read how the SDF stuff works on the technical side, this could just be very much related to with which blur radius the icons were blurred. See also https://github.com/maplibre/maplibre-native/issues/2281#issuecomment-2063517533
Can you tell with which radius font glyphs are blurred for MapLibre?

Can you tell with which radius font glyphs are blurred for MapLibre?

Not sure I understand the question correctly, but in MapLibre, signed distance fields for glyphs go at most to a distance of 8 outside the glyph.
See https://github.com/maplibre/maplibre-gl-js/blob/8e74a6b0e9a76e75379a184fbc8b94cdf41de4e9/src/shaders/symbol_sdf.fragment.glsl#L1
and
https://github.com/mapbox/sdf-glyph-foundry/blob/6ed4f2099009fc8a1a324626345ceb29dcd5277c/include/mapbox/glyph_foundry_impl.hpp#L314

I tested it and indeed if I create the signed distance field for icons also with a radius of 8, the halo width of icons is shown at the same width as for the text (when both text-halo-width and icon-halo-width), regardless of display density.
So, this issue is invalid. I will look into creating a PR to mention the magic number 8 in the documentation for icon-halo-width :-)


Gops

In theory should be able to work with
https://github.com/google/gops
Have not tried yet but quiet nice and few moving bits etc

How the user acquires the traces that they open with Gotraceui isn't really our concern.

yep i was just thinking about loose coupling... will give it a try.


⚠ AGEG website (prod) has degraded performance

In 2fb6a4a, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 1602 ms

Resolved: AGEG website (prod) performance has improved in d7e0a6a.


The argument type 'String' can't be assigned to the parameter type 'Uri'

Error -
Uri' is from 'dart:core'.
http.Response response = await http.get(url);
FAILURE: Build failed with an exception.

Where:
Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1035

description -
this same error is coming in many files -  (main_websocket.dart, start_view.dart, etc)
I am able to solve this error using Uri.parse(string argument) but after that more error is coming.
the error after resolving above error are as following -
(A)--
error: FlutterForegroundPlugin() has private access in FlutterForegroundPlugin
flutterEngine.getPlugins().add(new changjoopark.com.flutter_foreground_plugin.FlutterForegroundPlugin());
(B)--
Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

What Flutter version are you using? We're still at Flutter 1.22.6

What Flutter version are you using? We're still at Flutter 1.22.6

What Flutter version are you using? We're still at Flutter 1.22.6

it is my mistake, I am using 2.2. 1, thanks for reply.

Thanks , it works now


need help

if i use this library in my phone then timebar interval is too close to each other in vertical mode.
How to set padding to time interval. because my event data is obverlapping when time interval is too close.
Plz help me

You just need to decrease the value of HOURS_IN_VIEWPORT_MILLIS in your code. To reduce the view point to one hour change the HOURS_IN_VIEWPORT_MILLIS = 60 * 60 * 1000;


All creatures have full cover against AoEs

Foundry v11.305, D&D5e v2.2.2, Midi QOL v11.0.5, Simbul's Athenaeum v1.0.5, Simbul's Cover Calculator v1.4.1
When I target a creature without any cover with an AoE ability (such as Fireball), it doesn't apply damage to them at all. Disabling Simbul's Cover Calculator in Midi QOL fixes this issue.

I had to disable Simbul's for failed dex saves to apply Faerie Fire AEs – something is wonky right now between the two modules. I'm thinking it might be a midi issue...

MidiQOL makes the assumption that globalThis.CoverCalculator.checkCoverViaCoordinates() exists, but I now can see

Thanks for the investigation. Trying to see why this is happening as the function is still defined.

O my gosh no... the function is gone. Let me check what happened here.

Ok. Not 100% sure what happened here, but I've re-added the code that does the calculation and you should no longer get that error.

Ran into a few other issues, but seems like 1.4.4 is the proper working one now. @thatlonelybugbear @LukasPrism @GhostwheelX
Thanks for bring this to me attention (I honestly didn't even know Tim had implemented the coordinates in midi-qol yet... and was super surprised to notice that the function was lost in a merge)

Thanks for fixing so quickly ❤

Thank you very much 🙏


Accept a callback function in authorizeForward

Authorized forward should accept a callback for asynchronous validations

I'm actually 👎 on this change. The actual reason for this is performance: by delaying the delivering of messaging, we are reducing the overall latency and throughput of the system. So, we shouldn't check with an async action if a target user can receive a message.
The solution? Fetch the authorization data and attach them to the client object, and publish an internal message to update them.

Sounds good


Update print/input functions for new file IO primitives

File IO functions are added in https://github.com/HigherOrderCO/Bend/issues/573.
We need to update print and input functions to use the new primitive file io functions.
HVM assigns fd 0 to stdin, 1 to stdout and 2 to stderr. We need to write to those files.
I think we should also add an eprint to print to stderr, maybe println and eprintln variants.
Print should receive a string and encode it as utf8.
Input should read a string from stdin and decode it as utf8.
Possibly add a getc or similar for reading single characters.

Closed by #599


Bizzarely named sandboxes can be created

For example...
# aq add sandbox --sandbox --help

Succeeds in creating the records of the sandbox, but then passes the --help to git clone and...
usage: git clone [options] [--] <repo> [<dir>]

    -v, --verbose         be more verbose
    -q, --quiet           be more quiet
    --progress            force progress reporting
    -n, --no-checkout     don't create a checkout
    --bare                create a bare repository
    --mirror              create a mirror repository (implies bare)
    -l, --local           to clone from a local repository
    --no-hardlinks        don't use local hardlinks, always copy
    -s, --shared          setup as shared repository
    --recursive           initialize submodules in the clone
    --template <path>     path the template repository
    --reference <repo>    reference repository
    -o, --origin <branch>
                          use <branch> instead of 'origin' to track upstream
    -b, --branch <branch>
                          checkout <branch> instead of the remote's HEAD
    -u, --upload-pack <path>
                          path to git-upload-pack on the remote
    --depth <depth>       create a shallow clone of that depth

Which is just odd.
# aq show sandbox --sandbox --help
Sandbox: --help [autosync]
  Validated: True
  Owner: jrha
  Compiler: /var/quattor/panc/panc-10.0-jar-with-dependencies.jar
  Base Commit: ccc77d8bc9289296cdfae6b1def46e8c2046827a

March 17 workshop: agreement it should be fixed, MS has a related internal issue and will fix it.

@gombasg reports that it may well be fixed already, but will confirm.

Fixed:
$ aq add sandbox --sandbox --help
Bad Request: '--help' is not a valid git branch name.


New minor version break on PhantomJS

karma-typescript uses buffer as a dependency, the version 5.2.1 didnt require Uint8Array in the browser, so it runs on PhantomJS 2.1.1, but the new version 5.4.x breaks on PhantomJS 2.1.1 with:
PhantomJS 2.1.1 (Linux 0.0.0) ERROR: [36m'This browser lacks typed array (Uint8Array) support which is required by buffer v5.x. Use buffer v4.x if you require old browser support.'
This new minor version should not be backward compatible?

Duplicate of https://github.com/feross/buffer/issues/240


Compiler error after updating to 0.5.4 from 0.5.3

Hi, after applying the patch update from 0.5.3 to 0.5.4, I suddenly get the following error during compilation:
backend-1  | error[E0271]: expected `Ready<RetryPolicy>` to be a future that resolves to `()`, but it resolves to `RetryPolicy`
backend-1  |   --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/apalis-0.5.4/src/layers/retry/mod.rs:38:19
backend-1  |    |
backend-1  | 38 |     type Future = future::Ready<Self>;
backend-1  |    |                   ^^^^^^^^^^^^^^^^^^^ expected `()`, found `RetryPolicy`
backend-1  |    |
backend-1  | note: required by a bound in `tower::retry::Policy::Future`
backend-1  |   --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/tower-0.5.0/src/retry/policy.rs:48:25
backend-1  |    |
backend-1  | 48 |     type Future: Future<Output = ()>;
backend-1  |    |                         ^^^^^^^^^^^ required by this bound in `Policy::Future`
backend-1  |
backend-1  | error[E0053]: method `retry` has an incompatible type for trait
backend-1  |   --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/apalis-0.5.4/src/layers/retry/mod.rs:40:14
backend-1  |    |
backend-1  | 40 |     fn retry(&self, req: &Req<T>, result: Result<&Res, &Err>) -> Option<Self::Future> {
backend-1  |    |              ^^^^^
backend-1  |    |              |
backend-1  |    |              types differ in mutability
backend-1  |    |              help: change the self-receiver type to match the trait: `&mut self`
backend-1  |    |
backend-1  |    = note: expected signature `fn(&mut RetryPolicy, &mut apalis_core::request::Request<_>, &mut Result<_, apalis_core::error::Error>) -> Option<_>`
backend-1  |               found signature `fn(&RetryPolicy, &apalis_core::request::Request<_>, Result<&_, &apalis_core::error::Error>) -> Option<_>`
backend-1  |
backend-1  | error[E0053]: method `clone_request` has an incompatible type for trait
backend-1  |   --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/apalis-0.5.4/src/layers/retry/mod.rs:53:22
backend-1  |    |
backend-1  | 53 |     fn clone_request(&self, req: &Req<T>) -> Option<Req<T>> {
backend-1  |    |                      ^^^^^
backend-1  |    |                      |
backend-1  |    |                      types differ in mutability
backend-1  |    |                      help: change the self-receiver type to match the trait: `&mut self`
backend-1  |    |
backend-1  |    = note: expected signature `fn(&mut RetryPolicy, &apalis_core::request::Request<_>) -> Option<_>`
backend-1  |               found signature `fn(&RetryPolicy, &apalis_core::request::Request<_>) -> Option<_>`
backend-1  |
backend-1  |    Compiling axum-range v0.4.0
backend-1  | Some errors have detailed explanations: E0053, E0271.
backend-1  | For more information about an error, try `rustc --explain E0053`.
backend-1  | error: could not compile `apalis` (lib) due to 3 previous errors
backend-1  | warning: build failed, waiting for other jobs to finish...
backend-1  | [Finished running. Exit status: 101]

Any ideas? I didn't change anything in my code and it was working without problems for the past months.
Thanks!

Seems like something to do with retry and tower.
Also seems like some features bypassed CI. On it

Should be resolved by a new release.


The cache significantly increases compile time

From https://github.com/CliMA/ClimaCore.jl/issues/1467
Tuples of Fields affect compilation time and are a major cause of latency.
In ClimaAtmos, the cache is a massive tuple. A native restructuring of the cache from a tuple to a struct shows 60% latency reduction to get the integrator for a moist case without radiation. The latency is further reduced for more complex cases.

See https://github.com/CliMA/ClimaAtmos.jl/issues/2217


Add bicep step to deployment

Would be nice to have a more complete deployment instead of deploying to an existing function app

This is done!


Use latest golang in Vagrant based tests

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Using the latest golang instead of the .0 release.
Which issue(s) this PR fixes:

None
Does this PR have test?
None

Special notes for your reviewer:
Does this PR introduce a user-facing change?

None

@kubernetes-sigs/security-profiles-operator-maintainers PTAL, this fixes some bits of the CI at least

Codecov Report

Merging #1937 (dab8490) into main (edb34ac) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1937   +/-   ##
=======================================
  Coverage   49.25%   49.25%
=======================================
  Files          72       72
  Lines        7037     7037
=======================================
  Hits         3466     3466
  Misses       3437     3437
  Partials      134      134


Issue in tomotopy

I have installed tomotopy by when I want to use it for LDA modeling it is showing error
AttributeError: module 'tomotopy' has no attribute 'LDAmodel'

Oh, could you tell which your environment is, such as OS and python version?

OS is windows 10 and python 3.7.


Multisig

For milestone 2 of the original grant proposal we need to implement a multisig wallet. As described in Section 2 of the EUTXO paper there are two ways to do a multisig, and I propose we implement both.
Verifier-Based Approach
The simple way is to create a Varifier implementation that is similar to SigCheck but requires a certain number of valid signatures rather than just a single one. This kind of multi-sig has been around since bitcoin. It is also somewhat inconvenient for users because it requires aggregating all of the signatures through off-chain communication between the signatories.
/// A Threshold multisignature. Some number of member signatories collectively own inputs
/// guarded by this verifier. A valid redeemer must supply valid signatures by at least
/// `threshold` of the signatories. If the threshold is greater than the number of signatories
/// the input can never be consumed.
struct ThresholdMultiSignature {
  /// The minimum number of valid signatures needed to consume this input
  threshold: u8,
  /// All the member signatories, some (or all depending on the threshold) of whom must
  /// produce signatures over the transaction that will consume this input.
  signatories: Vec<H256>,
}

ConstraintChecker-Based Approach
The second way, as outlined in EUTXO, is to allow aggregating the signatures on-chain in a smart contract like way. This would be implemented as a ConstraintChecker. A signatory makes a proposal by consuming the original multisig and creating a new one with all the same data plus their proposal plus their own signature. Then other signatories would consume that utxo and replace it with one with all the same data plus their own signature. And eventually the final signatory would consume the utxo and replace it with just the proposal.

#50


Make spy_point_name optional for bond.spy

Not all spy point use agents. If you do not have an agent, the spy point name plays only a documentation role. Sometimes I just want to spy "x". I would like to be able to write:
bond.spy(x = x)

instead of
bond.spy("my point", x = x)

Possible implementation

Add a separate spy_anon (for anonymous spying). This will work well in all languages, but I would rather not create another entry point just for this.
Make the spy_point_name an optional keyword argument. If not present, then it is anonymous. This works well in Python (at the extra cost of having to type spy_point_name='foo'). We'd have to do something else for Java.

Made it so that in ruby, the first parameter is optional (not keyworded). So you can do:
spy(key: val, key2: val2) or spy('point_name', key: val)
I thought this was a little nicer than having to do spy(spy_point_name: 'point_name', key: val) and forces the point name to be at the start of the argument list which is good anyway.

That is indeed nicer, and it happens to work the same in python too.
George.
On Mon, Oct 19, 2015 at 1:08 PM, Erik<EMAIL_ADDRESS>wrote:

Made it so that in ruby, the first parameter is optional (not keyworded).
So you can do:
spy(key: val, key2: val2) or spy('point_name', key: val)
I thought this was a little nicer than having to do spy(spy_point_name:
'point_name', key: val) and forces the point name to be at the start of
the argument list which is good anyway.
—
Reply to this email directly or view it on GitHub
https://github.com/necula01/bond/issues/13#issuecomment-149331711.


Output file naming conventions

Each instance of FAST is currently using the FAST rootfile name with naming convention of <FAST_rootname>.Tx.. WakeDynamics asks for a common rootname. We should decide how we want any output files named.

WakeDynamics doesn't have an output file.


problem with response

After the request the error comes as null but it doesnt return me a json, the response.body is just <Error><Message>An error has occurred.</Message></Error>. Any idea what the issue might be?

@gustavomauricio I'm guessing you figured this out hence why you closed the issue. For information, that response body seems to imply that the error wasn't due to cloudscraper but rather some API or server related error. Also, if error === null, the error didn't come from cloudscraper. Good luck.


Handle deactivations

CMS updates a master file of deactivated NPIs monthly. Download the deactivation file and parse to identify deactivated NPIs that will be excluded from active NPI counts (e.g., the total number of Medicare physicians in a market will not count deactivated NPIs)
The deactivations data file can be downloaded from https://download.cms.gov/nppes/NPI_Files.html.
They also publish weekly deactivations, which can be a more light weight way to handle new deactivations rather than re-merging larger data files.

When an NPI is deactivated, the information connected to that NPI is removed. Only the deactivation information and NPI is reported in continuing data builds.
Care should be taken when "reaching back" with historical NPI data, i.e., data following the NPI's last update date is the information attached to the NPI prior to the deactivation date.


Cryptol to Python test bench

We want to test out the following Cryptol functions against the corresponding Deneb Python Spec implementations:

[x] evaluate_polynomial_in_evaluation_form: large inputs but all fixed sized values (BlsPolynomial is 4096 256-bit values)
[x] compute_quotient_eval_within_domain: large inputs but all fixed sized values (BlsPolynomial is 4096 256-bit values)
[x] compute_kzg_proof_impl:  arge inputs but all fixed sized values (BlsPolynomial is 4096 256-bit values)
[ ] compute_kzg_proof arge inputs but all fixed sized values (BlsBlob is the same size as the BlsPolynomial)
[ ] verify_kzg_proof_impl: for this one we will need to create a generator for G1 points
[ ] verify_kzg_proof: for this one we will need to create a generator for G1 points that then get compressed

compute_kzg_proof
This has taken over 2 hours of run time with no output on randomly generated input, unsure if it is terminating.


Query statement needs to be corrected which extracts the client IP address, the HTTP method, the address of the page being accessed, and the response code from each log entry.

Query statement needs to be corrected which extracts the client IP address, the HTTP method, the address of the page being accessed, and the response code from each log entry.
Source
| extend TimeGenerated = todatetime(Time)
| parse RawData.value with
ClientIP:string
' ' *
' ' *
' [' * '] "' RequestType:string
" " Resource:string
" " *
'" ' ResponseCode:int
" " *
| parse RawData.value with

Only works if the data_sample.json file was generated using PS 5.

So, when the customer tries to send the log using PS 7,
| parse RawData.value with
Is not valid.
The above highlighted query line should be correect with the below:
It should be this if the data_sample.json file is created using PS 7.
| parse RawData with

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

ID: f1962f4b-74fb-74cf-fbbe-3a15ef34d3ea
Version Independent ID: d3123a85-673c-e31f-4e28-e4f44ae9e7a2
Content: Tutorial: Send data to Azure Monitor Logs by using a REST API (Azure portal) - Azure Monitor
Content Source: articles/azure-monitor/logs/tutorial-logs-ingestion-portal.md
Service: azure-monitor
Sub-service: logs
GitHub Login: @guywi-ms
Microsoft Alias: guywild

@nikhilshastri23
Thanks for your feedback! We will investigate and update as appropriate.

@nikhilshastri23 Thanks for the feedback! I have fixed the referenced change, and the change should reflect on the doc within 24 hours. We will now proceed to close this thread. If there are further questions regarding this matter, please revert and we will gladly continue the discussion.


[NTR] Fixed typo

Coverage remained the same at 41.591% when pulling b23cebbd991aea7c6c698aa5583231a144642965 on NTR-fixed-typo into efdd90a08592fe248bbf442e7291c1327a03a3ba on master.


Altered Strings when Sorted Concurrently

What version of Go are you using (go version)?

$ go version
go version go1.13.4 darwin/amd64

Does this issue reproduce with the latest release?
Not tested yet.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/256dpi/Library/Caches/go-build"
GOENV="/Users/256dpi/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/256dpi/Development/Go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.13.4/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.13.4/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/mj/lp3r462x6tqfd4v_93bvh65h0000gn/T/go-build083819198=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
There was a bug in my program due to a concurrent sort of a slice. Of course sort.Strings is not thread safe and should not be used that way. However, the error actually caused some strings to become altered.
Sometimes (1 out of ~10) the test failed due to the first string having an additional n at the end.
=== RUN   TestWeird
--- FAIL: TestWeird (0.00s)
panic: nooo: ns-140.awsdns-17.com.n [recovered]
	panic: nooo: ns-140.awsdns-17.com.n

I'm reporting this as I'm not sure if this is ok to be happening or not.

Thanks @odeke-em, @networkimprov and @bcmills for the explanations and links!
That's really an interesting edge-case in Go. While having read the documentation on the underlying data structures for slices and strings years ago, one easily forgets them again as the most important take away is that pointers to these structures are not necessary. However, this example shows that every Go programmer should be really aware of this, unless Go would handle these multiword structures atomically. Almost 10 years later, I wonder if the time has come to try this?


remove webportal sg binding when adding vc

Coverage increased (+0.009%) to 49.35% when pulling e58cd2fa6975f5bc60204010c9da53e9fc9b9102 on zimiao/group_vc_webportalfix into 0d75656b4566f92baa15c9d35289318917cf2495 on zimiao/group_vc.


rustc: 1.40.0 -> 1.41.0

Motivation for this change
New rustc version.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

x86_64-linux builds fine.

Locally firefox also builds for me.

Does firefox uses this rust version at all?

cc @alyssais Could you run nix-review -p fd 79148 on macOS?

@GrahamcOfBorg build fd

By merging now we could get it in before branch-off. If there are issues we can always revert.

My darwin build just finished, looks good.


Disable statement timeout for performance tests

Fix test_seqscans by disabling statement timeout.
Also, replace increasing statement timeout with disabling it for performance tests. This should make tests more stable and allow us to observe performance degradation instead of test failures.
Ref https://github.com/neondatabase/neon/actions/runs/3520063845/jobs/5900633702#step:6:277

I've triggered the bench job; it finally should be green: https://github.com/neondatabase/neon/actions/runs/3522641461

Do we exceed 1h timeout?

Currently, we do exceed it for 50GB database init with pgbench. Enabling prefetch fixes this, but for this case, it would be nice to know what speed-up do we get (just nice to have, not really necessary).

Failing to complete a test in reasonable time looks like a good way to signal problems until we have something like that

That's true, but for now, it fails much more frequently when we increase the dataset size and forget about the timeout rather than finding some real performance issues.

At some point we'll have some job that will analyze results and fail the check if there is significant performance degradation.

I'm ready to pick this as one of the following tasks.


[AppBar][docs] Add a fully responsive demo to docs

Closes https://github.com/mui-org/material-ui/issues/29828
I created a new responsive AppBar for all devices. It's so useful for beginners to create a responsive AppBar easily.
### Desktop view

### Mobile view

[ ] I have followed (at least) the PR section of the contributing guide.

@mblodorn @mnajdova

I saw that @mbrookes already did a review on the previous PR, so let's see what he thinks. I still don't think it's necessary to add more demos, but it may be just me.

@mnajdova I think it's a useful example, but no issue of you'd rather not keep it. It could go under "AppBar with menu", as "AppBar with responsive menu", or potentially even replace that demo.
@karakib2k18 Please don't modify the basic demo.

@mbrookes I modified the basic demo. but how to cancel this change on the modified basic demo? give me a hint.

@mnajdova I think it's a useful example, but no issue of you'd rather not keep it. If we do keep it it could go under "AppBar with menu", as "AppBar with responsive menu", or potentially even replace that demo.
@karakib2k18 Please don't modify the basic demo.

thank you for your opinions. I remove the modification of the basic demo. can you please check it now?
@mbrookes

@siriwatknp  @mbrookes  please check it now. I hope everything is ok now.

@siriwatknp why my code shows error now?

@mbrookes please check it now.

I was waiting for a response from @mnajdova on whether we should keep it before reviewing further, but since @siriwatknp has reviewed the code, let's continue.

why my code shows an error now?

It's a CI issue. You can ignore it.

@mbrookes  please check it now. I hope everything is ok now.

Ack, I meant to add a key prop, and forgot to go back to it.

https://github.com/mui-org/material-ui/pull/29884

Thank you so much for your help. @mbrookes @siriwatknp


Fix showing Others icon in the legend

Related to: https://github.com/CartoDB/cartodb/issues/12683

I feel you need to mention someone for validating the url('') 😬

Done (in cartodb)


Development/ssoweather

Create interfaces required to SsoWeather operation.

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


Unable to perform Slack operations: Listener issue (KeyError)

Describe the bug
When I try to create a slack channel, or run any slack command. I see issues with a request listener.
To Reproduce
Steps to reproduce the behavior:

Setup Slack as documented here: https://hawkins.gitbook.io/dispatch/administration-guide/incident/plugins/configuring-slack
I've set the following:

SLACK_WORKSPACE_NAME
SLACK_SOCKET_MODE_APP_TOKEN
SLACK_API_BOT_TOKEN
SLACK_SIGNING_SECRET
SLACK_APP_USER_SLUG
SLACK_SOCKET_MODE_APP_TOKEN

I got the SLACK_APP_USER_SLUG from the auth.test endpoint, the user_id of the bot.
Everything from the slack app config side looks good for the events challenge test, interactive components, etc.
I also see the request payload in the worker on the Dispatch side. Not sharing due to sensitive information.
Expected behavior

No slack channel created for a newly reported incident in the Dispatch UI
No blockits form when running the slack command, fails with the following:

Screenshots
Slack messaging

Logs
ERROR:Failed to run a request listener: 'name', session: s_8750564884622:/usr/local/lib/python3.9/site-packages/slack_sdk/socket_mode/async_client.py:run_message_listeners:178
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/slack_sdk/socket_mode/async_client.py", line 176, in run_message_listeners
    await listener(self, request)  # type: ignore
  File "/usr/local/lib/python3.9/site-packages/dispatch/plugins/dispatch_slack/socket_mode.py", line 44, in process
    response = await handle_slack_command(
  File "/usr/local/lib/python3.9/site-packages/dispatch/plugins/dispatch_slack/commands.py", line 250, in handle_slack_command
    return await handle_non_incident_conversation_commands(
  File "/usr/local/lib/python3.9/site-packages/dispatch/plugins/dispatch_slack/commands.py", line 171, in handle_non_incident_conversation_commands
    conversation_name = await dispatch_slack_service.get_conversation_name_by_id_async(
  File "/usr/local/lib/python3.9/site-packages/dispatch/plugins/dispatch_slack/service.py", line 250, in get_conversation_name_by_id_async
    return (await make_call_async(client, "conversations.info", channel=conversation_id))[
KeyError: 'name'
DEBUG:Message processing completed (type: slash_commands, envelope_id: 76b4594a-86fa-43e2-a6b0-87434dae3eea, session: s_8750564884622):/usr/local/lib/python3.9/site-packages/slack_sdk/socket_mode/async_client.py:run_message_listeners:187
DEBUG:Received message (type: PING, data: bytearray(b'Ping from applink-5d9784f894-6s9qj'), extra: , session: s_8750564884622):/usr/local/lib/python3.9/site-packages/slack_sdk/socket_mode/aiohttp/__init__.py:receive_messages:269
DEBUG:Received message (type: PONG, data: bytearray(b'sdk-ping-pong:1646936554.1264064'), extra: , session: s_8750564884622):/usr/local/lib/python3.9/site-packages/slack_sdk/socket_mode/aiohttp/__init__.py:receive_messages:269
DEBUG:Received message (type: PONG, data: bytearray(b'sdk-ping-pong:1646936559.1369495'), extra: , session: s_8750564884622):/usr/local/lib/python3.9/site-packages/slack_sdk/socket_mode/aiohttp/__init__.py:receive_messages:269
DEBUG:Received message (type: PING, data: bytearray(b'Ping from applink-5d9784f894-6s9qj'), extra: , session: s_8750564884622):/usr/local/lib/python3.9/site-packages/slack_sdk/socket_mode/aiohttp/__init__.py:receive_messages:269
DEBUG:Received message (type: PONG, data: bytearray(b'sdk-ping-pong:1646936564.1435585'), extra: , session: s_8750564884622):/usr/local/lib/python3.9/site-packages/slack_sdk/socket_mode/aiohttp/__init__.py:receive_messages:269
DEBUG:Received message (type: PONG, data: bytearray(b'sdk-ping-pong:1646936569.1528592'), extra: , session: s_8750564884622):/usr/local/lib/python3.9/site-packages/slack_sdk/socket_mode/aiohttp/__init__.py:receive_messages:269
DEBUG:Received message (type: PING, data: bytearray(b'Ping from applink-5d9784f894-6s9qj'), extra: , session: s_8750564884622):/usr/local/lib/python3.9/site-packages/slack_sdk/socket_mode/aiohttp/__init__.py:receive_messages:269
DEBUG:Received message (type: PONG, data: bytearray(b'sdk-ping-pong:1646936574.1604586'), extra: , session: s_8750564884622):/usr/local/lib/python3.9/site-packages/slack_sdk/socket_mode/aiohttp/__init__.py:receive_messages:269
DEBUG:Received message (type: PONG, data: bytearray(b'sdk-ping-pong:1646936579.168774'), extra: , session: s_8750564884622):/usr/local/lib/python3.9/site-packages/slack_sdk/socket_mode/aiohttp/__init__.py:receive_messages:269
DEBUG:Received message (type: PING, data: bytearray(b'Ping from applink-5d9784f894-6s9qj'), extra: , session: s_8750564884622):/usr/local/lib/python3.9/site-packages/slack_sdk/socket_mode/aiohttp/__init__.py:receive_messages:269
DEBUG:Received message (type: PONG, data: bytearray(b'sdk-ping-pong:1646936584.1416264'), extra: , session: s_8750564884622):/usr/local/lib/python3.9/site-packages/slack_sdk/socket_mode/aiohttp/__init__.py:receive_messages:269

## Screenshot of logs

$

Desktop (please complete the following information):

OS: MacOS
Browse: chrome
Version Version 99.0.4844.51 (Official Build) (x86_64)

Additional context
I'd appreciate any guidance fixing this.
I think the documentation may be missing some bot or user scopes?

@Achooo sorry to hear you're having issues with Dispatch. Our Slack documentation is out of date and we're in the process of updating it. Can you answer the following questions so I can help you troubleshoot?

Did you set the parameters in the .env file or the Slack plugin under Settings -> Project -> Plugins?
What ticketing plugin are you using?
Is the incident getting named after its creation?
Any other server errors not provided?

Hi, truly sorry for the delay here!

Did you set the parameters in the .env file or the Slack plugin under Settings -> Project -> Plugins?

I actually did both

What ticketing plugin are you using?

Jira plugin. Why does the ticketing plugin matter here?

Is the incident getting named after its creation?

Yes it is!

Any other server errors not provided?

No I think that's the only error I see
Additional thoughts:
I think the documentation may be missing some bot scopes.
Is it possible to confirm that those are the correct ones with someone's working setup? : https://hawkins.gitbook.io/dispatch/administration-guide/incident/plugins/configuring-slack

I reviewed the bot token scopes and they're correct. In fact, reminders:write and remote_files:read were not necessary, so I have removed them. I reviewed Slack's socket mode docs and there are no mentions of additional scopes for socket mode to work.
I'll try to carve some time this week to set up socket mode locally and see if I can repro your issue, as we don't use socket mode in our test or prod environments.

@mvilanova Thank you for keeping this open and looking into it. However, I'm happy to close this issue since no one has upvoted it / nor commented saying they've experienced the same! We've since moved away from testing Dispatch

@Achooo sorry I haven't been able to get to it yet. Let's keep it open in case others experience the same issue. Would you mind sharing why you decided to not continue testing Dispatch?

@mvilanova Due to time constraints mainly, we moved towards a different solution instead of self-hosting. We were missing a few integrations/features needed. I think it would have been great to contribute to the project, but we were looking for a fast solution as there is limited automation for incident management right now, causing toil for on-call

Thanks for sharing the context. I'm going to close this issue.


fix(plugins/plugin-kubectl): redirection of output on a get resource command is ignored

Fixes #7406

Description of what you did:

My PR is a:

[ ] 💥 Breaking change
[ ] 🐛 Bug fix
[x] 💅 Enhancement
[ ] 🚀 New feature

Please confirm that your PR fulfills these requirements

[x] Multiple commits are squashed into one commit.
[x] The commit message follows Conventional Commits, which allows us to autogenerate release notes; e.g. fix(plugins/plugin-k8s): fixed annoying bugs
[x] All npm dependencies are pinned.

/lgtm
/honk


Update customer-io-email-abtest.mdx

🚀 Deployed on https://657a024f2780f310c771f6f3--cozy-fox-0defec.netlify.app


What is FSI?

Hi all – I see lots of references to FSI in recent changelogs and elsewhere.  I assume it's F Sharp I.....? F Sharp Ionide? What does it mean in the context of "path to FSI" or an "FSI dir"? Is it simply another name for Ionide as such, or the Ionide executable?

F# Interactive


Use median of absolute values of over- or underspending

I'm not sure about using the median of absolutes of over/underspending.
If we phrase it as "the [median] difference between budget and actual spending" it makes sense but when phrased just as over or underspending the picture in my head is that this median (and its sign) is on the same spectrum as the numbers shown here. For example, the median for raw over/under was negative while cape town was positive in 2014. now we show a positive number in the tooltips because of abs() in each case which is also a bit weird.
I'm not sure what's correct and what's clear to the user.

outcomes of whiteboarding:

showing the sign of a median that was selected from absolutes of results doesn't mean anything - the sign becomes accidental
we've combined overspending and underspending into one chart - a muni will either overspend or underspend in a given period - now it gets interesting when there coud be some that overspend and some that underspend
what's currently in prodution isn't wrong - it's a particular view of the data. It tells the user whether similar munis typically overspend or underspend, but it doesn't say anything about the degree at which either happens
another view of the distribution is to take the median of the absolutes, as in this PR - it doesn't give an indication of whether over- or underspending typically happens, it tells the user to what degree munis tend to stray from their budget in whatever direction
a third view would be to take two medians - an overspending median and an underspending median. We propose showing the median relevant to whatever happened in that period - if a muni underspent we show the underspending median. If no one else underspent in that period, we point that out, and perhaps show the overspending median.


prog_exec has no way to report a vm error

Callers may not want to panic if there is a problem running the program and instead may want to exit gracefully and report an error.
Consider changing:
pub fn prog_exec(&self, mem: &[u8], mbuff: &[u8]) -> u64

To:
pub fn prog_exec(&self, mem: &[u8], mbuff: &[u8]) -> Result<u64, Error>

Can we get this in the same release as the other public interface changes?  Doing so would reduce the change of breaking backward compatibility in the future.

Sure. I have no constraints regarding the release on my side anyway, so we only tag once you feel everything you need in the release is covered :).
For the record this is the logical continuation of #30.

FYI, I'm working on this issue

@qmonnet
What do you think about returning a String instead of Error?  Doesn't look like Error is adding anything in this case.  Would also like to convert new, set_verifier, etc... to String
-> Result<u64, String>

instead of
-> Result<u64, Error>

Well I did the opposite, my first PR would use a String for the return values and I converted that to Errors based on suggestions I got :). What's the problem with Errors? This is something you can propagate and catch more easily than a string I would think?

I see propagation and catch being handled by normal Result handling.  I guess I don't see the advantage of using Error in this case since only ErrorKind::Other is used and just used as a wrapper for the string without adding any additional information.  If there was a need to return other types of ErrorKind I could see the benefit but otherwise, I must be missing something :-)

Maybe a better approach would be a module-specific error enum:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2015&gist=090c45f8c4f4ec5c373a5f2cafdf3817

@qmonnet I would like to get this issue resolved early this week so we can release.  I can submit my PR with changes to return Result<(), Error> that I have ready or I can rework to include my suggestion to return a string or custom Error enum.  Please let me know, thanks!

Sorry for the late reply.
My preference would be to keep an Error over a String at the moment. This being said, I like your suggestion of using a custom Error enum. Just one question, because I didn't have time to sort it out: say we make the verifier return some error from this enum, what would be the return type? Is it something like Result<(), Error> still, or rather like Result<(), EbpfError> instead? In the latter case, does a custom verifier have a way to add custom error types without touching at the enum? Just to make sure people can return whatever error they want, but since your own verifier probably has new reasons to reject programs I guess you found a way to make it work :).
Please send your PR, either with an Error or with the custom Error module.

That's a good question and I've been pondering it
Maybe and enum containing the string portion of the verifier error...
pub enum EbpfError {
     NoProg,
     VerifierError { err: String },
}


chore(dev): release 0.8.0

:robot: I have created a release beep boop
0.8.0 (2024-08-25)
⚠ BREAKING CHANGES

add support for Jellyfin media (#633)

Features

add support for Jellyfin media (#633) (f52df44), closes #24
support leading/trailing edge configuration for intermittent watermarks (#704) (ba2ec87), closes #672

Bug Fixes

custom show editor style and behavior should match fillers (#715) (b834e1a)
default fallback image not rendered properly in UI (#709) (c5d9f43)
defer foreign keys in Jellyfin migration due to self-referencing tables (9462432)
edited new filler list name reverted after adding programming (#711) (40f1776), closes #705
generalize media source connection on welcome and settings pages (#701) (bb1a17f)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.8.0
:sunflower:


[BULK UPDATE] DocuTune - Rebranding links (part 5)

Global effort for the Microsoft Learn platform rebrand
The Microsoft team is applying changes to content for the Microsoft Learn platform rebrand. Changes include modifications to current Microsoft Learn and Microsoft Docs terminology as well as associated domain name and content URL path changes.
Please review this draft PR and provide any necessary comments as soon as possible. Because these fixes are tightly scoped, we have approval to automatically merge these changes to the default branch for publication.
This PR was generated via DocuTune. It includes only targeted fixes and minor formatting adjustments.
CorrelationId: d8c4c3ac-d49a-4c95-9ddc-9822ca297907
InitiativeId: docutune-rebranding-2022-09
PointOfContact: Alex Buck

#docutune-draft

Docs Build status updates of commit 7156e47:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Set-SPProfileServiceApplicationSecurity.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPProjectDatabaseQuota.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPProjectEventServiceSettings.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPProjectOdataConfiguration.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPProjectPCSSettings.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPProjectPermissionMode.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPProjectQueueSettings.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPProjectServiceApplication.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPProjectUserSync.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPProjectUserSyncDisabledSyncThreshold.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPProjectUserSyncFullSyncThreshold.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPProjectUserSyncOffPeakSyncThreshold.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPRequestManagementSettings.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPRoutingMachineInfo.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPRoutingMachinePool.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPRoutingRule.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPScaleOutDatabaseDataRange.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPScaleOutDatabaseDataSubRange.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPSecureStoreApplication.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPSecureStoreDefaultProvider.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPSecureStoreServiceApplication.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPSecurityTokenServiceConfig.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPServer.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPServerScaleOutDatabaseDataRange.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPServerScaleOutDatabaseDataSubRange.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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


H-emitters pictures takes a while to load

What: Click on drops and scroll down where minted-out collections are. Check H-emitters.
This is the second time I have noticed that the picture takes 10+ seconds to load while all others are already loaded. Is there something we can do about it? Or is it because the image is high quality?

Issues and Solutions:

Image Size Optimization:

Current situation: The page is returning the original image, which is approximately 500kB in size.
Proposed solution: Switch to a smaller variant of the image.
Note: There's a trade-off – the image quality will be lower, but the page load time will improve.

File Accessibility:

Issue: The file appears to be removed (unpinned) or uploaded to a private bucket.
Impact: Content times out when accessed through on-chain metadata.
Current status: We have stored the content in our R2 storage.
Needed action: Update with a new, accessible file to ensure it doesn't timeout when checked through on-chain metadata.
Reference: IPFS Link

Additional Information on Slow IPFS Content:
When encountering slow IPFS content, such as 504 Gateway Timeout or Internal Server Error (as shown in this screenshot), refreshing the page may resolve the issue. This occurs because IPFS is a peer-to-peer network, and sometimes nodes can be slow or unavailable. If the IPFS content still results in an error (gateway timeout or internal server error) after refreshing, it's possible that the IPFS content has been deleted or can only be accessed through specific gateways (private bucket).
An alternative solution might be to set up our own IPFS nodes. However, the trade-off for this approach would be potential cost implications.
For a comprehensive explanation of IPFS limitations, refer to the fxhash documentation, specifically the "Downside of IPFS" section: fxhash IPFS Documentation


Well/ well type correction

There should only be a single well in a project. In that well, there should be a list of well types and exploration well types on that project well.
Need to change Wells on case to be well types and exploration well types.
Well types and exploration well types on case will be inherited to Well project and Exploration

Redundant


Atom crashes with saving HTML files on Mac

Hi! I'm starting with coding JS using Atom, but when I try to save the files with ".html" Atom just crashes, I already try to do the same with the safe mode and the problem still in there.
Posdata, I use atom v1.38.0 with a MackBook Pro 2012 (10.10.5).

Thanks for contributing!
Based on your version of macOS, I think this is a duplicate of https://github.com/atom/atom/issues/19497 so you can subscribe there for updates if you'd like.  You can temporarily disable Tree-sitter as detailed in https://github.com/atom/atom/issues/19497#issuecomment-501311338 as a workaround.
Additionally, for future issues please use the template when opening issues or your issues may be closed.  The information in the issue template is super helpful for us when triaging issues.

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


KAFKA-5258: move all partition and replica state transition rules into a map

Today the PartitionStateMachine and ReplicaStateMachine defines and asserts the valid state transitions inline for each state. It would be cleaner to move all partition and replica state transition rules into a map and simply do the assertion at the top of the handleStateChange.

@ijuma @junrao can you take a look?


Ionic2/Angular2 support?

Hi, is it possible to use this package for mobile apps written with Ionic2 (which uses angular2 and typescript)?

That's a goal - but it still depends on Meteor (for now)

any progress on that please ?

Hi, I am trying to use ground db in my ionic2/angular2 project. I ground the collections in collections.ts which is common to both client and server. My code is
export const Messages = new MongoObservable.Collection("messages");
if(Meteor.isClient){
Ground.Collection(Messages);
Ground.Collection(Meteor.users);
}
In client I am getting the error
"First argument to new Mongo.Collection must be a string or null
at v (polyfills.js:3)
at new Mongo.Collection (meteor-client.js:32177)
at Object.groundCollection [as Collection]"
my ground:db version is 0.3.15 and meteor version is <IP_ADDRESS>.

Hi @raix ,
Can we use GroundDB with Angular 2? Am trying to add by meteor add ground:db and got the below response.

meteor add ground:db

Changes to your project's package version selections:
dispatch:kernel                   added, version 0.0.6
dispatch:request-animation-frame  added, version 0.0.1
ground:db                         added, version 0.3.15
ground:dictionary                 added, version 0.2.1
ground:localstorage               added, version 0.1.9
ground:minimax                    added, version 1.1.3
ground:servertime                 added, version 0.0.3
ground:store                      added, version 0.1.2
ground:util                       added, version 0.1.17
raix:eventemitter                 added, version 0.1.3
raix:onetimeout                   added, version 1.0.4
raix:stubfence                    added, version 1.0.3
ground:db: Ground Meteor.Collections offline
After this, am trying to find the groundDb package in my app, i can see only the changes in .meteor\verions
.meteor\local\resolver-result-cache.json
.meteor\packages
these file,  it just added the dependencies.
I hope, to work with typyscipt we need @types files (d.ts). Please help me to go forward..
@srivastavapooja ,
How did you import GroundDB in Angular 2?
Ground.Collection(Messages); // Am facing issue here to import Ground


Add mouse support

Is your feature request related to a problem? Please describe.
When bind clap to GUI menus, it would be faster to use mouse buttons & mouse wheel to select candidates.
Describe the solution you'd like
Can use mouse click to select and mouse wheel to navigate list.
Describe alternatives you've considered
Can use keyboard, but use mouse buttons in GUI menus would be faster.

I second this! This would be really nice!

https://github.com/liuchengxu/vim-clap/pull/906 adds the initial mouse support, the mouse wheel can navigate the result list, and the mouse click can toggle the selection.