Migrate etcd backend to APIv3 client

We should migrate the etcd backend to use the new APIv3 client using grpc.
This would solve #16 and #20 and smooth the library usage especially on the key handling.
Only problem for now is the Lock call that is not yet supported by the new client, so we might have to wait for that first or use our own implementation of Lock.

@abronan if I would provide a pull request for this, should this replace the current etcd v2 setup, or should I provide a separate etcd3 backend?

Hi @ringods, thank you for tackling this. I think this should be a separate etcd3 backend as I'm not sure that backward compatibility is maintained (the distributed lock implementation might change between v2 and v3 for example).
Although before putting in the work I would recommend getting a status from the maintainers of the repository. I'm no longer maintaining it and it does not seem to be actively maintained anymore.
I thought about forking as many people might still rely on it but I'm not sure I can invest time maintaining a fork for now.

Call to @aluzzardi, @sanimej and @vieux to shed some light on the activity status of docker/libkv and docker/leadership. Should I contribute etcd3 support here, or do it directly in the traefic repository to have this issue fixed?

I found work in progress on etcd3 in this fork:
https://github.com/dqminh/libkv/tree/etcdv3/store/etcdv3

I'm also interested in the v3 support, ping me if more help is needed.


[ja] update page weights in /tasks/administer-cluster

This updates the page weights under content/ja/docs/tasks/administer-cluster and the pages are shown with new order.
The weight values are same as the weight values in en.
Related: #38887

/lgtm

/assign @nasa9084
Could you please confirm this pr.

/approve


refining string does not define a JavaScript toString()

Every class C that refines string should also getC.prototype.toString set.

Thanks!


fix listening on IPv6 interfaces

Having e.g. LINE_RECEIVER_INTERFACE = :: in carbon.conf and trying to start carbon-cache with that, get following error:
GRAPHITE_ROOT=/srv/carbon /usr/bin/carbon-cache.py --config=/srv/carbon/conf/carbon.conf --debug start
Starting carbon-cache (instance a)
15/09/2017 18:31:52 :: [console] Using sorted write strategy for cache
15/09/2017 18:31:52 :: [console] Enabling Whisper fallocate support
15/09/2017 18:31:52 :: [console] Enabling Whisper file locking
15/09/2017 18:31:52 :: [console] twistd 17.5.0 (/usr/bin/python 3.6.2) starting up.
15/09/2017 18:31:52 :: [console] reactor class: twisted.internet.epollreactor.EPollReactor.
15/09/2017 18:31:52 :: [console] ServerFactory starting on 7002
15/09/2017 18:31:52 :: [console] Starting factory <twisted.internet.protocol.ServerFactory object at 0x7f77cce278>
15/09/2017 18:31:52 :: [console] Installing SIG_IGN for SIGHUP
15/09/2017 18:31:52 :: [console] Traceback (most recent call last):
15/09/2017 18:31:52 :: [console]   File "/usr/bin/carbon-cache.py", line 32, in <module>
15/09/2017 18:31:52 :: [console]     run_twistd_plugin(__file__)
15/09/2017 18:31:52 :: [console]   File "/usr/lib/python3.6/site-packages/carbon/util.py", line 107, in run_twistd_plugin
15/09/2017 18:31:52 :: [console]     runApp(config)
15/09/2017 18:31:52 :: [console]   File "/usr/lib/python3.6/site-packages/twisted/scripts/twistd.py", line 25, in runApp
15/09/2017 18:31:52 :: [console]     _SomeApplicationRunner(config).run()
15/09/2017 18:31:52 :: [console]   File "/usr/lib/python3.6/site-packages/twisted/application/app.py", line 384, in run
15/09/2017 18:31:52 :: [console]     self.postApplication()
15/09/2017 18:31:52 :: [console]   File "/usr/lib/python3.6/site-packages/twisted/scripts/_twistd_unix.py", line 248, in postApplication
15/09/2017 18:31:52 :: [console]     self.startApplication(self.application)
15/09/2017 18:31:52 :: [console]   File "/usr/lib/python3.6/site-packages/twisted/scripts/_twistd_unix.py", line 444, in startApplication
15/09/2017 18:31:52 :: [console]     app.startApplication(application, not self.config['no_save'])
15/09/2017 18:31:52 :: [console]   File "/usr/lib/python3.6/site-packages/twisted/application/app.py", line 678, in startApplication
15/09/2017 18:31:52 :: [console]     service.IService(application).startService()
15/09/2017 18:31:52 :: [console]   File "/usr/lib/python3.6/site-packages/twisted/application/service.py", line 284, in startService
15/09/2017 18:31:52 :: [console]     service.startService()
15/09/2017 18:31:52 :: [console]   File "/usr/lib/python3.6/site-packages/twisted/application/service.py", line 284, in startService
15/09/2017 18:31:52 :: [console]     service.startService()
15/09/2017 18:31:52 :: [console]   File "/usr/lib/python3.6/site-packages/carbon/protocols.py", line 54, in startService
15/09/2017 18:31:52 :: [console]     carbon_sock.bind((self.interface, self.port))
15/09/2017 18:31:52 :: [console] socket.gaierror: [Errno -9] Address family for hostname not supported

(there's python3 in there, but it doesn't seem to be related to that - see below)
Cause seem to be tmp_port = tcp.Port(None, None) line, due to this code in twisted.internet.tcp.Port init:
https://github.com/twisted/twisted/blob/73134d27/src/twisted/internet/tcp.py#L910-L923
(udp.Port has similar code)
Note that addressFamily there defaults to IPv4 unless init detects that passed interface value is IPv6.
When tmp_port.createInternetSocket() gets called later, it creates AF_INET (IPv4) socket here (BasePort):
https://github.com/twisted/twisted/blob/73134d27/src/twisted/internet/base.py#L1158-L1162
Which raises exception later on bind() with IPv6 interface/address.
Possible fixes:

Detect (or set explicitly in the config) addressFamily value and set it as e.g. tmp_port.addressFamily = family.

Let twisted handle family detection and by simply passing interface= there.

Latter one is used here, as Port.interface seem to only get used on Port.startListening (where it does bind()), which is not used for tmp_port instance.
Possible issues: compatibility - didn't check if passing interface= there is compatible with earliest twisted that graphite supports.
Somewhat surprised that it doesn't seem to be reported already - maybe only happens with newer twisted? Or is it just me?
Thanks!

Not sure if listening on IPv6 has sense - but it will not hurt, of course.

Not sure if listening on IPv6 has sense - but it will not hurt, of course.

Hmm, why not?
I mean, graphite seem to be IPv6-compatible otherwise as per e.g. #209.


[kirkstone] No soundcards on rpi3

Description
No soundcards found on RaspberryPi3

No soundcards can be found at /proc/asound/cards.
Also I tested using speaker-test utility (from alsa-utils) with no success.
Steps to reproduce the issue:

Build a core-image-base using Poky distro at Kirkstone;
Run image on the board;
cat /proc/asound/cards

Describe the results you received:
"--- no soundcards ---"
Describe the results you expected:
A list with at least HDMI audio output
Additional information you deem important (e.g. issue happens only occasionally):
I also tested usign "dtparam=audio=on" on /boot/config.txt
The same results are received.
Additional details (revisions used, host distro, etc.):
All layers at Kirkstone
Kernel 5.15.34-v7

Hi @Ossanes. Can you please give it a try with an updated kirkstone oe-core/poky repository? I suspect this is the same issue as https://github.com/agherzan/meta-raspberrypi/issues/1054 which is fixed in oe-core.


Automatic removal of orphan nodes

Work in progress.
TODO:

[x] AutoOrphanRemoval option (false by default)
[x] configuration mechanism ~(With(opt Option)?)~ (variadic arguments in constructor)
[x] simple test
[ ] implement the actual removing of orphans
[ ] more extensive testing (update/delete operations, tree with multiple entries)

Closing, as superseded by #36 and #37.

As mentioned in the opening comments of #37, the PR there is build on top of the changes here. Hence that PR is against this branch (and not against main/master):

Now that #37 was merged in here. Can we actually resolve the merge conflicts, mark this as ready for review, give it a 2nd pass and finally merge it?

This should be fully superseded by #37 unless I'm mistaken, so it can be closed @liamsi

This should be fully superseded by #37 unless I'm mistaken, so it can be closed @liamsi

No, #37 builds on the changes here. Hence the changes of #37 were merged into this branch / PR in 763105b

Resolved the merge conflicts. Happy to help push this over the finish line if necessary!

The only difference between the head from #37 and this PR is in smt.go unless I'm mistaken.
diff celestiaorg/smt/smt.go roysc/smt/smt.go

The diff:
305,308d304
< 	// The offset from the bottom of the tree to the start of the side nodes.
< 	// Note: i-offsetOfSideNodes is the index into sideNodes[]
< 	offsetOfSideNodes := smt.depth() - len(sideNodes)
<
312c308,312
< 		if i-offsetOfSideNodes < 0 || sideNodes[i-offsetOfSideNodes] == nil {
---
> 		// The offset from the bottom of the tree to the start of the side nodes
> 		// i-offsetOfSideNodes is the index into sideNodes[]
> 		offsetOfSideNodes := smt.depth() - len(sideNodes)
>
> 		if i-offsetOfSideNodes < 0 {

Moving the offset calculation is from https://github.com/celestiaorg/smt/pull/35, so nothing to see there. The only thing of interest is that #37 removes the condition sideNodes[i-offsetOfSideNodes] == nil. That condition should never be hit, since none of the sideNodes will be nil, so shouldn't be a problem to remove. All tests pass in #37, so looks like it's indeed not needed.


No Text Extracted for articles from domain http://www.clarin.com

Hi,
I tried extracting the content for articles from http://www.clarin.com, but goose was unable to extract any content from any article under the clarin.com domain (like http://www.clarin.com/politica/Luego-Cristina-Lorenzetti-apertura-judicial_0_1313868802.html).
Goose always returns null content eventhough it is able to extract the title.

Same for url : http://www.theguardian.com/football/blog/2015/apr/02/theo-walcotts-toils-loom-large-during-raheem-sterling-contract-stand-off


Blocked users should not be received notification using mod_apns.erl in ejabberd

Hello @mrDoctorWho @zinid
I am using ejabberd 16.09 version, for notification use mod_apns.erl file to the mod_apns module.
I am receiving offline message using this module and also for getting notification from blocked users message. i.e. UserA and UserB online. UserA has blocked to UserB. UserA can't send a message but when UserB sends message UserA getting that sent message in the notification.
So, Can you please help me out for how to prevent the notification from blocked users?

Hi @nileshbacancy
What type of blocking your users use?

Hello @mrDoctorWho
let me take one example: UserA open chat app and he has UserB in chat contact list.
UserA has a block to UserB (Block contact feature).
When UserB sends any message at that time UserA received that message notification.
I have used mod_apns.erl file for sending notification in IOS.

@nileshbacancy There are few ways to block a user.

The user can be blocked via XEP-0016: Privacy Lists
The user can be blocked via XEP-0191: Blocking Comamnd
The user can be blocked internally, by the client (library)

Too find out what check I should perform before sending a PUSH, I need to know what type of blocking you use.

Hello @mrDoctorWho
We are using 2. point to blocking command in IOS.
2. The user can be blocked via XEP-0191: Blocking Comamnd
I just want to prevent PUSH notification while Blocked user sends any message to that user which has blocked to him.
Please read my previous comment example.
Can you please tell me which script run in mod_apns.erl for sending a PUSH in IOS?


Attempting to update pg_catalog when changing type of not null column w/o a default

When changing the type of a not null column with a default, online_migrations is able to avoid having to update pg_catalog ... Which is great because privileges on that table are restricted in many environments.
However, if the column in question does not have a default, we drop into the codepath in finalize_columns_type_change that attempts to update pg_catalog.
A similar concern was raised in #21 but i believe the changes there addressed PK columns and those with defaults.
Steps to recreate

On postgresql >= version 12, follow the steps to change the type of a column.
Use a column with null: false but without a default.
Run migrations (with config.verbose_sql_logs = true).
In stdout or logs, look for UPDATE pg_catalog.pg_attribute.

Snippets from my testing
❯ postgres --version
postgres (PostgreSQL) 13.11

  # first migration: changing `number` from `string` to `integer`
  # the original column is `null: false`
  def change
    initialize_column_type_change :some_numbers, :number, :integer
  end

Running the 'finalize' migration shows:
D, [2023-09-23T23:43:47.667897 #24329] DEBUG -- :   TRANSACTION (0.0ms)  BEGIN /*application:Wrapbook*/
D, [2023-09-23T23:43:47.668343 #24329] DEBUG -- :    (0.2ms)  UPDATE pg_catalog.pg_attribute
SET attnotnull = true
WHERE attrelid = 'some_numbers'::regclass
  AND attname = 'number_for_type_change'
 /*application:Wrapbook*/
D, [2023-09-23T23:43:47.669486 #24329] DEBUG -- :    (0.2ms)  ALTER TABLE "some_numbers" DROP CONSTRAINT "chk_rails_0171ff2f52" /*application:Wrapbook*/
D, [2023-09-23T23:43:47.669940 #24329] DEBUG -- :   TRANSACTION (0.2ms)  COMMIT /*application:Wrapbook*/

This works on my local but fails in managed environments.
Workaround

Force a default value in the initialize migration, eg:
initialize_column_type_change :some_numbers, :number, :integer, null: false, default: 0
Add remaining migrations as prescribed.
Add an extra migration to drop the default after the 'cleanup' step, eg:
change_column_default :some_numbers, :number, nil

While this a relatively easy workaround, i think the issue might be worth fixing because it can be a bit baffling when first encountered.
Possible fix (?)
The comment here speaks to the possibility of promoting the check constraint on PG >= 12, instead of attempting to update pg_catalog. Perhaps we need to implement that to cover this edge case?
I'd be happy to attempt that in a PR if you think that's the right direction.
Thanks for all your work on this very useful gem!

Hey, firstly, thank you for such a detailed report!

The comment here speaks to the possibility of promoting the check constraint on PG >= 12, instead of attempting to update pg_catalog. Perhaps we need to implement that to cover this edge case?

This seems like a way to go for me. Please, do open a PR.

@fatkodima , i have a draft up at #35 .
I need to do some testing to verify the 'promotion' doesn't lock the table, and look for the expected DEBUG statement, as shown here.
Sending your way for any initial feedback in the meantime. In particular, please see my comment on the test cases included.
Thanks!

Released a new version. Thanks for the fix!

Amazing, quick turnaround! 🥇 😍 🙏🏾 :).
Thanks again for all your work. And encouragement -- i learnt a lot from this issue and patch!


[windows] Make credential key unique to the app

Resolves issue #294
I also added dependency overrides to the example app to simplify local plugin testing. Can be removed if not desired.

Thanks for your contribution!


[ML][ASKMODE] Add missing validation for script validation case (#26609)

Add missing validation

Add test scenario

Co-authored-by: Nancy Mejia Juarez
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-ml


Create ieml

Add Kazan Innovative University named after V. G. Timiryasov (IEML)

Add Kazan Innovative University named after V. G. Timiryasov (IEML)

@iligzar Please rename lib/domains/ru/Ieml to lib/domains/ru/ieml.txt

@iligzar Please modify the request according to this repository rules, otherwise I have to close it without merging. Thank you for the understanding.

I renamed the file. I hope now everything is fine

@iligzar Yes, thank you! Pull request merged.


Sync issue for two rules with same sync source dir

As specified in the title, if the newly rule is activated, the progress info etc. of the old rule shown on the web keeps as same as that of the new one.
For example,
rule1, file: every 1s | path matches "/ssm/" | sync -dest hdfs://localhost:9000/test1
rule2, file: every 1s | path matches "/ssm/" | sync -dest hdfs://localhost:9000/test2

It's not just a Web UI issue. After one sync rule is finished, we can see the synced files in the dest directory. Then I trigger a second sync rule with same src directory, I found that the first rule syncs files again and overwrite the files in dest. The secound rule doesn't work in reality.


Install instruction

It's an interesting project, but it seems to be a little difficult to run the demo code because of environment problem. Thus, I put my problems and final solution here for anyone who meet the same issues.
P1: The provided Colab cannot work.
A1: It has 2 problems. First, the download link to checkpoints and samples are invalid, you can find new download addresses from OneDrive. Second, Colab does not support os.symlink or ln -s now, this will throw an intermediate error.
P2: AttributeError: 'ConfigDict' object has no attribute 'nms'
A2: This is caused by the conflict between old config and latest version of mmdet/mmcv/mmedit. You can directly modify YOUR-PATH-TO-MMDET/mmdet/models/dense_heads/rpn_head.py, and add cfg.nms = dict(type='nms', iou_threshold=0.7). Possibly, you will get another AttributeError of 'max_per_img', thus, you also need to add cfg.max_per_img = 100 subsequently.
P3: RuntimeError: nms is not compiled with GPU support
P4: /mmcv/_ext.cpython-37m-x86_64-linux-gnu.so: undefined symbol
A3&A4: Those are all because of mm packages. This repo uses relative old version that may not fit CUDA11. I strongly suggest to install the newest version of them (mmcv == 1.5.3, mmdet == 2.25.0, mmedit == 0.15.0) following official instruction. Especially for mmcv-full, you need install the one that match your local torch&cuda version. If it still cannot detect CUDA, just install it from source instead of pip. After reinstall, you may need also do steps in A2.
P5: KeyError: '04_left_leg'
A5:  In ./iPERCore/tools/human_digitalizer/deformers/link_utils.py, change '04_left_leg' to '02_left_leg'.

BTW, most of links from README cannot work, it would be great to replace them.

P2: AttributeError: 'ConfigDict' object has no attribute 'nms'
A2: This is caused by the conflict between old config and latest version of mmdet/mmcv/mmedit. You can directly modify YOUR-PATH-TO-MMDET/mmdet/models/dense_heads/rpn_head.py, and add cfg.nms = dict(type='nms', iou_threshold=0.7). Possibly, you will get another AttributeError of 'max_per_img', thus, you also need to add cfg.max_per_img = 100 subsequently.
In which line i had to add this???

You can refer to error message where the cfg is used.

Sorry for taking so long to response, did u mean like this or not?
if proposals.numel() > 0:
dets, _ = batched_nms(proposals, scores, ids, cfg.nms = dict(type='nms', iou_threshold=0.7))
else:
return proposals.new_zeros(0, 5)
    return dets[:**cfg.max_per_img = 100**]

Sorry for taking so long to response, did u mean like this or not?
if proposals.numel() > 0:
dets, _ = batched_nms(proposals, scores, ids, cfg.nms = dict(type='nms', iou_threshold=0.7))
else:
return proposals.new_zeros(0, 5)
    return dets[:cfg.max_per_img = 100]

    return dets[:cfg.max_per_img = 100]

return dets[:cfg.max_per_img = 100]

    return dets[:cfg.max_per_img = 100]

    ### return dets[:cfg.max_per_img = 100]

###aaa

asasasasas

ssssss

vvdsvdsvdsvs

    if proposals.numel() > 0:
        dets, _ = batched_nms(proposals, scores, ids, cfg.nms = dict(type='nms', iou_threshold=0.7))
    else:
        return proposals.new_zeros(0, 5)

    return dets[:cfg.max_per_img = 100]

dets, _ = batched_nms(proposals, scores, ids, cfg.nms)

Sorry for taking so long to response, did u mean like this or not?
    if proposals.numel() > 0:
        dets, _ = batched_nms(proposals, scores, ids, cfg.nms = dict(type='nms', iou_threshold=0.7))
    else:
        return proposals.new_zeros(0, 5)

    return dets[:cfg.max_per_img = 100]

I usually set it before calling it, something like below.
cfg.nms =  = dict(type='nms', iou_threshold=0.7)
dets, _ = batched_nms(proposals, scores, ids, cfg.nms)

I already add this
    if proposals.numel() > 0:
        cfg.nms = dict(type='nms', iou_threshold=0.7)
        dets, _ = batched_nms(proposals, scores, ids, cfg.nms)
    else:
        return proposals.new_zeros(0, 5)

    return dets[:cfg.max_per_img]

and it says
TypeError: 'module' object is not callable
How do i fix this?

Any answer???

Please be polite. I just provide my solution, but I'm not responsible for this issue.
Closed.


DBZ-7840 Bump Infinispan to 15.0.5.Final

https://issues.redhat.com/browse/DBZ-7840
This will require Java 17 as ISPN 15 is baseline Java 17 now, so scheduled this for Debezium 3.0.

/packit test --labels oracle

/packit test --labels oracle

The Debezium Server error is expected, there is a PR for Debezium Server to fix that dependency.
The test failure for Oracle XStream is unrelated and just a timing issue.
The test failure with Oracle 23 is unrelated, its an issue with the image.

@vjuranek do you agree with these changes?


Release tracking

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
<EMAIL_ADDRESS>Minor Changes

#442 d2408f2 Thanks @langermank! - - Change base color scales to hex instead of hsl

Adds new tokens for VideoPlayer

#487 6cdeba7 Thanks @rezrah! - New tokens available for the new eyebrow banner component:
--brand-Eyebrowbanner-bgColor-rest
--brand-Eyebrowbanner-borderColor-rest
--brand-Eyebrowbanner-heading-fgColor
--brand-Eyebrowbanner-subHeading-fgColor
--brand-Eyebrowbanner-icon-background-default
--brand-Eyebrowbanner-icon-background-blue
--brand-Eyebrowbanner-icon-background-coral
--brand-Eyebrowbanner-icon-background-green
--brand-Eyebrowbanner-icon-background-gray
--brand-Eyebrowbanner-icon-background-indigo
--brand-Eyebrowbanner-icon-background-lemon
--brand-Eyebrowbanner-icon-background-lime
--brand-Eyebrowbanner-icon-background-orange
--brand-Eyebrowbanner-icon-background-pink
--brand-Eyebrowbanner-icon-background-purple
--brand-Eyebrowbanner-icon-background-red
--brand-Eyebrowbanner-icon-background-teal
--brand-Eyebrowbanner-icon-background-yellow
--brand-Eyebrowbanner-fgColor-default-start
--brand-Eyebrowbanner-fgColor-default-middle
--brand-Eyebrowbanner-fgColor-default-end
--brand-Eyebrowbanner-fgColor-blue
--brand-Eyebrowbanner-fgColor-blue-purple-start
--brand-Eyebrowbanner-fgColor-blue-purple-end
--brand-Eyebrowbanner-fgColor-coral
--brand-Eyebrowbanner-fgColor-green
--brand-Eyebrowbanner-fgColor-green-blue-start
--brand-Eyebrowbanner-fgColor-green-blue-end
--brand-Eyebrowbanner-fgColor-gray
--brand-Eyebrowbanner-fgColor-indigo
--brand-Eyebrowbanner-fgColor-lemon
--brand-Eyebrowbanner-fgColor-lime
--brand-Eyebrowbanner-fgColor-orange
--brand-Eyebrowbanner-fgColor-pink
--brand-Eyebrowbanner-fgColor-pink-blue-start
--brand-Eyebrowbanner-fgColor-pink-blue-end
--brand-Eyebrowbanner-fgColor-purple
--brand-Eyebrowbanner-fgColor-purple-red-start
--brand-Eyebrowbanner-fgColor-purple-red-end
--brand-Eyebrowbanner-fgColor-red
--brand-Eyebrowbanner-fgColor-red-orange-start
--brand-Eyebrowbanner-fgColor-red-orange-end
--brand-Eyebrowbanner-fgColor-teal
--brand-Eyebrowbanner-fgColor-yellow

:link: Read the documentation for examples of this component

<EMAIL_ADDRESS>Minor Changes

#442 d2408f2 Thanks @langermank! - - Change base color scales to hex instead of hsl

Adds new tokens for VideoPlayer

#467 a7e471b Thanks @joseph-lozano! - breaking InlineLink components no longer take a size prop, but will now inherit their size in all cases.
// Before
<Text size="200">
  This is a link with the <InlineLink size="200">same</InlineLink> size
</Text>

// After
<Text size="200">
  This is a link with the <InlineLink>same</InlineLink> size
</Text>

If you want the Inline Link to have a different size than its parent, wrap it in a new <Text> component.
// Before
<Text size="200">
  This is a link with a <InlineLink size="400">different</InlineLink>Size
</Text>

// After
<Text size="200">
  This is a link with a{' '}
  <Text as="span" size="400">
    <InlineLink>different</InlineLink>
  </Text>
  Size
</Text>

InlineLinks now work inside of Header components.
<Header size="3">
  This is a <InlineLink>Header</InlineLink> link!
</Header>

#489 be9a635 Thanks @rezrah! - Updated dependency for @primer/octicons-react to 19.8.0
Octicons should now be passed as JSX instead of Objects.
- icon={RocketIcon}
+ icon={<RocketIcon />}

#487 6cdeba7 Thanks @rezrah! - New eyebrow banner component now generally available
<EyebrowBanner href="http://githubuniverse.com">
  <EyebrowBanner.Heading>GitHub Universe: Dive in to AI, security, and DevEx</EyebrowBanner.Heading>
  <EyebrowBanner.SubHeading>Get your tickets now to join us on Nov. 8-9.</EyebrowBanner.SubHeading>
</EyebrowBanner>

:link: Read the documentation for more examples

Patch Changes

#490 b93531e Thanks @rezrah! - Type widening for FormControl children.
FormControl now uses PropsWithChildren to include support for null and false values. This allows for more flexibility when using FormControl.* with conditional rendering.
<FormControl>
  {/* `maybeValue can be truthy, but also null or false` */}
  {maybeValue && <FormControl.Validation>Message</FormControl.Validation>}
</FormControl>

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Smoke test results:
githubuniverse.com ✅

No unexpected regressions noticed
InlineLink is causing a build error as expected. Removing size prop, per the migration guide fixes it.

github.com ❌

Regression found to FAQ accordions.

Due to this erroneous style

Will need to open a PR to fix this before next smoke test

Smoke test update:
github.com ✅

Regression to FAQ fixed in #492

⚠ Unexpected EyebrowBanner hover appearance, due to dotcom specific override of anchor underlines. This can be fixed in a patch update later today, and doesn't need to block the release.


uv pip compile skips optional dependencies

Create r.txt
qdrant-client~=1.6.1

uv:
Now compile:
uv pip compile r.txt

Gives:
# This file was autogenerated by uv via the following command:
#    uv pip compile r.txt
annotated-types==0.6.0
    # via pydantic
anyio==4.3.0
    # via httpx
certifi==2024.2.2
    # via
    #   httpcore
    #   httpx
exceptiongroup==1.2.1
    # via anyio
grpcio==1.63.0
    # via
    #   grpcio-tools
    #   qdrant-client
grpcio-tools==1.63.0
    # via qdrant-client
h11==0.14.0
    # via httpcore
h2==4.1.0
    # via httpx
hpack==4.0.0
    # via h2
httpcore==1.0.5
    # via httpx
httpx==0.27.0
    # via qdrant-client
hyperframe==6.0.1
    # via h2
idna==3.7
    # via
    #   anyio
    #   httpx
numpy==1.26.4
    # via qdrant-client
portalocker==2.8.2
    # via qdrant-client
protobuf==5.26.1
    # via grpcio-tools
pydantic==2.7.1
    # via qdrant-client
pydantic-core==2.18.2
    # via pydantic
qdrant-client==1.6.9
setuptools==69.5.1
    # via grpcio-tools
sniffio==1.3.1
    # via
    #   anyio
    #   httpx
typing-extensions==4.11.0
    # via
    #   anyio
    #   pydantic
    #   pydantic-core
urllib3==1.26.18
    # via qdrant-client

The important difference to look for is httpx==0.27.0
pip-tools v7:
Compare this to pip-tools
pip-compile r.txt -o out.txt

Output
#
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
#    pip-compile --output-file=out.txt r.txt
#
annotated-types==0.6.0
    # via pydantic
anyio==4.3.0
    # via httpx
certifi==2024.2.2
    # via
    #   httpcore
    #   httpx
exceptiongroup==1.2.1
    # via anyio
grpcio==1.63.0
    # via
    #   grpcio-tools
    #   qdrant-client
grpcio-tools==1.63.0
    # via qdrant-client
h11==0.14.0
    # via httpcore
h2==4.1.0
    # via httpx
hpack==4.0.0
    # via h2
httpcore==1.0.5
    # via httpx
httpx[http2]==0.27.0
    # via qdrant-client
hyperframe==6.0.1
    # via h2
idna==3.7
    # via
    #   anyio
    #   httpx
numpy==1.26.4
    # via qdrant-client
portalocker==2.8.2
    # via qdrant-client
protobuf==5.26.1
    # via grpcio-tools
pydantic==2.7.1
    # via qdrant-client
pydantic-core==2.18.2
    # via pydantic
qdrant-client==1.6.9
    # via -r r.txt
sniffio==1.3.1
    # via
    #   anyio
    #   httpx
typing-extensions==4.11.0
    # via
    #   anyio
    #   pydantic
    #   pydantic-core
urllib3==1.26.18
    # via qdrant-client

# The following packages are considered to be unsafe in a requirements file:
# setuptools

The important difference to look for is httpx[http2]==0.27.0
ALTHOUGH, in version v8 the --strip-extras flag is being added which can remove this.

Hi looks like a duplicate of https://github.com/astral-sh/uv/issues/2163 — the default behavior is changing in pip-tools to match ours. You can use --no-strip-extras if you want it.

Oops, thank you! Didn't realise that was already added.


Add statement about licensing of contributions

To be complete we should explicitly state the licensing of any contributions to the project

Codecov Report

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

@@          Coverage Diff          @@
##           master   #345   +/-   ##
=====================================
  Coverage       0%     0%
=====================================
  Files          14     14
  Lines         733    733
  Branches       55     55
=====================================
  Misses        733    733

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 a3c19e9...f69b35b. Read the comment docs.


Handle unicode chars properly

(bash) >15:01:56 $ å
bash: å: command not found
Traceback (most recent call last):
  File "/usr/local/bin/log-recent", line 10, in <module>
    sys.exit(log())
  File "/usr/local/lib/python2.7/site-packages/recent2.py", line 173, in log
    return_value, pwd, session.id])
sqlite3.ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.

Im not able to reproduce this

ssh connection got interrupted and when I press , log-recent fails with this
Traceback (most recent call last):
  File "/Users/sai.suram/miniconda3/envs/bash/bin/log-recent", line 8, in <module>
    sys.exit(log())
  File "/Users/sai.suram/miniconda3/envs/bash/lib/python3.7/site-packages/recent2.py", line 256, in log
    log_command(command=command, pid=pid, sequence=sequence, return_value=return_value, pwd=pwd)
  File "/Users/sai.suram/miniconda3/envs/bash/lib/python3.7/site-packages/recent2.py", line 269, in log_command
    [int(time.time()), command, pid, return_value, pwd, session.id])
UnicodeEncodeError: 'utf-8' codec can't encode character '\udc9d' in position 0: surrogates not allowed


Add webhook functionality

I've added the functionality to create webhooks. At the moment it's only a single webhook to trigger builds for a specific package.
In the general webhook concept there is a new kind of secret: the webhook secret
This secret is the hash of the new WEBHOOK_SECRET stored on the server, the package name for which the webhook secret can be used and the authorized secret of the user. By using this combination the webhook secrets are stateless but still bound to an user whilst still being very precise as a single webhook secret can only be used for webhooks related to a single package.
A webhook secret for a package can be requested through the /webhook/package/my-package/secret HTTP-GET request which is behind AuthWrite. The process is also integrated into the CLI where the serene manage webhook my-package command can be used to retrieve the webhook secret.
As already mentioned the only webhook currently implemented is the webhook to trigger builds of packages. This webhook can be executed by sending a HTTP-POST request to /webhook/package/my-package/build?secret=webhook-secret
The system should allow for further webhooks if every needed. However, with the current implementation it's locked down to having only webhooks for packages (as we include the package name into the webhook secret).

mersi


[bug]: The application "Ball.app" can't be opened.

When trying to run the executable downloaded from GitHub releases, I get the following message:

Investigating inside the app "Package Contents" I discovered that the app executable has no executable permission (it's considered a "Document", not a "Unix Executable File"), so that's why it's unable to run:

To manually fix this issue, I had to add the executable permission with:
chmod 755 /Applications/Ball.app/Contents/MacOS/Ball

should be fixed!


gh-240 Add sort control to Request List pages

Updated "My Requests" and "Templates" pages
Can sort by label in ascending or descending order
Updated the "My Request" filter too

Resolves #240
Limitations
All sorting must be done on the client-side because the Mauro endpoints used for fetching the lists do not support sort arguments. Also no date fields are returned in the list objects, meaning label is currently the only way to sort requests.
Screenshots

@NigelPalmer I've positioned the filter and sort controls to the right now, as you've suggested.


Authorize link for Git destination repository is not generated correctly

Description
The Authorize link in the Destination Repository does not get set to the correct link when a provider is configured in the git-providers.yaml file.

What should happen?
If a Github provider is configured, the link should direct to the Github OAuth endpoint instead of https://managed.openshift.com.
What happens instead?
The Github Authorize link always directs to https://managed.openshift.com whether there's a Github provider configured or not.
Do you have any idea why?
The action for generating the Authorization link doesn't seem to pass any provider/redirect to the function generateAuthorizationLink. Because of this, the Authorization link always gets directed to https://manage.openshift.com/.
https://github.com/fabric8-launcher/launcher-application/blob/master/frontend/packages/launcher-app/src/auth/impl/keycloak-authentication-api.ts#L125-L127
Error log
N/A

setting the git provider in git-provider.yaml is only supported if the authentication is set to "openshift"

Hi @edewit, is that a property to be configured in the configmap/custom resource?

@JameelB turns out that this was also an issue on our production server thanks for finding it. Solved it by adding 'github' as a default, but you can configure it to be 'gitea' as well. In the end it's just the name of the broker you setup in keycloak

Thanks for resolving this issue so quickly @edewit!


Unable to export nlb metrics to prometheus

Config.yml -
config: |-
discovery:
jobs:
- type: "nlb"
regions:
- us-west-2
metrics:
- name: ActiveFlowCount
statistics: [Average]
period: 300
length: 600
Logs in the pod says -
{"level":"error","msg":"Error describeTargetGroups for nlb , err: ValidationError: You cannot describe more than '20' target groups at a time\n\tstatus code: 400, request id: be72a022-a39c-4f19-bba4-28006315f616","time":"2021-01-28T20:42:30Z"}

Same issue here:
{"level":"error","msg":"Error describeTargetGroups for alb , err: ValidationError: You cannot describe more than '20' target groups at a time\n\tstatus code: 400, request id: 2fa1309b-0798-4038-bfa8-7f7a76a1c15f","time":"2021-02-03T18:02:52Z"}
I tried varying the period and length, still the same issue.
This for fetching metrics x-account, three roles configured.

Hi, my configuration gives me nothing, not even an error message in k8s pod.
When I applied this configuration the only metric Prometheus found is: aws_nlb_info
Tried on versions: v0.33.0-alpha and v0.35.0-alpha
- type: nlb       regions:         eu-central-1       length: 120       period: 60       addCloudwatchTimestamp: true       searchTags:         - key: service.k8s.aws/resource           value: LoadBalancer         - key: environment           value: ${environment}       customTags:         - key: environment           value: ${environment}       metrics:         - name: UnHealthyHostCount           statistics: [Maximum]         - name: HealthyHostCount           statistics: [Maximum]         - name: ActiveFlowCount           statistics: [Maximum]         - name: ActiveFlowCount_TCP


Enable all tests that use functions

There are some unit tests and some e2e tests that use functions. Since the new parser does not support functions yet, these tests are disabled. Let's not forget to enable them once functions are supported again.

We just removed them instead. We don't have functions anymore.


Rewrite gulpfile and gulp tasks in ES6

Now<EMAIL_ADDRESS>supports ES6. We have to bump the gulp version and rename gulpfile.js to gulpfile.babel.js.

While I agree to have as much as possible on ES6, I hardly find this to be a priority :)

http://stephensauceda.com/es6-in-your-gulp-tasks/


Add support for collection types (list/tuple/dict/set/etc.)

Describe the problem
Using the DatabaseBackend, I store lists of recipients for emails and dicts for small configy-things. The (awesome) changes in https://github.com/jazzband/django-constance/pull/564 do not cover these types. The stored value in the database is not in the expected format
'{"__type__": "default", "__value__": "{"test": "test"}"}'

but
'{"test": "test"}'

This then leads to an exception when trying to access the value, as the keys do not match the expected structure (https://github.com/jazzband/django-constance/blob/master/constance/codecs.py#L58).
Proposed discussion
I could help out with any of the following tasks:

[ ] treat the defined types (https://github.com/jazzband/django-constance/blob/master/constance/codecs.py#L37 and https://github.com/jazzband/django-constance/blob/master/constance/codecs.py#L83) as "whitelist" and raise on serialization of unknown types.
[ ] document the supported types, or indicate the internal wokings. A simple sentence indicating usage of JSON as data structure would probably be good enough.
[ ] try to deserialize the object (https://github.com/jazzband/django-constance/blob/master/constance/codecs.py#L57) with the default JSONSerializer before raising an exception. This might be helpful if other users face the same issue and have already-migrated data.
[ ] probably out of scope: use the registered types for nested serialization (e.g. a dict with a UUID).

Steps to reproduce
This simply uses the default encoding defined in the JSONEncoder, but should display the issue clearly 😄
See https://github.com/jazzband/django-constance/compare/master...sebastianmanger:django-constance:json-missing-types
System configuration

Django version: any
Python version: any
Django-Constance version: >4.0.0

According to natively supported field types,
lists and dicts are not there.

bool
int
float
Decimal
str
datetime
date
time

This is a known limitation. Also, it already declared into https://github.com/jazzband/django-constance/blob/c690d5ef0ffa74e5b09064a3bc5b0e5b81f2dfce/docs/index.rst#custom-fields
As a temporary solution, I would suggest you make your own custom type for the task.
Like in this test:
https://github.com/jazzband/django-constance/blob/c690d5ef0ffa74e5b09064a3bc5b0e5b81f2dfce/tests/test_codecs.py#L70-L81

Thanks to both of you - feel free to close!

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Thanks to both of you - feel free to close!

Your ticket makes sense. It's feature requests. I do not want to close this issue because it's reasonable.

This seems actually more a regression than a new feature. We quite heavy add django.forms.fields.JSONField to the CONSTANCE_ADDITIONAL_FIELDS to be able to have JSON blobs as values. This use case used to work fine, but is completely broken in 4.x now as there's no obvious way to serialise dicts (register_type doesn't work for a dict because of the object_hook implementation in constance.codecs).
Arguably the standard json.loads/json.dumps would be better than the implementation in constance.codecs because they would handle this use case perfectly fine. I'm not entirely sure of the reasoning behind the implementation there but it seems slightly convoluted when perhaps just being able to specify a custom JSONEncoder class in place of register_type etc would work better (and also not break the standard JSON serialisation)?
Also, the whole codecs and register_type API is not documented, only CONSTANCE_ADDITIONAL_FIELDS which seems to suggest that the django.forms.fields.JSONField use case would work perfectly fine still, and the changelog for 4.0.0 only mentions changing the database backend to use json with no mention of the redis backend (or that the JSON implementation isn't the standard one).
As a resolution we've been playing with monkey patching constance.codecs.dumps and constance.codecs.loads, but a better solution may be one of (in a vaguely most-preferable-first ordering):

Making the serialisation configurable from a setting (either specifying a module that provides dumps and loads functions, so you could do e.g. CONSTANCE_SERIALIZATION = "json" or manually specifying either). This might be the best option IMHO.
Having just the JSONEncoder class be configurable (e.g. something like CONSTANCE_JSON_ENCODER = "my.custom.JSONEncoder")
Having object_hook fall back on returning the object itself rather than raising an exception if it doesn't have __value__ and __type__ keys.
The fix linked here in OP.
Document the register_type API, and highlight that there's no way to serialize a dict.

I'd be happy to implement any of those in a PR if one is agreed on.

JFI I work on this problem but cannot provide ETA


Has anyone encountered bazel build failure these days?

The bazel build //test/... fails consistently when I provide concurrency=48. I double checked it's not OOM issue. I added huge swap, the swap spacer is not even used at the dying moment.
The phenomenon is that bazel stuck at a certain phase and the entire machine is not responding.
The top command shows that lots of clang processes are in D state. But I incline to believe clang is not the cause but the victim.
Reduce the concurrency make the build likely to pass so I guess it's somewhat data race. But I have no clue how to dig.
     Is there any no-brain parameter I should blindly try?

example running log
ci/run_envoy_docker.sh 'ci/do_ci.sh bazel.coverage'
================================================================================
[9,698 / 10,445] 7 / 731 tests, 4 failed; 48 actions running; last test: //test/server/admin:config_dump_handler_test
    Compiling test/server/listener_manager_impl_quic_only_test.cc; 38s processwrapper-sandbox
    Compiling test/server/listener_manager_impl_test.cc; 37s processwrapper-sandbox
    Compiling test/server/admin/admin_filter_test.cc; 36s processwrapper-sandbox
    Compiling test/server/admin/stats_handler_test.cc; 35s processwrapper-sandbox
    Compiling test/extensions/clusters/aggregate/cluster_test.cc; 34s processwrapper-sandbox
    Compiling test/extensions/filters/http/cors/cors_filter_test.cc; 33s processwrapper-sandbox
    Compiling source/extensions/filters/network/kafka/external/kafka_request_resolver.cc; 32s processwrapper-sandbox
    Compiling test/extensions/filters/network/thrift_proxy/mocks.cc; 30s processwrapper-sandbox ...
             ^C
Bazel caught interrupt signal; shutting down.
Bazel caught interrupt signal; shutting down.
...
^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^CWARNING: Waiting for server process to terminate (waited 5 seconds, waiting at most 10)
WARNING: Waiting for server process to terminate (waited 5 seconds, waiting at most 10)
WARNING: Waiting for server process to terminate (waited 5 seconds, waiting at most 10)
WARNING: Waiting for server process to terminate (waited 5 seconds, waiting at most 10)
WARNING: Waiting for server process to terminate (waited 5 seconds, waiting at most 10)
WARNING: Waiting for server process to terminate (waited 5 seconds, waiting at most 10)
WARNING: Waiting for server process to terminate (waited 10 seconds, waiting at most 10)
INFO: Waited 10 seconds for server process (pid=54) to terminate.

Reverted to 01/31/2021. Seems to help a little bit but not yet successful

Mitigated by running at low bazel concurrency. I't's likely my kernel or unstable hardware or device driver


CUDA and PyTorch Versions

Hello, I am trying to run this on CUDA 12.4 with PyTorch built from source for it but get the following error:
Traceback (most recent call last):
  File "/mnt/generative-recommenders/train.py", line 29, in <module>
    import fbgemm_gpu  # noqa: F401, E402
  File "/usr/local/lib/python3.10/dist-packages/fbgemm_gpu/__init__.py", line 22, in <module>
    import fbgemm_gpu.docs  # noqa: F401, E402
  File "/usr/local/lib/python3.10/dist-packages/fbgemm_gpu/docs/__init__.py", line 9, in <module>
    from . import jagged_tensor_ops, table_batched_embedding_ops  # noqa: F401
  File "/usr/local/lib/python3.10/dist-packages/fbgemm_gpu/docs/jagged_tensor_ops.py", line 14, in <module>
    torch.ops.fbgemm.jagged_2d_to_dense,
  File "/usr/local/lib/python3.10/dist-packages/torch/_ops.py", line 921, in __getattr__
    raise AttributeError(
AttributeError: '_OpNamespace' 'fbgemm' object has no attribute 'jagged_2d_to_dense'

Can you please give instructions on what CUDA version, PyTorch version and hardware configuration that was used to train?
If you could also include a requirements.txt, that would be helpful to reproduce exact results.

Please check https://github.com/facebookresearch/generative-recommenders/issues/18, seems related

Hi @rtalaricw , I'm encountering the same error with config:
torch                    2.3.1+cu118
fbgemm-gpu               0.6.0

Seems #18 did not solve my issue.
Did you fix this with a workable CUDA version, PyTorch version and fbgemm-gpu version?
BTW, @jiaqizhai , we do hope for a requirements.txt for reproducing the training procedure. Thx you all!


Add macro DCHECK in quic_logging_impl.h

Address one TOTO in that file that (D)CHECK is not explicit listed in platform API, but is supposed to be defined in some impl. Define them in quic_logging_impl.h seems appropriate.
Risk Level: low, not in use
Part of #2557

/assign @wu-bin

/assign @alyssawilk


User xxx with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008)

We upgrading our cf-mgmt image from https://hub.docker.com/r/pivotalservices/cf-mgmt. We followed the below upgrade process and noticed the below error common across images once we started using image above > 1.0.50
1.0.46
1.0.50
1.0.52
1.0.64
1.0.68
Error Message:
update space users [Error syncing users for org xxx, space dev, role developer: adding ldap users: User xxx with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User ‘xxx’ already has 'space_developer' role in space ‘xxx’.
Kindly help on how this can be rectified.

Can you set LOG_LEVEL=debug and provide the output of that?  https://github.com/vmware-tanzu-labs/cf-mgmt#debug-output.

@calebwashburn
update-org-quotas Error:
2023/10/30 05:54:23 D1030 05:54:23.840998 13 initialize.go:55] Using Version: [1.0.68], Commit: [dfbb7b8a360d74cd2b1685708ee81502ca46b075] of cf-mgmt
2023/10/30 05:54:31 D1030 05:54:31.4141 13 quota.go:476] Total org quotas returned : 237
2023/10/30 05:54:31 I1030 05:54:31.414234 13 yaml_config.go:558] No org quotas found.  Create directory org_quotas and add org quota definition(s)
2023/10/30 05:54:31 D1030 05:54:31.61638 13 reader.go:110] Total orgs returned : 67
2023/10/30 05:54:31 D1030 05:54:31.61645 13 reader.go:110] Total orgs returned : 67
2023/10/30 05:54:31 D1030 05:54:31.616494 13 quota.go:228] Apps Quota has changed from {"total_memory_in_mb":102400} to {"total_memory_in_mb":102400,"per_process_memory_in_mb":-1,"total_instances":-1,"per_app_tasks":-1}
2023/10/30 05:54:31 I1030 05:54:31.616522 13 quota.go:502] Updating org quota Biller_xxx
error: cfclient error (CF-UnprocessableEntity|10008): Apps Per process memory in mb must be greater than or equal to 0, Apps Total instances must be greater than or equal to 0, Apps Per app tasks must be greater than or equal to 0, Services Total service keys must be greater than or equal to 0
Cf-mgmt config for that Biller_xxx ORG:
memory-limit: 102400
instance-memory-limit: -1
total-routes: 1000
total-services: 100
paid-service-plans-allowed: true
enable-remove-users: true
total_private_domains: 0
total_reserved_route_ports: 10
total_service_keys: -1
app_instance_limit: -1
app_task_limit: -1
default_isolation_segment: ""
service-access: {}
But most of the tile have same ORG Config, but for this one throws error.
Update-space-users Error:
2023/10/30 05:55:35 D1030 05:55:35.696488 13 users.go:602]
2023/10/30 05:55:35 Sending quit message and waiting for confirmation
2023/10/30 05:55:35 Shutting down - quit message received
2023/10/30 05:55:35 Closing network connection
error: got errors processing update space users [Error syncing users for org org10, space dev, role developer: adding ldap users: User user1 with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'user1' already has 'space_developer' role in space 'dev'. Error syncing users for org F3Rewards.Loyalty, space qa, role developer: adding ldap users: User user1 with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'user1' already has 'space_developer' role in space 'qa'. Error syncing users for orgorg2, space development, role developer: adding ldap users: User user2 with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'user2' already has 'space_developer' role in space 'development'. Error syncing users for org org3, space development, role developer: adding ldap users: User user3 with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'user3' already has 'space_developer' role in space 'development'. Error syncing users for org org3, space qa, role developer: adding ldap users: User user3 with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'user3' already has 'space_developer' role in space 'qa'. Error syncing users for org org1, space Training, role developer: adding ldap users: User user7 with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'user7' already has 'space_developer' role in space 'Training'. Error syncing users for org org1, space development, role developer: adding ldap users: User user9 with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'user9' already has 'space_developer' role in space 'development'. Error syncing users for org org1, space qa, role developer: adding ldap users: User user4 with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'user4' already has 'space_developer' role in space 'qa'. Error syncing users for org org4 space cat, role developer: adding ldap users: User user4 with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'user4' already has 'space_developer' role in space 'cat'. Error syncing users for org org4 space development, role developer: adding ldap users: User user7 with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'user7' already has 'space_developer' role in space 'development'. Error syncing users for org org4 space qa, role developer: adding ldap users: User user7 with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'user7' already has 'space_developer' role in space 'qa'. Error syncing users for org org5, space development, role developer: adding ldap users: User user4 with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'user4' already has 'space_developer' role in space 'development'. Error syncing users for org org5, space operations, role developer: adding ldap users: User user4 with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'user4' already has 'space_developer' role in space 'operations'. Error syncing users for org org5, space qa, role developer: adding ldap users: User user4 with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'user4' already has 'space_developer' role in space 'qa'. Error syncing users for org org5.CAT, space cat, role developer: adding ldap users: User user4 with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'user4' already has 'space_developer' role in space 'cat'. Error syncing users for org org5.CAT, space custperf, role developer: adding ldap users: User user4 with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'user4' already has 'space_developer' role in space 'custperf'. Error syncing users for org org2, space development, role developer: adding ldap users: User user5 with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'user5' already has 'space_developer' role in space 'development'. Error syncing users for org org2, space qa, role developer: adding ldap users: User user6 with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'user6' already has 'space_developer' role in space 'qa'.]

@Murugan2all
Looks like there is 2 different errors.  One with dealing with quotas who appears you configuration has -1 in the value vs unlimited.  Will need to add logic to fix this regression as the v3 api want's a nil value vs -1 when it's meant to be unlimited.   If not wanting to wait for fix you can change all the -1 values to unlimited and it will process as expected.
I'll need detailed debug output that provides a list of all the users to help debug the user sync issue.

@calebwashburn : I tried -1 with unlimited and it started accepting and pipeline works for updating space quotas. Now below is the log shared for updating Space Users.  Kindly let me know if it helps.
2023/10/30 05:55:03 D1030 05:55:03.827005 13 users.go:694] Begin Adding user [testuser] with guid[324abcae-09d5-474d-be29-86514a3bd266] with origin [ldap] as doesn't exist in users for ORGNAME/dev - Role space_developer for entity with guid[d59788b2-b974-49dd-8aba-deda51aac43a/8d3f0043-97bc-4c39-8799-ca447a800f7b]
2023/10/30 05:55:03 D1030 05:55:03.827563 13 users.go:698] End Adding user [testuser] with guid[324abcae-09d5-474d-be29-86514a3bd266] with origin [ldap] as doesn't exist in users for ORGNAME/dev - Role space_developer for entity with guid[d59788b2-b974-49dd-8aba-deda51aac43a/8d3f0043-97bc-4c39-8799-ca447a800f7b]
2023/10/30 05:55:09 D1030 05:55:09.661569 13 users.go:129] User [testuser] with GUID[324abcae-09d5-474d-be29-86514a3bd266] and origin ldap in role organization_user for entity type [organizations/d59788b2-b974-49dd-8aba-deda51aac43a]
2023/10/30 05:55:09 I1030 05:55:09.705833 13 users.go:341] adding testuser to role developer for org/space ORGNAME/dev
2023/10/30 05:55:09 D1030 05:55:09.898943 13 ldap_users.go:103] UserID [testuser] found in UAA, skipping ldap lookup
2023/10/30 05:55:09 D1030 05:55:09.898958 13 ldap_users.go:105] Checking if userID [testuser] with origin [ldap] and externalID [CN=,OU=NO-HOME-USERS,OU=BU-USA,DC=test,DC=com] matches ldap origin
2023/10/30 05:55:09 D1030 05:55:09.9603 13 users.go:694] Begin Adding user [testuser] with guid[324abcae-09d5-474d-be29-86514a3bd266] with origin [ldap] as doesn't exist in users for ORGNAME/qa - Role ORGNAMEor entity with guid[d59788b2-b974-49dd-8aba-deda51aac43a/35a62eeb-5aec-4642-a34b-5f5bf5329fea]
2023/10/30 05:55:09 D1030 05:55:09.962364 13 users.go:698] End Adding user [testuser] with guid[324abcae-09d5-474d-be29-86514a3bd266] with origin [ldap] as doesn't exist in users for ORGNAME/qa - Role ORGNAMEor entity with guid[d59788b2-b974-49dd-8aba-deda51aac43a/35a62eeb-5aec-4642-a34b-5f5bf5329fea]
2023/10/30 05:55:09 I1030 05:55:09.962395 13 users.go:341] adding testuser to role developer for org/space ORGNAME/qa
error: ORGNAMEsing update space users [Error syncing users for orgORGNAMEy, space devORGNAME adding ldap users: User testuser with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'testuser' already has 'space_developer' role in space 'dev'. Error syncing users for orgORGNAMEy, space qa,ORGNAMEadding ldap users: User testuser with origin ldap: Error while creating v3 role: cfclient error (CF-UnprocessableEntity|10008): User 'testuser' already has 'space_developer' role in space 'qa'.

Hi @calebwashburn ,
After upgrading to cf-mgmt v1.0.82, we are still getting the similar error. Could you please help investigate on this?
error: got errors processing update space users [error getting /v3/users?per_page=5000: error executing request, failed during HTTP request send: Get "https://api.dev.sys.***.com/v3/users?per_page=5000": net/http: request canceled (Client.Timeout exceeded while awaiting headers) error getting /v3/users?per_page=5000: error executing request, failed during HTTP request send: Get "https://api.dev.sys.***.com/v3/users?per_page=5000": net/http: request canceled (Client.Timeout exceeded while awaiting headers) error getting /v3/users?per_page=5000: error executing request, failed during HTTP request send: Get "https://api.dev.sys.***.com/v3/users?per_page=5000": net/http: request canceled (Client.Timeout exceeded while awaiting headers) error getting /v3/users?per_page=5000: error executing request, failed during HTTP request send: Get "https://api.dev.sys.***.com/v3/users?per_page=5000": net/http: request canceled (Client.Timeout exceeded while awaiting headers) error getting /v3/users?per_page=5000: error executing request, failed during HTTP request send: Get "https://api.dev.sys.***.com/v3/users?per_page=5000": net/http: request canceled (Client.Timeout exceeded while awaiting headers) error getting /v3/users?per_page=5000: error executing request, failed during HTTP request send: Get "https://api.dev.sys.***.com/v3/users?per_page=5000": net/http: request canceled (Client.Timeout exceeded while awaiting headers) error getting /v3/users?per_page=5000: error executing request, failed during HTTP request send: Get "https://api.dev.sys.***.com/v3/users?per_page=5000": net/http: request canceled (Client.Timeout exceeded while awaiting headers) error getting /v3/users?page=2&per_page=5000: error executing request, failed during HTTP request send: Get "https://api.dev.sys.***.com/v3/users?page=2&per_page=5000": net/http: request canceled (Client.Timeout exceeded while awaiting headers) error getting /v3/users?per_page=5000: error executing request, failed during HTTP request send: Get "https://api.dev.sys.***.com/v3/users?per_page=5000": net/http: request canceled (Client.Timeout exceeded while awaiting headers) error getting /v3/users?per_page=5000: error executing request, failed during HTTP request send: Get "https://api.dev.sys.***.com/v3/users?per_page=5000": net/http: request canceled (Client.Timeout exceeded while awaiting headers) error getting /v3/users?per_page=5000: error executing request, failed during HTTP request send: Get "https://api.dev.sys.***.com/v3/users?per_page=5000": net/http: request canceled (Client.Timeout exceeded while awaiting headers) Error syncing users for org mdsg, space mock, role auditor: adding ldap users: An error occurred while calling https://uaa.dev.sys.***.com/Users Error syncing users for org mdsg, space perf-gr, role auditor: adding ldap users: An error occurred while calling https://uaa.dev.sys.***.com/Users Error syncing users for org nsas, space test, role developer: adding ldap users: User vinayd with origin ldap: cfclient error (CF-UnprocessableEntity|10008): User 'vinayd' already has 'space_developer' role in space 'test'.]

This should be fixed in https://github.com/vmware-tanzu-labs/cf-mgmt/releases/tag/v1.0.85


Vault kerberos passwords and keytab files

chef vault kerberos master and admin passwords
chef vault kerberos keytab files

Closing for cleanup. Feel free to reopen if this work gets picked up later on.


null reference exception when running the Blink demo page

Hello Fredrik,
First of all, I think this is a great project and looks like it will be a big help for many (including me).  Thanks very much for sharing it!
I just ran across your project yesterday and haven't gotten beyond trying the demo on a netduino plus 2 (running <IP_ADDRESS>).  The other pages work just fine but I'm getting this exception when I try the /Blink page:
A first chance exception of type 'System.NullReferenceException' occurred in Rinsen.WebServer.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll
A first chance exception of type 'System.NullReferenceException' occurred in Rinsen.WebServer.dll
A first chance exception of type 'System.NullReferenceException' occurred in Rinsen.WebServer.dll
A first chance exception of type 'System.Exception' occurred in Rinsen.WebServer.dll
Unhandled exception in web server, Message: Exception was thrown: System.NullReferenceException, StackTrace:  Fredde.Web.MicroFramework.FormCollection::AddQueryString
Fredde.Web.MicroFramework.FormCollection::.ctor
Rinsen.WebServer.Controller::GetFormCollection
DemoWeb.BlinkController::Index
System.Reflection.MethodBase::Invoke
Rinsen.WebServer.HttpApplicationHandler::Execute
Rinsen.WebServer.RequestResponseHandler::CreateResponse
Rinsen.WebServer.RequestResponseHandler::ProcessRequest
Rinsen.WebServer.SocketListener::ProcessRequest
Rinsen.WebServer.SocketListener+<>c__DisplayClass1::b__0
The thread '' (0x8) has exited with code 0 (0x0).
Unhandled exception in web server, Message: Error in error handler , StackTrace:  Rinsen.WebServer.RequestResponseHandler::ProcessRequest
Rinsen.WebServer.SocketListener::ProcessRequest
Rinsen.WebServer.SocketListener+<>c__DisplayClass1::b__0
Is there something simple I'm missing?
Thanks!
Andy

Hi!
I'm glad that you liked it, and thanks for the feedback!
I have committed a change that will solve this issue, it was a null reference from Uri.QueryString when no QueryString was there, but as the design is made it should return an empty string and now it does.

I think I will give you a chance to get back if it doesn´t solve you're problem :)

Works now.
Thanks!!


OS freezes when renaming file in explorer

Issue Type: Bug
When I tried to rename the file via Explorer while coding in Ubuntu 20.04.4 LTS, the OS froze and I was forced to restart the PC.
VS Code version: Code 1.65.2 (c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1, 2022-03-10T15:36:26.048Z)
OS version: Linux x64 5.13.0-35-generic
Restricted Mode: No

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-11700 @ 2.50GHz (16 x 2500)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 0, 0

Memory (System)
62.58GB (56.71GB free)

Process Argv
--unity-launch --crash-reporter-id 97390adf-f3b3-4418-b4c2-2fd05dbd253c

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
x11

Extensions (6)

Extension
Author (truncated)
Version

vscode-language-pack-ja
MS-
1.65.2

python
ms-
2022.2.1924087327

vscode-pylance
ms-
2022.3.1

jupyter
ms-
2022.2.1030672458

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.6

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vsclayoutctrt:30451275
dsvsc008:30440022
pythonvspyt640:30450904
vscscmwlcmc:30438804
vscgsvid1:30447480
pynewfile477cf:30450039

Does this happen with every file you try to rename? If not, what is different about the file that it happens with? Very big?

This may be due to a refactoring of the Python extension. I tried it again and this time it was successful.


ubuntu  can't find 'main' module in 'acstis'

root@DESKTOP-URC8ANJ:/mnt/c/angularjs-csti-scanner-master# python acstis --url **************.com/
usr/bin/python: can't find 'main' module in 'acstis'

never mind, i was running cmd as admin on the windows bash
i got it working then ended up with this and ended up with this
root@DESKTOP-URC8ANJ:/mnt/c/angularjs-csti-scanner-master# acstis --u https://*********.ca/ --crawl
AngularJS CSTI Scanner (ACSTIS)
Copyright (c) 2017 Tijme Gommers (see LICENSE.md).
2017-06-12 23:46:48.901820: Started scan
2017-06-12 23:46:48.940101: Error while scraping URL 'https://*********.ca/': Message: Service /usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64 unexpectedly exited. Status code was: 127
root@DESKTOP-URC8ANJ:/mnt/c/angularjs-csti-scanner-master#

Hi @sudosuperman,
Thanks for reporting the issue. I've got a few questions.

Did you install ACSTIS using pip(3)?
Are you running Ubuntu headless?
Could you give me the output of echo $DISPLAY?

If this is empty, could you try export DISPLAY=:1 and run ACSTIS?

Could you give me the output of /usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64 --version?
Could you give me the output of uname -i?

im sorry for my lack of knowledge but im not sure what you mean by headless and yes im using pip3.
root@DESKTOP-URC8ANJ:/mnt/c# echo $DISPLAY
root@DESKTOP-URC8ANJ:/mnt/c# export DISPLAY=:1
root@DESKTOP-URC8ANJ:/mnt/c# /usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64 --version/usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
root@DESKTOP-URC8ANJ:/mnt/c# sudo /usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64 --version
/usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
root@DESKTOP-URC8ANJ:/mnt/c# uname -i
x86_64
root@DESKTOP-URC8ANJ:/mnt/c#

i was missing libnss3 so i installed it... but same thing; unexpectedly exited. Status code was: 127

@sudosuperman You need Ubuntu desktop so you have a display server which Chrome can use. If you use Ubuntu server you need to install a virtual display server.
I just tested ACSTIS on Ubuntu Desktop (https://www.ubuntu.com/download/desktop). I installed Chrome, Python3 and Pip3. I then installed ACSTIS using sudo pip3 install acstis. This works for me.
What does /usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64 --version output now?

i have windows & pattot os dual boot.  will it work on parrot os because it is based on ubuntu and froxen box?

@sudosuperman Hmm, I have no idea.
Now that you have fixed the Chrome driver issue, could you send me this output once more? /usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64 --version
And could you maybe run chmod a+x /usr/local/lib/python3.5/dist-packages/acstis/chrome_drivers/chromedriver_linux64 and then try if ACSTIS works?

i will do that tonight and i will let you know in the morning. thank you for your help and quick responses as well.

hello, so i switched from my ubuntu based bash on windows 10 to my parrot OS, followed all the steps and i worked like a dream. thank you very much for your help.

Ok, good to hear you got it working!


/v1/delegates/ hash to sign by a Safe owner is very scary and undescriptive

What is needed?
When you sign in a wallet a POST /v1/delegates/ call to greate a new deleate, you are prompt with a request to sign a message that reads a hash like 0x132512f995866CcE1b0092384A6118EDaF4508Ff440771 which for 99% of users doesn't mean anything.
For a user comfort, the message that is being signed should look more like the actual POST of the call:
{
   message: "Add a delegate"
   safe: "0x232512f995866CcE1b009123A6118EDaF4508Ff"
   delegate: "0x132512f995866CcE1b0092384A6118EDaF4508Ff"
   epoch:1707297264
}

Background
When using safe infrastructure, the developers would like to be as transparent to the users as possible, and the Wallet Popup like this one:

does not shout confidance in the product.
URL
POST /api/v1/delegates/

IMO this should be an EIP712 compliant signature payload.

Agree, delegates have been here for a long time and that's why we went for a raw hash at that point. If you take a look for example at the signature for deleting a transaction it's already a EIP712, and we will do the same for delegates in the future

Superseeded by https://github.com/safe-global/safe-transaction-service/issues/1989


feat: Remove Logging configuration

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://wiki.edgexfoundry.org/display/FA/Contributor's+Guide
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Support logging has been removed so now the configuration is obsolete.
Issue Number: #194
What is the new behavior?
Removed the following sections from configuration.toml:

[Logging]
[Clients.Logging]

fix: #194
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Are there any new imports or modules? If so, what are they used for and why?
Are there any specific instructions or things that should be known prior to reviewing?
Other information

Putting these PRs on hold/draft until after device services dot release is complete.

Putting these PRs on hold/draft until after device services dot release is complete.

remove hold because the commit has been tagged for the dot release

device-mqtt-go dot release is complete, this PR is now ready for review. @lenny-intel could you please help take a look when you have time? thanks!


Bugfix/2030 rethrow loc test

Submisison Checklist

[x] Run unit tests: ./runTests.py src/test/unit
[x] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Summary
Change reference to copy in exception (d'oh!) to fix broken test.
Intended Effect
Make tests work with g++ 5.4 at -O3
How to Verify
Unit test on g++ 5.4 at -O3
Side Effects
No.
Documentation
n/a
Reviewer Suggestions
anyone
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
Columbia University
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Looks good.


[chore] update contributing

What does it do?
Since storybook was moved I think a few things have changed here
Why is it needed?
So it is clear for everyone how to start developing with storybook
How to test it?
Follow the steps

Thanks Mark! 😄


Fork/join and general parallelization?

Curious how forking and joining might be accomplished with this library?
..similar to this.
Something like this looks really verbose (and isn't really parallel), so assuming there is a better way?
var processedBags = []

var transformFragile = compose(
	filter(x => x.bagType == 'fragile'),
	map(x => merge(x,{luggageTag: 'Handle with care'}))
);

var transformHeavy = compose(
	filter(x => x.bagType == 'heavy'),
	map(x => merge(x,{luggageTag: 'Watch your back!!'}))
);

var transformNormal = filter(x => x.bagType == 'normal')

processedBags = into(processedBags, transformFragile, bags)
processedBags = into(processedBags, transformHeavy, bags)
processedBags = into(processedBags, transformNormal, bags)

Also attempted other variations w/a switch statement inside a mapper.  Also doesn't feel right.
Thanks in advance.

You'd probably want to do it with iterators. Fork spits out an object of key-iterator pairs - you can then keep working on them as needed and merge them back together.
// Reusable fork and merge
var fork = filtersObj => itemList => seq(filtersObj, map( ([key, filter]) => [key, toIter(itemList, filter)] ));
var merge = forkedObj => toArray(forkedObj, mapcat(kp => kp[1]));

var transformFragile = compose(
    filter(x => x.bagType === 'fragile'),
    map(x => Object.assign({}, x, {luggageTag: 'Handle with care'}))
);
var transformHeavy = compose(
    filter(x => x.bagType === 'heavy'),
    map(x => Object.assign({}, x, {luggageTag: 'Watch your back!!'}))
);
var transformNormal = filter(x => x.bagType === 'normal')

var transform = compose(merge, fork({transformFragile, transformHeavy, transformNormal}));
var processedBags = transform(bags);


Disable console screen?

I disabled the console on grub but when I click on a world it still shows a window for a console, but it's empty. Is there a way to just go straight to the os once I click a world?

Sorry for missing your issue.
Getting rid of the screen won't reduce boot time, but if it looks annoying, you can perhaps try to make it all-black.
Changing these lines in the theme.txt should do the trick, though I have not tested it.
terminal-border: "0"
terminal-left: "0"
terminal-top: "0"
terminal-width: "100%"
terminal-height: "100%"
# terminal-box: "term_*.png"
terminal-font: "Monocraft Regular 22"

Thanks!


Request for a host name if it's missing in the spec (optional value)

It was so dumb of me to put the int result = fileChooser.showOpenDialog(container); instruction before the end of the fileChooser initialisation. Your contributions are appreciated bluec0re, however, isn't the host field mandatory for a Swagger file, there is no need to add more check than needed, the users need to use a proper Swagger file to start with. Swurg should not validate/correct the Swagger syntax but simply parse it into Burp.
Please, correct me if I am wrong.
Thanks,
Alex

Based on this specification, the host field is not required:
http://swagger.io/specification/


Add test mode for recordreaderdatasetiterator

https://github.com/deeplearning4j/deeplearning4j/blob/master/deeplearning4j-core/src/main/java/org/deeplearning4j/datasets/canova/RecordReaderDataSetIterator.java#L248
Right now this assumes there's a label. We need to add a mode for testing to ignore the label index if it doesn't exist.

Closing old issues.


New package: GeoSpatialRelations v0.1.0

Registering package: GeoSpatialRelations
Repository: https://github.com/adribrune/GeoSpatialRelations.jl
Created by: @adribrune
Version: v0.1.0
Commit: 514aff235a346b6a8cd3d8827d827bd00a5ef271
Reviewed by: @adribrune
Reference: https://github.com/adribrune/GeoSpatialRelations.jl/issues/1#issuecomment-2516320608

stop

[noblock] If you want to come back to this later: Please make sure that the documentation at https://adribrune.github.io/GeoSpatialRelations.jl/dev/ is linked somewhere from the README.

@JuliaRegistrator register


Log message text fixed.

Additional fix for already closed #1195

Can we merge this? @ben-xD @lukasz-szyszkowski


Support 4 new CLIP models trained on LAION2B

Laion AI recently released 4 new CLIP models trained on LAION2B https://laion.ai/blog/large-openclip/
These models are supported in latest open clip module (open_clip_torch >= 2.0.0)
It would be nice to have these models supported in finetuner.

won't support since we're working reduce the number of models to support, in short: we'll only support 2 clip models: base and large


[Feature] Map vector/quat/matrix types to Odin native types

Hi, I've been messing with this, it's awesome. Thank you so much for taking the time to make this available in Odin!
It would be nice if some of the vector, rotation and matrix types were mapped to the native Odin versions, ie.:
PxVec3 -> [3]f32
PxQuat -> quaternion128
It would be a nice ergonomic improvement, currently I just transmute them to the Odin equivalents. Not sure if it makes sense, but some other packages do that (including vendor ones like raylib).

This sounds like a great idea. I wrote this before writing much other Odin code, so I was barely aware of the built-ins or whether they would be layout-wise compatible.
I saw your other PR, so if you want to give this a try as well feel free. Otherwise I will look at it soon. :)


Packaging: Add registry keys to support library folder background for explorer context menu

PR Summary

Fixes #6590 by adding registry keys to support the existing explorer context menu also when being inside a library folder. It follows the existing pattern that was already applied to special cases such as drives, Desktop, etc.
Manually Tested on Win 10 1709
Thanks to @mklement0 for triaging the issue and already researching the required registry key (he should also be included in the release notes)

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[ ] NA Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

User-facing changes

[x] Not Applicable
OR
[ ] User-facing Documentation needed

[ ] Issue filed - Issue link:

Testing - New and feature

[x] Not Applicable or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] if the change is significant or affects feature tests

@bergmeister Can you please add a commit with [package] at the start.  This will cause the CI system to build the packages.

you could have just said that...  Sorry, we should fix that, but that's a separate issue.


Collaboration

I just found out about this project.
The purpose of fontParts is to make it easier to implement the APIs in other environments, I would have though that developers of potential other environments would have been involved on setting up the API. If the API is developed around a particulary implementation it makes it quite a bit more difficult to support it everywhere else.

@schriftgestalt Sorry that you feel that way; there has been much discussion (starting with Tal's talk about needing to rewrite roboFab at the last RoboThon, in the robofab repository, https://github.com/robofab-developers/robofab/pull/63#issuecomment-191914848, https://github.com/robofab-developers/robofab/issues/51#issuecomment-197454018, https://github.com/robofab-developers/robofab/issues/51#issuecomment-197454018, and in other places — https://github.com/googlei18n/fontmake/issues/38#issuecomment-191736388) and involvement around fontParts for a bit — this hasn't been hidden. Also things are still very much in the infancy / this is still in the sketching stage, so there is plenty of time for input.
A main goal with fontParts is to keep the same (as much as possible) API as roboFab, make it easier for all to implement, and to get rid of a lot of the things that make roboFab very hard to maintain across multiple environments (interface things, FontLab specific behavior, 10+ years of legacy code, etc).

I should also be clear, the goal with fontParts to to keep, as much as is possible, the same API from roboFab that everyone has invested 10+ years in writing scripts for — in that sense the API is set and isn't new. Decoupling it from the FontLab specific behavior (when roboFab was written, that's all there was...) and cleaning it up to work with UFO3 is new. I know that you've had issues with getting roboFab and Glyphs to play nicely — your thoughts on how to make that much easier would be very welcome.

The purpose of fontParts is to make it easier to implement the APIs in other environments, I would have though that developers of potential other environments would have been involved on setting up the API. If the API is developed around a particulary implementation it makes it quite a bit more difficult to support it everywhere else.

Ouch. Have looked at the documentation, especially the readme and this part? Anyway, this is not an official thing yet. I haven't even announced that I'm working on it anywhere other than a few GitHub issues. It's a test that I started based on the various discussions that have been going on for years. RoboFab is stuck with legacy issues and the infrastructure can't be rebuilt in a way that addresses those without breaking lots of stuff. So, the idea has been to take the RoboFab API, remove the stuff that wasn't needed (I alone added a ton of cruft in the very beginning) and publish the API. An environment can implement their own version of this public API in whatever way that they want. Someone could write a Python wrapper around Fortran code that calls commandline tools written in ABC that deal with outlines stored in .bez files. The main idea of fontParts is that it is the API not an implementation.
I started this project with a dump of the public RoboFab API and edited it. This was just a list of class and method names. No implementation code. I wanted to make this self documenting, so I put it into some Python objects that can be autodocumented with Sphinx. It's kind of magical. This became abstract code that is no way dependent on any implementation. This is the source of the public, scripter-facing API documentation. Inside of that abstract API is some top-level code for generic actions like interpolation. All of this will be documented at some point (maybe at an upcoming sprint) so that implementors know what they need to do. This still is not dependent on any implementation. It uses fontTools, fontMath and maybe a few others, but everything that is used is vetted for dependencies. And, again, an implementator isn't required to use any of this code.
As I was building this, I also tried to make it very easy for an environment to have it's own implementation with minimal effort. I know what a pain that was in RoboFab and I don't want to repeat it. So, the abstract implementation is subclassable. All of the top-level code (like interpolation) calls a minimal number of private methods. An environment that doesn't want to implement the whole public API can subclass the abstract API and define the necessary private methods. Then, they have full fontParts support with way, way, way, way * 10000000 less code than it took do the same in RoboFab. Also, the top-level code validates input and output so that the environment implementations don't have to do any type of sanity checking.
To test the viability of the idea, I have been implementing a NoneLab version of this in parallel. That is a completely optional part of this module. It may be a part of fontParts in the end, but it will never be required of implementations.
As far as the API goes, the first goal has been to get the RoboFab API working. There are things that RoboFab didn't handle that I think we should add, such as undo. That'll be phase 2. If you have suggestions for that, please let us know via a GitHub issue or the RoboFab mailing list.

@typesupply I did understand it from the readme. But there are already some structural and very central changes that will make it more difficult for me. That is the support for layers. I saw how you implemented it in ufo3 and it is the same here now. The structure in ufo3 and fontParts is font > layers > glyph. That might work if you like to store a background layer. But what if you have arbitrary layers (e.g., to store a version of the outline). Lets say you have a font with 2000 glyphs. Each glyph might have two extra layers (each with a unique name). That means you have 4000 layers with one glyph each. To show all layers that belong to the current glyph, you need to go through all 4000 layers and check if it has a glyph that corresponds to the current glyph. Or do I miss something here.
If you turn it around: font > glyph > layers (with glyphs.layers being a dict with keys to access the layers we just need to decide on some default keys ('background')) all drawings that belong to one logical unit are in one place.

Or do I miss something here.

Yes.

Good. But that is not clear in the class documentation. It only explains the font level layers.
And can someone explain the advantages of font level layers (implementation/performance and structurally)? You mention chromatic fonts. But I would consider that an edge case and even they will have a lot empty layers.

Good. But that is not clear in the class documentation. It only explains the font level layers.

Can you point to the line of code or portion of the documentation where this is the case? Here's the API glyph.layer documentation. There are probably places where there are old notes from when I was thinking all of this through. That may be what you are seeing. Anyway, did I mention that this is all a work in progress? fontParts is a currently incomplete experiment, especially incomplete in the documentation. I'm actually surprised that anyone is even paying attention to it.

And can someone explain the advantages of font level layers (implementation/performance and structurally)? You mention chromatic fonts. But I would consider that an edge case and even they will have a lot empty layers.

I don't want to get into that that debate again. Fonts with global layers exist and have existed for a very long time. Glyph level layers are cool, too. fontParts supports both. People have different opinions. təˈmeɪtəʊ - təˈmɑːtəʊ 🔨🔨🔨🔨💀🐴 No need to start a fight. Let's all just get along. fontParts doesn't say that one is better than the other and works hard to make the distinction invisible to scripters. If you want to use the abstract API classes, you can implement these things however you want. See all the NotImplementedErrors raised in the layer retrieval methods.
https://github.com/robofab-developers/fontParts/blob/master/Lib/fontParts/base/font.py#L483
https://github.com/robofab-developers/fontParts/blob/master/Lib/fontParts/base/glyph.py#L1721
https://github.com/robofab-developers/fontParts/blob/master/Lib/fontParts/base/glyph.py#L1756

No need to start a fight

I didn’t like to start a fight. I just like to see some arguments to better understand the matter.
Sorry for not understanding the documentation. I didn't see that there is a glyph.layers, only layer.glyphs. It takes a moment to understand something like this. Again, I didn't mean to be rude, if I was, I apologize.
To avoid confusion like this, there might be a small section in the main sidebar above the Layer entry that explains this.


Add test cases for xutils, xparser

@vgvassilev could you approve the CI builds on this PR? Thanks!

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 47.88%. Comparing base (f80ca79) to head (5038832).

Additional details and impacted files

@@            Coverage Diff             @@
##             main      #47      +/-   ##
==========================================
+ Coverage   46.98%   47.88%   +0.89%
==========================================
  Files          15       15
  Lines         779      779
==========================================
+ Hits          366      373       +7
+ Misses        413      406       -7

see 2 files with indirect coverage changes
see 2 files with indirect coverage changes

@tharun571, could you rebase this PR?

@vgvassilev rebased.


Memorable password generator backend

I sure do love this feature in MacOS

It has a few benefits over the current xkcd backend

You can include symbols. -s flag doesn't work with xkcd generation

You can generate a password based on total length, not just number of words

Doesn't have spaces by default. The help text from gopass generate -h doesn't seem to match up with the current behavior here. If I omit the -xs flag, spaces are included.

Trying to transfer passwords in meat-space (e.g. writing them on stickies) that were generated by the default backend Is a major pita.

This sounds like a good idea. We need to find a suiteable wordlist, but otherwise this should be fairly straight forward.

re-open

FWIW I use GOPASS_EXTERNAL_PWGEN environment variable with a diceware word list.

Maybe we could use tyler-smith/go-bip39

Thank you!!


Multiple Zotero collection map to multiple Notion database

Thank you for providing Notero add-ons!
I have several collection in my Zotero for quite different topic that I don't want to mix it together. I would like to know if you can add a feature so that we can have a unique Integration token and Database ID (Notion database) for each collection that I would like to update separately. Or maybe I just missed an existing feature please let me know! Thank you so much for your effort!

I am in the same situation. Thanks for the wonderful Notero add-ones. Would be great if it is possible the sync each collection separately. Thanks again!

Thanks for the feedback, everyone! I'm going to close this issue as a duplicate of #119. Please feel free to follow along there and add any additional input.


Next.js build fails when 'outputStandalone' experimental feature is enabled

What version of Turborepo are you using?
latest
What package manager are you using / does the bug impact?
Yarn v1, Yarn v2/v3 (node_modules linker only)
What operating system are you using?
Mac
Describe the Bug
First off, thank you for the great product.
I just started a brand new project with turborepo and wanted to use 'outputStandalone' experimental feature. The reason to use this feature is my docker images are too big without it.
My next.config.js file is like this:

const withTM = require("next-transpile-modules")(["ui"]);

module.exports = withTM({
  reactStrictMode: true,
  experimental: {
    outputStandalone: true,
  },
});

Screenshot

Expected Behavior
Successful build
To Reproduce
Create a new project with Turborepo then enable  'outputStandalone: true'

Encountering the same thing but in a NX monorepo

Have you read the Caveats section here?
You probably need to set outputFileTracingRoot in case you havent

@marcelltoth is correct. See the caveats section linked. Going to close this one.


whisper_full_with_state: failed to compute log mel spectrogram

Hi guys. I was transcribing flawlessly, but aiming to a more faster process I added the .WithSpeedUp2x() on the builder section and now  any audio is being transcribed. I only get the whisper_full_with_state: failed to compute log mel spectrogram error.
This is my builder
using var processor = whisperFactory.CreateBuilder()
    .WithLanguage("auto")
    .WithSpeedUp2x()
    .WithPrintProgress()
    .WithSingleSegment()
    .Build();

Is this related to whisper.net or is related to whisper.cpp by ggerganov?

If you came here to search about the same problem as my, give a look at ggerganov/whisper.cpp#1373


Update README for new offline ISOs

While they aren't being built by the release-iso action due to storage space limitations on GitHub releases, the new offline ISOs (https://github.com/ublue-os/isogenerator) should still make for a more reliable installation, and also enable pre-installing Flatpaks in the future.
I don't know if the current online ISOs are going away anytime soon, but if not, I'll keep that as an option. For the offline ISOs, we should document the necessary commands to create an ISO for each supported image.

Re-opening this for now, as ublue's isogenerator is basically being deprecated in favor of the upstream action. We'll either want to change the current instructions to work with it too, or just wait for whatever solution may come into BlueBuild.


docs: remove unused NonNull imports

Could you fix the doc warnings (which are now errors) for the unstable and very_unstable features as well? Alternatively, we could also keep the warning level at warn instead of deny by default and only deny warnings for the stable "Test Suite" job.

Could you fix the doc warnings (which are now errors) for the unstable and very_unstable features as well?

Ah, yes. Done. 👍

Thanks!


Cannot disassociate Waf for version V2

The code to disassociateWaf() was not operating correctly when we had associated a WAF with V2. From looking at the README, it says "Remove the associateWaf element from your custom configurtation" - but this is incorrect as then it will default to Regional
this.wafVersion = WAF${this.config.version || "Regional"} //config.version can be one of [V2, Regional]
So later in the code, it looks for a Waf here:
const webACLForResource = await this.provider.request(this.wafVersion, 'getWebACLForResource', params)
and comes back undefined due to looking it up by only the default waf version.
Workaround:
Remove the name field from the serverless element but keep the version field:
    associateWaf:         version: V2
Suggestions:
A) change the readme to let the user know that they need to keep the element but remove the name
B) when getting the webACLForResource, if it is undefined try and get one of the other version to make sure both are undefined

Thanks. I've updated the README for now.