Login fails if you don't run db:seed

Right now authentication fails unless we've run db:seed. Our integration tests then have to run the seed file before each test. Ideally the app should be functional without needing to seed the database. This will speed up our tests and remove unnecessary dependencies on data in the database.


Confirmation Prompt for Delete Commands

Description:
To enhance safety and minimize human error, especially given recent incidents where a single delete command resulted in the deletion of all resources within a namespace, I propose the addition of a confirmation prompt following the execution of a delete command. This prompt should first display the resources that will be affected by running the equivalent get command and then ask the user to confirm whether they truly want to proceed with the deletion.
Implementation Details:

Command Execution:

When a delete command is issued, the system should automatically run the equivalent get command to list the resources that match the delete criteria.

Display Resources:

Display the list of resources that will be affected by the delete command to the user.

Confirmation Prompt:

Prompt the user with a message asking for confirmation to proceed with the deletion.
Example message: “You are about to delete the following resources: [list of resources]. Do you want to continue? (yes/no)”

Why This Is Needed:

To enhance safety by providing a visual confirmation of the resources that will be deleted.
To reduce the risk of accidental deletion of critical resources.
To provide an additional step for the user to verify their intent, thereby mitigating the risk of human errors.

This feature exists https://github.com/kubernetes/kubectl/blob/382ad8ff117ae966d9efd9380295d77d00c6cb7e/pkg/cmd/delete/delete_flags.go#L163-L165 and tracked by https://github.com/kubernetes/enhancements/issues/3895

Do you think this flag should be true by default instead? Is it something you are planning to do in the future?

Unfortunately it can't be true as it breaks all the scripts currently running successfully. We are planning to introduce a new preferences feature https://github.com/kubernetes/enhancements/issues/3104 and --interactive flag can be set to true as default within this preferences file.

As this has already done, I'm closing this issue;
/close


some layer list item testing

Coverage increased (+0.3%) to 75.414% when pulling 9aaba3829a606da799417aceff3e767b45f0f196 on layer-list-item-tests into f8473da1ff472e678bc8bf31b722f721cdb9c971 on master.

Coverage increased (+0.2%) to 75.377% when pulling faf16a3797c7c1442462a28301cfcfa57f1ebd47 on layer-list-item-tests into f8473da1ff472e678bc8bf31b722f721cdb9c971 on master.


Removing attoparsec dependency.

It looks like an attoparsec depencency was added that is not actually needed by pull request #20.  This removes that dependency.
It looks like there was a problem with stackage by the < 0.13 attoparsec dependency: https://github.com/fpco/stackage/issues/875

@glutamate and @hanshoglund, can you confirm that the attoparsec dependency is not needed?

@meteficha, after this commit gets merged in, I'd like to release ig-0.6.1 to fix the stackage issue linked above.  Does that sound good?

It should be safe to delete it, yes.

@cdepillabout Sounds great, go ahead! :)

@hanshoglund, Thanks!
@meteficha, I bumped to 0.6.1, added a 0.6.1 tag, and released to Hackage:
https://hackage.haskell.org/package/ig-0.6.1
Thanks!

Here is the fix on stackage: https://github.com/fpco/stackage/pull/879


Remote Controls - Announcements stop working after a while

Description
Remote bolus can be sent using the “announcement” event type in NightScout Care Portal as described in the documentation.
Recent tests have shown that this feature stops working permanently after an uncertain number of successful bolus announcements.
The cause of this issue seems to be associated with a remote bolus announcement that was sent but couldn’t be enacted due to external/unknown factors (like a pump/network error).
While these kinds of errors are expected to happen once in a while, the functionality of the remote bolus announcements is expected to continue working with future announcements after recovering from a failed bolus.
How to reproduce it
The issue can be reproduced by editing the freeaps/announcements.json and freeaps/announcements_enacted.json files in a way that the latest event (first element) is present only in the first file, but not in the second one.
After that any new remote bolus created in NS will not be enacted.
Example:
announcements.json
[
  {
    "created_at" : "2023-07-12T11:54:46.092Z",
    "notes" : "Bolus:0.1",
    "enteredBy" : "freeaps-x-remote"
  },
  {
    "created_at" : "2023-07-12T11:43:14.934Z",
    "notes" : "Bolus:0.25",
    "enteredBy" : "freeaps-x-remote"
  }
]

announcements_enacted.json
[
  {
    "created_at" : "2023-07-12T11:43:14.934Z",
    "notes" : "Bolus:0.25",
    "enteredBy" : "freeaps-x-remote"
  }
]

Proposed solution
After some troubleshooting it was detected that when all the announcements are fetched from NS, they are filtered by the latest enacted announcement (what makes sense since already enacted announcements should not be processed more than once) and from there the algorithm selects the most recent once, since only one announcement can be processed in a 10 minutes period of time.
The issue seems to be that instead of selecting the latest one to enact, it actually selects the oldest one, because the order of the elements comes sorted in the opposite way that the algorithm is expecting. This causes that in every new loop the algorithm keeps on picking the same announcement over and over and it can never be enacted because it’s older than 10 minutes.
I'll soon create a PR with my proposed solution. I’ve already tested it with many different scenarios, all tests being successful. That being said, this was my first time reading, debugging and fixing swift code, and I'm also new to iAPS. I can definitely use some help from the community to validate my solution :)

I can help with any testing you might need

I can help with any testing you might need
I've just created the PR for anyone interested in testing: https://github.com/Artificial-Pancreas/iAPS/pull/144
Thank you!

Tested Multiple remote boluses - All passed.
Tested remote tempbasal - failed.  none worked.
a remote bolus functioned even after tempbasal failed.

Tested Multiple remote boluses - All passed. Tested remote tempbasal - failed. none worked. a remote bolus functioned even after tempbasal failed.

I'll be testing the remote tempBasal today. and will try to understand the issue there. I was so focused in the remote bolus that never tested that one. Thanks for the feedback!

Thanks @danielacano! I've merged your PR for sorting fix into dev branch.

Testing this now. Do I have to delete the old announcements.json and announcements_enacted.json files? On first attempt before deleting, the remote bolus did not go through. After deleting both files, it did go through after about 5 minutes, at the next CGM data arrival/loop it seems.
I had an empty announcements.json file, and an announcements_enacted.json file with two old entries in it.

On second attempt (which worked, yay!), the bolus went through after two minutes, just before the next CGM reading. Not sure what determines when it goes through, it does not seem to be triggered by GCM data.


Feature Request - Use npm script to run SASS build

Currently we do npm install and then need to also install gulp as global command using npm install -g gulp to be able to run gulp sass and build CSS files. However, it would be nice we add it as one of the npm script target (in package.json) such that we can simply run npm run build, (as npm scripts have access to all the module commands in PATH).
I'll submit another PR for the same. This will reduce an extra installation step and speed up the workflow. :smiley:

Sounds great! Thanks for the contributions :wine_glass: cheers!


fix permissions on icinga config directories/files

fix permissions on icinga config directories/files

Hi rook,
adding permissions for these files would work fine for all Linux operating sytems. It would however break things on Windows. When we build the intallation/configuration mechanism we decided explicitly to use the permissions that come with the package installation and only to maintain the content of the files. By keeping the default permissions we don't have to take care for each OS explicitly. What do you think?

okay, I see, I haven't thought about that (never used puppet with windows). The main problem is that in my setup puppet by default sets the permissions of files to owner root / group root and mask 0600 so without my changes, icinga does not even start, because it cannot read the config files. I'll try to reproduce this with an empty testing system

Well, that's strange and interesting. What system are you using? Would be great if you can reproduce it

@roock Maybe you have a global default file Resource?

@Reamer  that would be the only logical explanation for me too, but i don't have any (at least none that I'm aware of)
@bobapple  I'm using Debian 8 with latest puppet version (puppet-agent 1.8.0-1jessie)

Sorry, I am not able to reproduce this

Correct, I cannot reproduce this with an test puppet instance too. Sorry my precipitate pull request


tutorial done

Not really done done, but adding more steps is ez

i downgraded react so i can use reactour, seems like that is causing some issue


Implement builtin assert! macro

This PR add a dummy implementation for assert! macro, which mainly make hover and goto-def works on arguments inside it.

OT: Do anyone know why assert is a builtin macro, but assert_eq doesn't ?

OT: Do anyone know why assert is a builtin macro, but assert_eq doesn't ?

I believe the plan was to show the evaluation of the individual sub-expressions of the condition, but this never got implemented. The RFC did get accepted I think though.

bors r+


[release-4.15] OCPBUGS-27486: Adds ecr-credential-plugin .spec

Adds ecr-credential-plugin.spec to build the ecr credential plugin. This is consumed by brew for production builds.
Adds script (openshift-hack/build-rpms.sh) to build the RPM in ci from latest master (or in this case, release-4.15).

/lgtm
/approve

/jira refresh

/lgtm

/label backport-risk-assessed

/label cherry-pick-approved

/cherry-pick release-4.14


⚠ Bofrost.de has degraded performance

In c58cd4c, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1212 ms

Resolved: Bofrost.de performance has improved in 8899e77.


added optional param for run_attack_module in cli

This PR is to add optional parameters for users to use in their attack modules. The optional parameters will be entered by the user in the CLI in the form of a dictionary, which the attack modules can take in (i.e. users may want to decide how many iterations the attack module should run before stopping, so the dictionary can have a field like "max_no_of_iteration" which the attack module will read in)
How to test:

Start cli: python -m moonshot cli interactive
Create a new session: new_session -h and copy the help sample codes to create a new session with a new runner (change the connector endpoint to one you can access with your API key)
Inside the session, enter run_attack_module sample_attack_module "test prompt" -o "{'max_number_of_iteration': 1, 'my_optional_param': 'hello world'}"
The attack module should run without any error

Hello @imda-kelvinkok , please update moonshot-data to include an example how optional params can be used in your sample_attack_module.py


make it still working with disabling concurrent GC

@dotnet-bot  test this please

Should we add a CI definition to test with concurrent GC disabled?

I don't think that is still needed. This is just make sure it's still easy to be disabled, and in the future if someone wants to disable concurrent GC to do some testing, it will be less work to do.

This replaces https://github.com/Microsoft/ChakraCore/pull/2454 right? If so, can you close that PR?


Default Camera can't be set since newest Xamarin.Forms update

Since the Xamarin.Forms v<IP_ADDRESS>6 update it doesn't matter which DefaultCamera setting i pick, it always opens first the front-camera which is a huge loss of time if u only want to use the rear option and have to switch camera every single time
tested on Samsung XCover 4

It doesn't work for me either. Did you succeed to make it work ?


Address windows platform in documentation

closes #2993
Signed-off-by: D<EMAIL_ADDRESS>Type of change

Documentation update

Description
Address how windows users can install and contribute to fabric. The current documentation was inaccurate

I'll attempt the automated backport as far it will go cleanly...
@Mergifyio backport release-2.4

@Mergifyio backport release-2.3

Ok, only the release-2.4 backport went cleanly...


ng: importing packages with a dot "." fails

hi,
trying importing a package with a dot "."

I guess we could do the same than in the old C backend of the gc toolchain and replace . with the UTF dot ? (or just replace it with _)

Working on a fix.

Fixed in 770a90a. Writing a test brought up lots of interesting problems with vendoring and a real bug in how typecheck/eval was using .a files. Please let me know if you have any issues.


Strict naming of events fields?

Is your feature request related to a problem? Please describe.
Perhaps I am missing some configuration, but does the Qalendar requires, for example, events to have 'title' and I could not change the title to 'subject'? (if I do it now, it disappears from the display with

Describe the solution you'd like
When working with for example Microsoft Graph which brings events in quite a different format, it would take some coding to change Events.title to  event.subject
Additional context
Great Plugin, good job. Thank you!

Hi @shamick I think this could be useful, especially for anyone looking to implement Qalendar in place of a previously used component. However, since you could also easily build around this, by transforming each event going in/coming out of Qalendar, I don’t see myself giving this any prio in the next couple of months.
Could you picture building parts of, or the entire feature?


WIP: chore(packages): merge into ui-kit package

Description of changes
This PR…
One Package to rule them all.
https://linear.app/propel/issue/PRO-2105/migrate-to-a-single-ui-kit-library
Checklist
Before merging to main:

[ ] Tests
[ ] Manually tested in React apps
[ ] Release notes
[ ] Approved

Release notes
# Component changes

## Time Series

- Added X feature to Time Series.

## Leaderboard

- Fixed Y bug to Leaderboard.

## Counter

- Added Z feature to Counter.

# Package changes

## GraphQL

- Added X query to GraphQL package.

# App changes

## React 18 example

- Added X test to React 18 example.

## Storybook

- Added Y story for Time Series.

Closed in favor of https://github.com/propeldata/ui-kit/pull/99


fix: download attachment with the filename

Use the original file name of the attachment when downloading it instead of 1, 2, 3...

oops sorry about being late on this one

Looks good!

oops sorry about being late on this one

No big deal, thx for your time.

Cheers. It's out in 1.17.2


Start installing packages as they become ready

Previously, we would wait for everything to be fetched and expanded, but this change allows us to start installing concurrently with fetches.
This assumes that we must install in the exact order returend by ResolveWorld, but we can likely improve upon this.

Before, you see we have to wait for everything to finish expanding before installing any packages:

After, we have overlapping fetch, expand, and install:


Data doesn't update [Vue 3]

I update the data every second, but the chart doesn't refresh .

@skalinichev
here my code, uplot component is declared globally.
<template>
  <q-page>
      <q-no-ssr>
        <UplotVue
          :data="udata"
          :options="opts"
        />
      </q-no-ssr>
  </q-page>
</template>

<script lang="ts">
import { defineComponent, ref, reactive, computed } from 'vue';
import { socket } from 'boot/socket'
import 'uplot/dist/uPlot.min.css';

export default defineComponent({
  name: 'PageIndex',
  components: {  },
  setup() {
    const udata = reactive<Array<Array<number>>>(
      [[Date.now()-3,Date.now()-2,Date.now()-1,Date.now()],[1,3,4]]
    )

    socket.on('name/hola', (msg: {data: Array<number>}) => {
      udata[0].push(msg.data[0])
      udata[1].push(msg.data[1])
    })

    let opts = {
      title: 'My Chart',
      id: 'chart1',
      class: 'my-chart',
      width: 300,
      height: 200,
      series: [
        {},
        {
          // initial toggled state (optional)
          show: true,

          spanGaps: false,

          // in-legend display
          label: 'RAM',
          value: (self: unknown, rawValue: number) => '$' + rawValue.toFixed(2),

          // series style
          stroke: 'red',
          width: 1,
          fill: 'rgba(255, 0, 0, 0.3)',
          dash: [10, 5],
        }
      ],
    };

    return { udata, opts }
});
</script>

Oh, I see. Mutating object/array properties is not supported due to Vue limitation, see also - https://github.com/vuejs/vue/issues/2164 You have to create the new object/array property for the library to detect the changes, see how it's done in the uplot-vue3-example.tsx example.
So it's a won't fix I'm afraid, at least not until Vue fixes the watching API or someone comes up with a solution how to track object mutation changes.
Maybe it's worth adding a limitation section to the Readme, will probably do that later.

Hi, sorry to reopen this issue,
I'm quite new regarding Vue 3 and this library but i don't understand why not using the deep: true parameter of watch doesn't solve the mutability detection problem of data array (and also options if you want to go farther).
(I'm currently trying to create a new telemetry UI working in realtime but i face some GC problem link to the continuous use of slice or copy and i think maybe allowing mutability might solve it.)

Well this library relies on the fact that previous and current values in watcher will be different. Currently that's not the case - https://vuejs.org/api/reactivity-core.html#watch. quotation: "Note in deep mode, the new value and the old will be the same object if the callback was triggered by a deep mutation". But if one doesn't use the deep mode the changes will not be detected at all, since props are objects.
Therefore we have to pass over new instances of data/options to make it all work.
Having said that I'm not a Vue expert. If you know a way to make it work w/o affecting performance drastically, patches and even suggestions are more then welcomed!


Fix checkbox icon pseudo element (fix #68)

[nextui]/[checkbox]
TASK: Small Checkbox is not rendering well #68
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Only
[ ] Refactor

Description, Motivation and Context
I've add a new css line for pseudo element checkbox icon to prevent a bad rendering of the lines that creates the checkbox ticket. Keeping the same look and feel that before.
Screenshots - Animations

Thank you @felipetodev! I'm going to check it out!  🙌🏻

Codecov Report

Merging #69 (0a8e173) into main (612425e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #69   +/-   ##
=======================================
  Coverage   86.73%   86.73%
=======================================
  Files          93       93
  Lines        1546     1546
  Branches      525      525
=======================================
  Hits         1341     1341
  Misses        200      200
  Partials        5        5

Impacted Files
Coverage Δ

packages/nextui/src/checkbox/checkbox.tsx
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


Update contract deploy tools dependency version

Related to: trustlines-network/project#631

Merge by successful CI and optimistic approval by Ralf.


unresponsiveness observed sometime while using app mention

(Filling out the following details about bugs will help us solve your issue sooner.)
Reproducible in:
pip freeze | grep slack
python --version
sw_vers && uname -v # or `ver`

The slack_bolt version
slack-sdk==3.26.1
slack_bolt==1.19.0
Python runtime version
python 3.12
OS info
Linux ubunto
Steps to reproduce:
(Share the commands to run, source code, and project settings (e.g., setup.py))

first step while we run our app is calling the app_mention function

@app.event("app_mention")
def mention_handler(body, say, ack):

    ack()

    print(f"the body event text is : {body['event']['text']}")
    thread_ts = body['event']['ts']
    print(thread_ts)

    jsonpath_expr = parse("$.event.blocks[*].elements[*].elements[*].text")
    for reply_data in jsonpath_expr.find(body):
        print("*** message is " + reply_data.value)
        msg = reply_data.value

        # Post a temporary message saying "I am working on your request!.."
        try:
            working_message = client.chat_postMessage(
                channel=body['event']['channel'],
                text="Stay tuned, I'm working on your request... :hourglass_flowing_sand:",
                thread_ts=thread_ts
            )
            # Extract the timestamp of the working message
            working_message_ts = working_message['ts']
            print(working_message_ts)
        except SlackApiError as e:
            print(f"Error posting working message: {e.response['error']}")
            return

        # Make the API request and get the actual response
        response = send_post_request(msg, api_url)
        print(f"response returned from send post request {response}")

def send_post_request(msg_value, api_endpoint):
    api_url = api_endpoint

    # Payload for the POST request
    payload = {
        "query": msg_value,
        "channel": "#",
        "workflow": "#"
    }

    headers = {
        'Content-Type': 'application/json'
    }

    response = requests.post(api_url, json=payload, headers=headers, verify=False)

Expected result:
We expect that when we mention or call the bot using @bot_name and ask a query, it should reply to all messages. For example:
Message: @botname hello
Reply: chat_postMessage in the same thread -> Hello, my name is ...
Actual result:
Message: @botname hello
no replies sometime
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Hi @SnghDaman, thanks for asking the question.
It seems your code has a few print statements. When you mention the bot user, do you observe the print outputs on your console? If not, your app_mention event subscription might not be properly configured (or re-installing the app might be necessary if you haven't done it). If you see the outputs but the chat.postMessage API call is missing, your code might not be working as expected for some reason.
If you mean some of the mentions are ignored by your app, there are a few possibilities:

If you're using Socket Mode, there might be other processes that you no longer use and they may still be receiving events; to resolve this, you can revoke the app-level token and create a new token for your current process.
If you're using Request URL and the web app has a few instances, please double-check if all the instances are up-to-date (meaning the latest code is deployed to all).

I'd recommend narrowing down the possible cause by checking the request logs to your app, enabling debug-level logging, and adding more debug prints. During the debugging process, please feel free to ask questions whenever you find something unclear or unexpected on the Bolt framework side. We are unable to assist with your infrastructure settings or app settings, but we're happy to share information about this SDK!

Thank you so much, @seratch. We reinstalled our app but hadn't revoked the app-level token initially. After refreshing the app-level token, everything worked smoothly. However, I have one question: when we send multiple questions to our application simultaneously, we see the temporary message getting posted for only one question rarely, but the API endpoint response doesn't come through, and nothing appears in the app-level logs. How can we rectify such issues?

If you mention the bot twice, you will receive two event delivery for sure and usually there is no race condition. Our question seems to be associated to how you implement your app.

i have mentioned the bot about 10 times in 10-15 secs and observed like out of 10 one message would shows me temporary message as per the above code i shared like ("stay tuned, working on your request"). but doesn't get a response from the llm api, i can rectify this at my end . but at least i should see that temporary message logged in the app logs, so does it have to do anything with slack sdk app_mention event like the rate limit or something?

does it have to do anything with slack sdk app_mention event like the rate limit or something?

No, I don't think so. This level of traffic is totally fine. I guess some parts of your code might be causing the unexpected behavior.

thanks @seratch , also how many concurrent messages this app would handle at one time, can you please tell?

If your app receives other events at a high volume, this rate limit may affect it:

Event deliveries to your server via the Events API are rate limited to 30,000 deliveries per workspace per hour.
https://api.slack.com/apis/rate-limits#events

If your app subscribes only to app_mention events, I am sure that there is no limit for concurrency.

Awesome thanks for the help

Le me close this issue now, but if you have any questions about the SDK, please feel free to write in at any time!


support for other message formats other than the default uint32(0)

https://github.com/vcabbage/amqp/blob/ccafaa7153e8efde1caf028aae0990dea70de06c/client.go#L274
One such example for non-default message formats is sending batch messages in Azure Service Bus. The following message format is used in the Java lib.
public static final int AMQP_BATCH_MESSAGE_FORMAT = 0x80013700; //<PHONE_NUMBER>L;

via here
Perhaps, send should support TransferOption variadic arguments. Thoughts?

Would it make sense to add a Format field to the Message struct?
What is the format used for? The spec doesn't go into much detail about it.

I think it would make sense on the message.
I don’t know what else message format is used for. As you said, there not much to grok from the spec. I’ll ask amongst messaging folks and ping back if I get a better answer.

Looking at the usage in the Java lib, it seems the AMQP_BATCH_MESSAGE_FORMAT code might be a workaround for proton-j not supporting multiple data sections. This lib doesn't currently support that either, but only because I didn't need that when I first implemented it and I haven't decided on a good way to expose that on the message type. Would multiple data section support be useful to you?
https://github.com/Azure/azure-event-hubs-java/blob/c1365b956f2b0bf9f65db92385a6d433f5dba28c/azure-eventhubs/src/main/java/com/microsoft/azure/eventhubs/impl/MessageSender.java#L273-L305

That is precisely what I'm implementing right now, so yes, it would be useful. If you feel like multiple data section support is something you'd like to expose from this library, I'll gladly use it.


Update to support .NET 5

Toolchain updates are needed
https://github.com/dotnet/docs/issues/18875

Would be great, just stumbled across this when prototyping https://github.com/icsharpcode/ILSpy/tree/christophwille/wwit-net5

Would be great, just stumbled across this when prototyping https://github.com/icsharpcode/ILSpy/tree/christophwille/wwit-net5


fix(accessibility): Changed colors of links and operator header copy

I changed the colors of the links to a darker blue and the operator header copy to white to fix color contrast errors.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #217   +/-   ##
=======================================
  Coverage   74.49%   74.49%
=======================================
  Files          10       10
  Lines         149      149
  Branches        7        7
=======================================
  Hits          111      111
  Misses         38       38

Continue to review full report at Codecov.

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

Ooooh that is my fault. I thought I put the space in, sorry.
On Wed, Dec 20, 2017 at 2:25 PM, Gois<EMAIL_ADDRESS>wrote:

@guilhermejcgois commented on this pull request.
In src/app/operators/_operator-theme.scss
https://github.com/ReactiveX/rxjs-docs/pull/217#discussion_r158112630:

@@ -2,7 +2,7 @@

$operator-border: #f3f3f3;
$operator-active: #62757f;
-$link-color: #2196f3;
+$link-color:#0a6fc2;
Not a big deal, but isn't better to keep the space between colon and #?
Just a cosmetic point
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ReactiveX/rxjs-docs/pull/217#pullrequestreview-84869854,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGfAcqMQ-RKp4qI1nLqDJw8ZTzcJh6LMks5tCV4PgaJpZM4RIw5S
.

Ooooh that is my fault. I thought I put the space in, sorry.

Glad to help

I put that fix in @guilhermejcgois

@chrisdemars - Nice job. Can you please squash your commits and push ? Thank you !

I don't know how to squash commits @ashwin-sureshkumar. I have never had to do that before.

Thanks for the merge


Move Roku.roku_remote_tool <IP_ADDRESS>7 to Roku.RemoteTool <IP_ADDRESS>7

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run

This package uninstalled itself during manual validation.

This package uninstalled itself during manual validation.

Interesting.


"stack level too deep" on "rake db:create:all" in version 1.3.x

Version 1.2.x passes, but 1.3.x fails.
1.2.x
http://www.redmine.org/builds/logs/build_2.3-stable_mysql_jruby-1.7.2_109.html
1.3.x
http://www.redmine.org/builds/logs/build_trunk_mysql_jruby-1.7.6_1612.html
$ bundle exec rake ci --trace
** Invoke ci (first_time)
** Execute ci
** Invoke ci:setup (first_time)
** Execute ci:setup
** Invoke tmp:clear (first_time)
** Invoke tmp:sessions:clear (first_time)
** Execute tmp:sessions:clear
** Invoke tmp:cache:clear (first_time)
** Execute tmp:cache:clear
** Invoke tmp:sockets:clear (first_time)
** Execute tmp:sockets:clear
** Execute tmp:clear
** Invoke log:clear (first_time)
** Execute log:clear
** Invoke db:create:all (first_time)
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:create:all
rake aborted!
stack level too deep
/home/xxxx/.rvm/gems/jruby-1.7.4/gems/activerecord-3.2.15/lib/active_record/railties/databases.rake:184:in `local_database?'
/home/xxxx/.rvm/gems/jruby-1.7.4/gems/activerecord-3.2.15/lib/active_record/railties/databases.rake:52:in `(root)'
org/jruby/RubyHash.java:1375:in `each_value'
/home/xxxx/.rvm/gems/jruby-1.7.4/gems/activerecord-3.2.15/lib/active_record/railties/databases.rake:38:in `(root)'
org/jruby/RubyProc.java:255:in `call'
/home/xxxx/.rvm/gems/jruby-1.7.4/gems/rake-10.0.4/lib/rake/task.rb:246:in `execute'

I have the same Problem using version 1.3.17 and JRuby-Version 1.7.12.
Version 1.2.9 is working fine.
There is no jdbc.rake under "lib/rasks".
Here's my stacktrace:
-- create_table(:users)
SystemStackError: stack level too deep
from ---/vendor/bundle/gems/activerecord-3.2.19/lib/active_record/migration.rb:438:in say_with_time' 	from /opt/---/jruby/jruby-1.7.12/lib/ruby/1.9/benchmark.rb:280:in measure'
from ---/vendor/bundle/gems/activerecord-3.2.19/lib/active_record/migration.rb:438:in say_with_time' 	from ---/vendor/bundle/gems/activerecord-3.2.19/lib/active_record/migration.rb:458:in method_missing'
from ---/db/migrate/20130107165555_create_users.rb:3:in change' 	from (irb):60:in evaluate'
from org/jruby/RubyKernel.java:1101:in eval' 	from org/jruby/RubyKernel.java:1501:in loop'
from org/jruby/RubyKernel.java:1264:in catch' 	from org/jruby/RubyKernel.java:1264:in catch'
from ---/vendor/bundle/gems/railties-3.2.19/lib/rails/commands/console.rb:47:in start' 	from ---/vendor/bundle/gems/railties-3.2.19/lib/rails/commands/console.rb:8:in start'
from ---/vendor/bundle/gems/railties-3.2.19/lib/rails/commands.rb:41:in (root)' 	from org/jruby/RubyKernel.java:1065:in require'
from script/rails:6:in `(root)'


Does it work?

Hi just a short question. Does this generator work?
I tried out once and got an error. And on github it sais build failed?
Thanks in advance

It's because the module generator-jhipster-entity-audit requires JHipster v2.26.3 or v2.27.0, which is not out yet. You have 2 solutions :

wait
use the latest master branch of JHipster (like all JHipster contributors)

Yes plz follow what pascal said above

All Right thank you guys for the quick answer :)


Export to vector drawable when possible (primarily action bar/tab, and generic icons)

because now it's supported on various Android versions.

that's a good idea, but will take a bunch of new code... i hope to revamp the asset studio at some point, this would be a great feature request for that time

You could export to SVG, so that designers could also modify the files easier.

Explored this; it's basically not feasible to export vectors for any foreground images except clipart. I think it's probably better to use the Android Icon Animator tool.
See also #121 and #123

Why not ?
You can already convert SVG files to VectorDrawables, like on Android Studio.
When you create the image files from the selection (not from image files of the user), it uses SVG files too, no?

Yes it would be possible for clipart, but not custom uploaded images, or text. I'll actually re-open and re-frame the request.

Text is not possible only because VectorDrawable doesn't support it (sadly), right?
Just like it doesn't support many other SVG features, like gradients...
But can you allow to export to SVG (not VectorDrawbles) the text types ?

text isn't possible because we'd need to convert the text to paths, and this isn't possible in the browser AFAIK (you can't extract shapes from a web font).

But fonts are by definition vectorized, no? So that no matter how you resize them, they will keep being sharp and nice...
There are even tutorials for this. Here's an example:
http://www.graphic-design-employment.com/adobe-illustrator-how-to-convert.html

I'm not sure I follow. For a web-based tool to generator vector icons from text that uses a web font, the web-based tool needs to somehow have access to the font's path data. This isn't feasible right now. If you really want a vector drawable where the shape is a letterform from a web font, the best option is to download the font, use it in something like Illustrator or Sketch, convert the type layer to outlines ('expand' in Illustrator), export to SVG, and convert to vector drawables using any one of the popular SVG-to-VD converters (e.g. the Vector Asset Studio in Android Studio, or the Android Icon Animator tool, or something else)

It's not possible to get the font's paths? So how does it get drawn? Only by black-box commands of the web browser's engine?

Yes take a look at imagefield.js if you're interested.

OK sorry. Just not my field, so I sometimes don't know what is possible and what's not on a web browser.
It's too bad though. Isn't it even possible to handle fonts that are inside the website? Like Roboto ?


utils: trace: Fix traces number increasing in waitForCondition().

Hi.
This PR removes the computing of total traces number from waitForCondition().
So, it fixes #525.
Best regards.

Thank you for your suggestion and review.
When I wrote the last version of it I really did not like to have to first deal with the already existing traces then do the exact same code in the event loop.
I will try to factorize this.

Thank you a lot for your thorough reviews!
Let's :crossed_fingers: the new code will catch all cases and we will not have to deal with it in 3 months.


Update package.json

What were done?
I did update all package outdated, except ember-cli-qunit, because it break the tests.
I removed jshint, it is deprecated on stack ember-cli and I added eslint on project with eslint:recommended.

Great!

All green :tada:

:bomb:

I'm looking forward to see this merged. :+1:

False/Positive :confused:


Viewbinding welcome activity

Description
A small step toward completing #4664. Attempt at converting the WelcomeActivity to use view binding.
What changes did you make and why?
I just followed the example as best as I could.
I ended up adding a parameter to the finishTutorial method in WelcomeActivity.java, so now it's finishTutorial(View view). I don't know why, but pager.setOnClickListener(this::finishTutorial) was giving an error if I didn't add that parameter. I updated the call to finishTutorial in WelcomePagerAdapter.java accordingly.
Tests performed
Manually tested ProdDebug on Android 9.0 with API level 28 (I'm not sure how to run a suite of automated tests if that's how we do it).

Note: Please ensure that you have read CONTRIBUTING.md if this is your first pull request.

Oh sorry, I didn't realize that it breaks tests, can you please fix the test first @ThomasLatham :(
        Caused by: java.lang.AssertionError at WelcomeActivityUnitTest.kt:48

Yeah, I'll get to work on that

I'm having trouble with something. In src/androidTest/java/fr/free/nrw/commons/DepictionSearchTest.kt, I'm getting an error from
Espresso.onView(ViewMatchers.withId(R.id.spinner_description_languages))                 .perform(ViewActions.click()) Espresso.onView(ViewMatchers.withId(R.id.spinner_description_languages)).perform(ViewActions.click());
where spinner.description.languages is an unresolved reference. I've tried invalidating the cache and restarting as well as cleaning the build, but that hasn't helped. I get the same error on the master branch as well.

It looks like an ID was changed in the layout, and the instrumented Espresso test wasnt updated.  To get things compiling you will want to change
-    Espresso.onView(ViewMatchers.withId(R.id.spinner_description_languages))
+    Espresso.onView(ViewMatchers.withId(R.id.description_languages))

Similar changes in a couple of other spots - swap R.id.spinner_description_languages to R.id.description_languages

It looks like things were fixed such that the tests are passing now, so I just fetched upstream and merged upstream/master, then pushed

Hey @ThomasLatham , is this PR still active?:)


New version: Task.Task version 3.35.0

Pull request has been created with komac v2.1.1 :rocket:

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

Automatic Validation ended with:

2024-02-29T01:32:12.1197292Z ##[error] Manifest Error: Required field missing. [NestedInstallerFiles] Manifest Error: Required field missing. [NestedInstallerFiles] Manifest Error: Required field missing. [NestedInstallerFiles]

(Automated response - build 853.)


Resolve AWS error by creating a zip bundle in Ubuntu

AWS Device Farm does not support for opencv library


Compatible to the table format in R

Such as accepting tables without primary_key.

I think the table format in BioTCM is perfect.
We should make R compatible to BioTCM instead.


Could I disable default retry policy?

I have noticed that table service client will automatically retry by default.
But I don't want it to retry if "if-match" doesn't match as in this case, retry is useless.
So is there any way to disable retry policy?

Sorry for disrupting, I have found solution.

For others who meet the same issue:
There are some built-in retry policies inside azure.storage.common:
from .retry import (
    ExponentialRetry,
    LinearRetry,
    no_retry,
)

So I import no_retry from it and then manually override default one:
from azure.storage.common import no_retry
...
table_service = TableService(...)
table_service.retry = no_retry


Fix passing of silence_logs

Fixes #751
Developers certificate of origin

[X] I certify that this contribution is covered by the MIT license as defined in our LICENSE and adheres to the Developer Certificate of Origin.

Codecov Report

Merging #757 (14a9189) into main (db1e1b7) will increase coverage by 23.02%.
The diff coverage is n/a.

Additional details and impacted files


unable to pull jfrog artifactory

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

No information provided or steps to replicate - Closing


Links in story book

Who is this for?
People who want to see how accessible our links are.
What is it doing for them?
Shows them how accessible our links are.

I haven't touched the component, so going to get this in.


Add an option to generate graph URIs without hashes

Both in the nano publication code, but also from the command line.

Fixed in  6eae1be


loadEnv supports shell environment variables

Description
We deploy front-end apps on platform like Netlify or Amazon Amplify. These platforms doesn't support customize .env files, unless you commit it to git. Instead, you can define environment variables on these platform. They will be passed to build system, like:
NODE_ENV=production VITE_APP_NAME=Foobar npm run build

However, when using loadEnv() in vite.config.ts, it only reads .env files while ignores all env variables from shell environment.
I have to manually merge process.env and loadEnv(), and filter with VITE_ prefix.
Suggested solution
loadEnv merges process.env and .env files.
Alternative
Some other function provide the same ability.
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

loadEnv is used for loading env files. I'm not sure why you need to merge the env in process.env and env files manually. 🤔

@fi3ework for example, when using vite-plugin-ejs, I want to inject some environment variables to index.html. The environment variable comes from .env file in localhost development environment. But when deployed on Netlify, it only supports shell environment variables (process.env). In vite.config.ts, I have to consider two scenario:
import {defineConfig, loadEnv} from "vite";
import {ViteEjsPlugin} from "vite-plugin-ejs";

const env = loadEnv(process.env.NODE_ENV, process.cwd());

export default defineConfig({
  plugins: [
    ViteEjsPlugin({
      ...env,
      ...process.env,
    }),
  ],
});

I think process.env is included in the result.
https://stackblitz.com/edit/vitejs-vite-9u2f1e?file=vite.config.js
VITE_FOO is passed from CLI and does exist in the result.

My mistake. I used some env not prefixed with VITE_

can this work with a production application?


Correct untar padding removal when last part has size = 512

Motivation
During untar, the readable stream will strip padding from last piece of the entry. But it will strip whole data when desired size of the piece is 512.
Obvervation
For the following test:
Deno.test('UnTarStream() with size equals to multiple of 512', async () => {
  const size = 512 * 3
  const data = Uint8Array.from({ length: size }, () => Math.floor(Math.random() * 256))

  const readable = ReadableStream.from<TarInput>([
    {
      pathname: 'name',
      size,
      iterable: [data.slice()],
    },
  ])
    .pipeThrough(new TarStream())
    .pipeThrough(new UnTarStream())

  for await (const item of readable) {
    if (item.readable) {
      const buffer = new Uint8Array(data.length)
      let offset = 0
      const reader = item.readable.getReader()
      while (true) {
        const { done, value } = await reader.read()
        if (done) {
          break
        }
        buffer.set(value, offset)
        offset += value.length
      }
      assertEquals(buffer, data)
    }
  }
})

current impl. of untar will occur an error:
UnTarStream() with size equals to multiple of 512 => ./tests.ts:316:6
error: TypeError: Failed to execute 'enqueue' on 'ReadableByteStreamController': Argument 1 length must be non-zero
                    controller.enqueue(value)
                               ^
    at Module.makeException (ext:deno_webidl/00_webidl.js:91:10)
    at ReadableByteStreamController.enqueue (ext:deno_web/06_streams.js:5880:20)
    at Object.pull (file:///.../tar-stream/untar.ts:220:32)

this is caused by codes below:
https://github.com/BlackAsLight/tar-stream/blob/5f07d4e3a30f539e73ac8855822da4b77007e22a/untar.ts#L193-L199
In line 196, when size can be divided by 512, result of size % 512 will be 0
Solution
The simple solution is add a condition to line 195:
-                    if (!x.done && i-- === 1) {
+                    if (!x.done && i-- === 1 && size % 512 > 0) {
                       x.value = x.value.slice(0, size % 512) // Slice off suffix padding.
                     }

After applying this patch, the test above will pass.

Everything looks good to me, I'll bump the version and merge when I have access to a desktop to test the changes I've made actually work. I should probably set up a GitHub action to run the tests on these pull requests.


Idea: notifications for your ln address

I have an idea - since users can now associate their e-mail with their lightning address in Alby, could we have the option for users to enable notifications? So they would get an automated e-mail each time they receive sats to their ln address?

can you open that issue in the getalby.com repo?

Closed in favor of: https://github.com/getAlby/getalby.com/issues/91


Group node while initial drag and drop

Hi @jerosoler,
I was trying to group some node while drag and drop, which I can drag and move or delete all at once.
I tried with the below example of yours(https://github.com/jerosoler/Drawflow/issues/423#issuecomment-1131533142) here grouping happens on draging into the box. Is there any way to implement this while initial drag and drop itself

You could listen for the nodeCreated event and do the same thing that is done in the nodeMoved event.
I think that could work with that.

Thanks @jerosoler. Its works


ParquetReaderBenchmark is broken

Bug description
Error message
libc++abi: terminating due to uncaught exception of type facebook::velox::VeloxUserError: Exception: VeloxUserError
Error Source: USER
Error Code: INVALID_ARGUMENT
Reason: Field schema must not be empty.
Retriable: False
Expression: schema != nullptr
Function: validateSchemaRecursive
File: /Users/yingsu/repo/velox2/velox/velox/dwio/parquet/writer/Writer.cpp
Line: 145
Stack trace:
Stack trace has been disabled. Use --velox_exception_user_stacktrace_enabled=true to enable it.

Possibly due to #6074, in which the types were directly casted from primitive Type to RowType
System information
N/A
Relevant logs
No response

cc @kewang1024 @qqibrow

Fix is at https://github.com/facebookincubator/velox/pull/8274

closed by https://github.com/facebookincubator/velox/pull/8274


Migrate Engine Overview page to shadcn/tailwind - Part1

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR focuses on refactoring the CreateBackendWalletButton and ImportBackendWalletButton components to use a Dialog UI instead of Modal, enhancing the user interface and experience. It also improves form handling and error management.
Detailed summary

Changed tooltip in FormFieldSetup to be optional.
Replaced Modal with Dialog in CreateBackendWalletButton and ImportBackendWalletButton.
Updated state management for modal visibility.
Enhanced form submission handling with promises and toasts for success/error notifications.
Introduced FormFieldSetup for input fields in both buttons.
Removed unused imports and adjusted styling in components.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#4926  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @MananTank and the rest of your teammates on  Graphite


Switch (back) to Einfeldt wave-speed estimate from paper

Due to the breaking change in https://github.com/trixi-framework/Trixi.jl/pull/1708
the wave speed estimate now being used ("true" naive) in the 1D HLLC flux for MHD is actually not the desired one (Einfeldt).
This change takes care of this.

Downstream CI fails due to https://github.com/JuliaVTK/ReadVTK.jl/issues/49. I'll merge this PR


Update Readme to include 'lsof' aptfile

It took me hours to figure this out so I want to help anyone else having trouble getting this running on Heroku.
Kimurai uses the lsof command, so you need to install the apt heroku buildpack to support lsof. Follow the directions described on the buildpack page. You basically need to create an Aptfile with the single line lsof and include it in the root folder along with adding the heroku buildpack. Can you add this to the docs? Thanks!

Hi @jcohenho
How can I do that? I stuck with this too and can't figure it out.

@jcohenho I have the same issue, can you give us more details on how you solved this? Thanks

@lo-bi @muhammedtufekyapan I gave details above in how to solve it, which parts are you having trouble with?

Yes, after reading it 10 times I figured it out :)
it works for me as well, spent the whole day on it.. Thanks!

@lo-bi I updated my original comment to make it more clear.

i have faced a pretty much simlilar issue but on Archilinux so i had to install lsof from AUR repositories
i ran the below command
yay -S lsof

hello, guys, you really do me a big big help, I spent long time to resolve the heroku + chrome + selelium web driver.
and you did the right job.


Failed to create user with permissions using CLI

After running influxdb (version 2.1.1) and trying to create a user with read and write permission to some buckets using CLI (2.2.1) (https://docs.influxdata.com/influxdb/cloud/reference/cli/influx/v1/auth/create/), the created user does not have the necessary permissions.

command executed:  influx v1 auth create --username github --password github_pw --token token_influxdb --read-bucket 742a8eb3969cdf13 --read-bucket 742a8eb3969cdf13 --read-bucket fdc924dc99d5b18f --write-bucket fdc924dc99d5b18f
Step by step:
1- Create a  database with more than one bucket.
2- Check the ID for each bucket
3- Create an user using the CLI ((https://docs.influxdata.com/influxdb/cloud/reference/cli/influx/v1/auth/create/)) for more than one bucket
4- Check the permissions for the created user

Same here, this is a major issue! We cannot create v1 auths with permissions for multiple buckets, the result is as reported: multiple permission entries for the same bucket.

Fixed by https://github.com/influxdata/influx-cli/pull/328, and will be included in the next release

@DStrand1,  do you have any plans to create a new release version with this bug fix?


Add assume role support

Assume role from roleArn. Fix Tests.

@shbodya thanks for your contribution!

@shbodya Hi there, it seems the tests are failing now, could you take a look please?

@Haarolean Hi there.
As far as I see there AWS Credentials missing in the CI pipeline.
For the local build, I use the command provided in readme with my own AWS secret and access keys.
Can you please check if there are some AWS keys provided to CI in Action secrets, or Action workers have instance profile attached (if you use self managed workers).

mvn clean test -Daws.accessKeyId="AKI........P6" -Daws.secretAccessKey="nE/Q.............Ty"

[INFO] Scanning for projects...
[INFO]
[INFO] -------------------< io.kafbat.ui.serde:serde-glue >--------------------
[INFO] Building kafbat-ui-serde-glue 1.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ serde-glue ---
[INFO] Deleting /Users/bohdan/Documents/homelab/ui-serde-glue/target
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ serde-glue ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /Users/bohdan/Documents/homelab/ui-serde-glue/src/main/resources
[INFO]
[INFO] --- compiler:3.13.0:compile (default-compile) @ serde-glue ---
[INFO] Recompiling the module because of changed source code.
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 2 source files with javac [debug target 11] to target/classes
[WARNING] location of system modules is not set in conjunction with -source 11
not setting the location of system modules may lead to class files that cannot run on JDK 11
--release 11 is recommended instead of -source 11 -target 11 because it sets the location of system modules automatically
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ serde-glue ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /Users/bohdan/Documents/homelab/ui-serde-glue/src/test/resources
[INFO]
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ serde-glue ---
[INFO] Recompiling the module because of changed dependency.
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 1 source file with javac [debug target 11] to target/test-classes
[WARNING] location of system modules is not set in conjunction with -source 11
not setting the location of system modules may lead to class files that cannot run on JDK 11
--release 11 is recommended instead of -source 11 -target 11 because it sets the location of system modules automatically
[INFO]
[INFO] --- surefire:3.0.0-M5:test (default-test) @ serde-glue ---
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running io.kafbat.ui.serde.glue.GlueSerdeTest
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticMDCBinder".
SLF4J: Defaulting to no-operation MDCAdapter implementation.
SLF4J: See http://www.slf4j.org/codes.html#no_static_mdc_binder for further details.
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.494 s - in io.kafbat.ui.serde.glue.GlueSerdeTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:08 min
[INFO] Finished at: 2024-11-04T21:13:53+02:00
[INFO] ------------------------------------------------------------------------

I doubt we should use any real credentials for unit tests. Perhaps the related parts should be mocked


Perper Test: library for unit testing Perper applications

Introduce a library for unit testing of Perper application. One approach is with creating pre-defined data for simulating stream / module interactions. This data can be generated in a pattern as VCR gem:

Live mode execution -> in this mode the test has direct access to remote ignite cluster (e.g. dev cluster) and interacts with it. During the interaction, recording is generated for the notifications and the ignite thin client cache responses. This recordings are saved for later use.

Playback mode execution -> in this mode the test executes without any remote access. All notifications and responses are simulated (played back) from the recordings in step 1.

Proposal after discussing the topic:

Unit testing.
Mocks of all needed interfaces such as IState, IContext, etc. so that the unit tester can pass them to the tested function.
Mock IContext implementation allows for registering additional functions for CallFunctionAsync and StreamFunctionAsync.
Mock IStream implementation does not necessarily need to support filtering and replaying in the first version.
Could allow iterating created streams/agents.
Recording of results from a real system in order to replay them in the unittested environment could be added at a later point.
Sample code:
public async Task Test_Sample()
{
    var context = new MockContext();
    context.RegisterFunction("CalledFunction", (object? _params) => 10);

    var parameters = PerperHelper.ConvertParameters<dynamic>(new { Count = 5 });

    var result = await TestedClass.TestedFunction(parameters, context, default(CancellationToken));

    Assert.AreEqual(result, 5 * 10);
}
// Elsewhere
[FunctionName("TestedFunction")]
public async Task<int> TestedFunction(dynamic parameters, IContext context, CancellationToken cancellationToken)
{
    var sum = 0;
    for (var i = 0; i < parameters.Count; i ++)
    {
        sum += await context.CallFunctionAsync("CalledFunction", null);
    }
    return sum;
}

Integration testing.
Provides unmocked instances of IContext, IState, etc., and runs a WebJobs host, so that the testing framework can call into Perper.
Might allow for registering fake agents and functions and iterating created streams or agents, similar to unit tests above.
Could easily replace the current entrypoint system that uses PERPER_ROOT_AGENT.
Sample code:
public async Task IntegrationTest_Sample()
{
    var environment = await PerperEnvironment.StartWithWebHost();

    var result = await environment.Context.CallFunctionAsync("TestedFunction", new { Count = 5 });

    Assert.AreEqual(result, 5 * 10);
}
// TestedFunction as in previous sample

Note: While (1) was implemented in 0.6, the code was subsequently dropped in the 0.7 refactor, and is still missing in 0.8.
However, (2) should be pretty much implemented with 1308db739f1de2720d9fdd0eab3ea600ed822faf.
@branimirangelov @aph5nt ~ I think I spotted some discussions in the Apocryph Discord that (1)--unit testing with mocked state, stream, and context--might not be actually necessary, due to the interaction with Ignite being the main thing one would like to test. Am I right in thinking that?

@bojidar-bg - this is correct. For Perper apps it seems that component integration test approach using fabric as a medium is a better fit.

Sweet! In this case we pretty much have all that's needed implemented for 0.8 with the PerperStartup changes.
Tagging for documentation as we would want to have a sample for this eventually. :smiley:


RGBW device support

The problem
Domoticz MQTT-AD defaultly sends this payload for RGB devices:
{"color":{"b":77,"g":132,"r":255},"state":"ON"}
It also contains a "hack" to send this payloads for Fibaro FGRGBW:
"value": {"red": 255, "green": 132, "blue": 77}}
But none of the above will work with Shelly as it needs such payload to operate:
{ "mode": "color", "turn": "on","red": 0,"green": 0,"blue": 255,"gain": 100,"white": 0}
See Shelly docs: https://shelly-api-docs.shelly.cloud/gen1/#shelly-bulb-rgbw-mqtt
For adding Shelly RGBW device support, Domoticz MQTT-AD has to implement these at least partially:
rgbw_command_topic, rgbw_command_template, rgbw_state_topic, rgbw_value_template
See HA docs: https://www.home-assistant.io/integrations/light.mqtt/

https://github.com/domoticz/domoticz/issues/5896


How to get the return value of executeJS?

I just need C# get the value from client like
await var clientValu=await ExecuteJs("myfunwithval()");
is it possible?

If you want to pass the result of myfunwithval() to your action, you have to call your action with it as a parameter (docs).
public class Content : HydroComponent
{
    public void Update(string value)
    {
        // ...
    }
}

@model Content

  <button hydro-on:click="@(() => Model.Update(Param.JS("myfunwithval()")))">
    Update content
  </button>

By default it passes the value as a string, but when you have another type, you need to specify that explicitly:
public class Content : HydroComponent
{
    public void Update(int value)
    {
        // ...
    }
}

@model Content

  <button hydro-on:click="@(() => Model.Update(Param.JS<int>("myfunwithval()")))">
    Update content
  </button>

If you use it a lot in your view, you can add @using static Hydro.Param, so your call will be a bit simplified:
@using static Hydro.Param
@model Content

  <button hydro-on:click="@(() => Model.Update(JS("myfunwithval()")))">
    Update content
  </button>

In other words, in an action you can't get the result of your ExecuteJs call, because it will be executed later, when the whole response arrives to the client. So the only way to get values from the JS calls is to pass it to your action with parameters.

If I just want to read the value returned by the script when the page initializes, rather than actively triggering value retrieval with a click or other event, how should I do?

When you access your application, the whole page is rendered by the server and the final HTML is generated. At this point no JavaScript is executed, since it's pure Razor page. If you want to get some value from JavaScript expression at load, you would have to make additional call. Example:
@model MyComponent

 Model.Init(Param.JS("myfunwithval()")))">

In this way, Hydro will call your Init action with result of your JS call once window is loaded.
If you want to call your action once the component initializes (either page load, or just it showed on the page) you can use the following technique with some usage of alpine (x-init):
@model MyComponent

 Model.Init())" x-init="$nextTick(() => $dispatch('init'))">

I will probably add this part x-init="$nextTick(() => $dispatch('init'))" to Hydro core, so it's not needed to write it.
What kind of value you want to pass to your component?

`

//test.cshtm.cs:
public async Task Init(long v)
 {
}
`
Model.Init can't run.
public async Task Init(int v) or public async Task Init(string v)
is ok.

Ok, great. Will look into that long type. I will close the issue for now and create another one for introducing the init functionality.


ajax, encoded JSON

I'm sending encoded JSON to a swifter server using jQuery ajax from a web page. This was all working fine until I had to send a string with an "=" in it and it all fell apart with the string being split at the = with the = being removed. I'm pretty sure I'm fundamentally misunderstanding how this should work but I can't see how else I might receive encoded JSON. Any help appreciated, my knowledge is a bit thin at this point.
server code:
`
     self.Server.GET["/lightroom"] = { r in   // HttpRequest object.
       // sent string gets split at =, into  r.queryParams[0].0, r.queryParams[0].1, etc
       print( "GET \(r.queryParams[0].0)" )
        print( "GET \(r.queryParams[0])" )

        let theDic = JSON().Decode( r.queryParams[0].0 )

        print( "GOT" )

        Globals.LightroomConnection.Write( theDic! )

        return HttpResponse.RAW(
            200,
            "OK",
            ["XXX-Custom-Header": "value"],
            { writer in try writer.write([UInt8]("Lightrem says ta".utf8)) }
        )
    }

`
jQuery:
`
  $.ajax({
		url: "http://" + window.location.host + "/lightroom",
		data: JSON.stringify( {c: "aaa = bbb" ),
		success: function( returnedJSON ) {
			console.log( returnedJSON );
		},
		error: function(  jqXHR,  textStatus,  errorThrown ) {
			console.log( "Error: " + errorThrown )
			console.log( "Error Status: " + textStatus )
		}
	});`

Answering my own question, decoding r.path seems to be doing the job. Unless there's a better way?

I would switch to POST and pass the JSON as requests's body:
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>lightroom</title>
  <script src="https://code.jquery.com/jquery-2.2.4.js"></script>
</head>
<body>
  <script>
  $.ajax({
        url: "http://<IP_ADDRESS>:9080/lightroom",
        method: "POST",
        data: JSON.stringify({ key: "value" }),
        success: function( returnedJSON ) {
            console.log( returnedJSON );
        },
        error: function(  jqXHR,  textStatus,  errorThrown ) {
            console.log( "Error: " + errorThrown )
            console.log( "Error Status: " + textStatus )
        }
    });
  </script>
</body>
</html>

Of course. Thanks.


Make end to end tests work on CI (ubuntu)

As for now we are using angular built-in protector/jasmine/Selenium stack to tests if the playground of angular generated the correct elements with instant-meilisearch.
Unfortunately, these tests are not possible on ubuntu-latest as ChromeDriver is not installed.
We should find a solution to make the CI compatible with this tests as it ensures the most the working state of instant-meilisearch
[16:45:56] I/launcher - Running 1 instances of WebDriver
[16:45:56] I/direct - Using ChromeDriver directly...
[16:46:01] E/runner - Unable to start a WebDriver session.
[16:46:01] E/launcher - Error: WebDriverError: unknown error: Chrome failed to start: exited abnormally.
  (unknown error: DevToolsActivePort file doesn't exist)
  (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
  (Driver info: chromedriver=88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}),platform=Linux 5.4.0-1039-azure x86_64)
    at Object.checkLegacyResponse (/home/runner/work/instant-meilisearch/instant-meilisearch/playgrounds/angular/node_modules/selenium-webdriver/lib/error.js:546:15)
    at parseHttpResponse (/home/runner/work/instant-meilisearch/instant-meilisearch/playgrounds/angular/node_modules/selenium-webdriver/lib/http.js:509:13)
    at /home/runner/work/instant-meilisearch/instant-meilisearch/playgrounds/angular/node_modules/selenium-webdriver/lib/http.js:441:30
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
[16:46:01] E/launcher - Process exited with error code 100

see https://github.com/meilisearch/instant-meilisearch/pull/293/checks?check_run_id=1963073082

fixed by:  #409


Ensure html_attributes can be reliably used on all Components

Description
Some elements such as Button either do not implement generated_html_attributes or use their own such as attributes. This needs to be tidied so that we can use a consistent interface for common attributes such as id or testing handles such as data-kjb-element.

Shim uses of attribute:

[ ] Button
[ ] Checkbox
[ ] Choice
[ ] Dropdown.items
[ ] IconCard
[ ] LabelSecondaryButton
[ ] Label.secondaryButton
[ ] Link
[ ] NavLink
[ ] Nav.items and Nav.items[n].items
[ ] Radio
[ ] Tab
[ ] Tabs.items

Add generated_html_attributes:
TBD


Add Unit Test for transport.flattenConfigRequest

Resolves #318

Thank you for the contribution @cecobask . Sorry for the delay in reviewing!


Unbind Attributes after use

This pursue (and finishes, I presume) the work from previous pull request https://github.com/bkaradzic/bgfx/pull/1512 to make bgfx play nice with WebGL 2.0
In some cases, WebGL will produce errors because some attributes are still bound, but they are not bound to any buffers anymore.
This is due to bgfx not unbinding them after finishing with a program. This patch fixes it by always unbinding attributes when binding a new program, and the last bound program at the end of the draw loop.
I hesitated to add this behavior under #IF BX_PLATFORM_EMSCRIPTEN guards, but I assumed the performance would be more than negligible so it would not hurt to add it to the general path.
(Some reference of browser code enforcing this:
https://dxr.mozilla.org/mozilla-central/rev/a461fe03fdb07218b7f50e92c59dde64b8f8a5b0/dom/canvas/WebGLProgram.cpp#480)

Where do you update m_unboundUsedAttrib?

We use the same m_unboundUsedAttrib that were setup in bindAttributes. It's the same logic used by bindAttributesEnd except in reverse, if it equals Attrib::Count then we know they were bound.
They are only erased in bindAttributesBegin when the same program is used again, so it's safe to use it when unbinding it. Unless I'm mistaken, bindAttributesBegin cannot logically be called in between.


Multiplatform support

It would be super cool if this library can became multiplatform, as it can be used in Kotlin/Native projects to generate PDF from HTML.

Thanks for your comment. Until now nobody had a need for it, but I'll definitely look into it as it shouldn't be too hard.
Code-wise, almost nothing depends on JVM-specific things. Probably only docker-based tests will be a pain to run on macOS GitHub Actions runners.

Thank you very much for your response and I am very happy :)
Maybe there will be some JVM only helpers, but as I looked at the code, it looks pretty multiplatform-ish :)
https://github.com/joffrey-bion/chrome-devtools-kotlin/blob/main/src/main/kotlin/org/hildan/chrome/devtools/domains/page/PageExtensions.kt

I'm currently attempting the multiplatform-ization of chrome-devtools-kotlin.
Here is a list of things that need to be taken care of:

[x] java.io.IOException usage - solved by using Ktor's multiplatform alias
[x] java.nio.charset.Charset usage - solved by using Ktor's multiplatform alias
[x] java.util.Base64 usage - solved by replacing with the experimental mpp base64 API from the Kotlin stdlib
[x] java.nio.Path usage - solved by making captureScreenshotToFile a JVM-only helper
[x] Publications of artifacts for Apple platforms require building on macOS agents - switched publication builds to macOS
[x] GitHub Action's macOS runners don't support Docker out of the box, using a Colima setup
[ ] (SKIPPED) testcontainers is not compatible with other platforms, and we'll need to switch to a Gradle-based setup. Keeping JVM-only tests for now.
[ ] testcontainers don't seem to work out-of-the-box with Colima. Several experiments are needed. The env variables setup mentioned in the Testcontainers docs don't seem to work on first try, but Colima's own doc has some possible alternatives.


First commit

Hey @appascoe
here is a first commit for the alternate prox-grad algorithm on the kq-trace norm regularized objective. I also included a matlab function that uses the Active Set algorithm described here: https://arxiv.org/abs/1407.5158 and comparisons of the two algorithms statistical behavior: for the same rank / sparsity the alternate minimization scheme outperforms the active set. Also it runs faster.

@emilerichard Back at you.


repo-age: Cannot read property 'attributes' of undefined

Thanks for reporting a bug! ⛰

Make sure the bug is caused by Refined GitHub. Try disabling the extension first.
Include a full URL where the bug appears.
Include a screenshot/gif

Issues without a URL/screenshot will be closed


Generate Staking test vectors

Description
We need to generate test vectors for all the tasks related to staking. Those cases should match:

cardano-cli
cardano-addresses

Done while doing the tasks


Cannot access SIFT VM appliance over network with RDP and xRDP

The company I work for has installed a SIFT workstation on our network via the .ova file.  I have the computer name and IP address for it.  I am trying to figure out how to access it from my windows vm workstation.  I installed putty and was able to get to the command line and install xrdp using sudo apt install xrdp.  I can get to the xrdp login page using rdp.  But I cannot get to the sift workstation desktop.  Any suggestions?

@Katrina-Prescott I'm sorry this is probably not the best forum for this sort of question. Unfortunately I'm not familiar with xrdp. If you are able to access via SSH, then you should be able to access with other protocols. Feel free to response back, but for now I'm going to close this out.


Timeline view

/ should be the timeline view (all followed users) eg using /sync - do we filter to all rooms or just the #@ room? All is easiest for now.

So there's three pages now:

Status page /@author:localhost/status/$foooo for permalinks to events
User page /@foo:localhost which display posts / posts with replies to a user's @# room
Timeline page /

Accessing the user page will:

Automatically join the user to that user's @# room.
 TODO: Allow infinite backpagination.

Accessing the timeline page will:

Hit /sync and display all messages in @# rooms (look for the m.room.aliases event perhaps?):

content: {aliases: ["#@foo:localhost"]}
event_id: "$kSu8Mm41EYKH3zpCrhLjNIuDh6qQ2CiJFJXeGWqT9WQ"
origin_server_ts:<PHONE_NUMBER>048
sender: "@foo:localhost"
state_key: "localhost"
type: "m.room.aliases"


Signature is lacking details on signing method

"Signature" is lacking details on signing method.
Please provide details on the signing method and cryptographic keys used to generate this signature.

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

ID: 1d758b4f-a129-68a6-5b1f-00a640924202
Version Independent ID: 92531220-57ac-7602-e2b8-ed1d20d8298d
Content: HardwareToken.Signature Property (Windows.System.Profile) - Windows UWP applications
Content Source: winrt-api-build/xml/Windows.System.Profile/HardwareToken.xml
Product: uwp
Technology: winrt-reference
GitHub Login: @hickeys
Microsoft Alias: hickeys

Thanks for submitting your feedback and we apologize for the delayed response. I see that updates have not been made since the creation of this Issue, so I went ahead and created an internal work item to engage with our engineering folks, find the answers, and resolve this doc bug. The timeline for this may vary, so I will go ahead and close this and circle back when the changes are live.
We have moved to a new feedback system, and I want to ensure that we don't lose access to the feedback in our open issues. Though the Issue will be marked as Closed, we will monitor any replies that come afterwards so treat this like an open Issue. Many thanks.


Update Stack resolver to 22.37

Thanks for providing a Haskell container for Artemis! I have updated the stack resolver to version 22.37.
If this PR gets approved, I will also create a PR for the Artemis part.

Thanks!

New image will be published as ghcr.io/uni-passau-artemis/artemis-haskell:v22.37.0. Might take a few hours until its published via the CI pipeline since it has to cross-build the image to ARM.


DXRT samples don't work with error in CopyResource

After getting DX samples and copying DirectXRaytracingBinariesV1.0 into DirectX-Graphics-Samples\Samples\Desktop\D3D12Raytracing\tools\x64 all samples builds fine, but don't work with following error:
D3D12 ERROR: ID3D12CommandList::CopyResource: Source and Destination resource must have the same size. But pSrcResource has resource size (3932160) and pDstResource has resource size (4063232). [ RESOURCE_MANIPULATION ERROR #944: COPYRESOURCE_INVALIDDSTRESOURCE]
D3D12: **BREAK** enabled for the previous message, which was: [ ERROR RESOURCE_MANIPULATION #944: COPYRESOURCE_INVALIDDSTRESOURCE ]
Exception thrown at 0x00007FFBF5114008 (KernelBase.dll) in D3D12RaytracingHelloWorld.exe: 0x0000087A (parameters: 0x0000000000000001, 0x000000948AD9B300, 0x000000948AD9D1F0).
Unhandled exception at 0x00007FFBF5114008 (KernelBase.dll) in D3D12RaytracingHelloWorld.exe: 0xC000041D: An unhandled exception was encountered during a user callback.

This happens for all demos (HelloWorld, SimpleLighting, MiniEngineSample)
Using fallback layer and Vega56.

Hello,
Are you using the latest AMD drivers? I verified HelloWorld via Fallback Layer to run with 18.4.1 driver on Vega 56.

Hi, no it was not the latest driver.
I tried another DX12 samples - they woks fine. Problem persists only with ray tracing samples.
Will try latest driver later.

If the latest driver didn't resolve the issue for you, please reactivate this.

Tried with latest driver - got same issue.


Update documentation

Description
Update Contributing.md documentation  / add storage.rules for dev work
Type of change

[x] This change update documentation

Checklist:

[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

:tada: This PR is included in version 2.81.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Question:

I've seen recent updates with faster inference, it's awesome! But I think there are no updates with parameter weights on hugging face. What are the major causes which makes it fast without any model weight change?
Btw, this is really good! Thanks for sharing this!!

Reducing CPU ops scheduling overhead by using CUDA graphs


UI Migration from MUI v4 to MUI v5 and Sistent

Description: Meshery's UI is powerful and utilizes frameworks like Next.js and Material-UI. However, it relies on outdated technology stacks, resulting in performance inefficiencies and increased maintenance overhead.

Expected Outcome: Migrate from MUI v4 to MUI v5 and fully utilize features of Nextjs v13 and Sistent. Migrate all class based components to function based components. Reduced code complexity and improved maintainability for long-term sustainability. Responsive and accessible UI that adapts to diverse devices and user needs.
Recommended Skills: ReactJs, NextJs, familiarity with Material UI, Redux and Redux Toolkit
Mentor(s): Lee Calcote (@leecalcote, leecalcote@gmail.com), Antonette Caldwell (@nebula-aac, <EMAIL_ADDRESS>

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

can i work this i am a newbie. @Yashsharma1911 I can convert class based components to function based.

Thankyou @antrisk40 for raising your hand, yes you can, I'll encourage you to checkout Meshery contributing docs and Get started docs so that you can setup Meshery locally

Hey @Yashsharma1911 @leecalcote @nebula-aac,
I want to contribute to this issue through the LFX mentorship. I really want to be part of the Meshery organization, and I think this will be the best way to step into it. I love doing open-source contributions, which got me into the previous GSOC mentee program. I am proficient in React and JavaScript, so this issue is best suited for me. I will start exploring the Meshery organization soon.

I would like to work on this

Hey @Yashsharma1911  @leecalcote @nebula-aac
I’m interested in contributing to this issue through the LFX mentorship. I’m already contributing to Layer5 and have a strong familiarity with the project. Given my proficiency in Next.js, React, and other technologies, I believe my skill set aligns well with this issue. I’m excited about the opportunity to contribute further and make a meaningful impact.

Hey @Yashsharma1911 @leecalcote @nebula-aac ,
I'm eager to contribute to this issue through the LFX mentorship program. Joining the Meshery organization is a goal of mine, and I believe this issue aligns perfectly with my skills. I'm proficient in React and JavaScript, making me well-suited for this task. I look forward to exploring the Meshery organization soon.

Hello @Yashsharma1911 @leecalcote @nebula-aac
I love contributing to projects based on User Interface Improvement. I have worked on technologies like ReactJs, Jekyll, NextJs, APIs, etc.. I am very much interested in contributing to this project, and also want to explore the LFX Mentorship Program. I have been a part of the Google Summer Of Code program where I contributed to a Frontend Project. I love communicating with new people across different Open Source Projects and would love to discuss more.
Regards,
Ayush Sahu (@Murdock9803 on github)

Hi @Yashsharma1911 @leecalcote @nebula-aac ,
I am Gaurav Parulekar, currently working as a software engineer at Barclays. Before joining Barclays, I completed internships at Gupshup (unicorn startup), and Relish Technology, where I worked as a Frontend Engineer. With extensive experience in frontend development and UI design, I am proficient in various frameworks and have utilized the MUI library in numerous projects. I would love to contribute to this issue and be part of the LFX mentorship program.
Thanks,
Gaurav

Thankyou gents for raising your hands, I'll encourage you to checkout Meshery contributing docs and Get started docs so that you can setup Meshery locally.
This issue can be divided into sub tasks, please propose that if you would, and pick any one sub task that you can work on, please note that to increase chances of candidacy be consistent, join dev meetings, introduce yourself with maintainers and let them know you are consistently working and sharing progress

Hi,  I would like to join this open source project through the LFX, I'm quite experienced in react and Next.JS(Still a newbie) but I'm eager to learn and increase my skills.

@hollermay, run. go. make haste.

@leecalcote sure I'm on it then


(FR) download (all) revisions of a googlesheet

Python version 3.7.3. OS Linux
revisions of gsheet (possibly someone else's)
Example python code how to
(1) download all revisions metadata of a specific googlesheet id, and then
(2) download a certain range (here: A3:E12)
(3) from a specific sheet ("tab") (here SHEETNAME)
(4) in a specific version (here: 252)
(5) of all (or selected) older revisions of that googlesheet-id.
Thank you very much!

feature request related to a problem:
Download hundreds of older versions (version history) of the same googlesheet, that has been heavily worked on during several months. It is a multi-sheet document, and I need only one "tab" (sheet) with the name SHEETNAME, and in that only a certain range (e.g. A3:E12).
Describe the solution you'd like
One snapshot CSV per day would suffice, perhaps the last one in the evening. But simply all-revisions-into-CSV would be fine too.
Describe alternatives you've considered

spreadsheets/export?id=... = https://docs.google.com/spreadsheets/export?id={id}&revision=252&exportFormat=CSV&range=A3:E12&sheet=SHEETNAME
spreadsheets/d/{id}/gviz/tq ... = https://docs.google.com/spreadsheets/d/{id}/gviz/tq?tqx=out:csv&sheet=SHEETNAME&range=A3:E12&revision=252

somehow those approaches do not seem to work, because either the SHEETNAME is ignored, or the SPECIFIC REVISION.
I've made a beginning here but got stuck with the above question.

[ As a smaller side problem, I seem to be able to download the revision history of my own sheet, but not the revision history of someone else's sheet (even though it's accessible to everyone in the GUI) - or what am I doing wrong? ]

Thanks a lot

thanks to @busunkim96 for pointing me here. Much appreciated.

Perhaps just point me to the best page/s in the documentation which can help me to do this:
(1) download all revisions metadata of a specific googlesheet id, and then
(2) download a certain range (here: A3:E12)
(3) from a specific sheet ("tab") (here SHEETNAME)
(4) in a specific revision (here: 252)
(5) of all (or selected) older revisions of that googlesheet-id.
(6) and then possibly (1) but for someone else's googlesheet. (I can see its revisions history in the default GUI).
Thank you very much!

Hi,
Did anyone get this working? I have a use case where I want to download a specific version of Google Sheet.


Set Up Workflow Management in Cloud Cockpit

Tutorial URL: https://developers.sap.com/tutorials/cp-starter-ibpm-employeeonboarding-1-setup.html
Please specify the step you are referring to
Step 3: Configure destination
The sample business rule used in this scenario is published in API Business Hub. BUSINESSRULES_APIHUB destination is used in SAP Cloud Platform Business Rules application to import business rules from API Business Hub.
From your global account page, choose the trial tile to access your subaccount.
If you run the booster in different subaccount then navigate into the respective account.
what does i have to do exactly? i am new to sap..
secondly i have another issue
Click Connectivity | Destinations from the left-hand navigation and search for the destination with name BUSINESSRULES_APIHUB
how can i do it?
please help

Hello,
Answer to your Question 1 : When you start the trial for the first time, a sub-account with name trial and space with name dev is already created for you. Many times user create a separate sub-account of their own, and so I have mentioned that as a note - in case users are not working on the default sub-account but have created account of their own name.
Answer to your Question 2 : You have to search the destination with name BUSINESSRULES_APIHUB in the destinations page.  The screenshot highlighting shows it. There is a filter search bar on top-right of the page. You need to type in APIHUB in there and then you will see the destination. After the search you have to have to select the destination, scroll down and click on Edit button to change the password of the destination.

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


Tree with a variable number of inputs

I have a tree that stores LaBr energy 1, LaBr energy 2, TAC time and GRIFFIN energy in coincidence. It is set with this:
TTree *llgt_tree = new TTree("llgt_tree","LaBr v Labr v Ge v TAC"); list.Add(llgt_tree);
typedef struct {
	Double_t LaBrE1;
	Double_t LaBrE2;
	Double_t GeE;
	Double_t TACt;
} EVENT;
static EVENT llgt_event;
llgt_tree->Branch("llgt_event",&llgt_event,"LaBrE1/D:LaBrE2/D:GeE/D:TACt/D");

The first three are not a problem, the GRIFFIN one is. There is usually a variable number of GRIFFIN hits in a coincidence window, is there an easy way to store all of them in my tree event? Or do I have to set 64 GeE variables and then make some coincidence condition looping through all 64 of them?

Let me try to clarify, is the issue that you want to store multiple GeE values and a single Double won’t cut it? If that’s true, use a std::vector<Double_t> instead.

Can the vector have a variable length for each event or must it always be 64? And can a vector be one of the inputs for a tree? I understand it should look something like this:
TTree *llgt_tree = new TTree("llgt_tree","LaBr v Labr v Ge v TAC"); list.Add(llgt_tree);
typedef struct {
Double_t LaBrE1;
Double_t LaBrE2;
std::vector<Double_t> GeE(64);
Double_t TACt;
} EVENT;

The vector in the above has variable length.
two quick comments.  First, you should make your struct look like:
typedef struct {
Double_t LaBrE1;
Double_t LaBrE2;
Double_t TACt;
std::vector<Double_t> GeE(64);
} EVENT;
for storage purposes.  Second, to use a std::vector in struct/class i
believe means you are going to have to start creating/loading a library
which describes this class at run time.  If this is something you are
already doing, great. Other wise you probably want to add a int for the
number of ge fired and change the vector an array of size germanium fired.
This will keep everything a simple variable and ultimately make your life
easier.  There is lots of root documentation on how to do this or ask
questions.
On Thu, Feb 16, 2017 at 7:33 PM, bolaizol<EMAIL_ADDRESS>wrote:

Can the vector have a variable length for each event or must it always be
64? And can a vector be one of the inputs for a tree? I understand it
should look something like this:
TTree *llgt_tree = new TTree("llgt_tree","LaBr v Labr v Ge v TAC");
list.Add(llgt_tree);
typedef struct {
Double_t LaBrE1;
Double_t LaBrE2;
std::vector<Double_t> GeE(64);
Double_t TACt;
} EVENT;
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GRIFFINCollaboration/GRSISort/issues/860#issuecomment-280511946,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAacI-m4D_R7wCYFvawyrofxqhP8ghCSks5rdOrLgaJpZM4MDuCm
.

Can we close this? It is more of a root question anyways.


Process sentry reports and identify bugs to be worked on

This task is to triage all the issues in sentry identifying any valid recurring bugs and clearing out (or ignoring) the stale or irrelevant ones.
We are not fixing or deeply investigating any bugs as part of this ticket/effort, just generating tickets for those we need to address and deleting/ignoring those we don't.

Error found in Sentry
Environment: production
Time range: 14D (05.09.2022 - 22.08.2022)
admin (production 14D)

Error (NotAllowedError: Read permission denied.)
/exercises

UnhandledRejection (Non-Error promise rejection captured with value: Timeout)
/reports/handover

TypeError (Cannot read properties of undefined (reading 'queryRef'))
@jac-uk/jac-kit/components/Table/tableQuery.js
./src/store/stage/review.js

TypeError (Cannot read properties of undefined (reading 'fullName'))
./src/views/Exercise/Applications/AgencyReport.vue

TypeError (Cannot read properties of null (reading 'rolePermissions'))
./src/views/Exercise/Tasks/PanelsView.vue
./src/views/Exercise.vue
./src/views/Exercise/Applications/List.vue
./src/views/Exercise/Applications/Application.vue
./src/views/Exercise/Tasks/IndependentAssessments.vue
./src/views/Candidates/CandidatesView.vue

Error (NotAllowedError: Document is not focused.)

TypeError (Cannot read properties of undefined (reading 'forEach'))
/exercise/27XRfjOU65Nd1enzLsLt/reports/qualifying-test-reports/8SPLdGliUHx4ENbX4z7O/

TypeError (Cannot read properties of undefined (reading 'includes'))
./src/store/stage/review.js

NavigationDuplicated: Avoided redundant navigation to current location: "/exercise/V436uo3lkXVrwSt8yK7u/details/timeline/".

FirebaseError: Missing or insufficient permissions.
/exercises

apply (production 14D)

TypeError: Cannot read properties of undefined (reading 'length')
./src/views/Apply/FinalCheck/GapsInEmployment.vue

TypeError: Cannot read properties of undefined (reading 'fullName')
src/views/Apply/Assessments/SelfAssessmentCompetencies.vue in logEventAfterSave

assessment (production 14D)

UnhandledRejection: Non-Error promise rejection captured with value: Timeout
AppCheck: Fetch server returned an HTTP error status. HTTP status: 400.

FirebaseError: Missing or insufficient permissions.

@HalcyonJAC  - Is there elements that need to be completed. Would it better to break down the tasks into smalled tickets?

@andrew-isaac this is the task that we agreed all devs would swarm on for one day... that day hasn't happened yet so today we agreed to calendar it for Friday 9th December.

@HalcyonJAC - Is there elements that need to be completed. Would it better to break down the tasks into smalled tickets?

Some of these issues have been fixed already anyway. We will double check plus include any newer issues that haven't been dealt with.

We swarmed on this for one day and resolved 11 issues. Closing this ticket.


theme and design

https://bootswatch.com
https://bootswatch.com/superhero/
https://themes.3rdwavemedia.com/bootstrap-templates/startup/coderpro-bootstrap-5-startup-template-for-software-projects/

superhero looks good to me and easy to implement 👍
https://quarto.org/docs/output-formats/html-themes.html


Proposal: add Core Scheduling support

Linux 5.14 adds the support for Core Scheduling.
Core scheduling support allows userspace to define groups of tasks that can share a core. These groups can be specified either for security usecases (one group of tasks don’t trust another), or for performance usecases (some workloads may benefit from running on the same core as they don’t need the same hardware resources of the shared core, or may prefer different cores if they do share hardware resource needs). This is achieved by setting and copying core scheduling task cookies between the threads (PID), processes (TGID), and process groups (PGID). See the kernel doc for further details.
This would be useful for all containers within a pod. Also, it is particularly helpful for multi-tenant environments.
runc requirement: https://github.com/opencontainers/runc/issues/3061.

Is there any update on this proposal? What's blocking this from moving forward?


Updated Prashant's Info

Updated Prashant's social media links

@PrashantKhatiwada The content is fine. Merging the PR. 👍


Failed to use production version as local app ( file:/// )

Failed to use production version as local app ( file:/// )
Got following error

Failed to load module script: The server responded with a non-JavaScript, CSS MIME type of "".
Strict MIME type checking is enforced for module scripts per HTML spec.

Please provide a link to a repo that can reproduce the problem you ran into.
A reproduction is required unless you are absolutely sure that the the problem is obvious and the information you provided is enough for us to understand what the problem is. If a report has only vague description (e.g. just a generic error message) and has no reproduction, it will be closed immediately.

Please provide a link to a repo that can reproduce the problem you ran into.
A reproduction is required unless you are absolutely sure that the the problem is obvious and the information you provided is enough for us to understand what the problem is. If a report has only vague description (e.g. just a generic error message) and has no reproduction, it will be closed immediately.

I can not share source code. The main thing is that I can create prod version which works well from web hosting ( http(s):// )
But file:// scheme does not works at all

That caused by type=moudle is  corss origin request, if you use file protocol open it, the script file will be blocked.

I can't open the same problem when I use http-server


Adding description

@LanaChin @scanum

Docs Build status updates of commit 095acde:
:clock10: Full build: the average full build time is 18 min(s) 2 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 095acde:
:warning: Validation status: warnings

File
Status
Preview URL
Details

ValidatePublishRequest
:warning:Warning

Details

skype/skype-ps/skype/New-CsTeamsMeetingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsTeamsMeetingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

ValidatePublishRequest

[Warning-RepositoryOwnerPermissionInsufficient] Owner kenwith no longer has Admin permission of the repository https://github.com/MicrosoftDocs/office-docs-powershell. It might be due to recent GitHub changes on SSO. Please ask the owner kenwith to logon to Docs Portal https://ops.microsoft.com once again. If it is not the case, please ask anyone of Admin permission of the repo to assign a new owner via Docs Portal https://ops.microsoft.com

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

Docs Build status updates of commit 8c05eb9:
:clock10: Full build: the average full build time is 18 min(s) 3 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 8c05eb9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsTeamsMeetingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsTeamsMeetingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

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