How to manage late approval response for the App/Flow Archival process?

Hello,
I am looking for the help on understanding the Archival process management by users in Governance Component (1.23) solution.
There are 2 flows to manage app archival:
Start Approval - Sends approval email to makers, if app is not modified in last 6 months, and add the record in Archival Response Table. Let's assume, this flow starts at : 1:00 AM every month 1'st date. --> this flow does not store "Approval Responses" from user in the archive table "Archive Approvals", but only Approval ID.
Check Approval - Checks table "Archive Approvals" approval status for the app - if it's approved, app will be deleted, else, approval email will be sent to app maker again. Let's assume, this flow starts at : 1:00 PM every month 1'st date.  --> this flow stores "Approval Responses" from user in the archive table, but only Approval ID.
Now, "User1" approves an app to be deleted let's say on 5th date of the month, meaning after the first batch of "Start and Check" approval flows have ran. In that case, user receives an approval email for the same App which was approved earlier to be deleted. --> I assume this could be the case, because "Approval Response" in the Archive table is never stored after user approves it? or am I missing anything here to understand?
Could you please help clarifying when "Approval Response" is stored in "Archive Approvals" table as soon as user approve/rejects it before it's being checked if app is approved/reject?
Thanks a ton in advance!
Regards,
Dipti

Check Approvals is the flow that updates the custom table Archive Approval.
The March update of the toolkit (estimated to ship this week) has increased the frequency of this run to daily, to help with late approvals.
This is because you cannot have a trigger on the products approval response table due to some nuanced technical issues.
Hope that helps. And thanks for using CoE

The change I describe above about the increased cadence of Check Deleted is now released. Please be sure to remove any unmanaged layers from flows before you update as described in installing updates or you will not see the changes.
Thanks for using CoE.


Create codeql.yml

@staedy we already have CodeQL enabled in .github/workflows/codeql-analysis.yml. Please provide more context about this change.

Hello


On the wish list: "Pyreneeu00ebn" being explained as "Pyreneeën 71"

A while ago I blogged about "Pyreneeën 71" on a web-site being incorrectly represented as "Pyreneeu00ebn".
Basically the Unicode code point U+00EB : LATIN SMALL LETTER E WITH DIAERESIS is being represented as u00eb.
Is this something that ftfy could potentially recognise?
Right now It does not:
>>> ftfy.fix_and_explain("Pyreneeu00ebn")
ExplainedText(text='Pyreneeu00ebn', explanation=[])

Presumably something is escaping the string and then stripping \s from it. You could try undoing this with some code that searched for all possible Unicode escapes (here, u([0-9a-f]{4})), tried putting a backslash in front (or just replacing it with the corresponding unicode codepoint), and seeing if the result "makes sense" by some logic that you determine (e.g., it's a character in a language you'd expect).


Kaleido

[x] Closes #527 .
[x] I am familiar with the contributing guidelines.
[ ] Tests added.
[ ] Updates entries to docs/source/api.rst for API changes.
[ ] Adds descriptions to appropriate "what's new" file in docs/source/whatsnew for all changes. Includes link to the GitHub Issue with :issue:`num` or this Pull Request with :pull:`num`. Includes contributor name and/or GitHub username (link with :ghuser:`user`).
[ ] New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.
[ ] Maintainer: Appropriate GitHub Labels and Milestone are assigned to the Pull Request and linked Issue.

Bumps the plotly version to 4.9 and adds kaleido as a requirement. 4.9 is the minimum plotly version where kaleido is the default static image export engine, and updating these dependencies should be all we need to make this function. I'm leaving the kaleido version unpinned since it is <v1 and I think we'd want to keep up with releases and only pin if tests start to fail.
If we decide to go this way we should:

[ ] Update tests that skip if orca is not present
[ ] Remove orca server cli command
[ ] See if we can update further to plotly 5.
[ ] Remove discussion of orca throughout codebase.

Fixed that missed assignment. Test fialures are all api issues. Anything else before merging?


Add CI workflow

What does Plotly use for CI? I don't see many repos with GHA enabled.

I think most Plotly repos use CircleCI, but for pure Julia unit tests, that's probably an overkill.
Something like https://github.com/plotly/Dash.jl/blob/dev/.github/workflows/jl_test.yml would be :ok_hand:


fix: myxql type cast of :integer should be signed integer

Currently, the myxql adapter of ecto_sql type casts :integer into unsigned. This seems wrong since integers are signed in ecto. It should cast to signed. This PR fixes it.

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Integrate AutoRound v2.1

Type of Change
feature
Description
modify:
        n_samples -> nsamples
        n_blocks -> nblocks
quant config add:
        act_bits: int = 32,
        act_group_size: int = None,
        act_sym: bool = None,
        act_dynamic: bool = True,

other config:
        multimodal:bool = False,
        use_layer_wise: bool = False, ->  low_cpu_mem_usage: bool = False, (AutoRound repo)

Expected Behavior & Potential Risk
the expected behavior that triggered by this PR
How has this PR been tested?
how to reproduce the test (including hardware information)
Dependency Change?
any library dependency introduced or removed

It is v0.2.1 instead of v2.1


Gold price prediction model enhancements

Integrated technical indicators like RSI, MACD, Bollinger Bands, and Stochastic Oscillator into the existing Gold Price Prediction model to improve accuracy and adaptability to market changes.
Resolves #94

Hi  @Akshat111111 , Please assign labels GSSOC  and level 2 to this PR else it wont update in Leader board as mentioned in latest GSSOC guidelines.


is there any way to use these awesome transitions on non-images?

love love the transitions in your package.. they're the best i've found on Github.. I'd love to be able to apply them on div content? Is there any way to achieve that? Maybe the only way would be to cheat and create an image with the div content dynamically and then apply the transitions to those?
Would love to hear of any tricks to make this possible
Thanks!

Hello and thanks for your kind words!
TLDR, it is possible although requires some implications...
The slider positions and shifts images to ensure proper display by settings the images properties using CSS background style. It is possible to achieve the same using absolute or relative position to the content but the slider is not developed for it.
It has been a while I was thinking about giving this feature to the slider but I wanted to feature the videos first, so instead of just images, any resource could be used.
Currently I'm working on finishing the unit tests and bug fixes, then implement videos and then any other resource, although you can imagine this will take me a while.
If you are really interested, I can give you a hand about how to implement what you want and I will be more than glad to add it in next version.
Regards!

It's very exciting to hear that you plan to add this functionality in the futureu!
I think a small prototype example showing how you can apply the transitions to a simple div containing text could go a long way in getting this new feature going. If you have the time to put together such an example on codepen or simply by replying here then I'm pretty sure I could extrapolate from that and have it work on more complex content
Cheers!

Sorry for the delay, had a tough week at work that didn't allow me to spare much free time for personal projects. But don't worry, I didn't forget about you and I've been thinking on the proposal.
Basically two things should be implemented and for this content there is a caveat. The caveat is that everything should be positioned relative or absolute.
For the implementation we need a kind of content, which can be mixed from libraries, there a class must be defined to realize the size of what have to be displayed. The other implementation should be the component that renders and positions the content, being now the only one FluxImage and so FluxMixed.vue or so should be created.
I'm aware that the slider basis should be updated to contemplate any resource and not only images. Let me know if you need and adaptation of what should be updated in order to have mixed content working, but the most important should be components/FluxMixed.vue and libraries/Mixed.js to display everything.
If you need a base code just let me know and I will create a new branch with the updated base code to give you a better understanding and guide on how to proceed.
Like always, don't feel shy to participate and help creating something amazing.
Cheers!


How to add custom action?

Could you please add or explain where / how to add custom actions to the controls?

like this:

create receiver that implements  MediaSessionConnector.CommandReceiver
connector.registerCustomCommandReceiver
mediaSessionConnection.sendCommand
do something in the method of onCommand(MediaSessionConnector.CommandReceiver)

There's a custom command implemented in the automotive module for handling signing in, with the core implementation of that being in the AutomotiveCommandReceiver class.
Hopefully that helps, otherwise it's probably best to ask on Stack Overflow for more specific guidance.


fix a bug of legend marker color for Scatter plot Viz

This address a bug of custom legend marker color for Scatter plot Viz, #699
Screenshot after fix is attached here, which is the same example shown at #699

Thank you for taking time to review/test this PR in the weekend, @bobular and @jtlong3rd 👍


Add BB docs to automated doc builds

As described here: https://github.com/EOEPCA/roadmap/issues/7

Online Documentation is available at: https://eoepca.readthedocs.io/projects/resource-registration/en/latest/


build: remove java7 as required check

Removes Java7 unit tests as a required check before a PR can be merged. This seems to be necessary before #397 can be merged.

@thiagotnunes I get the impression that we need to merge this before #397, as the other PR will otherwise be waiting forever for the required step units (7) to finish. This change is also included in #397, but I think GitHub is looking at what is required in master and not in the PR.


Dockerizing the app

Docker allows you to package an application with all of its dependencies into a standardized unit, called a container, for software development. A container is a stripped-to-basics version of a Linux operating system. An image is software you load into a container.

I love the idea of using docker. Nice concept!! Thumbs up @felipealfonsog


PR - [chore]: Setup CI/CD automation and 3rd Party Services

Description
Setup CI/CD and test coverage, google, firebase and facebook apps, cloudinary and heroku hosting
Aceptance Criteria

[x] Create Google account for this project
[x] Create google doc for storing credentials
[x] Create app for hosting application and setup teams for collaboration on heroku
[x] Create postgres DB on heroku
[x] Setup Travis CI for continuous testing and deployment
[x] Setup coveralls for test coverage reporting
[x] Create firebase project and web app for authentication
[x] Create facebook app for this project to enable use of facebook login in authentication
[x] Create cloudinary account for this project for hosting images and videos
[x] Add relevant badges for Travis CI and Coveralls test coverage report in README.md
[ ] Setup google maps API integration * (requires billing info)
[x] Fix dummy jest test for initial build to pass on Travis CI

Fixes #11
How has this been tested?
Run npm run test and all tests pass
Additional Notes:
On a successful build application should be accessible at

https://rapidmed-buildforsdg.herokuapp.com
https://rapidmed-buildforsdg.herokuapp.com/api/v1

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added necessary inline code documentation
[x] I have added tests that prove my fix is effective and that this feature works
[x] New and existing unit tests pass locally with my changes

I suggest we skip google maps API for now because of the billing issue. I'd suggest we go forward with Openstreetmaps and related open source utilities. Required functionalities can be achieved at least in the prototype stage

have you created the db and how many people have access to it or is it one person that will be able to be accessing it

@dallintine Thanks for the review. The DB server has been created on heroku, but not not yet populated. However, only those who will be working on the backend, are the ones who actually need access to it. But if you do need access all you need to do is ask


Face recognition doesn't work

Hi there! I'm using Ubuntu on Yoga Slim 7. I've configured my IR camera to blink in red light and it seems to work poperly. The problem is howdy is working worse since then (before fixing my ir camera it worked sometimes, rather poorly but now  it doesn't work at all). When I boot to Windows my ir camera works great and detects my face in few sec or faster.  When using howdy on ubuntu I don't get any error messages, just info that my face wasn't detected.
I've tried:
-Adding a lot of photo samples with and without glasses
-Plaing with configurations, including resolution and other options
-Disabling some lockscreeng safety options as I found in some solutions
Linux distribution (if applicable): 21.10
Howdy version (sudo howdy version): Howdy 2.6.1
My current configuration:
# Howdy config file
# Press CTRL + X to save in the nano editor

[core]
# Print that face detection is being attempted
detection_notice = false

# Do not print anything when a face verification succeeds
no_confirmation = true

# When a user without a known face model tries to use this script, don't
# show an error but fail silently
suppress_unknown = false

# Disable Howdy in remote shells
ignore_ssh = true

# Disable Howdy if lid is closed
ignore_closed_lid = true

# Disable howdy in the PAM
# The howdy command will still function
disabled = false

# Use CNN instead of HOG
# CNN model is much more accurate than the HOG based model, but takes much more
# computational power to run, and is meant to be executed on a GPU to attain reasonable speed.
use_cnn = false

[video]
# The certainty of the detected face belonging to the user of the account
# On a scale from 1 to 10, values above 5 are not recommended
# Lower is better
certainty = 2.8

# The number of seconds to search before timing out
timeout = 4

# The path of the device to capture frames from
# Should be set automatically by an installer if your distro has one
device_path = /dev/video2

# Scale down the video feed to this maximum height
# Speeds up face recognition but can make it less precise
max_height = 480

# Set the camera input profile to this width and height
# The largest profile will be used if set to -1
# Automatically ignored if not a valid profile
frame_width = 848
frame_height = 480

# Because of flashing IR emitters, some frames can be completely unlit
# Skip the frame if the lowest 1/8 of the histogram is above this percentage
# of the total
# The lower this setting is, the more dark frames are ignored
dark_threshold = 50

# The recorder to use. Can be either opencv (default), ffmpeg or pyv4l2.
# Switching from the default opencv to ffmpeg can help with grayscale issues.
recording_plugin = opencv

# Video format used by ffmpeg. Options include vfwcap or v4l2.
# FFMPEG only.
device_format = v4l2

# Force the use of Motion JPEG when decoding frames, fixes issues with YUYV
# raw frame decoding.
# OPENCV only.
force_mjpeg = false

# Specify exposure value explicitly. This disables autoexposure.
# Use qv4l2 to determine an appropriate value.
# OPENCV only.
exposure = -1

[snapshots]
# Capture snapshots of failed login attempts and save them to disk with metadata
# Snapshots are saved to the "snapshots" folder
capture_failed = true

# Do the same as the option above but for successful attempts
capture_successful = true

[debug]
# Show a short but detailed diagnostic report in console
# Enabling this can cause some UI apps to fail, only enable it to debug
end_report = false

Yes it does very fast.
On Fri, 27 May 2022, 15:45 boltgolt, @.***> wrote:

Does sudo howdy test show a circle around your face?
—
Reply to this email directly, view it on GitHub
https://github.com/boltgolt/howdy/issues/674#issuecomment-1139634570,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AV3KVFPKXPW4HZP74BDLBH3VMDGYHANCNFSM5XBWXCDQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Then there's nothing wrong with your setup, your face just does not match the saved models. Try clearing the current models with sudo howdy clear and adding 1 or 2 new ones. I can also see your certainty config value is quite low, try upping that a bit


Save button in "Keys" right panel was break off on IE, Edge and Firefox

Environment URL: https://functions-staging.azure.com
This bug exists on IE, Edge and Firefox. Please refer to the snapshot below.

Known issue, will be solved by #983


use custom runtime

@nbashirbello @briandealwis Any idea what I'm doing wrong here? The classes are not found and as best I can tell that's because the runtimeClasspathProvider is never actually consulted. (I.e. debugger won't stop in its constructor)

The classes are not found and as best I can tell that's because the runtimeClasspathProvider is never actually consulted. (I.e. debugger won't stop in its constructor)

I'm having déja vu…  Trying to remember…

You need to provide an adapter for the runtime-component to IClasspathProvider. The only provided adapter is an internal class org.eclipse.jst.server.core.internal.RuntimeClasspathProvider$Factory.

PTAL @briandealwis
Thanks. The adapter did the trick. This now successfully loads the classes from the custom runtime.
Next things to consider here:

Is there a non-internal factory class we should use in the adapter, or should we write our own?
How to improve the relative path resolution against the cloud SDK. As written I'm not confident this will work on Windows.

Not sure if that should be part of this PR or the next batch of work.

LGTM


Add GetTeamIDByName RPC

cc @buoyad

one caveat - it will be a non-error for non-existing teams, because getting teamid from teamname is just hashing.

What is this for? I don't like unverified rpcs

Changed it to use resolver, and it's not just hashing for root teams now.


[bundle-size] Disable reviewer assignment on draft, WIP, and DNS PRs

Any PR created as a draft, or with "WIP" or "DO NOT SUBMIT" in the title should not have reviewers automatically added.
Mirrors #587

Do we still want to calculate the bundle size?

The actual calculation is done on Travis. I think we should keep it though, devs might still want to know if their wip PR is going to be blocked on bundle-size

SG. I'm going to reassign this back to you, it looks a bit more involved because draft is a preview on the GItHub API and involves extra steps. https://developer.github.com/v3/pulls/#get-a-single-pull-request


SVG text is misaligned in Firefox and IE

This is likely out of scope of the project as I'm using the SVGs directly, but just an FYI, text is top-aligned on Firefox and IE (see screenshot below).
The fix appears to be using dominant-baseline="central" instead of alignment-baseline"central". I have not yet tested this on IE, but this SO question may prove useful for others who stumble upon this in the future.
Thanks for creating this project 👊

Hi @chadokruse,
Thanks for reporting this and glad that you like the project!
Would you like to submit a PR with this fix provided it does not alter the intended behavior of the package? 👍

While changing alignment-baseline="central" to dominant-baseline="central" fixes things on Firefox, good 'ol IE appears to require an ugly hack using dy:
<text x="255" y="255" dy="0.35em" text-anchor="middle" fill="#fff"...</text>
Happy to send over a PR to adjust the SVGs, but it's starting to feel a bit out of scope? The real fix seems to simply use the PNGs instead of SVGs for cross-browser compatibility.

Original - works on Webkit browsers
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="532" height="532" viewBox="0 0 512 512">
    <circle cx="255" cy="255" r="230" fill="#00bfa5" />
    <text x="255" y="246" alignment-baseline="central" text-anchor="middle" fill="#fff" font-size="275" font-weight="100" font-family="Roboto">0</text>
</svg>

Adjusted - works on Webkit + Firefox
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="532" height="532" viewBox="0 0 512 512">
    <circle cx="255" cy="255" r="230" fill="#00bfa5" />
    <text x="255" y="246" dominant-baseline="central" text-anchor="middle" fill="#fff" font-size="275" font-weight="100" font-family="Roboto">0</text>
</svg>

Hack - works on all browsers
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="532" height="532" viewBox="0 0 512 512">
    <circle cx="255" cy="255" r="230" fill="#00bfa5" />
    <text x="255" y="255" dy="0.35em" text-anchor="middle" fill="#fff" font-size="275" font-weight="100" font-family="Roboto">0</text>
</svg>

The icons are pre-generated in .png format within the dist/ directory:
https://github.com/eladnava/material-letter-icons/tree/master/dist/png
Does that help?

Thanks @eladnava, I'm all good so closing this issue.


[BUG] ERROR:    Exception in ASGI application with  openai_api.py

是否已有关于该错误的issue或讨论？ | Is there an existing issue / discussion for this?

[X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答？ | Is there an existing answer for this in FAQ?

[X] 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior
Loading checkpoint shards: 100% 3/3 [00:26<00:00,  8.91s/it]
INFO:     Started server process [8872]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:8000/ (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:0 - "GET / HTTP/1.1" 404 Not Found
INFO:     <IP_ADDRESS>:0 - "GET /docs HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:0 - "GET /openapi.json HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:0 - "GET /v1/models HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:0 - "POST /v1/chat/completions HTTP/1.1" 200 OK
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/usr/local/lib/python3.10/dist-packages/fastapi/middleware/asyncexitstack.py", line 20, in call
raise e
File "/usr/local/lib/python3.10/dist-packages/fastapi/middleware/asyncexitstack.py", line 17, in call
await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 69, in app
await response(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/sse_starlette/sse.py", line 233, in call
async with anyio.create_task_group() as task_group:
File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 597, in aexit
raise exceptions[0]
File "/usr/local/lib/python3.10/dist-packages/sse_starlette/sse.py", line 236, in wrap
await func()
File "/usr/local/lib/python3.10/dist-packages/sse_starlette/sse.py", line 221, in stream_response
async for data in self.body_iterator:
File "/content/Qwen/openai_api.py", line 436, in predict
raise HTTPException(
fastapi.exceptions.HTTPException
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/h11_impl.py", line 408, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "/usr/local/lib/python3.10/dist-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
return await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/fastapi/applications.py", line 292, in call
await super().call(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 184, in call
raise exc
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 162, in call
await self.app(scope, receive, _send)
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 83, in call
await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 83, in call
raise RuntimeError(msg) from exc
RuntimeError: Caught handled exception, but response already started.
期望行为 | Expected Behavior
No response
复现方法 | Steps To Reproduce
No response
运行环境 | Environment
- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`):

备注 | Anything else?
No response

确定一下几个相关包是不是都按照版本要求安装或者安装最新的吧


[request] debian and fedora repositories.

Hi. I recently installed the Franz client and it's quite a nice application but I would like if a debian/ubuntu and a fedora repositories were set up so that installing and updating could be handled from the app store and update manager.

Duplicate of #647


websocket not working

Hello
I've got a working instance of grist running with the following docker-compose.
It is running be hing an apache Server with a reverse proxy.
Everything is working but when I create a new document it looses the connection with the websocket.
The error says: "connection lost, attempting to reconnect"
I wonder where does the websocket is. Normally you would have an url prefix like /websocket/...
This would be the websocket conf:
RewriteEngine on
RewriteCond ${HTTP:Upgrade} websocket [NC]
RewriteCond ${HTTP:Connection} upgrade [NC]
RewriteRule .* "wss:/localhost:11080/$1" [P,L]

Docker-compose:
version: "3"

services:
  grist:
    image: gristlabs/grist
    container_name: grist
    restart: unless-stopped
    ports:
      - "11080:80"
    volumes:
      - persist:/persist
    environment:
      - DEBUG=1
      - PORT=80
      - APP_DOC_URL=https://grist.domain.tld
      - APP_HOME_URL=https://grist.domain.tld
      - GRIST_SINGLE_ORG=docs
      - GRIST_ORG_IN_PATH=true
      - GRIST_DOMAIN=grist.domain.tld
      -<EMAIL_ADDRESS>

volumes:
  persist:

Reverse proxy.
ProxyPreserveHost On
ProxyRequests off
ProxyPass / http://localhost:11080/
ProxyPassReverse / http://localhost:11080/
RequestHeader set X-Forwarded-Proto https

nevermind, got it working
this is the websocket in case anyone needs it:
RewriteEngine on
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC]
RewriteRule ^/?(.*) "ws://localhost:11080/$1" [P,L]


Contact mechanics and "developer" documentation

Good morning,
I'm interested in MFEM to resolve mechanical problems with FE method.
If I well understood there is nothing in the last versions to solve contact problems but I saw on issue #1509 that some people are currently working on it. Thus what kind of method do you plan to develop in MFEM to treat contact ?
I read some documentations about MFEM but it looks for me "users" oriented, do you have some documentation (other than doxygen) for people who want to develop new features ?
Thanks in advance

The work on contact in MFEM is still in very early stages. One example of the kind of thing we're looking at is mortar methods, but we are hoping to implement contact on the linear algebra level rather than the finite element level. That is, whatever contact formulation the user has they will be responsible for implementing, but the constrained linear system that results will be our responsibility to solve efficiently.
Does that answer your question?

Thanks for the response. You clearly answered my first question.
What about the second one ? Do you use only doxygen as documentation ? Or maybe you have an unofficial one just for people developing in MFEM ?
I think if you don't have it, it would help people who want to contribute to the code.

Hi @jfauque,
In addition to the Doxygen documentation of the code, we also have some developer-oriented description in https://github.com/mfem/mfem/blob/master/CONTRIBUTING.md. A good place to start is to review what is available in the examples and miniapps.
If you are interested in developing new features, I will suggest that you open an issues where we can discuss what you are trying to achieve and what is the best design for that.  Some finite element documentation is also available on this page: https://mfem.org/fem/ and the pages it links to.
Finally, there is also this paper: https://arxiv.org/abs/1911.09220, which provides a broad overview of the library.
Hope this helps,
Tzanio

Thank you very much to both of you for your reactivity.


CLI Exception: System.InvalidOperationException: Could not find color or style ''

Hi
I get error when I try to run dotnet run -- marten-assert CLI command on the AspNetCoreWithMarten project in the Marten solution
Database 'Marten' does not match the configuration!
ERROR: System.InvalidOperationException: Could not find color or style ''.
   at Spectre.Console.StyleParser.Parse(String text) in /_/src/Spectre.Console/StyleParser.cs:line 13
   at Spectre.Console.MarkupParser.Parse(St
ring text, Style style) in /_/src/Spectre.Console/Internal/Text/Markup/MarkupParser.cs:line 26
   at Spectre.Console.AnsiConsoleExtensions.Markup(IAnsiConsole console, String value) in /_/src/Spectre.Console/Extensions/An
siConsoleExtensions.Markup.cs:line 41
   at Spectre.Console.AnsiConsoleExtensions.MarkupLine(IAnsiConsole console, String value) in /_/src/Spectre.Console/Extensions/AnsiConsoleExtensions.Markup.cs:line 62
   at Spectre.
Console.AnsiConsole.MarkupLine(String value) in /_/src/Spectre.Console/AnsiConsole.Markup.cs:line 46
   at Weasel.CommandLine.AssertCommand.Execute(WeaselInput input)
   at Oakton.CommandExecutor.execute(CommandRun run)

@AlexSuprunQuali Do you by chance have brackets "[" or "]" in your database or schema names? Is that even possible?

@AlexSuprunQuali Do you by chance have brackets "[" or "]" in your database or schema names? Is that even possible?

No, I don't brackets

I'm making some changes to Weasel's usage of Spectre that might/should/maybe address whatever the underlying problem was here.

I'm saying that #2381 deals with the Spectre problem

@jeremydmiller Do you plan to release a new nuget for Marten.CommandLine?


Enhancement: Ability to suppress version output

The new version output can be useful but also generates noise in the output when running individual commands. Maybe an environment variable to suppress it? or can I adjust logging level to just show me actual changes made?
*** Create Orgs ***
2019/02/28 12:54:17 I0228 12:54:17.373102 24960 initialize.go:50] Using version v1.0.21-650c650cbbf015974c4ef143f77c4ff339386bee of cf-mgmt
*** Create Org Owned Domains ***
2019/02/28 12:54:17 I0228 12:54:17.474454 24964 initialize.go:50] Using version v1.0.21-650c650cbbf015974c4ef143f77c4ff339386bee of cf-mgmt
*** Share Org Owned Domains ***
2019/02/28 12:54:17 I0228 12:54:17.626017 24969 initialize.go:50] Using version v1.0.21-650c650cbbf015974c4ef143f77c4ff339386bee of cf-mgmt
*** Update Org Quotas ***
2019/02/28 12:54:17 I0228 12:54:17.766553 24973 initialize.go:50] Using version v1.0.21-650c650cbbf015974c4ef143f77c4ff339386bee of cf-mgmt

https://github.com/pivotalservices/cf-mgmt/releases/tag/v1.0.22


UML-452: Added a token expiry information page. Feature tests to be d…

…one as part of UML380

Coverage remained the same at 74.812% when pulling 997c93d15cca637a714709d6111c21de6fd577d1 on UML-452-Actor-Token-Expiry-Page into 5a66564bec209edad680c2a2ee04688f7d64bd86 on master.


How to use dep with private repos?

How to install dependency from the private repository with a self-signed certificate? The gitlab isn't available by http, https is self-signed, and we can't change it or its settings - it belongs to another company, we just work in this repo temporarily.
What version of dep are you using (dep version)?
dep:
 version     : v0.4.1
 build date  : 2018-01-27
 git hash    : 37d9ea0
 go version  : go1.9.3
 go compiler : gc
 platform    : darwin/amd64

What dep command did you run?
dep ensure -v -add gitlab.example.com:example/example
What did you expect to see?
Installing my dependency.
What did you see instead?
The error:
Fetching sources...
(1/1) gitlab.example.com:example/example

Failed to add the dependencies:

  ✗ could not infer project root from dependency path: gitlab.example.com: unable to deduce repository and source type or "gitlab.example.com": unable to read metadata: unable to fetch raw metadata: failed HTTP request to URL "http://gitlab.example.com?go-get=1": Get https://gitlab.example.com:443/?go-get=1: x509: certificate signed by unknown authority

adding dependencies failed

Have you tried with the .vcs suffix? In your case: gitlab.example.com:port/example.git

The same thing.
And I think, I misunderstood the reason. I thought that the problem is in "private repo", but it's in fact that repo isn't available by http. It's only available by https with self-signed certificate and dep doesn't provide the ability to disable security checks.

@mgtest42 you should add the signing CA to your system's list of root CAs. If you're not comfortable with that, you should add just that certificate as being trusted in your system's certificate store. I think then dep should be able to trust it.

For anyone reading this, you can specify a directory which contains your certificate(s), or even just the file itself: https://golang.org/pkg/crypto/x509/
SSL_CERT_FILE=/path/to/x509_encoded_cert_file dep ensure
SSL_CERT_DIR=/path/to/dir/ dep ensure

Other relevant links: https://github.com/golang/go/issues/14310


License logos

Some licenses have own logos, sometimes official, sometimes nonofficial ones. So I propose to use them. They may meed to be modified to use here. Here is the list:

GNU
WTFPL
CC (some other logos from that page can be useful to describe licenses traits)
For Apache I guess a feather should be ok (not necessiarely the one used in Apache foundation logo).
For MIT you should ask the institute if we can use their logos for marking the licenses having the same name
For BSD I think it'd be fine to use devil emoji with a number of clauses
Open Font License
OdbL doesn't seem to have own logo, but it has some icons which may be helpful.

Also alongside with colors it'd be nice to have generic logos for licenses.

☠ - for the proprietary ones
☣ - for the viral ones
mirrored copyright sign - for the copyleft ones
striked copyright sign - for public domain ones

Per #2510 we won't be adding more icons directly here.
The best place to make this request would be in simple-icons. Based on a quick check, most of these don't yet exist there.


actualWidth/Height -> virtualWidth/Height

Thanks for your game!
On JS or mac with retina screens this caused the game to not be playable.
In future versions of KorGE we will hide the actualWidth and variants to try to avoid this kind of confusions.

Thank you for fix!
Send me issues about other platforms becouse I testing only on Windows


[1.16.4] dupe bug wooden shears

forge = 35.1.4
wooden utilities = <IP_ADDRESS>.16.4
if you craft 2 damaged wooden shears together it takes 1 durability off of the 2 shears you put in the crafting grid plus outputs 1 slightly less damaged wooden shear.

stonks 💯


FCM APN silent notification background issue on iPhone 7 with iOS 11.2.6 but works on iPhone 5 with iOS 10.3.3

Hi, I have a problem for which the app does not get silent push notifications in background and only works in foreground if I put shouldEstablishDirectChannel to true.
I have this issue only on iOS 11.2.6(iPhone7), works on iOS 10.3.3 (iPhone5), I searched and tried everything without result and this is my last option, I hope you can help me.
Pod files:
Using Firebase (4.5.0)
Using FirebaseAnalytics (4.0.4)
Using FirebaseCore (4.0.10)
Using FirebaseInstanceID (2.0.5)
Using FirebaseMessaging (2.0.6)
App Delegate
import UIKit
import SharkORM
import UserNotifications
import Firebase

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate, SRKDelegate {

    var window: UIWindow?

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        //Firebase
        UNUserNotificationCenter.current().delegate = self

        FirebaseApp.configure()
        Messaging.messaging().delegate = self
        //Messaging.messaging().shouldEstablishDirectChannel = true

        // Register for remote notifications. This shows a permission dialog on first run, to
        // show the dialog at a more appropriate time move this registration accordingly.
        // [START register_for_notifications]
        if #available(iOS 10.0, *) {
            // For iOS 10 display notification (sent via APNS)
            UNUserNotificationCenter.current().delegate = self

            let authOptions: UNAuthorizationOptions = [.alert, .badge, .sound]
            UNUserNotificationCenter.current().requestAuthorization(
                options: authOptions,
                completionHandler: {_, _ in })
        } else {
            let settings: UIUserNotificationSettings =
                UIUserNotificationSettings(types: [.alert, .badge, .sound], categories: nil)
            application.registerUserNotificationSettings(settings)
        }

        application.registerForRemoteNotifications()

        return true
    }

    // Support for background fetch
    func application(_ application: UIApplication, performFetchWithCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
        debugPrint("Background fetch called")
        completionHandler(.newData)
    }

    func applicationWillResignActive(_ application: UIApplication) {
        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
        // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
    }

    func applicationDidEnterBackground(_ application: UIApplication) {
        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
        debugPrint("applicationDidEnterBackground")
    }

    func applicationWillEnterForeground(_ application: UIApplication) {
        // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
        debugPrint("applicationWillEnterForeground")
    }

    func applicationDidBecomeActive(_ application: UIApplication) {
        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
    }

    func applicationWillTerminate(_ application: UIApplication) {
        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
    }

    // UNUserNotificationCenterDelegate methods:

    // [START receive_message]
    func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable: Any]) {
        // If you are receiving a notification message while your app is in the background,
        // this callback will not be fired till the user taps on the notification launching the application.
        // TODO: Handle data of notification
        // With swizzling disabled you must let Messaging know about the message, for Analytics
        // Messaging.messaging().appDidReceiveMessage(userInfo)
        // Print message ID.
        if let messageID = userInfo["gcm.message_id"] {
            print("NOTIFICATION/PUSH - Message ID: \(messageID)")
        }

        // Print full message.
        print("NOTIFICATION/PUSH - didReceiveRemoteNotification: \(userInfo)")
    }

    func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable: Any],
                     fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
        // If you are receiving a notification message while your app is in the background,
        // this callback will not be fired till the user taps on the notification launching the application.
        // TODO: Handle data of notification
        // With swizzling disabled you must let Messaging know about the message, for Analytics
        // Messaging.messaging().appDidReceiveMessage(userInfo)
        // Print message ID.
        if let messageID = userInfo["gcm.message_id"] {
            print("NOTIFICATION/PUSH - Message ID: \(messageID)")
        }

        // Print full message.
        print("NOTIFICATION/PUSH - didReceiveRemoteNotification withCompletion: \(userInfo.description)")
        print("NOTIFICATION/PUSH - didReceiveRemoteNotification withCompletion userID: \(String(describing: userInfo["user_id"]))")

        completionHandler(UIBackgroundFetchResult.newData)
    }
    // [END receive_message]

    func application(_ application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: Error) {
        print("NOTIFICATION/PUSH - Unable to register for remote notifications: \(error.localizedDescription)")
    }

    func application(_ application: UIApplication,
                     didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
        var readableToken: String = ""
        for i in 0..<deviceToken.count {
            readableToken += String(format: "%02.2hhx", deviceToken[i] as CVarArg)
        }
        Messaging.messaging().apnsToken = deviceToken
        print("NOTIFICATION/PUSH - Received an APNs device token: \(readableToken)")
    }

}

// [START ios_10_message_handling]
@available(iOS 10, *)
extension AppDelegate : UNUserNotificationCenterDelegate {

    func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {

        let userInfo = notification.request.content.userInfo
        print("NOTIFICATION/PUSH - UNUserNotificationCenterDelegate willPresent: \(userInfo)")

        completionHandler([.alert, .sound])

        UIApplication.shared.applicationIconBadgeNumber = 0
    }

    func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {

        let userInfo = response.notification.request.content.userInfo
        print("NOTIFICATION/PUSH - UNUserNotificationCenterDelegate didReceive: \(userInfo)")

        completionHandler()
    }
}
// [END ios_10_message_handling]

extension AppDelegate : MessagingDelegate {
    // [START refresh_token]
    func messaging(_ messaging: Messaging, didReceiveRegistrationToken fcmToken: String) {
        print("NOTIFICATION/PUSH - MessagingDelegate didReceiveRegistrationToken FCM: \(fcmToken)")

        // TODO: If necessary send token to application server.
        // Note: This callback is fired at each app startup and whenever a new token is generated.
    }
    // [END refresh_token]
    // [START ios_10_data_message]
    // Receive data messages on iOS 10+ directly from FCM (bypassing APNs) when the app is in the foreground.
    // To enable direct data messages, you can set Messaging.messaging().shouldEstablishDirectChannel to true.
    func messaging(_ messaging: Messaging, didReceive remoteMessage: MessagingRemoteMessage) {
        print("NOTIFICATION/PUSH - MessagingDelegate didReceive: \(remoteMessage.appData)")
    }
    // [END ios_10_data_message]
}

Request
curl -X POST --header "Authorization: key=[MYKEY]" --Header "Content-Type: application/json" https://fcm.googleapis.com/fcm/send  -d '{"to":"[MYFCMTOKEN]", "data":{"XXX":"YYY"}, "priority":"high", "content_available":true}'

Are you able to receive non-silent push notifications in the background by sending through console to all users?
How are you handling FCM token refresh?

Hello morgan, thank you for answering.
Yes, if I add the notification key-value I can receive push notifications on iPhone 7.
This is the new request:
curl -X POST --header "Authorization: key=[MYKEY]" --Header "Content-Type: application/json" https://fcm.googleapis.com/fcm/send  -d '{"to":"[MYFCMTOKEN]", "notification":{"body":"XXX","title":"YYY"},"data":{"XXX":"YYY"}, "priority":"high", "content_available":true}'
I get the token in another part of the application where I synchronize useful information of the application, and the event didReceiveRegistrationToken calls the synchronizer.
Example:
import UIKit
import Firebase
class XXX: YYY {
    func getInfo() -> Info {
        let info = Info()
        //another info
        info.fcmToken = Messaging.messaging().fcmToken
        return info
    }
}

Fixed, after 24h the silent push notifications work.
I expose the reason for my issue in case someone else is affected.
The problem was that the iPhone 7 had reached the energy limit and needed to allow some time until the budget was reset
The url that I used to know the problem is this
https://developer.apple.com/library/content/technotes/tn2265/_index.html#//apple_ref/doc/uid/DTS40010376-CH1-TNTAG23
Thanks for the help and I hope this helps future problems


ps: UNKNOWN version reported by ps

Issue description
nix-shell -I nixpkgs=channel:nixos-unstable -p procps --run 'ps --version'
returns
ps from procps-ng UNKNOWN

duplicate of #39538 , fix is in staging and will move to master in due course.


Can I cut the video to milliseconds?

For example, I want to cut video 0-2.5 seconds

@dengyuhan Hello, Were you able you do that cutting using this library? If not by this, pls tell me how did you achieve this? I'm currently using ffmpeg to cut sections of a video, but I'm having audio and video sync issues.

@sanketthecoder I do not know how to use this library to achieve millisecond level of cutting, so I use ffmpeg command line to achieve

@dengyuhan I tried to do it with ffmpeg, but the issue is, when I try to cut the video from somewhere middle, the audio and video are not in sync. And this is without re-encoding (faster). But anyways if I do it with re-encoding ( slowww..) it's working fine.. So can you pls help me how to achieve a perfect trimmed video which worked from you. My actual goal is to cut the video into small sections of 27 secs, which I tried to do with ffmpeg segment command, but then the trimmed parts are not exactly of 27 secs, their duration fluctuates, which is not the goal. And so for this reason I'm running the normal ffmpeg command multiple times on the same file.. So see if you can help me out.. Thank You .

@sanketthecoder
This is my command line
ffmpeg -ss 00:00:00 -t 00:00:30 -i test.mp4 -vcodec copy -acodec copy output.mp4

So you don't get any audio and video sync issues with this particular order, when we cut a section in between the video?

I do not seem to have the problem you said

That's cool.. Gotta try this, I'll let you know once I try this.. Thank you for your time and help.. Happy coding.. 😊


Waypoint missing instructions

Object Oriented Waypoints, and many other http://www.freecodecamp.com/challenges/waypoint-condense-arrays-with-reduce are missing the instructions,
I (as 99% of all other campers that completed it) am just deducing the instructions from the 'assert test error messages'. But, thinking on behalf of future campers, I'm just letting you know (and I believe you already do).

Closing as duplicate of #2723
Please see https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/Searching-for-Your-Issue-on-Github

I am not sure if this was fixed.  It is not a matter of the tests disappearing, but rather this waypoint description just being incomplete.  This description in this waypoint is just an example of reduce, but does not tell the user what the task at hand is.  It would be helpful to add at the end of the description something like "Use the reduce function to condense the array and store the result in singleVal variable"


Dedicated vNIC for iSCSI

Can we use dedicated vNIC(s) for iSCSI rather than the default vNIC to separate storage traffic and data traffic?

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

ID: dbda96b7-f21d-f350-b887-e13b9125d4d1
Version Independent ID: cc717953-6370-7f6d-56f3-88b4934d5f99
Content: How to connect to iSCSI storage with Azure Stack Hub - Azure Stack Hub
Content Source: azure-stack/user/azure-stack-network-howto-iscsi-storage.md
Service: azure-stack
GitHub Login: @mattbriggs
Microsoft Alias: mabrigg

@imamadi Thank you for your query, our team will further look into it and get back to you at the earliest.

@imamadi I am reaching out for an answer on this one, I will update you as soon as I am able.

@imamadi This is possible, and you can find steps to add them here.
Please let me know if you need any additional information

@TravisCragg-MSFT  Thanks!

@imamadi We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


lina : aaa_admin_authenticate

Hello,
what that message
[lina] Error: can't find aaa_admin_authenticate, you need to add symbol with asafw first
relates to ?
Regards

aaa_admin_authenticate is a symbol of lina that you need to have defined in the asadb.json for lina.py to be able to patch lina. It is because we use this address to store our own code to store the debug shell.
You can define it manually after reversing your lina or use https://github.com/nccgroup/idahunt to automate finding it.
You may be interested in the following IDA Python scripts: https://github.com/nccgroup/asadbg/blob/master/asadbg_rename.py and https://github.com/nccgroup/asadbg/blob/master/asadbg_hunt.py that will respectively define aaa_admin_authenticate and update your asadb.json for your version of lina.

Additionally, there are some instructions in tutorial.md.


Deferred example crashes on windows with D3D 11

Backtrace:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: DescriptorInit(VertexImport("a_Pos", None))', ../src/libcore\result.rs:799
stack backtrace:
   0:     0x7ff6895c7814 - <std::io::error::ErrorKind as core::fmt::Debug>::fmt::h84f2c20f56ab6db2
   1:     0x7ff6895c5d53 - std::rt::lang_start::h14cbded5fe3cd915
   2:     0x7ff6895c66bd - std::panicking::rust_panic_with_hook::hcd9d05f53fa0dafc
   3:     0x7ff6895c6556 - std::panicking::begin_panic_fmt::hb0a7126ee57cdd27
   4:     0x7ff6895c6474 - std::panicking::begin_panic_fmt::hb0a7126ee57cdd27
   5:     0x7ff6895c640b - rust_begin_unwind
   6:     0x7ff6895d0255 - core::panicking::panic_fmt::h9af671b78898cdba
   7:     0x7ff68944c873 - core::result::unwrap_failed<gfx::factory::PipelineStateError<collections::string::String>>
                        at C:\bot\slave\nightly-dist-rustc-win-msvc-64\build\src\libcore\macros.rs:29
   8:     0x7ff689445739 - core::result::Result<gfx::pso::PipelineState<gfx_device_dx11::Resources, deferred::emitter::Meta>, gfx::factory::PipelineStateError<collections::string::String>>::unwrap<gfx::pso::PipelineState<gfx_device_dx11::Resources, deferred::emitter::Meta>,gfx::factory::PipelineStateError<collections::string::String>>
                        at C:\bot\slave\nightly-dist-rustc-win-msvc-64\build\src\libcore\result.rs:737
   9:     0x7ff68946b7f2 - deferred::{{impl}}::new<gfx_device_dx11::Resources,gfx_device_dx11::factory::Factory>
                        at C:\Users\diggs\workspace\gfx\examples\deferred\main.rs:326
  10:     0x7ff689432217 - gfx_app::{{impl}}::new<gfx_device_dx11::Resources,gfx_device_dx11::command::CommandBuffer<gfx_device_dx11::DeferredContext>,deferred::App<gfx_device_dx11::Resources>,gfx_device_dx11::factory::Factory>
                        at C:\Users\diggs\workspace\gfx\src\lib.rs:167
  11:     0x7ff6894431a8 - gfx_app::{{impl}}::launch<gfx_app::Wrap<gfx_device_dx11::Resources, gfx_device_dx11::command::CommandBuffer<gfx_device_dx11::DeferredContext>, deferred::App<gfx_device_dx11::Resources>>>
                        at C:\Users\diggs\workspace\gfx\src\lib.rs:268
  12:     0x7ff689460331 - gfx_app::Application::launch_default<deferred::App<gfx_device_dx11::Resources>,gfx_device_dx11::Resources>
                        at C:\Users\diggs\workspace\gfx\src\lib.rs:117
  13:     0x7ff68946f85c - deferred::main
                        at C:\Users\diggs\workspace\gfx\examples\deferred\main.rs:567
  14:     0x7ff6895c9ce1 - _rust_maybe_catch_panic
  15:     0x7ff6895c578a - std::rt::lang_start::h14cbded5fe3cd915
  16:     0x7ff689493179 - main
  17:     0x7ff6895d5b67 - __scrt_common_main_seh
                        at f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264
  18:     0x7ff957008363 - BaseThreadInitThunk
error: process didn't exit successfully: `target\debug\examples\deferred.exe test` (exit code: 101)

I was able to run the application successfully with opengl. The cube and other examples ran fine under D3D 11.

Thanks for the report! Looks like the shader reflection is failing to find a_Pos attribute.

Actually, it doesn't make sense. The relevant PSO is blit, and it doesn't use a_Pos, and neither the shader has it.

The *.fx shader files for the deferred example are outdated and need to be rebuilt. I'm going to setup a PR.


Application::share() removed in Laravel 5.4 - Breaks Package

TwitterServiceProvider.php on line 70
Upgrading to Laravel 5.4 breaks current package as the deprecated share() method has been removed.
$this->app[Twitter::class] = $this->app->share(function($app)
{
     return new Twitter($app['config'], $app['session.store']);
});

https://laravel.com/docs/5.4/upgrade
The share method has been removed from the container. This was a legacy method that has not been documented in several years. If you are using this method, you should begin using the singleton method instead:
$container->singleton('foo', function () {
    return 'foo';
});

Replace:
$this->app[Twitter::class] = $this->app->share(function($app) 		{ 			return new Twitter($app['config'], $app['session.store']); 		});
With:
 $this->app->singleton(Twitter::class, function ($app) {             return new Twitter($app['config'], $app['session.store']);         });

Same issue here

Remove this code in file vendor\thujohn\twitter\src\Thujohn\Twitter\TwitterServiceProvider.php on line 70
$this->app[Twitter::class] = $this->app->share(function($app)
{
     return new Twitter($app['config'], $app['session.store']);
});

Add this code
$this->app->singleton(Twitter::class, function ($app) {
     return new Twitter($app['config'], $app['session.store']);
});

https://github.com/thujohn/twitter/pull/170

Closing this due to inactivity. Please let me know if you are still having an issue and i'll reopen.


Fix nil api conn

@mrichmon you can add -args --v=100 at the end of the k8s test command and see what's the request/response from api server
go test -v -tags k8s -race -bench=. -run 'TestK8sIntegration' ./test -args --v=100

Thank you for providing a fresh set of eyes to fix my stupid mistake. ;)


Add support for "number of corpses consumed recently" in Configuration (for Necromancer)

The Necromancer's Spirit Eater node grants "2% increased Attack and Cast Speed for each corpse consumed recently".  Please let me define how many corpses I consume per 4 seconds in the Configuration tab.

Thanks!


Log errors from "main scope"

We had a hard time debugging certain errors as the cln logs only reported plugin-peerswap-plugin: Killing plugin: exited during normal operation. The reason for this was that the errors could not be passed to the cln log as the errors escaped the scope that handled the json rpc connection and messaging to core lightning.
This PR adds logs to errors that are thrown in the run() routine. Therefore we add a wrapper around run() that initializes the plugin and can use the json rpc interface to log an error that is thrown by peerswap.

I am going to merge this now even if it is not reviewed as this is super helpful for debugging and does not touch any api or config, but just the way we start up peerswap internally.


Signing in

hello, after signing in with google it goes on for loading, loading animation goes on forever

You have to add SHA1 certificate in firebase console for the particular app.


Does the TreiberStack algorithm contain a specific race condition?

Hey there,
quick question here: I'm researching what crossbeam has to offer. On TreiberStack I'm finding that Wikipedia says that there is an issue with correctness here, quoting Link:

The Treiber stack is a classical example of an incorrect solution. It suffers from the ABA problem. When a process is about to remove an element from the stack (just before the compare and set in the pop routine below) another process can change the stack such that the head is the same, but the second element is different. The compare and swap will set the head of the stack to the old second element in the stack mixing up the complete data structure.

Could someone shed some light on this (potential) issue? Is the Wikipedia entry simply incomplete for not mentioning ways in which actual implementations of the algorithm successfully work around this and thus do in fact produce correct results?
I did find a bit more info on this in Aaron's blog here: https://aturon.github.io/blog/2015/08/27/epoch/#lock-free-data-structures
To me the bit about not freeing Nodes (immediately) seems to coincide with what WP says about the correctness issue (especially on the page about the ABA problem), and as such I might reason that maybe this is the missing piece and why the algorithm is correct in this implementation after all. But I'd be guessing at this point and would have to actually read the source code and do the critical thinking before forming an actual understanding of what's going on.
Lazy (or otherwise-busy) as I am I thought I'd ask about this, seeing as the same question might pop up for other somewhat-diligent crossbeam users and so having a piece of public info on this would be great :)
Cheers & thanks!

The epoch mechanism ensures this: After you enter an epoch and before you exit it, any node that is reachable within the stack will not be freed.
In other words, ABA can't happen.
Treiber stack suffers from ABA only if you don't protect it with a memory reclamation mechanism. Some methods of lock-free memory reclamation are:

read copy update
epochs
tagged hazard pointers
pass the buck
drop the anchor
differential reference counting

I suggest looking up those terms on the internet - there's plenty of good articles.
Hope that helps! :)

Excellent! Thanks for confirming & further elucidating!


fix tests

Updated repo in package.json
Added tests from readme examples.
Removed colverage limits

Thanks much! I always struggle figuring out the framework/boilerplate stuff.


Vitis AI Execution Provider- ONNX runtime inference error

`
import onnnxruntime
session = onnxruntime.InferenceSession(
'[model_file].onnx',
providers=["VitisAIExecutionProvider"],
provider_options=[{"config_file":"/etc/vaip_config.json"}])
`
os images : ubuntu 22.04
vitis version: v2.5
error
UserWarning: Specified provider 'VitisAIExecutionProvider' is not in available provider names.Available providers: 'CPUExecutionProvider'

@farah-rostom98 Are you trying to run the model on your PC or on a target board?  It almost appears to me that you are attempting to run it on your PC, which to me implies your target may be Alveo.  Vitis AI ONNX Runtime support was first released with Vitis AI 3.0 and supports Edge targets and not Alveo.  The first release of the Vitis AI ONNX model Quantizer was v3.5 of Vitis AI.  There is some historic Alveo ONNX Runtime support which may still be functional with Alveo, but which hasn't been tested with more recent versions of Vitis AI.
Perhaps tell us more about what you are trying to do.  You quantized an ONNX model.  To what target do you want to deploy that model, and with what release of Vitis AI?

No I’m running it on kv260 board using the provided os image for Ubuntu 22.04 and it has vitis AI version 2.5
Get Outlook for iOShttps://aka.ms/o0ukef

From: Quenton Hall @.>
Sent: Thursday, August 31, 2023 12:19:30 AM
To: Xilinx/Vitis-AI @.>
Cc: Farah Rostom @.>; Mention @.>
Subject: Re: [Xilinx/Vitis-AI] Vitis AI Execution Provider- ONNX runtime inference error (Issue #1326)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
@farah-rostom98https://github.com/farah-rostom98 Are you trying to run the model on your PC or on a target board? It almost appears to me that you are attempting to run it on your PC, which to me implies your target may be Alveo. Vitis AI ONNX Runtime support was first released with Vitis AI 3.0 and supports Edge targets and not Alveo. The first release of the Vitis AI ONNX model Quantizer was v3.5 of Vitis AI. There is some historic Alveo ONNX Runtime support which may still be functional with Alveo, but which hasn't been tested with more recent versions of Vitis AI.
Perhaps tell us more about what you are trying to do. You quantized an ONNX model. To what target do you want to deploy that model, and with what release of Vitis AI?
—
Reply to this email directly, view it on GitHubhttps://github.com/Xilinx/Vitis-AI/issues/1326#issuecomment-1699857665, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7EACHVTJ5JAMEMY26KM2OTXX6U6FANCNFSM6AAAAAA4FCOTEI.
You are receiving this because you were mentioned.Message ID: @.***>
CONFIDENTIALITY NOTICE: This e-mail transmission (and/or the attachments accompanying it) may contain confidential information belonging to the sender. The information is intended only for the use of the intended recipient. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of this information is strictly prohibited. Any unauthorized interception of this transmission is illegal under the law. If you have received this transmission in error, please promptly notify the sender by reply e-mail, and then destroy all copies of the transmission.

@farah-rostom98 Right, that makes sense....Ubuntu + VAI2.5.
Officially the Vitis AI 3.0 VOE (ORT) package has been tested on the Vitis AI 3.0 pre-built board images.  There does exist a board image for the KV260 in 3.0 (different than the Ubuntu board image that you are working with).  I cannot say offhand what will happen if you attempt to deploy our VOE package on a Vitis AI 2.5 image.  The KV260 image that I refer to is linked in Step 2 of this section of the docs.


Losing filled data when screen rotate

Summary:
In signup  form filled information is lossed when screen is rotated
Steps to reproduce:
Go to Login activity
click on signup
Fill signup  form  then rotated the screen
What did you expect the app to do, and what did you see instead?
In signup  form filled information is not lossed when screen is rotated
Device and Android version:
Device :Redmi Y3;
Screen-shots:

Would you like to work on the issue?
Yes
Please let us know whether you want to fix the issue by yourself. If not, anyone can get the issue assigned to them.
i want to fix this issue

i am working on this issue

I want to work on this issue
assigned me

It is yours, thanks! Please let us know about your progress every few days :-)

ok


Add JSON Schema $Ref Parser

Hi! 👋
I've added JSON Schema $Ref Parser to the JSON Schema Tools section - it's great for building custom tools on top of JSON schema (like the one I'm building now 🙂).

The CI failure seems unrelated to this PR - let me know if that's not the case.


OmniSharp.py - os.path.relpath() Causing Issues

If you have an open file that is located at d:\test\test.cs whilst the current director in vim is c:\ for example and you call OmniSharp#FindUsages or FindImplementations it will error due to the os.path.relpath() call.
Not sure if we need to use the relative path (it doesn't matter on windows) but I'm not sure about linux or osx.

All paths in OmniSharp-vim (and OmniSharp-roslyn AFAIK) are absolute these days. I just gave this a quick test (opened a project under B: from a vim with pwd C:) and it seems to work fine.


shprofile: yet another dotfiles management tool

Hi,
I'm developing shprofile that tries to facilitate shell profile configuration by allowing you to define several profiles for the same user and letting you switch between them.
This way, you can define your own variables, aliases and more (as defining your own dotfiles) for a specific profile. All profile's configuration is contained into a single directory that can then be versionned and shared with the community.
Could you please add it to the list?
Regards
Aurélien

Thank you @unixorn!


Epic: Improve API version support

Issues:

https://github.com/RSuter/NSwag/issues/1354
https://github.com/RSuter/NSwag/issues/1288
https://github.com/RSuter/NSwag/issues/1160
https://github.com/RSuter/NSwag/issues/1241
https://github.com/RSuter/NSwag/issues/1393
https://github.com/RSuter/NSwag/issues/1524

I just stumbled across a number of posts and issues that all seem to lead back to here.
The implementation of ApiVersionProcessor.cs is not correct and will miss many scenarios. API Versioning does not actually care about attributes and that is only one way that API versions can be provided. API versions can also be provided by conventions or through custom extensions.
The API Explorer extensions provided by API Versioning already does all of the difficult work of collating API descriptions by API version so they can be integrated with other libraries such as Swagger generators like NSwag. Things already work well with Swashbuckle without any cross-dependencies or understanding of what each library does. I would be curious and interested in understanding why the same model doesn't work for NSwag. I'm open to discussing how the integration can be made better.

If a service author is versioning by URL segment and they don't want the route parameter or API parameter desciption included, they just need to specify that in the API explorer options a la:
AddVersionedApiExplorer( options => options.SubstituteApiVersionInUrl = true );

This removes all API version parameters and substitutes the route parameter with a value formatted according to the options.SubstitutionFormat (defaults to "VVV", which is the most common). If the URL segment method is not used, these options have no effect.
It's also worth noting that the apiVersion route constraint key is configurable starting in API Versioning 3.0+ via options.RouteConstraintName, even though it's not likely to be changed.  The name of route parameter is completely user-defined. While it's common and used in many examples, there is no requirement that the route parameter name needs to be version. The route parameter name is only meaningful to the service author. ASP.NET Core does the work of parsing the route template, matching the route constraint, and passing the name and value of the parameter to the constraint for processing. In other words, a route parameter defined as {v:apiVersion} or {ver:apiVersion} is perfectly valid. The ASP.NET API Explorer strips out the route constraint definition, so the generated path is left with {v} and {ver} respectively. You should be able to make this work if you can determine which API parameter description matches the API version parameter and use it's name to replace the token. While it's possible, it seems like it's something difficult and brittle for NSWag to determine and would be better served by making the API Versioning API Explorer support do the work instead (which it does).

Ok so my proposal

Remove api version processor
Add setting ApiGroups so that you can filter the api groups (default: empty = all)

This way its fully controlled by the api explorer. What do you think?

That sounds right to me. I don't mind if you do double-work, but I figure you don't want to support external idiosyncrasies if you don't have to. ;)
Honestly, I'm not super familiar with the particulars of NSwag. I know things are similar to Swashbuckle. Obviously, I know the API Explorer very well. If you haven't seen the sample project I provide, it might be worth giving it a once over for ideas that might influence the integration points of your design.
You won't see much of anything related directly to the API Explorer. The AddVersionedApiExplorer registers the required services, specifically the API version-aware IApiDescriptionProvider implementation. When you request or depend on the IApiDescriptionGroupCollectionProvider, the built-in ASP.NET Core default implementation runs all the IApiDescriptionProvider implementations and collates the results. By the time you access the collection, all of the grouping and other work is done. It should just be a matter of generating Swagger documents. If you wanted to produce a list of the groups, you can make a first pass which computes a distinct set of all defined group names. If all of the groups names are null or empty, then they all fall into a single group for your default or all case.
I also provide a custom IApiVersionDescriptionProvider. You see this service used in the example. The purpose of this service is to distinctly enumerate all possible API versions with their group name and indicate whether they are deprecated. API descriptions and so on are not provided by this collection. There are many possible use cases for this service, but a common scenario is enumerating the results to produce a Swagger document for each API version. The provided group name can be used to match up against the group name defined in API descriptions. For service authors that want to omit or otherwise call out deprecated API versions, that information is provided so they don't have to figure it out.
Naturally, you don't want any dependencies on any of that. However, hopefully that puts some context around how things are meant to work and they have worked together with other libraries such as Swashbuckle thus far. The integration from your standpoint is supposed to be easy so you can focus on what you do best - generating Swagger. :)

I completely agree with you - and I want to reuse as much as possible of this logic and not implement it by myself. This processor comes from the times when everything was reflection based and I think the api versioning package didnt have api explorer support back then... The goal is to remove this feature in a way that breaking users get a good notification how to fix it/change it for the new way...

@commonsensesoftware I created a PR based on our discussion: https://github.com/RSuter/NSwag/pull/1701

Other than the broken tests, it looks pretty good.
I just realized that you support Web API too. I have similar support for grouping in Web API, but due its limited API Explorer design, it doesn't surface in a library-sharable manner. You'll have to pardon my ignorance because I don't know how NSwag bridges this gap. In Swashbuckle, they used a callback function. The API Versioning API Explorer for Web API provides an extension method to get the corresponding group name, which is expected to match the format of the Swagger document version.
This has the callback form Func<ApiDescription, string, bool> that is realized as:
( apiDescription, version ) => apiDescription.GetGroupName() == version

You can see the full Web API example here.
Beyond something like a callback function, I'm not sure how you can marry the two sides without some type of dependency. If you were content with using Reflection or dynamic dispatching, this is probably the one and only place were it might make sense. I had to do a bunch of my own hackery to make the Web API IApiExplorer work because a significant part of the default implementation relies on internal types and methods.
If you were going to support such a concept, it might look something like the implementation of the GetGroupName extension method. The only difference in your case would be testing for the presence of a property named GroupName on the ApiDescription. This would bridge the gap for API Versioning and any other IApiExplorer implementation that happens to return ApiDescription instances with a GroupName property.
I doubt we'll ever see things changed in Web API. These are the best ideas I can think of. I leave it up to you as to which route you think is appropriate for NSwag consumers.

The web api generator is deprecated and i dont have the capacity to work on this at the moment...

Will fix the tests soon

Ah … gotcha. I thought I saw changes related to Web API. It caught my attention so I thought I'd mention it. If you ever decide to revisit it at a later point, I'm happy to discuss the integration points.


have you declared this activity in your AndroidManifest.xml?

when i click "scan" the app has crashed.
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.met.metchain2/com.apptreesoftware.barcodescan.BarcodeScannerActivity}; have you declared this activity in your AndroidManifest.xml?
what that mean？

I don't seem to know why, but I'm having this same issue. Did you by any chance figure out the solution?

flutter build apk

when I click the scan,I have same problem.what can I do?
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.hjly168.hjly/com.apptreesoftware.barcodescan.BarcodeScannerActivity}; have you decla
red this activity in your AndroidManifest.xml?

I had this same error. I think the manifest changes don't get picked up. I deleted the build folder and then ran it again and it started working.

Deleting build folder works for me.

Delete build folder works. Thank you all

Deleted .gradle folder and then ran it again and it started working.
flutter_app/android/.gradle

it work for me thanks

Thanks it worked for me

Thanks it worked for me

it work for me thanks

when I click the scan,I have same problem.what can I do?
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.hjly168.hjly/com.apptreesoftware.barcodescan.BarcodeScannerActivity}; have you decla
red this activity in your AndroidManifest.xml?

open in android studio , build project

the app crashed before it even opened when i deleted the build.gradle file. is that what i was supposed to delete?


Get all returning values from a transaction containing multiple queries

I'm trying to update some rows at once.
I'm waiting for all queries to be written before executing them all in one query. However, I need some values to be returned by the query after the update. I'm using the returning() method for that.
I can't manage to get all the returned values at once as an array after the query has been executed. If I use a then() directly in the transaction function it returns the returned values one by one and my promise won't work. It also considerably increases the execution time.
How do I get all the returning values from my update request at once in a list.
return knex.transaction(trx => {
        const queries = [];
        data.forEach(pair => {
            const query = knex('pair')
                .where('symbol', pair.s)
                .update({
                    last_price: pair.c,
                })
                .returning(['id'])
                .transacting(trx)
                //.then(function (updated) {
                // ... doing it one by one here
                //})
            queries.push(query);
        });

        return Promise.all(queries) // Once all queries are written
            .then(() => {
                trx.commit // We try to execute them all

            .catch((e) => {
                trx.rollback // And rollback in case any of them goes wrong
                console.error(e)
            });
    })

Which DB is it?

I found a solution:
async function updateDB(data) {
return await knex.transaction(async (trx) => {
const queries = [];
    data.forEach(item => {
        const query = knex('core_exchangepair')
            .where('symbol_slug', item.s)
            .transacting(trx)
            .update({
                last_price: item.c,
            })
            .returning(['id'])
        queries.push(query);
    });

    try {
        return await Promise.all(queries);
    } catch (e) {
        console.error(e);
        return e;
    }
})

}

Which DB is it?

It's PosgreSQL database.


[Bug]: when i execute "mv gens" console says error

/mv version -p output
[18:11:00 INFO]: [Multiverse-Core] Version info dumped here: https://paste.gg/54ca3b47702e4ad99550b42f9f441763
Server logs
https://mclo.gs/xQswEy0
Server Version
1.16.5

Bug Description
When running /mv gens it send an error
Steps to reproduce

Create a PaperMC server in 1.16.5
Add Terra Plugin
Execute the server
Run /mc gens

Agreements

[X] I have searched for and ensured there isn't already an open or resolved issue(s) regarding this.
[X] I was able to reproduce my issue on a freshly setup and up-to-date server with the latest version of Multiverse plugins with no other plugins and with no kinds of other server or client mods.

Duplicate of #2811

UP


fixed draft_release_notes workflow and Renamed plugin

Description
fixed draft_release_notes workflow and Renamed plugin in package.json , opensearch_dashboards.json
Issues Resolved
Related to https://github.com/opensearch-project/opensearch-build/issues/4851
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.
[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Seems the plugin rename is already covered in #234, can you update to only be in one or the other to prevent conflicts once one merges first?

I changed in 2.x before and now in main.


NASA Space Apps Task Roadmap

NASA Space Apps 2023
The full prompt for the 2023 NASA Space Apps Challenge can be found here.
Planned Goals

The (specifically-defined) wanted changes to the VISIONS applications in the prompt are as follows:

[ ] 1. Incorporate ECOSTRESS into the VISIONS application
[ ] 2. Incorporate GEDI into the VISIONS application
[ ] 3. Add area-and point-based subsetting
[ ] 4. Add production of a heat map indicating the number of images available at a given location
[ ] 5. Add the ability to alert users when new data has been delivered or forecasted at a location of interest

Other Important Changes

Improve the performance of the application
Host a static version of the application on GitHub Pages

This may require a refactor of some of the code, to remove the dependency on a database and instead expect the data to be in a static format hosted on a web-server. This will also keep deployment costs basically free, with a server only necessary to occasionally update the data when new upstream data is available.

Aspirational Goals
The aspirational goals for this project (if time permits) are as follows:

Add a language based interface utilizing OpenAI's GPT-3.5
Explore how to enable arbitrary data sources to be added to the application without requiring a code change

Progress
This area will define what progress has been made on the project, and what is left to do.

After a lot of trial and error trying to expand the current codebase, I think it's going to be much easier to extend MMGIS if it were to be refactored with a modern web stack. Namely, splitting up the frontend and backend code will enable hosting the frontend statically, and even get some cool demos without needing to host anything. The old code architecture's deep backend/frontend integration made this not possible.
Based on the current refactor with React so far, this seems much easier than initially anticipated, albeit it's going to be time consuming as there's lots of functionality to migrate over. Having substantially less code should will also make maintainability much easier.

I think that's a wrap for the hackathon stuff...
The frontend has been rewritten with React, split from the backend code and the backend code has (mostly) been linted to improve code consistency and even fix some errors lying around in the backend. Since the frontend is a complete rewrite, many features are missing (side panels/globe view, layer configuration, some overlays, layer rearrange is kind of broken, etc.), however these are mostly trivial things to re-add, I just had to skip them as spending time fixing bug after bug with feature porting isn't a great way to spend time at a hackathon. Some of the code needs to be cleaned by up removing comments and splitting up the frontend code from one .jsx file to a few other .jsx files. Also, the backend code can also be simplified a bunch, but no time for that obv. :)
Anyway, to doc my work as far as ECOSTRESS data: the code to grab this data is in https://github.com/zubearc/MMGIS/tree/react/tool/download-ecostress -- I commit that to a GitHub repo at https://github.com/zubearc/nasa-ecostress/. This repo contains .h5 and .xml metadata without an authwall, so I can easily host and reference the data. A function inside index.js generates a layers.json which is configuration that MMGIS's frontend code can read to render the map and all the layers on top.
Since there are so many changes review will be hard so, I don't expect these to be merged upstream without a bunch of changes, but I think it could be the basis for future work to simplify the MMGIS codebase.


Cannot delete Kamelet route container

Describe the Bug
Cannot delete Kamelet route container
EDIT: I found this stack in console log but in fact it is not related to this action (but might impact it?)
hook.js:608 Could not compile schema MissingRefError: can't resolve reference #/definitions/org.apache.camel.model.ProcessorDefinition from id #
 Error Component Stack
    at SchemaBridgeProvider (schema-bridge.provider.tsx:22:13)
    at CanvasFormBody (CanvasFormBody.tsx:18:27)
    at div (<anonymous>)
    at div (<anonymous>)
    at ErrorBoundary (ErrorBoundary.tsx:18:5)
    at CanvasForm (CanvasForm.tsx:15:66)
    at FilteredFieldProvider (filtered-field.provider.tsx:19:39)
    at ErrorBoundary (ErrorBoundary.tsx:18:5)
    at div (<anonymous>)
    at CanvasSideBar (CanvasSideBar.tsx:15:13)
    at div (<anonymous>)
    at div (<anonymous>)
    at div (<anonymous>)
    at div (<anonymous>)
    at div (<anonymous>)
    at div (<anonymous>)
    at Canvas (Canvas.tsx:47:77)
    at ErrorBoundary (ErrorBoundary.tsx:18:5)
    at CanvasFormTabsProvider (canvas-form-tabs.provider.tsx:15:41)
    at div (<anonymous>)
    at Visualization (Visualization.tsx:19:22)
    at ActionConfirmationModalContextProvider (action-confirmation-….provider.tsx:28:41)
    at CatalogModalProvider (catalog-modal.provider.tsx:42:31)
    at DesignPage (DesignPage.tsx:9:27)
    at VisibleFlowsProvider (visible-flows.provider.tsx:18:27)
    at CatalogTilesProvider (catalog-tiles.provider.tsx:14:26)
    at CatalogLoaderProvider (catalog.provider.tsx:16:45)
    at SchemasLoaderProvider (schemas.provider.tsx:17:45)
    at RuntimeProvider (runtime.provider.tsx:22:45)
    at div (<anonymous>)
    at div (<anonymous>)
    at div (<anonymous>)
    at Panel (<anonymous>)
    at main (<anonymous>)
    at div (<anonymous>)
    at Shell (Shell.tsx:13:37)
    at EntitiesProvider (entities.provider.tsx:7:17)
    at SourceCodeProvider (source-code.provider.tsx:22:39)
    at SettingsProvider (settings.provider.tsx:13:49)
    at Provider (reload.hook.tsx:15:50)
    at App (App.tsx:19:26)

Steps to Reproduce the Bug or Issue

Create a Kamelet
select the route container of the Kamelet
click on the delete button
click confirm
--> the default route is still here

Screenshots or Videos
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 0.30.0]

When deleting the container it actually means deleting the whole kamelet content. I am wondering what would be best here. If we want to stay consistent I would think we should empty the Kamelet fully and let the user start from scratch.

From scratch meaning a source and a sink?

Probably the same as when the source code is empty? Having the "Start from Scratch" thing?

Sure, but after that, what next? Because that control uses the kamelet template, so we're gonna be in the same place as before :thinking:
Could creating an empty Kamelet with just a source be an alternative?

@apupier

We could go with something similar to this


polling: Total support % breaks margin used in the rest of the display box

Describe the bug (required)
A clear and concise description of what the bug is.
When the total support % in the poll detail view has many decimal places, the decimals break the margin in the display box on the right.
Expected behavior (required)
A clear and concise description of what you expected to happen.
The last decimal in the total support % to not break the margin used by the text below it.
To Reproduce (required)
Steps to reproduce the behavior:

Make sure that the total support % for a poll includes many decimals
Go to the poll detail view and observe the total support % display box

Device (required):

Device: Macbook Pro
OS: OSX
Browser: Chrome
Version: https://polling.livepeerorg.now.sh/voting/0xbf790e51fa21e1515cece96975b3505350b20083

Screenshots (optional)
If applicable, add screenshots to help explain your problem.

Fixed in latest


Proposal: common set schema api

Hi, Thank you for this lib.
It would be nice if we can abstract a common set of schema apis (e.g. merge schemas) available for lib authors.
I am happy to help implementing this if you think this is a valid requirement.

Hi, @Talent30! Thanks for the feedback!
Do you mean merging object schemas  of different libraries into one? Or just offering more methods than just validation?
On the latter, I've been doing a major refactor (under the monorepo branch) that will unblock adding methods that work with just a subset of validation libs. My expectation is to publish  it in 2 weeks.

Solved as part of v0.13.0


Gateway: add public flag to CatalogEntry

What is the expected enhancement?
Add public flag to catalog entry and show only public (and self authored) entries in GET views.

The catalog can be created for the public program.  For the catalog, do we need category of the catalog instead of just a boolean flag?

I'm thinking about adding a choice field.  For now, the choices are [PRIVATE, COMMUNITY, CERTIFIED].  WDYT?

It's a bit unclear to me what aspects of program uploading / sharing are being handled by the gateway API and what ones via the catalog API.
Should we consider only letting the user upload private programs via the gateway, and all shared uploads (whether full public or subgroups) are done via the catalog?
Maybe do a mini design session on the scopes at our next dev call ?

Maybe do a mini design session on the scopes at our next dev call ?

Sounds good. Added to our agenda!


EVP: clear error when falling back from failed EVP_KEYMGMT_fetch()

Since we're falling back to legacy, this isn't an error any more.
Among others the failed EVP_KEYMGMT_fetch() error shadows other errors
produced by the legacy code, which disrupts our test/evp_test runs.

Looks like it needs a rebase..

Ping

Should it be done via ERR_set_mark ERR_pop_to_mark? Or there cannot be any relevant error in the stack before the calls?

What's up wish the fetisch of old stale errors that are ignored? I don't get that.
In practice, though, what caused me to add this PR was that evp_test ran into cases where it couldn't see errors it expected at the start of the error queue because there were ignored errors before that.


Link component

Add a link component (needs info).

Chatted with @dmiller9911 and decided this isn't necessary since link styles are included in the pf4 global reset - https://github.com/patternfly/patternfly-next/blob/master/src/patternfly/_base.scss


Updates package.engine field to remove install warning.

Downstream dependant projects would get a warning when installing. e.g. npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"~0.6.9"} (current: {"node":"0.12.4","npm":"2.12.1"}).

:+1:


📦 Update Kotlin, Compose and other dependencies

Summary
Just a routine dependency update
Relationships
Closes #17

I re-tested the speed just to be sure and everything seems to be fine on my PC/emulator 🤷♂

It turns out it was my setup. It was slow all day, not quite sure why.


Error pulling docker image

I wanted to spin this up to give it a try but I am getting an error pulling the docker image.
Would you be able to check if the correct version is published?
Thanks

can you give me the error message ? any details you can share would be of help. This should be trivial to fix

Turns out my package visibility settings was set to private. This should be fixed now. Can you try again and let me know if this is resolved ?

Cheers. That fixed it.
So initially I've deployed this with the environment variables on a .env (out of habit with most of my selfhosted stuff).
MARKOPOLIS_DOMAIN="https://your-domain.com" works, but I don't think the rest of the variables were picked up.
Instead, it deployed a copy of your demo site. I am not sure if this is supposed to have been included. You might want to remove it from the docker container
The API key on the .env was not picked up, so when i went to localhost:8080/docs and used the API key it throws an invalid error key.
But other than that I managed to get it up and running, seeing a couple of issues but I will raise separately to make your life easier.

Can I double check 2 things?
1st, the "index" file must always be  home.md, lowercase, correct? I cannot make it, say, Home.md just for the sake of it being capitalised in the links etc on the lefthandside?
2nd, the proper way to use this would be to, say,

mount a volume with the source files (ie, the Obsidian vault, as an example).
from within the docker container, navigate to said folder and use consume

Is this correct?
Also, removal is not yet implemented?
Thank you in advance.

Regarding 1st,
Yes that's correct. If you want to make the links to be capitalized, set the title filed in the front matter. That's picked up. The filename is used only if the title is not set in the front matter.
Regarding 2,
You don't need to mount a volume with the source files. The consume command is meant to be run locally on your computer. The docker volume is just for persistent storage to store the markdown files for the server.
On your local system where you have the md files, install the python package. setup a config.yaml and then run consume inside the root folder where md files are present. the consume command will connect to the server and upload all md files.
And yes removal is currently not implemented, so you won't be able to remove. I plan to implement this today. Lookout for a release sometime later in the day.
In summary, the consume command is a convenience command to run locally. You don't need to manually upload your source files or deal with docker at all.
Hope this helps.

Just noticed your previous comment. Reopening the issue. I'll debug this now. Another user seems to be facing the same issue with env variables not being picked up.

Regarding 1st, Yes that's correct. If you want to make the links to be capitalized, set the title filed in the front matter. That's picked up. The filename is used only if the title is not set in the front matter.

I've set this as title: Home and the title of the page changes - the link on the left does not. If you could make it so it's changed on the left as well that would be great

Regarding 2, You don't need to mount a volume with the source files. The consume command is meant to be run locally on your computer. The docker volume is just for persistent storage to store the markdown files for the server. On your local system where you have the md files, install the python package. setup a config.yaml and then run consume inside the root folder where md files are present. the consume command will connect to the server and upload all md files.
In summary, the consume command is a convenience command to run locally. You don't need to manually upload your source files or deal with docker at all. Hope this helps.

Cheers. Thanks for clarifying. I am not familiar with python packages, so I hadn't gotten that far.
On my current setup my server/client are the same machine so it was easier just do the docker volume mount. Understand the server/local config makes a lot of sense for the scenario where they are not the same machine.

This has been resolved in the latest release :)

Oops. I'll fix that so the link on the left also changes. Keep on eye out for an update. I'll leave this issue open for reference.

This has been resolved in the latest release :)

Looking good, but can I suggest you make it so the folder on the left (I'll call it the menu) stays expanded when you are navigating within any of the pages contained in that folder?

Sure. I was gonna do that because I myself found it annoying to keep going back. I'm in the middle of rewriting the core API. Once I finish that I'll work on adding this.

It is working fine but I'm just letting you know since this is the first time I've seen this docker warning. Only happened with the latest version when pulling.

! markopolis The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64/v4) and no specific platform was requested    0.0s


Applying same 'data' template to multiple series

Hello,
Sorry i f my question seems trivial to you.
I am trying to display several series simultaneously on a scatter graph with the same template.
I manage to display the series but the template specified in data (type: scatter; mode: markers) only applies to the first one. The other series are displayed in line mode which seems to be the default mode.
The 'Data' bloc containing the following code :
[
{
"type": "scatter",
"mode": "markers",
"line": {
"color": "red",
"width": 2
}
}
]
The script bloc containing the following code :
console.log(data)
let x1 = data.series[0].fields[1].values.buffer
let y1 = data.series[1].fields[1].values.buffer
let serie1 = {
x : x1,
y : y1,
name : 'M1'
}
let x2 = data.series[2].fields[1].values.buffer
let y2 = data.series[3].fields[1].values.buffer
let serie2 = {
x : x2,
y : y2,
name : 'M2'
}
return {
data:[serie1,serie2],
layout:{title:'My Chart'}
};

M1 is displayed correctly, not M2.
I also try to display the different series in a different color; in order to distinguish them. I imagine this should be done in the script block; but the 'data' output does not seem to allow the passing of certain parameters found in the dedicated 'data' block.
Any help would be appreciate.
Thanks !

There's 2 ways to do it :

Update the data field which contains an array. So you can set properties for each serie :

[
  {
    "type": "scatter",
    "mode": "markers",
    "line": {
      "color": "red",
      "width": 2
    }
  },
  {
    "type": "scatter",
    "mode": "lines",
    "line": {
      "color": "blue",
      "width": 2
    }
  },
]

Update your script  :

let x1 = data.series[0].fields[1].values.buffer
let y1 = data.series[1].fields[1].values.buffer
let serie1 = {
  x : x1,
  y : y1,
  name : 'M1',
  mode : 'markers',
  line : {
    color : 'red'
  }
}

let x2 = data.series[2].fields[1].values.buffer
let y2 = data.series[3].fields[1].values.buffer
let serie2 = {
  x : x2,
  y : y2,
  name : 'M2',
  mode : 'lines',
  line : {
    color : 'blue'
  }
}

Hope it helps

Thank you very much, that's exactly what I need !


Less files

Hi,
is it possible to provide, in the sources, the less files (or sass) used to generate 'custom.css' ?
In order to contribute to this great project.
Thanks.

To tell you the truth the Less file is just identical copy of css (cheat) but migration to a css preprocessors (I prefer sass) is on a roadmap but if you want you can start the awesomeness now! That would be awesome!

Ok.
Let's go ! I start working on it then ;-)

@christianesperar is there any sort of "roadmap view" so we can track it down all the changes coming on the road?

@benjhoo I was wondering the same thing! May the force be with you! And if you need any help call me :D

I already made PR for gulp build for preparation for this but this still the original sass file. Feel free to modularize it!

Hi, any news about the sass file ?

Hi,
I start making the sass files based on css.
For the moment I've only done the main structure (header, left column, right column, footer) due to a lack of time.
You could find my fork here : https://github.com/benjhoo/gentelella/tree/master


Set up Bazel for Python tools

A quick setup of a Bazel workspace for the repo to make it easy to run the tools.
Sets up a hermetic Python toolchain with the latest version of rules_python.
As there were multiple breaking (and significant) changes between the current version (0.8.1) and the latest version published to the registry (0.4.0), I've opted for setting it up an old-fashioned workspace for now. Once there is a current rules_python release, I would adjust the PR to utilize bzlmod.

RELATED #46

@hobofan I made some updates here now that rules_python 0.10.2 is in the registry - but I'm still struggling to delete the content from /WORKSPACE which should no longer be needed. Run out of time for now so let's see who finds time to come back to this first :)

Closing. Has been superseded by #416