Update the job-scheduler plugin documentation with the list of supported API's

Is your feature request related to a problem?
The job-scheduler plugin has the following API's which are added as part of the extensions effort.
Related issues
https://github.com/opensearch-project/opensearch-sdk-java/issues/274
https://github.com/opensearch-project/opensearch-sdk-java/issues/370
Related PR's
https://github.com/opensearch-project/job-scheduler/pull/289
https://github.com/opensearch-project/job-scheduler/pull/312
Get Job Details :
curl -XPUT localhost:9200/_plugins/_job_scheduler/_get/_job_details --data '{"job_index":"<job_index_name>","job_type":"<job_type>","job_parameter_action":"<job_parameter_action_name>","job_runner_action":"<job_runner_action_name>","extension_unique_id":"<extension_unique_id>"}' -H "Content-Type:application/json"

Update Job Details  :
curl -XPUT localhost:9200/_plugins/_job_scheduler/_get/_job_details/{<documentId>} --data '{"job_index":"<job_index_name>","job_type"<job_type>","job_parameter_action":"<job_parameter_action_name>","job_runner_action":"<job_runner_action_name>","extension_unique_id":"<extension_unique_id>"}' -H "Content-Type:application/json"

Get Lock :
curl -XGET localhost:9200/_plugins/_job_scheduler/_lock/ --data '{"job_id":"<job_id>","job_index_name":"<job_index_name>","lock_duration_seconds":"<lock_duration_seconds>"}' -H "Content-Type:application/json"

Release Lock :
curl -XPUT localhost:9200/_plugins/_job_scheduler/_release_lock/{<lock_id>}

What solution would you like?
The API's should be documented in https://opensearch.org/docs/latest/monitoring-your-cluster/job-scheduler/index/ and in https://opensearch-project.github.io/opensearch-api-specification/.

These endpoints only make sense in the context of extensions so I think any documentation of these APIs should exist with extensions developer documentation like DESIGN.md of the opensearch-sdk-java repo.
These endpoints replace existing transport actions for out-of-process extensions.


[PLAT-440] chore: upgraded Node version to 22 and removed dependency to node-fetch

upgraded Node version to 22 and removed dependency to node-fetch

@Yarimizu14 Please fix the failed CI

Let me check the behavior especially on Windows just in case


Feature: Added dividers between status bar sections

Resolved / Related Issues

[x] Were these changes approved in an issue or discussion with the project maintainers? In order to prevent extra work, feature requests and changes to the codebase must be approved before the pull request will be reviewed. This prevents extra work for the contributors and maintainers.
Added dividers between status bar sections

Validation
How did you test these changes?

[x] Did you build the app and test your changes?
[ ] Did you check for accessibility? You can use Accessibility Insights for this.
[ ] Did you remove any strings from the en-us resource file?

[ ] Did you search the solution to see if the string is still being used?

[x] Did you implement any design changes to an existing feature?

[x] Was this change approved?

[ ] Are there any other steps that were used to validate these changes?

Screenshots (optional)
Add screenshots here.

Is there any merit in making this Divider/Separator into a control - rather than duplicating XAML?

Is there any merit in making this Divider/Separator into a control - rather than duplicating XAML?

I usually only create a control if it's reused multiple times in multiple xaml files.

Also why is this using the Control Stroke colour, and not the Divider colour?
DividerStrokeColorDefaultBrush

The status bar is using DividerStrokeColorDefaultBrush.


kosmosctl join subcommand args validate  issuse

What happened:
When use kosmosctl join subcommand, I forget input enable-all/enable-link/enable-tree args,
enven I input --default-nic xxx, it is also invalid, there is no hint
What you expected to happen:
Maybe we can set enable-all default true,now the value is false
Or maybe we can add args verification function
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
file install.go, line 282, maybe klog.Warningf should log crds.Items[i].Name instead of &crds.Items[i].Name
Environment:

Kosmos version:
Others:

@duanmengkk

/assign @Ramos2011

when using kosmosctl join ...  'EnableAll'  require a default logic.


reddit identity proof

There is an issue with the Reddit Identity proof process, I have tried it twice now with no luck. I had an old post already listed from over a year ago, I went in and deleted that post to ensure it wouldn't interfere with the new post, still nothing.

Problem is with "new reddit" interface. If you want to prove your identity, try copying link, then replacing www to old. So it be like
https://old.reddit.com/r/KeybaseProofs/submit?selftext=true&title=My%20Keybase%20pr...


Ability to type-annotate class vars

Example:
module Example
  @@stuff :: String
  @@counter :: Int64
end

Currently it produces error unexpected token ::: http://carc.in/#/r/l5x

But :: isn't for type annotations, at least atm.

@jhass Not quite (scroll to the bottom). I think that's the main confusion: at a class level they determine the type, but inside a method they just declare the data without zero-initializing it.
For the next compiler we'll need these annotations, and we'll need them for global variables too:
$x :: Int32

@jhass For example: http://play.crystal-lang.org/#/r/l9g

Well, that sucks tbh. and is really confusing indeed. We really do need to find a better distinction between allocation and annotation then. I would argue that at the class level they don't annotate the type then, or rather that it's the wrong term. They do restrict it, so consistency would be achieved by using : instead, like in method definitions.
That the AST node is still called DeclareVar doesn't help anything either. http://play.crystal-lang.org/#/r/l9p

You are right in every point :-)
And yes, because they'll be more common we'll probably use : instead of ::.
What name would you use instead of DeclareVar? Maybe TypeAnnotation? The current one should probably be renamed to UnsafeDeclareVar or something like that.

Well, we call them restriction in method definitions, right? Why not keep that term, TypeRestriction. Doesn't fit well into them being mandatory I guess, but you know I'll hate that fact anyhow.

Just some ideas to the table:

DeclareTypedVar.
DeclareInstanceVar or DeclareIVar (with appropriate analogues for cvars and gvars).

I like the connotation of TypeAnnotation. The deeper semantic meaning could stay out of AST-Node-naming since it might be sleaker in AST-mutating macros. But that's a weak argument for it, I admit.

In 8ae45d56088b48ff8f5531942ad21258d5ab840d (and the previous commit) the name of the AST node was changed to TypeDeclaration, and a new node UninitializedVar was introduced, so at least now names and syntax are more consistent and their meaning is more clear.
We still miss type annotations for class and global variables, these will come soon.


autobump and other tasks fail due to version.toString() being called earlier than anticipated

If some other task uses the version for configuration, this ends up setting bump on the version object. When the task-graph is ready, this results in a false-positive error because bump has already been set.

Fixed.


auro-alert: ability to set background color

Is your feature request related to a problem? Please describe.
Currently, the auro-alerts all have transparent backgrounds. We would like the ability to set the background to white as we have some pages using a neutral background rather than background-lightest.
Describe the solution you'd like
Ability for engineers to change the background from transparent to white/background-lightest.
Describe alternatives you've considered
No response
Additional context

Here we see the alert with transparent background which takes on the page's neutral background. Ideally we want to set it to a white background.

I have reviewed this issue and have determined that this is NOT a valid bug. By default, auro-alert has a transparent background with no specific styles being applied to it. The way to change the background of the alert is to access the shadowDOM specifically through cssParts. In this case, you need to access the part="alert" div within the shadowDOM.
If you have any questions on how to do so, please reach out to me via Teams.
The highlighted section in this photo is what needs to be targeted to change the background color.

We are also going to review this with the designers to see if we can provide a standard way to support auro-alert when used on any of our default backgrounds so CSS parts aren't required, but that is a good workaround for today.

The decision was made to change the default background from transparent to --ds-color-background-lightest or potentially a new token that works with dark mode themes.


Better Way to Handle Inline Logic

Currently, the library supports the ability to pass in undefined to any setter or appending method, such as:
module.exports = (someParam) => {
  return Modal({ title: 'Test Modal', close: 'Cancel' })
    .blocks(
      Blocks.Section({ text: 'This is just a test...' }),
      someParam && Blocks.Section()
        .text('This is visible if this parameter is defined.'),
      Blocks.Section({ text: 'Is there a button here?' })
        .accessory(someParam && Elements.Button()
          .text('Click Me!')
          .actionId('been-clicked')),
      Blocks.Divider(),
      Blocks.Section({ text: 'Why not think of a better way?'}),
    ).buildToObject();
};

However, this approach is not very evident and requires the developer peruse the documentation to find out about it. It also only works with undefined values, but not false or null values.
As the library is growing in popularity, I think it makes sense to find a better way to do that.
The proposal is to add in some helper functions for this, to make the code more understandable and declarative. Helper functions such as:
setIfFalsy()
setIfTruthy()
appendIfFalsy()
appendIfTruth()
Where each function accepts a statement and a value, and returns either the value or undefined.
The above modal would then look like this:
module.exports = (someParam) => {
  return Modal({ title: 'Test Modal', close: 'Cancel' })
    .blocks(
      Blocks.Section({ text: 'This is just a test...' }),
      appendIfTruthy(someParam, Blocks.Section()
        .text('This is visible if this parameter is defined.')),
      Blocks.Section({ text: 'Is there a button here?' })
        .accessory(setIfTruthy(someParam, Elements.Button()
          .text('Click Me!')
          .actionId('been-clicked'))),
      Blocks.Divider(),
      Blocks.Section({ text: 'Why not think of a better way?'}),
    ).buildToObject();
};

In such a case:

The code becomes more readable.
Logic is more declarative.
Works for all undefined, null, and false values for setter and appending methods.
Makes the documentation more straightforward.
Will save a lot of code for those building out similar helper functions.

Would love any input or proposals from the community on how this could be better handled!

@tsnieman – you opened an issue around this behavior in the library – would love your feedback!

Added in 2.4.0


Judge A Book page 8 of 12, step 27 image

The image on step 27 on page 8 of the Judge a Book worksheet shows "When I receive 'classified'" as the event in the picture of the script but that should actually be "When I receive 'next picture'". I tested switching it to "next picture" then it worked.

@noradspam123 Thanks very much for letting me know!


Week 3 Review Ticket

Link to video
Link to my Replit
Link to crossover Replit
Coding Review
Individual Coding:
GitHub Pages showing key learnings and challenges conquered from Tech Talks
GitHub commits you have made, show GitHub insights into your code commits.
Show Code running on Replit as well as IntelliJ
Menu review illustrating use of Lists and navigation: show runtime, code organization, code and comments
List and Loops: show runtime, code organization, code and comments
Class review and understanding: show runtime, code organization, code and comments
Show Crossover contribution:  Highlight work you did in crossover project: show their Replit runtime, code commit(s) in their GitHub repo
Show anything you have done to enhance what you have learned from Python code
Video 2 minutes: showing the above, quality suggested as follows
Make sure you cover everything, but create your own order and optimize time
Use Voice or Captions.   Try not to wiggle mouse a lot or over scroll.  Make sure you have a clear plan before you start.
Perform video in small parts 15-30 seconds and finish a key subject.  Then put the final Video together with Video editing or Youtube playlists.

Individual Coding:
GitHub Pages showing key learnings and challenges conquered from Tech Talks
GitHub commits you have made, show GitHub insights into your code commits.
Show Code running on Replit as well as IntelliJ
Menu review illustrating use of Lists and navigation: show runtime, code organization, code and comments
List and Loops: show runtime, code organization, code and comments
Class review and understanding: show runtime, code organization, code and comments
Show Crossover contribution:  Highlight work you did in crossover project: show their Replit runtime, code commit(s) in their GitHub repo
Show anything you have done to enhance what you have learned from Python code


I cannot import iso every time I press an iso it does nothing

Please fix this, this problem is annoying and I can't use UTM because of this problem

Duplicate of #5339


Cubes stay in your gravity when held

If you are grabbing a cube on an unregular gravity it will fall into whatever gravity for a second until it goes regular down on its own (ex: your gravity is up, you drop the cube, the cube is gonna fall up for 2 second before resetting its gravity to down on its own (somehow))
This can be a nuances if your upside down with adhesion gel and trying to make a cube fall down, but it falls up and sticks into the adhesion gel

will be fixed in the next version


gateway-api: Bump the version to v1.0.0

Description
Please refer to individual commit for more details. This is to prepare for v1.0.0 next week.

/ci-gateway-api

/ci-gateway-api

/ci-gateway-api


Question: how to exclude the Gradle wrapper from the updates?

I'd like to exclude the updates of the Gradle wrapper until the issue #59 won't be closed.
Quoting your doc on excludes:

You can define a groupId to match all the artifacts for that group id, or groupId:artifactId to match a particular artifact. By default there aren't excluded dependencies.

How can I exclude the updates of the wrapper?

Hi. You should use the key "gradle". For example:
excludes = ["gradle"]
I am going to clarify this on the README. Thanks for your question

Thanks very much for the quick support. I'm going to close the issue.


Banking.Accelerator.Walkthrough.pdf cannot be opened

The pdf cannot be opened, appears to be a corrupt file. Tried multiple downloads and different apps to open it but all fail.
Industry-Accelerator-FinancialServices/documentation/Banking.Accelerator.Walkthrough.pdf

I just cloned the repo and was able to open Banking.Accelerator.walk.through.pdf


Use generated always as identity instead of bigserial?

Here, and in other places, bigserial is used:
https://github.com/tembo-io/pgmq/blob/f8ae3e807c5bace58aff7da723fe3bd536aa28db/core/src/query.rs#L41
However, I think it is recommended to use generated always as identity over serial. See https://wiki.postgresql.org/wiki/Don't_Do_This#Don.27t_use_serial for some reasons why.

@craigpastro , I we might be able to use generated as identity without impact to metrics. We still get an auto incrementing sequence created.
pgmq=# create table test (msg_id BIGINT GENERATED ALWAYS AS IDENTITY, name text);
CREATE TABLE
pgmq=# select * from test_msg_id_seq;
 last_value | log_cnt | is_called
------------+---------+-----------
          1 |       0 | f

pgmq=# insert into test (name) values ('craig');
INSERT 0 1
pgmq=# select * from test_msg_id_seq;
 last_value | log_cnt | is_called
------------+---------+-----------
          1 |      32 | t
(1 row)

@ddorian - how would you feel about expanding on the queue types that can be created in order to support client-generated message IDs? For example, we have pgmq.create(), pgmq.create_unlogged(), pgmq.create_partitioned()....we could add pgmq.create() with a flag for client-generated IDs, or a pgmq.create_manual_assigned() or something that makes sense.

I'm sorry but I don't have free time ATM.


Adds testing with Docker

since #125 didn't trigger a build at Travis, i built a script that uses Docker to run all test locally against all interpreters without much hassle.

as the weblinks in the documentation are validated with the last commit, it is failing because the Google Groups-page can't be verified. they are using the # in a strange manner.
would you remove that link? something like whitlisting seems not to be possible with the doclinks-extension and i don't see some workaround in sight.
maybe it's even better to direct questions regarding usage towards Stackoverlow. anything bug- and feature-related is fine here.

Add linkcheck_anchors to conf.py to fix the google groups issue (see docs). I tested it on your PR and it works like a charm.
Also, can you please rebase on top of master?

thanks for the hint. i find that documentation tool's documentation still rather confusing. :-/
i now whitlelisted the google group's links, did you achieve successfully checking it?
also rebased it.

Merged with https://github.com/nicolaiarocci/cerberus/commit/7ae46e57024d915f11502d8bde91ae51f3a1f510

ciao, is there a reason why you dismissed my commits and replaced it with your own?

Cant check right now I thought I pulled your rebase before the merge ? I had a rebased branch maybe I forgot to fetch the updates... Don't know will fix tomorrow if needed when I'm back.
—
Nicola Iarocci
http://nicolaiarocci.com
On Wed, Jul 15, 2015 at 8:21 PM, Frank Sachsenheim
<EMAIL_ADDRESS>wrote:

ciao, is there a reason why you dismissed my commits and replaced it with your own?
Reply to this email directly or view it on GitHub:
https://github.com/nicolaiarocci/cerberus/pull/126#issuecomment-121703227

Your commits are there https://github.com/nicolaiarocci/cerberus/commits/master, it's just a merge --no-ff as usual.

okay, i wasn't sure if there was something wrong.


Add fedora support to GetOSVersion

Add Fedora support to the function GetOSVersion and unit test.

/ok-to-test
/lgtm
/approve

Do you want to rebase the change?

Can this be re-opened? Was I supposed to do something?

Can this be re-opened? Was I supposed to do something?

Yes, the change needs to be rebased.


chore(release): v0.15.0 🎉

:robot: I have created a release beep boop
0.15.0 (2024-04-28)
Features

exports: expose method to dedupe by identity (6f043cc)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ehmpathy/domain-objects/releases/tag/v0.15.0 :sunflower:


#2930 - Deactivate Program-Constraints Part2

Education Program Offering Changes:

In Active program offering list view for Institution.

On clicking view, offering view is opened, in readonly mode.

API for request a change and edit offering is changed to include the active program check, so that even if the institution program is in active in the. middle of the edit offering or request a change, the API will throw unprocessable exception.

Approving or declining a offering request a change by the ministry user for an inactive program will result in error.

E2E test cases are updated accordingly.
E2E tests for the above scenarios to be mentioned and will be created in the upcoming Ticket.

I tested the PIR who'se program is selected but deactivated later.

Please have a look at the comments @guru-aot . Did some testing as well and found something from PIR.

I tested the PIR who'se program is selected but deactivated later.

I am not able to replicate it, if possible we can connect


Cannot build Docker images - build process freezes

Summary
The Docker image build appears to freeze/stall during building.
The command I am running to build the images: docker buildx build --platform linux/amd64 . -f all.Dockerfile
The build process starts, but freezes during the RUN pnpm build step. As you can see in the screenshot, the build has been running for >1300 seconds (20 minutes).

System configuration and versions
Using Jitsu Next on latest main branch. Docker version 27.2.0.

Curiously, dropping the --platform linux/amd64 argument allowed the build to succeed:

Are you building this on Apple Silicon? They have a pretty poor simulation layer for arm64

For local development, just drop --platform option, and it will build a native arm64 image. If you want to deploy it somewhere, I believe it's going to be amd64, so the best way to do so is to get a AMD64/Linux instance from any cloud provider. That's what we use in our CI/CD workflow
Another approach would be using docker build cloud. We have a plans to switch to it and add a support to build scripts, but we are not there yet. But you can try hack the script and maybe make a PR

That's cool thank you. Also, pardon my Docker newbie question, but I noticed that only a single image is put from from that script. I assume that image is for the Console. How do I build images for Ingest and Rotor and Bulker (but I believe that is in a separate repo)?
PS is your documentation in a public repo? I would be happy to contribute to it as I tinker with the self-hosted version.

Closing this one since nothing should be done here


Document for read only mounts on atomic writer volume (secrets, configMap, downwardAPI etc.)

This is a Bug Report
After the security fix https://github.com/kubernetes/kubernetes/issues/60814, now all the atomic writer volume such as secrets, configMap will be mounted as read only file system in containers no matter what the file permission is set in DefaultMode. However the documentation about this breaking change is not very clear on our kubernetes io such as here https://kubernetes.io/docs/concepts/configuration/secret/

cc /sig storage

/kind feature
/priority backlog


Ability to private/lock profiles.

This is Social Media Basics, sorry but that's the true. Unfortunately a lot of updates are made and this question isn't being addressed properly.
Bluesky is open to everyone, do you know what it means everyone? Yes, even racists, homophobics, transphobics, bigots, internet trolls and other people who are here to just cause the chaos. And you don't need a valid email address to start posting, so you can make an account and just start harassing people with no consequences... (No, delete the profile isn't a consequence, it's the obligation of the platform to ensure a safe space)
So yes, my point is: WE HAVE to be able to private profiles, because yes, Social Media isn't safe from problematic people.
Oh, that's complicated to do? Ok, so let's have some other security features like:

To post you need a valid email and confirm that email.
Doesn't have an email? Phone, why not a phone.
The profile is taken down? The username now is dead and unavailable. To people know that "person" was banned.

Ok, that's it. I hope here we can discuss more about. I'm open to make and help Bluesky be better.
@Vcme.dev on Bluesky

The incidence of bots or profiles with targeted attacks on various communities on the platform has been frequent and even though reports are made, apparently nothing is done.
It is very sad to not feel heard and that these demands for more security on BlueSky are not met.
A recent complaint in the community was about the Starter Packs lists, where users were added to the lists of an openly Nazi person and support simply mentioned that the person should contact the owner of the list and ask for it to be removed. Image of the response attached.

The points you have raised are not actually effective, and have been implemented previously or currently one way or another. You've essentially written a paragraph with a lot of nothing. It's also already well known that private accounts are on the radar.

Duplicate of https://github.com/bluesky-social/social-app/issues/1155


Change material-UI to bootstrap 4

In the index.html file, please change Material-CSS to Bootstrap 4.

https://bulma.io/documentation/


2.0.0 Release

Ignore failing tests. Will deal with that in post 2.0.0.

@elmatou released 2.0.0 :smile:
Now lets focus on post 2.0 work.


Installation Error "header file <ares.h> not found", when installing "OpenSwoole" from sourcecode

Please answer these questions before submitting your issue. Thanks!

What did you do? If possible, provide a simple script for reproducing the error.
Ran Command to install OpenSwoole from source-code, as below:

cd /tmp && git clone https://github.com/openswoole/swoole-src.git && \
    cd swoole-src && \
    git checkout v4.7.2 && \
    phpize8.0  && \
    ./configure --enable-openssl \
                --enable-mysqlnd \
                --enable-sockets \
                --enable-http2 \
                --enable-swoole-curl \
                --enable-swoole-json \
                --enable-debug \
                --enable-debug-log \
                --enable-trace-log \
                --enable-thread-context \
                --enable-cares \
                --with-php-config=/usr/bin/php-config8.0 && \
    sudo make && sudo make install

And, before running the command above, i also installed c-ares library on ubuntu using command below:
sudo apt-get install -y libc-ares2

What did you expect to see?
Successful installation.

What did you see instead?
Error Message: /tmp/swoole-src/ext-src/php_swoole.cc:54:10: fatal error: ares.h: No such file or directory

What version of Open Swoole are you using (show your php --ri openswoole)?
4.7.2

What is your machine environment used (show your uname -a & php -v & gcc -v) ?
Ubuntu 18.04 (Bionic)
PHP8.0

The issue resolved by installing "libc-ares-dev", then removed the "swoole-src" folder, and re-installing openswoole from source again (starting from cloning git repo), so pre-requisite to configure compile-time swoole option "--enable-cares" is:
sudo apt-get install -y libc-ares-dev

Instruction added at https://www.swoole.co.uk/docs/get-started/installation#general-parameters


[DribbblishDynamic] Return the timestamps on the seek bar

This theme completely removes the current track progression time and the track length from spotify and it gets annoying sometimes. You should return it but also I recommend a little (optional) polish where it hides normally and then appears when you hover over the seek bar (as demonstrated below)
Screenshots
What it looks like on regular spotify

My suggestion concept

Specifics (please complete the following information):

OS: Windows 10 20H2
Spotify version <IP_ADDRESS>5.g2d2da0de
Spicetify version 1.2.1
Theme: DribbblishDynamic

You can add this lines on your user.css :
#player-text-elapsed,
#player-text-remaining {
    display: block;
}
#player-text-elapsed{
    margin-right: 0;
    margin-left: 15px;
}

The result is like this :

I, too, would like to bring back the timer in the theme, but it's difficult to find a place where it doesn't look too ugly.
You can try this, closer to your mockup.

#player-text-remaining {
    display: block;
    position: absolute;
    right: -8px;
    margin-top: 10px;
    color: var(--modspotify_main_fg);
}

#player-text-elapsed{
    display: block;
    position: absolute;
    left: 4px;
    margin-top: 10px;
    color: var(--modspotify_main_fg);
}

Probably khanhas found an alternative solution (at least for his theme) in https://github.com/morpheusthewhite/spicetify-themes/commit/9e30494666cb5e79e169a5774c04132f6b35a238


Import the designers backlog in order to only have one backlog

We worked with @CyriaqueBillard to synchronize our 2 backlogs (this one and the designers' tracker).
Some labels were added to help them/us define some priorities.
I'm closing this one :tada:


Update .travis.yml

Remove 3.6.0 which does not exist any more.

Codecov Report

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

@@           Coverage Diff           @@
##           master       #4   +/-   ##
=======================================
  Coverage   78.35%   78.35%
=======================================
  Files           3        3
  Lines         134      134
=======================================
  Hits          105      105
  Misses         29       29

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 6cf82e3...0fb0d71. Read the comment docs.


Unable to connect through Firefox

Every time I try to connect through firefox, it fails. (FF is running on a DMZ, I'm on a symmetric NAT). On the same machine, when connecting through Chrome, it works. When I logout and login again quickly after trying to connect through Firefox, the remote FF instance appears as if it is offline. (Using the FB social provider). Submitted feedback.
Trying to connect:

Fails, then I logout and login again and see this:

Then I wait a bit and see this:

Is connecting to FF resulting in being disconnected from FB ?

Trevor and I just looked at this, and it seems something related to obfuscation.
When we disabled it, I was able to connect to firefox, and stay connected to chrome.

I need to compare the logs from a successful vs. unsuccessful proxying session. Please friend me when you have a chance.
In the meantime, I rattled of this pull request which adds an advanced setting to override your client's version -- overriding this was an essential debugging tool last night with @salomegeo:
https://github.com/uProxy/uproxy/pull/1712

So, I can reproduce if I try to get from @bemasc's remote machine.
I can see that my peer (Chrome) is not receiving any candidates (from Firefox). The issue seems to be that Firefox is bundling candidates together with the offer -- churn doesn't look for candidates here so it never establishes mirror ports, etc. etc.
It's not a hard fix but I want to figure out how/why this is happening Firefox doesn't do this for me locally (38 and 39).
@bemasc and @iislucas: which versions of Firefox are you running?

IceWeasel 31.6.0
On Tue, Jul 7, 2015 at 4:22 PM, trevj<EMAIL_ADDRESS>wrote:

So, I can reproduce if I try to get from @bemasc
https://github.com/bemasc's remote machine.
I can see that my peer (Chrome) is not receiving any candidates (from
Firefox). The issue seems to be that Firefox is bundling candidates
together with the offer -- churn doesn't look for candidates here so it
never establishes mirror ports, etc. etc.
It's not a hard fix but I want to figure out how/why this is happening
Firefox doesn't do this for me locally (38 and 39).
@bemasc https://github.com/bemasc and @iislucas
https://github.com/iislucas: which versions of Firefox are you running?
—
Reply to this email directly or view it on GitHub
https://github.com/uProxy/uproxy/issues/1707#issuecomment-119325216.

@iislucas tells me it was Chrome 38.

So, right now we're narrowed our issues down to two issues:

we should post-pone creation of the obfuscated connection until the probe connection has been torn down https://github.com/uProxy/uproxy/issues/1739
we need to re-think how we grab ports on windows https://github.com/uProxy/uproxy/issues/1740

I'm closing this issue in favour of those two.


Sniff ESPNOW traffic (IDFGH-8981)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
I have two questions :

How does random bytes prevent relay attacks?
I know ESPNOW traffic can be inspected by tools like wireshark If I don't use action frame encryption. But, can an attacker generate and send ESPNow messages? Is there anything that verifies messages are surely sent from an esp device and they are not sent by an attacker with these tools?

Any updates on this question?

Any updates on this question?

@AmirHmZz

Currently, the random bytes  can only check the retransmit packets with the Retry bit set to 1 in the Frame Control field.
If the ESPNOW data is unencrypted, an attacker can generate and send ESPNOW, and there isn't a good way to tell if the packet was sent from the ESP device or from the attacker.

Thanks for reporting, will close due to short of feedback, feel free to reopen with more updates.


Adding missing values to network role

https://github.com/openstack-k8s-operators/edpm-ansible/blob/main/edpm_ansible/playbooks/deploy-edpm-network-configure.yml

/test dataplane-operator-build-deploy

/test dataplane-operator-build-deploy


Split flatten from techmap and simplify it

Although the two passes started out very similar, they diverged over time and now have little in common. Moreover, techmap is extremely complex while flatten does not have to be, and this complexity interferes with improving flatten.
This is a fairly large PR, and it is best reviewed commit by commit: it starts by copying the techmap code wholesale and then simplifying it to make it easier to convince yourself that the changes are indeed correct. It can also be helpful to append ?w=1 to the URL to omit whitespace changes from the output.
The only actual improvement to flatten in this PR is using topological order, but it sets the stage for adding support for hdlname and processes (without proc).

The "topologically sort modules" commit started out as a simplification (because I didn't fully understand the logic) and ended up as more of an optimization (but now the logic is documented!). I hope that's ok.

Thanks a lot!


Right window bug

Hi viezel thanks for this amazing module but i have a problem in android when i make center window and right window application crash but if i put right , left and center window it doesn't crash can u tell me what is problem?

The issue appears to be that the NappDrawer doesn't seem to be refreshing itself.
I managed to get around it by closing and opening the drawer once I've set a Left or Right window.
$.drawer.close();
$.drawer.open();

I'm having the same issue as op. Adding close and open doesn't help. It seems that the key here is the left window (view), if that is omitted the app crash on Android. The same happens if I first open the drawer and then try to remove the left window (view). Opening the drawer with only the left window set doesn't crash the app. Any ideas anyone?


⚠ Bofrost.at has degraded performance

In 095ff90, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1772 ms

Resolved: Bofrost.at performance has improved in c1c68b6 after 29 minutes.


Commission percentage for inactive/waiting validator not displayed correctly.

This may be a new issue with current releases because this was not an issue before.
When I got to the waiting list to see validators, they all say 0%. This is not accurate. For example, today my validator "CRAZYSIX V" is on waiting and shows 0%. When I go to subscan I can clearly see it is set to 10% (https://dbc.subscan.io/validator/5CkcGMxWMQjSfKK48TX9ZjzjXK6NjgkVyGey1nbUZvHksgu5).
This is an important issue because nominators can nominate validators with 100% commission and are being lead to believe they commission is more reasonable.
这可能是当前版本的新问题，因为这在以前不是问题。
当我进入候补名单看验证者时，他们都说 0%。这是不准确的。例如，今天我的验证器“CRAZYSIX V”正在等待并显示 0%。当我转到子扫描时，我可以清楚地看到它设置为 10% (https://dbc.subscan.io/validator/5CkcGMxWMQjSfKK48TX9ZjzjXK6NjgkVyGey1nbUZvHksgu5)。
这是一个重要的问题，因为提名人可以以 100% 的佣金提名验证人，并且被引导相信他们的佣金更合理。

@kaigedong @deepbraindeveloper

I know how this bug is introduced.
In Staking --> Overview list, commission is shown using the latest validatorInfo. But someone may change his commission to 90% before election next era's validator. And then change back to 1% after election. So, as a nominator, he will always see the validator's commission is 1% apart from the election window (30 minutes). So we changed the logic, always show current era's validatorPrefs. So, the norminator can aloways see 90% commission.
It's changed here: https://github.com/DeepBrainChain/Wallet-DBCMainChain/commit/84e2c7889656eaf1443d859b945c67ce04933a2f#diff-eed33696a649898dc3f89dd878df4b46f35f12f7825929c4370932bf9567d118R85-R91
Obviously, it seems not a proper way to do a such thing, because validator in waiting will always be 0. Maybe some update should be done like commit f88f174 (This one cannot work yet). @crazysix if you want to do a research about this or want to try some fix, you can use a sync node. ref here: https://github.com/DeepBrainChain/DeepBrainChain-MainChain/blob/master/docs/join_dbc_network_EN.md.

@HanSXY

@crazysix Or use this wss://infotestnew.dbcwallet.io for this issue test.


First WinUI 3.0 Alpha now available  🚀👩💻🎉

WinUI 3.0 Alpha now available!
As mentioned in the community call last week we now have a super-early WinUI 3.0 Alpha build available!
We'd love it if you could try it out and let us know what you think about the direction and roadmap.
Please note that it's a very early prerelease and has lots of known issues and missing functionality so it isn't ready for shipping apps. Future previews and the first stable version of WinUI 3 in 2020 will add support for everything outlined in the roadmap.
Installation info
For installation info and known issues see:
WinUI 3.0 Alpha (November 2019)
There's a super-short survey with the download link - we'd love to know more about how you're interested in using WinUI.
Please try out the Alpha, let us know what you think and open issues if you run into any bugs that aren't listed already!
What's new?
The major updates so far are:

WinUI 3 no longer depends on Windows.UI.Xaml: the full Xaml framework and parts of the composition and input stack have been decoupled from the OS and ship via NuGet

WinUI 3 works downlevel! The Alpha works with min version 1803 (April 2018 Update)+ and we're working on expanding the supported version range. For example, new features like Lottie Animations exported from Adobe Illustrator and Input Validation via INotifyDataErrorInfo now work on a range of in-market OS versions:

Uno
In other exciting news we're also working with the Uno platform so that developers can bring their WinUI code anywhere WebAssembly runs – including Windows 7. For more info you can check out their recent blog post: https://platform.uno/WinUI-on-Windows7-via-UnoPlatform/
What's next?
As outlined in the roadmap we're hard at work getting WinUI ready for open source development, plus working toward a more complete preview, .NET Core support, and more!

Future updates will add support for additional project types and languages, including .NET Core 3.1+ and the desktop (win32) app model.

So is the alpha still running on .NET Native or .NET Core 3.0? If the former, will 3.0 not be a target in the future?

The alpha is on .NET Native for now, and RTM will target .NET Core. Really it probably shouldn't say 3.1 at this point since we still need to work out the details with the .NET team but hopefully it'll be open source before then so it should be easy for everyone to stay up to date on what's going on 🙂

When will the code be open?

@vitorgrs we don't have a firm date yet but we're working on it now - it's currently our main focus.

@vitorgrs we don't have a firm date yet but we're working on it now - it's currently our main focus.

Thanks!

Don't forget the Compact Sizing in WinUI 3. It was announced at probably build '18 but supports just 2-3 controls till now.

@MuziburRahman have you tried using the Compact style dictionary in WinUI 2 (and 3)?
https://docs.microsoft.com/windows/uwp/design/style/spacing#fluent-compact-sizing
It should automatically adjust various Text and List controls, ContentControl, TreeView, DatePicker, TimePicker, ComboBox, NavigationView, etc.
Are there specific other controls you think should be adjusted?

@jesbis  Of course, what about RadioButton, CheckBox ?

@muziberrahman those should also have compact margins already by default when using the compact style:

Wow!! The Uno bit enlightened my day!
That is freaking awesome! Congrats Microsoft and Uno 🍻

First I'd just like to say thanks to everyone involved in WinUI. WPF has been the most "cutting-edge" Windows UI framework that I've had the chance to work with in my career, generally because of the restrictions of UWP combined the usual legacy code problems that make modernising difficult, so I am really looking forward to using WinUI 3.0.
Everything I've read since first coming across the roadmap sounds great. The separation of XAML from the underlying app model is perfect, for example. Being able to soon use features like x:Bind for compile-time binding checks in WPF applications (or rather, applications using the Win32 app model I guess I should say) is something I've wanted for years and has been the main thing missing from XAML for me. I only recently discovered it was actually something that already existed in XAML, and has been enjoyed by UWP developers for a while.
On top of that, finally getting access to all of the nice controls that conform to Fluent Design, and having them available in WPF with XAML Islands, plus all of the other stuff – it's basically everything I've always wanted for Windows desktop development arriving at the same time. It looks like it's going to be so much easier to create Windows applications with a great look and feel right out of the box now. So thank you again.
I just have a couple of questions around timelines:
I think my first question would simply be, is it fair to say that it's unrealistic to expect any kind of production-ready version of WinUI 3.0 by February 2020 (even as a fairly stable pre-release)?
Basically, we have a project for an internal tool going on right now with the intended release date being in February 2020. I would love to be able to create it as a "pure" WinUI 3.0 app, because I think that will both reduce the development time of the UI significantly and result in a UI that wows the users well beyond anything they are expecting.
The next level of complexity though, is that in reality this new tool is most likely going to have to be created as an addition to an existing tool of ours, and that existing tool is built using WPF on .NET Framework 4.7.2.
With all that in mind, is my understanding correct that probably the best bet for us (in order to have a modern-looking, Fluent-based UI for the new tool at all) is going to be to:

Keep our existing application as a WPF application
Port it from .NET Framework 4.7.2 to .NET Core 3.1 (I believe this is needed to support the final point below)
Create UWP class libraries using WinUI 2.3 for the new tool's views (i.e. custom controls)
Use XAML Islands to host these modern views in our WPF application

The feasibility of that approach would be my second "question". Knowing the existing tool as I do, I have my doubts that we're going to be able to get it onto .NET Core 3.1 anyway, and then of course there's the issue of the new and old UIs clashing too much, but I'm trying to keep my dream alive here...
Anyway, if a rough indication for those two questions is possible it'd be much appreciated.

Let me know if this is the wrong place to ask, but is there a migration path from current uwp apps to WinUI + dotnet core 3? Will the migration require code changes?

Will the Uno implementation be in a browser, or will it be possible to rub the app in its own window?

Will the Uno implementation be in a browser, or will it be possible to run the app in its own window?

"Run your app on Chromium through Electron"

@dpaulino We're looking at all options for migration to WinUI. Currently, we're seeing a migration path where all you'd need to do is target the WinUI nuget and search and replace "Windows.UI.Xaml" to "Microsoft.UI.Xaml" + small code changes for certain types that don't benefit from .Net's custom projections such as constructors for Color, Thickness or INotifyPropertyChanged, etc. Our goal is to make switching as easy as possible, so if the list of things you need to gets too involved, we'll definitely explore fixing that or adding tooling to make it painless.

@agoodwin thanks for the comments! We greatly appreciate the feedback - it's especially helpful to hear about what kinds of apps people are building and what features are important. We definitely aim to make it easier to develop modern native apps with WinUI 3.
If your release timeframe is only 2-3 months away then extending your existing app does sound like the most reasonable approach. If you're able to migrate to .NET Core (or alternatively write the new views in C++) and all of your users will be running the Windows 10 May 2019 Update or later then using Xaml Islands to host new views created with UWP Xaml + WinUI 2 can definitely be a good incremental step toward a future WinUI 3 solution if that ends up making sense for your app.

I can't wait for WinUI in win32/desktop with .NET Core!

WinUI 3.0's stable release will be the start.  What happens after will make or break the platform in the longer term.
Will it speedily address the needs of developers from all camps?
Will inbox apps currently "stuck" in Win32 legacy UIs, be moved to WinUI?
Will "limited" UWP apps find better performance and new powerful capabilities, when released from the sandbox?
Will the dev story be clear and compelling to the big companies like Twitter, Facebook, Apple, Google - and bring apps to Windows in its various form factors.
And the biggest unknown will be how Microsoft converges its Windows and Android inbox and big apps to work seamlessly on Windows 10, 10X, Xbox Scarlet and Surface Duo's Microsoft flavour of Android?

@agoodwin thanks for the comments! We greatly appreciate the feedback - it's especially helpful to hear about what kinds of apps people are building and what features are important. We definitely aim to make it easier to develop modern native apps with WinUI 3.
If your release timeframe is only 2-3 months away then extending your existing app does sound like the most reasonable approach. If you're able to migrate to .NET Core (or alternatively write the new views in C++) and all of your users will be running the Windows 10 May 2019 Update or later then using Xaml Islands to host new views created with UWP Xaml + WinUI 2 can definitely be a good incremental step toward a future WinUI 3 solution if that ends up making sense for your app.

Thanks for the clarification, I didn't realise C++ was another option for short term usage of WinUI 2 without .NET Core, so that's good to know.
Realistically we probably shouldn't use C++ in the specific application I was referring to, but we do have some C++ stuff so it could be useful for that.
Anyway, it sounds like for now we should hope the migration to .NET Core works for us and then work from there. Thanks again.

off topic-ish:
after i read mdtauk's comment I realised that Google and Facebook don't even have any native apps for Windows (except Google Drive's backup). Facebook used to have UWP apps that were ports from iOS but they ditched them. I can imagine FB releasing native apps using react native once/if react-native-windows gets merged with react native
I'm interested in what Spotify and Adobe will do. Spotify relies on Electron (well actually Chromium Embedded Framework, same thing lol) and Adobe has a really old codebase (XD is a new app and is a UWP app). Ooh and add Microsoft Office to my little list. Office has an old codebase too.

I do not think support win7 by Electron is good way. Why we need to run in our platform but dependent on Electron.

@lindexi
It's better than nothing, when Win7 shouldn't be supported at all.
Also full backporting to Win7 is time consuming, so it's better to spend Microsoft resources to make WinUI better on Win10. IMHO.

I try to port a small program to WinUI 3 Alpha, and it surprises me that it lacks the DPI awareness... It's not by design, right?😂

@Tirraon I total agree with your point. But this behavior will zip the WPF space in Win7. "Look at here, the UNO use Electron, the Electron is better than WPF ... "

But this behavior will zip the WPF space in Win7. "Look at here, the UNO use Electron, the Electron is better than WPF ... "

You're right, but every new-born framework may zip the old ones. UWP will zip WPF on Windows 10, and WinUI with Xaml island will zip it too.

But this behavior will zip the WPF space in Win7. "Look at here, the UNO use Electron, the Electron is better than WPF ... "

You're right, but every new-born framework may zip the old ones. UWP will zip WPF on Windows 10, and WinUI with Xaml island will zip it too.

I dont think the Electron is in dotnet technology stack. I am willing the UWP zip WPF but I dont like the Electron zip WPF.

I think the most cheerful and important thing here is Microsoft and the WinUI team's recognition of the need for xplat, and the willingness to work with the Uno team. This is a great start, and I hope it doesn't too long to spread deeper and wider.

Looks good. But I wonder to know when WPF XAML will replace the WinUI XAML because we want a universal modern user experience.

Looks good. But I wonder to know when WPF XAML will replace the WinUI XAML because we want a universal modern user experience.

Xaml Standard fizzled and died.  WPF XAML is I think a 2009 spec, whereas WinUI XAML is 2006.
I hope .Net Core 5 and WinUI 5 could perhaps complete a transition to a unified and open spec 2021 XAML spec.

Any thoughts when a WinUI 3.0 alpha for Win32/Desktop will be available?
For work this is the only target that has enough features for our management software. Can't wait to dable in it there.

We don't have a firm date for the win32 preview yet but we'll let everyone know when we do!

I did not see AppWindow on the list of the currently not supported features, but it seems that the required APIs are currently missing.

@lhak sorry, thanks for pointing that out - it's not currently supported. I just opened a PR to get it added to the known Alpha limitations.

The problem is the C# 8 only works against .NET Core 3. Pretty big limitation in the Alpha version.
Anyway, I'm looking closely and appreciate all your countless efforts 💖

Will WinUI 3.0 work with WPF? If yes, will it work without XamlIslands? If no, will there be a choice to use it with C# and without UWP, and on something that does not run in sandbox?

Would love for the PermissionRequested event to be in there in an early stage as this is an important one for accessing camera and microphone in order to use WebRTC.

any news about WinUI3.0 with win32 app model?
I can't wait for it.

@amyhaber A WinUI Desktop preview with Win32 support is slated to be released around Build next week.

@amyhaber A WinUI Desktop preview with Win32 support is slated to be released around Build next week.

awesome!

@Felix-Dev  Is win32 and .net core the same thing here ?

@Felix-Dev when you say win32 are we now talking about a .net core build ?

AFAIK WinUI Desktop will support C++ and C# with .net core

@Pinox As @mdtauk said. Taken from the WinUI 3 roadmap:

AFAIK .NET Framework support is not going to be added to WinUI Desktop.
Here is also a comment by @ryandemopoulos about the WinUI .NET story given in a recent community call.


Refactor github repository module to use encrypted secret values

User Story
As a modernisation platform engineer
I want to use encrypted_secret rather than plaintext_secret in the github repository module (terraform/github/modules/repository)
So that secret values are not accidentally exposed
Value
This issue is related to #133 ; this was brought to our attention by a Checkov test while adding details for a new application environment (PPUD). It might be enough to change the attribute reference for aws_secretmanager_version.$name.secret_string to aws_secretmanager_version.$name.secret_binary so that we get a base64 string that will be accepted by github_actions_secret.$name.encrypted_value but in all likelihood it will be more complicated than this.
Questions / Assumptions

Does CKV_GIT_4 meaningfully apply to this module?
Are we at risk of inadvertently exposing secret information?
Is automatic rotation of secrets enough to mitigate any risk from failing?
Who has access to the state files containing the plaintext values?

Definition of done

[ ] questions have been answered
[ ] code has been refactored so that CKV_GIT_4 passes
[ ] team member has reviewed pull request

Reference
How to write good user stories
CKV_GIT_4

From some investigation it appears that this Checkov test may not be applicable to the situation where the test fails. There's a very informative comment in the Chekov repository - https://github.com/bridgecrewio/checkov/issues/2374 - that discusses the context for this check.
It appears that while the secret is passed in plaintext when terraform runs, it is not stored in plaintext at rest.
Encrypted values are not stored in terraform state files, but as the state files themselves are controlled and restricted the risk of exposure here is low as only a limited subset of legitimate users have access to those state files.
Finally, scheduled rotation of secrets would be a positive step, but would also require some consideration outside this task.


.Net Planners with models other than openai

I wonder about a planners future. Now we have the handlebars planner which only works with the openai models. It utilizes system messages and chat messages which many models don't support. Old simple planners which in theory works with other models like Action Planner are supposed to be removed.
So are planners designed to work only with the openai?
Will you optimize the handlebars planner to work with other models or create some separate planners for other models?

@matthewbolanos I would also like to give as an example the gemini model, which will possibly one day be as important as openai. Unfortunately, although gemini handles chat, it has certain limitations:

Doesn't support the system messages (handlebars p. is using them)
Messages have to always alternate between the user and the assistant role (handlebars p. has two user messages in order)
Last message in the chat history have to be always user message.

This is great feedback! (And one of the reasons we want to get Gemini and Llama enabled for Semantic Kernel as quickly as possible). This will let us run integration tests to validate all of those "gotchas".
Do you have a particular model you're wanting to use today? We can start exploring the required changes necessary for that.

@matthewbolanos Honestly I haven't already used planners but I look at it objectively. The gemini implementation is already complete enough so you can test planners with its. I haven't yet implemented only function calling.
Mode: gemini-pro


add new osci author diyameeniga

Description
Adds new author diyameeniga
Issues Resolved
[List any issues this PR will resolve]
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

Closing as requested changes were not made and we are past deadlines.


Add a mild I-gain to all default multicopter configs

@tumbili This is the change we discussed - I keep seeing people with off-center roll / pitch responses and I can't see a reason why a small gain would be an issue. I just don't know what "small" means and what a good value is.

Duplicate of #1999 - but we should really get this resolved since its easy enough.


Add Solidus 2.7 to .travis.yml

Thank you! Fixed with PR https://github.com/boomerdigital/solidus_amazon_payments/pull/68


New Add Item Button Mobile

As a User I want to be able to easily add a new Item when using my mobile device. Therefore an easily accessible button should be added. This button should always be displayed on the bottom right of the Screen, floating above the pages content.
The floating button should contain a "plus" icon and have the secondary color as a background. The Botton is displayed whenever items are shown on the screen. I.E. when the grid view of items is shown.
Acceptance Criteria

[ ] The add new Item Button is shown on every page containing the item grid view.
[ ] Clicking the button triggers the same drop down menu as before, allowing the user the select an item type.

The button's position should be similar to this.

https://codepen.io/androidcss/pen/yOopGp
The button should look like this, but with a different color.

estimate 8

Resolved by #197


Removing use of deprecated NumPy C API from SciPy

SciPy uses the NumPy C API. Part of that C API is deprecated, and if an extension in SciPy still uses it then a build warning is emitted. The deprecated API uses direct field access (e.g. x->data) while the new API uses macros (e.g. PyArray_DATA(x)). We want to get rid of all deprecated API usage as much as possible.
For an example of what the warning looks like, see https://github.com/scipy/scipy/issues/5889 (reading that whole issue is quite instructive).
Examples of PRs fixing warnings: https://github.com/scipy/scipy/pull/14311, https://github.com/scipy/scipy/pull/4378. The latter PR also makes an adjustment to setup.py like (which would be good to do):
from scipy._build_utils import numpy_nodepr_api

config.add_extension('extname', ..., **numpy_nodepr_api)

To find modules which are using the deprecated API, search meson.build files for Wno-cpp (the flag that suppresses the warning). E.g. right now, searching with ripgrep, I see:
$ rg Wno-cpp
scipy/integrate/meson.build
86:    c_args: '-Wno-cpp',  # TODO: replace with numpy_nodepr_api

scipy/optimize/meson.build
172:             '-Wno-cpp', '-Wno-int-in-bool-context',

scipy/sparse/sparsetools/meson.build
21:  cpp_args : '-Wno-cpp',  # suppress numpy deprecation warnings

scipy/stats/meson.build
76:  cpp_args: '-Wno-cpp',  # TODO: replace with numpy_nodepr_api

scipy/spatial/meson.build
27:  c_args: '-Wno-cpp',
57:  cpp_args: cpp_args + ['-Wno-cpp'], # TODO: replace with numpy_nodepr_api
65:  c_args: '-Wno-cpp', # TODO: replace with numpy_nodepr_api

scipy/spatial/transform/meson.build
3:  c_args: '-Wno-cpp', # TODO: replace with numpy_nodepr_api

Important to know:

C code can and should all be fixed
Cython code may be problematic, fix only if the code doesn't get uglier (see discussion in https://github.com/scipy/scipy/pull/10840 - that PR stalled, some of the code may be reusable)

An efficient way of working is likely something like:

Search for the -Wno-cpp flag
Pick a module to work on, change the '-Wno-cpp' flag to numpy_nodepr_api
Run the build with ninja -C build, you should now see ~the warnings~ errors
Update the C code, then rerun ninja -C build
Once things work, copy the changes to a new branch based on upstream/master
Add the **nodepr_api change to setup.py
Send a PR to SciPy (one PR per module seems good, if there's only a couple of code changes maybe combining 2-3 modules makes sense).

Cc @Smit-create

Should I now start working on fixing deprecated C API?

Should this be removed now?
https://github.com/rgommers/scipy/blob/bd217f6b2996fd145e93d036ff3cd0e3f4db5f29/scipy/integrate/meson.build#L84-L87
It seems to be fixed in https://github.com/scipy/scipy/pull/14268
The build doesn't produce any warnings now.

Should this be removed now?

Yes, good catch!

Should I now start working on fixing deprecated C API?

That sounds good. I also recommend spending some time on working through the Python and NumPy C API tutorials - it will be quite helpful for several topics you may be working on:

https://docs.python.org/3/extending/index.html
https://numpy.org/devdocs/user/c-info.how-to-extend.html

I think we can also remove this:
https://github.com/rgommers/scipy/blob/bd217f6b2996fd145e93d036ff3cd0e3f4db5f29/scipy/interpolate/meson.build#L153-L155
The build passed without any warnings.

The build passed without any warnings.

It doesn't for me, all flags are necessary.

It doesn't for me, all flags are necessary.

Oops, Sorry!
So here pythran is generating .cpp file from /interpolate/_rbfinterp_pythran.py by itself. When using numpy_nodepr_api here raises deprecated warning:
In file included from /home/smit/anaconda3/envs/scipy-dev/lib/python3.9/site-packages/pythran/pythonic/include/types/int.hpp:19,
                 from /home/smit/anaconda3/envs/scipy-dev/lib/python3.9/site-packages/pythran/pythonic/types/int.hpp:5,
                 from /home/smit/anaconda3/envs/scipy-dev/lib/python3.9/site-packages/pythran/pythonic/core.hpp:27,
                 from ../scipy/interpolate/_rbfinterp_pythran.cpp:1:
/home/smit/anaconda3/envs/scipy-dev/lib/python3.9/site-packages/pythran/pythonic/python/core.hpp:17: warning: "NPY_NO_DEPRECATED_API" redefined
   17 | #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
      |
<command-line>: note: this is the location of the previous definition

This is basically from here: https://github.com/serge-sans-paille/pythran/blob/master/pythran/pythonic/python/core.hpp
So, doesn't require any fix in interpolate right?

That sounds right. I didn't realize Pythran defined NPY_NO_DEPRECATED_API, but that's good - we don't have to do it then.

Presently, I get following modules that use Wno-cpp. Let's keep a track of completed ones:
$ rg Wno-cpp
scipy/optimize/meson.build
172:             '-Wno-cpp', '-Wno-int-in-bool-context',

scipy/sparse/sparsetools/meson.build
21:  cpp_args : '-Wno-cpp',  # suppress numpy deprecation warnings

scipy/integrate/meson.build
86:    c_args: '-Wno-cpp',  # TODO: replace with numpy_nodepr_api

scipy/signal/meson.build
33:             '-Wno-cpp', '-Wno-int-in-bool-context',
49:             '-Wno-cpp', '-Wno-int-in-bool-context',
89:  c_args: ['-Wno-cpp'],  # TODO: replace with numpy_nodepr_api

scipy/stats/meson.build
76:  cpp_args: '-Wno-cpp',  # TODO: replace with numpy_nodepr_api

scipy/spatial/transform/meson.build
3:  c_args: '-Wno-cpp', # TODO: replace with numpy_nodepr_api

scipy/spatial/meson.build
27:  c_args: '-Wno-cpp',
57:  cpp_args: cpp_args + ['-Wno-cpp'], # TODO: replace with numpy_nodepr_api
65:  c_args: '-Wno-cpp', # TODO: replace with numpy_nodepr_api

scipy/interpolate/meson.build
122:  c_args: ['-Wno-cpp', '-Wno-maybe-uninitialized'], # TODO: Replace with numpy_nodepr_api
155:             '-Wno-cpp', '-Wno-int-in-bool-context',

[ ] optimize
[ ] sparse
[x] integrate
[ ] signal
[ ] stats
[ ] spatial
[x] interpolate

@rgommers Can you please rebase meson branch with scipy master branch so that I can push the warnings that have been fixed?

Sure, done

This is all done except for Cython code, which we don't want to touch right now. So let's close this. Thanks @Smit-create!


chore: add codecov integration

This PR

adds code coverage

Related Issues
This is a first step for fixing #54
Follow-up Tasks

Setting up the codecov project, I guess.

Hm, looks like it's failing because of the missing Gem. That should be added to Gemfile.
It also looks like this is including commits from https://github.com/open-feature/ruby-sdk/pull/58


can't run success on inference.py, The error:IndexError: too many indices for array: array is 0-dimensional, but 3 were indexed

i try run the demo of inference.py when i get code
but i get this error info:
Traceback (most recent call last):
  File "inference.py", line 41, in <module>
    input = to_input(aligned_rgb_img)
  File "inference.py", line 24, in to_input
    brg_img = ((np_img[:,:,::-1] / 255.) - 0.5) / 0.5
IndexError: too many indices for array: array is 0-dimensional, but 3 were indexed

i find get error because the face is none on the face detection and don't known why i can't get face, i only run the code in new env and don't have any change on code
i think maybe the env have different, this is my env:
Package                 Version
----------------------- -----------
absl-py                 1.1.0
aiohttp                 3.8.1
aiosignal               1.2.0
async-timeout           4.0.2
asynctest               0.13.0
attrs                   21.4.0
bcolz                   1.2.1
cachetools              5.2.0
certifi                 2022.6.15
charset-normalizer      2.0.12
cycler                  0.11.0
fonttools               4.33.3
frozenlist              1.3.0
fsspec                  2022.5.0
future                  0.18.2
google-auth             2.8.0
google-auth-oauthlib    0.4.6
graphviz                0.8.4
grpcio                  1.47.0
idna                    3.3
imageio                 2.19.3
importlib-metadata      4.12.0
joblib                  1.1.0
kiwisolver              1.4.3
Markdown                3.3.7
matplotlib              3.5.2
menpo                   0.11.0
multidict               6.0.2
mxnet                   1.9.1
networkx                2.6.3
numpy                   1.21.6
oauthlib                3.2.0
opencv-python           <IP_ADDRESS>
packaging               21.3
pandas                  1.3.5
Pillow                  9.1.1
pip                     22.1.2
prettytable             3.3.0
protobuf                3.19.4
pyasn1                  0.4.8
pyasn1-modules          0.2.8
pyDeprecate             0.3.1
pyparsing               3.0.9
python-dateutil         2.8.2
pytorch-lightning       1.4.4
pytz                    2022.1
PyWavelets              1.3.0
PyYAML                  6.0
requests                2.28.0
requests-oauthlib       1.3.1
rsa                     4.8
scikit-image            0.19.3
scikit-learn            1.0.2
scipy                   1.7.3
setuptools              62.6.0
six                     1.16.0
tensorboard             2.9.1
tensorboard-data-server 0.6.1
tensorboard-plugin-wit  1.8.1
threadpoolctl           3.1.0
tifffile                2021.11.2
torch                   1.8.1+cu111
torchaudio              0.8.1
torchmetrics            0.6.0
torchvision             0.9.1+cu111
tqdm                    4.64.0
typing_extensions       4.2.0
urllib3                 1.26.9
wcwidth                 0.2.5
Werkzeug                2.1.2
wheel                   0.37.1
yarl                    1.7.2
zipp                    3.8.0

Hi, it happens when the MTCNN face detector cannot find face properly.
MTCNN detects and aligns the image that is same as the training data. So this step is necessary to get the most performance.
One thing you may do is to tweak the parameter of MTCNN in line https://github.com/mk-minchul/AdaFace/blob/28485164703efb9d9f0d92786109fea5afe9deb4/face_alignment/mtcnn.py#L39
or use a more powerful face detector like https://github.com/serengil/retinaface (this one you have to check whether the alignment is same as MTCNN).
Another thing you could do if you need to force inference is just bypass the alignment step and resize the input to 112x112x3 and feed it to the model directly. Since AdaFace model is a convnet, it does not throw error even if the face is not aligned. Just make sure that the color channel is BGR.

Hi, it happens when the MTCNN face detector cannot find face properly. MTCNN detects and aligns the image that is same as the training data. So this step is necessary to get the most performance. One thing you may do is to tweak the parameter of MTCNN in line
https://github.com/mk-minchul/AdaFace/blob/28485164703efb9d9f0d92786109fea5afe9deb4/face_alignment/mtcnn.py#L39
or use a more powerful face detector like https://github.com/serengil/retinaface (this one you have to check whether the alignment is same as MTCNN).
Another thing you could do if you need to force inference is just bypass the alignment step and resize the input to 112x112x3 and feed it to the model directly. Since AdaFace model is a convnet, it does not throw error even if the face is not aligned. Just make sure that the color channel is BGR.

OK thanks

Hi @nicken,  I used something that comment @mk-minchul, and  I solved by the block of de "try: Except" into align.py file and call in there and evaluation model of retinaface or YOLO pretrained for example in prediction mode.
So into align.py at get_aligned_face function just change exception code to:
def get_aligned_face(image_path, rgb_pil_image=None):
    if rgb_pil_image is None:
        img = Image.open(image_path).convert('RGB')
    else:
        assert isinstance(rgb_pil_image, Image.Image), 'Face alignment module requires PIL image or path to the image'
        img = rgb_pil_image
    # find face
    try:
        bboxes, faces = mtcnn_model.align_multi(img, limit=1)
        face = faces[0]
    except Exception as e: #CHANGE CODE HERE!!!!
        width, height = img.size
        #Function to call YOLO or RetinaFace and obtain x, y , w and h [bbox in percentage % format ]
        results = model(img)  # this example use YOLO  created and instanced before using https://docs.ultralytics.com/tasks/detect/#val
        x, y, w, h= results2xywh(results) #send the biggest face identify at the image from YOLO format
        left = width*(x)
        top = height*(y)
        right = width*(w)
        bottom = height*(h)
        img2=img.crop((left, top, right, bottom))
        face=img2.resize((112,112))
        #print('Face detection Failed due to error.')
        #print(e)
        #face = None
    return face

You do not forget to reload the modules and import.
I hope to you help you @nicken. I have been trying to training with custom data an I found #75.
Did you found some solution? or even you got a training well passed script? THAT WOULD BE GREAT!!


fix connection.getSchema error

try catch connection.getSchema in JdbcUtil

Codecov Report

Merging #5064 into dev-4.x will increase coverage by 0.00%.
The diff coverage is 63.63%.

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

Pull Request Test Coverage Report for Build 10822

7 of 11 (63.64%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 57.331%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

shardingsphere-sql-parser/shardingsphere-sql-parser-binder/src/main/java/org/apache/shardingsphere/sql/parser/binder/metadata/index/IndexMetaDataLoader.java
0
1
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-binder/src/main/java/org/apache/shardingsphere/sql/parser/binder/metadata/schema/SchemaMetaDataLoader.java
0
1
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-binder/src/main/java/org/apache/shardingsphere/sql/parser/binder/metadata/util/JdbcUtil.java
4
6
66.67%

Totals

Change from base Build 10817:
0.003%

Covered Lines:
11742

Relevant Lines:
20481

💛  - Coveralls


Document the difference between web, mvc, webapp, webapi and razor and when to use which

Right now when I need to create a new website what should I choose? The templates look similar but with some differences. I think this should be documented with some good guidance for beginners.

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

ID: 0b952f8a-18e1-4843-0741-6ca877fb303a
Version Independent ID: d80dfb96-bc86-a960-abec-255dd907d04d
Content: dotnet new command - .NET Core CLI
Content Source: docs/core/tools/dotnet-new.md
Product: dotnet-core
Technology: dotnet-cli
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

This is a question about ASP.NET Core project types rather than a question specific to dotnet new -- @Rick-Anderson Is there an article on how to choose the right ASP.NET Core project type?

Can you transfer this issue to https://github.com/dotnet/AspNetCore.Docs/issues


community: Update Replicate LLM and fix tests

Description:

Fix bug in Replicate LLM class, where it was looking for parameter names in a place where they no longer exist in pydantic 2, resulting in the "Field required" validation error described in the issue.
Fix Replicate LLM integration tests to:

Use active models on Replicate.
Use the correct model parameter max_new_tokens as shown in the Replicate docs.
Use callbacks instead of deprecated callback_manager.

Issue: #26937
Dependencies: n/a
Twitter handle: n/a

@baskaryan please review; this fixes an open issue with the Replicate integration.


Get screen refresh rate (max fps)

I'm using Sokol App and I'm in a situation where I need to know the screen refresh rate (max fps) in advance. Can Sokol App expose this functionality? Or can we assume this is 60 for all platforms it supports?

I had started looking into this when I wrote the code behind sapp_frame_duration(), and unfortunately at least on browsers it's impossible to query the display refresh rate (or even the rate at which request animation frame will be called).
You can't assume 60Hz unfortunately either (for instance on M1 Macs the frame callback will be called at 120Hz).
The other things is that the refresh rate may change when the window is moved from one screen to another.
TL;DR: there's no proper solution to get a predictable rate at which the frame  callback will be called. The only thing I have in mind is to provide a 'target frame rate hint', and sokol_app.h would try to do it's best to call the frame callback with at this rate (but without any guarantees that this actually happens on a specific platform).

+1 for that feature

The only thing I have in mind is to replace the current swap_interval value with a 'target frame rate hint'

This would also be nice, even more so if it becomes something I can change at runtime, and perhaps the function could return an unsupported status for some platforms.

Unfortunately at least on browsers it's impossible to query the display refresh rate

The query display refresh rate function could also do the same and return an unsupported error in case of browser. So this would be available at least for some platforms.

The other thing is that the refresh rate may change when the window is moved from one screen to another.

Oh that is tricky, maybe an event could help on that? Or we just check every frame the display refresh rate, to not assume it is always constant.

You can't assume 60Hz unfortunately either (for instance on M1 Macs the frame callback will be called at 120Hz)

In the case of a 120Hz monitor and the 'target frame rate hint' is 60, sokol could skip every other frame behind the scenes to make it 60. Actually I am doing that, I am using sokol to draw some games that use unusual refresh rates like 35, 24 .. But without knowing the refresh rate in advance I have to do some timing computations that are not straightforward, whereas if I knew the display refresh rate I could know exactly what frames I should skip.


Respond with 500 Internal Server Error on errors

If an unknown or unhandled exception occurs, OSIAM should respond with 500
Internal Server Error instead of 409 Conflict. Old behavior is retained for
OsiamException.
Blocked by #187

Thanks for the comments @wallner. I've updated both PRs.

This needs a rebase now. I'll do it as soon as I'm on my laptop again.

Rebased and ready to merge

Thank You!


A few broken links

In the Blog section on this page, I noticed the links to the flux dashboards http://localhost:3000/d/flux-control-plane, http://localhost:3000/d/flux-cluster and http://localhost:3000/d/flux-logs are all throwing a timeout error
I also found that on this page, https://identinet.id/  and on this, this are both throwing a typo error
Please I would like to fix these as soon as possible
cc @kingdonb @dholbach

Hello @SafeEHA ! Thanks for taking a look at this!

kubectl -n monitoring port-forward svc/kube-prometheus-stack-grafana 3000:80
From the example guide, kube-prometheus-stack-grafana's port 80 is forwarded to localhost on port 3000 here.

If you are following the guide, then the link will not be broken.
As far as identinet.id – that does look to be a typo, it seems that the company can be found at identinet.io – that one has the same logo, anyway. Thanks for flagging this!

Thanks for clearing that up @kingdonb I'm happy to help anytime
There are some more links throwing errors, I would be happy to look through them to make sure they're not a blocker for new users or old ones

Looks like the one issue regarding identinet.io has been resolved 👍
If you have any PRs where you think you've identified a broken link, please send them and we'll review each one. It's better to send these updates one at a time than in bulk, that way we can review each one more critically and close if it's a red herring.
From the list you mentioned before, I think that identinet was the only one that looked troublesome.
I'll close this now, but if there are other changes you'd like to make, please do send as a PR!


Error: Unbound value String.to_seq

When I try to run the program via ocaml or compile it via ocamlc, I get the titular error reported on line 144, charactesr 4-17 and nothing else.
I am using OCaml 4.06.1; is that too old or new for gemtext2md?

thanks for your interest!
I am using OCaml 4.14.0 - so it may be that your version of ocaml is not recent enough, but that does seem surprising. Can you use any of the functions in String?

https://v2.ocaml.org/api/String.html <-- this page seems to imply that String.to_seq was added in 4.07, older than your version but newer than mine. So that's definitely the problem. Thanks for the hint!


Enhancement Add bvar for bloom filter and segment

Proposed changes
Issue Number: close #xxx

Add bvar for bloom filter and segment.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run performance

run buildall

run buildall


Expand on the provided CLI glob options

Discussed in https://github.com/CloudCannon/pagefind/discussions/127

Provide functionality for the glob option to take a list of globs
Provide an inverse exclude_glob option to help setups which need to exclude only a few files

I believe you don't need to implement exclude_glob because you can already invert a glob pattern.
I was having the same issue as @ndeville in https://github.com/CloudCannon/pagefind/discussions/127 where my Jekyll _site/tags folder was causing duplicate results to appear.
I excluded it with this glob pattern: *[!tags]/**/*.{html} and use it like this in pagefind.yml
glob: "*[!tags]/**/*.{html}"

Before this I was seeing
Total:

Indexed 1 language
Indexed 126 pages
and now I get
Language en:

Indexed 116 pages

Discussed in #127
1. Provide functionality for the `glob` option to take a list of globs

2. Provide an inverse `exclude_glob` option to help setups which need to exclude only a few files

I would certainly appreciate an exclude_glob so that I can block specified folders/files from being indexed/returned by pagefind. I attempted a couple of ideas from what Jaygooby suggested, none of which worked in my sandbox.


Molecule with "query bonds" not imported without adding implicit hydrogens

Preferences "Add implicit hydrogens at import setting" is false
Import Mol/SD file with query bonds (MDL bond type > 3)

Benzene

    387159399
  -OEChem-02152404312D
6  6  0     0  0  0  0  0  0999 V2000
0.0000    0.0000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
0.0000    0.0000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
0.0000    0.0000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
0.0000    0.0000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
0.0000    0.0000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
0.0000    0.0000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
1  2  4  0  0  0  0
2  3  4  0  0  0  0
3  4  4  0  0  0  0
4  5  4  0  0  0  0
5  6  4  0  0  0  0
1  6  4  0  0  0  0
M  END

=> "No content in table"

It looks like the internal handling of the structures as SMILES is causing problems:

BenzeneQueryBonds

    387159399
  -OEChem-02152404312D
6  6  0  0  0  0  0  0  0  0999 V2000
-0.2009    1.8964    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
-0.9153    1.4839    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
-0.9153    0.6588    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
-0.2009    0.2463    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
0.5135    0.6588    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
0.5135    1.4839    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
1  2  7  0  0  0  0
2  3  7  0  0  0  0
3  4  7  0  0  0  0
4  5  7  0  0  0  0
5  6  7  0  0  0  0
6  1  7  0  0  0  0
M  END

=> see log file

BenzeneQueryBonds

  Apr 05, 2024 7:39:30 AM de.unijena.cheminf.mortar.main.MainApp start
INFO: MORTAR <IP_ADDRESS> session start
Apr 05, 2024 7:39:30 AM de.unijena.cheminf.mortar.main.MainApp start
INFO: Started with Java version 21.0.1.
Apr 05, 2024 7:39:42 AM de.unijena.cheminf.mortar.model.io.Importer preprocessMoleculeSet
INFO: Imported and preprocessed molecule set. 0 exceptions occurred while processing.
Apr 05, 2024 7:39:42 AM de.unijena.cheminf.mortar.model.util.ChemUtil createUniqueSmiles
SEVERE: org.openscience.cdk.exception.CDKException: A bond had undefined order, possible query bond?; molecule name: benzene_left
org.openscience.cdk.exception.CDKException: A bond had undefined order, possible query bond?
	at org.openscience.cdk.smiles.CDKToBeam.toBeamEdgeLabel(CDKToBeam.java:280)
	at org.openscience.cdk.smiles.CDKToBeam.toBeamEdge(CDKToBeam.java:260)
	at org.openscience.cdk.smiles.CDKToBeam.toBeamGraph(CDKToBeam.java:143)
	at org.openscience.cdk.smiles.SmilesGenerator.create(SmilesGenerator.java:445)
	at org.openscience.cdk.smiles.SmilesGenerator.create(SmilesGenerator.java:401)
	at org.openscience.cdk.smiles.SmilesGenerator.create(SmilesGenerator.java:362)
	at de.unijena.cheminf.mortar.model.util.ChemUtil.createUniqueSmiles(ChemUtil.java:97)
	at de.unijena.cheminf.mortar.controller.MainViewController.lambda$importMoleculeFile$22(MainViewController.java:495)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
	at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$10(GtkApplication.java:263)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Apr 05, 2024 7:39:42 AM de.unijena.cheminf.mortar.controller.MainViewController lambda$importMoleculeFile$22
WARNING: Import failed, set of imported molecules is null or empty
Apr 05, 2024 7:39:44 AM de.unijena.cheminf.mortar.controller.MainViewController closeApplication
INFO: MORTAR session end

benzene_querybonds.mol.txt
MORTAR_Log_2024_04_05_07_39.txt

And btw how important is stereochemistry? Should we switch to isomeric SMILES?

And btw how important is stereochemistry? Should we switch to isomeric SMILES?

https://github.com/FelixBaensch/MORTAR/issues/48

See the CDK MDLV200Reader code on bond orders: https://github.com/cdk/cdk/blob/99548a9001ab0be1c5ad437d802f511b91d74210/storage/ctab/src/main/java/org/openscience/cdk/io/MDLV2000Reader.java#L837
For order 4, it assigns a "normal" bond with unset order and aromatic flag. For any order given in the MOL file higher than that, it assigns a query bond which cannot be kekulized and cannot be dealt with by the SmilesGenerator, apparently.

Thanks for the clarification. That was exactly my assumption. This follows the MDL bond types.

What do you wish to accomplish with this non-standard bond order 7 here? The only solution I see ad hoc is to iterate through all imported molecule bonds and replace query bonds with "something proper". Not very ideal...

Nothing, we just need to keep that in mind and maybe mention it in the readme or something.

Your original issue was regarding bond order 4 in MOL files. Is this correctly handled now?

My original issue was regarding bond order > 3 in mol files. But for bond type 4 and "Add implicit hydrogens at import setting" set to false it is okay now.

Conclusion: comment in tutorial or elsewhere that MDL MOL file bond types <= 4 are valid. Bond orders higher than that are not parseable into SMILES. Therefore illegal for our data model.

Fun fact, we already have a section about this in the tutorial:
https://docs.google.com/document/d/1dbpSZfdmOYaQqdYTDZj0NfKuy9TMp6T4SF6lCBB7bFo/edit#heading=h.crleasfiafc0
@FelixBaensch do you think this is enough?


Can't seem to get to first boot

Operating system
Ubuntu 22.04
Description
I can manage to get past the inital install, I get to the x minutes remaining but then it kernal panics (I think).
I have a screenshot of the screen I get below.
Docker compose
services:
  macos:
    image: dockurr/macos
    container_name: macos
    networks:
      vlan:
        ipv4_address: <IP_ADDRESS>
    environment:
      - RAM_SIZE=8G
      - CPU_CORES=8
      - DISK_SIZE=128G
      - VERSION=sonoma
    volumes:
      - ./data:/storage
    devices:
      - /dev/kvm
      - /dev/vhost-net
    device_cgroup_rules:
      - 'c *:* rwm'
    cap_add:
      - NET_ADMIN
    stop_grace_period: 2m
    restart: on-failure
    labels:
      - "com.centurylinklabs.watchtower.enable=false"

networks:
  vlan:
    external: true

Docker log
2024-08-11T14:26:27.181534217Z 3h3h3hBdsDxe: failed to load Boot0080 "Mac OS X" from PciRoot(0x0)/Pci(0xA,0x0)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,3CE5FB53E4C22042B68D53C90F42C0A0)/\CC939C4B-E1C2-460C-AB89-D2A27BFC3ECF\System\Library\CoreServices\boot.efi: Not Found
2024-08-11T14:26:27.189905961Z BdsDxe: failed to load Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0xA,0x0): Not Found
2024-08-11T14:26:27.193621411Z BdsDxe: loading Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x5,0x0)
2024-08-11T14:26:27.195931027Z BdsDxe: starting Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x5,0x0)
2024-08-11T14:26:39.244091271Z #[EB|LOG:EXITBS:END] _
2024-08-11T14:26:39.244570287Z #[EB.BST.FBS|-]
2024-08-11T14:26:39.244790541Z #[EB|B:BOOT]
2024-08-11T14:26:39.245248099Z #[EB|LOG:HANDOFF TO XNU] _
2024-08-11T14:26:39.246026783Z ======== End of efiboot serial output. ========

Screenshots (optional)

Encountering startup issues, especially kernel panic, when running macOS containers with Docker can indeed be frustrating. I have experienced similar situations before, especially when configuring virtualization and resource allocation. Based on the information you provided, the issue may be related to Docker configuration, resource settings, or the image itself.
Kernel panic: Kernel panic usually indicates that the system has encountered an unrecoverable error during startup. According to the logs you provided, it seems that there was a problem loading boot.efi, which may indicate that the boot file is missing or improperly configured.
Docker configuration: When configuring macOS containers in Docker Compose, ensure that the required devices and resources are set up correctly. Especially/dev/kvm and/dev/vhost net, these are the devices required for virtualization, ensuring that the host supports these devices and Docker has access.
resolvent
Check the image:
Ensure that the dockur/macos image you are using is up-to-date and suitable for the version of macOS you are installing (Sonoma). You can try pulling the latest image:
docker pull dockurr/macos
Adjust resource allocation:
In the Docker Compose file, try adjusting the configuration of RAM and CPU. Although you have set up 8GB RAM and 8 CPU cores, in some cases, excessive configuration may cause problems. You can try lowering these values to see if it can start normally.
Check volume mounting:
Ensure that the mounted volume (./data:/storage) contains the correct macOS installation files and configurations. Missing files may cause startup failure.
Debugging and startup process:
If possible, try disabling certain services or features when starting macOS in a container to see if there are specific services causing crashes. This can be achieved by adjusting the startup parameters.
View Docker logs:
Continue to pay attention to Docker logs, especially error messages that occur during startup. This can help you further pinpoint the problem:
docker logs macos
personal experience
I have also encountered similar startup issues when running virtualization containers. Later on, I found that Servbay is more suitable than Docker on Mac and easier to manage the development environment.

Did you manage to get this working? If so, could you post your solution? I have exactly the same problem.

No i never managed to fix it, I ended up giving up.

It seems I've got Montery working, so if that's good enough for you it might be worth a try. Only thing I did different is that I used the standard partition (previously I used case sensitive partitioning)


Dbeaver/pro#2461 add support for create and alter tableview statements

CREATE TABLE and ALTER TABLE statements

get highlighting of columns and tables
have warnings

support navigation with ctrl+click inside query or to properties editor
have outline support

Alter table query for rename column isn't shown in outline for some reason
ALTER TABLE public.mushrooms RENAME COLUMN toxicity_id TO toxicity_id1;

verified


Serialization Error when using a class in an assembly that is not marked Serializable

I'm using a class from an API (Google Cloud Storage API - that's where I'd like to store some data) in a dialog. However, when I use that API, I get an exception saying that class. Google.Apis.Storage.v1.StorageService in some assembly is not marked as serializable.
I have no way to mark that class as serializable. How do I get around this issue ?

Here are some options:
https://docs.botframework.com/en-us/technical-faq/#how-can-i-reference-non-serializable-services-from-my-c-dialogs
I'm happy to discuss further.

I'm going to close this issue, but feel free to open a new issue for further discussion.

@willportnoy I've overcome this issue by moving the dependence to another http service that handles storage and making network calls to it. Thanks.


Create bddtest for basic flow

Basic flow:https://wiki.hyperledger.org/display/ARIES/DID+Exchange+Flow+-+Framework+Go

Create feature file.
1- Agent A starts
2- Agent B starts
3- Agent A create invitation
4- Agent B receive  invitation
5- Agent A and B Query connection
6- Verify connection record (state should be completed)

part #44


Error after upgrading from openshift 4.12 to 4.14

Hello we are getting an error while starting pods with pvc after upgrading cluster from 4.12 to 4.14
Events:
Type     Reason       Age                    From     Message

Warning  FailedMount  63m (x444 over 17h)    kubelet  MountVolume.SetUp failed for volume "pvc-a0d39123-fe95-408b-b83b-3cb153e30274" : rpc error: code = NotFound desc = rpc error: code = Unavailable desc = Failed to get storage provider from secrets, Post "http://primera3par-csp-svc:8080/containers/v1/tokens": dial tcp <IP_ADDRESS>:8080: connect: no route to host
Warning  FailedMount  23m (x462 over 17h)    kubelet  MountVolume.SetUp failed for volume "pvc-6596fd6e-81f3-4610-8be9-b2faa91afce7" : rpc error: code = NotFound desc = rpc error: code = Unavailable desc = Failed to get storage provider from secrets, Post "http://primera3par-csp-svc:8080/containers/v1/tokens": dial tcp <IP_ADDRESS>:8080: connect: no route to host
Warning  FailedMount  18m (x464 over 17h)    kubelet  MountVolume.SetUp failed for volume "pvc-92d693f6-d5b6-482e-b417-badec5d39cfe" : rpc error: code = NotFound desc = rpc error: code = Unavailable desc = Failed to get storage provider from secrets, Post "http://primera3par-csp-svc:8080/containers/v1/tokens": dial tcp <IP_ADDRESS>:8080: connect: no route to host
Warning  FailedMount  12m (x78 over 17h)     kubelet  Unable to attach or mount volumes: unmounted volumes=[bpm-email-template-attachment bpm-filetransfer bpm-email-attachment], unattached volumes=[], failed to process volumes=[]: timed out waiting for the condition
Warning  FailedMount  3m52s (x335 over 17h)  kubelet  Unable to attach or mount volumes: unmounted volumes=[bpm-email-attachment bpm-email-template-attachment bpm-filetransfer], unattached volumes=[], failed to process volumes=[]: timed out waiting for the condition
but we dont have it on all worker nodes
we are using version 2.4.2 of openshift  operator

You have a CNI/networking issue in the cluster. The CSI controller is unable to communicate with the CSP.


Test failure on big-endian systems

With the rebuild of fscacher on Debian Unstable/Sid ( https://tracker.debian.org/pkg/fscacher ), the following test error via Debian autopkgtest is found on s390x architecture:
 45s autopkgtest [03:10:08]: test pybuild-autopkgtest: [-----------------------
 46s pybuild-autopkgtest
 46s I: pybuild base:311: cd /tmp/autopkgtest-lxc.w959byms/downtmp/autopkgtest_tmp/build; python3.12 -m pytest
 47s ============================= test session starts ==============================
 47s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
 47s rootdir: /tmp/autopkgtest-lxc.w959byms/downtmp/autopkgtest_tmp/build
 47s plugins: typeguard-4.4.1, cov-5.0.0, mock-3.14.0, rerunfailures-14.0
 47s collected 27 items
 47s
 47s tests/test_cache.py ................s.....                               [ 81%]
 47s tests/test_util.py ...F.                                                 [100%]
 47s
 47s =================================== FAILURES ===================================
 47s _______________________ test_xor_bytes[\x12\xab-4-&\xab] _______________________
 47s
 47s b1 = b'\x12\xab', b2 = b'4', r = b'&\xab'
 47s
 47s     @pytest.mark.parametrize(
 47s         "b1,b2,r",
 47s         [
 47s             (b"\x12", b"\x34", b"\x26"),
 47s             (b"\0\x12", b"\0\x34", b"\0\x26"),
 47s             (b"\x12\0", b"\x34\0", b"\x26\0"),
 47s             (b"\x12\xAB", b"\x34", b"\x26\xAB"),
 47s             (b"\x12\xAB", b"\x34\xCD", b"\x26\x66"),
 47s         ],
 47s     )
 47s     def test_xor_bytes(b1: bytes, b2: bytes, r: bytes) -> None:
 47s >       assert xor_bytes(b1, b2) == r
 47s E       AssertionError: assert b'\x12\x9f' == b'&\xab'
 47s E
 47s E         At index 0 diff: b'\x12' != b'&'
 47s E         Use -v to get more diff
 47s
 47s tests/test_util.py:16: AssertionError
 47s =========================== short test summary info ============================
 47s FAILED tests/test_util.py::test_xor_bytes[\x12\xab-4-&\xab] - AssertionError:...
 47s =================== 1 failed, 25 passed, 1 skipped in 0.59s ====================
 47s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest-lxc.w959byms/downtmp/autopkgtest_tmp/build; python3.12 -m pytest
 47s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p 3.12 returned exit code 13
 47s make: *** [/tmp/LMVqFCDGDw/run:4: pybuild-autopkgtest] Error 25
 47s pybuild-autopkgtest: error: /tmp/LMVqFCDGDw/run pybuild-autopkgtest returned exit code 2
 47s autopkgtest [03:10:10]: test pybuild-autopkgtest: -----------------------]

To my understanding, it should be the xor_byte() function implicitly assuming the little-endian hardware architecture.
The raw test log can be found at https://ci.debian.net/packages/f/fscacher/testing/s390x/54726807/ .
Please let me know how you would like to have this issue fixed, such as skipping the test on big-endians or pushing an actual fix. Thanks!

Ping. Any updates on this one? I am not sure whether the current implementation of xor_bytes() is working as intended. If yes, we should be able to safely skip this test on big-endian systems.

Thank you @hosiet for the report and sorry for the delay. Hopefully

https://github.com/con/fscacher/pull/102

would address it. I tested on zelenka -- that test passes with the patch.


AttributeError: 'tuple' object has no attribute 'scheme'

I get this error when trying to run pisa / xhtml2pdf :
pisa test.html test.pdf
Converting test.html to test.pdf...
Traceback (most recent call last):
File "bin/pisa", line 7, in ?
sys.exit(
File "build/bdist.macosx-10.6-i386/egg/xhtml2pdf/pisa.py", line 173, in command
File "build/bdist.macosx-10.6-i386/egg/xhtml2pdf/pisa.py", line 425, in execute
File "build/bdist.macosx-10.6-i386/egg/xhtml2pdf/document.py", line 80, in pisaDocument
File "build/bdist.macosx-10.6-i386/egg/xhtml2pdf/context.py", line 404, in init
AttributeError: 'tuple' object has no attribute 'scheme'

OK, happens only in python 2.4 ...