Toolbar interaction with a leaflet-canvas layer ?

Hi there,
first thank you very much for this awesome plugin!!
I'm drawing around 1000 markers (with custom icons - png files) on a map, which results in low performance due to DOM and all the stuff.
That's why I just used the following leaflet-markers-canvas plugin:
https://github.com/francoisromain/leaflet-markers-canvas
However, now I'm not able to use your awesome toolbar any longer (like moving or removing these markers).
Is there any way to circumvent this circumstance ?
Thank you very much!!
If needed I - of course - would provide a jsfiddle.

Hi,
i don't know if I get this work, but I can try it next week.
There are 3 other canvas marker plugins, can you please check if a other one will work for you. Your canvas plugin is archived and if it is possible we would like to support a plugin which is maintained.
And please create a jsfiddle

Hi,
sorry for the late reply!
Yes, there are 3 other plugins:

https://github.com/eJuke/Leaflet.Canvas-Markers
https://github.com/lipton-ice-tea/leaflet-canvas-markers
https://github.com/francoisromain/leaflet-markers-canvas

I first used the first one since it looks pretty easy to understand but lacks some smooth update routine - somehow the icons are (re)drawn while the map is still moving / zooming.
Due to this, I switched to the third module, which does not have this "problem".
However, using all of them lacks the ability to move the drawn marker around with this awesome toolbar (see jsfiddle). (Sorry for not including the plugin as js-file but somehow I'm not able to include it as a file, so it's in front of the code :-(.
Regarding the maintenance of the plugin:
The last commit was on 26th November '21, so it seems like there is some maintenance and progress going on.
Any ideas where the problem might be and how to solve this ?
Thanks a lot in advance!!!

With the attached script it is possible to drag the markers but:

Not working good with to much markers (always a problem with Geoman)
Touch is not supported
Only dragging is supported, no snapping or anything else

You need to include the script after importing leaflet-markers-canvas. Btw. here the cdn to the plugin <script<EMAIL_ADDRESS>And you need to set preferCanvas: true (and not like in the example prefereCanvas):
var map = L.map('map', {
    preferCanvas: true,
  })

I will not dig into it more, because it is to much hacky.
geoman-markers-canvas.js.txt

Oh wow, awesome - thank you very much!!!!
Sorry for the typo!
Any chance that you can give me a hint how to implement that the remove button is also working for such markers ?
Otherwise the issue can be closed :-)

To remove a marker with the remove button use this:
Replace
L.Marker.addInitHook(function(){
  this.on('pm:drag pm:dragend',(e)=>{
    this._renderer.parent._redraw(true);
  });
});

with:
L.Marker.addInitHook(function(){
  this.on('pm:drag pm:dragend',(e)=>{
    this._renderer.parent._redraw(true);
  });

  this.on('click',(e)=>{
    if(this._map && this._map.pm.globalRemovalModeEnabled()) {
      this._renderer.parent.removeMarker(this);
    }
  });
});


feat: add tests infrastructure

Description

This PR:

adds cypress for e2e tests
adds vitest for unit/integration tests
adds test for lib/utils/capitalize.ts utility
fixes a typo in the contributing file

Related Issue

Fixes #29
Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Okay, so this is new! I'll have to fix that.
Actually @TAKANOME-DEV, do you havw recommendations on how to accept contributions? Should be a way to avoid this error in the future but still leaving the responsibility for reviewing the PR to the maintainer.
Yikes man, I'm so new to managing an open source project! 🤣

Oh thanks by the way for all of this initial work! Really appreciate it a bunch!

Actually @TAKANOME-DEV, do you havw recommendations on how to accept contributions? Should be a way to avoid this error in the future but still leaving the responsibility for reviewing the PR to the maintainer.

It seems like you have deployment protection enabled. I think only people on the team can view the deploy previews. If you want the deploy preview to be available on all prs, you may need to change your configs. Learn more -> https://vercel.com/docs/concepts/deployments/deployment-protection

Yikes man, I'm so new to managing an open source project! :rofl:

It's tough :sweat_smile:, I don't have that much experience in managing open source, but I did start one which is on standby (needs design)

Hey @TAKANOME-DEV, looks like they're some ESLint rules that are causing errors. Do you mind fixing that please? Deploy's failing because of it.

Hey @TAKANOME-DEV, looks like they're some ESLint rules that are causing errors. Do you mind fixing that please? Deploy's failing because of it.

Sure, I didn't ran eslint sweat_smile (time to configure github action for that maybe)

Yeah, I'm probably gonna make an issue and look into that in a bit, lol. I'm getting better at this!

@TAKANOME-DEV So I'm getting this error now:
Type error: 'homepage.cy.ts' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module.
Any idea what this is?

Type error: 'homepage.cy.ts' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module.

Since isolateModules is set to true in the tsconfig file, all implementation files must be modules (which means it has some form of import/export).
The cypress docs recommend to add another tsconfig file for the tests with different configs

Oh sorry, I thought it was a lint error and it turns out that it was a build error. Should be good now :smile:

Oh sorry, I thought it was a lint error and it turns out that it was a build error. Should be good now smile

Nah, it's cool. That did it!
I'll merge it in! This was definitely a fun PR! Definitely looking forward to digging into Cypress and Vitest some more!

By the way, thanks so much for the contribution @TAKANOME-DEV and thanks for being the first ever outside contribution to this project!

By the way, thanks so much for the contribution @TAKANOME-DEV and thanks for being the first ever outside contribution to this project!

Looking forward to contributing more to the project :rocket:

By the way, thanks so much for the contribution @TAKANOME-DEV and thanks for being the first ever outside contribution to this project!

Looking forward to contributing more to the project 🚀

Yeah man! Feel free to look through the remaining open issues and let me know if you want yo take on anything else!


[Bug]: The language select at the header is not working

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
The language select at the header is not working, kindly assign me the task.

Add Screenshots

What browsers are you seeing the problem on?
Chrome
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

#764


Capture python definitions

Description
Capture python definitions, add tests
Checklist

[] The relevant docs, if any, have been updated or created

Screenshots
[ For visual changes, include screenshots. ]
Testing
[ For new or modified features, provide step-by-step testing instructions to validate the intended behavior of the change. ]
[ For new UI features, ensure that the changes look good across viewport widths, light/dark theme, etc ]

💪

Was going to say maybe we just filter out after go to definition instead of the big matching rule, but honestly it's worth what this saves us in go to definition calls. Good stuff!


Fix Typo Again-->Against

Summary
Typo: Again-->Against
Fixes: https://github.com/dotnet/docs.zh-cn/issues/369

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: Gonzalo-Salines sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


vmware provider

I'm using 4.3.0, and here are some UI thoughts:

In Virtual machines, when selecting import, and selecting "vmware", it shows "custom" (and empty fields). instead of showing the first vmware provider previously configured.
In the vmware provider pop-up page, it asks for username and password but doesn't mention in the UI what user/pass (IMHO it should mention "vCenter/VCSA username" "vCenter/VCSA password"
In the same page, "cluster" should IMHO be "cluster (optional)"

Hey :) This tracker is for the VM Portal, but sounds like this is an Admin Portal issue. The tracker for that is https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine  (Component = Frontend.Webadmin)
Would you mind opening this there? Thank you!

Opened. 1673208


feat: Update boemly

I think this is no feature but a fix since you gain no new functionality from that.

right!


umbrella helmchart adjustment for BPN initialization 24.08

https://github.com/eclipse-tractusx/e2e-testing
Description
To ensure the continuation of End-to-End (E2E) testing after the consortium period, we require the implementation of an Umbrella Helm Chart. This chart should be configurable and include test data to facilitate technical E2E tests.
Tasks
The following tasks are necessary to support this implementation:

Initial Setup of Test Business Partners

Setup approximately 15 specific test business partners with predefined BPNs, names, addresses, etc. The BPNs are already known and will be provided.

Helm Chart Adjustments

Make necessary adjustments to the existing Helm chart to accommodate the setup of test business partners and ensure compatibility with the Umbrella Helm Chart.

Integration into the Umbrella Helm Chart

Integrate the modified Helm chart into the Umbrella Helm Chart for seamless E2E testing. The Umbrella Helm Chart is located at: https://github.com/eclipse-tractusx/e2e-testing

@jzbmw any other requierements?

That fits perfectly. Thank you @HeyHardy

@HeyHardy how is your working mode in this project?
How am I able to see the priorization and the progress on this Issue?

wishlist:
https://github.com/eclipse-tractusx/e2e-testing/blob/main/concept/seeds-overall-data.md
attributes and addresses could be randomized created
"BPN_OEM_C" : "BPNL00000003AZQP",
"BPN_OEM_A" : "BPNL00000003AYRE",
"BPN_OEM_B" : "BPNL00000003AVTH",
"BPN_IRS_TEST" : "BPNL00000003AWSS",
"BPN_N_TIER_A" : "BPNL00000003B0Q0",
"BPN_TRACEX_A_SITE_A" : "BPNS0000000008ZZ",
"BPN_TRACEX_B" : "BPNL00000003CNKC",
"BPN_DISMANTLER" : "BPNL00000003B6LU",
"BPN_TRACEX_A" : "BPNL00000003CML1",
"BPN_TRACEX_B_SITE_A" : "BPNS00000008BDFH",
"BPN_TIER_A" : "BPNL00000003B2OM",
"BPN_TIER_C" : "BPNL00000003CSGV",
"BPN_TIER_B" : "BPNL00000003B5MJ",
"BPN_SUB_TIER_B" : "BPNL00000003AXS3",
"BPN_SUB_TIER_A" : "BPNL00000003B3NX",
"BPN_SUB_TIER_C" : "BPNL00000000BJTL",

options:

sql injection = highest risk, lowest effort (not recommended)
existing api call for generating bpnl, stick to the data model, needs always to be updatet and the option 1 for the desired bpnl (3 SP)
add field in the api call for desired bpnl, then run the existing api (best way, highest effort) (6 SP)

dataflow gate ==> orchestrator ==> cleaning dummy ==> pool
checks for ocupied bpns that not accidently theres a random generated bpnl from issuer

is there an example for your demand which you can provide @jzbmw  ?
backup for postgres update: option 1 will executed one time then we consider for 24.8. opt. 2/3

Probably it makes sense to split this issue into a) umbrella helmchart integration and b) initialization of test data, because these are two different things with different value to it. Probably we could already integration the BPDM helm chart into the umbrella helmchart of Catena-X core services, as @evegufy proposed already. For initialization of test data on the other hand a bit more work / concept needs to be done.
@HeyHardy can you please comment and probably split this, if you agree.

Since there is no activity here for a while I will close this issue for now. If the demand arises again you can open this issue again or create a new more specific issue.


Introduction To Java

Covered three topics code and preview.

[ ] What is Java?
[ ] Why Learn Java?
[ ] Setup Java Development Environment

Resources for Guidance
Here are some resources that may be helpful as you contribute to CodeHarborHub:

https://www.codeharborhub.live/community/features
Docusaurus Documentation
Markdown Guide
MDX Documentation
Mermaid Documentation

Our Site Features
https://www.codeharborhub.live/community/features

Hello @Ajay-Dhangar i can complete this ! please assign me this issue under GSSOC'24

I can also go with this issue, can you please add me too !


cip-19!: breaking Shwap protocol improvements

Decouple IDs out of Containers
This is a protocol-breaking change for Shwap. Initially, containers kept the identifiers as a first field in them. However, we decided to decouple those.
The Bitswap protocol dictates the requirement to have IDs in containers and this enforces certain limitations and overhead for the core Shwap containers. However, we want to use the containers outside of the Bitswap composition context, and thus, we need to remove this requirement from the containers. Furthermore, we design Shwap in a protocol-agnostic way, and Bitswap enforcing limits on containers is inconsistent with that.
As Bitswap still requires coupling between data and identifiers, we introduce container adapters for the Bitswap composition to address that.
Rename Data container and ID
We rename Data -> RowNamespaceData and increase verbosity to improve clarity around the meaning of the type. Prefixing Row and Namespace narrows down the scope of the very general Data. Altogether, RowNamespaceData specifies that its data of a specific namespace in a specific row. This opens up space for future containers like NamespaceData which is data of a specific namespace, but over multiple rows.
Add IsParity field to Row container
This allows the server to choose which half of the row to serve. In special cases, this saves erasure coding computation for the server, while the client side has to do this computation anyway to verify the served data. For example, the server may store only the left (non-parity) or right (parity) side of the row.

@jcstein, rebased + changed to Review

Noooo

I was just about to commit something

OK, will do another PR


put all public ocp datasets into hbp knowledge graph

maybe @Aeusman wants to do this?

@jovo I think @randalburns said that this is @gkiar area.

@jovo Will talk to them about this and connect them with @gkiar. I think their knowledge graph is now defunct.


Variable values are not expanded after changing button state action

Describe the bug
On the button's appearance, variables are not expanded when button state changes to 'On'
It just displays the variable name, like '{Time}', instead of displaying the real time.
The display immediately fixes correctly when you edit the label definition.
On Windows 11, using Macro Deck 2.4.1-dev
To Reproduce

Go to the main screen
Double Click any button
Click '+' on the 'On press' tab and select 'Action'
Select 'This action button -> Toggle button state' and click OK
Note: Same thing happens when selecting 'This action button -> Set button state to on'
On the Appearance, select Button state Off, and Input '{Date}'
On the Appearance, select Button state On, Input '{Time}'
Click 'Save' and 'OK' (or just 'OK')
On the Android Client, press the button

The label on the button says '{Time}'.

Double click the button on the Server application again
On the Appearance, select Button state On

The label on the button still says '{Time}'.

Set the cursor after '{Time}' and press the space key

The label now shows the real time correctly (plus a white space).

Click 'Save' and 'OK' (or just 'OK')

The label on the button shows '{Time} '.
Expected behavior
The button always shows the real time.
On both the server/client applications.
Screenshots
After No.1

After No.2

After No.3

After No.4

After No.5

After No.6

After No.7

After No.8

After No.9

After No.10

After No.11

After No.12

Additional context
None.

Cannot replicate the bug in 2.5.0-dev. Maybe it's fixed because I changed the entire variable system.

Confirmed.
Thank you for the fix!!


Ionic 5 googlemaps on iOS now crashes at changeCameraPosition

I'm submitting a ...  (check one with "x")

[ ] question
[x] any problem or bug report

OS:  (check one with "x")

[ ] Android works just fine
[x] iOS crashes
[ ] Browser works just fine

cordova information:  (run $> cordova plugin list)
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-device-orientation 2.0.1 "Device Orientation"
cordova-plugin-geolocation 4.0.1 "Geolocation"
cordova-plugin-googlemaps 2.6.2 "cordova-plugin-googlemaps"
cordova-plugin-ionic-keyboard 2.1.3 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.0.1 "cordova-plugin-ionic-webview"
cordova-plugin-screen-orientation 3.0.1 "Screen Orientation"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)
"@ionic-native/core": "^5.8.0",
"@ionic-native/google-maps": "^5.5.0",
"cordova-plugin-googlemaps": "^2.6.2",

Current behavior:
Every call to any of the maps API with location information (marker, camera etc.) crashes on iOS only.
It happened after upgrade to Ionic 5 and the latest plugin googlemaps, my app crashes on iOS 12. Android and Browser are working just fine. Whenever I pass position information (lat, lng) into a maps call, I get this error. Only on iOS.
Related code, data or error log (please format your code or data):
this.map = GoogleMaps.create(this.mapElement.nativeElement, mapOptions);
    console.log("create maps");
this.map.one(GoogleMapsEvent.MAP_READY)
      .then(() => {
        console.log("ready")
        // Get the location of you
        return this.map.getMyLocation()
      })
.then((location: MyLocation) => {
        // Move the map camera to the current location with animation
        console.log(`move camera to ${location.latLng}`)
        this.map.animateCamera({
          target: location.latLng,
        });
      })

I get this error on Xcode 10.
2019-06-13 17:36:28.977662-0700 EnsurityAL[818:342922] move camera to {"lat": 36.99274272626102, "lng": -121.97547187118792}
2019-06-13 17:36:28.979604-0700 EnsurityAL[818:342922] -[NSNull doubleValue]: unrecognized selector sent to instance 0x1be0b17e0
2019-06-13 17:36:28.994666-0700 EnsurityAL[818:342922] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull doubleValue]: unrecognized selector sent to instance 0x1be0b17e0'

Please let me know if I can get better information from Xcode where it actually happens. Seems to me a conversion problem between code and native. I have seen old references to this problem before maps@5 but not lately. version >5, like this one:
#1478
But I don't pass any more parameter in that the on in the source. Even using a fixed string leads to the same error.

I exactly tested with the same environment and code, I can't reproduce your issue.

In order to reproduce your issue, please share your project files on github repository.

Just invited you to the private repo.
Once you did get the app working on iOS you need this code in the project
ID. MTkwNzE0
Then switch to the first tab (maps page) and you'll get the error.
Again, Android and Browser all work fine. Just iOS crashes
On Fri, Jun 14, 2019 at 6:30 PM Masashi Katsumata<EMAIL_ADDRESS>wrote:

In order to reproduce your issue, please share your project files on
github repository.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/2644?email_source=notifications&email_token=AAGK5BRGN56M535C56ZD653P2RA4TA5CNFSM4HYLGCH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXYNVOQ#issuecomment-502323898,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGK5BR4LR6A7JEKJDZTABDP2RA4TANCNFSM4HYLGCHQ
.

ERROR in src/app/app.module.ts(20,25): error TS2307: Cannot find module '../../3rdparty/Ionic4ibeacon/ngx'.
src/app/assets/assets.page.ts(17,50): error TS2307: Cannot find module '../../../3rdparty/Ionic4ibeacon/ngx'.

It seems you need to give me permission to above repositories.

NOT WORKING: npm install @ionic-native/ibeacon
// need to patch iBeacon for Ionic4
mkdir 3rdparty; cd 3rdparty
git clone https://github.com/IT-Dan/Ionic4ibeacon.git
// instead of @ionic-native/ibeacon/ngx
import { IBeacon, IBeaconDelegate } from
'../../../3rdparty/Ionic4ibeacon/ngx';

On Fri, Jun 14, 2019 at 6:46 PM Masashi Katsumata<EMAIL_ADDRESS>wrote:

It seems you need to give me permission to above repositories.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/2644?email_source=notifications&email_token=AAGK5BUT5HPEQCOPJABDCA3P2RCYNA5CNFSM4HYLGCH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXYN4YQ#issuecomment-502324834,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGK5BQLNSBPO3IMEF2DL4LP2RCYNANCNFSM4HYLGCHQ
.

Please reinstall the maps plugin from the multiple_maps of this repository.

Thank you, that did it.
For IONIC developers on iOS native, branch multiple_maps is required
ionic cordova plugin add https://github.com/mapsplugin/cordova-plugin-googlemaps.git#multiple_maps --variable API_KEY_FOR_ANDROID="..." --variable API_KEY_FOR_IOS="..."

Angular:
npm --save install git://github.com/mapsplugin/cordova-plugin-googlemaps.git#multiple_maps


Adjust artifact folder and interview loading to allow devs to test list of interviews from the server

Related to, but separate from #599, as this is needed even if we're not handling the rest of the mess in this repository.
Two things need to be adjusted:

[x] Testing the list of interviews from the server should avoid loading any package onto the server, so we'll need to create artifact folder even when setup.js isn't run. Artifact folder creation needs to be moved to BeforeAll() in steps.js.
[x] The interview load step needs to be able to go to an arbitrary address. The list of interviews have a different kind of link to access them and it doesn't match our current pattern.

Edit:

[ ] The runtime_config.json needs to be created even when only the artifact folder is created. It is currently created only when saving the project name.

The runtime_config.json needs to be created even when only the artifact folder is created. It is currently created only when saving the project name.


Prepare release 0.27.0

Summary
Details and comments
Fixes #

@SamFerracin do we need this release for NLv2? or can we wait to include https://github.com/Qiskit/qiskit-ibm-runtime/pull/1823 ?


Allow to set multiple olcServerID options

I found that I could not possibly set olcServerID more than one.
I need to set multiple olcServerIDs in the cn=config as I used OpenLDAP as multi-master architecture.
I just modified openldap_global_conf/olc.rb file to allow this.
Please check this if it's applicable.

I found another problem related to this issue. therefore I will re-request in the future


Allow reconcile.js to be used directly in a browser.  Inspired by htt…

…ps://github.com/isaacs/sax-js/blob/master/lib/sax.js.

banghead I missed a particular line when RTFM, about reconcile.umd.js.  Sorry for the spam!


ndarray not getting value as expected.

im trying to create a list with some specific rules.
ex ) x :2, y:5
0, 0
0, 1
0, 2
0, 3
0, 4
1, 0
1, 1
1, 2
1, 3
1, 4
it should have 2 sets, y should be repeated for x times.
so the table shape should be [2, x * y].
1D data should look like [0, 1, 0, 2, 0, 3, 0, 4, 1, 0, 1, 1, 1, 2, 1, 3, 1, 4]
it works fine until here but when i try to get myNdarray.get(0, 5), i expected 1 but gives 2 instead.
    let x = 2;
    let y = 4;

    let datArr = []
    for (let xx = 0; xx < x; xx++){
        for (let yy = 0; yy < y; yy++){
            datArr.push(xx)
            datArr.push(yy)
            // narr.
        }
    }
    let narr = ndarray(new Float32Array(datArr), [2, x*y]);
    console.log(narr)
    console.log(narr.get(0, 5))
    console.log(narr.get(1, 5))

here is my test code, and
this is the log

NdArrayTest.js:35 View2dfloat32 {data: Float32Array(20), shape: Array(2), stride: Array(2), offset: 0}data: Float32Array(20) [0, 0, 0, 1, 0, 2, 0, 3, 0, 4, 1, 0, 1, 1, 1, 2, 1, 3, 1, 4]offset: 0shape: (2) [2, 10]stride: (2) [10, 1]order: (...)size: (...)proto: Object
NdArrayTest.js:36 2
NdArrayTest.js:37 2

what is happening?
am i using the wrong code?

The first thing that jumps out is the possibility of mistakes when making assumptions about the 1D data buffer. Can you use .set() instead and examine narr.data to see what it looks like instead of passing the data buffer directly? It's a bit slower, but for most cases is equivalent and at least much less error-prone.

First，if you want x = 2, y = 5, the value of y in you code should be 5 not 4.
If
[
  [0, 0, 0, 1, 0, 2, 0, 3, 0, 4],
  [1, 0, 1, 1, 1, 2, 1, 3, 1, 4]
]

is the normal array you want, then it is.
narr.get(0, 5) is 2, I dont know why you expect 1 ? narr.get(1, 5) is also 2.


Some problems about generate_target

Hello, I'm so glad to read your paper and code. But I have some problems.

+1 in transform_pixel

-1 in __getitem__
I'm a little confused.
I debug the code generate_targe
def generate_target(img, pt, sigma, label_type='Gaussian'):
    """
    :param img: heatmap of a landmark    64 64
    :param pt: a landmark (1,2)
    :param sigma:
    :param label_type:
    :return:
    """
    # Check that any part of the gaussian is in-bounds
    tmp_size = sigma * 3                                        #辐射范围为4.5
    ul = [int(pt[0] - tmp_size), int(pt[1] - tmp_size)]
    br = [int(pt[0] + tmp_size + 1), int(pt[1] + tmp_size + 1)] #这里+1之后两边对称，
    if (ul[0] >= img.shape[1] or ul[1] >= img.shape[0] or
            br[0] < 0 or br[1] < 0):                            #如果超出了辐射范围
        # If not, just return the image as is
        return img                                              #返回空白的heatmap

    # Generate gaussian
    size = 2 * tmp_size + 1                                     #10
    x = np.arange(0, size, 1, np.float32)
    y = x[:, np.newaxis]
    x0 = y0 = size // 2                                         #5
    # The gaussian is not normalized, we want the center value to equal 1
    if label_type == 'Gaussian':                                #11x11高斯核
        g = np.exp(- ((x - x0) ** 2 + (y - y0) ** 2) / (2 * sigma ** 2))
    else:
        g = sigma / (((x - x0) ** 2 + (y - y0) ** 2 + sigma ** 2) ** 1.5)

    # Usable gaussian range
    g_x = max(0, -ul[0]), min(br[0], img.shape[1]) - ul[0]
    g_y = max(0, -ul[1]), min(br[1], img.shape[0]) - ul[1]

    # Image range
    img_x = max(0, ul[0]), min(br[0], img.shape[1])
    img_y = max(0, ul[1]), min(br[1], img.shape[0])

    img[img_y[0]:img_y[1], img_x[0]:img_x[1]] = g[g_y[0]:g_y[1], g_x[0]:g_x[1]]
    return img

if __name__ == "__main__":
    heatmap = np.zeros((64,64))
    pt = (0,1)
    sigma = 1.5
    heatmap = generate_target(heatmap, pt, sigma)

the heatmap is like this..the max value index is (1, 1)

when I change pt = (10, 10） and get correct heatmap

I'm not sure it's a bug or something.
Thanks for your reply.

I found the same problem,Not only that, but the key points drawn by TPTS are offset，why?


Read config from json file

/cc @codeclimate/review
I also switched this up to match other engines (accept the hash of the config, rather than the json string)

Some existing style things worth fixing while here (I think) -- LGTM


[Todo] Don’t blow away out

It would better to remove known dependencies so build-step tools can rely on out.

So far we can get around this without too much pain. out should be a destructible directory anyways.


update roadmap

info about monthly releases

Coverage remained the same at 46.617% when pulling de8136579e4a2befe9d5bdafd32795325911ed58 on kadel-patch-2 into 6e260bab0bcc604fc907da2f15522ee2cf5ffb21 on master.

Coverage remained the same at 46.617% when pulling 5e188b3950b5345622e43169e1061e59d0f201a4 on kadel-patch-2 into 6e260bab0bcc604fc907da2f15522ee2cf5ffb21 on master.

Thank you @cdrage.


Pilot: No .app bundles found in the package

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
When trying to upload to TestFlight using Pilot i get the error: No .app bundles found in the package
Complete output when running fastlane, including the stack trace and command used
[13:20:24]: Successfully exported and compressed dSYM file
[13:20:24]: Successfully exported and signed the ipa file:
[13:20:24]: /Users/jan/Documents/Projects/iOS/Exeqtor/Exeqtor/Exeqtor.ipa
[13:20:24]: -------------------
[13:20:24]: --- Step: pilot ---
[13:20:24]: -------------------
[13:20:24]: Login to iTunes Connect<EMAIL_ADDRESS>[13:20:27]: Login successful
[13:20:27]: Ready to upload new build to TestFlight (App:<PHONE_NUMBER>)...
[13:20:27]: Going to upload updated app to iTunes Connect
[13:20:27]: This might take a few minutes, please don't interrupt the script
[13:22:29]: [Transporter Error Output]: ERROR ITMS-90167: "No .app bundles found in the package"
[13:22:30]: Transporter transfer failed.
[13:22:30]:
[13:22:30]: ERROR ITMS-90167: "No .app bundles found in the package"
[13:22:30]: ERROR ITMS-90167: "No .app bundles found in the package"
Return status of iTunes Transporter was 1: ERROR ITMS-90167: "No .app bundles found in the package"
The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
[13:22:30]: Variable Dump:
[13:22:30]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta", :SIGH_PROFILE_TYPE=>"app-store", :IPA_OUTPUT_PATH=>"/Users/jan/Documents/Projects/iOS/Exeqtor/Exeqtor/Exeqtor.ipa", :DSYM_OUTPUT_PATH=>"/Users/jan/Documents/Projects/iOS/Exeqtor/Exeqtor/Exeqtor.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/Users/jan/Library/Developer/Xcode/Archives/2016-07-06/Exeqtor 2016-07-06 13.19.39.xcarchive"}
[13:22:30]: Error uploading ipa file, for more information see above

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 3    | cocoapods                           | 91          |
| 4    | match                               | 13          |
| 5    | gym                                 | 47          |
| 6    | pilot                               | 125         |
+------+-------------------------------------+-------------+

[13:22:30]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...

➡  Generated .ipa size too big
   https://github.com/fastlane/fastlane/issues/519 [open] 47 💬
   a week ago

➡  iTunes Transporter succeeds eventually but  fastlane reports an error
   https://github.com/fastlane/fastlane/issues/1896 [open] 17 💬
   3 days ago

➡  "iTunes Transporter successfully finished its job" but pilot ends with an error
   https://github.com/fastlane/fastlane/issues/1886 [open] 5 💬
   2 weeks ago

and 43 more at: https://github.com/fastlane/fastlane/search?q=Error%20uploading%20ipa%20file,%20for%20more%20information%20see%20above&type=Issues&utf8=✓

[!] Error uploading ipa file, for more information see above

Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "1.97.2"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
    cocoapods

  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    match(type: "appstore") # more information: https://codesigning.guide
    gym(scheme: "Exeqtor") # Build your app - more options available
    pilot

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :appstore do
    # match(type: "appstore")
    # snapshot
    gym # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

Environment
fastlane version (run fastlane -v): fastlane 1.97.2
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)? no
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)? no

This seems to be a know issue with macos sierra.
Uploading with xcode8-beta works.
Should be fixed in the next preview.

Still not fixed in this preview, but you could try Xcode-select and use xcode8-beta

Hi. We will have Xcode 8 support on general release. I'm going to close this out unless anyone is interested in submitting a PR. Thanks!


pipeline Fix bugs to pass all regression cases

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

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

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.93 seconds
load time: 667 seconds
storage size:<PHONE_NUMBER>0 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221223045121_clickbench_pr_67562.html


feat: Run e2e tests throw toolchain proxy

Description
This PR create a client for dev sandbox to run the tests against a local toolchain url.
This PR is WIP
Issue ticket number and link
https://issues.redhat.com/browse/STONE-237
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
make local/cluster/prepare
# Make sure your keycloak instance are running
make local/test/e2e

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("[test_id:01] DEVHAS-62 devfile source")
[ ] I have updated labels (if needed)

/test redhat-appstudio-e2e

/test redhat-appstudio-e2e

/test redhat-appstudio-e2e

/test redhat-appstudio-e2e
bah, openshift drunk something strong today

/test redhat-appstudio-e2e

/test redhat-appstudio-e2e

/retest

/retest

/retest

/test redhat-appstudio-e2e

/retest

/test redhat-appstudio-e2e

/retest

/retest-required

/retest

/hold

/lgtm

/retest

/test redhat-appstudio-e2e

/retest

/test redhat-appstudio-e2e
retesting to see if pass for 3th time to see if there are flaky tests


GTD states and org-kanban

I am a GTD user, and GTD states seem to be incompatible with "Kanban states".
If there were some idea to reconcile GTD and Kanban states, I would like to hear it.
Maybe instead of TODO states, could Properties be the table columns? or maybe by tags?
I love this work you did!

Hi @Ypot, could you elaborate more about what GTD means for you in org mode? Do you have an example how you use org mode for that?
The only thing that I can say right now is, that org modes TODO keywords are not fixed, you can specify them yourself, and org-kanban also uses those then.
A quick google search found me: https://orgmode.org/worg/org-gtd-etc.html but your workflow looks probably different.

org-kanban also can restrict the table to certain tags (but it still uses the org mode keywords (that default to TODO and DONE)).

Hi @gizmomogwai!
GTD states are quite rigid. They usually are: PROJECT, NEXT, MAYBE, WAITING.
KANBAN columns are more flexible, and relative to the productive process.
So, I'd say a hard user of GTD hardly could use org-kanban, because its columns are already determined by GTD states.

An example I was working on.
GTD:
***** WAITING Cube PPH
***** NEXT Zinc line
KANBAN:

MANUFACTURING Cube PPH
DRAWING Zinc line

A dynamic block where I try to reconcile both (ignore the first ITEM):

***** WAITING Cuba PPH
:PROPERTIES:
:DISEÑO: [ ]
:HECHO-DISEÑO: [ ]
:FABRICACIÓN: [X]
:HECHO-FABRICACIÓN: [ ]
:FACTURACIÓN: [ ]
:FINALIZADO: [ ]
:END:
***** NEXT Línea Zinc Niquel
:PROPERTIES:
:DISEÑO: [X]
:HECHO-DISEÑO: [ ]
:FABRICACIÓN: [ ]
:HECHO-FABRICACIÓN: [ ]
:FACTURACIÓN: [ ]
:FINALIZADO: [ ]
:END:

Mhh .. .thanks for the example. Not sure that I understand that though.
Is it so, that Cuba is at the moment Waiting, whereas Linea is next and at the same time those are in manufactoring or drawing? so you have the gtd things in place to just see what you can do next and what is blocked and so on, and somewhere else you have the kind of details, e.g. if its blocked in a very early stage (e.g. on the drawing board) or if its blocked in the manufactoring?

Cuba is at the moment Waiting, whereas Linea is next and at the same time those are in manufactoring or drawing?

Exactly. Different methodologies, different states. Not related necessarily.

so you have the gtd things in place to just see what you can do next and what is blocked and so on
Exactly. GTD is a personal organization method, there I can see what I can do NEXT and what is blocked (WAITING).

and somewhere else you have the kind of details, e.g. if its blocked in a very early stage (e.g. on the drawing board) or if its blocked in the manufactoring?

Not, this is what I have written down to add those tasks to a KANBAN board. DRAWING or MANUFACTURING are not related to GTD states. They are pure and solely KANBAN states which I have tried to show using PROPERTIES.

Where there is an [X], ideally should be the task (the ITEM)

Ok ... I think now I understand (at least a little bit your initial remarks).
You would have the TODO keywords in org-mode map to your personal GTD methology. But those you would not want to show an a table, instead you want to show for all tasks something else in the table (e.g. taken from properties or tags or something that just works :) ) ...
Would it work for you to flip that around? Meaning the GTD things seem to be much coarser and perhaps an org-agenda that just shows you all tasks that are tagged with WAITING would be enough for you ... I also imagine, that you would not move tasks around that often on GTD level.
e.g.
#+TODO: Drawing Manufactoring Shipping | Done

* Manufactoring toyboat                                             :WAITING:
* Drawing toyplane                                                     :NEXT:
* Done toycar                                                      :FINISHED:
* Shipping toyroller                                                :WAITING:

then org-agenda < m WAITING shows you all tasks that are waiting ... i wonder if there is a dynamic block for that as well...

Thanks @gizmomogwai !
I must think about it, that's not a minor change for my workflow! As I suppose it wouldn't be easy either for org-kanban.
Best regards!!!

or one could use columnview dynamic blocks besides a org-kanban block to get the overview
#+TODO: Drawing Manufactoring Shipping | Done

* Manufactoring toyboat                                             :WAITING:
* Drawing toyplane                                                     :NEXT:
* Done toycar                                                      :FINISHED:
* Shipping toyroller                                                :WAITING:

#+BEGIN: kanban :mirrored t
| Done   | Shipping  | Manufactoring | Drawing  |
|--------+-----------+---------------+----------|
|        |           | [[file:test.org::*toyboat][toyboat]]       |          |
|        |           |               | [[file:test.org::*toyplane][toyplane]] |
| [[file:test.org::*toycar][toycar]] |           |               |          |
|        | [[file:test.org::*toyroller][toyroller]] |               |          |
#+END:

#+BEGIN: columnview :match "NEXT|WAITING" :id global
| ITEM      | TODO          | PRIORITY | TAGS      |
|-----------+---------------+----------+-----------|
| toyboat   | Manufactoring | B        | :WAITING: |
| toyplane  | Drawing       | B        | :NEXT:    |
| toyroller | Shipping      | B        | :WAITING: |
#+END:

Thanks @gizmomogwai !
I must think about it, that's not a minor change for my workflow! As I suppose it wouldn't be easy either for org-kanban.
Best regards!!!

for org-kanban itself i think it would be rather hard, as its really interacting with the keywords.
Just one last question ... the kanban keywords (either implemented as tags or properties or something else), would they also have an order like the todo keywords? Or are they just tags (one element could even have two tags at the same time?)

fun fact ... my emacs installation has just 3 kinds of dynamic blocks: clocktable, org-kanban and columnview :/

https://github.com/alphapapa/org-ql seems to be quite capable ...
I imagine another dblock that takes e.g. a list of tags as input (and transforms them into a table headers) should be quite easy to hack together. would you also want to interact with the table rows?

Thanks @gizmomogwai !
I must think about it, that's not a minor change for my workflow! As I suppose it wouldn't be easy either for org-kanban.
Best regards!!!

for org-kanban itself i think it would be rather hard, as its really interacting with the keywords. Just one last question ... the kanban keywords (either implemented as tags or properties or something else), would they also have an order like the todo keywords? Or are they just tags (one element could even have two tags at the same time?)

Yes, Kanban, as I understand it, must have an order in its columns, example: Backlog, Ready, In Progress, and Delivered.

fun fact ... my emacs installation has just 3 kinds of dynamic blocks: clocktable, org-kanban and columnview :/

Not mine, just 2! xD

https://github.com/alphapapa/org-ql seems to be quite capable ... I imagine another dblock that takes e.g. a list of tags as input (and transforms them into a table headers) should be quite easy to hack together. would you also want to interact with the table rows?

I saw it, I will have to study how to use org-ql. Thanks :-)
Not sure if it would be necessary to interact with the table rows. I will know after using it ;D
Thanks for your help!

I came up with this small snippet
(defun org-tagged//map ()
  ""
  (list
    (nth 4 (org-heading-components))
    (s-chop-right 1 (s-chop-left 1 (nth 5  (org-heading-components))))))

(defun org-tagged//row-for (todo tags)
  "TODO is a list of heading and tag (only one tag allowed).
TAGS are all tags interesting for the table."
  (let*
    (
      (heading (nth 0 todo))
      (tag (nth 1 todo))
      (index (-elem-index tag tags))
      (prefix (s-repeat (1+ index) "|"))
      (suffix (s-repeat (- (length tags) index) "|"))
      )
    (format "%s%s%s" prefix heading suffix)))
(defun org-dblock-write:tagged (params)
  "Create a tagged dynamic block.
PARAMS must contain: `:tags`."
  (insert
    (let*
      (
        (tags (s-split "|" (plist-get params :tags)))
        (table-title (s-join "|" tags))
        (todos (org-map-entries 'org-tagged//map table-title))
        (row-for (lambda (todo) (org-tagged//row-for todo tags)))
        (table (s-join "\n" (-map row-for todos)))
        )
      (format "|%s|\n|--|\n%s" table-title table)))
  (org-table-align))

which leads to something like this:
#+TODO: Drawing Manufactoring Shipping | Done

* Manufactoring toyboat                                             :WAITING:
* Drawing toyplane                                                     :NEXT:
* Done toycar                                                      :FINISHED:
* Shipping toyroller                                                :WAITING:

#+BEGIN: kanban :mirrored t
| Done   | Shipping  | Manufactoring | Drawing  |
|--------+-----------+---------------+----------|
|        |           | [[file:test.org::*toyboat][toyboat]]       |          |
|        |           |               | [[file:test.org::*toyplane][toyplane]] |
| [[file:test.org::*toycar][toycar]] |           |               |          |
|        | [[file:test.org::*toyroller][toyroller]] |               |          |
#+END:

#+BEGIN: tagged :tags "WAITING|NEXT"
| WAITING   | NEXT     |
|-----------+----------|
| toyboat   |          |
|           | toyplane |
| toyroller |          |
#+END:

#+BEGIN: columnview :match "NEXT|WAITING" :id global
| ITEM      | TODO          | PRIORITY | TAGS      |
|-----------+---------------+----------+-----------|
| toyboat   | Manufactoring | B        | :WAITING: |
| toyplane  | Drawing       | B        | :NEXT:    |
| toyroller | Shipping      | B        | :WAITING: |
#+END:

with this you can select exactly (by tags) the elements you want and they are rendered in a table.

if you have interest in that, i could also package that up as a melpa package ... or just the small snippet for you to adjust and put in your init.el?

This looks nice!

#+BEGIN: tagged :tags "WAITING|NEXT"
| WAITING   | NEXT     |
|-----------+----------|
| toyboat   |          |
|           | toyplane |
| toyroller |          |
#+END:

Give me some time to try it.

if you have interest in that, i could also package that up as a melpa package ... or just the small snippet for you to adjust and put in your init.el?

This looks nice!

#+BEGIN: tagged :tags "WAITING|NEXT"
| WAITING   | NEXT     |
|-----------+----------|
| toyboat   |          |
|           | toyplane |
| toyroller |          |
#+END:

Give me some time to try it.

I am trying to reproduce a table like that, but I don't know how to use your code :/
I have evaluated it, but I can't run the functions you defined :/

You do not run them, org-mode runs them for you. You can evaluate the 3 functions so that emacs loads them, then you can somewhere in an org file insert the begin tabbed end lines of the dynamic block and then Press ctrl-c ctrl-c when the cursor is on begin.

I tried, this should work after pressing C-c C-c I suppose?:

Probably its best, if you put all functions i sent to you e.g. into the scratch buffer and evaluate them there ...
if the functions are in the org buffer, org might not be too happy with it.
I will try to package the dynamic block this evening as melpa package or at least upload it (including tests) to github.

one thing, that needs to change (probably in my implementation) is, that atm i only can handle one tag ...
looks like you use already kanban as tag to select on the items. perhaps it would be better to put the state into properties (as you did in the beginning).

mhh .. i also changed it now, so that several tags are supported (although the table only looks at the first one). so something like :tag1:kanban: should work, whereas :kanban:tag1: would not sort the element in tag1.

mhh .. i also changed it now, so that several tags are supported (although the table only looks at the first one). so something like :tag1:kanban: should work, whereas :kanban:tag1: would not sort the element in tag1. what do you think?

I like that!
I think it could be less inconvenience than using properties, although maybe veteran users would think differently.
Will it be possible to move the elements in the table and automatically it to change the first tag?

Not sure yet .. would be a future feature I guess .. i would first like to come up with something that works for you. Would you like to have x es in the columns where a tag is set or the heading?

Xs were a workaround. The lay-out should be like this of yours:

You are getting to something like this, but better (I found it from your readme.org):

BUT there you can see that "Product Story 2" is outdated (tag is wrong or column is wrong).

I see ... and would there always be only one tag of the table applied to a todo? or could it be, that sometimes its more tags?
Nonetheless ... will try to prepare something. Do you always have the tables in the same org file as the tasks themselves? or do we also need something like in org-kanban, where several files can be includeded?

would there always be only one tag of the table applied to a todo? or could it be, that sometimes its more tags?

Not sure if I understand... For example a tag :InProgress: and a tag :gizmomogwai:? Not sure, could you do in the easiest way for you, and after that we'll see?

Do you always have the tables in the same org file as the tasks themselves? or do we also need something like in org-kanban, where several files can be includeded?

My trial was with columnview  and id in the same org file. I only use one file for task, that would be enough.

Ehm... you did it, no words. Thanks, now I will try it at work. THANKS!

The demo.org:
#+TODO: Todo Plan Develop Test Done
#+STARTUP: showall

Todo Task One                                                      :urgent:
Plan Two                                                          :starred:
Develop Three                                                   :InProgress:kanban:
Test Four
** Test Four1                                                :starred:kanban:
** Test Four2                                                :starred:kanban:
Done Five
Kanban
#+BEGIN: tagged :tags "starred|urgent|InProgress" :match "kanban"
| starred | urgent | InProgress |
|---------+--------+------------|
|         |        | Three      |
| Four1   |        |            |
| Four2   |        |            |
#+END:

#+begin_src emacs-lisp
(require 's)
(require 'dash)
(require 'org)
(require 'org-table)
(defun org-tagged//map ()
"Map one todoitem to the needed information.
Return a list with

the heading
the tags as list of strings."
(list
(nth 4 (org-heading-components))
(remove "" (s-split ":" (nth 5 (org-heading-components))))))

(defun org-tagged//row-for (heading item-tags tags)
"Create a row for a HEADING and its ITEM-TAGS for a table with TAGS."
(format "|%s|" (s-join "|" (-map (lambda (tag)
(if (-elem-index tag item-tags) heading "")) tags))))
(defun org-tagged/version ()
"Print org-tagge version."
(interactive)
(message "org-tagged 0.0.1"))
;;;###autoload
(defun org-dblock-write:tagged (params)
"Create a tagged dynamic block.
PARAMS must contain: :tags."
(insert
(let*
(
(tags (s-split "|" (plist-get params :tags)))
(table-title (plist-get params :tags))
(todos (org-map-entries 'org-tagged//map (plist-get params :match)))
(row-for (lambda (todo) (org-tagged//row-for (nth 0 todo) (nth 1 todo) tags)))
(table (s-join "\n" (-map row-for todos)))
)
(format "|%s|\n|--|\n%s" table-title table)))
(org-table-align))
(provide 'org-tagged)
#+end_src

Will try to do it as a melpa package this evening ...

Hi
I am trying it at work. I miss columnview characteristics, like column width. Some names are too long :/

Names could be shortened .. how does column view render long headings?

You can head over to the GitHub of org-tagged and open an issue there

Closing in favor of gizmomogwai/org-tagged


seperate out reference_system vs autoware specifics

Signed-off-by: Evan Flynn<EMAIL_ADDRESS>separate out the core reference_system from the use of it to make autoware_reference_system
p.s. yes I know I misspelled separate 😓

This change is

@landerU I cant seem to assign you as a reviewer so im tagging you here to review. your comments about renaming lead me here so thank you for that 😄 this new approach separates out the reference_system from the autoware_reference_system which should help us add other systems going forward.

@elfenpiff tagged you here to get your input as well, not needed but figured you might like to see what changes I  made

going to go ahead and merge this as the other PR to the main ros-realtime group covers this change as well

@LanderU I cant seem to assign you as a reviewer so im tagging you here to review. your comments about renaming lead me here so thank you for that smile this new approach separates out the reference_system from the autoware_reference_system which should help us add other systems going forward.

@flynneva, yeah, I'm not part of the github Apex.AI organization :(


bug?

Analyzer Feedback from IntelliJ
Version information

IDEA AI-191.8<IP_ADDRESS>91312
<NO SDK>
AI-191.8<IP_ADDRESS>91312, JRE 1.8.0_202-release-1483-b49-5587405x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.13.6, screens 1440x900  Retina

Exception
Dart analysis server, SDK version 2.4.0, server version , FATAL error: NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:50:5)
#1      FolderBasedDartSdk.getSdkProperty (package:analyzer/src/dart/sdk/sdk.dart:697:14)
#2      FolderBasedDartSdk.defaultSdkDirectory (package:analyzer/src/dart/sdk/sdk.dart:684:26)
#3      Driver._getSdkPath (package:analysis_server/src/server/driver.dart:758:33)
#4      Driver.start (package:analysis_server/src/server/driver.dart:394:28)
#5      main (file:///b/s/w/ir/k/src/third_party/dart/pkg/analysis_server/bin/server.dart:12:11)
<asynchronous suspension>
#6      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#7      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)

For additional log information, please append the contents of
file:///private/var/folders/92/w1t6hptx5fq4_7nd87v8xy8w0000gn/T/report.txt.

This crash hasn't been reported since Dart 2.4.0. Please re-open if you see this crash again.


Setting model can not update

Laravel Version: 5.5
Voyager Version: dev-master
PHP Version: 7.0
Database Driver & Version: mysql5.6

Description:
/vendor/tcg/voyager/src/Http/Controllers/VoyagerSettingsController.php
when i call the update function laravel $request post content 'admin_title' but getContentBasedOnType get $request input by the settings->key 'admin.title' so always return null....
Steps To Reproduce:
 if($content === null){      $content = $request->input(str_replace('.','_',$setting->key)); }

Maybe this is a better solution
 $content = $this->getContentBasedOnType($request, 'settings', (object) [                 'type'    => $setting->type,                 **'field'   => str_replace('.','_',$setting->key),**                 'details' => $setting->details,                 'group'   => $setting->group,             ]);

This is working code VoyagerSettingsController.php  (starting from line 86)
$content = $this->getContentBasedOnType($request, 'public/settings', (object) [
'type'    => $setting->type,
'field'   => str_replace('.','_',$setting->key),
'details' => $setting->details,
'group'   => $setting->group,
]);

Also sqlite, pgsql not work

Hi all,
php replace 'dot' with underscore ('admin.title' -> 'admin_title') in form field names.
simple replacing may be incorrert with 2 different keys, for example:
user added colors.main and colors_main as setting keys :], when settings will be saved, both of them will have one value.

Labels: invalid
Close (dev-master is not stable)


Failed at running the start command

Describe the bug
Beginner here.  Appears when selecting the link https://stackblitz.com/run?file=src%2Fapp%2Fapp.component.ts  from the angular.io/start.
Link to the blitz that caused the error
https://stackblitz.com/run?file=src%2Fapp%2Fapp.component.ts
Steps to reproduce

click link on angular.io/start
stackblitz opens new window and attempts to launch
failure when running the start command (last step).

Expected behavior
expected to start
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots

Platform
Browser name  = Chrome
Full version  = <IP_ADDRESS>
Major version = 102
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 173414850,
  "usedJSHeapSize": 160808238,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Hash = bbb482e7415e406cfc62838751ca694c1dc24cf6

Additional context
No response

Duplicate of #724


Extra arguments given. rand: Use -help for summary.

I am trying  to run following command it is working fine with the  OpenSSL 1.0.2k-fips  26 Jan 2017 but unable to run with
OpenSSL 1.1.1c FIPS  28 May 2019.
Command
/usr/bin/openssl rand -base64 32 -rand private.pem > temp.bin
Message
Extra arguments given.
rand: Use -help for summary.

The argument parser became stricter in 1.1.1. If you run the "-help" as suggested by the text above you will see that the syntax for the command is:
Usage: rand [flags] num
Valid options are:
 -help               Display this summary
 -out outfile        Output file
 -rand val           Load the file(s) into the random number generator
 -writerand outfile  Write random data to the specified file
 -base64             Base64 encode output
 -hex                Hex encode output
 -engine val         Use engine, possibly a hardware device

Note that the number of bytes appears after any options.
In 1.0.2, the help text says something very similar, but it actually tolerates the number of bytes appearing earlier in the argument list. 1.1.1 no longer tolerates it.
So to fix the issue you should ensure that "32" is the last argument, i.e.
/usr/bin/openssl rand -base64 -rand private.pem 32 > temp.bin


Lack of model file. Is there an existing available model?

https://github.com/Hubch/cad_recognition/blob/dca3225a3b2d246f086d3130ad3904cff6d45726/modelserve/cad_detect.py#L11
The file is missing from the modelserve/models directory, and when using the files within it to recognize images, there is a mismatch with modelserve/LabelMap.py. Do you have any better materials that you can provide? I would greatly appreciate it.

The model is old and large, you can train one yourself using our training code in the det_matrices file.


Add event that is emitted when the script doesn't receieve any data for > 30 seconds

Add event that is emitted when the script doesn't receieve any data for > 30 seconds

Just keeping track of how often we receive data from Twitter so that we know when our app has lost connection to sitestreams due to losing connectivity or sitestreams restarting


Fix conn. pool tests compatibility with C++11

This PR fixes compatibility with C++11 in the connection pool tests:
It replaces std::decay_t with std::decay::type and also removes lambda capture initializers which are not supported in C++11
This PR was built and tested with:
cmake -B build -DBUILD_POSTGRESQL_CONNECTOR=ON -DBUILD_SQLITE3_CONNECTOR=ON -DBUILD_MYSQL_CONNECTOR=ON -DBUILD_TESTING=ON -DUSE_SYSTEM_DATE=ON -DDEPENDENCY_CHECK=ON -DSQLPP11_TESTS_CXX_STD=11
cmake --build build -- VERBOSE=1

Thanks!


pkg/build: handle OOM-killed build error

Handle SIGKILL (137) on osutil.Run() during Linux kernel image building, and provide with dmesg logs for the additional detail.
Fixes: https://github.com/google/syzkaller/issues/5317
TODO: need to understand if it makes sense to grep from dmesg at all, if so, need to grep it better like with --since ctime when we start to build an image.

I would look at dmesg (until we conclude it's strictly necessary to avoid some concrete issues). ^Killed$ + exit status should be enough. Reading dmesg requires root nowadays + Linux specific.

I would look at dmesg (until we conclude it's strictly necessary to avoid some concrete issues). ^Killed$ + exit status should be enough. Reading dmesg requires root nowadays + Linux specific.

@dvyukov,
Thanks, I've removed dmesg. I believe that "Killed"
is only applicable for Linux. PTAL.

I believe that "Killed" is only applicable for Linux.

Yes, you are right.


[packchk] embed XML validation as an initial validation step

This is a request to integrate an XML schema validation step in the packchk utility to avoid requiring the installation/presence of additional tools for the automated as well as manual pack creation and validation flows.
From experience we find that people miss to validate the schema compliance but fully rely on packchk instead. That tool however is limited to semantical validation and does not cover schema validation.
The schema validation should be run as a first step when invoking packchk. If the validation fails the program shall print out all available messages and bail out without running any semantic checks.
Consider command line options:
a) disable schema validation (default is "enabled")
b) option to specify the path to the PACK.xsd schema file

@jeromecoutant : would you like to volunteer for implementing this ?

@fred-r I support the idea of this issue, but I can't implement :-)

@fred-r I support the idea of this issue, but I can't implement :-)

@jkrech : is it really mandatory to merge the tools with new CLI options ?
May we keep the tools separated but provide a wrapper ?
This wrapper would be the new entry point to have both checks systematically made ?

I am not saying it is mandatory, however from my experience, asking people to install xmllint (in particular on Windows) as another prerequisite is a hurdle if not a barrier and I am not in favor re-distributing tools and utilities but in this case prefer to integrate some existing XML-Library to run the schema check from within packchck without creating an additional dependency. In csolution we do the same for checking the yml files while in cbuild we rely on a the command line option -s to include a schema check. In case xmllint is not found in the path you see this output.
cbuild -s "EventStatistic.Debug+AVH.cprj"
info cbuild: Build Invocation 1.1.0 (C) 2022 ARM
warning cbuild: xmllint was not found, proceed without xml validation

@yvesll , @tcsunhao you kindly agreed to contribute this feature to packchk. Please let me know if you have any questions.

@jkrech, in order to add a copy of the PACK.xsd in the repo, I have a discussion with @soumeh01. Sourabh suggests I track the tags of the file to make it flexible to manage the version of the file. So marking the open cmsis pack spec repo as an external submodule seems convenient as we can directly get any version of PACK.xsd. Or a more lightweight proposal is downloading the file from GitHub in runtime.
Does anyone have different ideas or concerns?

I think we could deliver the latest PACK.xsd with CMSIS-Toolbox. Fetching the XSD file for the referenced schema version from GitHub at runtime might be an option but requires internet access. I think we need to specify whether we want to use the XSD for the used schema version or always the latest schema (from either release point in time or fetched at runtime).

I think we could deliver the latest PACK.xsd with CMSIS-Toolbox.

+1
Then user can overwrite schema file with a new one, or a patched one for test manually.

packchk now runs a schema check is specified
packchk --xsd <PACK.xsd> <PDSC file>

using xerces schema library (statically linked)

Just had a look at the code, did I miss M217 ?
 { "M216", { MsgLevel::LEVEL_ERROR,    CRLF_B, "Unable to get executable path %MSG%!"} },   { "M217", { MsgLevel::LEVEL_ERROR,    CRLF_B, "Unable to get executable path %MSG%!"} },

@thorstendb-ARM, sorry it seems a mistake for the duplicated log message. I reserved M217 but forgot to use it.

I suggest to close this issue and open a separate one for removing the duplicated unused message.


Add support for NFS server

Adds a new custom resource nfsservers.storageos.com for managing NFS server resources.
A StorageOS Cluster resource is a prerequisite for NFS server because the underlying storage requires StorageOS volumes.
On creating a NFSServer resource, the NFS server controller provisions NFS ganesha server instance with a StorageOS volume attached.
Short name for nfsservers.storageos.com is nfsserver.
Status of provisioned NFS server:
$ kubectl get nfsserver
NAME                STATUS    CAPACITY   TARGET         ACCESS MODES   STORAGECLASS   AGE
example-nfsserver   Running   1Gi        <IP_ADDRESS>   RW             fast           52m

CI was failing due to pod toleration.
  Warning  FailedScheduling  15s (x4 over 19s)  default-scheduler  0/1 nodes are available: 1 node(s) had taints that the pod didn't tolerate.

We taint the only node in order to test pod toleration.
Need to add pod toleration configuration for NFS server as well.

Added a temporary check in e2e tests as a workaround for the limited CSI support in openshift 3.11, which is required for NFS server. CSI volumes mount fail and the NFS server pod remains in pending state. SCC permissions are added. Should work on OpenShift 4.
Addressed the review suggestions.


Update Proxy SHA to latest with RDS fix.

Signed-off-by: Piotr Sikora<EMAIL_ADDRESS>

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: PiotrSikora
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: kyessenov
If they are not already assigned, you can assign the PR to them by writing /assign @kyessenov in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: lizan, PiotrSikora
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: kyessenov
If they are not already assigned, you can assign the PR to them by writing /assign @kyessenov in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@PiotrSikora: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
7b599a8c915e7f986d801069327d566fdc52c0df
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@PiotrSikora: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
7b599a8c915e7f986d801069327d566fdc52c0df
link
/test istio-unit-tests

prow/istio-presubmit.sh
7b599a8c915e7f986d801069327d566fdc52c0df
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Also very important:
Along with this change, please apply these changes in listener.go
https://github.com/istio/istio/pull/7428/files#diff-86fb73d7dd150e47328ead76ceca0992R802
This sets idle timeout to 0s
And add a line under that, that explicitly sets stream_idle_timeout to 0s in http connection manager. Without this all streaming gRPC connections will be terminated every 5m.

Cc @costinm for context. He knows about the gRPC bug

/retest

@rshriram it doesn't look that we need to update go-control-plane for the proxy itself. We probably need it for the timeout fix, but we already have the offending code in proxy, so it shouldn't be a show-stopper for this upgrade, correct?


Add ‘subvolumegroup’ field in cephfs storageclass

CephFS has a directory structure like ’/{volume}/{SVG}/{SV}.
Currently, SVG is fixed as csi for all pvc.
e.g., ‘/vol/csi/pvc-1’ , ‘vol/csi/pvc-2’.
I think adding a SVG field in storageclass is necessary.
So the parent directory in which the SV is created could be classified by storageclass.
This makes it easy for multiple MDSs to process metadata in SVG.
I wonder if these features are in the plan.
I'm willing to create a PR for this issue.

This is already supported in configmap  https://github.com/ceph/ceph-csi/blob/0d9cb96db1c352e04a029d1ebb4a27eb0cf35a2e/examples/csi-config-map-sample.yaml#L37-L39

Thanks a lot! That's exactly what I want.
Close issue.

Hi, again.
Changing the default SVG is possible by specifying SVG in the configmap. However, in that case, creating SVs in multiple SVGs is still can not be achieved.
Currently, clusterID and cephFS can be specified in storageclass. Likewise, if a user can specify SVG in storageclass, a SV can be created in the cephfs path that the user wants.
What do you think of this approach? I think a feature to separate the cephfs path by different tenants or services is needed to support QoS.

setting the SVG at storageclass is not possible as the storageclass parameters are not sent to the cephcsi In deleteVolume or deleteSnapshot operations. for that the SVG is moved to the configmap. if you want multiple SVG in single cluster you can create configmap like below
[
      {
        "clusterID": "abcd", # this need to be specified in storageclass
        "monitors": [
          "<IP_ADDRESS>:6879",
        ],
        "cephFS": {
          "subvolumeGroup": "test"
        }
      },
       {
        "clusterID": "xyz", # this need to be specified in storageclass
        "monitors": [
          "<IP_ADDRESS>:6879",
        ],
        "cephFS": {
          "subvolumeGroup": "testing_123"
        }
      },
      {
        "clusterID": "klm", # this need to be specified in storageclass
        "monitors": [
          "<IP_ADDRESS>:6879",
        ],
        "cephFS": {
          "subvolumeGroup": "testing_svg"
        }
      }
    ]

You're right. I thought it a little tricky that pointing the same ceph cluster using a different clusterID in configmap. But I didn't know this detail before.

setting the SVG at storageclass is not possible as the storageclass parameters are not sent to the cephcsi In deleteVolume or deleteSnapshot operations.

Thanks a lot for your comment. I'm gonna update docs for others.

closing this one, as its already covered in configmap.

Thanks a lot for your comment. I'm gonna update docs for others.
please quick ^_^


Update flatpickr version to v4.5.2

Hello,
Update to the last current build of flatpickr to solve some issues.

This isn't necessary, because of semver you should just need to run npm upgrade in your project to get the updated flatpickr dependency.


Ensure JCE names are accurate

This is a blocker for the 0.2 release which includes a Provider, meaning that the names become part of the API.

Related: https://tools.ietf.org/html/rfc8032#section-4

In #19 the default Ed25519 name was change from ed25519-sha-512 to SHA512withEd25519. This has several inconsistencies with the JCA Signature naming scheme of <digest>with<encryption>:

<digest> is the name of the algorithm applied to the message before signing. Most signature algorithms require the message to have a specific size or format, and so the digest is used to generate a message representative. EdDSA includes an internal digest H that means it can sign arbitrary messages, but this shouldn't be specified in the <digest> field, as it is a parameter of the signature algorithm. <digest> should be used to specify the hash function for HashEdDSA (#34).
Based on the apparent convention, <encryption> should be the algorithm family (ie. EdDSA), not the name of the specific instantiation.
Names in a named curve table should be the curve name, not the signature instantiation.

Thus the algorithm name should be NONEwithEdDSA, but the curve name should be ed25519-sha-512 (aliased to Ed25519 as the common name).

Section 8 of https://tools.ietf.org/html/draft-ietf-curdle-pkix-04 provides additional instructions for naming:
8.  Human Readable Algorithm Names

   For the purpose of consistent cross-implementation naming this
   section establishes human readable names for the algorithms specified
   in this document.  Implementations SHOULD use these names when
   referring to the algorithms.  If there is a strong reason to deviate
   from these names -- for example, if the implementation has a
   different naming convention and wants to maintain internal
   consistency -- it is encouraged to deviate as little as possible from
   the names given here.

[snip]

   Use the string "EdDSA" when referring to a signing public key or
   signature when the curve is not known or relevant.

   When the curve is known, use a more specific string.  For the id-
   EdDSA25519 value use the string "Ed25519".  For id-EdDSA448 use
   "Ed448".

Based on this, and the fact that SHA-512 is a parameter of the Ed25519 curve rather than an additional input, I'm opting to wholesale-rename the curve from ed25519-sha-512 to Ed25519. This may be a minor inconvenience to some downstream users of the library, but they can migrate when they upgrade their dependency, as it is only a human-identifiable name (unlike the OID / encoding changes in #22). There should be no dynamic dependencies downstream yet, as the Provider has not been released before now.


Partial assembly support for ParBilinearForm::TrueAddMult

I am interested in the global action of a ParBilinearForm via partial assembly; however there seems to be missing support for certain integrators:
--> the case of interior face integrators is not implemented
... in function: void mfem::ParBilinearForm::TrueAddMult(const mfem::Vector &, mfem::Vector &, const double) const

Actually, this looks like incorrect placement of the MFEM_VERIFY here: https://github.com/mfem/mfem/blob/c528f79c9fc2f92612660ccf0f98cd1fe95879dc/fem/pbilinearform.cpp#L320-L322
This should be moved inside the else case when ext == NULL. Not all BilinearFormExtension sub-classes support face integrators but the PA one does. The check should be also performed inside the Mult methods of the other BilinearFormExtension sub-classes.

Resolved by #2447.


Umzug with mongodb fails to compile with tsc

I use umzug to run mongodb migrations. I also use typescript in my project.
When I try to compile my project I have next error:

node_modules/umzug/lib/storage/sequelize.d.ts:3:65 - error TS2307: Cannot find module 'sequelize' or its corresponding type declarations.
3 import { Sequelize as SequelizeType, Model as ModelClass } from 'sequelize';

Is it possible to use umzug without sequelize with typescript. Maybe I'm missing something.

@olehdevua thanks for the report. This is a bug, should be possible to fix this week. Just to check - are you using v3 beta?

Is it possible to use umzug without sequelize with typescript. Maybe I'm missing something.

Should definitely be possible.
However, I was not able to reproduce, can you provide a minimal example? @mmkal did you reproduce it?

Yes I was able to reproduce. No problems show up in vscode but when compiling with tsc it errors.


[BUG] Include ignored with Query instruction

Hello,
I'm using LiteDb 5.0.8, in a NetCore 3.1 application.
I'm encountered a strange issue working with BsonRef.
I have an object A, which contains a list of objects B (BsonRef):
[BsonRef] public List<B> Bees { get; set; }
If I load an instance of A, using:
db.GetCollection<A>() .Include(a=>a.Bees) .FindById(....)
I get my instance, with my property "Bees" fully polulated.
If I load the same instance using Query() instruction:
db.GetCollection<A>() .Include(a=>a.Bees) .Query() .Where(a=>.....) .ToList()
The collection "Bees" is populated with only the keys of the objects, but all other B's properties are null (in other words: the "Include" instruction is somehow ignored).
Is this an expected behaviour?

@animha This issue has been fixed in the master and its fix will be present in the next incremental release.
In the meantime, you can call Include after Query and it should work.

Wonderful!


Omnia beegfs issue#621

Issues Resolved by this Pull Request
Please be sure to associate your pull request with one or more open issues. Use the word Fixes as well as a hashtag (#) prior to the issue number in order to automatically resolve associated issues (e.g., Fixes #100).
Fixes #621
Description of the Solution
adding base ansible role with tasks to install manager, metadata OSS servere and beegfs client stack
Suggested Reviewers
If you wish to suggest specific reviewers for this solution, please include them in this section. Be sure to include the @ before the GitHub username.
Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
660 York Street, Suite 102,
San Francisco, CA 94110 USA
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Keeping this draft PR alive.


Imgur Searches

Note: [p] = prefix.

I would like the option to pull images from imgur and/or Reddit. Here is an example of pulling from imgur: Red DiscordBot "image.py" cog.
Examples:

[p]imgur search tits would search imgur for "tits" and return the first search result.
[p]imgur gonewild new would pull the three (or more or less, you decide) newest images from http://imgur.com/r/gonewild/.
[p]imgur gonewild top  would pull the all-time top images from http://imgur.com/r/gonewild/top.

I used porn in all the examples above, but obviously this would work just as well for SFW content.

Waiting for @LawlyPopz to see if he wants to add it as an api on his server, because we can't really make people setup twitter api keys which are a disaster to work with

FWIW, here it is in Python: https://github.com/Twentysix26/Red-DiscordBot/blob/develop/cogs/image.py
I assume imgurclient = ImgurClient("1fd3ef04daf8cab", "f963e574e8e3c17993c933af4f0522e1dc01e230") is the important part, but idk. ¯\_(ツ)_/¯

@xnaas Thanks this has helped me alot ill have the api up in the next 3 hours

#767
Added initial commit for imgur api. Will improve later.

Nah


Adding a generic SnapScrollPhysics to the framework

Hello,
I have a list of scrollable items that I want to be able to scroll and have the items snap into place afterwards.
Here is a video I found that demonstrates the snapping behavior I want after scrolls.
https://youtu.be/cUGyvYjGkKA?t=13
I know Flutter provides PageScrollPhysics that implements this snapping behavior for scrolling between pages, but there is not one for a list of scrollable items.
Do you think it would be worthwhile to support this from the framework?

Consider using https://docs.flutter.io/flutter/widgets/FixedExtentScrollPhysics-class.html


Add send_monotonic_with_gauge config option and refactor test

The send_monotonic_with_gauge config option submits a monotonic_count along with the gauge for  Prometheus counter metrics and histogram/summary metrics (that should be a counter). The monotonic_count metric is differentiated from the gauge metric with an appended .total.
This option is hidden by default as it only really applies for legacy behavior.
This PR also refactors tests to de-duplicate code/assertions and use pytest.parametrize for testing the various submission type flags that affect histogram/summary count and sum metrics and counter metrics.

CI failing on new flake8 error codes. PR to fix https://github.com/DataDog/integrations-core/pull/6620


line spacing inside tables

Could you add an option for line spacing inside tables? For long tables, double spacing often leads to the table not fitting on one page.
As far as I understand, inside tables the spacing does not have to be double: https://apastyle.apa.org/style-grammar-guidelines/paper-format/line-spacing
Or is there a quick workaround?

Until an option is added, the following preamble code works to make all tables single spaced, whilst preserving the document spacing of captions and table notes:
% single line spacing of all table "floats"
\usepackage{setspace}
% Revert single line spacing of floats (setspace)
\makeatletter
\let\@xfloat=\latex@xfloat
\makeatother
\AddToHook{begindocument/end}{\NewCommandCopy{\bls}{\baselinestretch}}
\AddToHook{env/table/begin}{\singlespacing}
\AddToHook{env/longtable/begin}{\singlespacing}
\AddToHook{env/sidewaystable/begin}{\singlespacing}
\AddToHook{env/threeparttable/begin}{\singlespacing}
\captionsetup{font={stretch=\bls}}
\AddToHook{env/tablenotes/begin}{\setstretch{\bls}}


command not found: rn-nodeify react-native 0.27.2

@waleedarshad-vf i'm not sure what you're running to get this error. Can you paste the contents of your shell?

if you're running rn-nodeify from the command line, be sure to npm install -g rn-nodeify first

I did same but after running i got same result. rn-nodeify not found found

@waleedarshad-vf strange. Did you try installing it as a devDep?
npm i --save-dev rn-nodeify
./node_modules/.bin/rn-nodeify --install --hack

Yes Working. Thanks!. I don't know what i missed that time. btw thanks for your quick response.

@waleedarshad-vf great!

It gets stuck whenever I run
./node_modules/.bin/rn-nodeify --install --hack

Hey,  does
npm i --save-dev rn-nodeify
./node_modules/.bin/rn-nodeify --install --hack

work with expo based react native projects too. I am not able to install them. Can you help me with this.

Hi, why do i cant use ./node_modules/.bin/rn-nodeify --install --hack in windows 10?
look at the pic please, me very need the solution. thanks!

Hi, why do i cant use ./node_modules/.bin/rn-nodeify --install --hack in windows 10?
error said
'.' is not recognized as an internal or external command, operable program or batch file.

try .\node_modules.bin\rn-nodeify --install --hack

@gronnyn-dc use this command in Windows:
.\node_modules.bin\rn-nodeify --install --hack


OSIDB-3248: Object of type Flaw is not JSON serializable

[!IMPORTANT]
This needs to be merged before #673 is deployed to production
unless we want to break bugzilla synchronization

Summary
BZSyncManager schedules a task to synchronize the flaw changes to bugzilla asynchronously:
https://github.com/RedHatProductSecurity/osidb/blob/d96e3dac5bd102901ad53734eb6adb64cc4ec622/osidb/sync_manager.py#L600-L606
on #673 the serializer was modified to add an attribute old_instance that is used to detect if we are creating a new flaw or updating an existing one:
https://github.com/RedHatProductSecurity/osidb/blob/c6287f30d685f78fc8c5bc1e16acecf34ac743a7/osidb/serializer.py#L873-L875
This parameter is an instance of Flaw model that is sent as part of the message to the celery queue for future processing

Example of the args

By default, celery uses json serialization, but a Django Model is not json serializable, hence the error, this means that the synchronization to bugzilla fails, normaly silently since this error is thrown on the worker, but sometimes, if the workers are idle, when a user updates a flaw, the  BZSyncManager.schedule_task is called right away and the error is propagated to the user
Possible solutions
Pickle (Chosen)
Celery has support for the pickle serialization, that allows to serialize almost everything, including Django models.
Enabling the pickle serializer in a root container is discouraged for security reasons as the pickled could be executable, this can be overriden by the environment variable C_FORCE_ROOT but instead I opted for creating an user inside the docker image for running the application.
JSON
If we want to keep using json serialization we need to rewrite part (if not all) of the FlawBugzillaQueryBuilder to use a dict instead of a FlawModel.
We can't utilize the FlawSerializer on the BZSyncManager as it creates a circular dependency, also not all fields of the flaw are needed, so the best approach would be to create a simplified json dict with the required parameters and use them on FlawBugzillaQueryBuilder
Closes OSIDB-3248

initial impressions - this whole area needs a bit more thinking ... I would include @skontar on these conversations and at least wait for @osoukup to comment.

This seems to me to introduce quite dramatic changes only because we need JSON serialization. The idea of the query builder was that it compares the old and the new model instance to see what has changed. Probably this does not even work correctly any more - eg. compare new CC list with the old one when we do not fetch it from Bugzilla at all... I think that the query builder changes would be more appropriate and maybe having a UUID as a Celery task argument would then be enough.

@MrMarble this one is being solved differently by https://github.com/RedHatProductSecurity/osidb/pull/695 so the PR can be closed


⚠ Bofrost.lu has degraded performance

In f4601ce, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2854 ms

Resolved: Bofrost.lu performance has improved in bf48448 after 8 minutes.


Generated resolvers break with TypeDI > 0.8.0

A change was introduced in TypeDI 0.9.0 that requires the @Service decorator for classes (see this comment). Using typegraphql-prisma with TypeDI > 0.8.0 results in an error something like the below when running queries (not tested for mutations, although I expect it to have the same issue):
Service with \"MaybeConstructable<PostCrudResolver>\" identifier was not found in the container. Register it before usage via explicitly calling the \"Container.set\" function or using the \"@Service()\" decorator.
Looks like it is the same problem that caused typestack/typedi#173, typestack/routing-controllers#642 and MichalLytek/type-graphql#775.
A current workaround is using TypeDI 0.8.0. Fixing by adding @Service to all classes will obviously break for projects not using TypeDI. Maybe an option that specified dependency injection could be passed to the generator?

You can decorate your classes manually:
import { UserCrudResolver } from "@generate/type-graphql";
import { Service } from `type-di`;

Service(UserCrudResolver);

I can't generate resolvers with that decorator applied automatically.

There's proof of my lack of knowledge of decorators ¯\_(ツ)_/¯.

@EirikFA This way of calling decorator is rather a hack. As the error says:
Register it before usage via explicitly calling the \"Container.set\" function or using the \"@Service()\" decorator."

you should be able to register the resolvers manually in container:
Container.set({ id: RecipeResolver, type: RecipeResolver });

Yep, I realised I could use Container.set after some trial and error (I was using type when I actually wanted id). :)

Same, looks like the recent API changes were ill-considered and are unintuitive even for experienced users.

thanks all for the insights, just in case people want a snippet
import {resolvers} from "@generated/type-graphql";
import {Service} from "typedi";

...

resolvers.forEach(
    (value, index, array) => array.forEach(v =>  {
        Service()(v); // https://github.com/MichalLytek/typegraphql-prisma/issues/63
    })
)


Who is BU11A0?

Im working on getting versions working. Does anyone know what this client is?
name/Version: BU11A0
PeerId Hex: 2d4255313141302d66784a72217663513778596b

Also found this client.
name/version: XF9100
PeerId Hex: 2d5846393130302d7e5134452e28214b6d363878

Found another
name/version: tG1400
PeerId Hex: 2d7447313430302d53442d6662322a5031616153

No idea.


Vulkan Quick Reference situation

It is almost a year an Issue https://github.com/KhronosGroup/Vulkan-Docs/issues/418 was opened against Vulkan Quick Reference.
Can these pages be updated?
Should something be done to open more reliable communication channel to people responsible for the document? Or something else done to allow more rapid defect fixes (what is the copyright? can repo be opened for this)?

There's an updated quick reference card being worked on, but it won't be published until late January at earliest.

This repository is being archived as it has been replaced with the vulkan.org website (https://www.vulkan.org) and is no longer being maintained (i.e., issues posted here are no longer being addressed ).  After reviewing issues posted here, most (if not all) have been resolved or have already been re-opened in Vulkan-Docs (https://github.com/KhronosGroup/Vulkan-Docs) or other repositories for further consideration.  Therefore, all issues in this repository will be closed.  If you believe your issue has not yet been resolved, please re-open in Vulkan-Docs.  Thanks!


Extend ch4 desc

Extend docs on

projNode,
added examples,
added stuff to partial list of opts done by idealize.

Grammar:
"cluster(where $ctrl and Start are displayed)[^1]."
"cluster (where $ctrl and Start are displayed)."
"outmost symbol table."
"outermost symbole table, at lexical depth 0."
"Notice the extra symbol table created at index: 1(1)."
"There is an empty global-scope symbol table created at depth 1; in the future global variables will be defined here."
Notice how the dashed blue line is not drawn for ctrl and is not pointing to the $ctrl node in the cluster(2).
There is no line for the scope $ctrl, because control is dead after the return.[^2]
[^1]:  Arg is a constant valued, and is computed via a constant node. Arg is originally defined by ProjNode; when peephole is called, the computed type is a constant TypeInteger.  The ProjNode is replaced with a ConstantNode with the constant type.
[[diagram is fine]]
[^2]: ... [[rest is fine]]
Reword "arg not provided" section:
Initial argument value
An argument is always provided, and defaults to TypeInteger.BOT.  Individual tests can (and do) pass in other integer values.
[[ rest is fine]]
When Is Control Not-Null?
In later chapters, $ctrl will point to other control nodes, such as If and Region (and Loop), but for now, with no other control flow - it always gets set to null after a Return.


Stream decorator for encryption

Like io.CopyN only that the blocks will get encrypted on the fly.
This will be used in secure enclave and is a first step to autoclave.

Part of websrv6 and our fork of Go.


New home screen and layout changes

I have thought about how to visualize the documentations in the app and decided to split up the work into the layout changes including a new home screen. It's an idea and we can discuss it. No problem if you don't like it ;)
First I created a new home screen:

My idea behind this Disney+ inspired screen is that the user mainly wants to look a stream of the current season. So I created the big teaser image which should be focussed first and looks quite good and prominent. After that I created the visualization of the "Archive" with the last 5 season and a option to display all seasons. It's quite the "Category"-Thinking of all big streaming applications and I would like to display the "Documentations" below the Archive category.
After that I had a look at the F1TV website and saw that the seasons in the archive were structured in decades. So I switched the layout to the BrowseSupportFragment.

Here I'm not sure whether to display the category title as "2009-2000" or like I did "2000-2009".
And at the end I playing around with some colors (which I currently not have commited) to make it more F1 like. If you like it I can give it a commit/push ;)

And I need some dutch translations for this @bashopman if we are going to merge it :D

Hi Bas,

Thanks for inviting me! I have added the translations as suggestions. Obviously you'll have to copy those in the Dutch strings.xml file... ;)

Thanks for the translations. I will add them asap :)

From a non Android developer, I'm impressed with what you built. Nice.

Well thanks man. I'm also not an Android Developer too and very happy about being a Web Developer, so much more flexibilities and possibilities :D

As an app user, I'm not sure about the added value of the extra home-screen.

I wanted to include the documentaries and was thinking about the navigation in the app and thought an additional home screen would be nice as it is known in other apps (Netflix, Prime, Disney+). Sure, for now the value is not that big because I implemented the screen without extra categories (Documentaries below the archive, maybe the current/last race above the archive), but I wanted to discuss about the layout/navigation first before starting and creating a big PR.

From the screenshots it is not immediately clear for me that the teaser image is clickable. I don't know what it looks like on Disney+, but maybe you can accentuate that a bit more?

Ok, I was trying to clarify that with the white border around the image and the white border around the archive items. Maybe we can increase the border width? Or create some "zoom"-effect on the image? But thats beyond my android knowledge :D

Additionally, the string "current season: 2021" over the teaser image could be just "2021" for me and be just as clear.

Yeah, that was what I was thinking too. But I wanted some other opinions first :)
Hope I could clarify some things? :)

Hi kleinMaggus,
With the additional plans you have for the home screen, it makes much more sense! Thanks for explaining. I particularly like the idea of showing the current/last broadcasts!
Maybe you can make the design of the final concept and then gradually work towards it in a few pull requests?
Regards,
Bas

Hi @kleinMaggus hehe nice stuff man,
I couldn't run the project yet due some work related stuff, but what is the current implemented design ?
The one I like most is 2nd screen (show all) and the 3rd screen (the blue background), I am not really sure if we should use these red colours as far as they are nice with the F1 brand itself, that is the main problem, we can't really refer their brand a lot (or I might be sued).
I liked that you left a gap for documentaries which is something that I will probably implement on future.
Can we hammer down on the design with 2nd and 3rd screen? let me know on what you think, but I liked the design a lot, thanks for the effort there.

Hi @leonardoxh
the first 3 screens are currently implemented. The 1st one shows the focus state of the image (which you can click on) and the list row when you open the app. The 2nd screens shows that you can navigate to the list row and to the right (to show all). And the 3rd one is using the blue background like in the session selection (when you have selected the current season for example).
With the red background I'm not sure too. Just wanted to show how it can look like. The red color is one of our banner logo, so it's not the red from F1 :D But I think we will go with the blue one as we can adjust colors later :)


Scoped CSS and SSR

I've been trying to set up server side rendering for my Vue project with scoped CSS. It seems to be failing on loading in the scoped styles through the loader included in the lib folder of the project. Something about super.apply can't be called?
However, the second issue that I see coming up is possible ID mismatches. I believe it generates IDs by just incrementing a global var and assigning it to the filename. If the server side rendered bundle differs in the number of components loaded in (or loads them in a different order) I believe it will change the IDs assigned to the component and the data attributes will no longer match the CSS from the browser CSS bundle.
What do you think about changing it to a hash of the filename for the component instead? I believe this would stay consistent across both server bundle and the client bundle.

I'll use hash for component id from the next version.

Yayyy! Thanks a bunch