Refactor internal handling of providers in kubectl-gs

Look at https://github.com/giantswarm/kubectl-gs/blob/main/pkg/commonconfig/commonconfig.go#L37-L59
It seems as if we only support three providers: AWS, Azure, OpenStack.
And OpenStack is the default?
This does not make sense to me and I wonder how it would make sense to any team implemenenting another provider.
If the intent was to have a value for "any CAPI provider", I think we should make this explicit.

This issue was resolved when a new logic to add support for authentication in CAPI clusters was added.
It was further extended when a new provides was added,


Add macOS and iOS

Add macOS and iOS (uikit experimental). I've tested on iOS and it does work fine.

@aclassen, may you possibly approve this pull request? Your library can be really useful it compose multiplatform.

I have copied this PR into my own fork at https://github.com/bpappin/ComposeReorderable/pull/2


Links inside pfe-modal inside pfe-navigation don't work

Standard links inside of modals work fine
Links inside of the tray slots in nav work fine
However, the modal on redhat.com used for the language switcher on modal has un-clickable links.

To reproduce:

Load redhat.com at a 400px screen width
Click on Menu
Click on English
Click any other language link in the modal (they don't work)

If, in web inspector, you drag the <pfe-modal> element out of the navigation, the links work again. The issue seems to be with the nav component.

It looks like the issue boils down to this bit of logic and what makes a link a directLink.
https://github.com/patternfly/patternfly-elements/blob/master/elements/pfe-navigation/src/pfe-navigation-item.js#L277
I'm able to tell that this is the case because when I click a language link, a hash ("#") is added to the URL.

@starryeyez024 After meeting with @castastrophe, I think this can be fixed without having to make any changes to pfe-navigation.
Take a look at this codesandbox.
https://codesandbox.io/s/pfe-navigation-mobile-language-kfzzq
The change I made was to move the modal out of the mobile-language slot. I then added some JS to open the modal when "English" is clicked in the mobile view.
I know that closing the modal also closes the mobile menu, which isn't ideal, but at least a different language can be selected now.
Let me know what you think.

Related to: https://github.com/patternfly/patternfly-elements/issues/945

Rally: #US261998 https://rally1.rallydev.com/#/detail/userstory/399031068408


Screen resolution is not being honored on launch.

##My screen resolution on my machine is 1920x1080
I copied game files over after install. (I have forgetten that before lol)
I have double checked the ini files inside MO and iSize for height and width are correct.
BUT when the game launches the screen size is incorrect and the menus are off the screen.
I was able to blindly navigate the menu to start the save game and everything else is working fine.
Thanks for this awesome mod list! I am excited to dig in!

I figured it out!
https://github.com/zhongjiedong/Tsukiro/wiki/1---Full-guide


How to be dead sure sync between cassandra and elastic search

Hi @vroyer,
Since, I'am going more and more deep with Elassandra. I have came across a scenario where I started Elassandra without Elastic mode on and then after inserting data in cassandra, I switched off Elassandra and again turned on after some time, this time with Elastic (-e) enabled. So,
curl -X GET "<IP_ADDRESS>:9100/_cat/indices?v" showed that documents were getting inserted into ES, but how can be I dead sure that entire data of cassandra was replicated to ES., means that count of documents that ES cat query should be exactly equal to the rows present in cassandra.
Thanks,

Any update @vroyer ?

Hi,
Sync is synchronous, when Cassandra update a row, Elasticsearch index is synchronously updated through the customs secondary index API.
Data become available for search on the next refresh (by default refresh is done every second, see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-refresh.html https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-refresh.html).
So unless you have an elasticsearch mapping issue, Elasticsearch is always sync.
Cheers.

Le 29 avr. 2019 à 07:17, writeaditya<EMAIL_ADDRESS>a écrit :
Any update @vroyer https://github.com/vroyer ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/strapdata/elassandra/issues/280#issuecomment-487454107, or mute the thread https://github.com/notifications/unsubscribe-auth/ACOMPGLXKTJBCBEYF7KYCV3PS2AG5ANCNFSM4HIUQIKA.

Yes, I understand this But i tried a small POC and found that there is some mismatch of data.
I did a count query on Cassandra table it shows 81 records and then i tried to count documents of same table in ES :- curl -X GET "ip:9100/_cat/indices?v"
This shows docs.count as 162 & docs.deleted as 70. Why there is a mismatch and what should I check. I have already checked the mapping its fine. Docs.count is exactly double the number of records i have in Cassandra table

Yes, doc.count is the total number of indexed documents in your Elassandra index (it’s a bit different than elasticsearch).
I guest you have replication factor= 2 => 2 * 81 = 162 indexed docs.
Delete docs result form updates, this is Lucene tombstones.

Le 29 avr. 2019 à 14:18, writeaditya<EMAIL_ADDRESS>a écrit :
Yes, I understand this But i tried a small POC and found that there is some mismatch of data.
I did a count query on Cassandra table it shows 81 records and then i tried to count documents of same table in ES :- curl -X GET "ip:9100/_cat/indices?v"
This shows docs.count as 162 & docs.deleted as 70. Why there is a mismatch and what should I check. I have already checked the mapping its fine. Docs.count is exactly double the number of records i have in Cassandra table
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/strapdata/elassandra/issues/280#issuecomment-487557142, or mute the thread https://github.com/notifications/unsubscribe-auth/ACOMPGMNGRSDWUTCEWGPAALPS3RSHANCNFSM4HIUQIKA.

No my Replication factor is 1 only. my keyspace description is :-
CREATE KEYSPACE dbname WITH replication = {'class': 'NetworkTopologyStrategy', 'DC1': '1'}  AND durable_writes = true;
Apart from this, i didn't get "replication factor= 2 => 2 * 81 = 162 indexed docs" , means let say if i Do have Rf =2 , so still i will anyways have 81 unique documents only then why it will show 162 indexed docs. Is it like it shows total no of documents ?

@vroyer - I'm looking for some concrete solution like I can query and check that my count in cassandra table is exactly same as count of documents in ES. Do we have any matrix or kind of query for this purpose ?

We don’t have your configuration, but you can also have « N documents per document » if you have nested docs.

Le 30 avr. 2019 à 06:32, writeaditya<EMAIL_ADDRESS>a écrit :
No my Replication factor is 1 only. my keyspace description is :-
CREATE KEYSPACE dbname WITH replication = {'class': 'NetworkTopologyStrategy', 'DC1': '1'} AND durable_writes = true;
Apart from this, i didn't get "replication factor= 2 => 2 * 81 = 162 indexed docs" , means let say if i Do have Rf =2 , so still i will anyways have 81 unique documents only then why it will show 162 indexed docs. Is it like it shows total no of documents ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/strapdata/elassandra/issues/280#issuecomment-487818603, or mute the thread https://github.com/notifications/unsubscribe-auth/ACOMPGKM76K7HBDC355JTBLPS7DXFANCNFSM4HIUQIKA.

You can count rows in cassandra table using Apache Spark, and compare it to elasticsearch total hits.

Le 30 avr. 2019 à 06:34, writeaditya<EMAIL_ADDRESS>a écrit :
@vroyer https://github.com/vroyer - I'm looking for some concrete solution like I can query and check that my count in cassandra table is exactly same as count of documents in ES. Do we have any matrix or kind of query for this purpose ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/strapdata/elassandra/issues/280#issuecomment-487818721, or mute the thread https://github.com/notifications/unsubscribe-auth/ACOMPGK2MJZ47A6MNFX3RALPS7D33ANCNFSM4HIUQIKA.

yeah , thats right Spark can give but I was thinking if we can simply check count in some meta data information like it is very easy in case of Elastic using => curl -X GET "ip:9100/_cat/indices?v"

@vroyer , I have just checked my count of documents in ES dashboard is x*2 as compared to cassandra. My replication factor of keyspace is 1.is there any other factor that needs to be checked ?

Hi @vroyer , any update on this ?

Has explain in my previous message, nested document are counted as document, and if you had RF=2 when inserting your docs,  you need to cleanup cassandra to remove those docs.

Stale issue, please reopen it if it's still an issue.


Cesium3DTileset onTileVisible event parameter

Base on the official document, this parameter type should be Cesium3DTile.
But in resium this type is Cesium3DTileset.
Is it a bug?

It was my mistake. It will be fixed in the next release.

Thanks for you comment and wonderful work.


Allow multidimensional variable with same name as dim when constructing dataset via coords

Supercedes #8884 as a way to close #8883, in light of me having learnt that this is now allowed! https://github.com/pydata/xarray/issues/8883#issuecomment-2024645815. So this is really a follow-up to #7989.

[x] Closes #8883
[x] Tests added
[x] User visible changes (including notable bug fixes) are documented in whats-new.rst
[ ] New functions/methods are listed in api.rst

nice find!


[REEF-136] Harmonize namespaces and folder names in Org.Apache.REEF proj...

...ects
This is to harmonize namespaces and folder names in Org.Apache.REEF for most of the projects.
Update folder name convention
Change namespace follow the folder structure
Update clr for driver name space
Updated jar file used in testing
Most projects have done only with a few proto related left. Will do it is a separate PR
JIRA: Reef-132. (https://issues.apache.org/jira/browse/REEF-132)
JIRA: Reef-135. (https://issues.apache.org/jira/browse/REEF-135)
JIRA: Reef-136. (https://issues.apache.org/jira/browse/REEF-136)
JIRA: Reef-137. (https://issues.apache.org/jira/browse/REEF-137)
Author: Julia Wang  Email<EMAIL_ADDRESS>

PR Merged.


Mac OS 10.12

[x] I have checked that a similar feature request does not already exist.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
Please make a version for old Mac OS... 10.12 is not so old
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I am on Mac 12.4. Running below steps:

brew tap --repair
brew update
brew install scrcpy

fixes the issue for me


Need a fix for typo on Universities page

Hey @RichardLitt
No matter how much I've tried, I haven't been able to delete this '' beside the JHU link on the Universities page
Can you fix this please?

Fixed!


Add styles for diary circumstances text field (EXPOSUREAPP-5161)

This PR styles the "circumstances" text field of the contact journal extension.
Remarks:

Although not in the design, we (@SamuraiKek has also implemented them this way in the screen to enter a person/location) decided to show the label when text is entered. This is also according to the material design guidelines ("label should always be visible")

Hm it doesn't look "nice" :fearful:
Maybe we should drop the TextInputLayout? So the white box less tall.
Is the InfoButton aligned correctly?

@d4rken I removed the label of the text field so now it should look better hopefully.
I also aligned the info button.
What do you think, is it nicer?


Hadoop logging receiver

Implements the logging receiver for Hadoop.
Based off of #351 - will rebase onto master after hadoop metrics are merged.

https://github.com/GoogleCloudPlatform/ops-agent/pull/351 has been merged.


Update Scala 2.11 and other versions

Current coverage is 95.07%

Merging #52 into master will decrease coverage by -4.93% as of 49339ce

@@            master     #52   diff @@
======================================
  Files           17      17
  Stmts          447     447
  Branches        37      37
  Methods          0       0
======================================
- Hit            447     425    -22
  Partial          0       0
- Missed           0      22    +22

Review entire Coverage Diff as of 49339ce

Powered by Codecov. Updated on successful CI builds.


Update get.md

Here is a pull request for the GET file (includes both GET request and GET response).

a small change and you're done


Stub/noop refs

I've come across a need to stub out or noop various children of a component. For example, say I have a high level view with children that load data; currently if I want to test the high level view I have to stub out the data loading of the children when in-fact I would much rather just not render the children at all and be done with it.
There are two problems to solve here:
1. How do you 'configure' this in a clean way?
One thought I had is a 'stub' tree:
var Bar = React.createClass({
  render: function () {
    return (

        <Baz ref="baz" />

    );
  }
});

var FooBar = React.createClass({
  render: function () {
    return (

        <Foo ref="foo" />
        <Bar ref="bar" />

    );
  }
});

var stub = {
  foo: null,
  bar: {
    baz: FakeBaz
  }
};

testTree(<FooBar />, stub);

But is this too much - do we need to care about deep stubbing, or should we only allow stubbing refs at the root node level?
2. How do we do this internally?
This I haven't really thought about yet. Currently the tree is rendered by calling renderIntoDocument. We would need some kind of filtering process in order to stub out the refs at each class level. I'm wondering if it would be possible to recursively wrap the render methods of each ref in the stub tree?
@jhollingworth I would love your thoughts on this

Would shallow rendering not give you most of the benefits but in a simpler way?

Already looked into it, but:
Shallow testing currently has some limitations, namely not supporting refs.

annoying! well the way you configure stubs makes sense. I have absolutely no idea how you'd implement this though...

Just spent a while trying to work this out.  I should be able to do it if I can find a way to intercept the render method of the element, however it is proving tricky to find.


Sidekiq halt helper changed

I have upgraded sidekiq version to 6.2.1  and I have problems with sidekiq statuses web interface, when job expires. Its uses sidekiq halt helper, that has been changed. Now its only accept status as argument without location and template.
Solution is stop using sidekiq definition and call throw :halt instead of halt
    app.get '/statuses/:jid' do
      job = Sidekiq::Status::get_all params['jid']

      if job.empty?
        # halt [404, {"Content-Type" => "text/html"}, [erb(sidekiq_status_template(:status_not_found))]]
        throw :halt, [404, { 'Content-Type' => 'text/html' }, [erb(sidekiq_status_template(:status_not_found))]]
      else
        @status = add_details_to_status(job)
        erb(sidekiq_status_template(:status))
      end
    end
  throw :halt, [404, { 'Content-Type' => 'text/html' }, [erb(sidekiq_status_template(:status_not_found))]]

The same in:
  # Retries a failed job from the status list
  app.put '/statuses' do
    job = Sidekiq::RetrySet.new.find_job(params[:jid])
    job ||= Sidekiq::DeadSet.new.find_job(params[:jid])
    job&.retry

    # halt [302, { "Location" => request.referer }, []]
    throw :halt, [302, { 'Location' => request.referer }, []]
  end

  # Removes a completed job from the status list
  app.delete '/statuses' do
    Sidekiq::Status.delete(params[:jid])

    # halt [302, { "Location" => request.referer }, []]
    throw :halt, [302, { 'Location' => request.referer }, []]
  end

Thanks.

Hi @durcak, this has been addressed in version 2.0.0, which is now maintained at https://github.com/kenaniah/sidekiq-status. Thank you for reporting!


[ORM] Propose Design for Create/Update/Delete functions

Description:
$subject

Added in https://docs.google.com/document/d/1zRpyEtVLndKpEcdPmlAMqLOXLm9FBKt4FrAyv_DeNts


Unreal 5.4.2 Project Missing Modules

Hey, I got this error after starting the project with activated Plugin.
The following modules are missing or built with a different engine version:
SUDS
SUDSEditor
SUDSTest
Engine modules cannot be compiled at runtime. Please build through your IDE.

SUDS is a C++ module and you need to actually build it, details are in the Readme. Basically your project has to be a C++ project and you build it with Visual Studio, or Rider etc. That's always been the case.
If you want a pre-built version where you don't have to do this then SUDS Pro is on the Marketplace, it also adds supplemental features beyond just dialogue running.

I got it, has to update my vs code because I run into build issues.
Now I will check out your documentation. :)
Your stuff looks great! Thanks for your work


Update Asm Spartacus sample data

remove the Asm CMS component.
remove the added user rights for asagentgroup since this was added in 1905.5

PR: https://github.tools.sap/cx-commerce/spartacussampledataaddon/pull/37

Tested on dev10, with the updated spartacussampledata.

Verified that asm works in general (can place an order on behalf of a customer, change his personal details etc)
Verified that asm's timer still works.
Verified that asm's customer search still works.
Verified starting the customer's session through asm or login page.
Verified on 3 browsers (chrome, firefox, safari).


Reconstruction chain rewrite: make it standalone

Goal: Rewrite the reconstruction chain in order to make it independent of any algorithm. This will bring also bring some efficiency improvement, given that some tasks are currently doing more operations than required due to legacy code related to the trigger cell bin shifting algorithm (under bye_splits/iterative_optimization.py).
The geometry was extended to provide multiple events at once and more variables (including generated- and cluster-related). It continues to output pandas dataframes for simplicity (this might be changed in the future in case it becomes too slow due to pile-up).
A running script example was included under bye_splits/run_chain.py.
The old tasks were kept in backup (bye_splits/tasks_old/) while the legacy trigger cell shift algorithm is also not rewritten taking into accounts the changes in this PR.
Linked to #15 .

@mchiusi Please, do not convert draft PRs to the "ready" state unless you authored them.
@isehle Sorry to bother, I will let you know once this PR is ready to be merged.

Thank you @isehle for the review and approval.
@mchiusi, could you share your thoughts?


Key expired

Current Behavior
I look and it say:
"Your temporary key has expired and was removed. Please restart the application"
this happened on may 1. I had no time to look in for it. and i saw that the beta key expired on February 2024.
but my pc not running docker has no issues.
Environment

OS: Debian / proxmox
OS version: 12 (Bookworm)
CPU: intel core i5 6500
Docker version: Docker version 20.10.24
Browser/OS: brave win10

Container creation
docker-compose
Container log
[cont-init   ] 89-info.sh: terminated successfully.
[cont-init   ] all container initialization scripts executed.
[init        ] giving control to process supervisor.
[supervisor  ] loading services...
[supervisor  ] loading service 'default'...
[supervisor  ] loading service 'logrotate'...
[supervisor  ] loading service 'logmonitor'...
[supervisor  ] service 'logmonitor' is disabled.
[supervisor  ] loading service 'app'...
[supervisor  ] loading service 'gui'...
[supervisor  ] loading service 'certsmonitor'...
[supervisor  ] service 'certsmonitor' is disabled.
[supervisor  ] loading service 'xvnc'...
[supervisor  ] loading service 'nginx'...
[supervisor  ] loading service 'openbox'...
[supervisor  ] loading service 'autodiscripper-1'...
[supervisor  ] service 'autodiscripper-1' is disabled.
[supervisor  ] loading service 'autodiscripper-11'...
[supervisor  ] service 'autodiscripper-11' is disabled.
[supervisor  ] loading service 'autodiscripper-13'...
[supervisor  ] service 'autodiscripper-13' is disabled.
[supervisor  ] loading service 'autodiscripper-12'...
[supervisor  ] service 'autodiscripper-12' is disabled.
[supervisor  ] loading service 'autodiscripper-6'...
[supervisor  ] service 'autodiscripper-6' is disabled.
[supervisor  ] loading service 'autodiscripper-15'...
[supervisor  ] service 'autodiscripper-15' is disabled.
[supervisor  ] loading service 'autodiscripper-4'...
[supervisor  ] service 'autodiscripper-4' is disabled.
[supervisor  ] loading service 'autodiscripper-2'...
[supervisor  ] service 'autodiscripper-2' is disabled.
[supervisor  ] loading service 'autodiscripper-14'...
[supervisor  ] service 'autodiscripper-14' is disabled.
[supervisor  ] loading service 'autodiscripper-7'...
[supervisor  ] service 'autodiscripper-7' is disabled.
[supervisor  ] loading service 'autodiscripper-5'...
[supervisor  ] service 'autodiscripper-5' is disabled.
[supervisor  ] loading service 'autodiscripper'...
[supervisor  ] service 'autodiscripper' is disabled.
[supervisor  ] loading service 'autodiscripper-8'...
[supervisor  ] service 'autodiscripper-8' is disabled.
[supervisor  ] loading service 'autodiscripper-3'...
[supervisor  ] service 'autodiscripper-3' is disabled.
[supervisor  ] loading service 'autodiscripper-10'...
[supervisor  ] service 'autodiscripper-10' is disabled.
[supervisor  ] loading service 'autodiscripper-9'...
[supervisor  ] service 'autodiscripper-9' is disabled.
[supervisor  ] loading service 'autodiscripper-0'...
[supervisor  ] service 'autodiscripper-0' is disabled.
[supervisor  ] all services loaded.
[supervisor  ] starting services...
[supervisor  ] starting service 'xvnc'...
[xvnc        ] Xvnc TigerVNC 1.13.1 - built Dec 21 2023 00:55:16
[xvnc        ] Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst)
[xvnc        ] See https://www.tigervnc.org for information on TigerVNC.
[xvnc        ] Underlying X server release 12014000
[xvnc        ] Sat Mar  2 11:19:58 2024
[xvnc        ]  vncext:      VNC extension running!
[xvnc        ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)
[xvnc        ]  vncext:      Listening for VNC connections on all interface(s), port 5900
[xvnc        ]  vncext:      created VNC server for screen 0
[supervisor  ] starting service 'nginx'...
[nginx       ] Listening for HTTP connections on port 5800.
[xvnc        ] Sat Mar  2 11:19:59 2024
[xvnc        ]  Connections: accepted: /tmp/vnc.sock
[xvnc        ]  SConnection: Client needs protocol version 3.8
[xvnc        ]  SConnection: Client requests security type None(1)
[xvnc        ]  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
[supervisor  ] starting service 'openbox'...
[xvnc        ]  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888
[xvnc        ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc        ]  ComparingUpdateTracker: (1:-nan ratio)
[supervisor  ] starting service 'app'...
[supervisor  ] all services started.
[xvnc        ] Sat Mar  2 11:22:02 2024
[xvnc        ]  VNCSConnST:  closing /tmp/vnc.sock: Clean disconnection
[xvnc        ]  EncodeManager: Framebuffer updates: 25
[xvnc        ]  EncodeManager:   Tight:
[xvnc        ]  EncodeManager:     Solid: 10 rects, 3.94155 Mpixels
[xvnc        ]  EncodeManager:            160 B (1:98539.4 ratio)
[xvnc        ]  EncodeManager:     Bitmap RLE: 1 rects, 160 pixels
[xvnc        ]  EncodeManager:                 68 B (1:9.58824 ratio)
[xvnc        ]  EncodeManager:     Indexed RLE: 10 rects, 3.764 kpixels
[xvnc        ]  EncodeManager:                  2.51855 KiB (1:5.88445 ratio)
[xvnc        ]  EncodeManager:   Tight (JPEG):
[xvnc        ]  EncodeManager:     Full Colour: 13 rects, 60.672 kpixels
[xvnc        ]  EncodeManager:                  66.4668 KiB (1:3.56798 ratio)
[xvnc        ]  EncodeManager:   Total: 34 rects, 4.00614 Mpixels
[xvnc        ]  EncodeManager:          69.208 KiB (1:226.121 ratio)
[xvnc        ]  Connections: closed: /tmp/vnc.sock
[xvnc        ]  ComparingUpdateTracker: 1.73943 Mpixels in / 60.55 kpixels out
[xvnc        ]  ComparingUpdateTracker: (1:28.7272 ratio)
[xvnc        ] Sat Mar  2 11:23:01 2024
[xvnc        ]  Connections: accepted: /tmp/vnc.sock
[xvnc        ]  SConnection: Client needs protocol version 3.8
[xvnc        ]  SConnection: Client requests security type None(1)
[xvnc        ]  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
[xvnc        ]  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888

This is expected, see https://github.com/jlesage/docker-makemkv?tab=readme-ov-file#expired-beta-key
I don't know about your PC (did your purchased a key?), but the beta key is really expired and a new one is not available yet: https://forum.makemkv.com/forum/viewtopic.php?f=5&t=1053

I did not buy on my pc. I find it crazy that that works fine. but thanks now I know I need to wait


Complete the port of the Python library

Description
Tasks

[x] What is currently called ensure needs to become validate: https://github.com/frictionlessdata/jsontableschema-py/blob/master/jsontableschema/validate.py

[x] Check existing logic is valid
[ ] Add any required additional logic to be consistent with Python lib

[x] Check infer and make consistent with https://github.com/frictionlessdata/jsontableschema-py/blob/master/jsontableschema/infer.py
[x] What is currently models needs to become model: https://github.com/frictionlessdata/jsontableschema-py/blob/master/jsontableschema/model.py

[x] Check we have all methods. I know that some methods to deal with data are missing
Note: This is an area for improvement in the Python lib too. See we are discussing it. So do not sweat over details here. Perhaps you'll have suggestions for how we can improve the interface.

[x] Check types and make consistent with Py version. This means adding lots of things not in the JS version yet, to do with constraints
[x] Remove direct dependency on Bluebird. As this is a low-level utility library, we want to remove bloat. As part of instructions, we need to tell users that they need a runtime that supports promises (as Node, Chrome, Firefox, Safari do), or they add their own polyfill.
[x] Tests: we need very good unit test coverage on every function

Noting that the GeoJSON type on the Python lib uses a schema to validate, included as a file in the codebase. I'll put that file online somewhere and we'll use it with a HTTP request here in the JS lib for smoother Node/Browser compat. Ping me when this is needed.

@zhenyab a few additions before we merge:

[ ] Rename model.js to schema.js (and allow importing Schema directly from jsontableschema)
[ ] Schema.schema to Schema.descriptor (to be consistent with some naming changes on other related libs

https://github.com/frictionlessdata/jsontableschema-js/blob/feature/port-python/src/model.js#L276

DONE.


Report a bug about this command "git reset head^".

Git Verson: git version 2.24.1
Platform: macOS Mojave 10.14.6
Functions: git worktree.
I use the worktree to avoid checkout too many repos.
But When I execute this command: git reset head^, Terriable thing happenes:
您的分支和 'origin/xxx' 出现了偏离，
并且分别有 14517 和 18976 处不同的提交。
Anyone can help me ?

Hey @wxdut ,
As you can see in the issue template, this repository issue tracker should only be used to report problems found on the git-scm website (https://git-scm.com/).
Git specific issues should be raised with the community (https://git-scm.com/community).


Old 1.2.x initializer files don't work in 2.x?

Closing this, it was deprecated in 2.0 with a warning, and master is already well along the way to 2.1, so I've removed that code in master completely.


Align Visualization data model with other data models

Add format property (format: Format)
Remove data property. Instead, this should be computed from layout[].data[].simulation_results.

is the format property the same as the Format type?

Yes. I had excluded this originally because all Visualizations will be in Vega format. To better align the resources (models, simulations, visualizations), I think it could be good to explicitly track the format. The value would always be set to Vega (or Vega lite).

Got it.
Should both visualization and chart have this?
best
Bilal
On Thu, Apr 9, 2020 at 6:08 PM Jonathan Karr<EMAIL_ADDRESS>wrote:

Yes. I had excluded this originally because all Visualizations will be in
Vega format. To better align the resources (models, simulations,
visualizations), I think it could be good to explicitly track the format.
The value would always be set to Vega (or Vega lite).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/reproducible-biomedical-modeling/Biosimulations/issues/443#issuecomment-611776455,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHX4FIAFRQZX5G7WNROTLN3RLZBNFANCNFSM4MCZESIA
.

That makes sense.
The one resource that doesn't have a clear format is Project. COMBINE archive (zip file) would be the closest, but we shouldn't advertise that format on the website until the application can compile a project to a COMBINE archive.


TypeScript 2.2.2

[Enter feedback here]
On the page it say that one need to use typescript 2.2.2, but that is impossible to download, are sure that is is TypeScript 2.2.2 and not typeScript 3.2.2 ?

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

ID: 776f646a-f316-8c84-d190-57ecd88547a0
Version Independent ID: 80208288-e39f-bacc-c8ad-7c51470e9cce
Content: Migrate the Retail SDK from Visual Studio 2015 to Visual Studio 2017 - Commerce | Dynamics 365
Content Source: articles/commerce/dev-itpro/retail-sdk/migrate-sdk.md
Service: **dynamics-365-commerce **
Product: ****
Technology: ****
GitHub Login: @mugunthanm
Microsoft Alias: mumani

@rabol, thank you for posting this feedback!
@mugunthanm, please review and update the content, as needed.

As mentioned in the document, you can install Typescript version 2.2 from Visual Studio.
Open Visual Studio, go to Tools > Get Tools and Features. Select the Individual components tab and select the TypeScript 2.2 SDK from SDKs, libraries, and frameworks section and install it.


Custom dictionaries with custom labels calls english dictionary

Hello,
Is this a syntax error or a bug?
ExtraLocales=li ,gr ,la ,ba ,lt
works perfectly, while with ExtraLocales=li Littre, gr Le Grand Robert, la Larousse, ba Basique, lt Nouveau Littre
, the list of dictionaries is of course more explicit, but does not work; by selecting one of the EXTRA dictionaries, the "English-English" dictionary is called; it informs me that no English dictionary is not installed.
Also this slight detail : names with accents are massacred. Littré rather than Littre
Merci beaucoup
Firmware and kobopatch version: 4.22.15190 with Allow searches on Extra dictionaries: yes

This solution is quite satisfactory. Thank you for your work.
ExtraLocales=li_Littre, gr_Le_Grand_Robert, la_Larousse, ba_Basique+, lt_Nouveau_Littre


Error "Invalid device flow scope" with googlesource.com

If you use the -device flag with googlesource.com you get the following error:
2023/09/14 06:50:19 oauth2: cannot fetch token: 400 Bad Request
Response: {
  "error": "invalid_scope",
  "error_description": "Invalid device flow scope: https://www.googleapis.com/auth/gerritcodereview"
}

This could only be fixed by persuading Google to add https://www.googleapis.com/auth/gerritcodereview to the allowed list of device flow scopes at  https://developers.google.com/identity/protocols/oauth2/limited-input-device#allowedscopes

Reported upstream https://issues.gerritcodereview.com/issues/300279941


Additional GPU targets

Please add support for add support for gfx1100, gfx1101 and gfx1102.
Please guard the selection of the architecture with rocm_check_target_ids. I am a little wary of adding another dependency to this project, so you may want to copy the code to this repo.

Please guard the selection of the architecture with rocm_check_target_ids

As it stands, both the CMake and Makefiles automatically detects which architecture(s) the user has, and compiles for those targets exactly. For CMake, this is also documented on CMAKE_HIP_ARCHITECTURES. As there are no binary releases for the examples (at least currently), and the user is expected to compile them on their own accord anyway, Im not sure that it is necessary to hardcode the list of supported targets, or to compile examples for targets that the user does not have anyway. This also allows us to keep the CMake file for the examples self contained, as we do not need to introduce this check for every example.


Train code

Hi, great work!
Where is train.py?

Hi,
Thanks for following our work! We are still cleaning and refining the code a bit. We will release the code later.
Jim


Implement Basic Linting UI

[ ] display information about linting errors and warnings (e.g. number of linting errors) in status bar
[ ] display detailed information about linting errors and warnings in dedicated UI (similar to existing log)

Depends on https://github.com/camunda/camunda-modeler/issues/2326
Child of https://github.com/camunda/camunda-modeler/issues/2323

Sketch


Tree node widget marketplace guide

The update is brought to PR3648, and will be discussed there. I will close this PR.


Lifter for merge

I created a new crossProject named compiler, isolated my classLifter from the mono project, and put it into the new project. Several tests were also added to the new project for the lifter.

Thanks! But you don't seem to have any tests where classes are defined within functions. Isn't it supported? 🤔
Please make sure that is supported and test that feature in a new test file (the existing one is big enough). This support is crucial for using lifting to convert lambdas into nested classes into top-level classes.

Please make sure that all my comments are addressed. When you are sure they are, you can close the corresponding conversations. Otherwise, leave a follow-up message and I'll answer.
Please also remove the warnings. You can use ""+_ instead of _.toString.


Retry pypi password encryption

Travis deployment fails with a 403 from PyPI during the deployment step.
Steps taken:
brew install travis
cd ~/graphql-core-next
travis encrypt <password> --add deploy.password

Unfortunately, this still didn't work. Someone on SO advised to add the --com option when running travis encrypt. This could actually be the problem, since graphql-core-next was orignially on travis.org and then migrated to travis.com when travis.org became deprecated. So can you make another attemtpt with the --com option? If that doesn't help, I'll contact Travis support.


Error: Invalid Conditional Pattern for, apparently, valid regex

fluentd or td-agent version
td-agent-2.3.1-0.el6
Environment information, e.g. OS
CentOS 6
Your configuration
<source>

  @type tail
  path /var/log/minimal.log
  pos_file /var/log/td-agent/pos/minimal-log.pos
  tag minimal
  format /(?(?=request:)request:(?<request>.*))/
</source>

<match **>
  type bufferize
  buffer_type file
  buffer_path /var/log/td-agent/*.buffer
  <config>
    type secure_forward
    secure true
    shared_key ---------------
    self_hostname ${hostname}
    ca_cert_path /etc/td-agent/ssl/certs/ca_cert.pem
    <server>
      host fake.hostname.com
    </server>
  </config>
</match>

Your problem explanation. If you have an error logs, write it together.
When I try to start td-agent, I get an error saying my conditional pattern is invalid.
# /etc/init.d/td-agent start
Starting td-agent: 2016-08-15 12:19:07 -0400 [error]: fluent/supervisor.rb:359:rescue in main_process: config error file="/etc/td-agent/td-agent.conf" error="Invalid regexp '(?(?=request:)request:(?<request>.*))': invalid conditional pattern: /(?(?=request:)request:(?<request>.*))/"
                                                           [FAILED]

This is also happens when I use Fluentular:
goo.gl/URE310
However, when I use regex101 to verify my statement, it works just fine.
https://regex101.com/r/lT9vW6/4
Could someone please point out my mistake or what's expected differently?

Ruby's regexp is not based on PCRE.
Your pattern is PCRE specific syntax, right?

It uses PCRE extended regular expression syntax.

I'm not sure what the differences between the syntaxes are in this case, but it was resolved with this small change:
format /((?=request:)request:(?<request>.*))/

Just so it's clear and in a same post to compare characters:
Original non working
format /(?(?=request:)request:(?<request>.*))/
@robert-7 's version
format /((?=request:)request:(?<request>.*))/
non capturing global if
format /(?:(?=request:)request:(?<request>.*))/


inference results for 05-18-2023

Hi @martinjankowiak here are new BVAS results that I ran this week!

@bkotzen actually i think i lost repo access can you please ask @JacobLemieux to give me repo ownership again?

@JacobLemieux can you please restore my admin access to this repo?
cc @bkotzen


Inform unauthorized user about missing elemental-administrator role

When clicking on the OS management menu, a user without the elemental-admin role granted got:

The last sentence talks about installing the Elemental Operator but does not mention a missing role. I think it could be mentioned to avoid confusion.

Nice, perfect! thx

Tested locally and all good!


Improve layout for larger screens

I am currently using the Elk app on a larger screen and I have noticed that there is empty space on the left and right. To improve the user experience, I suggest the following changes:

The menu should be attached to the left side of the screen
The timeline should fill the rest of the screen, and the right panel should appear on wider screens

One way to implement these changes would be to add a new variant to the unocss for native, which would only be included in Tauri builds.

The timeline is fixed at 600px because going above that currently destroys cards (for example social images are already quite blurry). So this requires quite a bit of work to have the cards maybe on the side? It is hard... other platforms also restrict to 600px max for the same reason I imagine.

We could set the max width of the window, but then we won't show the right panel. This is not a big problem for now, but we should keep this in mind later when we add additional information on the right.


light command seems dont work

if i try to use light command it just respond the following error in /denizen debug
http://one.denizenscript.com/paste/36447

Pushed a fix to DEV-23. Thanks for the report!


Stripping out tabs

Also removed a variety of other unnecessary characters, and standardized formatting, fixes #20

@helrond wow that's a lot of work! thank you! I'll go ahead and merge the branch


Can't debug in Visual Studio Code

Brief Issue Summary
Can't make the Visual Studio Code debugger work.
Expected:

Run CMake Configuration

The result:
[cmake] Configuring done
[cmake] CMake Deprecation Warning:
[cmake]   The 'cmake-server(7)' is deprecated.  Please port clients to use the
[cmake]   'cmake-file-api(7)' instead.
[cmake]
[cmake]
[cmake] Generating done

Select Clang 11.0

Allow IntelliSense for this folder

Build

The result:
[build] Starting build
[proc] Executing command: /usr/local/bin/cmake --build /Users/xxx/Desktop/cmake/hello/build --config Debug --target all -- -j 6
[build] Scanning dependencies of target say-hello
[build] [ 25%] Building CXX object CMakeFiles/say-hello.dir/hello.cpp.o
[build] [ 50%] Linking CXX static library libsay-hello.a
[build] [ 50%] Built target say-hello
[build] Scanning dependencies of target hello
[build] [ 75%] Building CXX object CMakeFiles/hello.dir/main.cpp.o
[build] [100%] Linking CXX executable hello
[build] [100%] Built target hello
[build] Build finished with exit code 0

Set the break point and run Debug

Apparent Behavior:

It seems the editor hangs
The information in Output

[build] Starting build
[proc] Executing command: /usr/local/bin/cmake --build /Users/xxx/Desktop/cmake/test/build --config Debug --target hello -- -j 6
[build] [ 50%] Built target say-hello
[build] [100%] Built target hello
[build] Build finished with exit code 0
[proc] Executing command: /usr/bin/lldb-mi --version
[proc] Executing command: /usr/bin/gdb --version
[proc] Executing command: /usr/bin/lldb --version
[proc] Executing command: /usr/bin/lldb --version

Platform and Versions

Operating System: macOS 10.15
CMake Version: 3.15.5
VSCode Version: 1.40.2
CMake Tools Extension Version: 1.2.3
Compiler/Toolchain: Xcode

As long as i know cmake is only for building final image/binary. You need install extension for debugging for device you want to. E.g. i am debugging arm embedded device so i am using gdb debugger or cortex debugger.

Are you hitting this issue?  https://github.com/microsoft/vscode-cpptools/issues/3829
We're working on it (with the C++ extension).

@bobbrow Yes, I have the same issue. Thanks for your information.
Based on this youtube video, we even don't need to setup launch.json or task.json to debug. Is that true?

That is correct. You shouldn't need a launch.json or tasks.json. If you do need to override a setting for debugging, you can use the cmake.debugConfig setting.

The problem is this:
[proc] Executing command: /usr/bin/lldb --version
The default lldb gets picked, which will not work. The launch command of  /usr/bin/lldb --interpreter=mi will just fail with
Starting: "/usr/bin/lldb" --interpreter=mi
lldb: unrecognized option `--interpreter=mi'

The root of the issue is in this fallback codepath in this plugin: https://github.com/microsoft/vscode-cmake-tools/blob/50fc5ba265ee13f53dc9f273d0f1635c8861bd7d/src/debugger.ts#L163
If your compiler is "/usr/bin/clang" it tries to use "/usr/bin/lldb" as a debugger, and does not respect the "miDebuggerPath" setting in launch.json ( as launch.json might not even exist here ).
It works fine when hardcoding something like : let clang_debugger_path = '/Applications/Xcode.app/Contents/Developer/usr/bin/lldb-mi'; instead, which is what the plugin code should probably be trying by default, or alternatively look for lldb-mi provided by vscode-cpptools

FYI, miDebuggerPath can be set via the cmake.debugConfig setting:
    "cmake.debugConfig": {
        "miDebuggerPath": "/path/to/lldb-mi"
    },

@bobbrow your suggestion did the trick for me, before than:
[main] Starting debugger with following configuration. ... "miDebuggerPath":"gdb"
So it was effectively ignoring:
"miDebuggerPath": "C:\\Program Files (x86)\\mingw-w64\\i686-8.1.0-posix-dwarf-rt_v6-rev0\\mingw32\\bin\\gdb.exe"
In launch.json.

I believe this issue was addressed but was never closed.  If any of you are still having issues, we encourage you to open a new issue.


[v2.2.4] Global DNS: not able to setup alidns

What kind of request is this (question/bug/enhancement/feature request): BUG
Steps to reproduce (least amount of steps as possible):

Global > Tools > Global DNS Providers > Add DNS Provider
select alidns
Enter the Name, access key, secret key
click save

Result:
Error Message:
"Api Email" is required
"Api Key" is required
Other details that may be helpful:
There is no API Email text box on the setup page, not shure where to enter those information
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): rancher/rancher:v2.2.4
Installation option (single install/HA):HA

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
Machine type (cloud/VM/metal) and specifications (CPU/memory):
Kubernetes version (use kubectl version):

(paste the output here)

Docker version (use docker version):18.9.7

(paste the output here)

Anyone knows whats going wrong?

Tested with rancher master-head from July 23
This version can add alidns in Global DNS and add it successfully.


addWebpackModuleRule doesn't work

I want to add 'raw-loader' or 'text-loader' to import markdown files.
I tried
const { override, addWebpackModuleRule } = require('customize-cra');
module.exports = override(
  addWebpackModuleRule(
    {
      test: /\.md$/,
      use: { loader: 'raw-loader' }
    }
  )
)

It doesn't work. It only shows the path instead of the content of the md files.
I also tried
module.exports = override(
  addWebpackModuleRule(
    {
      test: /\.md$/,
      use: { loader: require.resolve('raw-loader') }
    }
  )
)

or
const { override, addWebpackModuleRule } = require('customize-cra');
module.exports = override(
  config => ({
    ...config,
    output: {
      ...config.output,
      globalObject: 'this'
    },
  }),
  addWebpackModuleRule(
    {
      test: /\.md$/,
      use: { loader: 'row-loader' }
    }
  )
)

But it still doesn't work.
Then I run
yarn eject

and add raw-loader into webpack.config.js
{
     test: /\.md$/,
     loader: require.resolve('text-loader')
}

it works.
And should api.md from
module.exports = {
  override(
    addWebpackModuleRule({text: /\.txt$/, use: 'raw-loader'})
  )
}

change to
// text -> test
module.exports = override(
    addWebpackModuleRule({test: /\.txt$/, use: 'raw-loader'})
)

Are you saying your last example (changing text -> test) is working for you?

The api.md example is fixed in d1bd182.

Are you saying your last example (changing text -> test) is working for you?

No, it still doesn't work 😂😂😂

same issue

Published a fix for this under v0.6.1 thanks to @postgetme's work in #164.


fix: reduce boilerplate code

Codecov Report
Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (2c735b8) 59.17% compared to head (a774a84) 59.19%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1043      +/-   ##
==========================================
+ Coverage   59.17%   59.19%   +0.02%
==========================================
  Files          19       19
  Lines        2557     2551       -6
  Branches      916      912       -4
==========================================
- Hits         1513     1510       -3
  Misses        695      695
+ Partials      349      346       -3

Files
Coverage Δ

src/utilities.h
100.00% <100.00%> (ø)

src/logging.cc
67.27% <80.00%> (+0.05%)
:arrow_up:


Fix Onclick function for two new resources

Style was cursor over for two new resources, hence during demo asked to do the same as other icons on the screen.

and


Include category IDs along with category code for Azure Maps

The documentation appears to be incorrect - these category codes are returned by the API, not used when doing a category search.
Category searches require the category ID which is not listed on this page. To make matters more confusing, the category tree at https://atlas.microsoft.com/search/poi/category/tree only returns the human readable name, not the category code (as returned by the APIs) so correlating the ID to the code is a manual operation.

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

ID: 71ae7e5c-f99e-0700-d37b-8646ff2bf8b1
Version Independent ID: 1a920879-b05f-939f-4fa3-1cfa1cd94250
Content: Search Categories
Content Source: articles/azure-maps/supported-search-categories.md
Service: azure-maps
GitHub Login: @sataneja
Microsoft Alias: sataneja

@stewartadam Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.


Make size smaller by converting to grayscale

For a given fixed size and fixed quality (let's say 0.8), is it possible to reduce file size even further / save even more kB by saivng the image as grayscale JPG?
How to do that @xkeshi?
What additional % reduction can we hope by discarding color and going grayscale (in general)?

I have not idea on this. Sorry for that.


Module should remember last connected model

When on the auto-detect mode, the module should remember what model it was last connected to, so that offline editing works smoother and doesnt default back to the tvs version.
Perhaps the default model should be changed from the tvs to something more modern?

Perhaps the SDI Extreme ISO could be a good default atem, as it is widely used, and covers 4 out/ 8 in, supersource, multiview, and rec/streaming.


If you read this

If you are reading this, that means you are worried something
.
Let me know, and we could communicate here .

hi~great work！ will you  open  the  code  about  i-kdtree?  Thank you!

请问是把剔除动态点云那部分删除了吗

请问是把剔除动态点云那部分删除了吗

是的。传统激光，用livox那种动态点剔除就不合适了。


fixed a few minor mobile issues

There were some mobile market creation styling issues:

User could not create orders on mobile in market creation form.

We need to hide the advanced button here.  I think andys pr has a fix for that

made changes.


[WIP] nv driver

If you have an improved IOCTL=1 for NVIDIA, maybe get that merged first?

Some simple kernels work, but stuck after running 3-4 as of now. Will investigate.
Yeah, might put ioctl into a sep pr, also wanna include a fifo dumper into it

Good progress.

No I haven't spent much time on multigpus, just basic p2p experiments mapping cpu pages to both gpus, but it's slower than cuda's transfer. Want to fix and cleanup one gpu setup before going multigpu.

As of now all tests pass for single gpu. Cleaned up and refactored into queues. Still want to clean up nv imports somehow and memory management (while refactoring for multigpu).

Next steps:

It doesn't need to support cards without P2P support, welcome to delete that from NV.
It should work with the HCQ tests I wrote for KFD
Add a graph executor that works for both KFD and NV.
Get PM4 packets working (better) in KFD. (I think I forget to clear the HDP)
Test KFD a bit more, when ready, delete HSA.

Why are class_ioctl and nv_ioctl still in this repo? Can't you just use nv_gpu?

What's it going to take to merge this?

Should be good to merge. Tests and models look good


Can't change builder mode

rftools 1.12 7.13
mcjtylib 1.12 2.4.5
forge <IP_ADDRESS>7
https://gist.github.com/MrRiegel/e42c61d6349068b457f93d04f6543574

And what exactly are you doing in game to cause that problem? Details please

I put a space chamber card into the builder and try to change mode from copy to move. when i click the button it changes the mode only on client and the crash appears in the log.

ok. I will check it out. Is the shape card linked to a controller?

yes. preview works too

Description
Builder will not allow changing mode for space chamber card. Clicking the mode button visually scrolls through options, but machine does not actually change mode.
Expected Behavior
When clicking the mode button, with a correctly setup chamber and chamber card, machine should cycle through options. On leaving GUI and going back in, machine should be on the last mode option selected and functionally use that mode.
Steps to Reproduce

Set up space chamber as expected and set the space chamber card id to it.
Place card in builder
Cycle through mode options
Leave GUI
Go back into GUI, setting has gone back to copy mode.

Image attached shows world space GUI not being synced with GUI of machine.

Technical Details
Minecraft 1.12.2
Forge <IP_ADDRESS>9
RFTools 1.12-7.13

Unfortunately having the same issue on the Space Astronomy 2 modpack.
Minecraft 1.10.2, rftools-1.1x-7.13, Forge <IP_ADDRESS>1
Tried changing the Tile Entity options on the builder RFTools configs (as I thought it had something to do with that), but no effect.

We're having this same issue in ATM3. Click the button cycles, but the display over the machine doesn't update and exiting then re-entering the GUI shows it back at copy.

I found the problem. Will be fixed next release


Accordion functionality works, looks good

This still need some work: make look good
Contributes #377

After the PR is approved. I can make changes to cypress and layout of the SurveyPage.


Make SlickGrid right to left direction to be familiar with RTL languages?

The reading scope of RTL languages from right side to left side.
Can SlickGrid support ("RTL Mode") which means?
- SlickGrid beginning from right side instead of left side.
- Horizontal scroll bar beginning from right side instead of left side.
- Vertical scroll bar location on the left side instead of right.
- When resize column to left the column size from right will be smaller instead of larger.
Image Example:
http://i.imgur.com/XcCFW.jpg
JsFiddle Example:
http://jsfiddle.net/fJNW9/4/

I've been looking for solution for this too.


ir: Fix is_in_non_fully_specialized_template check.

Fixes https://github.com/servo/rust-bindgen/issues/462
r? @upsuper

I didn't write the patch because I'm not fully sure how this should be handled. I guess is_template_like is the right way, but I'm not confident enough on what does that mean. Do we have a reliably way to detect whether one is a template (rather than a template specialization)?

Probably we should add a new method called is_template and check whether kind is one of CXCursor_FunctionTemplate, CXCursor_ClassTemplate, CXCursor_ClassTemplatePartialSpecialization, and CXCursor_TypeAliasTemplateDecl.
is_template_like sounds vague here as well... And I'm not sure whether the lack of function template there could be a problem here.

@bors-servo r+ (if I can)

@upsuper: :key: Insufficient privileges: Not in reviewers

@bors-servo r=upsuper

:pushpin: Commit eb0a8af has been approved by upsuper

@bors-servo retry

Travis is drunk lately

:pushpin: Commit 993a959 has been approved by upsuper

@bors-servo r=upsuper

:hourglass: Testing commit 993a959 with merge 44119eb...

:sunny: Test successful - status-travis
Approved by: upsuper
Pushing 44119ebc87b807a8147054d40afc7dcb9d638c2e to master...


🚀 Feature: support embedding APIs for OpenAI

Which component is this feature for?
OpenAI Instrumentation
🔖 Feature description
Support OpenAI Embeddings API. Note that since outputs are extremely big, we probably shouldn't add them to a span, just the metadata
🎤 Why is this feature needed ?
Complete visibility into usage of LLMs
✌ How do you aim to achieve this?
Similar to current instrumentation for chat / completion APIs
🔄 Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

Are you willing to submit PR?
None

We want this feature to keep track of data related to model, Token usage, as part of the API request.
Something like:
engine, model, usage.
I think we should enable it by default. We could have an env variable to disable this. If this is not required by everyone.

Fixed with #335


docs(playground): add live coding playgrounds to component pages

What I did

Add Playground Elements over unpkg CDN (recommended to load from a separate origin for security)
Add a playground 11ty shortcode for component pages
Apply that shortcode to the footer page

Testing Instructions

https://deploy-preview-467--red-hat-design-system.netlify.app/components/footer#demo

Notes to Reviewers

blocked by https://github.com/patternfly/patternfly-elements/pull/2136

Huge thanks to @heyMP, @brianferry, and @zeroedin for their help debugging playground module resolution issues.

@RedHat-UX/designers ready for review. Anything not critical can we spin out into a new issue?

@bennypowers There is nothing under the Demo heading to click on.

@coreyvickery which brower are you using?

@bennypowers Latest version of Chrome.

@bennypowers Latest version of Chrome.

runs fine for me in ff, chromium, and webkit. perhaps you need to clear cache?

this pr only implements it on footer, subsequent prs will do each component page one by one, and the ia will shake everything up, but this technology will be a part of the new pages once we're ready to build out the new ia

@markcaron Would like your opinion about adding this to the website for footer only.

I think with a little design love (as @marionnegp mentions) and use of our <rh-tabs>, this is a great feature.
We start with the footer for now and/or apply it to the new IA component templates. Whichever comes first.
Also, I like the concept of "Broducts" (in the main description and footer) 😅

can we merge this, start the process of adding it to other component pages, and iterate on the design?

@heyMP can you double check the merge to rh-footer demo?

Netlify builds were failing. I fixed that by updating the pfe-tools dependency. WDYT, can we merge as is and iterate on the design in subsequent PRs? @marionnegp @markcaron

can we merge this, start the process of adding it to other component pages, and iterate on the design?

@bennypowers We are discussing the design with Mark today, we should have direction about next steps very soon.

If it's going to be awhile maybe we should hide the thing, or remove the shortcode from the footer page but merge the infrastructure.
Noting this before I forget: it would be good to show the snippet only first, with a button to load the demo playground. This is how I did it on apolloelements.dev

@markcaron @marionnegp I did a quick pass at a design for these demos. If you read above, Benny wants to:

show the snippet only first, with a button to load the demo playground

I like this approach as it saves a lot of vertical space. We can also use several web components to build this larger one.
https://xd.adobe.com/view/0779bcd8-06d0-49d7-86c3-de81534d70b1-522a/
cc @bennypowers

@coreyvickery can we do that in a subsequent PR?


Invalid link?

The link for the diagnostic tool appears invalid.
It resolves to https://home.diagnostics.support.microsoft.com/SelfHelp?knowledgebaseArticleFilter=2870357
No DNS for home.diagnostics.support.microsoft.com

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

ID: 2d5eff63-106d-9679-a548-6f68b30d712b
Version Independent ID: b8c1d0db-a564-48b7-3d2b-c5aec5ab0d46
Content: Troubleshoot volume activation of Office - Deploy Office
Content Source: DeployOffice/vlactivation/troubleshoot-volume-activation-of-office.md
Product: office-perpetual-itpro
GitHub Login: @DHB-MSFT
Microsoft Alias: danbrown

@FC-EricWeller  Thanks for contacting us about this. We are aware of the issue with this link and are investigating. We'll update the article once we determine whether the tool has been moved or has been retired.

@FC-EricWeller   Those diagnostic tools are no longer available for download, so we have removed that information from the article.


Clean properties files, set DERBY_FLAG=true to start the DERBY DB

Clean property files.
Set env flag DERBY_FLAG=true to start the DERBY database so that Data Source can connect.
Configure t3 port.
Correct readme.

Thank you Avi, I really appreciate it. Enjoy your leave.

Monica, I must have missed something. I did not see where the username/password used in  OracleWebLogic/samples/12213-domain-home-in-image/container-scripts/create-wls-domain.py come from.

In the container-scripts/createWLSDomain.sh when the wlst is called the property file with the credentials and the domain properties to configure the domain are passed in.
wlst.sh -skipWLSModuleScanning -loadProperties ${DOMAIN_PROPERTIES_FILE} -loadProperties ${SEC_PROPERTIES_FILE}  /u01/oracle/create-wls-domain.py

@doxiao I have made the corrections we agreed on except for DERBY DB.  I will look at connecting to an external DB later.  Please if you could review.


homeassistant.util.async - blocking call to sleep

2023-06-14 19:34:15.628 WARNING (MainThread) [homeassistant.util.async_] Detecte
d blocking call to sleep inside the event loop. This is causing stability issues
. Please report issue to the custom integration author for tuya_local doing bloc
king calls at custom_components/tuya_local/device.py, line 78: self._api = tinyt
uya.Device(dev_id, address, local_key)

Duplicate of #407


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-28-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4330

Questions ?
Please refer to the Backport tool documentation


Throwing java.util.ConcurrentModificationException fix

Removing an item from the list while iterating on it will throw:
Caused by: java.util.ConcurrentModificationException
if there's more than one item in the list:

@krokyze please review it and merge it and update fit_kit package on pub.dev

Will be fixed in next release.


Ensure that bb.js publishes with new release flow

Noir team commented implying that the circleci release channel being closed affected bb.js - investigate & fix why this is the case, what are we doing differently

Fixed on #9303 #9324


Is there a way to do this in windows ?

I would like to try it

@beppe9000 never tested this on Windows! Feel free to submit a Pull Request if you manage to make it work on Windows. :)

With this I booted the android-x86 iso setup using the qemu 4.2.0  binary ( i had to use the -rtc parameter to pass the time like you did in the scripts).
qemu-img create -f qcow2 hard_disk.img 10G
qemu-system-x86_64.exe -boot d  -hdb hard_disk.img  -cdrom "android-x86_64-9.0-r1.iso" -m 1024 -rtc base=localtime -L . -net nic -net user

The install procedure completed but the installed android system boots to a command prompt so I figure there might be some problem with the process. Do you have any idea?


Cannot find the file specified during app.UseWebpack

Hello,
I am trying to use webpack in my asp core project and the app crashes on app.UseWebPack() saying that it cannot find the file specified.
Program.cs
public void Configure(IApplicationBuilder app)
{
app.UseDeveloperExceptionPage();
        Authentication.ConfigureAuth(app);

        app.UseMvc(routes =>
        {
            routes.MapRoute(
                name: "AdminPrefix",
                template: "{controller=Home}/{action=Index}/{id?}");
        });

        app.UseWebpack("webpack.config.js", "bundle.js", new WebpackDevServerOptions("localhost", 5000));
    }

package.json
{
"name": "bingatwork-adminportal",
"version": "1.0.0",
"description": "Admin portal for Bing At Work",
"config": {
"output": "./objd/amd64/"
},
"devDependencies": {
"webpack": "^1.13.1",
"webpack-dev-server": "^1.14.1"
}
}
When I run the program, I get some weird errors:
webpack is not installed. Please install it by executing npm i webpack
webpack-dev-server is not installed. Please install it by executing npm i webpack-dev-server
All node modules are properly installed
webpack-dev-server Execution started
webpack-dev-server is called with these arguments: --config webpack.config.js
Clearly, I have webpack-dev-server and webpack installed since it is executing and it is in my node_modules. Also, my webpack.config.js is in my root directory and I checked that the file exists by using File.Exists(). Can anybody help me out? I can give you more information if you need it.

Microsoft just came out with a webpack middleware that solved all of my issues very quickly.
using Microsoft.AspNetCore.SpaServices.Webpack;
--configure

			if (env.IsDevelopment())
			{
				app.UseDeveloperExceptionPage();
				app.UseWebpackDevMiddleware(new WebpackDevMiddlewareOptions
				{
					HotModuleReplacement = true,
					ConfigFile = "./webpack/webpack.config.js"
				});
			}
			else
			{
				app.UseExceptionHandler("/App/Error");
			}

I tried using Microsoft's webpack middle ware and now it's saying "cannot find the module aspnet-webpack" when it's in my node_modules folder. Do you have any suggestions on what might be going on? I am running a very custom server build of asp core 1.1.

Well, you need one or the other.  Not both.
The middleware is just to make webpack execute and build when you run in VS in .net core, actual webpack should do the rest using your config file.
The names can be confusing, but just separate what you do in your Startup.cs vs what you put in your packages.json.


Fix --target getting passed twice to the Android NDK clang on Windows

When using the Android NDK toolchain on Windows, cc-rs currently attempts to pass --target twice:
running: "C:\\Users\\arcdev\\AppData\\Local\\Android\\Sdk\\ndk\\25.0.8775105\\toolchains\\llvm\\prebuilt\\windows-x86_64\\bin\\clang.exe" "--target=armv7a-linux-androideabi21" "-O0" "-DANDROID" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=armv7-linux-androideabi" "-Wall" "-Wextra" "-E" "src/android-api.c"

Since the second --target doesn't have an Android ABI version attached, this causes the NDK to not define __ANDROID_API__, among other things.
This seems to be a regression introduced by #572, which replaces the clang path in get_base_compiler and thus accidently breaks the android_clang_compiler_uses_target_arg_internally check later in add_default_flags.
This PR adds a field has_internal_target_arg to the Tool struct, which is set inside get_base_compiler and replaces the check in add_default_flags, so everything works as originally intended.

Ok, I've been looking at this and it seems reasonable to me. Since it's been awhile (sorry for the long delay) can you confirm that this is still the approach you want and that it's working for you, etc?

@Arc-blroth here from triage. Checking to see if you're still active.
Please respond, thanks

@pitaj I'm still here! I've been extremely busy with other work these past few days, but I'll try to get around to looking at this within the next week.

I kinda forgot about this PR again (whoops) I'll actually take a look sometime tomorrow morning

Thanks! When you have a moment could you also squish the commits into one?

(update) I'm getting a weird error in cc's inclusion of backtrace's build script when trying to build a toolchain with this and rust-lang/rust#116318 - debugging that right now...

in the backtrace-rs buildscript std::env::current_dir() is rust\library\std and file!() returns library\std\..\backtrace\build.rs, so backtrace-rs is trying to resolve android-api.c at rust\library\std\library\backtrace\src\android-api.c, which definitely doesn't exist

Not exactly sure how to resolve that yet. In the meantime, we should definitely change the CI tests so this is caught by the android Docker run.
It currently shows up but only as a warning which is why we didn't catch it before.

adding
+ assert!(android_api_c.try_exists().unwrap(), "android-api.c could not be found for compilation");

to backtrace-rs' buildscript causes the entire build to fail (right now), so we should leave that in as a future check

An alternative is to just use .expand() instead of matching on .try_expand():
let expansion = cc::Build::new().file(android_api_c).expand();

Which will panic on failure, which seems like the right thing to do anyways.
I feel like some of the other error cases should probably also not fail silently:
    // When will this not be utf-8? Can probably just unwrap
    let expansion = match std::str::from_utf8(&expansion) {
        Ok(s) => s,
        Err(_) => return,
    };
    println!("expanded android version detection:\n{}", expansion);
    let marker = "APIVERSION";
    // If marker not found, probably a big problem?
    let i = match expansion.find(marker) {
        Some(i) => i,
        None => return,
    };
    // Lack of the __ANDROID_API__ expansion is probably okay
    let version = match expansion[i + marker.len() + 1..].split_whitespace().next() {
        Some(s) => s,
        None => return,
    };
    // But if it exists but isn't a number? Probably sign of a problem that should stop the build
    let version = match version.parse::<u32>() {
        Ok(n) => n,
        Err(_) => return,
    };
    if version >= 21 {
        println!("cargo:rustc-cfg=feature=\"dl_iterate_phdr\"");
    }

rust-lang/cargo#3946 would be really nice to have here for figuring out build.rs's absolute location, but no PR has been merged for it yet :(

A more robust solution that could work in backtrace-rs right now would be to include_str!("src/android-api.c, and then throw that string into a temp folder for cc consumption, but it definitely feels incredibly hacky.

The file is pretty short, I would probably just inline the string altogether. I'll try writing it to OUT_DIR or something

(update 2) Trying to cross-compile the stage1 library artifacts from Windows to Android, which is currently failing because rustc is linking the artifacts as if they were Windows binaries instead of Android binaries (???)

It seems that this (year old) code still works!
running: "C:\\Users\\arc\\AppData\\Local\\Android\\Sdk\\ndk\\26.0.10792818\\toolchains\\llvm\\prebuilt\\windows-x86_64\\bin\\clang.exe" "--target=aarch64-linux-android21" "-O3" "-DANDROID" "-ffunction-sections" "-fdata-sections" "-fPIC" "-DANDROID" "-ffunction-sections" "-fdata-sections" "-fPIC" "-E" "C:\\Users\\arc\\git3\\rust\\build\\x86_64-pc-windows-msvc\\stage1-std\\aarch64-linux-android\\release\\build\\std-5c28ba14c53f822b\\out\\android-api.c"

Along with rust-lang/rust#116318 and rust-lang/backtrace-rs#556, the toolchain built by this trio of PR produces backtraces that Just Work:tm: on Android:
package ai.arcblroth.backtracefix

import android.os.Bundle
import androidx.activity.ComponentActivity

class MainActivity : ComponentActivity() {
    companion object {
        init {
            System.loadLibrary("backtracefix")
        }
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        rust()
    }

    private external fun rust()
}

use std::ffi::CString;
use std::os::raw::{c_char, c_int, c_void};

fn android_log_error(text: String) {
    extern "system" {
        fn __android_log_write(prio: c_int, tag: *mut c_char, text: *mut c_char);
    }

    let tag = CString::new("backtracefix").unwrap();
    let c_text = CString::new(text.replace("\x00", " ")).unwrap();
    unsafe {
        __android_log_write(6, tag.into_raw(), c_text.into_raw());
    }
}

#[no_mangle]
pub extern "C" fn Java_ai_arcblroth_backtracefix_MainActivity_rust(_env: *mut c_void, _this: *mut c_void) {
    android_log_error(format!("=== Backtrace ===\n{:?}", std::backtrace::Backtrace::force_capture()));
}

Logcat output:
=== Backtrace ===
Backtrace [{ fn: "Java_ai_arcblroth_backtracefix_MainActivity_rust", file: "C:\Users\arc\AndroidStudioProjects\BacktraceFix\backtracefix-rs\src\lib.rs", line: 18 }, { fn: "art_quick_generic_jni_trampoline" }, { fn: "art_quick_invoke_stub" }, ...

Nice!


Makes the accuracy ring a circle layer rather than fill layer

Closes #79

[ ] Still need to add logic to adjust when the user zooms in and out.

I'm blocked, trying to fix the zoom issue and the circle layer remaining with a radius that's X meters no matter what zoom level. Currently, the circle sizing is based on the viewport instead of the map.


Users can be added to Aggie Experts outside of the current scope

We are adding users to Aggie Experts based on their job codes. However, there may be situations where an individual may want to be included earlier than a planned roll-out. We welcome Aggie Experts supporters, so we need a functionality that would allow us to add users on a custom basis.

I have submitted an issue to CDL for guidance on adding new groups to the production system.  When we get that guidance, which I assume ill be have at it, We'll create an aggie experts group at Elements, I expect that will be a combo list as in
experts
- senate (This will be an auto query)
- federation (auto)
- additional (a list we maintain)
Then we can manage this on CDL, and always be up-to-date.

Thanks, @qjhart , this doesn't need to be ready for 2.0. I've been adding items to the backlog without milestones to indicate items we want to work on, but are not MVP.


Change task status to DONE and UNASSIGNED

Issue: #800
As AVAILABLE and COMPLETED task status are being depreciated and UNASSIGNED and DONE are to be added to status site.
Description:

Changes are made to retrieve tasks with status UNASSIGNED when UNASSIGNED is clicked.
Changes are made to retrieve tasks with status DONE when DONE is clicked.

Dev Tested:

[x] Yes

Test coverage:

Currently:

After Changes:
https://github.com/Real-Dev-Squad/website-status/assets/77037622/4b30425f-5dfb-40c0-9411-b6b6e3d915f3
Follow-up Issues:
https://github.com/Real-Dev-Squad/website-my/issues/468

It depends on the backend changes I think can you confirm it?

Also, add the test coverage stats.

It depends on the backend changes I think can you confirm it?

Yes, this PR will be changing it.
https://github.com/Real-Dev-Squad/website-backend/pull/1328


[WIP] Multi round nbest rescoring

There are several decoding methods in icefall now,  their pipelines are demonstrated  as the picture below. What I want to do in this pull request locates in the red rectangle, it was proposed here(https://github.com/k2-fsa/snowfall/issues/232) several weeks ago.

This is just at the very beginning, just copy the related previous work from k2 & snowfall.

After fixing some errors, now I can get the same WER using nbest attention rescoring, see the table below:

Decoding method
WER(%) test-clean
WER(%) test-other
Notes

rescore with attention decoder (num-paths=500, max-duration=1, lattice-score-scale=0.5)
2.57
5.94
the original attention rescoring method

rescore all nbest path with attention decoder(num-paths=500, max-duration=1, lattice-score-scale=0.5)
2.57
5.98
rescore all the unique nbest path, should be the same with the above row, just to check the function rescore_nbest_with_attention_rescorer is right

rescore topk * 2 nbest  path with attention decoder(topk=10,num-paths=500, max-duration=1, lattice-score-scale=0.5)
2.59
5.97
rescore the top2k nbest path (sorted by lattice scores) with attention decoder

rescore topk + topk nbest path with attention decoder(topk=10, num-paths=500, max-duration=1, lattice-score-scale=0.5)
2.59
6.03
rescore topk nbest path (sorted by lattice scores) first, select the other topk path by a small estimation model, then rescore the selected topk nbest path with attention decoder

The future plans are:

Tune the small model that predicting the rescoring score of a path (to select better path).
Support batch processing (only support batch-size=1 now).
Check the code to speed up the decoding (now it spends more time than original attention-decoder method, 29mins vs 20mins or so).


can be useful for building all and localhost all

can be easier if u dont wanna do it mannually

being fixed


jruby: <IP_ADDRESS> -> <IP_ADDRESS>

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for jruby is: Ruby interpreter written in Java
meta.homepage for jruby is: https://www.jruby.org/
meta.changelog for jruby is: https://github.com/jruby/jruby/releases/tag/<IP_ADDRESS>
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found <IP_ADDRESS> in filename of file in /nix/store/jxl5yj9rcwv1p9i8ryjrjq2v7jqnq93i-jruby-<IP_ADDRESS>

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

jruby

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/jxl5yj9rcwv1p9i8ryjrjq2v7jqnq93i-jruby-<IP_ADDRESS> \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A jruby https://github.com/r-ryantm/nixpkgs/archive/2cf18cc6c0f7791efb862c0a04b390eb978abc9e.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/2cf18cc6c0f7791efb862c0a04b390eb978abc9e#jruby

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/jxl5yj9rcwv1p9i8ryjrjq2v7jqnq93i-jruby-<IP_ADDRESS>
ls -la /nix/store/jxl5yj9rcwv1p9i8ryjrjq2v7jqnq93i-jruby-<IP_ADDRESS>/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

jruby

Maintainer pings
cc @fzakaria for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge


Update depcheck script for minimum supported Node version

Ref #4977

Warnings

:warning:

This PR modified package.json, but not package-lock.json - Perhaps you need to run npm install?

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @paulmelnikow!

  Generated by :no_entry_sign: dangerJS against 21cab3e5253a6286902e420ccd7a57081ecf6a1b

Heh. The e2e failure will be fixed by a change to the Circle config in #5052.

I think it should just work this time.


fixing some strange highlighting issues

@xzbdmw I have had to revert the previous fix partially due to seeing some weird stuff like text being partially highlighted.
I did leave parser:set_included_regions(regions) call that you added in there, and did some measurements and it seems like the performance did not suffer.

some weird stuff like text being partially highlighted

I guess it is because the regions is modified by treesitter internal operation, if you print the regions later, in includes the wrong bytes offset( with type Range[6] ) ,I have faced some similar issue in telescope, fixed by copy the region
    treesitter.attach(buf, vim.deepcopy(regions))

thank you, will try!

@MagicDuck it needs to be vim.deepcopy(regions, true)

@xzbdmw hmm, just tried it and it did not make a difference in my case.
Also, get_parser and languagetree have same performance with set_included_regions() just after it. So will leave as is for now! Thank you for looking into it though!


Improvements to stochastic triple getters and setters

Improvements and tests for internal functions for querying stochastic triples, in particular their type params.

Codecov Report
Base: 88.47% // Head: 89.69% // Increases project coverage by +1.22% :tada:

Coverage data is based on head (01b7cae) compared to base (2babef8).
Patch coverage: 100.00% of modified lines in pull request are covered.

:exclamation: Current head 01b7cae differs from pull request most recent head 4416a37. Consider uploading reports for the commit 4416a37 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
+ Coverage   88.47%   89.69%   +1.22%
==========================================
  Files           9        9
  Lines         451      456       +5
==========================================
+ Hits          399      409      +10
+ Misses         52       47       -5

Impacted Files
Coverage Δ

src/stochastic_triple.jl
76.11% <100.00%> (+1.92%)
:arrow_up:

src/general_rules.jl
92.78% <0.00%> (+5.15%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


feature: Disable ReactiveUI Platform Registrations

What does the pull request do?

This PR removes irrelevant platform namespaces from ReactiveUI's PlatformRegistrationManager. Now, Avalonia.ReactiveUI will no longer try to load ReactiveUI.WinForms, ReactiveUI.XamForms, ReactiveUI.Wpf etc. implicitly. This behavior confused people with the "Break on all exceptions" option enabled in Microsoft Visual Studio (that option is available there by default).
Also, we now wrap Avalonia.ReactiveUI registrations in a Locator.RegisterResolverCallbackChanged in order to ensure Avalonia.ReactiveUI-specific services get re-registered into Locator when the underlying container implementation changes, e.g. a user installs Splat.DryIoc and calls Locator.SetLocator(new DryIocDependencyResolver()). This also eliminates a wide class of errors reported by people who override the default Splat.Locator and do not have the required dependencies wired up automatically.

Planning to cover our RegisterResolverCallbackChanged callback with a unit test soon.


ci: disable relative import in code base

Description

Add ruff rule and disable related import
Related Issues

Checklist

[x] Is this code covered by new or existing unit tests or integration tests?
[x] Did you run make test successfully?
[ ] Do new classes, functions, methods and parameters all have docstrings?
[x] Were existing docstrings updated, if necessary?
[x] Was external documentation updated, if necessary?

Additional Notes or Comments

Codecov Report
Patch coverage: 96.96% and project coverage change: -0.01% :warning:

Comparison is base (8211c27) 78.42% compared to head (316dcc0) 78.42%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #782      +/-   ##
==========================================
- Coverage   78.42%   78.42%   -0.01%
==========================================
  Files          81       81
  Lines        5081     5080       -1
==========================================
- Hits         3985     3984       -1
  Misses       1096     1096

Files Changed
Coverage Δ

superduperdb/ext/torch/utils.py
72.50% <0.00%> (ø)

superduperdb/vector_search/lancedb_client.py
87.77% <ø> (-0.14%)
:arrow_down:

superduperdb/__init__.py
100.00% <100.00%> (ø)

superduperdb/__main__.py
69.23% <100.00%> (ø)

superduperdb/base/config.py
100.00% <100.00%> (ø)

superduperdb/base/configs.py
97.29% <100.00%> (ø)

superduperdb/base/logger.py
36.36% <100.00%> (ø)

superduperdb/cli/__init__.py
100.00% <100.00%> (ø)

superduperdb/cli/config.py
71.42% <100.00%> (ø)

superduperdb/cli/docs.py
73.68% <100.00%> (ø)

... and 12 more

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

PTAL @rec @thejumpman2323

We should plan all these changes, not just make them at random!  :-)
We discussed relative imports before and decided not to forbid them.

We should plan all these changes, not just make them at random! :-)
We discussed relative imports before and decided not to forbid them.

Do you mean should create an issue to describe the plan for a change of ci, and start the work after approval?  Cause it is can be auto-fixed by ruff and takes a little time, so I directly make this PR.
BTW, why we decided keep relative import in our project?

BTW, why we decided keep relative import in our project?

Because it's less clutter and it was already there?
from .model import TorchModel
vs
from superduperdb.ext.torch.model import TorchModel
One of the advantages of putting related .py files into a submodule is exactly this.

A question you should always ask is, "Is this change going to make the code more reliable, or make it do something new, or fix a problem, or make it easier for someone else to use it, or make money for someone, or make someone's life easier?"

Thanks for pointing it out, will close this PR.
But I personally think we should use absolute import make is straightforward and reliable when we do some refactoring :lay


Convert Cookies from Zend to PSR-7

Cookies don't seem to be handled at all by Psr7ServerRequest::fromZend(). Is there a reason for that or is this just not implemented yet?

Nevermind, I've already opened PR #5.


Prometheus monitoring for the g-stream

Pelican Service: Cache, Origin
In https://github.com/xrootd/xrootd/pull/2206, there are new monitoring statistics added for measuring the overall I/O load on an origin or cache.  Once/if that work gets merged, let's add a corresponding Prometheus metric.
Goal is to have the I/O load eventually be part of the cache and origin selection logic alongside GeoIP.

Move to 7.8 as OSG build of xrootd can't be released before 7.7 release.

Waiting for a new RPM to be build by @matyasselmeci or Xrootd 5.7.0 release; otherwise the plumbing work is done in my local branch. Given that the v7.8 release is today (5/2), I'm not sure if we can include this in v7.8.0 release

The new RPM is out yesterday and I was able to test it with the rest of the pipeline and it works. I will finish up installing the patch RPM in various containers today and hopefully get the PR out later today.


Merging inferred args with calls to synthetics

This is a possible fix to #1133.
For
import scala.concurrent.ExecutionContext.Implicits.global
val f1 = scala.concurrent.Future {1}
val f2 = scala.concurrent.Future {2}

for (v1 <- f1; v2 <- f2 if v1 > v2) yield v1+v2

it generates:
[169..169): *.flatMap[Int](*)(scala.concurrent.ExecutionContext.Implicits.global)
...
[179..179): *.withFilter(*)(scala.concurrent.ExecutionContext.Implicits.global)
...
[190..190): *.map[Int](*)(scala.concurrent.ExecutionContext.Implicits.global)
...

LGTM. Thanks for taking care of for comprehensions - this was a significant omission in our functionality :)

Awesome work @fikovnik !


Allow morphing between Data Object Reference and Data Store Reference

related to #592

Works, cf. https://github.com/bpmn-io/bpmn-js/issues/1372.


metadata.annotations does not support annotation run.googleapis.com/secrets

Summary
Creating a new Cloud Run service that uses Secret Manager fails with this error:
╷
│ Error: Error creating Service: googleapi: Error 400: metadata.annotations: Annotation 'run.googleapis.com/secrets' is not supported on resources of kind 'Service'. Supported kinds are: Revision, Execution
│ Details:
│ [
│   {
│     "@type": "type.googleapis.com/google.rpc.BadRequest",
│     "fieldViolations": [
│       {
│         "description": "Annotation 'run.googleapis.com/secrets' is not supported on resources of kind 'Service'. Supported kinds are: Revision, Execution",
│         "field": "metadata.annotations"
│       }
│     ]
│   }
│ ]
│
│   with module.cloud_run.google_cloud_run_service.default,
│   on .terraform/modules/cloud_run/main.tf line 2, in resource "google_cloud_run_service" "default":
│    2: resource google_cloud_run_service default {
│
╵

I believe this is happening because the run.googleapis.com/secrets annotation is being set in metadata.annotations where it's not supported.
Removing the run.googleapis.com/secrets annotation from here should fix the issue.
Example Code
Terraform to reproduce the error:
variable "project_id" {
  type        = string
  description = "The GCP project ID where the resources will be created."
}

# Create a service account
resource "google_service_account" "this" {
  project      = var.project_id
  account_id   = "my-service-account"
  display_name = "my-service-account"
}

# Create a secret in Secret Manager
resource "google_secret_manager_secret" "secret" {
  project   = var.project_id
  secret_id = "my-secret"
  replication {
    automatic = true
  }
}

# Store the secret value
resource "google_secret_manager_secret_version" "secret" {
  secret      = google_secret_manager_secret.secret.id
  secret_data = "super-secret-value"
}

# Allow the service account to read the secret value from Secret Manager
resource "google_secret_manager_secret_iam_member" "secret" {
  project   = var.project_id
  secret_id = google_secret_manager_secret.secret.secret_id
  role      = "roles/secretmanager.secretAccessor"
  member    = "serviceAccount:${google_service_account.this.email}"
}

module "cloud_run" {
  source = "git::git@github.com:garbetjie/terraform-google-cloud-run.git//?ref=2.2.1"

  project               = var.project_id
  location              = "us-central1"
  name                  = "my-cloud-run"
  image                 = "us-docker.pkg.dev/cloudrun/container/hello"
  service_account_email = google_service_account.this.email

  env = [
    {
      key     = "MY_SECRET"
      secret  = google_secret_manager_secret.secret.id
      version = "latest"
    },
  ]
}

Whoops. Somehow I missed this issue. I'll take a look at replicating it when I have a chance.
Are you still experiencing it?

I'm also experiencing it.
According to this issue, the fix should in theory be simply moving "metadata" out of the "template" block:
https://github.com/hashicorp/terraform-provider-google/issues/10958#issuecomment-1019698109


Move connection callback registration/execution out of sql.hpp/cpp files

It doesn't make sense that we need to include sql.hpp when we need to register connection callbacks.

I think you're right. There's already a plugin somewhere else. Probably better to move both into their own header.

This has actually been in a separate header for a while now.


Replace MeSH tree numbers with IDs

This PR replaces most MESH tree numbers with IDs appearing in definitions and xrefs. This mostly addresses #1557.
First, I mapped all tree numbers to MESH IDs where this was possible (i.e., the tree number is still valid in the current release of MeSH). Second, for cases where this was not possible, I used Gilda (https://github.com/indralab/gilda) to find an appropriate match in MeSH. Overall, the statistics are as follows:

A total of 98 MeSH tree numbers appear in definitions or xrefs
54 of these could be mapped to IDs using a simple lookup in the current MeSH release
30 of the remaining ones could be mapped by Gilda
14 tree numbers remain unmapped, though it looks like these could be worked out with some manual digging

An overview spreadsheet to help review the changes is here: https://github.com/bgyori/cell-ontology/blob/329a9ce9b0a6b53feeea4ed984dfe503f6fd20cf/cl_mesh_mappings.csv
I also wanted to mention here as well the question in #1557, namely, whether it makes sense that these MESH references often (only) appear in the definition instead of the xref list. Should this be changed?

I found a few suspicious mappings where the original tree number (probably due to MeSH having changed over time) is not mapped to an appropriate ID currently. I will push some manual overrides for these cases.

After some manual improvements, the final tally is:

A total of 98 MeSH tree numbers appear in definitions or xrefs
53 of these could be mapped to IDs using a simple lookup in the current MeSH release
31 of the remaining ones could be mapped by Gilda
8 of them, I mapped manually
6 tree numbers remain unmapped, where I wasn't confident enough in a good replacement


Improve Python error granularity

produce.async_wait succeeds but returns None

known issues fixed, can reopen if new error visibility is needed


Video to show why it would be nice to have normal sight as option

I have thinked numerous times why darkvision is different to Normal Sight (D&D5) ....
have seen a difference - but cant nail it down ....
Then i have an scene where i finaly found the answer ...
(have maked an Video...)
https://youtu.be/9EjjqZpkb7s
as you can see ... (i explain)
In the GM sight (and for all player that use not darkvision and use normal sight, the difference between bright light, and dimm light zones is clear visible ...
If i select the player, you cant see the difference between bright/dimlight anymore (or only hard)
This is the reason i would like to see an additional switch to normal sight in the nice drop down list where the player can select the sight variant.
That he can see the scene in the same way as player/NPCs/Monsters that have normal sight.

Removed the dim-to-bright boost of Darkvision, which means Darkvision players can enjoy the lighting just like non-Darkvision players.
https://github.com/dev7355608/vision-5e/releases/tag/v1.9.0


Compress HTML documents

After generating HTML documents, to keep output as a minimum size could be added some automatic compression for HTML documents.

After the enginær.generation step, should be used gulp-htmlmin. It will provide HTML compression.
return enginær.generate()
        .pipe(htmlmin({ collapseWhitespace: true }));


Rest arguments don't work with mapped types

TypeScript Version: 3.1.0, 3.1.0-dev.20180810

Search Terms:
mapped types, rest parameters
Code
interface A {
    emit(event: string, ...args: any[]): boolean;
}

type Args<F> = F extends (...args: infer A) => void ? A : never;

type EventMap = Record<string, Function>;

interface B<M extends EventMap> extends A {
    emit<Event extends keyof M>(event: Event, ...args: Args<M[Event]>): boolean;
}

Expected behavior:
No errors.
Actual behavior:
Compile error:
t.ts:9:11 - error TS2430: Interface 'B<M>' incorrectly extends interface 'A'.
  Types of property 'emit' are incompatible.
    Type '<Event extends keyof M>(event: Event, ...args: Args<M[Event]>) => boolean' is not assignable to type '(event: string, ...args: any[]) => boolean'.

9 interface B<M extends EventMap> extends A {

If I add any overload for emit function error is gone, e.g.:
interface A {
    emit(event: string, ...args: any[]): boolean;
}

type Args<F> = F extends (...args: infer A) => void ? A : never;

type EventMap = Record<string, Function>;

interface B<M extends EventMap> extends A {
    emit<Event extends keyof M>(event: Event, ...args: Args<M[Event]>): boolean;
+   emit(event: 'foo'): boolean;
}

Playground Link:  link
Related Issues:

A claims that e.g. emit("foo", 10, '"z") is a valid call for any A, but this is clearly not a valid call for any B

Yes, but B is not used in the example. Error happens in place of extending. In the following example emit("foo", 10, '"z") is not a valid call for any C
interface A {
    emit(event: string, ...args: any[]): boolean;
}

interface C extends A {
    emit(event: 'foo'): boolean;
}

declare let c: C;
c.emit("foo", 10, '"z"'); // error: Expected 1 arguments, but got 3

Also, as I mention in description, compilation is successful if to add any other overload for emit method:
interface A {
    emit(event: string, ...args: any[]): boolean;
}

type Args<F> = F extends (...args: infer A) => void ? A : never;

type EventMap = Record<string, Function>;

interface B<M extends EventMap> extends A {
    emit<Event extends keyof M>(event: Event, ...args: Args<M[Event]>): boolean;
    emit(event: 'foo'): boolean; // <-- add this
}

or if provide argument for Args type explicitly:
interface A {
    emit(event: string, ...args: any[]): boolean;
}

type Args<F> = F extends (...args: infer A) => void ? A : never;

type EventMap = Record<string, Function>;

interface B<M extends EventMap> extends A {
    emit<Event extends keyof M>(event: Event, ...args: Args<(x: number) => void>): boolean;
}

If change declaration of EventMap type to
type EventMap = Record<string, (...args: any[]) => void>;

then most common type for interface B
interface B<M extends EventMap> extends A {
    emit<Event extends keyof M>(event: Event, ...args: Args<M[Event]>): boolean;
}

is
interface C extends A {
    emit(event: string, ...args: Args<(...args: any[]) => void>): boolean;
}

But latest interface compiles without error: playground link

But why compilation is successful if to add other overload for emit method?

Because
emit(event: 'foo'): boolean; // <-- add this

is compatible with the declaration in A:
emit(event: string, ...args: any[]): boolean;

In that case, args is [], in other words no parameters.

@AlCalzone  Why original declaration of emit becomes compatible in this case?

@RyanCavanaugh Could you explain behavior from https://github.com/Microsoft/TypeScript/issues/26414#issuecomment-412691346 ?


Object.assign support

Hi. This is following to a report in nuxt/nuxt.js#463 . According to index.js:16 we are targeting IE+9.
But as indicated here Object assign is not supported in many environments including :
IE: ... 11
Android: .... 4.4, 5.0, 5.1
IOS: ... 8, 9
Isn't this a big miss? We already have regenerator runtime and adding another lightweight transform would add vue.js support for many many devices. @egoist What is your idea about that?

Guess we should add Object.assign = require('object-assign') to README

@egoist So Object.assign transform would not be added by preset itself & this would require additional steps in other projects like Nuxt. am i right? :))

Yes, it requires a polyfill anyways according to what I knew.


Update NOTICE.txt (7.9)

Cherry-pick of https://github.com/mattermost/mattermost-webapp/pull/12294
Release Note
NONE

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: d39e18311614a21e8b5838b947e3c5266706e2ca


Add support for https:// URLs

New config value 'https', defaults to false
Swaps https:// or http:// depending on the config value

Hey bikerpatch,
thanks for your pull request.
Unfortunately I didn't noticed it, until now.
Great improvement. There is one thing I would like you to change.
Please add the option of the https-property to the readme file, to inform users about this improvement. By default, it should stay false. So, no action is needed after an update for the users already running an implementation.