Forward declarations are needed for MIR_output result to be scanned again

MIR_output generally seems to put proto declarations at the end of modules. When scanning the output again MIR complains about unrecognized symbols. Perhaps forward declarations need to be added in MIR_output?

Yeah, right now I get around that by first going over everything and defining the forwards and only then defining everything, and it's pretty ugly to do.... It would be alot better if mir wouldn't care about order at all...

Sorry for slow response.  I am quite busy with some other projects until the end of April.  I'll address this issue later.  It is good that you found a temporary workaround meanwhile.

Sorry, I missed your email and thank you for reporting the problem.
I'll think how to resolve the problem.  I could generate forward declaration or prototypes before usages or permitting definitions after the usage.  The later means no sense in forward clauses at all and requires two-pass approach in MIR scanning and probably decreases the speed of scanning.  So I am leaning towards the 1st solution.


PodSpec overrides for KubeTask and other Functions

There are several options we set in the PodSpec when executing KubeTask and other PodRunner [1] based functions. We create a default podspec, but we should be able to override specific values from a blueprint.

[1] https://github.com/kanisterio/kanister/blob/d1228b3b25825d842c400bc3cfca45201c977011/pkg/kube/pod_runner.go

@tdmanv Can we close this?

@SupriyaKasten @tdmanv can we close this issue?

Feature done with #321 and #307


Adding serialization for Point and Dlog_zk_Protocol

@omershlo I do not understand your concern in your last message:

Is it possible to add de-serialization before merging?

Can you elaborate?


Use of "Endpoint" consistently (instead of destination)

in the replication link in the left nav, the endpoints tab has a datagrid that labels the name as "Destination name". that should just say "Name"
the filter should say "Filter endpoints"

@wknet123
Please take a loot at this issue.

We need to make these changes consistent by more detailed disscussion.

@wknet123
Need discussion with who? @lweitzman , @reasonerjt or @tonycgil ?

the filter says "Filter Targets"  should say Filter Endpoints


Fix #289 enumerate_arrays comments

Fixes #289 and an associated TODO by moving the array index comments in front of the items using /*[i]*/.

[x] I've included my change in CHANGELOG.md

?r @torkleyy

I think that's a good fix for the issue - but personally I find the comments too "noisy".

I agree with that. I just saw the issue and thought it made a nice quick break from uni work.

Still seems like an improvement though! :shipit:

Thanks!


endpoint to check for cookie-based user session

r? @diox

flake8 failures but I think this looks good


feat(example): add quantize stablediffusion example

What does this PR do?

Pull Request for add quantize stablediffusion example   #170
Before submitting

[X] Did you read the contributor guideline,
Pull Request section?
[x] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[x] Did you run all tests locally and make sure they pass.

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@dacorvo Could you give me some feed back for this Pull Request

@dacorvo
Thank you for your feedback. I have made the necessary changes and would appreciate any additional comments on the pull request. Thank you very much for giving me feedback. I change all feedback correctly. Hope you can give me more comments about this pull request.


Fail CI if READMEs are not up to date

We need a test to make sure we can't update READMEs without commiting them.

Fixed by https://github.com/alphagov/govuk-frontend/pull/474


Some invisible characters are not removed

What is this feature about (expected vs actual behaviour)?
Some invisible characters like U+200E are not removed.
See https://www.fileformat.info/info/unicode/char/200e/index.htm.
There could be more.
How can I reproduce it?

Go to https://emptycharacter.com/
Method 1 - Copy with a button -> Copy to clipboard
\voku\helper\UTF8::remove_invisible_characters('--PASTE IT HERE--')
Expecting empty string, but it returns the input

Does it take minutes, hours or days to fix?
Not sure.
Any additional information?

I think [\x00-\x08\x0B\x0C\x0E-\x1F\x7F]
should be (?>[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x9F]|\xC2[\x80-\xA0\xAD]|\xE2\x80[\x80-\x8F\xA8-\xAF]|\xE2\x81[\x9F-\xAF])

@tormit @rowhel95 What do you think of this solution: https://github.com/voku/portable-ascii/commit/4c0e18a4d62cd2014a7e1f1fd428e8e00803f9fb#diff-4bd19c38191461e60b7528c89918cc8b92609b61a35dd2abdab01a970133af24R712
By default, I would keep the control characters because otherwise some texts could break and it would be a BC, what do you think?

The new options are available in v5.4.50.
Happy Coding!

Thanks! Options solution is good.


Journey of Grace

Remove Journey of Grace label, but leave description of who group is for ("...transitioning...") Going to treat this group a little more like a LG this quarter.

So, should it be called the Wise Group?


WIP: Feature/221 create revision on submit

Now includes 222 and 224. @chris-lawton can you check the styling changes please.

Nice work!


Header discovery should be resilient to bad candidate filesystem paths

Expected Behavior
Header discovery should be able to find header files wherever they exist in the include path, regardless of what other files may be there.
Current Behavior
Let's say we have /some/path/include and /some/path/include/foo on the include path.  Then a source file has an include for foo/bar.h.  In most cases, this works fine - the header discovery may look for /some/path/include/foo/foo/bar.h, not find it, and continue searching, eventually finding it in /some/path/include/foo/bar.h.  However, if there actually is a file at /some/path/include/foo/foo, when we search for /some/path/include/foo/foo/bar.h we get an unexpected error code from the system call to stat().  Instead of errno 2 (no such file), we'll get an errno 20 (not a directory) from the stat system call.  This is unexpected and causes an exception, failing the build.

@adammurdoch I created a PR for this here: https://github.com/adammurdoch/native-platform/pull/30

Yeah, I actually meant to do that, but in the noise of implementing the fix in native-platform, I forgot.  Thanks for reminding me.

I added an integration test for this with https://github.com/gradle/gradle/commit/c4e549662f0c302ed46f31087288119eed0906d2.  Once we have a new version of native-platform, we should be able to un-ignore that test and see it pass.

I've created a new release of native-platform. I'm just running the upgrade through CI and will merge if all is good.

Upgraded to new version: https://github.com/gradle/gradle/pull/8146

Thanks @adammurdoch!  I've un-ignored the test for this case, too.


Refactoring of discovery for hosts and datastores

Fix errors with more complicated folder structure
Refactor static logging to fine tunable logging

Folder structs like the following will work now:
Folder (Root)

Folder (Company)

Folder (Country)

Datacenter Folder

Project Folder (Compute Ressource or CCR here)

Customer related Folder

Production/Dev Folder (Compute Ressource or CCR here)

Signed-off-by: Martin Kremers<EMAIL_ADDRESS>

Python != 3 unit test failed, but the exporter does not work anyways with Python2. So I vote for removal of this check.

Looking over this now.  As far as python 3 vs python 2. I prefer only look at python3.

https://travis-ci.org/pryorda/vmware_exporter/jobs/531910714 shows that the assertions are failing to match and there is somthing not right about StopIteration:?

I'll have a look.
BTW I've created a helm chart for the app: https://github.com/helm/charts/pull/13719

@pryorda  Do we technically support python 3.5 (Ubuntu 18.04 LTS / Debian Stretch are on 3.5) right now do you know? I know we push people towards the container but iirc there are some not using it, and this PR will definitely introduce 3.6+ only features (f-strings). Either way, we should document minimum python version somewhere. I don't even think we say python3 only anywhere.

We should probably add tests for a few different folder structures as this has repeatedly caught us out.

@Jc2k Yes we need to update the readme and since this is breaking we have to make sure the version gets bumped correctly. @kremers can you update the README with your changes too?

@pryorda Do we technically support python 3.5 (Ubuntu 18.04 LTS / Debian Stretch are on 3.5) right now do you know? I know we push people towards the container but iirc there are some not using it, and this PR will definitely introduce 3.6+ only features (f-strings). Either way, we should document minimum python version somewhere. I don't even think we say python3 only anywhere.

Since the Dockerfile is already based on 3.6 I doubt that we'll get into trouble.
I totaly agree regarding a comment about the minimal Python version! I failed trying it out with python 2.7 at first, just figuring out only python3 is supported.
Maybe the travis lint for the python2 can be removed to add some python 3.7 validation?

It's the non Docker people i'm worried about :-)
Where's the python 2 lint hiding? I'm only seeing real python3 errors from travis I think?
I'll try and review this properly tomorrow AM - AFK this evening.

locally pytest runs trough
`pytest --cov=vmware_exporter tests/unit
=========================================================================================== test session starts ============================================================================================
platform darwin -- Python 3.7.3, pytest-4.5.0, py-1.8.0, pluggy-0.11.0
rootdir: /Users/martinkremers/vmware_exporter
plugins: twisted-1.10, cov-2.7.1
collected 21 items
tests/unit/test_helpers.py ...                                                                                [ 14%]
tests/unit/test_vmware_exporter.py ..................
...
======================================================================================== 21 passed in 0.49 seconds =========================================================================================
`

I think one reason why there are failing tests, is that the mock objects are lacking the vim.* types.
I'll try to fix that.

Codecov Report

Merging #105 into master will decrease coverage by 1.64%.
The diff coverage is 85.71%.

@@           Coverage Diff            @@
##           master   #105      +/-   ##
========================================
- Coverage   91.64%    90%   -1.65%
========================================
  Files           4      4
  Lines         455    480      +25
========================================
+ Hits          417    432      +15
- Misses         38     48      +10

Impacted Files
Coverage Δ

vmware_exporter/vmware_exporter.py
89.68% <85.71%> (-1.95%)
:arrow_down:

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 679e6e4...3ad75b1. Read the comment docs.

pls review 👍

Fixed tests
Linter is happy now
Changed debug logging to comply to
Fixed the names in the travis build and switched to matrix builds
Extended the travis builds to contain python3.6 and python3.7

Looking good. Thank you for your work on this.
A minor minior nit pick for future - it's easier for reviewers if you push your changes rather than squashing and force pushing. We can squash merge when the PR is merged to keep the history clean. This is more painful when there are a bunch of unrelated changes in the same PR.

@pryorda we should go with this approach instead of #104 - the approach there was unfinished and it switched to using the batch_fetch_properties for folder data which is slower in my tests.

I agree, let me see what you said in the rest. I'd like to see this get resolved asap haha.

Looking good. Thank you for your work on this.
A minor minor nit pick for future - it's easier for reviewers if you push your changes rather than squashing and force pushing. We can squash merge when the PR is merged to keep the history clean. This is more painful when there are a bunch of unrelated changes in the same PR.

Regarding the kind of contributions, some projects only allow full, cherry-pickable features to be merged. Squashing will possibly kill contribution information which will possibly hold people back from contributing. So you'll stick to merge all the commits, messing with the history or shadow the contribution under your name.

Looking good. Thank you for your work on this.
A minor minor nit pick for future - it's easier for reviewers if you push your changes rather than squashing and force pushing. We can squash merge when the PR is merged to keep the history clean. This is more painful when there are a bunch of unrelated changes in the same PR.

Regarding the kind of contributions, some projects only allow full, cherry-pickable features to be merged. Squashing will possibly kill contribution information which will possibly hold people back from contributing. So you'll stick to merge all the commits, messing with the history or shadow the contribution under your name.

Yep, its all about trade offs as ever. I always say its not about making the /right/ decision or change, its about deciding who or what gets the pain. There is always pain. It's definitely easier to do it your way when your PR's don't have multiple changes in.

#66 #63 should be fixed by this


Request feature to get options of fluent-plugin

Descriptions
Each fluent-plugin has a lot of option.
Almost users need to choice these options for own use-case.
But, almost user don't know these options.
Therefore, it would be useful for users to show all options of fluent-plugin.
Expected Results
Ex.
> fluentd --show fluent-plugin-s3
    config_param :path, :string, :default => ""
    config_param :use_ssl, :bool, :default => true
    config_param :use_server_side_encryption, :string, :default => nil
    config_param :aws_key_id, :string, :default => nil
    config_param :aws_sec_key, :string, :default => nil
    config_param :s3_bucket, :string
    config_param :s3_region, :string, :default => nil
    config_param :s3_endpoint, :string, :default => nil
    config_param :s3_object_key_format, :string, :default => "%{path}%{time_slice}_%{index}.%{file_extension}"
    config_param :store_as, :string, :default => "gzip"
    config_param :auto_create_bucket, :bool, :default => true
    config_param :check_apikey_on_start, :bool, :default => true
    config_param :proxy_uri, :string, :default => nil
    config_param :reduced_redundancy, :bool, :default => false
    config_param :format, :string, :default => 'out_file'

I like this feature. I and my colleagues often spend time checking how to use plugins by reading upstream source code.
If possible (with self documented api and for supported plugins), it's better to show some examples together.

I have some idea to realize this feature:

load plugin
build configure_proxy tree
show it on console

Problem is:

config_param should accept description option to describe what it is
default can be overwritten in configure() method in non-declarative way
type may not be decided in declarative way with config_param w/ blocks

Some of these problems may be able to be solved by v0.14 plugin APIs.
Related: #309

Adding desc to config_param could be implemented in v0.12 but it needs extra cost...

I'm trying to implement this feature.
Work like following, for now.
$ bundle exec fluentd --show-plugin-config output:s3
2015-08-26 13:59:43 +0900 [info]: Show config for output:s3
2015-08-26 13:59:43 +0900 [info]:
path: string: <"">
use_server_side_encryption: string: <nil>
aws_key_id: string: <nil>
aws_sec_key: string: <nil>
s3_bucket: string: <nil>
s3_region: string: <"us-east-1">
s3_endpoint: string: <nil>
s3_object_key_format: string: <"%{path}%{time_slice}_%{index}.%{file_extension}">
store_as: string: <"gzip">
auto_create_bucket: bool: <true>
check_apikey_on_start: bool: <true>
proxy_uri: string: <nil>
reduced_redundancy: bool: <false>
storage_class: string: <"STANDARD">
format: string: <"out_file">
acl: string: <:private>
assume_role_credentials
 role_arn: string: <nil>
 role_session_name: string: <nil>
 policy: string: <nil>
 duration_seconds: integer: <nil>
 external_id: string: <nil>
instance_profile_credentials
 retries: integer: <nil>
 ip_address: string: <nil>
 port: integer: <nil>
 http_open_timeout: float: <nil>
 http_read_timeout: float: <nil>
shared_credentials
 path: string: <nil>
 profile_name: string: <nil>

$ bundle exec fluentd --show-plugin-config input:dummy
2015-08-26 13:59:54 +0900 [info]: Show config for input:dummy
2015-08-26 13:59:54 +0900 [info]:
tag: string: <nil>
rate: integer: <1>
auto_increment_key: string: <nil>
dummy: : <[{"message"=>"dummy"}]>

closed


Update lockfileVersion

Description:
In scope of this pull request we update lockfileVersion and update @types/node.
Related issue:
Add link to the related issue.
Check list:

[ ] Mark if documentation changes are required.
[ ] Mark if tests were added or updated to cover the changes.

So sick of the amount of emails I receive from Github subscribers as I
unsubscribed last year and I can't possibly be in another thread as I only
stayed on the sites for less than a week.
@.*** @.***> *
Donna Murdoch
On Wed, 23 Feb 2022, 4:22 am MaksimZhukov, @.***> wrote:

@.**** approved this pull request.
—
Reply to this email directly, view it on GitHub
https://github.com/actions/setup-java/pull/293#pullrequestreview-890121989,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVVEBHWZ3PIDQCX4OBIEAJLU4PA4FANCNFSM5PAWQ3JQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Improve ipam error messages

Make clear that they come from the IP allocator, and reduce repetition in the text.
Also include the nickname for other peer, if known.
Addresses #684

the linter is complaining.

Good catch, linter!


Considering Removing the Article Clause from Contributing

For the purposes of growing the repository, I'm considering removing the need to have an article link simply because I want to see the repo grow.
Instead, I think I'm going to remove this requirement and simply add new issues for every language that we pull in.

Removed it. It's now much much easier to contribute. Just pull request a single addition/change at a time. No need to wait on me to write articles.


Compile error when using -typeobject in fastddsgen

Is there an already existing issue for this?

[X] I have searched the existing issues

Expected behavior
Successful compile of code when specifying -typeobject when using fastddsgen
Current behavior
When specifying '-typeobject' for fastddsgen, and then compiling my project I receive the error below.
Omitting  '-typeobject' from fastddsgen my project compiles without error.
/usr/local/include/fastcdr/Cdr.h:1381: error: ambiguous overload for ‘operator==’ (operand types are ‘uint8_t’ {aka ‘unsigned char’} and ‘eprosima::fastcdr::Cdr::Endianness’)
In file included from /home/user/Projects/Generic/Libs/Omnibus/generated/Alarm.cxx:31:
/usr/local/include/fastcdr/Cdr.h: In member function ‘eprosima::fastcdr::Cdr& eprosima::fastcdr::Cdr::serialize(const std::vector&, eprosima::fastcdr::Cdr::Endianness)’:
/usr/local/include/fastcdr/Cdr.h:1381:53: error: ambiguous overload for ‘operator==’ (operand types are ‘uint8_t’ {aka ‘unsigned char’} and ‘eprosima::fastcdr::Cdr::Endianness’)
1381 | m_swapBytes = (m_swapBytes && (m_endianness == endianness)) || (!m_swapBytes && (m_endianness != endianness));
| ~~~~~~~~~~~~ ^~ ~~~~~~~~~~
| | |
| | eprosima::fastcdr::Cdr::Endianness
| uint8_t {aka unsigned char}
/usr/local/include/fastrtps/types/TypeObject.h:18: In file included from /usr/local/include/fastrtps/types/TypeObject.h:18,
In file included from /usr/local/include/fastrtps/types/TypeObject.h:18,
from /home/user/Projects/Generic/Libs/Omnibus/generated/AlarmTypeObject.h:26,
from /home/user/Projects/Generic/Libs/Omnibus/generated/Alarm.cxx:30:
/usr/local/include/fastrtps/types/TypesBase.h:251:1: note: candidate: ‘typename std::enable_if<(std::is_arithmetic<_Tp>::value || std::is_enum<_Tp>::value), bool>::type eprosima::fastrtps::types::operator==(T, const eprosima::fastrtps::types::ReturnCode_t&) [with T = eprosima::fastcdr::Cdr::Endianness; typename std::enable_if<(std::is_arithmetic<_Tp>::value || std::is_enum<_Tp>::value), bool>::type = bool]’ (reversed)
251 | operator ==(
| ^~~~~~~~
/home/user/Projects/Generic/Libs/Omnibus/generated/Alarm.cxx:31: In file included from /home/user/Projects/Generic/Libs/Omnibus/generated/Alarm.cxx:31:
In file included from /home/user/Projects/Generic/Libs/Omnibus/generated/Alarm.cxx:31:
/usr/local/include/fastcdr/Cdr.h:1381:53: note: candidate: ‘operator==(int, int)’ (built-in)
1381 | m_swapBytes = (m_swapBytes && (m_endianness == endianness)) || (!m_swapBytes && (m_endianness != endianness));
| ~^
Steps to reproduce
Use -typeobject with fastddsgen and compile the generated source into your own project.
Fast DDS version/commit
Latest, 2.9.1
Platform/Architecture
Windows 10 Visual Studio 2019, Other. Please specify in Additional context section.
Transport layer
Default configuration, UDPv4 & SHM
Additional context
Problem exists on both Windows 10 and Ubuntu 22.04.1 LTS.
Using QtCreator to compile code.
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response

Hello @NeilTruter
Thanks for the report.
Following the contributing guidelines, this issue has been moved to the Fast DD-Gen repository.

I ran into this issue as well, it seems to be an issue when compiling with C++20, I setup a small demo here: https://github.com/tmayoff/eprosima-test/tree/endianness

Another note this seems to just be a problem when compiling with clang++, where as g++ looks fine

Another note this seems to just be a problem when compiling with clang++, where as g++ looks fine

I have this problem on both Windows and Ubuntu using Qt and compiling with MSVC on Windows and gcc on Ubuntu

I ran into this issue as well, it seems to be an issue when compiling with C++20, I setup a small demo here: https://github.com/tmayoff/eprosima-test/tree/endianness, added the FASTRTPS_DYN_LINK didn't seem to do anything

I did some testing now and experiencing the same.
Switching from C++20 to C++17 my project compiles successfully, using C++20 I get the errors mentioned above. Adding FASTRTPS_DYN_LINK makes no difference.
Our top-level project settings set C++ to 20 due to some components requiring it thus I can't move away from it.


No change to project when using paket add in dotnet core on Mac OSX

Added my .paket folder, downloaded paket.bootstrapper.exe and renamed to paket.exe. Ran mono ./.paket/paket.exe init.
All successful, then ran mono ./.paket/paket.exe add IdentityServer4 --project Http and it returned successful, lastly ran dotnet restore but the packages haven't been added to my project.
I'm sure it's me, but what am I doing wrong?
Edit: Here's my Solution folder.
Auth Service.zip

before restore will restore packages you usually need to install or update

So whereas befor an add was enough, now you need to add then install?

Ah wait I think I have misread that, yes it might be related to the newly introduced cache (ie an regression)

Okay what do you need from me, I'd much rather use Paket than go back to Nuget, but the project starts in earnest on Monday so need to know which way to go :(

Well this should work again considering we unlisted 5.92....
As this is OSS I can't promise anything but I hope I can take a look at this when doing 5.92.1 (next days) because I think it's related to the new cache.

@wooderz I cannot reproduce this with your repro. When I type paket add ... paket adds the reference to the project, and updates the lockfile...


Add support for version.yaml pre-processing

Fixes https://github.com/wintercms/winter/issues/13
This PR upgrades symfony/yaml to version 4.4 to match the rest of the Symfony components in Storm. To support old version.yaml file types, this also adds processor support for the YAML parser, and adds a pre-processor that will fix up most issues in old version.yaml files so that they correctly parse.
I've tried to cover most bases where the new Symfony YAML parser might trip up, but if anyone can think of other cases, please let me know so I can add them to the test case.

LGTM!

@bennothommo On second glance, shouldn't the VersionYamlProcessor be located in the system module? Makes it harder to test the processor logic here, but perhaps we can add a basic processor as a test fixture here and then the full version yaml processor test in the winter repo instead.

@LukeTowers sounds good - will sort that out, although I won't put a test in for Storm as we can assume Yaml is adequately tested by Symfony, and I can't think of another processor we need right now.


Stars are not taking width & height

Working fine on Chrome but on Mozilla Starts are not accepting width and height
On Mozilla:

On Chrome:

My code:

     <StarRatings
       rating={data.stars}
       starDimension="25"
       starSpacing="2px"
       starRatedColor="var(--h-primary)"
       />

{data.name}

any idea?

Hojaye ga 💯


improve androidaudioplugin-samples-host-engine and androidaudioplugin-ui-compose

There have been couple of attempts to improve the plugin's MainActivity i.e. androidaudioplugin-ui-compose. Its feature set is limited to what androidaudioplugin-samples-host-engine provides.
Technically, it is just an example use case, but since it is being widely used, I would rather like to have something better.
Namely:

user can pick up arbitrary audio sample to apply effects.
~user can determine some MIDI sequence, either an SMF and/or UMP sequence picker, to apply.~ We leave it to resident-midi-keyboard. Playing SMF etc. is overkill for a preview app. It also adds extraneous state management burden.
~static or dynamic application example.~ Static plugin application has quite different paradigm, so we would focus on dynamic plugin application and keep things only instant.
host parameter controls that responds to Web and native UI inputs i.e. resembles what typical DAWs do.

There has been plugin-manager-ui-vnext branch which should become the new main (to be merged). Not really working with audio I/O yet though.

the plugin-manager-ui-vnext branch almost caught up with what samples-host-engine provides now:

pros:

it can play arbitrary audio file in theory (needs UI support), and we now use short (uint16_t) based ogg vorbis for the default audio file (embedded resource is way smaller).
the embedded keyboard can send MIDI2 notes, pitch bend, etc.
native UI can control plugin parameters.

cons:

some audio noise occurs when PluginPlayer is active, and the final audio output to Oboe sounds weird (on both audio playing and synth output via MIDI2)
controlling parameters via knobs on the generic UI causes crash

It seems the weird audio output problem ^ is exactly the same as #92.

The last remaining issue is fixed and plugin-manager-ui-vnext is now merged into main.
I would close this issue once we finished the replacement work.


Pure deletes. Remove most of the unneeded Add/Remove overrides.

Hi. This is just meant as a minor code cleanup to make it easier to browse through.

Hi there. Is there any chance that this gets merged? I would especially love to see the Http namespace removal applied to upstream, to get things compiling for future 4.x targets.

Thank you! CADability doesn't use any System.Net.Http references as far as I know.


Signature of BitVec.shiftLeft, BitVec.ushiftRight, BitVec.sshiftRight does not match SMT-LIB

According to https://smtlib.cs.uiowa.edu/logics-all.shtml#QF_BV, the type of bitvec shift operations should be ∀ {n : Nat}, BitVec n → BitVec n → BitVec n instead of ∀ {n : Nat}, BitVec n → Nat → BitVec n

Sounds good. I think for smt-related projects the user can just override the <<< and >>> typeclass using the smt version.

Oh, another minor issue here: Line 56
```/-- Return the i-th least significant bit. -/should be/-- Return the i-th most significant bit. -/``

@joehendrix I think the rotate_left and rotate_right comment does not need to be changed. The rotate_left and rotate_right in SMT-lib uses natural numbers as shamt, but require them to be literals.
Another issue is that the signature and semantics of zeroExtend does not match SMT-Lib.

I think we should have another version of zeroExtend with the SMT-lib semantics; that signature will be problematic for lean and I don't want to encourage people to use it unless it is specifically for SMT-lib compatibility.

I think we should have another version of zeroExtend with the SMT-lib semantics; that signature will be problematic for lean and I don't want to encourage people to use it unless it is specifically for SMT-lib compatibility.

Why is the signature problematic? I saw that BitVec.signExtend has the same signature as smt-lib. I'm also confused about why we want different signatures for zeroExtend and signExtend.

Actually I think we should also make signExtend have the same signature as zeroExtend, with it having the same truncate behavior when the target size is less than the input size.
The reason the SMT-lib signature is problematic is because it puts an expression in a type dependency, and this will cause unification issues when chaining the function with other functions. For example if you have UIntN (n : Nat) := BitVec (8 * n) then you can't use SMT-lib zeroExtend to go from UIntN n to UIntN (n + m) because you need something of type BitVec (8 * (n + m)) rather than BitVec (8 * n + 8 * m). With the current definition this just works.

I see. Then we should make signExtend have the same signature as zeroExtend, and have a smt-lib version for both signExtend and zeroExtend.

I agree with @digama0.  I can modify signExtend to have the same signature.  In addition to Mario's reason, I also think code is easier to read when the output width is given explicitly, e.g. if x : BitVec 8 then and I want to extend it to 32-bits, then I prefer writing signExtend 32 x rather than signExtend 24 x.
@PratherConid What do you want the SMT-LIB version for?   Are you trying to translate SMT-LIB into Lean or the other way around?

I'm doing the other way around (translating Lean into SMT-LIB), so I need to reliably recognize SMT-LIB primitives from Lean expressions. The translation would be much easier to accomplish if the users use Lean definitions that directly correspond to the SMT-LIB primitive.

I'm not sure that's realistic to expect users to write Lean code that is so closely aligned with SMT-LIB.  Users will use what is comfortable to them.
One easy thing that you could do would be to write the operators that you want to recognize in your translation procedure, and then use simp rules to map from the std4 operators to the ones you want to recognize.

I see. Actually I'm doing that right now.

I still prefer having them in std4 because in that case I can directly use them in my code. Also, since we already have things like smtUDiv, smtSDiv, it doesn't make sense to not have smt versions for shift and extend.

@PratherConid To be honest this feels like a very particular hypothetical user here, but maybe you have a particular customer in mind?
I've developed symbolic execution tools for a lot of languages, and they generally don't have bitvector operations that exactly correspond to SMT-LIB.  It can sometimes mean there is a bit of extra simplification or the SMT is slightly more complex than optimal, but that's not where we run into difficulties.  The difficulties are either hard SMT problems or data structures and other language features that have no SMT representation.
Incidentally, since it made the Alive example much more readable, I did commit the instances so that the shift operation can be a bitvector so e.g., bv <<< 5#n / 3#n works.  The operator just doesn't have a name.

@joehendrix No, I didn't have a particular customer in mind. I'm not familiar with verification, so I don't quite understand the difficulties. Thanks for the instance you added!

@joehendrix I think the rotate_left and rotate_right comment does not need to be changed. The rotate_left and rotate_right in SMT-lib uses natural numbers as shamt, but require them to be literals. Another issue is that the signature and semantics of zeroExtend does not match SMT-Lib.

I'll repeat my comment here. Note that Mario and I has agreed that the signature of zeroExtend should remain unchanged, and the signature of signExtend should match zeroExtend.


API: Apply 'pipeline' refactor to the other endpoints

In https://github.com/TryGhost/Ghost/commit/51ac3f653251f59ace09255f8851fc5ee6b5759a I refactored the post, user and tag endpoints to use our pipeline promise utility.
This means that serving an API request becomes a matter of taking inputs (either just options, or object & options) and passing them through a series of functions which either return a value or a promise for a value. The output form one function is passed as the argument to the next, forming a chain somewhat similar to a middleware stack.
If at any step, there is an error or promise rejection, the pipeline returns an error, meaning that validation, permission handling, and data fetching can all be steps which return their own errors and prevent the process from continuing if they go wrong.
The best thing about this approach is that it wraps individual lines of endpoint code in functions which describe what happens, like validation and handlePermissions rather than having a large block of promise code. This has reduced the codeclimate score, as the vast amounts of code duplication are now obvious, whereas before they were hidden by lines being in slightly different orders.
It would be great to continue rolling out this refactor across the other endpoints. This could be done as a single task, or as one PR per endpoint - some of them are trickier than others (and in rough order of priority):

[x] Posts
[x] Users
[x] Tags
[ ] Settings
[ ] Authentication
[x] Roles
[ ] Configuration
[ ] Themes
[ ] Upload
[x] Slugs
[x] Notifications
[ ] DB
[ ] Mail

I'd like to pick this one up and finish the parts, that are unchecked.
I think a refactoring to pipeline utility itself would also be a bonus (as a separate PR). At the moment, it is very confusing to figure out how it works by looking at its implementation. I'd also like to write tests for the pipeline util, because grep could not find any in core/test, so I assume they don't exist.

This issue is almost done, with the exception of upload (#6648) and settings (#6028).
Upload I think is close, but the tests possibly need some work.
Settings is such a weird endpoint, it works sooo totally different to the others that it doesn't quite follow the same pattern. When #6028 was raised I self-assigned and marked it as hold because there were some changes in there that didn't quite look right.
Particularly to do with the change from settingsResult to formatResult where type seems to be missing, and handlePermissions not being split out for read and browse. Again I think the tests perhaps need some extra work to ensure the behaviour isn't changing in obscure cases.
I've tried to update, fixup & rebase #6028 but am not feeling confident with it yet. If anyone else fancies a stab grab it, else I'll try again soon.


Create translation files for IBM.com Library

The problem
The following languages require translations for use in the IBM.com Library:

~German~
French
~Italian~
Spanish (Castilian)
Spanish (LA)
Portuguese (Brazil)
~Polish~
~Russian~
Turkish
~Chinese (simplified)~
Chinese (traditional)
Japanese
Korean
Arabic (edited)

The solution
Translation files are required for IBM.com Library components, such as the masthead, footer, and locale selector.
Additional information
https://github.ibm.com/webstandards/ibm-dotcom-library-translations

Couple of thoughts:

Can we rename the repo to: IBM.com - Translations? (drop the Library)
rename the translations folder to countrylist
possibly speak with Miroslav and migrate the masthead/footer translations into this repo? (e.g. /masthead-footer folder in the root
If #3 is a go, then we can create a Jenkins job to support this too

@jeffchew @ljcarot Cna I close this issue or should it move to sprint 20-10?


Multiple instances of tinymce

Has this issue been resolved? Can we have multiple tinymce's in different views?

Can you reproduce this in a Plunker?

I believe this should be fixed. Take note of the warning in the README and you should be good to go for making use of this.


Docstrings

TODO:

[x] fix error handling
[x] optimize performance (it's hard to come up with a benchmark where it matters, but there are a few O(N^2), which would be bad for large records and bindings)
add markdown support?
[x] add rules for which comments are allowed to be docstrings (e.g. only /** ... */, like in JSDoc, but that would require #1896 fix)
[x] tests

Example: https://quri-hub-git-docstrings-quantified-uncertainty.vercel.app/users/berekuk/models/docstrings-test

This is mostly ready.
I decided against markdown for now (not sure if it's a good idea to allow rich editing there, especially since we won't want to allow large headers).
But maybe we should add white-space: pre-line.
Performance should be good enough now even for long scripts and large outputs; drilling into values is slightly more costly, but both drilling and looking for docstrings is either O(1) or O(log N).
Internal API change: SqProject now has getOutput method in addition to getResult and getBindings. Also, getBindings signature has changed; previously, it returned an empty record on failures, instead of result<SqRecord, SqError> (we had a long TODO note about that).
I've changed all places in our own codebase that used getBindings accordingly. Mostly by replacing them with project.getOutput.

New demo is at the same URL, https://quri-hub-git-docstrings-quantified-uncertainty.vercel.app/users/berekuk/models/docstrings-test.
And also at https://squiggle-components-git-docstrings-quantified-uncertainty.vercel.app/?path=/story/squiggle-squiggleplayground--comments.

How sure are you about us using the JSDoc notation, vs other notations? The JSDoc notation seems kind of ugly to me, though I assume they have good reasons for it.

How sure are you about us using the JSDoc notation, vs other notations?

Not very sure.
I think we need some solution for private comments. But I'm agnostic about private vs public by default. Maybe we could show all comments except ones that are marked as private.
Another thing to point out is that we currently have both # and //; we wanted to deprecate # a while ago, but never got to it. We could reuse it for private comments, or use // for private comments and /* for docstrings.
If possible, I'd still like to remove #, because we might need it for some future syntax (not for comments); there are not that many free symbols in ASCII and many syntax ideas we might want to try: types, units, etc.

How difficult would it be to support newlines in comments? Seems pretty useful / expected.

whitespace-pre-line is enough for newlines, added.


Feature Request - Please add an option to show/hide seconds for the clock time

Hey there!
I have a suggestion - how about adding an option to show/hide seconds for the clocks? It would be great to have the Main clock without the seconds, as it would provide a smoother 12-hour format view without line breaks.
As seen here:

Thank you for your AMAZING work, @hasinhayder Bhaiya!! 😎 🆒 🤘

It is already there - see the first option

Oops! I missed that! Cool.


we need to not delete certain roles from openshift-ansible when we vendor

@jupierce approved #3502


Add a 'batch_size' option to the populate history command

As mentioned in #189 it can be problematic to run the populate history command on very large data sets. A parameter to the populate history command should be added to allow the population to be performed in chunks.

Fixed in #263


Not working with docker-compose file

I tried running this with a docker-compose file for confluent (CP ALL IN ONE).
I am also running yugabyte in a docker compose file.
However, when i run the java file I keeping getting a
java -jar yb-cdc-connector.jar
--table_name yugabyte.users
--master_addrs yb-master-n1:7100
--kafka_addrs broker:9092
--schema_registry_addrs schema-registry:8081
--topic_name users
--table_schema_path table_schema_path.avsc
--primary_key_schema_path primary_key_schema_path.asvc
2021-10-03 17:37:52,045 [INFO|org.yb.cdc.KafkaConnector|KafkaConnector] Created new stream with id 117dd8bbfb6a4340bdf4c340de6fe9b1
2021-10-03 17:37:52,058 [INFO|org.yb.cdc.KafkaConnector|KafkaConnector] Polling for new tablet d40e3478b3924d728077451b0f9b1d1d
2021-10-03 17:37:52,062 [INFO|org.yb.cdc.KafkaConnector|KafkaConnector] Polling for new tablet 485053beb4a242e6a26a2382510fd020
2021-10-03 17:37:52,063 [INFO|org.yb.cdc.KafkaConnector|KafkaConnector] Polling for new tablet ef6e1136934346b58d2192f0c6bc7483
2021-10-03 17:37:52,063 [INFO|org.yb.cdc.KafkaConnector|KafkaConnector] Polling for new tablet c372ec5094f344348cafec8169f34a1c
2021-10-03 17:37:52,064 [INFO|org.yb.cdc.KafkaConnector|KafkaConnector] Polling for new tablet 81fe4f5e277b4c2bb076162c4bda1c46
2021-10-03 17:37:52,064 [INFO|org.yb.cdc.KafkaConnector|KafkaConnector] Polling for new tablet f824aa8d2a0f40f0bf9784a3ff6d8a92
2021-10-03 17:37:52,065 [INFO|org.yb.cdc.KafkaConnector|KafkaConnector] Polling for new tablet 56d73bd0a76d4d639341ff9e5254131d
2021-10-03 17:37:52,065 [INFO|org.yb.cdc.KafkaConnector|KafkaConnector] Polling for new tablet f8d01150c4d846e4bcacfb96b322bb5a
2021-10-03 17:37:52,496 [ERROR|org.yb.cdc.KafkaClient|KafkaClient] Error serializing Avro message
2021-10-03 17:37:52,500 [ERROR|org.yb.cdc.KafkaClient|KafkaClient] Error serializing Avro message
2021-10-03 17:37:52,499 [ERROR|org.yb.cdc.KafkaClient|KafkaClient] Error serializing Avro messag

Any update on this?
Have the same issue.


openstack-crowbar: handle partial supportconfig (SOC-8460)

Sometimes the deployment may fail before the cloud nodes are
registered, so the repositories aren't properly set up. In that
case, the supportconfig collection logic only needs to collect
supportconfig files from the admin node.

Please add the jira reference.

@rsalevsky done


Feature/prl 1615 c100 rebuild journey

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

This PR is not needed anymore. since the we changed the base branch. Hence closing this PR>


pull request for e2e test at 11/23/2016 12:26:04

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Update wrtc to latest to work with io.js v2.2.1

If you try to install with io.js v2.2.1 it will fail.
In file included from ../node_modules/nan/nan_new.h:190:
../node_modules/nan/nan_implementation_12_inl.h:181:66: error: too many arguments to function call, expected at
      most 2, have 4
  return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv);
         ~~~~~~~~~~~~~~~~~~                                      ^~~~~~~~~~
/Users/kevinsimper/.node-gyp/2.2.1/deps/v8/include/v8.h:4188:3: note: 'New' declared here
  static Local<Signature> New(
  ^
1 error generated.

But they upgraded nan in version 0.0.56

See https://github.com/feross/webtorrent-hybrid/issues/6#issuecomment-112318435

@feross recently set the version to 0.0.55 https://github.com/feross/webtorrent-hybrid/commit/8c770ee817223a9768be23d9e525913992e9d7aa

I am trying to put webtorrent-hybrid into an electron app, and to do that, you have to follow the node version it is built with, which is v2.2.1

Nevermind, I misunderstod #5 and through of the opposite.


Draft a openapi document for future development

To make baremaps viable for use cases at Camptocamp we would like to improve the service capabilities to handle multiple styles, datasets, tile-sets, etc. As a first step we would like to draft an openapi definition as a discussion basis for further development efforts.
@bchapuis is it ok to work this on a branch here and of yes do you have any preferred location to place the spec?

We can create a branch or a dedicated repository for an OpenAPI/Swagger integration. In my understanding the goal would be to generate services based on the OGC-API, right? As they have some existing openapi definitions, we could automate the generation of the jax-rs code from these files with Swagger, and then focus on the implementation of the services. What do you think?

Yes i guess the goal would be to generate clients and stuff from the spec. I think the spec should live in this repository, maybe at the root of the server resources but honestly i am not familiar with the tooling and java project structure.

There is very good support for OpenAPI in the java ecosystem, so I would definitly generate the client and server stubs from the specs. The current server module is based on armeria, which is primarily grpc and grpc-web oriented. There is a good article on google cloud explaining the upsides and downsides of this choice. That being said, armeria can also serve resteasy/jax-rs services but I havn't experimented with it yet.
Given the number of specs described by ogcapi, I would create a repository or at several dedicated modules for each specifications. For instance, we may have something like:
baremaps-ogcapi
baremaps-ogcapi-features
baremaps-ogcapi-maps
baremaps-ogcapi-tiles

Do you already have established a list of priorities regarding the specs you want to implement first?

In terms of tooling a good starting point would be to configure the maven openapi-generator plugin to produce generate the the server stub with the delegate pattern.
https://openapi-generator.tech/docs/generators/jaxrs-resteasy

The initial scope we have in mind is a transactional api for styles, tilesets* and collections. The goal is to have an interface for a client to create and edit these.
It is not yet clear to which amount we will adhere to ogcapi specs, just for the module names. Personally I am very much in favor of this.
I will probably follow up on your comments next week.

i mean the tileset json stuff, it might as well be beneficial to define some terminology or adapt the ogcapi terms

cc @danduk82 @RemiDesgrange @fgravin


Fix and upadte based on what is in integration now.

I grabbed what's in https://metrics.dev.data.humancellatlas.org/d/analysis-integration/analysis-integration?orgId=1 right now and template-ized it.
This could hopefully close #43

@rexwangcc I tested deploying this to staging just now and the bottom of the graph comes out a bit scrambled (see below). Also the GCS Cromwell Execution Bucket Requests Rate plot is still duplicated. You may want to check that you saved your changes in integration, copied the JSON correctly, and templated everything right.

@mweiden Thanks for helping deploy and review it! You are right I forgot to remove the duplicated widgets which caused the weird layout of the bottom of the dashboard. It's fixed in the latest commit now.
By the way, is it possible for us to deploy the dashboards on our side? In case we want to test it next time without bothering you!

@rexwangcc yes! There's a little blurb here on how to find help on the tool: https://github.com/HumanCellAtlas/dcp-monitoring#upload-to-grafana


bot doesn't download song

Hi, I found this project for SMD and I tried it but when I put spotify link it say done without sending it so I watched on console log and I found this error
Fetching Song...
Searching for: Freddie Gibbs - Forever and a Day
Error: HTTP Error 404: Not Found        While Error : Freddie Gibbs - Forever
and a Day
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/spotdl/download/downloader.py",
line 197, in download_song
trackAudioStream = youtubeHandler.streams.filter(
File "/usr/local/lib/python3.8/dist-packages/pytube/main.py", line 308, in
streams
return StreamQuery(self.fmt_streams)
File "/usr/local/lib/python3.8/dist-packages/pytube/main.py", line 213, in
fmt_streams
if "adaptive_fmts" in self.player_config_args:
File "/usr/local/lib/python3.8/dist-packages/pytube/main.py", line 187, in
player_config_args
self._player_config_args = self.vid_info
File "/usr/local/lib/python3.8/dist-packages/pytube/main.py", line 278, in
vid_info
return dict(parse_qsl(self.vid_info_raw))
File "/usr/local/lib/python3.8/dist-packages/pytube/main.py", line 108, in
vid_info_raw
self._vid_info_raw = request.get(self.vid_info_url)
File "/usr/local/lib/python3.8/dist-packages/pytube/request.py", line 53, in
get
response = _execute_request(url, headers=extra_headers, timeout=timeout)
File "/usr/local/lib/python3.8/dist-packages/pytube/request.py", line 37, in
_execute_request
return urlopen(request, timeout=timeout)  # nosec
File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/usr/lib/python3.8/urllib/request.py", line 563, in error
result = self._call_chain(*args)
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib/python3.8/urllib/request.py", line 755, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/usr/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
Freddie Gibbs - Forever  Error              ━━━━━━━━━━━━━━━━━━━━━━━   0% -:--:--
a…
idk what that means bc I'm not an expert for programming but can u help me if u know the problem or fix the bug?

Hi can you give the link you tried to download with? seems like there was problem finding song on youtube

So I tried to download a spotify music and it give me that error
I finded that is a yt downloader so I put a youtube link but it say not found on spotify and it say done without music
I tried this songs
https://open.spotify.com/track/6KoduR10TkW5lwKqjA6haa?si=xg1sqBxaRnutVmCKwbcSqA
https://youtu.be/WfyVl4GCYv4
https://open.spotify.com/track/2cT0z1rbVSGl3lzaYIzMMy?si=342be5f8693b4fa9
I tried with playlist too but it's not work

I have another problem, after a copule of minutes it say this
2021-05-31T08:14:31.492420+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2021-05-31T08:14:31.557217+00:00 heroku[web.1]: Stopping process with SIGKILL
2021-05-31T08:14:31.658552+00:00 heroku[web.1]: Process exited with status 137
2021-05-31T08:14:31.874335+00:00 heroku[web.1]: State changed from starting to crashed
Can u fix that too?

I figured out the bug and I fixed it and do a pull request :D


Revert "Metadata driven schema handling"

Tests are failing after merging this.

@thelabdude What is the SchemaPreservingSolrRDD being used for exactly? Is it specific to fusion and trying to reverse the flattening of the schema in some way?

@epheatt : SchemaPreservingSolrRDD is a subclass of SolrRDD to handle dataframes where automatic realization of schema may not be possible. Few such examples are nested data frames, data frames containing vector datatypes, machine learning models. The idea is to store the relevant schema along with the data in Solr so that the schema can be realized while reading the data back from Solr.

@ganeshk7 The test that was breaking the SolrRelationTest#testNestedDataFrames due to:
java.lang.ClassCastException: org.apache.spark.sql.types.StringType$ cannot be cast to org.apache.spark.sql.types.StructType
When it attempts to recurse on the id field which is not a struct obviously. The parent doc is:
{id=abdb837c-6259-455e-b156-571a613e477f, __lwroot_s=root, __lwcategory_s=data, id_s=7, testing_s_s=test, links1_s=08ae8bca-945e-4620-9ffb-26628960def7, _indexed_at_tdt=Wed Dec 02 16:01:37 PST 2015, version=1519492423232782336}
And the childDoc is:
{id=08ae8bca-945e-4620-9ffb-26628960def7, __lwchilddocname_s=test_s, __lwcategory_s=data, test1_s_s=test1, test2_s_s=test2, links1_s=68d9582e-c856-4df2-9364-bf397af9f0a1}
It seems like this is an interesting use of solr as a NoSQL datastore to mix the schema definition as data within the same collection as the actual data, but the application specific convention driven schema implementation in the SchemaPreservingSolrRDD seem better suited to a example application that builds on rather than being part of the core package.
Can you take a look at the proposed topic/metadata changes to SolrRDD to see if any thing jumps out at you given that they are mostly dealing with fetching the uniqueKey and additional field information from the solr schema in order to fetch all of the stored and docValues fields and tries to reduce external assumptions on schema?


Programmatic run

How to programmatically display the gallery? I would like to pass images by myself instead of specifying the selector to the run method.

Sorry, the core mechanism is based on selectors. Alternatively you can create the <a> tags and hide them with display: none.

Pity, I have an inifite photo slider built with amazing slick.js. To make it appear as if infinite it repeats the links multiple times. I have only 2 images for instance, but in DOM there are 4, so Baguette displays 4 images.
Shame that initialization part is not abstract enough.

You can try with the filter option and some text appended to the href like ?duplicate. That's just an idea.

That's not going to work, I have to use another script.


How do i add config for streaming replication.

Hi.

To realize it, It needs to add role for replication and add connection setting at pg_hba.conf.
role config is editable in this release from here. But pg_hba.conf seems to be not so.
Is there something way to edit pg_hba.conf?

@kkitai
The postgres-release doesn’t directly support a streaming replica customisation.
In particular there is no property to update the pg_hba.conf.

@valeriap
okay. I found pre_start hook property and Temporarily I use it for workaround.
thank you.
- type: replace
  path: /instance_groups/name=db/jobs/name=postgres/properties/databases/hooks?/pre_start?
  value: |
    #!/bin/bash
    DATA_DIR="/var/vcap/store/postgres/postgres-9.6.8/"
    PG_HBA="${DATA_DIR}/pg_hba.conf"
    ls -ltra $PG_HBA
    echo "local   replication    rep                                     password" >> $PG_HBA
    echo "host    replication    rep             ((nw_cidr))             password" >> $PG_HBA


MacOs build and install issues

This resolves #1326 well most of it apart from cosmetics in igniter.
Also added are:

mac now creates OpenPype.app with nice icon
.dmg installer is generated if the building machine has create-dmg tool in path.

create-dmg can be installed using homebrew. this also sorts out some issues for linux coincidentally
I've also re-generated linux OTIO wheel to correctly include all the files. We are now only missing otio potentially for macOS 10. @antirotor you're the only one that has functional Catalina I think. could you make it please?

📧 correct OpenTimelineIO for macosx 10.15 (Catalina) is uploaded to openpype.io

That invalid directory error is present on Ubuntu also, so I think that is nothing mac specific

That invalid directory error is present on Ubuntu also, so I think that is nothing mac specific

@antirotor the problem is at calculation of the version path. I believe it might actually be the space in it, which is no properly handled

I believe it might actually be the space in it

but on linux, there is no space in path. I'll try to debug it. Also create-dmg command check should run only on macos and not linux.

Ok, the problem is caused by missing repos in installed version.

we should check for them before build.

Definitely. can you ammend this PR?

Working fine on Catalina and virtual Ubuntu.

Just note - if you ever tried to build it on system with incomplete opentimelineio wheels, you need to purge poetry cache, otherwise correct wheel won't be downloaded. Run poetry cache clear openpype --all to achieve this.


ImportError: No module named future.utils

I followed all the steps successfully using  https://github.com/HazyResearch/snorkel#installation--dependencies
Now I run the ./run.sh and a notebook shows up. Going to tutorials>intro>Intro_Tutorial_1
Running the "from snorkel.parser import TSVDocPreprocessor" line, gives me the following error:
ImportError: No module named future.utils
I use macOS High Sierra. When I run "import future" it gives me this error. I can easily import future when using the command line. But in notebook it gives me this error.
Maybe it would help you to understand the problem if I give you the following extra information.
I originally received the error related to "builtins not found" and I solved it by replacing all the "from builtin  import *" with "from _builtin_  import *".

What change did you make to the imports?  Doesn't look like there's a difference in what you wrote above? Also what version of Python are you running in?

just fixed my comment. see above please

You need to fix your documentation. If the python3 is used, none of the above problems are occurring. When I use python2 it tells me "builtins not found". Apparently for python2 it was used as underscore builtin underscore.

Thank you for catching this! The current version of Snorkel is meant for Python 3 as you noted


Crash in BugsnagBreadcrumbs.m line 74

Describe the bug
Crash of unknown origin coming from Bugsnag. We have seen 1 crash affecting 1 customer so far.
Steps to reproduce
Unknown
Environment

Bugsnag version: 6.2.3
CocoaPods version: 1.9.3
Carthage version (if any): n/a
iOS/tvOS/macOS version(s): 14.2.0
Simulator or physical device: iPhone 11
XCode version: 12.1
Swift version (if applicable): 5.1

Stack Trace

Stack trace:
Fatal Exception: NSUnknownKeyException
0  CoreFoundation                 0x184260878 __exceptionPreprocess
1  libobjc.A.dylib                0x1987b6c50 objc_exception_throw
2  CoreFoundation                 0x1841685c8 -[NSObject(NSKindOfAdditions) isNSSet__]
3  Foundation                     0x185503184 -[NSObject(NSKeyValueCoding) valueForUndefinedKey:]
4  Foundation                     0x185484f14 -[NSObject(NSKeyValueCoding) valueForKey:]
5  Foundation                     0x1854d7ecc -[NSArray(NSKeyValueCoding) valueForKey:]
6  Foundation                     0x1854e2314 -[NSArray(NSKeyValueCoding) valueForKeyPath:]
7  MyApp                           0x10359cd20 __45-[BugsnagBreadcrumbs addBreadcrumbWithBlock:]_block_invoke + 74 (BugsnagBreadcrumbs.m:74)
8  libdispatch.dylib              0x183e54db0 _dispatch_client_callout
9  libdispatch.dylib              0x183e63428 _dispatch_lane_barrier_sync_invoke_and_complete
10 MyApp                           0x10359cb78 -[BugsnagBreadcrumbs addBreadcrumbWithBlock:] + 64 (BugsnagBreadcrumbs.m:64)
11 MyApp                           0x1035a1f5c -[BugsnagClient addBreadcrumbWithBlock:] + 1158 (BugsnagClient.m:1158)
12 MyApp                           0x10359fe40 -[BugsnagClient leaveBreadcrumbWithMessage:] + 834 (BugsnagClient.m:834)
13 MyApp                           0x1035988cc +[Bugsnag leaveBreadcrumbWithMessage:] + 175 (Bugsnag.m:175)
14 MyApp                           0x104090e7c specialized BugsnagLogStoreWriter.writeToLog(level:message:parameters:) (<compiler-generated>)
15 MyApp                           0x10409134c specialized BugsnagLogStoreWriter.write(level:message:parameters:) (<compiler-generated>)
16 MyApp                           0x104082de0 AggregateLogStoreWriter.write(level:message:parameters:) (<compiler-generated>)
17 MyApp                           0x104082ea0 protocol witness for LogStoreWriter.write(level:message:parameters:) in conformance AggregateLogStoreWriter (<compiler-generated>)
18 MyApp                           0x104086888 specialized Logger.nonStaticLog(event:_:parameters:) (<compiler-generated>)
19 MyApp                           0x104086030 Logger.log(event:_:parameters:) (<compiler-generated>)
20 MyApp                           0x10300e0ec specialized AppDelegate.applicationWillEnterForeground(_:) (<compiler-generated>)
21 MyApp                           0x1030054a0 @objc AppDelegate.applicationWillEnterForeground(_:) (<compiler-generated>)
22 UIKitCore                      0x186c2b670 -[UIApplication _sendWillEnterForegroundCallbacks]
23 UIKitCore                      0x18626ac54 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke_2
24 UIKitCore                      0x1867d7404 _UIScenePerformActionsWithLifecycleActionMask
25 UIKitCore                      0x18626a4a8 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke
26 UIKitCore                      0x186269eb0 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:]
27 UIKitCore                      0x18626a2b8 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]
28 UIKitCore                      0x186269af4 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:]
29 UIKitCore                      0x186272040 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke
30 UIKitCore                      0x1866e4030 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:]
31 UIKitCore                      0x1867efb2c _UISceneSettingsDiffActionPerformChangesWithTransitionContext
32 UIKitCore                      0x186271d38 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]
33 UIKitCore                      0x186099bb4 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke
34 UIKitCore                      0x186098528 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:]
35 UIKitCore                      0x1860997dc -[UIScene scene:didUpdateWithDiff:transitionContext:completion:]
36 UIKitCore                      0x18670dd0c -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:]
37 FrontBoardServices             0x193569d54 -[FBSScene updater:didUpdateSettings:withDiff:transitionContext:completion:]
38 FrontBoardServices             0x1935965c4 __94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke_2
39 FrontBoardServices             0x193578560 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:]
40 FrontBoardServices             0x1935964f0 __94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke
41 libdispatch.dylib              0x183e54db0 _dispatch_client_callout
42 libdispatch.dylib              0x183e58738 _dispatch_block_invoke_direct
43 FrontBoardServices             0x1935bd310 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__
44 FrontBoardServices             0x1935bcfa0 -[FBSSerialQueue _targetQueue_performNextIfPossible]
45 FrontBoardServices             0x1935bd4f4 -[FBSSerialQueue _performNextFromRunLoopSource]
46 CoreFoundation                 0x1841dc76c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
47 CoreFoundation                 0x1841dc668 __CFRunLoopDoSource0
48 CoreFoundation                 0x1841db960 __CFRunLoopDoSources0
49 CoreFoundation                 0x1841d5a8c __CFRunLoopRun
50 CoreFoundation                 0x1841d521c CFRunLoopRunSpecific
51 GraphicsServices               0x19b254784 GSEventRunModal
52 UIKitCore                      0x186c0e200 -[UIApplication _run]
53 UIKitCore                      0x186c13a74 UIApplicationMain
54 MyApp                           0x102c582e0 main + 63 (AppDelegate.swift:63)
55 libdyld.dylib                  0x183e956c0 start

Hi @sethfri,
Thanks for raising this, we will take a look at get back to you when we know more.

Hi @sethfri
Are you sure this occurred when using bugsnag-cocoa v6.2.3?
In v6.2.3 -[BugsnagBreadcrumbs addBreadcrumbWithBlock:] no longer calls out to dispatch_async and neither does it call -[NSArray valueForKeyPath:].
The reported issue looks like a race condition in the older implementation of breadcrumbs in a previous version of bugsnag-cocoa.

This is my bad, this version of the app is using 6.2.1 not 6.2.3. Closing


fix(map_loader): add log output

Description
Add log output to launch file in map/map_loader.
It is set to "both", which outputs to both the terminal and the log file.
Tests performed
I checked that both the terminal and the log file will receive the log output.
The log file when the running process get killed (launched individually):
...
1717147605.4659960 [lanelet2_map_visualization-3] [INFO] [1717147605.465805143] [rclcpp]: signal_handler(signum=15)
1717147605.4661055 [lanelet2_map_visualization-3] *** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1717147605" if you are using GNU date ***
1717147605.4665687 [lanelet2_map_visualization-3] PC: @                0x0 (unknown)
1717147605.4667759 [lanelet2_map_visualization-3] *** SIGTERM (@0x3e8000e1b20) received by PID 3223579 (TID 0x7ff9e32ca680) from PID 924448; stack trace: ***
1717147605.4672272 [lanelet2_map_visualization-3]     @     0x7ff9e3b664d6 google::(anonymous namespace)::FailureSignalHandler()
1717147605.4676359 [lanelet2_map_visualization-3]     @     0x7ff9e3a19ded rclcpp::SignalHandler::signal_handler()
1717147605.4678733 [lanelet2_map_visualization-3]     @     0x7ff9e3042520 (unknown)
1717147605.4680552 [lanelet2_map_visualization-3]     @     0x7ff9e3091117 (unknown)
1717147605.4682143 [lanelet2_map_visualization-3]     @     0x7ff9e3093a41 pthread_cond_wait
1717147605.4683957 [lanelet2_map_visualization-3]     @     0x7ff9e2f84a8d ddsrt_cond_wait
1717147605.4685516 [lanelet2_map_visualization-3]     @     0x7ff9e2f84b55 ddsrt_cond_waituntil
1717147605.4687283 [lanelet2_map_visualization-3]     @     0x7ff9e2f6b45d (unknown)
1717147605.4689677 [lanelet2_map_visualization-3]     @     0x7ff9e327374f rmw_wait
1717147605.4692674 [lanelet2_map_visualization-3]     @     0x7ff9e37a7848 rcl_wait
1717147605.4696777 [lanelet2_map_visualization-3]     @     0x7ff9e39611b6 rclcpp::Executor::wait_for_work()
1717147605.4700472 [lanelet2_map_visualization-3]     @     0x7ff9e39616d3 rclcpp::Executor::get_next_executable()
1717147605.4704914 [lanelet2_map_visualization-3]     @     0x7ff9e3965c81 rclcpp::executors::SingleThreadedExecutor::spin()
1717147605.4705842 [lanelet2_map_visualization-3]     @     0x5630db0d9486 main
1717147605.4707685 [lanelet2_map_visualization-3]     @     0x7ff9e3029d90 (unknown)
1717147605.4710116 [lanelet2_map_visualization-3]     @     0x7ff9e3029e40 __libc_start_main
1717147605.4711015 [lanelet2_map_visualization-3]     @     0x5630db0d9e35 _start
1717147605.4722123 [ERROR] [lanelet2_map_visualization-3]: process has died ...
(other omitted)

Within container (throwing std::runtime_error):
(this will not get logged in log file because map_container is logged with screen?)
[component_container_mt-28] terminate called after throwing an instance of 'std::runtime_error'
[component_container_mt-28]   what():  THROWING RUNTIME ERROR
[component_container_mt-28] *** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1717388510" if you are using GNU date ***
[component_container_mt-28] PC: @                0x0 (unknown)
[component_container_mt-28] *** SIGABRT (@0x3e80032d72f) received by PID 3331887 (TID 0x7f2c2a7fc640) from PID 3331887; stack trace: ***
[aggregator_node-23] [WARN] [1717388510.938254681] [Aggregator]: No timestamp set for diagnostic message.
Interface changes

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

I update the PR comment and add a check case of composable node.
I terminate the node with throwing the runtime error by the code.
It seems it will not output log in log file because map_container's output is set screen: https://github.com/autowarefoundation/autoware.universe/blob/228be2f1ab94125056530ebc97a8654a253fd0ed/launch/tier4_map_launch/launch/map.launch.xml#L25.


While adding a slider image, image fields are required still I'm able to add a slider without an image.

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
master
Issue Description
While adding a slider image, image fields are required still I'm able to add a slider without an image.
Preconditions

Admin should be logged in.
Admin needs to create a slider.

Steps to reproduce

Go to 'Admin panel'
Click on 'edit image carousel' inside the settings\themes
Click on the Add slider
Add a link and click on the save button.
save the added image.
See the error

Expected Result
It should show the image fields required message while adding a slider.
Actual Result
It is saving without an image. Here
Screenshots
No response
Additional context
No response

Now, this issue is fixed. so I am closing this issue.
And I have attached a screenshot Here, for future reference.


Leap_solvate can't create a cubic box.

Hello,
I'm creating a water box using the following code, but it doesn't make a cubic box. I looked at the leap_solvate code, and it seems that the order of Amber's solvatebox command is not as explained here.
from biobb_amber.leap.leap_solvate import leap_solvate
output_solv_pdb_path = 'structure.solv.pdb'
output_solv_top_path = 'structure.solv.parmtop'
output_solv_crd_path = 'structure.solv.rst7'

prop = {
    "forcefield" : ["protein.ff14SB","gaff"],
    "water_type": "TIP3PBOX",
    "distance_to_molecule": 9.0,
    "box_type": "cubic",
    "iso": True,
    "closenes": 1.0,
    "remove_tmp": False
}

# Create and launch biobb_amber leap_solvate
leap_solvate(input_pdb_path='complex_min_vac.pdb',
             input_lib_path='ligand_params.lib',
             input_frcmod_path='ligand_params.frcmod',
             output_pdb_path=output_solv_pdb_path,
             output_top_path=output_solv_top_path,
             output_crd_path=output_solv_crd_path,
             properties=prop)

The order of arguments for solavtebox  is solvatebox solute solvent buffer [ "iso" ] [ closeness ] while iso comes after  closeness in this code.
  # Generating box + adding water molecules
  leapin.write(box_command + " mol " + self.water_type + " " + str(self.distance_to_molecule) + " " + str(self.closeness))
  leapin.write(" iso \n") if self.iso else leapin.write("\n")

Switching iso and  closeness fixes the bug. I have attached my input files. If this is the case I'll submit a PR.
Thank you!
inputs.zip

Hi, @ndonyapour
Can you please submit your PR?
Thanks!

Done https://github.com/bioexcel/biobb_amber/pull/5!
Thanks,
Nazanin


process multiple reactions within precursor activation tag in mzML

In the RAW data generated by Thermo new instrument like Lumos, some spectrum can be set to activate by multiple energy, like ETD+HCD (so EThcD). I change the code to process multiple activation, within the path 'mzML/run/spectrumList/spectrum/precursorList/precursor/activation' in mzML.

Hi,
Thanks for your contribution! Is it possible to share a RAW file generated by a Lumos machine so I can test the parser? In such a case, should we have 2 precursor elements in the precursor list element? Because I take the isolation window mz and mass from the first reaction for the moment (scanEvent.GetReaction(0)).
Best regards,
Niels

Hi,
I put such a RAW file in Dropbox and here is the download link. https://www.dropbox.com/s/3c19s394oflqq0d/03_NL63_trypsin_deglyc.raw?dl=0
In those EThcD scans, the filter string are like "FTMS + c NSI d sa Full ms2 658.8023<EMAIL_ADDRESS>[120.0000-1328.0000]". Those are chain reactions with the same precursor and different activation. Thus I think it is OK to have one precursor elements in the precursor list element, and should be safe to get that precursor from the first reaction.
Best regards,
Qixin

Hi,
Thanks for the example file. I've had a look at how proteowizard handles this and came up with this solution:
<activation>              <cvParam cvRef="MS" accession="MS:1000045" value="99.2898330688477" name="collision energy" unitAccession="UO:0000266" unitName="electronvolt" unitCvRef="UO" />               <cvParam cvRef="MS" accession="MS:1000598" value="" name="electron transfer dissociation" />               <cvParam cvRef="MS" accession="MS:1002680" value="20" name="supplemental collision energy" unitAccession="UO:0000266" unitName="electronvolt" unitCvRef="UO" />               <cvParam cvRef="MS" accession="MS:1002678" value="" name="supplemental beam-type collision-induced dissociation" />               <cvParam cvRef="MS" accession="MS:1002481" value="" name="higher energy beam-type collision-induced dissociation" /> </activation>
The only difference with the msconvert generated mzml is I used supplemental beam-type collision-induced dissociation instead of supplemental collision-induced dissociation.
Does this work for you?
Best regards and thanks again for your contribution,
Niels


pytorch3d texture render?

wonderful Project! thank you very much.
I found that you have vedo and open3d visualizer which have texture render , but for pytorch3d you only render a simple color. I found the pytorch3d official web and can not find a good way to how to use. I think maybe this is easier for you :
        verts, faces = verts.to(self.device), faces.to(self.device)
        verts_rgb = torch.ones_like(verts)
        if len(colors.shape) == 1:
            verts_rgb[:, :] = colors
        elif len(colors.shape) == 2:
            verts_rgb[:, :] = colors.unsqueeze(1)
        textures = TexturesVertex(verts_features=verts_rgb)
        verts[:,:,:2] *= -1
        meshes = Meshes(verts, faces, textures)

I think only need  to change the textures

https://github.com/facebookresearch/pytorch3d/blob/main/docs/tutorials/render_densepose.ipynb
Here is the code of setting the texture of a SMPL mesh.


Severity order is alphabetic instead of "severity" based

Bug description
The findings table has a "Severity" column, but the ordering of that column is "surprising".
Steps to reproduce
Steps to reproduce the behavior:

Go to any test with findings
Click on the Severity column
See the unexpected ordering

Expected behavior
I expect severity to be sorted by severity and not by their name.
Critical > High > Medium > Low > Info
Deployment method (select with an X)

[x] Kubernetes
[ ] Docker
[ ] setup.bash / legacy-setup.bash

Screenshots (optional)

FYI @madchap @valentijnscholten

I tride fixing it but datatables doesn't seem to be doing what it should be doing according to the documentation https://github.com/DefectDojo/django-DefectDojo/issues/2312


Authentication Question !

In my system I have four types of roles : Teacher,Student,Admin and Parent.
Now I need four different types of registration form as all the roles needs different fields.
How can I manage login and registration for this four types of roles within weppy?
(I think this is related to Authentication Module).

Hi @jigarmistry,
to better understand what you need, the main question is: who decide the role of the users? Should be selected by the admin itself, should be performed on the registration in consequence of some conditions?
Also, when you have implementation questions, please consider using the google group: https://groups.google.com/forum/#!forum/weppy-talk

Thanks for reply.
Sorry but I don't have access to google groups when I am in working environment.
For your question, I will have three registration form into system and user register into system using form.
When user register into system as teacher then that would be teacher role in system. My question is how we can manage registration form and login for these types of roles? (If teacher logged into system then only teacher access material will be shown to teacher).
There also possible that admin can register teacher/student/parent into system using registration form.

Ok, sorry for the late response but I was quite over-loaded. This is the best implementation I can think about.

I would add the groups for your roles on your application, ideally inside a setup command:

auth.add_group("admin")
auth.add_group("teacher")
auth.add_group("parent")
auth.add_group("student")
db.commit()

I would create separate routes for signups, so you can bind the role to session depending on the form:

@app.route("/signup/teacher", layout="youraccounttemplate.html")
def signup_teacher():
    session._signup_group = "teacher"
    return {"form": auth("register")}

I would add an after_insert callback into your user model so that it will add the created user to the relevant group using the session value stored in 2:

class User(AuthUser):
    @after_insert
    def _add_user_to_group(self, fields, uid):
        from myapp import auth
        session._signup_group = session._signup_group or "student"
        group = self.db.AuthGroup(role=session._signup_group)
        auth.add_membership(group, uid)
        del session._signup_group

Then you can restrict access to sections using the requires decorator as usual:

@app.route("/yourteacherroute")
@requires(lambda: auth.has_membership('teacher'), url('index'))
def yourprotectedroute():
    # some awesome code

Let me know if this works within your application flow.

Thanks for great explanation.
This is what I exactly wanted. But in the 2nd point if I return auth("register") then how can I manage different fields(teacher,student) for registration form ?
In my case I do have different registration form for all the roles.

Why do you need additional fields? Customizing the form is a thing, having different fields is a model related thing.

So as per my understanding I need to have four different models for four registration form with different fields.(If I am wrong then please tell me).

@jigarmistry no, it depends what you want to achieve. Also, I think auth module won't work with multiple models for users so I discourage this.
If you just need to customise the template or the form appearance, you can do it with custom attribute of forms and html.
I you need to add details about users (for example profiling), my hint is to use a single user model and a separate table with those fields and create a related record to the user with after_insert after you registered the user.
If you want to explain what your aim is, I will try to suggest you a more detailed solution.

Thanks for answer.
In my system admin can register teacher/student/parent into system. Any user can register into system as teacher/student/parent but all three having different roles into system.
i.e Teacher registration form will have class field selection but parent registration form will not have that. In the case of parent, parent only can select students and their profile information into system.
Like wise all the roles have different role into system. After the login into system teacher can not do things that parent can do.
I am going to make small erp system where all the roles have something to do.


exec user process caused "exec format error"

Have tried to run through this tutorial several times and each time I do, I get exec user process caused "exec format error" regardless if I try to use Container Instances or WebApp and regardless if I use the portal or the commands exactly as specified in this tutorial.  On my linux machine, when I run docker run, the container runs just fine.  It just doesn't run properly inside Azure.
Could this because I am using docker build on my Raspberry PI which is ARM and incompatible with Azure?
Update:  Did the tutorial again.  This time using docker desktop for Windows.  The container worked perfectly inside Azure.  So it definitely was something with the image being built on the Raspberry PI and it using ARM architecture vs using my desktop computer.  This issue can be closed.

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

ID: f970943e-c7b4-919c-65ea-6ba20831e74d
Version Independent ID: 90c5dd06-ea6d-7af8-f88c-9d189e9ceef2
Content: Build a custom image and run in App Service from a private registry
Content Source: articles/app-service/containers/tutorial-custom-docker-image.md
Service: app-service
GitHub Login: @msangapu
Microsoft Alias: msangapu

@ElanShudnow Thanks for the question. We are investigating the issue and will update you shortly.

@ElanShudnow, Thanks for sharing the update! We will close this out, but if you feel you need more information please just let us know.


Add cmd for naming a validator group in rc1 docs

Description
Added the command for setting the name of a validator group, that were missing in the rc1 docs.
Other changes
N/A
Tested
N/A
Related issues
N/A
Backwards compatibility
N/A
Commit Message
Add cmd for naming a validator group in rc1 docs
Add cmd for naming a validator group in rc1 docs

@YazzyYaz given your validator expertise, do you know if this is still relevant?


In High Contrast Mode, Keyboard focus is similar to Controls Boundary

Describe the bug
https://liquid.microsoft.com/Web/Object/Read/MS.Accessibility/Requirements/04.03.01
https://github.com/microsoft/PowerToys/issues/13469
Accessability team flagged PowerToys on a behavior that is stock HC behavior.  Settings has same behavior as well.  Talking with Chigusa, we decided it should be flagged here and so we can come to a resolution.
Steps to reproduce the bug

Launch 'PowerToys' application.
Navigate to 'PowerRename' and activate it.
Turn on High Contrast mode.
Navigate to the Controls using Keyboard tab Navigation.
Observe the issue.

Expected behavior
✔ Expected Behavior
The Keyboard Focus should be highlighted with a different color. and it should be similar to boundary of the controls
❌ Actual Behavior
The Boundary of the controls are similar to Keyboard focus of the Controls.
Screenshots
https://user-images.githubusercontent.com/91203131/134922425-d674379a-2ea3-4160-a85b-176b56f94407.mp4
NuGet package version
Microsoft.UI.Xaml 2.7.0
Windows app type

[X] UWP
[X] Win32

Device form factor
Desktop
Windows version
No response
Additional context
No response

@chigy FYI on the accessibility concern  @JJBrychell is there a way to modify the focus rect's color in these high contrast modes? what tools do we have to address this?

Does this affect winui3?  We have since upgraded to that but I’m going to assume it does


Feature request: Forwarding images

Friends,
I know I can right click copy image and paste it to someone else, but when I use the option to forward a message, it sends the message's text + the image in form of a link.
Is it possible to forward the image itself and, if not, can you add this as a feature request? Perhaps an extra option? Forward with images inline.
Thanks.

I think you can do what you're trying to do by just moving the URL outside the quote block when using quote-and-reply.

Thanks, Tim! Cool, that worked, but still, not worth an option "forward with images inline" or to natively by default, preserve the image? More practical to see it immediatly then having to click on the URL.


Potential leak in DDlog isRegisteredClass

My application has implemented dynamic loglevels as described in https://github.com/robbiehanson/CocoaLumberjack/wiki/DynamicLogLevels
When profiling my application, I'm receiving a leak when retrieving the list of registered classes :
The responsible caller is :
+[DDlog isRegisteredClass:]

The event causing the leak is a malloc
My code is retrieving a list of registered classes like this
self.registeredLogClasses = [DDLog registeredClasses];

This array is then used to toggle loglevels on those classes. It seems that this is causing the leak.

Thanks! Nice find.


Interaction helpers also accept HTMLElements as first argument

Closes #27

Hmm. Since all of the other helpers go through find, findAll, and findWithAssert to convert a selector to an element, I was thinking that those would be the only methods that needed modification...

Just thinking that would remove a bunch of extra conditionals (and reduce overall complexity for individual helpers), not sure if I've missed something though.

I find semantically weird to call find with the element I already want it to find.
find(button); // button
Feels weird.

Ya, I agree that it's odd for users to do this, however it is quite a bit nicer to funnel the concept of "convert selector or element to an element" through a single path (versus forcing every helper to have these kinds of conditionals).
One way we could remove the user calling find(button) case is by moving the core logic of find into a private helper called _ensureElement. Then you could use that helper throughout the other helpers, and still have an assertion if end users call find without a string.

I think that I'd rather do that, since allowing find(HTMLElement) in the public API is rather useless and not something real users would do. Changing it.

Done. There is two private helpers. Technically find(HTMLElement) will continue to work, but it's not documented in the public API. When we transform this to Typecript it will be enforced, not it's just part of the JSdocs.


Register

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/114834
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.2 -m "<description of version>" 3aca0e0d4aae14be48424c72fad88feead0dfde6
git push origin v0.2.2


Total over all pages for serverside datatable show currentpage only

i want to show sum of current page and total pages for my serverside datatable
i use sum plugin like this
$('#mytable').DataTable({
processing: true,
serverSide: true,
stateSave: true,
ajax: 'stock/data-json',
"fnDrawCallback": function() {
var api = this.api();
    // Total over all pages
    var total = api.column(4).data().sum();

    // Total over this page
    var pageTotal = api.column(4, {page:'current'}).data().sum();
    $(api.column(4).footer()).html(pageTotal + ' ( ' + total + ' total)');
}

});
the sum total shows the current page
i know this is bacause it loads only the current page and it cannot see the other records
now how i can show the correct sum of all pages in the footer

You can additional data response. See docs for ref.

But how can i use that.I am totally new to laravel and also to datatables.Thanks for help in advance.

There are several duplicate issues like this. See this https://github.com/yajra/laravel-datatables/issues/277 for a start.


Fix typo in .travis.yml

If travis is cool with this, I'll merge it. No need for a review.

Travis seems backed up. This looks good to me . :green_apple:.

2e68d28 Fix typo in .travis.yml
Thank you!


Error, just run "run_classification_criteo.py" in examples, tf version == 2.3.0

Traceback (most recent call last):
File "run_classification_criteo.py", line 45, in
model = DeepFM(linear_feature_columns, dnn_feature_columns, task='binary')
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/deepctr/models/deepfm.py", line 47, in DeepFM
l2_reg=l2_reg_linear)
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/deepctr/feature_column.py", line 148, in get_linear_logit
prefix=prefix + str(i))[0] for i in range(units)]
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/deepctr/feature_column.py", line 148, in
prefix=prefix + str(i))[0] for i in range(units)]
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/deepctr/feature_column.py", line 184, in input_from_feature_columns
group_sparse_embedding_dict = embedding_lookup(embedding_matrix_dict, features, sparse_feature_columns)
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/deepctr/inputs.py", line 87, in embedding_lookup
group_embedding_dict[fc.group_name].append(sparse_embedding_dictembedding_name)
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/tensorflow/python/keras/engine/base_layer.py", line 926, in call
input_list)
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/tensorflow/python/keras/engine/base_layer.py", line 1098, in _functional_construction_call
self._maybe_build(inputs)
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/tensorflow/python/keras/engine/base_layer.py", line 2643, in _maybe_build
self.build(input_shapes)  # pylint:disable=not-callable
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/tensorflow/python/keras/utils/tf_utils.py", line 323, in wrapper
output_shape = fn(instance, input_shape)
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/tensorflow/python/keras/layers/embeddings.py", line 142, in build
constraint=self.embeddings_constraint)
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/tensorflow/python/keras/engine/base_layer.py", line 614, in add_weight
caching_device=caching_device)
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/tensorflow/python/training/tracking/base.py", line 750, in _add_variable_with_custom_getter
**kwargs_for_getter)
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/tensorflow/python/keras/engine/base_layer_utils.py", line 145, in make_variable
shape=variable_shape if variable_shape else None)
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/tensorflow/python/ops/variables.py", line 260, in call
return cls._variable_v1_call(*args, **kwargs)
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/tensorflow/python/ops/variables.py", line 221, in _variable_v1_call
shape=shape)
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/tensorflow/python/ops/variables.py", line 199, in
previous_getter = lambda **kwargs: default_variable_creator(None, **kwargs)
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/tensorflow/python/ops/variable_scope.py", line 2597, in default_variable_creator
shape=shape)
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/tensorflow/python/ops/variables.py", line 264, in call
return super(VariableMetaclass, cls).call(*args, **kwargs)
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/tensorflow/python/ops/resource_variable_ops.py", line 1518, in init
distribute_strategy=distribute_strategy)
File "/home/xinyu/anaconda3/lib/python3.7/site-packages/tensorflow/python/ops/resource_variable_ops.py", line 1658, in _init_from_args
(initial_value.shape, shape))
ValueError: The initial value's shape ((27, 4)) is not compatible with the explicitly supplied shape argument ((27, 1)).

same issue
#262

revise this command and try again:fixlen_feature_columns = [SparseFeat(feat, vocabulary_size=data[feat].nunique(),embedding_dim=1,embeddings_initializer=tf.initializers.identity(np.zeros([data[feat].nunique(),1]))) for i,feat in enumerate(sparse_features)] + [DenseFeat(feat, 1,) for feat in dense_features]

hi ,we have solved this problem in deepctr v0.8.1,please use pip install -U deepctr to upgrade.


**Error SEQ2: Some exons have differing strands

Hi,
I'm trying to process Arabidopsis data using your tool. However, there is an error that arises
I'm providing gff and full genome fasta file
-----------------------------------------------
**Error SEQ2: Some exons have differing strands
-----------------------------------------------

Should I remove these exons?

Solved. You need to subset only genomic sequences from gtf and fasta (probably this is a problem with annotation)

Great! Glad it seems to be working now. We did code that all exons within a transcript should be on the same strand in the annotation file, and I think this is expected for most annotation pipelines. But GFT/F files are notoriously un-standardized, so we're always on the look out for these discrepancies.

I've ran into this same problem with annotations for a few different plant species. Would it be possible to turn this error into a warning where degenotate automatically drops the problematic transcript(s) before continuing with the analysis?
Of course, just manually removing the problematic transcripts from the GFF file is a pretty easy fix too

Will work on converting these to warnings and update when I push the code.

I've changed theses from errors to warnings and pushed the code https://github.com/harvardinformatics/degenotate/pull/34, so if you've downloaded from github you can update via a git pull or by downloading v1.1.3 . It should be up on bioconda soon as well.

Very cool! Thank you so much!


messages.addChatUser

Hi Everyone,
I've tried everything here and really banging me head against a wall.
I'm trying to invite a user to my chat with the following code:

  var data = {
    chat_id:<PHONE_NUMBER>,
    user_id: {
      _: "inputUser",
      user_id: 352669360,
      access_hash: '12406275385742178658'
    },
    fwd_limit: 0
  };

client('messages.addChatUser', data).then( (result) =>{
    console.log(result);
  }).catch((error) =>{
    console.log(error);
  })

However, I keep receiving the following error:
  code: 400,
  type: 'CHAT_ID_INVALID',
  description: 'CODE#400 CHAT_ID_INVALID',
  originalError:
   { _: 'rpc_error',
     error_code: 400,
     error_message: 'CHAT_ID_INVALID' } }

I've tried numerous variations and I've finally given up! Any help is appreciated.

@ImTheDeveloper there should be - before chat_id probably


commit by chelsea

Title and Issue number

Title :
Issue No. :
Code Stack :
Close #<issue_no>

Video/Screenshots (mandatory)

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have gone through the  contributing.md file before contributing

Additional context (Mandatory )
Are you contributing under any Open-source programme?

New request for feed.css


Crash on load

crash-2023-06-17_19.47.09-client.txt
Reverting to 7.0.1 works

Seems like it's an issue with the smooth swapping mod: https://github.com/Schauweg/Smooth-Swapping/issues/57

oops, I posted the wrong crash log
crash-2023-06-17_19.40.33-client.txt
this is the right one

That's an issue with slight GUI modifications trying to change how the modmenu renders, which has changed.
You can see which mod causes the error in the traceback:
Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [#slight-gui-modifications:slight-gui-modifications.mixins.json:modmenu.MixinModsScreen from mod slight-gui-modifications]

Yep, and it looks like they already know and fixed it: https://github.com/shedaniel/slight-gui-modifications/issues/96


sign event

so yeah on player changes sign:
context.new and context.old don't return anything
yeah
so yeah
sup

@Talamar1 :(