Collect transitive module maps from deps.

Previously, when compiling our objc_library targets, we were iterating
through deps, manually constructing a new *Module target (a
module_map target) for each dependency, and implicitly adding them to
the objc_library's deps, so that we could pass all the required
-fmodule-map-file= flags, to make the modules import work in Obj-C
code. There were many problems with this approach:

In most targets, transitive dependencies also have to be declared:
Those additional copts were added via macros, which don't have any
knowledge of the transitive dependencies, hence declaring all of them
was the only way to ensure there were no missing dependencies. This was
non-intuitive, and was becoming a dependency madness, as there are many
cases where you still have to declare dependencies that you're not even
using in your target.
select was unusable with deps: Because the macro implementation
needs to iterate through the deps attribute, while select is not
iterable. This was a huge downside since it disallows us from
conditionally declaring dependencies based on configuration (e.g. debug
only dependencies), and based on feature flags.
The implementation itself was bug-prone, since it relies on
manipulating each string item declared in deps.

Clang configuration files to the rescue.
This patch creates a new rule, objc_module_map_config that generates a
Clang configuration file that includes all the -fmodule-map-file flags
needed from the given dependencies. Since it's a real rule, it has all
the information about the dependencies (and dependencies' dependencies).
From the macros that use this rule (objc_static_framework and
mixed_static_framework), we only need to add one additionally flag,
--config <config_file>, and all the additionally flags in this file
will be passed to Clang for you.

cc @ChristopherRogers


Hard to convert chinese to english for the solution.

Can someone good in both languages convert the solutions to english?

Hi,  you can use Google translate. This way, you will know what the paragraph is mainly talking about and since you know about the subject, you can guess the answer and result is ture in most cases

Hey I can help to convert some solutions to english as I am myself studying the book.

Thanks @jack17529


use bulma button in all module

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Go to card.component.html and check the template, also verify all components.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.
I would be willing to submit a PR to fix this issue
[ ] Yes (Assistance is provided if you need help submitting a pull request)
[ ] No

Closed by https://github.com/ngx-builders/ngx-bulma/pull/352


Using MARC relator predicates, DCTerm.title with punctuation trimmed

closes #86
closes #89
closes #90

Looks good.


Allow the "Other" flower name to be skipped?

At the moment, if you select "Other" as your target flower, you have to type in a name for the species, under the heading "I know the species"

Suggest that we change from "I know the species" to "Please add the name of the flower".
It isn't obvious that this is a mandatory field; hopefully the above re-wording will help explain this, but I wonder if it is possible to provide an option for "unknown" at this point.

This is one of the few parts of the app where the user has to type in text. And since we know that many FIT Count participants do use "other" flowers it is likely to be required quite frequently.
So there is a case for trying to make this simpler for the user to skip through if they don't know the flower name.
However, there are also downsides to this, in that if we make is easy to skip through we may find that most users do exactly that, in which case we will lose the ability to classify "other" flowers into their families, unless we spend time determining them from photos.
I would suggest that we action point 1 above immediately, but keep point 2 as an option to apply later on if we get feedback that people are struggling with the mandatory flower name.

Thanks, we'll change the wording. In the future, it would be easy to add an 'unknown' option to the list too.

@Vilius-Stankaitis can you please add the (required) to the mentioned heading - like we're doing it now for other pages.


feat: API to  sync in_discord role with discord members and add joined_discord date

Issue: #1109
API created
|   POST /users/   | Sync RDS users in_discord role with Discord members |
Functionality

fetches list of members from the discord server
fetches all the users from our database
runs the logic and checks for the user's whole role needs to be updated in the database.
add those users' data in the background worker Queue
run the update on users in the background

Dependency/Library Added
Bull

yarn test is not passing. can you please check.

Request you to share the updated data model and write tests as well.

https://github.com/Real-Dev-Squad/website-data-models/pull/32, and tests will be writing in

Request you to share the updated data model and write tests as well.

tracking the test task in a separate issue: #1112
updated data model:   https://github.com/Real-Dev-Squad/website-data-models/pull/32

Please don't mind, but in users.js file line no: 504 why fetching all user data at once ? Why don't we fetch it as paginated or or executing all the paginated users in parallel with Promise.all() ?

Tests are failing?


"Expected a response from Github with an authorization code. Didn't get one!"

Diagnostic info:

I was using the:

[*] Plutus Playground
[ ] Marlowe Playground

After pressing the button for GitHub login and approving on GitHub I get this message:
"Expected a response from Github with an authorization code. Didn't get one!"
at:
https://playground.plutus.iohkdev.io/api/oauth/github/callback

This is a known issue with the github auth flow. It doesn't affect the login though - If you reload the playground after this, loading and saving gists should work.

Thanks. Yes, that works. Should you work around this known issue with GitHub or are they going to fix it??

As far as I can tell it's an issue with our implementation of the github workflow. So it's on us to fix it.

I have raised an issue internally as low priority.

https://playground.plutus.iohkdev.io those messages shouldn't be reached anymore know that deployment has been updated.
The issue was that after login it was redirecting to a page that previously wasn't being handled properly. Please reopen if you're still seeing issues


Supervisors全部UNHEALTHY_TASKS

Affected Version
0.20.0
Description
{
"dataSource": "ding_event_details_Ding",
"stream": "ding_event_details_ding",
"partitions": 1,
"replicas": 1,
"durationSeconds": 3600,
"activeTasks": [
{
"id": "index_kafka_ding_event_details_Ding_868d9d16c5089f9_cjkphlnm",
"startingOffsets": {
"0": 8816093
},
"startTime": "2021-02-03T00:42:08.484Z",
"remainingSeconds": 2649,
"type": "ACTIVE",
"currentOffsets": {
"0": 8816093
},
"lag": {
"0": 0
}
}
],
"publishingTasks": [],
"latestOffsets": {
"0": 8816093
},
"minimumLag": {
"0": 0
},
"aggregateLag": 0,
"offsetsLastUpdated": "2021-02-03T00:57:37.824Z",
"suspended": false,
"healthy": false,
"state": "UNHEALTHY_TASKS",
"detailedState": "UNHEALTHY_TASKS",
"recentErrors": [
{
"timestamp": "2021-02-03T00:41:02.880Z",
"exceptionClass": "java.util.concurrent.ExecutionException",
"message": "org.apache.druid.indexing.common.IndexTaskClient$TaskNotRunnableException: Aborting request because task [index_kafka_ding_event_details_Ding_868d9d16c5089f9_echfiadg] is not runnable",
"streamException": false
},
{
"timestamp": "2021-02-03T00:41:22.926Z",
"exceptionClass": "java.util.concurrent.ExecutionException",
"message": "org.apache.druid.indexing.common.IndexTaskClient$TaskNotRunnableException: Aborting request because task [index_kafka_ding_event_details_Ding_868d9d16c5089f9_hbimfaeb] is not runnable",
"streamException": false
},
{
"timestamp": "2021-02-03T00:41:42.981Z",
"exceptionClass": "java.util.concurrent.ExecutionException",
"message": "org.apache.druid.indexing.common.IndexTaskClient$TaskNotRunnableException: Aborting request because task [index_kafka_ding_event_details_Ding_868d9d16c5089f9_dihacmbj] is not runnable",
"streamException": false
}
]
}

I see the same issue as reported above.
Here this is what I witnessed -
I've a supervisor running. The task duration is 60mins.
When I check the status of the supervisor, it's UNHEALTHY_TASKS.
The reason for that is (as shown in the supervisor status), some failed tasks in the past and not the recent past. The supervisor has moved on from the time when some tasks failed with concurrent execution exception and has created multiple tasks after that and those tasks have ingested data from corresponding kakfa topic for the task duration set and then terminated.
But still - all those tasks show their corresponding status as failed.
I checked the task logs - but I didn't see any errors in the task index logs.
Nothing in the logs of any of the other services as well.
I understand that, for a Supervisor to move to UNHEALTHY_TASKS status, the successive 3 tasks should end up in failed state. And to return to HEALTHY state, the 3 successive tasks should end up in success.
So, there are two things

Why are all the tasks ending up in failed state but no errors in logs.
When I look at the supervisor status, why does it list a set of 3 tasks which have failed with concurrent execution exception long time ago and doesn't list any of the latest failed tasks as the reason for its unhealthy state.


Add arn label to rds_instance_info metric

Objective
Add arn label to rds_instance_info metric.
Why
ARN information is the uniq identifier for RDS instance.
This information could be used for alerting
How
Add arn label to rds_instance_info metric.
Release plan

[ ] Merge this PR

#sre


Upgrade to Bootstrap 5 beta 1

Hi, Bootstrap 5 beta 1 already released, please update it,thx!

Hello! You can expect an update in roughly 2~3 weeks.

Hello! You can expect an update in roughly 2~3 weeks.

The demo is still using alpha version! Bootstrap released it's beta 2

@mustafa-online AdminKit just got bumped to beta 2


remove defunct openshift rhel7 mirrors from rhel_base_images and kids

@openshift/sig-continuous-infrastructure @openshift/sig-continuous-delivery @bparees ptal
See https://github.com/openshift/jenkins/pull/591#issuecomment-386410678 and http://post-office.corp.redhat.com/archives/aos-cicd/2018-May/msg00028.html

lgtm, and pushed to jenkins.


Thank You!!!

Coming from Rails - where callbacks like before_update, after_create etc. are part of the core - I could not understand why things were so much harder in Django.
Which is why I am so glad I found this package. It's made coding so much more pleasant.
No issue to report here. Just wanted to say "Thank you"
Cheers,
Abhinav.

so glad to hear it :)


Fix routing for VEP

Description
With the addition of the VEP it is now have 2 tools to handle blast/vep.
This introduced the inconsistency in the way the route to /blast and /vep were being handled in production and development.
This PR makes it consistent across environment and tools.
Related JIRA Issue(s)
https://www.ebi.ac.uk/panda/jira/browse/ENSWBSITES-2644
Review App URL(s)
This can be checked on dev-2020.ensembl.org
Knowledge Base

Example(s)

Checklist

[ ] Black formatting
[x] Tests

Dependencies
The ingress rules now needs to be updated by removing the rewrite.

Will it break /vep endpoint once ingress is updated since it uses a different URL prefix?

Will it break /api/tools/vep/submissions endpoint once ingress is updated since it uses a different URL prefix?

No it won't break. I have already update ingress on dev-2020 and manifests. @veidenberg

I have already update ingress on dev-2020 and manifests

Sorry I meant the linked code line probably also needs the same API_PREFIX.

No this doesn't need updating. This is app specific. blast app will be at /blast and VEP will be at /vep.
The API will be at /api/ which is configurable this is global setting, in our case it is  /api/tools


replaycreation plugin missing

Hi all,
following the instruction on replayer, I want to extract the traffic form the ziplogs. The guide tells me to use the  --plugins ReplayCreation. When running logshark it fails "Did not find any plugins matching name(s) provided".
Was the plugin removed in the latest version or do I have to 'activate' the plugin?
https://community.tableau.com/docs/DOC-11062?_ga=2.50991021.584755936.1578296093-245455482.1570712957

Hi,
LogShark 4.1 release doesn't have Replayer plugin. It was added later however, so the next release we do here should include it.
In the meantime, please use LogShark 3.0.2 to generate Replayer data.

Hi,
thank you for your fast response.

The Replayer plugin has been added. It's disabled by default, but can be run by specifying it in the command line parameters, or by altering the set of default plugins in the configuration file.


Removed dead code from previous iteration.

Previous version of the code formatted differently. Some dead logic remained behind.
@mcqueary @kozlovic

Coverage remained the same at 94.671% when pulling fa0d3cfe3bab906f0b899224e9a8cdd6dec3ca11 on bench-lib into ea8b4fd12ebb823073c0004b9f09ac8748f4f165 on master.

LGTM

LGTM


Missing payment methods depending on shipment option ( sendcloud pickup points )

Expected behavior
All payment methods should be visible for all shipment options
Actual behavior
We have different shipment options, ao 2 possible pickup point providers, selectable via the Sendcloud module
For 1 of the pickup point options, payment methods are suppressed.  All other options work fine as well. ( screenshot attached )
Only native PS Bankwire payment is visible.
Available carriers

Bpost

DPD

Steps to reproduce the behavior
Shop is upgraded from 1.6 to 1.7.   Both sendcloud / mollie modules have been uninstalled/reinstalled.  shipment options recreated.
Environment

PrestaShop version: <IP_ADDRESS>
Mollie module version: 4.0.9
PHP version: 7.1.33
Mollie : payment API is selected
No cache ( smarty or apcu ) active

Did you check the box when you go to "Verbeteren -> Betaling -> Instellingen" and then at the bottom?
Like this:

Hey @krisvdb sorry to hear about this annoying thing,
I have to agree with @jacob-v-dam and also, check the enabled Payments, are the countries set correctly to ALL or the ones you need?

Best Regards.

Hey Jacob
Indeed,  mollie wasn't activated for these carriers generated by the
Sendcloud Module.
Thanks a million !
Kris
Op wo 11 nov. 2020 om 08:52 schreef Jacob van Dam<EMAIL_ADDRESS>
:

Did you check the box when you go to "Verbeteren -> Betaling ->
Instellingen" and then at the bottom?
Like this:
[image: image]
https://user-images.githubusercontent.com/310526/98784330-3f423880-23fb-11eb-9eec-90f6032ca242.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mollie/PrestaShop/issues/239#issuecomment-725266169,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGGRUWEFIO6KTHBGVXJ7K33SPI7FPANCNFSM4TREBJPQ
.

@krisvdb @jacob-v-dam great community help!
Have a great day!
Best Regards.


Work this stuff in at some point ...

Data Manipulation and Searching
The core API is tiny and the intention is to delegate DML (Data Manipulation Language) to pure javascript, RxJS, and if more super powers are needed use something like Sift.
For example a snapshot of all entities can be retrieved via store.selectAll() and this array could then be processed by Sift.  Sift or lodash could also complement real time capabilities provided by RxJS when used in a live stream context.
For very large data sets, more advanced filtering, and persistance save tables to Indexeddb via Dexie.  We will be producing tutorials on how to do this soon, but here's the first installment:

Many to Many Relationships with DexieJS

As can be seen it is very easy to save and retrieve entities with DexieJS and no directly coupling to the Slice state manager is necessary.  For more Typescript one to many exmaples se the DexieJS Typescript documentation:

DexieJS Typescript Documentation

Links ...

Getting a Snapshot of a Slice Object Store Value
Accessing Slice Object Store Observables In Angular Templates


Skip the OBR

The maven-bundle-plugin installs the resulting bundles to a/the so called OBR, but we don't use that, so this just wastes build time.
On my M1 MacBook Air this saves roughly 2 minutes!

For future reference ...
Apache Felix OSGi Bundle Repository (OBR): https://felix.apache.org/documentation/subprojects/apache-felix-osgi-bundle-repository.html

Even @geichelberger does not know if this is useful for us. So it can go for now.


docs: add session table change for upgrade

Description
Add upgrade instruction for database session.
See https://github.com/codeigniter4/CodeIgniter4/issues/4807#issuecomment-860288412, #2256.
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPdocs
[ ] Unit testing, with >80% coverage
[x] User guide updated
[ ] Conforms to style guide

Thank you, @kenjis


Multiple inputs in the forward call

Hi Tim,
I have been working with l4casadi for a couple of months and now I am a bit stuck with the case when my network uses multiple inputs at the forward call. FYI I am implementing an NN-based MPC with acados.
If I am correct l4casadi expects a single input argument as in the acados.py example:
res_model = self.learned_dyn(x)
In my case I would like to call it with:
res_model = self.learned_dyn(a,s) (action and state)
The thing is that in my network's forward method, I wish to modify the inputs before passing it through the network, like this (scaling):
def forward(self, a, s):

        # scale
        a = (a - self.action_mean) / self.action_std
        # scale
        s = (s - self.state_mean) / self.state_std

        # run through network
        x = torch.cat([a, s], dim=1)
        x = self.linear(x)
        x = self.hidden(x)
        x = self.out(x)

        # scale
        x = (x * self.output_std) + self.output_mean
        return x

It works with PyTorch but not when wrapped within l4casadi. I get the error:

L4CasADi.forward() takes 2 positional arguments but 3 were given

with
f_expl = self.learned_dyn(self.inputs,self.state)
Thus, considering a single argument forward method, I have tried to extract the data:
    def forward(self, s):

        # scale
        action = s[0][0:self.action_size]
        state = s[0][self.action_size:]
        a = (action - self.action_mean) / self.action_std
        # scale
        s = (state - self.state_mean) / self.state_std

        # run through network
        x = torch.cat([a, s])
        x = self.linear(x)
        x = self.hidden(x)
        x = self.out(x)

        # scale
        x = (x * self.output_std) + self.output_mean

        return x

It is correct when called with PyTorch but with l4casadi I get the following error:

L4CasADi requires the model output to be a matrix (2 dimensions) but has
1 dimensions. For models which expects a batch dimension,
the output should be a matrix of [1, d]

Is it related to the model_expects_batch_dim parameter ? I am not sure I got the meaning of this parameter.
Does extracting the data the way I did in the forward method break some internal functionalities of l4casadi or the symbolic abstraction ?

Regards,
Bryan

Tim,
Thanks for you very much for your answer. I understand, so it is ok to split the data within PyTorch. I'll double check the dimensions.
Cheers,
Bryan

Hi Bryan,
just wondering if this is resolved?
Thanks
Tim

Hi Tim,
I haven't got the time to do a final check yet. But I suppose I can extract the data through PyTorch like you said, with the proper batch dimensions.
Thanks,
Bryan

Feel free to re-open in case this should not work as expected!
Thanks

Hi Tim,
To bring the final fix to this issue, as expected I needed to reshape properly the intermediate inputs like so:
def forward(self, s):

        # scale
        action = s[0][0:self.action_size]
        state = s[0][self.action_size:]
        a = (action - self.action_mean) / self.action_std
        a = torch.reshape(a, (1, self.action_size))
        # scale
        s = (state - self.state_mean) / self.state_std
        s = torch.reshape(s, (1, self.state_size))

        # run through network
        x = torch.cat([a, s], dim = 1)
        x = self.linear(x)
        x = self.hidden(x)
        x = self.out(x)

        # scale
        x = (x * self.output_std) + self.output_mean

        return x

Now it runs well within L4Casadi.
Regards,
Bryan


Update dependencies and (mostly) clear npm audit

ran ember-cli-update to update ember-cli addon blueprint to 3.3, and updated acceptance tests to work with current test APIs
cleared most npm audit issues including #187 (but excluding one minor issue dependent on pending ember-try 1.0 release)

@gorner Looks good, could you rebase and fix the couple merge conflicts.

@jbailey4 Done.

While you're in here, is there any chance you would be able to bump the 'broccoli-funnel' dependency to 2.0.1 (the latest)?  npm is still throwing a deprecation warning for 'exists-sync', which 'broccoli-funnel' depended on until version 2.0.1.
According to their changelog, it looks like the reason for the major version bump was simply because they dropped support for node 0.12.  Meanwhile, this PR already declares node 6.x as the minimum supported version for 'ember-cli-sass'.

Friendly bump. Would love to see this merged as it will remove a few distracting build warnings from our app now that broccoli-funnel is updated here.


Fix sql_role handling for database_sql_server_user

Refactor the sql_role handling method and fix the following error:

undefined local variable or method sql_role

In addition to the refactor it's also replace #152, #153 and #174
cc. @aboten

@tas50 there are many PR for the same fix, could we have one of them merged please?

@Annih Can you rebase this first?

nm I handled the merging. Thanks for the fix

Thanks @tas50


Can't use two formula on single line

First, thanks for the awesome plugin!
When I have a line that contains just a single formula it gets centered with padded with vertical padding as expected. The problem I have is when I want to start and end a line with a formula, something like:
$$formula$$ text $$formula$$

This gets rendered as a single formula, the two inner-most delimiters getting interpreted as part of a larger formula, here's a screenshot:

Am I doing something wrong?

Just FYI I can definitely use \text{...} as a workaround.

What version of gitbook are you using ? the 2.0.0-alpha ?

<EMAIL_ADDRESS><EMAIL_ADDRESS>

Same issue.

What I configured more is that I added a script in head, to enable Mathjax works on inline formula with single $ around.
<script type="text/x-mathjax-config;executed=true">
        MathJax.Hub.Config({
            tex2jax: {
                inlineMath: [ ['$','$'] ],
                processEscapes: true
            }
        });
    </script>

The example is here:
https://catalog.chn.moe/文章/作业/统计物理研讨/布朗运动.html

I've found that it's caused by the pair of _.
So, how to told gitbook do not translate underscores?
I use * but never use _ to show italic.

I've solved the problem by modifying code.
If you face the same issue, use
"plugins": [
"mathjax@git+https://github.com/Dronecode/plugin-mathjax.git#update_cdn"
],


fix(terraform): update less-than/less-than/equals version constraints

Issue:
When using the terraform dependency constraints less-than or less-than/equals to set a max version, only the largest semvar version number is updated. This allows the provider version to be set to a non-existent version.
example:
Latest provider version: 0.7.0
Provider version suggested changed: 0.6.1 -> 0.7.1
fixes #8959

Fix:
Update each version index to tighten the constraints:

less-than/equals allows provider versions up to the latest version or latest requirement
less-than allows for a provider version up the latest minus 1 against the smallest defined semvar number.

Hello @caspermeijn @bdragon @sachin-sandhu,
If I could get a reviewer set on this PR or comments on how to move forward with this fix please.
It is similar to the versioning issue with cargo in PR#9828

Thanks @bryan-bar , can you please resolve the conflicts and we can get this merged. Thanks for fixing this.

@bryan-bar are you working on this PR?

@bryan-bar are you working on this PR?

Yes, thanks for the reminder. I just updated the PR.

Great, that you can make this work with a simple code addition. I like the additional tests.
The code looks good to me. I don't have any terraform experience, so I can't confirm this is the behavior that is required for terraform.

Who would be the proper person to tag for this PR?

Thanks @bryan-bar , I'm tagging @randhircs  so we can review this week and deploy it if it meets the bar.


Complete PTO Onboarding Training

#Privacy of Information and Protection:
Your opinion is your personal information. Please do not include any information which identifies you or others in your response.
#Description:
99 SF Documentation\Course Material\Training Material Overview & Links to find info for specific course.
#Outcome:

[ ]
[ ]
[ ]

#To Complete this ticket:

[ ]
[ ]
[ ]

@camyotte - complete

@lortrent -Complete


pycharm inspection fixes

We can consider going one step further by fixing a bunch of other formatting/naming/etc stuff as well, such that we can enable a flake8 test. I ran it at one point, but it returned a whole lot of errors. As far as line-length is concerned, I would like 120 (the default on GitHub and GitLab).

Yeah, I was going to do some formatting next, but we need to make sure all of the branches are in first so we don't end up with a merge nightmare. I would vote we keep the current default line length for pycharm as that is  how most of it is formatted currently and it usually works better for me when I am doing split screen development, but not a huge deal.

That's great then, as PyCharm's default line length is also 120 characters :smile:  I agree that formatting should go in after the WIP PRs (that are waiting on CasADi 3.4.0) are merged.


There should be an API route and service function that can get all participant_activities for a user in a program

Details and resources
There should be an API route and service function to support getting all participant_activities for a program including the participant's completed status for each of them, rather than having to get this information one-by-one for each relevant activity on the calendar.
This ticket is open for anyone who wants to take it.
This will include the route:
[GET] /participantActivities/:programId
And it will include a function in programsService.ts called something like listParticipantActivitiesForProgram that would take a participant ID and a program ID as a parameter and return a list of all participant_activities for the program including the participant's completed status, or it would return null if it can't find the program ID.
Here's what I had typed up previously, for reference:
/**
 * Get the completion status (either true or false) of all activities of type assignment in a given program.
 *
 * @param {number} principalId - the unique id for the user
 * @param {number} programId - the id for the unique program
 * @returns List of participant_activities and their completion statuses,
 *   or null if programId doesn't exist or it doesn't have activities
 */
export const listParticipantActivitiesCompletionForProgram = async (
  principalId: number,
  programId: number
) => {
  // TODO: get all `participant_activities` records for the principalId and programId
  // { programId: number, participant_activities: { activityId: number, completed: boolean} }
};

You will need appropriate tests for programsService.ts:
describe('listParticipantActivitiesCompletionForProgram', () => {
  it('should return a list of participant activities with their completion statuses', async () => {});
  it('should return null if the programId does not exist', async () => {});

and for programsRouter.ts:
describe('GET /participantActivities/:programId', () => {
  it('should return a list of activities and their completed statuses', done => {
    // TODO once this function is written.
  });
});

Checklist

[x] This issue is linked to the appropriate project.
[x] This issue has appropriate labels.

The service function and the router for participantActivities are verified, data are shown correctly on browser. I will work on building test files for them tomorrow.


Closes #1813 - platform stats

Implements a getter that returns
export interface PlatformActivityStatsResult {
  activeUsers: number;

  // OrderEvent table for fill events (eventType == 3) where they are the orderCreator or orderFiller address
  // if multiple fills in the same tx count as one trade then also counting just the unique tradeGroupId from those
  numberOfTrades: number;
  openInterest: BigNumber;

  // MarketCreated logs
  marketsCreated: number;

  volume: BigNumber;
  amountStaked: BigNumber;
  disputedMarkets: number;
}

added to https://github.com/AugurProject/augur/pull/2778 for easier merging into master


Replace hyper with ureq

The only reason for doing this is getting the dependency count from 267 to 206.

Cancelled due to https://github.com/abonander/multipart/issues/122


If a player has 0 TUH, his/her input fields for each point value should be disabled

Fixed in commit 3c63ae9645940b9f791ebe42b15eb4c6a3e31ad4


feat: add uid for orchestration queue for logs

Fixes #N/A
Description
Adds a types.UID that's attached to a command in memory. This allows us to log this uid on command creation, and track it when the command eventually fails or succeeds.
How was this change tested?
make apply
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 6 (100.0%)  changed or added relevant lines in 2 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.004%) to 80.246%

Files with Coverage Reduction
New Missed Lines
%

pkg/controllers/disruption/drift.go
2
87.34%

Totals

Change from base Build<PHONE_NUMBER>:
0.004%

Covered Lines:
7751

Relevant Lines:
9659

💛  - Coveralls


bug: It takes several minutes to delete an object from the WEC

Describe the bug
So first, my hosting cluster and a WEC are created with K3D and running on MAC. On the hosting cluster I create a job with a label matching binding policy of the WEC. The job gets pulled to the WEC where it runs to completion. The status is pushed up to the hosting cluster. The label matching the bindingpolicy is deleted. The job is not listed in the Bindings object, but it is listed in the manifestwork in its1. It takes several minutes before the object is eventually deleted from the WEC. Sometimes it can take ~20 minutes. I've checked the transport-controller and kubestellar-controller-manager logs for errors and did not see anything alarming.
Versions of things:
export KUBESTELLAR_VERSION=0.23.0
export OCM_STATUS_ADDON_VERSION=0.2.0-rc10
export OCM_TRANSPORT_PLUGIN=0.1.11
K8s:
Client Version: v1.29.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.8+k3s1
Snapshot of job's pods on the WEC:
NAME                     READY   STATUS      RESTARTS   AGE
sample-job-q6kmw-7jgq5   0/1     Completed   0          13m
sample-job-q6kmw-d7969   0/1     Completed   0          13m
sample-job-q6kmw-272k5   0/1     Completed   0          13m

The above job completed in about 80s from the start.
BindingPolicy:
  clusterSelectors:
  - matchLabels:
      location-group: edge
      name: cluster1
  downsync:
  - objectSelectors:
    - matchLabels:
        kubestellar.io/cluster: cluster1
  wantSingletonReportedState: true

The label that was removed after job completion was: kubestellar.io/cluster: cluster1
The Job:
apiVersion: batch/v1
kind: Job
metadata:
  generateName: sample-job-
  namespace: default
  labels:
    kubestellar.io/cluster: cluster1
spec:
  parallelism: 3
  completions: 3

  template:
    spec:
      containers:
      - name: dummy-job
        image: gcr.io/k8s-staging-perf-tests/sleep:v0.1.0
        args: ["50s"]
        resources:
          requests:
            cpu: 1
            memory: "200Mi"
          limits:
            memory: "200Mi"
            cpu: 1
      restartPolicy: Never

Steps To Reproduce

Setup Hosting cluster with wds of type host and a WEC.
Create bindingpolicy for the WEC using spec as above.
Use a job from above or add a label to a sample job that matches the BP
Create a job on the hosting cluster and allow it to finish on the WEC
Edit the job on the hosting cluster and remove the label added in step 3
Watch the job pods on the WEC ( in my case these linger for several minutes)

Expected Behavior
When a label is removed from a job, it should be removed from the WEC fairly quickly
Want to contribute?

[ ] I would like to work on this issue.

Additional Context
No response

Is its1 of type host?
In the steps to reproduce, are steps 3 and 4 talking about the same Job?

Can you please share the debug log from the transport controller, along with notes about when you took the cardinal steps outlined above?

@cwiklik: you are using your hosting cluster to play the role of WDS, right?

BTW, #2288 added a ginkgo test scenario that flaps the relevant label on a workspace object. At the moment, the E2E test matrix does not cover k3d infrastructure nor using the hosting cluster as WDS.

I have rebooted my mac and reinstalled my software stack I use for testing and I don't see delete delays. Looks like this issue can be closed with no fix needed. Its probably related to K3D but I have nothing to back this up. Should I close this issue?

Closing for now because unable to reproduce. Please re-open if the problem re-appears.


Use SNAPSHOT versions for development

This PR configures the project to use SNAPSHOTS for development, and is split in two commits:

First commit configures the SNAPSHOT version.
The second one configures the TravisCI build to deploy the master branch to the Sonatype snapshots repository for each successful build. This way you don't have to care about them and the latest SNAPSHOT will always be available.

In order to use the automatic snapshot deployment, you'll have to change the placeholder for the "secure" variables by the corresponding encrypted variable. You can generate them by running:
travis encrypt CI_DEPLOY_USERNAME=your-sonatype-username
travis encrypt CI_DEPLOY_PASSWORD=your-sonatype-password

See: http://docs.travis-ci.com/user/environment-variables/#Encrypted-Variables

Note that the pull request build used the updated .travis.yml and properly skipped the deploy as this is a pull request:
(...)
1062 $ sh deploy/deploy-snapshot.sh
1063 Skipping snapshot deployment: was pull request.

@perwendel Could you have a look at this?
Having SNAPSHOT versions would help users test and use the new features early, without having to wait for a release, and Spark could also get early feedback for new additions such as the WebSocket support. Getting this kind of feedback before a release increases the chances to get a better one.
With the changes in this PR, publishing snapshots takes no effort, so I think it is worth considering this patch. Let me know WDYT!

@perwendel ping?

@nacx
Sorry, I've been working a lot on specific Spark stuff lately and haven't had time to take care of all PRs. Will have a look soon.

@perwendel is there any plan to merge this? It would be great to have snapshots and to be able to keep up to date with the project without synching & compiling every time.

Is there any plan to merge this and to provide automatic snapshot deployment?

@nacx I've been extremely busy lately. Hopefully, this week I'll be able to make some time to take care of the PR list.

@nacx Sorry, this has been lost in the haystack of PR's. We will pursue this!


feat(text): allow text to be masked when rendering

Upstream: #648

Description
This PR will enable to have a text object which hides the actual content. This will be specifically useful to show sensative content like password in tui but being still able to access the value, but without rendering it
Testing guidelines
Create a Span through Span::masked method, and such widget should be rendered as masked character as specified
Checklist

[X] I have read the contributing guidelines.
[X] I have added relevant tests.
[X] I have documented all new additions.

I suspect this could be better implemented by defining a new type that implements Into<Cow<'a, str>> that masks the text when creating the span.
There's probably pros/cons to each approach, but I don't really see much difference between:
Span::masked(password, Style::Default().fg(Color::Red), 'x')
and:
Span::styled(Masked::new(password, 'x'), Style::default().fg(Color::Red))
The biggest pro of this approach is that the Masked type allows for:
Paragraph::new(Masked::new(password, 'x')
and other things that expect Into<Cow<'a, str>> or Into<Text<'a>> without the intermediate Span.
The following pretty much works as expected and doesn't require any changes to ratatui, though perhaps it could be included as a type (I'll make another PR)?
use std::borrow::Cow;
use std::fmt::{self, Debug, Display};

use ratatui::text::Text;

#[derive(Clone)]
pub struct Masked<'a> {
    inner: Cow<'a, str>,
    mask_char: char,
}

impl<'a> Masked<'a> {
    pub fn new(s: impl Into<Cow<'a, str>>, mask_char: char) -> Self {
        Self {
            inner: s.into(),
            mask_char,
        }
    }

    pub fn mask_char(&self) -> char {
        self.mask_char
    }

    pub fn value(&self) -> Cow<'a, str> {
        self.inner.chars().map(|_| self.mask_char).collect()
    }
}

impl Debug for Masked<'_> {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        f.write_str(&self.value()).map_err(|_| fmt::Error)
    }
}

impl Display for Masked<'_> {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        f.write_str(&self.value()).map_err(|_| fmt::Error)
    }
}

impl<'a> From<&'a Masked<'a>> for Cow<'a, str> {
    fn from(masked: &'a Masked) -> Cow<'a, str> {
        masked.value()
    }
}

impl<'a> From<Masked<'a>> for Cow<'a, str> {
    fn from(masked: Masked<'a>) -> Cow<'a, str> {
        masked.value()
    }
}

impl<'a> From<&'a Masked<'_>> for Text<'a> {
    fn from(masked: &'a Masked) -> Text<'a> {
        Text::raw(masked.value())
    }
}

impl<'a> From<Masked<'a>> for Text<'a> {
    fn from(masked: Masked<'a>) -> Text<'a> {
        Text::raw(masked.value())
    }
}

#[cfg(test)]
mod tests {

    use super::*;
    use ratatui::{
        buffer::Buffer,
        layout::Rect,
        style::{Color, Style},
        text::Span,
        widgets::Paragraph,
        widgets::Widget,
    };

    #[test]
    fn test_raw_span() {
        let mut buffer = Buffer::empty(Rect::new(0, 0, 5, 1));
        let password = Masked::new("12345", 'x');

        Paragraph::new(Span::raw(&password)).render(buffer.area, &mut buffer);
        assert_eq!(buffer, Buffer::with_lines(vec!["xxxxx"]));

        Paragraph::new(Span::raw(password)).render(buffer.area, &mut buffer);
        assert_eq!(buffer, Buffer::with_lines(vec!["xxxxx"]));
    }

    #[test]
    fn test_styled_span() {
        let mut buffer = Buffer::empty(Rect::new(0, 0, 5, 1));
        let password = Masked::new("12345", 'x');

        Paragraph::new(Span::styled(&password, Style::default().fg(Color::Red)))
            .render(buffer.area, &mut buffer);
        assert_eq!(buffer, Buffer::with_lines(vec!["xxxxx"]));

        Paragraph::new(Span::styled(password, Style::default().fg(Color::Red)))
            .render(buffer.area, &mut buffer);
        assert_eq!(buffer, Buffer::with_lines(vec!["xxxxx"]));
    }

    #[test]
    fn test_paragraph() {
        let mut buffer = Buffer::empty(Rect::new(0, 0, 5, 1));
        let password = Masked::new("12345", 'x');

        Paragraph::new(&password).render(buffer.area, &mut buffer);
        assert_eq!(buffer, Buffer::with_lines(vec!["xxxxx"]));

        Paragraph::new(password).render(buffer.area, &mut buffer);
        assert_eq!(buffer, Buffer::with_lines(vec!["xxxxx"]));
    }
}

For something more robust perhaps consider:

https://lib.rs/crates/redact
https://lib.rs/crates
https://lib.rs/crates/secrecy
https://lib.rs/crates/secret-vault-value,
or one of the other alternatives (search for masked / secret / hidden string on crates.io / lib.rs)

Ping @sudipghimire533 for more detail on whether this approach would address their issue.

Closing as the above approach was implemented in #168.


Publish a schedule of future major releases

Many popular open-source projects let developers anticipate major releases by publishing a schedule in advance (e.g. https://symfony.com/roadmap). Material-ui doesn't publish such a schedule, and therefore major releases may come out of the blue (that's the case of the 3.0, totally unexpected, and breaking BC for what appears like a minor reason).
As far as I understand your release policy, previous minor releases are NOT maintained (or will they?). That means that users of material-ui will have to suffer the BC breaks if they want bug fixes.
To help us make the decision on when to start using material-ui (or even whether it makes sense to use it at all), the release schedule is a must. I, for one, can't work with a library breaking BC several times a year. So I'm very curious about your release policy.

@fzaninotto The real breaking change was in the icons package – the bump of core to v3 was primarily to bring the icons and core versions into sync (we didn't with v2 icons, and it caused some problems). As you yourself point out, there is no real breaking change in core, just signalling a change to the supported versions of Firefox, so there is nothing to stop you from upgrading to 3.0 to pick up future fixes.
I'd be interested to hear if there are other FOS projects that maintain multiple parallel versions (Symphony is commercially developed). Back-porting fixes to earlier versions and maintaining parallel releases would be no small task on a library that merges tens of PRs a week. If @marmelab would like to sponsor that, we're all ears!
That said, I do understand your concern that some future breaking change might force you down a particular path, but I'll let @oliviertassinari, as "maître d′", comment on that.

Honestly, I don't mind frequent upgrades, but the choice of versions is weird indeed. I'm now telling my boss "You know, I haven't finished porting our project from MU v0 to v1, but v3 is out :smile: )
I also understand if previous versions are not supported anymore, if only migration guides were comprehensive. Migrating from v0 is currently a nightmare.

@fzaninotto Some thoughts on the topic:

The two breaking changes that here introduced should matter to only 0.1% of the Material-UI user base. 99.9% of the people should be able to upgrade as if it was a minor.
People are used to having major versions linked to real hard work, while, if you follow semver, as it's core, it's about breaking changes.
Not keeping core and icons in the past caused issues like #12621. For instance, Babel upgrades everything together. It's important because we use a mono-repository. All the dev dependencies are shared between the @material-ui/x packages. I think that we should aim for release all the > v1 packages in sync, in our case, it's core & icons. lab isn't >1, docs is still in alpha, codemod has a way different lifecycle.
I think that not upgrading core to v2 when releasing icons v2 was a mistake, for the same reason that syncing versions can avoid a class of issues as well as simplifying the changelog. But I would have broken this v1 honeymoon. Now, it's over, Material-UI might be v8 within two years from now.
Now, if you are used to the way Node, Symfony, Bootstrap or any large packages work, it can feel strange. I think that it's about a balance. UI is hard to upgrade. I find that batching large breaking changes together can be valuable like Bootstrap did between v3 and v4. We have been pausing the breaking changes for the last 3 months. But we have seen that we can't make the breaking change path too large. v0.x -> v1 upgrade path was very challenging. So, I think that we could have some sort of scheduled breaking changes program, to find a balance between batching breaking changes together but not making the upgrade path too hard, providing new features in exchange. Every 3/6 months, we could bump a major version. @mbrookes What do you think?

Many popular open-source projects let developers anticipate major releases by publishing a schedule in advance (e.g. https://symfony.com/roadmap).

Where is the next breaking change of Symfony (v5) release schedule? I can't find it.

As far as I understand your release policy, previous minor releases are NOT maintained (or will they?). That means that users of Material-UI will have to suffer the BC breaks if they want bug fixes.

We will definitely think about support older releases at some point. It definitely make sense if we reach x10 the scale of what we have now. Right now, the incentive for the users is to keep up to date so they can, take advantages of new features, take advantages of bug fixes, take advantage of the help the community can provide on forums, etc.

@mbrookes Some more libraries publishing a release schedule, off the top of my head:

Angular: https://angular.io/guide/releases
Vue.js: https://github.com/vuejs/roadmap#release-management
Sorybook: https://github.com/storybooks/storybook/blob/master/RELEASES.md#major-releases
Django: https://www.djangoproject.com/weblog/2015/jun/25/roadmap/

I understand that you may need to break BC. My point is that a BC break is always a nuisance for your users, so it should not be decided lightheartedly. IMHO the least painful way to break BC is do it sparingly, at regular intervals, with proper notice. Hence the release schedule.
**The decision to merge a BC break change should be conditioned by the release schedule, and not the other way around. **
Every time I have to make a BC break change in a widely used library, I try to find a way to make it backward compatible (e.g. by adding a new property instead of renaming if), and mark the old way as deprecated. I even add a warning so the users see a notice way up in advance. See https://github.com/marmelab/react-admin/pull/2175 for an example of that. Yes, it's more work than just breaking BC, but that's what users expect.

The two breaking changes that here introduced should matter to only 0.1% of the Material-UI user base. 99.9% of the people should be able to upgrade as if it was a minor.

Even though, it means that libraries depending on material-ui (like react-admin) must publish a major, too, to get support. I haven't planned a major before at least 6 months, that leaves me with material-ui 1.x unsupported for 6 months.

But I would have broken this v1 honeymoon. Now, it's over, Material-UI could be v8 within two years from now.

This is a big -1 for me. I don't see the point of breaking BC just because you can. Angular did this, and lost many users in the process.
"Move fast and break things" is so 2000 ;)

Some more libraries publishing a release schedule

Thank you for the links. I agree, we should be transparent about it. Let's put something about it in the documentation. Reviewing the different sources, a 6 months release schedule seems to be a good default. Before v1, the breaking change release schedule was more about 1-2 months. Even back then, we were adding deprecation notices on the API, this won't change. We still have a propType helper for that. So far, we only have https://material-ui.com/versions/#release-schedule in the docs. Now, as the project usage increase and people requirements increase, we might have to have a LTS version. I doubt the cost outweight the value it's providing yet.

libraries depending on material-ui (like react-admin) must publish a major, too

I don't get this point. What's preventing you from supporting v1 and v3 at the same time on React Admin? People using a dashboard doesn't care about Firefox 45 nor they know the undocumented icons we have removed.

Angular did this, and lost many users in the process.

Makes me think of: "Do not confuse motion and progress" . Alfred A. Montapert.
I believe that Angular collapse has two major drives:

The emergence of alternative with important different tradeoff (React, Vue).
A wrong vision for Angular v2 / trying to do too many breaking changes all at once.

Analysing with what happen on our side. v0.x was unmaintained for a year. And yet the growth rate didn't change. v1 changes were very risky. It was an major shift. Moving from the Callemall legacy to a different vision. I doubt the project will ever have to release such profound breaking changes.

"Move fast and break things" is so 2000 ;)

I would say v0.x. I doubt we have broken anything with v3 :).

Makes me wondering, what's the value of a LTS?

Is it about not being able to follow the breaking changes as they requires to much time to be handled on people side? This one I can understand.
Is it about code stability? I don't quite get this argument. We fix bugs and add new features all the time. Code stability is more or less always the same.

@oliviertassinari You said pretty much everything I was going to say, except that:

We should have given some notice - people don't like surprises, even if they have no real negative consequences
If we had planned a major release in advance, we could have used it to batch some of the backlog of breaking changes

I agree that 6 - 12 months seems to be the norm for majors, (but I don't know that having released v3 now should necessarily hold us back until March 2019 for v4.)
I don't see the need for LTS releases when a "major" release only requires minor refactoring to adopt. (We aren't going to do a v0 - v1 overhaul any time soon!) That time is better spent supporting the new release.  However we already made an exception to that for a critical fix for v0, so this isn't a "do or die" policy, but, for now at least, it should be the default.

The semver 2.0 spec recommends having one minor release before a major one which documents upcoming changes. Sounds like reasonable advice although I'm not sure if .browserlistrc does support deprecation warnings

For me, a schedule of future major releases doesn't have any value. We update very often. There is no difference between expected or unexpected releases for us. A polished release planing schedule has more value. Every one can look at it. And every release (v3, too) is very good documented on the release page.
My vote go to "Don't bother with releases and versions, just do amazing work further".
BTW, the performance improvements were scheduled for post v1 release :(

@Fandekasp I think that the lab will always stays an alpha. It's what it's for.

oh ok! Roger it :) Thanks for the reply
On Thu, 30 Aug 2018 at 16:29 Olivier Tassinari<EMAIL_ADDRESS>wrote:

@Fandekasp https://github.com/Fandekasp I think that the lab will
always stays an alpha. It's what it's for.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mui-org/material-ui/issues/12682#issuecomment-417218267,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAP7d-k324FgKiySr8HH6gv7h2YDo7v5ks5uV5RagaJpZM4WOkNc
.

Thanks for the release strategy!


Tracker custom context schema notation

Many of the non-JS tracker docs specify dot notation for the schema version.  This breaks on enrichment/shredding because the regex is checking for hyphen notation: regex: "^iglu:[a-zA-Z0-9-.]+/[a-zA-Z0-9-]+/[a-zA-Z0-9-_]+/[0-9]+-[0-9]+-[0-9]+$"\
The following tracker docs need to be updated to hyphen:
https://github.com/snowplow/snowplow/wiki/.NET-Tracker#custom-contexts
https://github.com/snowplow/snowplow/wiki/ActionScript3-Tracker#custom-contexts
https://github.com/snowplow/snowplow/wiki/Android-Tracker#custom-contexts
https://github.com/snowplow/snowplow/wiki/Golang-tracker#custom-contexts
https://github.com/snowplow/snowplow/wiki/iOS-Tracker#custom-contexts
https://github.com/snowplow/snowplow/wiki/Java-Tracker#custom-contexts
https://github.com/snowplow/snowplow/wiki/PHP-Tracker#custom-context

Hi @seanhall - thanks so much for raising this. It looks like a pretty heinous copy-paste error. We will get this fixed!


fix TC=2 tensor core op test

correctly enabled TC=2 tensor core op test in CI which was not testing tensor core due to "arm64" check even with TC=2. fixed the broken test by not pushing uop out of loop scope if it has UOps.DEFINE_LOCAL in parents.
also removed some obsolete isinstance checks in tensor core now that LazyOp only has LazyOp in src.

would like to merge this first to unblock fixing dtypes for wmma. full uops graph and fuzz test topology sort can be a separate project


Soft code the UI skins

What feature do you want to get added on the base engine?
Basically making us able to add a UI type for a song, so instead of just arrow skins and splash, the entire UI (Ratings, Countdown (cuz I am trying to make the countdown invisible), etc).

this feature is already in the game

you can probably change a lot about the UI Lua-side using setProperty, setPropertyFromClass, and setPropertyFromGroup, just make sure what you're trying to set isn't read-only or private, if it is you'll have to go into the code to change that

You can already do that if you're good enough with Lua.


i was installing kali-rolling on crouton and i got that error gcc: error: unrecognized command-line option '-Wundef-prefix=HAVE_,CRAS_'  please help me solve that

Please paste the output of the following command here: sudo edit-chroot -all

Please describe your issue:
If known, describe the steps to reproduce the issue:

I'm getting the same thing on my Samsung Chromebook Plus (v1)
The following NEW packages will be installed:
  libasound2-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 114 kB of archives.
After this operation, 544 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports xenial/main arm64 libasound2-dev arm64 1.1.0-0ubuntu1 [114 kB]
Fetched 114 kB in 1s (70.9 kB/s)
Selecting previously unselected package libasound2-dev:arm64.
(Reading database ... 16074 files and directories currently installed.)
Preparing to unpack .../libasound2-dev_1.1.0-0ubuntu1_arm64.deb ...
Unpacking libasound2-dev:arm64 (1.1.0-0ubuntu1) ...
Setting up libasound2-dev:arm64 (1.1.0-0ubuntu1) ...
libasound2-dev set to automatically installed.
Reading package lists... Done
Building dependency tree
Reading state information... Done
patch is already the newest version (2.7.5-1ubuntu<IP_ADDRESS>).
patch set to manually installed.
The following packages were automatically installed and are no longer required:
  libasound2-dev libglib2.0-0 libspeex-dev libspeex1 libspeexdsp-dev pkg-config
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Compiling CRAS (native)...
gcc: error: unrecognized command line option '-Wundef-prefix=HAVE_,CRAS_'
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...
chronos@localhost /usr/local/bin $ sudo ./edit-chroot -all
name: xenial
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xenial...
/usr/local/bin/crash_reporter_wrapper: 119: exec: /var/run/crw/crw: Permission denied
WARNING: Unable to register core dump handler.
crouton: version 1-20221126232257~master:ae594340
release: xenial
architecture: arm64
targets: gnome
host: version 15329.44.0 (Official Build) stable-channel kevin
kernel: Linux localhost 5.10.165-21629-g612c74a69dd8 #1 SMP PREEMPT Tue Mar 7 19:02:31 PST 2023 aarch64 aarch64 aarch64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...
chronos@localhost /usr/local/bin $

same problem here...
...
Compiling CRAS (i386)...
gcc: error: unrecognized command-line option '-Wundef-prefix=HAVE_,CRAS_'
Failed to complete chroot setup.
The chroot setup script may be broken. Your chroot is not fully configured.
Removing the chroot setup script. You may want to update your chroot again.
UID 1000 not found in kali-rolling
Unmounting /mnt/stateful_partition/crouton/chroots/kali-rolling...
chronos@localhost / $
chronos@localhost / $ sudo edit-chroot -all
name: kali-rolling
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/kali-rolling...
/usr/local/bin/crash_reporter_wrapper: 119: exec: /var/run/crw/crw: Permission denied
WARNING: Unable to register core dump handler.
crouton: version 1-20230314163719~master:ae594340
release: kali-rolling
architecture: amd64
targets: xfce,xiwi
host: version 15329.52.0 (Official Build) stable-channel nocturne
kernel: Linux localhost 5.10.165-21629-g612c74a69dd8 #1 SMP PREEMPT Wed Mar 15 19:09:01 PDT 2023 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/kali-rolling...
chronos@localhost / $
please help me out


more than three dimensional  FEM ?

Hi,  May I ask if MFEM can perform fem  higher than three dimension?
Thanks

Not with the official release, but there is a 4D branch: https://github.com/mfem/mfem/tree/4d_dev.

Thanks a lot @tzanio . It seems this branch is about 3 years old.   I saw in the examples:
ex1_4d.cpp,
ex3_4d.cpp,
ex4D_DivSkew.cpp
These seem 4D test examples.
Thank you for pointing out this resources.  It is very helpful!

Hi @AIBSCT80, what is your application of interest for 4D fem?

Thank you aschaf,  This is really a great help. I will try this and report soon. Many thanks.  Is there also a routine to visualize the simulation results on 4D meshes in one of those examples?

I think there are none in the PR, but I recall implementing a visualization routine. I will look for it and post it here.

I found some code, however it only can crudely visualize cuts with the xyz-hyperplane for uniformly spaced points 0 <= x_4 <= T. Would that be something you need?

Hi Aschaf,  it is not urgent to visualize the solutions.  I first need some time to practice the 4D fem code for the laplace in high dimension. This will take a while.  Many thanks.

Hello @aschaf. I am a graduate student at Penn State, under the supervision of Dr. David Williams. I am looking to add high-order functionality to the 4d_dev branch. Would you be willing to setup a Zoom meeting to further discuss?

@psaber09 @aschaf FYI: It has been on the back burner a bit but I am still interested as well.
I would be interested in adding 4 NURBS (also the Hdiv and Hcurl variety)

Hi @psaber09, sure. When do you have time? I am in CEST, so I guess we have a 6h difference.

@aschaf, sorry for the delay. Would next week 4pm CEST either Monday, Tuesday or Thursday work?

@aschaf 5pm CEST also works

@psaber09 No problem, however I am quite busy this week, lets aim for next week Wednesday, if that would still work for you.

My advisor is traveling next week and I would like him to be able to attend. Could be meet either May 28th or May 29th?

Sure no problem, lets aim for May 29th at 4pm CST?

@aschaf Great, If you provide an email address I will send a meeting invite with a zoom link.

@aschaf maybe we can communicate easier over email, you can reach me at<EMAIL_ADDRESS>


Data center abstraction

Many clouds have a concept of a VPC that lets you specify the network in / network out for a data center.  Being able to partition your entire app off into a virtual data center would be really useful, potentially abstractable, and we should figure out how to abstract it.

Closing for now, we can revisit this idea in the future.


cf uninstall-plugin [name] runs the plugin before actually uninstalling

cf version 6.33.1+c77e55743.2017-12-15 on a unix (mac) machine
While developing a plugin - I noticed during a plugin uninstall the plugin will actually run before uninstalling. I tried this against other established plugins and found the same result.
This doesn't seem like a wanted result for the uninstall process.
Let me know if you need any more details.

Hi @aeckard87. This is by design. It provides a hook for plugin developers to do custom cleanup before the CLI removes the plugin binary. What's happening when you run cf uninstall-plugin your-plugin-name is that it calls your plugin binary with "CLI-MESSAGE-UNINSTALL" as the command line argument before it deletes the plugin binary and removes it from the plugin registry.  FYI, if you don't have custom cleanup, you still need to explicitly handle this call to your plugin binary. This is documented here, but the information is basically what I described.

awesome! I glazed right over this, thanks. Got it working as expected now.


Incompatability rails_admin with autoprefixer-rails 10.x => sassc integration

rails_admin together with autoprefixer-rails 10.x breaks with a sassc Segfault:
https://github.com/ai/autoprefixer-rails/issues/191
Could be a resurfacing of this: https://github.com/sferik/rails_admin/issues/3268

Reported to be fixed in newer releases of autoprefixer-rails.
https://github.com/ai/autoprefixer-rails/issues/191#issuecomment-739229885


ReflectionTypeLoadException in ScopeRequirementMiddleware.cs

I am trying to unit test some service endpoints that utilize MembershipReboot to create users. I have created an interface to go over UserAccountService so that I can mock the calls to MR to send back the appropriate stuff. Below is what I have setup for CustomUser, CustomUserAccountService, and CustomUserRepository:
public class CustomUser : RelationalUserAccount
    {
        [Display(Name = "First Name")]
        public virtual string FirstName { get; set; }
        [Display(Name = "Last Name")]
        public virtual string LastName { get; set; }
    }

    public class CustomUserAccountService : UserAccountService<CustomUser>, ICustomUserAccountService<CustomUser>
    {
        public CustomUserAccountService(CustomConfig config, CustomUserRepository repo)
            : base(config, repo)
        {
        }
    }

    public class CustomUserRepository : DbContextUserAccountRepository<CustomDatabase, CustomUser>, ICustomUserRepository
    {
        public CustomUserRepository(CustomDatabase ctx)
            : base(ctx)
        {
        }
    }

When I first boot up I get a ReflectionTypeLoadException within ScopeRequirementMiddleware.cs. If I continue past this exception I end up getting a TypeLoadException stating that CustomUserAccountService does not implement the method 'GetValidationMessage'.
I am a bit confused on why this does not work, the interface is just a wrapper and the parent class UserAccountService actually implements the GetValidationMessage so why is it even looking in CustomUserAccountService?

Is the scope middleware configured with an array of strings or something else for the scopes?

Are you referring to the RequiredScopes for the API or the actual scopes defined within IdentityServer?
app.UseIdentityServerBearerTokenAuthentication(new IdentityServerBearerTokenAuthenticationOptions
{
     Authority = idProviderUrl,
     RequiredScopes = new[] { "MyAPI" }
});

Yes, please try string[].

Still get the exception....
string[] scopes = {"MyAPI"};
app.UseIdentityServerBearerTokenAuthentication(new IdentityServerBearerTokenAuthenticationOptions
{
      Authority = idProviderUrl,
      RequiredScopes = scopes
});

Are you loading from NuGet or MyGet? What's the package ID and source? // @leastprivilege

Loading from Nuget. IdentityServer package ID is Thinktecture.IdentityServer3 and I am also using Thinktecture.IdentityServer3.MembershipReboot gotten from Nuget as well.
It is worth noting that I have a class library that holds the CustomConfig, CustomDatabase, CustomUser, and interfaces that is then referenced in both my API and in my IdentityServer project. Within this class library I make use of the BrockAllen.MembershipReboot and BrockAllen.MembershipReboot.Ef

Ok, I'll try to repro when I get some time later this week.

Thank you, if you need more details please let me know.

Did this ever get sorted out?

Yes, I ended up finding a way to mock the user service calls in my unit tests. Turns out there was no need to create the interfaces to this because you guys had already made life easy my making the methods virtual. Thanks for the awesome work @brockallen.

Ok, sorry I didn't follow your original question. Glad you're all set now.


Build sbomqs with goreleaser

Lets use goreleaser to cross-compile binaries for various platform, this will help users to download binaries for their platform, without the need to compile this code.
https://goreleaser.com/
https://github.com/goreleaser/goreleaser

this has been completed in version 0.0.4


bug (anvil): thread 'fork-backend-thread' panicked at 'A Tokio 1.x context was found, but timers are disabled.

Component
Anvil
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
anvil 0.1.0 (76b00d0 2022-05-28T00:08:43.25713Z)
What command(s) is the bug in?
anvil --fork-url $OPTIMISM_RPC_URL
Operating System
macOS (Intel)
Describe the bug
I'll start anvil against an Optimism RPC URL (which may not be relevant to the bug, but it's how I'm currently using anvil to access contracts deployed on that network). Often, after running a deploy script against it a handful of times, anvil crashes with the below error. The preceding RPC methods vary and are not always the same as the sequence shown below.
eth_getTransactionCount
eth_getCode
thread 'fork-backend-thread' panicked at 'A Tokio 1.x context was found, but timers are disabled. Call `enable_time` on the runtime builder to enable timers.', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.0/src/time/driver/handle.rs:58:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    90513 abort      anvil --fork-url $OPTIMISM_RPC_URL

potentially fixed one commit later https://github.com/foundry-rs/foundry/pull/1750
should be in latest nightly

Ah so I actually ran foundryup -b master about an hour ago and am using commit 562d876. It seems anvil --version doesn't take that into account

that's odd, because these constants are generated during build.
is this still an issue on nightly?

Updated again this morning, and so far this hasn't happened when using anvil to test some scripts over the last hour, so this appears to be resolved. Going to close for now and will re-open if it occurs again


fix: wrap visibility change in condition

Related Issues
https://github.com/descope/react-sdk/issues/505
Description
protect the document access with an IS_BROWSER condition

Looks like tests fail because of the change.


Failed health checks returning 503 instead of 500

While investigating https://github.com/smallrye/smallrye-health/issues/161, and comparing to the spec (https://github.com/eclipse/microprofile-health/blob/master/spec/src/main/asciidoc/protocol-wireformat.asciidoc#status-codes), it looks like if a (runtime) exception is thrown from a health check method, eventually the response should be a status of 500 instead of 503.  In order to facilitate that, it also looks like a new enum value is needed for the status to represent the "undetermined" state.
There are already TCK tests throwing exceptions out of the health checks, but they are validating a response status of 503.

@nderwin yes, that test is specific to SR. Please see my response in the SR issue. I believe we shouldn't kill the application if health checks throw exceptions. But @pgunapal how do you handle it in OL please?

Yes, so I guess that example was written by the same person that implemented this in SR. So I think we should be returning 503 if we can catch the exception to stay aligned with our 200/503 response. 500 will be reserved for generic errors that cannot be processed by the implementation, e.g. OOME. I believe that in such cases HTTP server generally responds with 500 (internal server error).

@xstefank Alright, I'll go ahead and close this one, however, the spec might need a little more clarification to note that the documented 500 response is not intended to be produced by an MP implementation, rather it's a consequence of the application being health checked being not available to serve any meaningful response.


[BEAM-8418] Use base64 string for representing impulse payload in DF runner legacy codepath.

Run Dataflow Python ValidatesRunner

Run Python Dataflow ValidatesRunner

Run Python PreCommit

Run Python 3.6 PostCommit

Run Python 3.6 PostCommit

Run Python 3.6 PostCommit

Run Python 3.6 PostCommit

Run Python 3.6 PostCommit

R: @robertwb

I am not sure why we chose URL encoding in FnAPI codepath, since base64 may be better suited for binary data. Feel free to add any thoughts on that to BEAM-8418 or close it.


Drop -ffast-math from suggested flags

According to fincs, this has been removed in the DKA makefiles:
19:18 < fincs> -ffast-math was killed from the template

Thanks :)


The mapping between files in two images

Hello,
Sorry for my late response.
Thank you for letting us know about the issue in naming our files. Also here is the mapping:

File Name
Dataset

train1
Sarcasm Headlines Dataset V1

train2
Sarcasm Headlines Dataset V2

train3
Twitter News Dataset

train4
Sentiment 140 Dataset

train5
SPIRS

train6
Twitter US Airline Sentiment


Any way to send Channel number in a  SendEvent(New ControlChangeEvent(control,value)?

Any way to send Channel number in a    outputDevice1.SendEvent(New ControlChangeEvent(control,value)) ?
I tried preceding with a ChannelPrefixEvent but that didn't work.
Thanks,
James

Hi James,
You just need to set Channel property of an event:
outputDevice1.SendEvent(new ControlChangeEvent(control,value) { Channel = (FourBitNumber)channel });

Hi,
Wow ok thank you! I’ll give that a go!
One more (last one I hope!): I have been extracting the ControlChange bytes to check for the incoming channel sent from the port. This working but is there an easier way to get the Channel number in a receive event? A property for that? I’ve poked around a lot and can’t find it.
James

On Sep 26, 2020, at 15:16, Maxim Dobroselsky<EMAIL_ADDRESS>wrote:

Hi James,
You just need to set Channelproperty of an event:
outputDevice1.SendEvent(new ControlChangeEvent(control,value) { Channel = (FourBitNumber)channel });
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

On Sep 26, 2020, at 15:16, Maxim Dobroselsky<EMAIL_ADDRESS>wrote:

Hi James,
You just need to set Channel property of an event:
outputDevice1.SendEvent(new ControlChangeEvent(control,value) { Channel = (FourBitNumber)channel });
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

James,
Just cast received event to ControlChangeEvent and check its Channel property:
private static void OnEventReceived(object sender, MidiEventReceivedEventArgs e)
{
    var controlChangeEvent = e.Event as ControlChangeEvent;
    if (controlChangeEvent ! = null)
    {
        var channel = controlChangeEvent.Channel;
}

Hi,
Wow, that’s way to easy! Sorry I didn’t spot it.
Thank you for taking the time to respond. Great tool you have made.
James

On Sep 26, 2020, at 4:54 PM, Maxim Dobroselsky<EMAIL_ADDRESS>wrote:
James,
Just cast received event to ControlChangeEvent and check its Channel property:
private static void OnEventReceived(object sender, MidiEventReceivedEventArgs e)
{
var controlChangeEvent = e.Event as ControlChangeEvent;
if (controlChangeEvent ! = null)
{
var channel = controlChangeEvent.Channel;
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/melanchall/drywetmidi/issues/98#issuecomment-699562326, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARE4XCYM3W7ZAWPXPLVSSATSHZ5MRANCNFSM4R3CZUCA.

Hi James,
Thank you for using the library and the issue!
Max


supports destructing assignment and for-of and maybe other es6 features

Ref: https://github.com/webpack/webpack/issues/11876

wrong place


v1.0.1.yml Updating claims should not be supported

https://github.com/Property-Data-Trust-Framework/api/blob/196423fdfd02b2ad7aa256da251740062cdfae2c/pdtf-baseline-api-1.0.1.yml#L60-L94
Per the framework spec there should not be the ability to update a claim that's already been made, since they should be immutable to provide a proper audit trail

For standard DB agree. As a DLT orchestration provider claims / all data is immutable and therefore the patch function "evolves" a current state rather than overwrites it. This enables a linked history of individual claims over time, proving a good audit trail. But as this is a generic example probably worth removing the patch function.


Additional Data

Got a feature request.  Wondering if it might be possible to send some additional data across the wire, including: OAT (outside air temp), pressure altitude, and indicated airspeed.  Appreciate the work you did putting this together.  Working like a champ for me.

Hi Tapestes, thank you for your interest in my app!
It might be possible, but I am hesitant to add functionality that goes beyond the basic function of connecting Flight Simulator to EFB apps for positional data. What is the use case for these additions and which app are they for? Most apps will not recognise things like OAT, since they are not expecting it.

There are a couple of AHRS units out now that are pitot-static equipped and have OAT sensors.  So, they're able to send things like IAS, pressure altitude, and OAT.  Levil's BOM is the most popular example.  Slowly but surely, software EFBs are starting to accept that data and do things stuff with it where it's available (stall warnings, calculating winds the aircraft is experiencing, etc).

Interesting!
Do you have an example of an app that supports OAT, PA and IAS? And do you know if they have published a data format specification? I would gladly add it if I knew how, as long as it doesn't conflict with other apps (e.g. ForeFlight, SkyDemon, Garmin Pilot, Airmate).

ForeFlight lets me select pressure altitude for the AHRS data display fields (currently no value supplied), but it doesn't seem to offer OAT or IAS.
I would kind of like pressure altitude when simulating IFR flights, since standard pressure often results in a pressure altitude that's a couple hundred feet off from GPS altitude, and ATC (virtual or an online network) will be watching your pressure altitude above transition. For VFR flights it doesn't matter so much since you're on a local barometer and GPS altitude is close enough. :)


Tests fail randomly

Integration tests on CI fail randomly. For example, you can check log for re-running jobs here. The picture is the same locally especially on M1.
It's probably introduced by #2445 as the global panic hook may affect other tests.

I can confirm it's introduced by the panic hook from #2445


[WIN] LLVM error : IMAGE_REL_AMD64_ADDR32NB relocation requires an ordered section layout

When running HDK tests it is possible to encounter LLVM error from subject. It happens randomly and most often happens in Release but possible in Debug as well. The error comes from this code https://github.com/llvm/llvm-project/blob/release/14.x/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h#L117-L118
My understanding is that when LLVM loads an object file it needs to create at least three sections: code, RW data and RO data. When first section is loaded and allocated, it becomes image base address. Consequent sections have to be in the address space within 2GB of this base address and cannot reside below base address. If any consequent section happens to be below base address or above it more than 2GB then assertion fails.
The problem is that default memory allocator on windows simply calls VirtualAlloc with image base address trying to convince VirtualAlloc to allocate memory somewhere there. In practice VirtualAlloc always returns zero and then allocator retries with NULL NearBlock parameter which allows VirtualAlloc to allocate memory anywhere in process address space sometimes breaking the condition of ordered sections layout described above.
With this said there is no clear solution to fix the problem. It looks like it is necessary to implement a more intelligent memory allocator instead of the DefaultMMapper but the problem is how to ensure that memory allocated for object file sections always satisifies ordered section layout? Sections are allocated in granularity of 64Kb (that is what getAllocationGranularity returns) and our allocator could call VirtualAlloc for 64Kb*3 to allocate all three sections in one chunk of memory, but what if some of object file's section is bigger than 64Kb? We cannot be sure than 64Kb ought to be enough for everyone even if MS founder said something like that. Another call to VirtualAlloc would be necessary and then it may return any address in memory including address that violate ordered section layout conditions.
Test suites affected by this bug are ArrowBasedExecuteTest, ArrowStorageSqlTest, NoCatalogRelAlgTest, maybe some other.

Also CorrelatedSubqueryTest and ExecutionSequenceTest are affected by this problem.


Changes page <title> logic to fix simple smart answers

What
This pull request flips the logic used to choose how to display a page's <title> - :title is used if present, otherwise the publication title helper is used, and finally a fallback of "GOV.UK".
Why
This change allows the <title> of a page to be set from with the template, even if the page is a publication - which means we can fix the <title> for the simple smart answers.
The problem - simple smart answers were displaying the same text in each step's <title>, which means that the pages don't meet the success criteria 2.4.2 of the WCAG.
The page title has an conditional statment where if the page is a publication the <title> is set by a helper. This means that using content_for :title doesn't work for publications because the title text is generated by the helper - and simple smart answers are considered a publication.
Visual changes
The <title> of a simple smart answer should be:

"Error" (if an error is present)
The question being asked
The name of the simple smart answer
"GOV.UK"

Before: https://www.gov.uk/settle-in-the-uk/y/you-re-the-family-member-or-partner-of-a-british-citizen/no/partner
After: https://govuk-fronte-fix-simple-ov4eqp.herokuapp.com/settle-in-the-uk/y/you-re-the-family-member-or-partner-of-a-british-citizen/no/partner
Before: https://www.gov.uk/return-or-contact-abducted-child/y
After: https://govuk-fronte-fix-simple-ov4eqp.herokuapp.com/return-or-contact-abducted-child/y
Before: https://www.gov.uk/sold-bought-vehicle/y
After: https://govuk-fronte-fix-simple-ov4eqp.herokuapp.com/sold-bought-vehicle/y

@injms I'm having a look at this! for now I have some questions:

Should we add a test to check that the title is correctly formatted for the error case?
On the outcome page, should we use the same pattern as for the questions, and have Outcome message - Simple smart answer name - GOV.UK (currently it's  just Simple smart answer name - GOV.UK)?

@injms I'm having a look at this! for now I have some questions:

Should we add a test to check that the title is correctly formatted for the error case?
On the outcome page, should we use the same pattern as for the questions, and have Outcome message - Simple smart answer name - GOV.UK (currently it's  just Simple smart answer name - GOV.UK)?

Good ideas - thank you.
I've added a test to check that the title is okay when a validation error is present; and I've updated the outcome page title (plus a test to make sure that's okay too).


Uat jul

These commits:

commit-1 addresses issue-c3-2
commit-2 addresses issue-c3-3
commit-3 addresses issue-c3-4

thanks so much @fredotieno, great work
[x] merged


add missing ufw

since ufw is used in the flash lets add it ;)
https://github.com/ct-Open-Source/tuya-convert/blob/master/scripts/setup_checks.sh#L111

Hey @bruvv thanks for your PR!
We actually only test to see whether it is running so that we can turn it off. Since it is not required and not guaranteed to be installed, perhaps it would be better to test for the existence of the command before our check.


JSON API #8

Signed-off-by: Kartik sibal<EMAIL_ADDRESS>

Also you likely need to run makemigrations and commit the migrations for the model updates

@kartiksibal The API code is in much better shape now, thanks to using proper Serializers ;)
I've made some cleanup in https://github.com/nexB/vulnerablecode/pull/26/commits/8158a84e0b000cdc14625261f13a757496e2884e
Some refinements are still needed from you before the merge:

Add some documentation on how to use the API in the README.md. You can create a new section at the end of the file.
All the test_* files should be located in a tests directory
data is a terrible name for the API URL, please use a proper name. Since this API endpoint returns Packages, I would suggest /api/packages/

Avoid using data for naming things in general.
@pombredanne could you review the shape of the returned package data structure?


Add SpacyEmbeddings class

Description: Added a new SpacyEmbeddings class for generating embeddings using the Spacy library.
Issue: Sentencebert/Bert/Spacy/Doc2vec embedding support #6952
Dependencies: This change requires the Spacy library and the 'en_core_web_sm' Spacy model.
Tag maintainer: @dev2049
Twitter handle: N/A

This change includes a new SpacyEmbeddings class, but does not include a test or an example notebook.

nice! could we add an example notebook showing how to use this? probably would live in docs/extras/modules/data_connection/text_embedding/integrations

nice! could we add an example notebook showing how to use this? probably would live in docs/extras/modules/data_connection/text_embedding/integrations

Sure, i will get one created

thanks @rjarun8!


[bug]Using Addon ScriptAPI to call the registered command causes a crash

Describe the bug
After registering the command, the player can execute it normally in the chat box, but it crashes when executing it using Addon Scripts Api
The command is defined using the following code：
#include <endstone/plugin/plugin.h>

class TpServer : public endstone::Plugin {
public:
    bool onCommand(endstone::CommandSender &sender,const endstone::Command &command,const std::vector<std::string> &args) override  {
        if(command.getName() == "tpserver"){
            if(args.empty()) {
                sender.sendMessage("请输入的地址和端口");
            } else {
                std::string tp_ip = args[0];
                int tp_port = std::stoi(args[1]);
                sender.asPlayer()->transfer(tp_ip,tp_port);
            }
        }
    }
};

//
// Created by 10130 on 2024/8/30.
//
#include "tpserver.h"
// 插件名称不可使用大写
ENDSTONE_PLUGIN("tp_server", "0.1.0", TpServer)
{
    description = "可以使用命令传送到其他服务器";

    command("tpserver")
        .description("传送到其他服务器")
        .usages("/tpserver <IP:str> <port:int>")
        .permissions("tp_server.command.tp_server");
    permission("tp_server.command.tp_server")
        .description("Allow users to use the /tp_server command.")
        .default_(endstone::PermissionDefault::True);
}

##Description##
A plugin built with the above code enables the player to use commands through the chat box and execute them successfully, but crashes when executing commands using an Addon-based ScriptAPI call, which reads as follows:
player.runCommand('tpserver test.****.cn 25**2')
Expected behavior
Using Addon Script APIS or command blocks to use commands still works
Details (please complete the following information):

OS: Win
Endstone Version: <IP_ADDRESS>

Additional context
##Crash Log##
=== ENDSTONE CRASHED! - PLEASE REPORT THIS AS AN ISSUE ON GITHUB ===
Operation system: Windows
Endstone version: <IP_ADDRESS>
Api version     : 0.5
Description     : Exception unhandled: 0xc0000005
Stack trace (most recent call first):
#0  0x7ffd29faa30f     (0x1800ca30f) in endstone::detail::`anonymous namespace'::exception_filter(_EXCEPTION_POINTERS*) at D:\a\endstone\endstone\src\endstone_runtime\windows\signal_handler.cpp:53
#1  0x7ffd5244849c     (0x1800a849c) in UnhandledExceptionFilter
#2  0x7ffd54868887     (0x1800a8887) in memset
#3  0x7ffd5484e6e5     (0x18008e6e5) in __C_specific_handler
#4  0x7ffd5486468e     (0x1800a468e) in __chkstk
#5  0x7ffd547f222d     (0x18003222d) in RtlVirtualUnwind2
#6  0x7ffd5486369d     (0x1800a369d) in KiUserExceptionDispatcher
#7  0x7ffd33ec8af0     (0x180008af0) in  ??
#8  0x7ffd29ffd563     (0x18011d563) in endstone::PluginCommand::execute(endstone::PluginCommand*, endstone::PluginCommand*) at D:\a\endstone\endstone\include\endstone\command\plugin_command.h:43
#9  0x7ffd2a074594     (0x180194594) in endstone::detail::CommandAdapter::execute(CommandOrigin&, CommandOutput&) at D:\a\endstone\endstone\src\endstone_core\command\command_adapter.cpp:89
#10 0x7ff6f37d168b     (0x140c8168b) in  ??
#11 0x7ff6f3980c58     (0x140e30c58) in  ??
#12 0x7ffd29f2a929     (0x18004a929) in MinecraftCommands::executeCommand(CommandContext&, bool) at D:\a\endstone\endstone\src\endstone_runtime\bedrock\server\commands\minecraft_commands.cpp:66
#13 0x7ff6f40ecde6     (0x14159cde6) in  ??
#14 0x7ff6f3febd8a     (0x14149bd8a) in  ??
#15 0x7ff6f40a9a5a     (0x141559a5a) in  ??
#16 0x7ff6f53aba7b     (0x14285ba7b) in  ??
#17 0x7ff6f53aec10     (0x14285ec10) in  ??
#18 0x7ff6f56ab03a     (0x142b5b03a) in  ??
#19 0x7ff6f567e036     (0x142b2e036) in  ??
#20 0x7ff6f567fb1b     (0x142b2fb1b) in  ??
#21 0x7ff6f56d24b5     (0x142b824b5) in  ??
#22 0x7ff6f568afa4     (0x142b3afa4) in  ??
#23 0x7ff6f53c0ca7     (0x142870ca7) in  ??
#24 0x7ff6f3f6abb0     (0x14141abb0) in  ??
#25 0x7ff6f32f449d     (0x1407a449d) in  ??
#26 0x7ff6f3f6b65f     (0x14141b65f) in  ??
#27 0x7ff6f4362dc3     (0x141812dc3) in  ??
#28 0x7ff6f4374e76     (0x141824e76) in  ??
#29 0x7ff6f4376fbe     (0x141826fbe) in  ??
#30 0x7ff6f45ad2f0     (0x141a5d2f0) in  ??
#31 0x7ffd29f73ff5     (0x180093ff5) in std::_Func_impl_no_alloc<<lambda_699a8acb9c64ace7949dddbe338da309>, void>::_Do_call() at C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\functional:822#32 0x7ffd29fe5bd0     (0x180105bd0) in endstone::detail::EndstoneServer::tick(unsigned int, std::function<void __cdecl(void)>&) at D:\a\endstone\endstone\src\endstone_core\server.cpp:467
#33 0x7ffd29f7418f     (0x18009418f) in Level::tick() at D:\a\endstone\endstone\src\endstone_runtime\bedrock\world\level\level.cpp:29
#34 0x7ff6f42a74e7     (0x1417574e7) in  ??
#35 0x7ff6f42a8268     (0x141758268) in  ??
#36 0x7ff6f3779b00     (0x140c29b00) in  ??
#37 0x7ff6f376f35e     (0x140c1f35e) in  ??
#38 0x7ff6f36eaf6d     (0x140b9af6d) in  ??
#39 0x7ffd51ed6b4b     (0x180026b4b) in _recalloc
#40 0x7ffd531c4ecf     (0x180014ecf) in BaseThreadInitThunk
#41 0x7ffd5483e39a     (0x18007e39a) in RtlUserThreadStart

According to the stacks, the server crashes here:
#7 0x7ffd33ec8af0 (0x180008af0) in ??

This points to your plugin's code, so it’s likely not an issue with Endstone.
Please try building your plugin with RelWithDebInfo, then place the .pdb file next to your .dll in the plugins folder. Then crash the server again, and we should be able to pinpoint where things went wrong.

I double-checked your code, and it seems the issue lies here:
sender.asPlayer()->transfer(tp_ip,tp_port);

You’ve assumed that the sender will always be a Player, but this isn’t the case when using player.runCommand with the Script API. In this scenario, the sender is not implemented as a player inside BDS, but a proxy, allowing the player to run commands at OP level on their behalf.
As a result, asPlayer returns a null pointer, and calling transfer on a null pointer without checking causes the server to crash.
To prevent this, you should always check the return value of asPlayer like this:
#include <endstone/plugin/plugin.h>

class TpServer : public endstone::Plugin {
public:
    bool onCommand(endstone::CommandSender &sender,const endstone::Command &command,const std::vector<std::string> &args) override  {
        if(command.getName() == "tpserver"){
            if(args.empty()) {
                sender.sendMessage("请输入的地址和端口");
            } else {
                std::string tp_ip = args[0];
                int tp_port = std::stoi(args[1]);
                if (auto* player = sender.asPlayer()) {
                    player->transfer(tp_ip,tp_port);
                }
            }
        }
    }
};

However, note that while this will fix the crash, it won’t work with the Script API or command blocks.

Thank you very much for your patient and meticulous answer. You have successfully solved my problem. We all look forward to EndStone getting better and better

No problem at all. I am going to close the issue for now and we will add a new type of CommandSender, i.e. ProxiedCommandSender, to deal with this kind of scenario. Feel free to re-open the issue if you have further questions.


Cant upload media

Hello there!
First of all thank you for the hard work on an amazing app!
I did a fresh install of Lemmy on the domain meowrr.com and all seems to work. Only with the iOS app I cannot upload media and het an error.
Media uploading does work on Android & web

@mstdn verified, will fix soon

You're the best!♥

@mstdn should be fixed in next release


Yet another Merlin issue.

You cannot mine under water like normal.

yep it happens after entering your saved game or dying, night vision also gets disabled

Provide the version you are on.

1.19


Check for right logging level

The code checked if isInfoEnabled() but then called logger.debug().

NetflixOSS » eureka » eureka-pull-requests #82 SUCCESS
This pull request looks good

thanks for the fix.


A lot. It's better

Nike it.

Codecov Report

Merging #9 into master will decrease coverage by 0.47%.
The diff coverage is 96.04%.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
- Coverage   99.19%   98.72%   -0.48%
==========================================
  Files           6        6
  Lines         498      548      +50
==========================================
+ Hits          494      541      +47
- Misses          4        7       +3

Impacted Files
Coverage Δ

lib/bvdf.js
100% <ø> (ø)
:arrow_up:

lib/steam-paths.js
100% <ø> (ø)
:arrow_up:

lib/steamdata-utils.js
100% <100%> (ø)
:arrow_up:

lib/async-fs.js
80% <50%> (-20%)
:arrow_down:

lib/index.js
98.61% <96.87%> (+0.21%)
:arrow_up:

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 239fa60...123e96f. Read the comment docs.

Still ironing out some issues, but it is far more stable + just better overall.


Improve RegExp parser

Purpose
$title
Fixes https://github.com/ballerina-platform/ballerina-lang/issues/37735
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

@lasinicl please create PR for master branch as well

Also, shall we use LexerTerminals in the isReSyntaxChar method? e.g. ? -> LexerTerminals.QUESTION_MARK.


rubico/x/flatten

please use flatMap in the implementation
flatten
Create a new collection with all sub-collections concatenated
y = flatten(x)

x is any Iterable or AsyncIterable
y is the concatenation of all sub-collections of x
console.log(
  flatten([[1], [2], [3]]), // > [1, 2, 3]
)

TODO

[ ] - documentation entry
[ ] - implementation + tests

Doing this


Firebase Dynamic Links not working on iPhone with no SIM

Going through the example located here:
https://firebase.google.com/docs/dynamic-links/ios/receive#set-up-firebase-and-the-dynamic-links-sdk
Things seem to work fine on iOS devices that don't support sim cards, like WiFi only iPads or iPod Touch. iPhones with sim cards also work. However, iPhones with no sim that still have internet via WiFi don't work. The screen just goes black and you get a ton of errors, noted below. If there are any options to get around this they would be greatly appreciated.
Errors:

Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
TIC TCP Conn Failed [2:0x283522b80]: 12:8 Err(-65554)
HTTP load failed (error code: -1003 [12:8])
Deep Link does not contain valid required params. URL params: dismiss = 1; is_weak_match = 1;

Please disregard. This is not related to the sim card. It turns out the devices that didn't work were older and ran iOS 12. That was the problem, not the sim card.


fix: CG alerts for follow-redirects 1.5.10, axios 0.19.2

Fixes #minor
Description
High severity vulnerability.
https://fuselabs.visualstudio.com/SDK_v4/_componentGovernance/112352/alert/4059014?typeId=10406766
https://fuselabs.visualstudio.com/SDK_v4/_componentGovernance/112352/alert/6373557?typeId=10406766
Found in this JS daily build
Upgrade<EMAIL_ADDRESS>to latest version 5.0.0.
Upgrade<EMAIL_ADDRESS>to latest version 0.25.0.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
131 unchanged lines in 11 files lost coverage.
Overall coverage remained the same at 84.549%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-dialogs-adaptive/src/jsonExtensions.ts
1
93.33%

libraries/botbuilder-dialogs-adaptive/src/telemetryExtensions.ts
1
40.0%

libraries/botbuilder-dialogs-adaptive/src/conditions/onIntent.ts
2
87.5%

libraries/botbuilder-dialogs-adaptive/src/languagePolicy.ts
2
84.62%

libraries/botbuilder-dialogs-adaptive/src/entityAssignment.ts
3
79.63%

libraries/botbuilder-dialogs-adaptive/src/actionContext.ts
4
82.98%

libraries/botbuilder-dialogs-adaptive/src/entityInfo.ts
6
40.91%

libraries/botbuilder-dialogs-adaptive/src/conditions/onCondition.ts
7
87.5%

libraries/botbuilder-dialogs-adaptive/src/entityAssignmentComparer.ts
10
12.5%

libraries/botbuilder-dialogs-adaptive/src/languageResourceLoader.ts
12
78.68%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
19668

Relevant Lines:
22036

💛  - Coveralls


Using double-size characters can cause the Atlas engine to crash

Windows Terminal version
Commit 3e6abd37df192d969088188ce836edbf645b13b4
Windows build number
10.0.19044.1889
Other Software
Vttest
Steps to reproduce

Make sure the Atlas renderer is enabled.
Open a WSL shell.
Run Vttest, and select option 4, the "Test of double-size characters".
While the first test page is visible, open the terminal settings.
Without changing anything click Save and then close the settings.

Expected Behavior
No crash.
Actual Behavior
The app crashes with:
Unhandled exception thrown: write access violation.
it->_Ptr->_Next->**_Prev** was 0x7FFE52FDE460.

and the stack trace:
>	Microsoft.Terminal.Control.dll!Microsoft::Console::Render::AtlasEngine::StartPaint() Line 280	C++
 	Microsoft.Terminal.Control.dll!Microsoft::Console::Render::Renderer::_PaintFrameForEngine(Microsoft::Console::Render::IRenderEngine * const pEngine) Line 121	C++
 	Microsoft.Terminal.Control.dll!Microsoft::Console::Render::RenderThread::_ThreadProc() Line 214	C++
 	[External Code]

Sometimes the crash occurs elsewhere, but it always seems to be something with the _Prev pointer being null or pointing somewhere inaccessible.

I can sometimes reproduce this with a simple printf "\e#3Test\n", but that may require opening and closing the settings more than once. I'm not exactly sure what is triggering it, so maybe there is an aspect of randomness involved.
As a wild guess, could it be that the Atlas engine can't cope with the fact that double-width lines only contain half the number of buffer cells as a full width line?

As a wild guess, could it be that the Atlas engine can't cope with the fact that double-width lines only contain half the number of buffer cells as a full width line?

Yeah that sounds quite likely unfortunately.


ModalHarvestingSetupWizard implementation [design pending]

Components:
src/views/modals/ModalHarvestingSetupWizard
Task description:
The harvesting setup wizard should be composed of multiple forms such that following actionable items are executed:
Actionable Items:

[ ]  FormAccountLinkTransaction (@decentraliser)
[ ]  FormPersistentDelegationRequestTransaction (@decentraliser)

Related requests from other issues:

[ ] Should include a way to know the delegated private key
[ ] The vested balance should be displayed

Delegated harvesting operation requires the client three accounts:

Main account:  delegates importance sore to obtain real revenue
Announcer account: helps the main account to make a request so that the main account can be hidden
Remote account: a proxy private key that delegates to the node configuration

In this program model, the main account is the current account.There are two options for an Announcer account: One is to default to the current account. The other requires you to declare a private key temporary import to Announce tx .
The model design is as follows：
1.Through harvesting dashboard, check the configuration status.  By switching the list, you can see the latest revenue list, the list of remote account operation transactions, and the list of remote request transactions.

2.Link and unlink configuration for remote account

3.Initiate a delegate request to the configuration node

Expect more advices.
Thank you