[BUG] Multi-Project Issue: Display and Execution of Triggers in Other Projects After Transfer

Mage version
0.9.67
Describe the bug

Why when I choose first project, I can see triggers from another project in multi project platform? Is it normal?
v0.9.67

When I start main (multi project) - my triggers was duplicate

I start mage with use old DB, now, I see new name and old name in projects

On the overview I see stats from mage_ct (DB from migrating project)

File with settings.yaml
settings.yaml.zip
To reproduce

Create parent dir
Transfer old project inside parents dir
Create settings.yaml
I didn't transfer defaults folders inside others project (ornp, clients)
Start docker like command
sudo docker run -d -p 6789:6789
-v $(pwd):/home/src
--name mage_ct
--restart=always
-e REQUIRE_USER_AUTHENTICATION=1
-e REQUIRE_USER_PERMISSIONS=1
-e MAGE_PUBLIC_HOST=MY_URL:6789
mageai/mageai:latest /app/run_app.sh mage start main

Expected behavior
No response
Screenshots
No response
Operating system
Mac os, Chrome
Additional context
No response

@mrykin Yes, we can reproduce the issues you mentioned and are addressing it today.

@mrykin

Why when I choose first project, I can see triggers from another project in multi project platform? Is it normal?
Currently, the triggers from another project are visible, but it should only show the triggers from your currently selected project. We'll fix this.

When I start main (multi project) - my triggers was duplicate
Were the triggers that were duplicated all saved as "triggers in code"? Meaning those triggers' pipelines had their triggers saved in a triggers.yaml file? It seems like new triggers are getting created from the trigger config files (even though they already exist in the db) due to the change in repo_paths after migrating to multi-project platform. Will see if we can avoid this duplicate trigger issue.

I start mage with use old DB, now, I see new name and old name in projects
Can you clarify what you mean here? What was the expected behavior?

On the overview I see stats from mage_ct (DB from migrating project)
Was the previous project (that you migrated from) a single-project setup? Do you see the pipeline runs (e.g. in the selected project's Pipeline Runs page) from the previous project after migrating to the multi-project platform? What is the expected behavior here (e.g. do you expect to see the pipeline runs from the previous project, as well as the stats for them, to appear in the Overview page?

Feel free to DM me in our Slack channel if you'd like, may be faster to communicate that way. If you're able to start with a fresh slate for your metadata db (meaning no existing triggers or pipeline runs in the db) when migrating to the multi-project platform, that would be ideal. If you have triggers saved in code, the triggers.yaml files would automatically be used to create new triggers in the db. Nonetheless, thanks for bringing up these issues. We'll work on making the migration from an existing project to the multi-project platform smoother.

Currently, the triggers from another project are visible (intentionally), but we will think about how to improve the UX since users might expect it to only show the triggers from the currently selected project.
I don't understand the logic of this. It's not convenient from the point of view that I see other people's triggers (if I assume a separate project as independent). And I thought that this was precisely the problem causing my pipelines to run incorrectly.

Were the triggers that were duplicated all saved as "triggers in code"? Meaning those triggers' pipelines had their triggers saved in a triggers.yaml file? It seems like new triggers are getting created from the trigger config files (even though they already exist in the db) due to the change in repo_paths after migrating to multi-project platform. Will see if we can avoid this duplicate trigger issue.

Yes, this setting was activated. I use it as an additional backup of settings, so that everything remains in the code if necessary to transfer."

Can you clarify what you mean here? What was the expected behavior?
My expectations were: I had one project that had an old name, I start a new project using data from the old one. I expect to see either the old name (if possible) or the new one, but not both at the same time. Now I see two project names, which are actually one: mage_ct - parent of the data, marketing - successor.

Was the previous project (that you migrated from) a single-project setup? Do you see the pipeline runs
Yes, I migrated from single-project. What I mean. In each project, I want to see statistics for that project only, and the breadcrumbs say exactly that I am in the overview of the child project, not of the entire general."

@mrykin Thanks for the responses. There are definitely improvements that can be made with the multi-project platform UX in general (e.g. confining triggers to just the currently selected project). There were certain engineering considerations made for extensibility, which resulted in data like other projects' triggers being visible in the current project, but this is all great feedback we'll take into account when making updates.


[Layout] flexbox while changed StatusBar height (e.g. while having a hotspot open)

Hello,
I'm having a simple flexbox as view with a HeaderBar and a FooterBar. It seems that the FooterBar is not positioned correctly while having e.g. a hotspot open (resulting in an increased standard IOS status bar). The footer seems to be below the end of the screen (e.g. too low).
Regards
Philipp
P.S. I know https://github.com/facebook/react-native/issues/871, but thats not working for me (even worse than before, seems to push the box more down)

Maybe there should be a better way of dealing with this built into react-native, cc @vjeux, but you can try this out until then https://github.com/brentvatne/react-native-status-bar-size
Based on changes in the status bar size, you could add a negative margin of the difference between the new status bar height and the default (20) to your container and that should offset it properly.
Let me know if this helps @PhilippKrone

Thanks for your help, @brentvatne. I was already doing something similar (although not with an event listener, but just checking the current height in the componentDidMount method), but thought there might be something built in RN already, as this should be an issue for nearly every app, shouldnt it?
Regards,
Philipp

@PhilippKrone - agreed - it's still very early for react-native so it's likely that something like this will get built in eventually. Does the negative margin trick approximate what the default behaviour should be for you? (Shift content up to appear underneath the status bar). Perhaps we could look at building this in.

@brentvatne Yes, it has worked. For the sake of documentation, I have done the following:

around my , I have added a view:
<View style={[styles.flex1, this.getStatusBarHeight()]}>
the method "getStatusBarHeight()" returns "top: 20 - currentStatusBarHeight":
getStatusBarHeight: function() {
var t = 20 - this.state.currentStatusBarHeight;
return {
top: t,
}
},
for the rest, I was following your minimal example @ https://github.com/brentvatne/react-native-status-bar-size

Sure, we can take a look at implementing something like that directly in RN!
Regards
Philipp

Great - this issue seems to be coming up a lot and I think a good solution would be to automatically do those offsets, but there should be a way to disable that as well, just in case. I'm sure @vjeux would have a better comprehensive insight into what would work best here.

iOS model is really tricky here. Let say we have a navigation bar and a tab bar. The normal way you would implement it is by doing:
<Container>
  <Navigation />
  <Content />
  <TabBar />
</Container>

and let the layout system automatically figure out what navigation and tabbar take and size the content with the remaining space.
However, Apple designers decided to make the navigation and tab bar semi-transparent, which complicates everything. Now instead of having 3 boxes laid out on-top of each other, <Content /> needs  to be as tall as the container BUT have some padding equal to the size of the top and bottom bars.
The way Apple implements this is by having the following structure:
<Navigation offsetTop={40}>
  <TabBar offsetBottom={30}>
    <Content />
  </TabBar>
</Navigation>

As you go deeper in the hierarchy you accumulate those offsets and when you reach the first element that's a ScrollView, you apply some negative margin up and down and padding up and down equal to the accumulated offsets.
Someone tried to implement this but it proved to be difficult in the current architecture because we run React Native in a separate thread layout -before- we render the iOS elements. Those offsets are computed in iOS layout phase which happens in the main thread -after- React Native layout.
Then, we realized that it was going to be super tricky and we found easy workarounds in our use cases so we didn't invest much time on it. This is however something that needs to be fixed :)

Thank you for reporting this issue and appreciate your patience. We've  notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/layout-flexbox-while-changed-statusbar-height-eg-while-having-a-hotspot-open
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix. We rely on the community to provide
bugfixes as the core team is focused on performance.


UpUp is not working on Firefox 44 / Linux 64-bit

This is the example I used and it is copied from https://www.talater.com/upup/

The page is white, even if I choose "File > Work Offline" and I refresh the page.

Is there a live page showing the problem I can look at?

Of course, the URL is https://getts.ro/upup.html

You seem to missing upup.sw.min.js, so the service worker is not getting installed.  It seems we are not rejecting the register() promise in this case, though.

Oh, we are rejecting, but it seems you have logging disabled in upup.  The console.log() message that would have told you this is disabled.  From the minified source:
e=!1
e&&console.log("ServiceWorker registration failed: %c"+a,f)

Thanks @wanderview.
@ovidiugabriel I'm also not seeing the upup.sw.min.js file on your server.
You should also probably place it in the root directory, and not in the js directory.

Hey, Thanks a lot for you very fast answers.
Ok. I have to be more specific on this issue.
I moved upup.min.js into the root folder and also copied upup.sw.min.js into the root folder.
It works now, thanks!
I notice some things though:

UpUp Offline mode works only when Firefox in "Offline mode" and the cache is cleared. So, as long as the browser cache is available, UpUp offline mode won't be triggered even if the browser is in offline mode.
If I am in firefox offline mode and I hit Ctrl+Shift+R (complete refresh), I receive "Firefox is currently in offline mode and can't browse the Web." and UpUp is not able to work in this mode. However, if I hit F5 or Ctrl+R (simple refresh), UpUp offline mode is working again.

Ok, this is not a real issue, but it is just a summary of usecases that can happen while using UpUp.
Great job, folks! Thanks!

The service worker (and upup) cannot detect offline status if http cache is still serving content.
A hard refresh (ctrl-shift-r) must bypass the service worker per the spec.

@ovidiugabriel I think this is not working even in Chrome:

First you don't need to include the 'upup.sw.js' as this is the service worker itself. Moreover, it is named upup.sw.min.js.
The former file must be placed in the root directory (not in js/ as it is now).
Once these fixes are done, start a static server. Let's say it's running on localhost:8000
Ensure there are no service workers installed for this origin (i.e. about:serviceworkers and unregister all the sw for localhost:8000).
Now visit your server. You'll see nothing as default policy of upup is network first and your index is empty.
Switch off your server and refresh. You should see the contents you put in the upup configuration.

@wanderview : Exactly. Important to know this info. Thanks!


docs: Update and more general wording for "docker container"

Checklist

[x] make test-all (UNIX) passes. CI will also test this
[ ] unit and/or integration tests are included (if applicable)
[x] documentation is changed or added (if applicable)

Description of change

Fixes: #931

📚 Documentation preview 📚: https://goss--934.org.readthedocs.build/en/934/

Thank you for submitting this.
Couple of feedbacks on this:

Removing docker from kgoss and in a few other places makes sense. But this PR is a little aggressive and removes docker from everything.  dgoss is a docker (and also podman) wrapper for goss, dcgoss is a docker-compose wrapper for Goss

CI is failing, not sure why yet.


What is the problem

The kernel driver compiles the drive and installs it in an unsigned state
But
I get a blue screen error
I think the compilation is wrong
When compiling, the following errors are displayed
But I ignored it and compiled it
What's wrong?
1> ------ Start build: project: mapDriver, configuration: Debug x64 ------
1> Building 'mapDriver' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
1> Stamping x64 \ Debug \ mapDriver.inf [Version] section with DriverVer = 11/10/2017, <IP_ADDRESS>
1> Driver.c
1> Driver.c (6): warning C4100: 'w_ImageInfo': Unreferenced formal parameter.
1> Driver.c (92): warning C4022: 'memcpy': Pointer of actual parameter 1 does not match.
1> Driver.c (110): warning C4022: 'memcpy': Pointer of actual parameter 2 does not match.
1> Driver.c (123): warning C4022: 'memcpy': Pointer of actual parameter 1 does not match.
1> Driver.c (140): warning C4100: 'DeviceObject': This is an unreferenced formal parameter.
1> Driver.c (166): warning C4100: 'Irp': Unreferenced formal parameter.
1> Driver.c (166): warning C4100: 'DeviceObject': Unreferenced formal parameter.
1> Driver.c (205): warning C4047: 'Function': Indirect reference level of 'PLOAD_IMAGE_NOTIFY_ROUTINE' is different from 'PLOAD_IMAGE_NOTIFY_ROUTINE (__cdecl *) (PUNICODE_STRING, HANDLE, PIMAGE_INFO)'.
1> Driver.c (205): warning C4024: 'PsSetLoadImageNotifyRoutine': The format and actual parameter 1 have different formats.
1> Driver.c (174): warning C4100: 'RegistryPath': This is an unreferenced formal parameter.
1> c: \ users \ office \ desktop \ pubg-map-hack-master \ pubg-map-hack-master \ kernel driver \ mapdriver \ driver.c (13): warning C4716: 'NotifyImageLoadCallback' I will.
1> mapDriver.vcxproj -> C: \ Users \ office \ Desktop \ PUBG-map-hack-master \ PUBG-map-hack-master \ kernel driver \ x64 \ Debug \ mapDriver.sys
PUBG-map-hack-master \ kernel driver \ x64 \ Debug \ mapDriver.pdb (Full PDB) -> mapDriver.vcxproj -> C: \ Users
1> Driver is a Universal Driver.
1> ........................
1> Signability test complete.
1>
1> Errors:
1> None
1>
1> Warnings:
1> None
1>
1> Catalog generation complete.
1> C: \ Users \ Office \ Desktop \ PUBG-map-hack-master \ PUBG-map-hack-master \ kernel driver \ x64 \ Debug \ mapDriver \ mapdriver.cat
========== Build: Success 1, Fail 0, Latest 0, Omit 0 ==========

These are not errors, just warnings. Ignore them. The build process is fine.

Use Release build instead of Debug build

The author of this idea is cattle, I have successfully compiled and began to use, I really do not want this app to abuse, because after become more than the number would have been PUGB official seal. Well, I'm now trying to add some functionality to make this program more cow


Update: use lodash.get for smaller dependency

Current coverage is 100.00%

Merging #3 into master will not affect coverage as of 612657a

@@            master      #3   diff @@
======================================
  Files            1       1
  Stmts           20      20
  Branches         2       2
  Methods          0       0
======================================
  Hit             20      20
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 612657a

Powered by Codecov. Updated on successful CI builds.


Executable linking produces executables with multiple layouts but runtime does not support that

-iree-hal-link-executables will create an executable (in LLVM & VMLA) that has multiple interfaces and these then map to multiple executable layouts that are required during binding/dispatch. This doesn't match up with the executable creation semantics which take only a single executable layout - meaning that if the executable layout passed during creation is actually used things get .... weird.
Probably need to change executable creation to take multiple layouts. I've been meaning to change that API for awhile anyway and see if we can make it something a bit more sensible for batch compilation too.
For example, today:
iree_hal_executable_cache_prepare_executable(cache, executable_layout, caching_mode, executable_data, ...);

Simple fix:
iree_hal_executable_cache_prepare_executable(cache, caching_mode, executable_data, executable_layout[], ...);

Future async coolness:
iree_hal_executable_cache_prepare_executables(cache, caching_mode, executable_data, executable_layout[], signal_semaphore, ...);

Just leaving some breadcrumbs for anyone (like us months later) following along...

We also discussed this on Discord here
This issue comment first spotted the issue and bounced around some ideas
This commit on a local branch attempted to work around / fix this limitation

Just leaving some breadcrumbs for anyone (like us months later) following along...

We also discussed this on Discord here
This issue comment first spotted the issue and bounced around some ideas
This commit on a local branch attempted to work around / fix this limitation


SparkPostRails::DeliveryException ([{"message"=>"Unauthorized."}])

I'm getting this message when I try to send an email:
Completed 500 Internal Server Error in 1174ms (ActiveRecord: 40.8ms)
SparkPostRails::DeliveryException ([{"message"=>"Unauthorized."}])
but the main problem is when I try with same data after some time it resolves automatically. I don't know what to do with this any suggestions how can I solve this?

Check API Key Permissions!!


Nodes not ready if using a private subnet

Version

Karpenter: v0.5.2

Kubernetes: v1.20.0
Expected Behavior
When an instance is launched on a subnet which does not have "Auto-assign public IPv4 address" in the subnet options, the launch should either fail in the controller, or automatically add the option in the Launch Template that's created in AWS. Either that or a property called "AssignPublicIpOnLaunch": "true/false" should be added.
Actual Behavior
Instances are launched and then get stuck in the Not Ready state. From what I've noticed this also makes Karpenter add more nodes every 10 or so minutes to attempt to rectify the situation of unscheduled pods (probably an endless loop)
Steps to Reproduce the Problem
Create a subnet with "Auto-assign public IPv4 address" set to false.
create a Provisioner resource with a subnetSelector pointing to that subnet.
attempt to launch new nodes.

Thanks for reporting this! I think it should be straightforward to implement. Can you confirm that you are not using custom launch templates?

(probably an endless loop)

Karpenter will terminate the node after 15 minutes if it fails to connect. We may tighten this to 5m, since users have been thinking this is an infinite loop.

We're launching into private subnets (with auto-assign public addresses set to false) and not having any issues with it. If you're in private subnets, make sure you have a NAT gateway/instance setup and that your nodes are getting the right security groups applied to them.
I would actually prefer nodes not to have public addresses on them. If this were implemented, it should definitely be false by default.

I would agree w/ @mikesir87 on NOT assigning public IPs on launch into a subnet that is not auto-assigning public IPs.  The subnet should auto-assign public IPs OR have NAT setup.

You'll need access to the Internet to access the cluster endpoint in the private subnet OR use vpc endpoints to access the cluster and other necessary APIs like EC2.  You won't need a custom launch template to work around it, just need to figure out what's not accessible.
Can you login to the node that can't get to ready and see what the kubelet or bootstrap script logs say?
cat /var/log/user-data.log

journalctl -u kubelet

I had the same problem after following some examples, but in the end it was a EC2 tag that was missing.

Closing because issue is old, please reopen if you feel this is still an issue.


Fix embroider dependency issues

:tada: This PR is included in version 5.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Error on rendering DynamicForm when having a Date Field with internal name starting with underscore ("_")

Category
[ ] Enhancement
[X] Bug
[ ] Question
Version: [3.15.0]
Expected / Desired Behavior
The form should be rendered successfully.
Observed Behavior
The form dispears and errors show in the console.

Steps to Reproduce

Create an extension using DynamicForm
Add OOTB "End Date" or any date field named starting with a number (for example, "1Date") to a content type
Add the content type to a document library
Create a document out of the content type
Attach the custom form to the list content type
Add a date value to the new document from Details Pane
Open custom form
Issue: errors show up in console, the form shows and disappears.

Investigation
The reason could be the line to get the date value from the list item.

The key of the date field value in list item is not the same as field internal name. For example, for OOTB date field "End Date", internal name is "EndDate", but in list item, its saved as "OData__EndDate". Same to other fields which internal name starts with underscore "". SharePoint will prefix it with "OData_" to make DynamicForm unable to get the value.

Hello @Lewin8687,
I have found the issue, and will soon creating a PR on this.
@joelfmrodrigues @AJIXuMuK @michaelmaillot Please assign this to me.
Thanks,
Nishkalank

Hello @Lewin8687,
I have created a PR on this.
Problem statement
When a date column is created with an underscore or '_' at the begining, the form is not rendered correctly. For instance, if a column with name '_AccomplishedDate', '1AccomplishedDate' is created, and the list form is not rendered, instead it errors out.
Solution
On investigating the issue, I have created columns as below

Column Name
Type
Internal Name (Retrieved from Item)

1EFDate
DateTime
OData__x0031_EFDate

2EFDate
DateTime
OData__x0032_EFDate

_EFDate3
DateTime
OData__EFDate3

12312EDate
DateTime
OData__x0031_2312EDate

%Test
Text
OData__x0025_Test

1Test
DateTime
OData__x0031_Test

Since the FieldInternal names are not matching with the Internal names of the columns, this issue is spotted.
By checking the FieldInternal name as below, and validating, the issue is resolved.
        if (fieldName.startsWith('_x') || fieldName.startsWith('_')) {
          fieldName = `OData_${fieldName}`;
        }

Screenshot

Thanks,
Nishkalank


fix typo?

just guessing, but x is not mentioned elsewhere, and i didn't see how the hslider would know about value

thanks!


Additional invalid request

This extension sends an invalid additional request per each valid request. This can be monitored using Logger++ or other extensions in front of Burp.
Problems in the additional request are as follows:

it adds the OAuth header twice
it adds the header before the HTTP verb

This especially happens when using Proxy.

I haven't really used this with proxy, maybe that's the reason why I haven't seen this yet. :)

Could you send an example? Right-click the original request in the Proxy > HTTP History tab, select Save item and make sure to have [x] Base64-encode requests and responses checked on the bottom of the file picker dialog before saving it. You can either include the contents of the file here, or send me a mail with this attached.

It really just sends it in the middle of requests in proxy when they have "Authorization" header. My website uses Basic Authentication for areas that are not accessible using OAuth.

So what should be the desirable behavior?

No authorization header: add OAuth header?
Authorization/OAuth header: replace with OAuth header?
Authroization/Basic header: do nothing?

You see the library I used (Signpost) is for signing requests that has no authorization header at all (see the first item in the above list), hence the weird behavior in case of having these already present. The original scope of the plugin was enabling requests for Repeater, Intruder and Scanner. I'm not saying we shouldn't implement what you wrote, but this functionality should be extended, and the first step would be specifying behavior in the scenarios detailed in the above list.


[flus] Rename to functionalplus

Closes https://github.com/microsoft/vcpkg/discussions/38213.

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[ ] The "supports" clause reflects platforms that may be fixed by this new version.
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Please fix commit an PR title: It is spelled fplus.

Please add a description to the new functionalPlus port mentioning that this is the new fplus port. That way if a user vcpkg search fplus then they will get the functionalPlus port.
Also, modify the frugallyDeep port to add the new functionalPlus port as a dependency.
Finally, remove fplus from the baseline and delete the port directory. Please leave the version files.
Thanks for the update! :)


Adding a Site as an Editor crashed the application

Describe the bug A clear and concise description of what the bug is.
Adding a Site as an Editor crashed the application
To Reproduce Steps to reproduce the behavior:

I start a brand new Mintter Desktop Instance
I create my account
I publish a first initial document. I have 0 connections.
Go to Add a Site
Add the URL invite: https://site.test.mintter.com/invite/OGAR22VRJDAZ
See error:

Add Mintter Web Site
[unknown] Add site: Could not contact to provided site [https://site.test.mintter.com/.well-known]: Get https://site.test.mintter.com/.well-known: http: server gave HTTP response to HTTPS client
Follow the self-hosting guide and copy the invite URL:

Then eventually and randomly I add again the URL invite and suddenly works but it crashes the application:

You need to restart the app now.
Last messages:
2023-03-03T10:20:27.632+0100	DEBUG	mintter/network	mttnet/site.go:668	Headers found, meaning this call should be proxied and authentication will take place at the remote site	{"x-mintter-site-hostname": "https://site.test.mintter.com"}2023-03-03T10:20:27.633+0100	DEBUG	mintter/network	mttnet/site.go:865	Remote site contacted, now try to call a remote function	{"Function name": "RedeemInviteToken"}2023-03-03T10:20:27.723+0100	DEBUG	mintter/network	mttnet/site.go:884	Remote call finished successfully	{"First param type": "ptr", "Second param type": "interface"}2023-03-03T10:20:27.761+0100	DEBUG	mintter/network	mttnet/site.go:657	Check permissions	{"Site hostname": "", "remoteHostname": "https://site.test.mintter.com"}2023-03-03T10:20:27.761+0100	DEBUG	mintter/network	mttnet/site.go:668	Headers found, meaning this call should be proxied and authentication will take place at the remote site	{"x-mintter-site-hostname": "https://site.test.mintter.com"}2023-03-03T10:20:27.762+0100	DEBUG	mintter/network	mttnet/site.go:865	Remote site contacted, now try to call a remote function	{"Function name": "GetSiteInfo"}2023-03-03T10:20:27.774+0100	DEBUG	mintter/network	mttnet/site.go:657	Check permissions	{"Site hostname": "", "remoteHostname": "https://site.test.mintter.com"}2023-03-03T10:20:27.774+0100	DEBUG	mintter/network	mttnet/site.go:668	Headers found, meaning this call should be proxied and authentication will take place at the remote site	{"x-mintter-site-hostname": "https://site.test.mintter.com"}2023-03-03T10:20:27.775+0100	DEBUG	mintter/network	mttnet/site.go:865	Remote site contacted, now try to call a remote function	{"Function name": "ListMembers"}2023-03-03T10:20:27.863+0100	DEBUG	mintter/network	mttnet/site.go:884	Remote call finished successfully	{"First param type": "ptr", "Second param type": "interface"}2023-03-03T10:20:27.863+0100	DEBUG	mintter/network	mttnet/site.go:884	Remote call finished successfully	{"First param type": "ptr", "Second param type": "interface"}panic: query datoms: nil iteratorgoroutine 38348 [running]:mintter/backend/daemon/api/accounts/v1alpha.(*Server).getAccount(0xc004d8b7e0?, 0x0?, 0x0?, {0x0, 0x0, 0x0})	/Users/satoshi/Workspace/mintter/plz-out/tmp/backend/mintterd._build/backend/daemon/api/accounts/v1alpha/accounts.go:124 +0x7c8mintter/backend/daemon/api/accounts/v1alpha.(*Server).GetAccount.func1()	/Users/satoshi/Workspace/mintter/plz-out/tmp/backend/mintterd._build/backend/daemon/api/accounts/v1alpha/accounts.go:83 +0xfbmintter/backend/vcs/sqlitevcs.(*Conn).WithTx(0xc004d8b7e0, 0xf8?, 0xc00326b938)	/Users/satoshi/Workspace/mintter/plz-out/tmp/backend/mintterd._build/backend/vcs/sqlitevcs/sqlitevcs.go:240 +0x86mintter/backend/daemon/api/accounts/v1alpha.(*Server).GetAccount(0xc000a1ece0, {0x1017426f8, 0xc0060cc0c0}, 0xc004742798?)	/Users/satoshi/Workspace/mintter/plz-out/tmp/backend/mintterd._build/backend/daemon/api/accounts/v1alpha/accounts.go:77 +0x58cmintter/backend/genproto/accounts/v1alpha._Accounts_GetAccount_Handler({0x101142260?, 0xc000a1ece0}, {0x1017426f8, 0xc0060cc0c0}, 0xc0003c4000, 0x0)	/Users/satoshi/Workspace/mintter/plz-out/tmp/backend/mintterd._build/backend/genproto/accounts/v1alpha/accounts_grpc.pb.go:117 +0x170google.golang.org/grpc.(*Server).processUnaryRPC(0xc000e9a000, {0x10174d560, 0xc007ea2900}, 0xc004aa8ea0, 0xc000362ae0, 0x10217ce80, 0x0)	/Users/satoshi/go/pkg/mod/google.golang.org/grpc@v1.51.0/server.go:1340 +0xd23google.golang.org/grpc.(*Server).handleStream(0xc000e9a000, {0x10174d560, 0xc007ea2900}, 0xc004aa8ea0, 0x0)	/Users/satoshi/go/pkg/mod/google.golang.org/grpc@v1.51.0/server.go:1713 +0xa2fgoogle.golang.org/grpc.(*Server).serveStreams.func1.2()	/Users/satoshi/go/pkg/mod/google.golang.org/grpc@v1.51.0/server.go:965 +0x98created by google.golang.org/grpc.(*Server).serveStreams.func1	/Users/satoshi/go/pkg/mod/google.golang.org/grpc@v1.51.0/server.go:963 +0x28a

Screenshots If applicable, add screenshots to help explain your problem.

Next time you see this error [unknown] Add site: Could not contact to provided site [https://site.test.mintter.com/.well-known]: Get https://site.test.mintter.com/.well-known: http: server gave HTTP response to HTTPS do two things

curl 'https://site.test.mintter.com/.well-known'
Share network connection from your mobile and try again to add the site from the app.

curl: (35) error:1404B42E:SSL routines:ST_CONNECT:tlsv1 alert protocol version

Switching networks solves the SSL problem. Not happened to me before. @GaboHBeaumont try with the laptop both at work and at home. I guess you won't have that problem at home, even with the same machine as you faced that error at work

I am closing this for now.. seems fixed. I will reopen it in case it comes across again.


[Suggestion] Feature Request: Allow menu entry swapper on imp jars if you have a clue already

Please.

Duplicate of #4927


Disable InterfaceHash/edited_{method_body|property_getter}.swift

These tests are failing due to sometimes registering a dependency on the _Concurrency module's swift interface, rather than binary module. Disable while we investigate.

@swift-ci smoke test

@swift-ci test


Mode indication doesn't change when switching to prefs file

Issue Type: Bug
I have open an Ansible file, a shell script, a text file, and a preferences file (settings.json).
When I switch to the Ansible file, there's a mode indicator on the bottom status bar that changes to "ansible". When I click on the settings.json file, it remains on "ansible". When I click on the shell script, it changes to "shellscript". When I then click on the settings.json file, it remains on "shellscript". When I click on the text file, it changes to "plaintext". When I then click on the settings.json file, it remains on "plaintext".
So, specifically, two ways to look at this problem:

The status doesn't change to the correct mode for the settings file.
The status shows the wrong mode for the settings file.

I do have the Ansible and YAML extensions installed.
VS Code version: Code 1.44.0 (2aae1f26c72891c399f860409176fe435a154b13, 2020-04-08T08:23:56.137Z)
OS version: Darwin x64 19.3.0

I'm having trouble reproducing this - for me, the language mode indicator changes to "JSON with Comments" when settings.json is open. Can you share your settings, have you modified files.associations?

@GaryBoone since I recently fixed an issue in this area, can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/


Investigate missing List data in /listGenerator

Please do this work in an issue named issue-83
Upon inspecting https://manoafitconnect.com/listGenerator, you can see the data of the list are not loaded up properly within the production. However, upon inspecting in development, it loads and filter as expected.

Please bridge the List data such that it aligns both in the production and development codebase
Observe the application in production such that it renders the list correctly

The mup reconfig command was invoked to refresh data in response to the discrepancies noticed between the development and production versions of the ManoaFitConnect application, particularly concerning the equipment images on https://manoafitconnect.com/listGenerator


CommonJS or AMD dependencies can cause optimization bailouts

Hello,
I am getting this error in angular project, any way you can assist please? Since this and the build is too slow.

EscPosEncoder 2 has been released! It includes also includes a ES6 module, which should probably resolve this issue.


Fix fetching vsnip snippets list. Fixes #169.

Fix for #169 .

Thank you! Looks good to me.

Thanks for the fix!


Feat/ios m1 improvements

Summary

Remove left over from https://github.com/facebook/react-native/commit/a1c445a39c580037ada4a5d194a0d2daef15a25a#commitcomment-57240925
Add a warning if running with Rosetta2 as per https://github.com/facebook/react-native/pull/32284#issuecomment-929680784

Changelog
[iOS] [Fixed] - Removed __apply_Xcode_12_5_M1_post_install_workaround
[iOS] [Changed] - Warn if Rosetta2 is being used (x86_64 on arm64)
Test Plan
Build on macOS Apple devices without any warnings during pod install

@fkgozali take a look at this one please, related to https://github.com/facebook/react-native/commit/a1c445a39c580037ada4a5d194a0d2daef15a25a

I'll merge this by EOD US time (pending comment clarification mentioned above)

@fkgozali improved the messaging.
Also, inside our company we noticed that even when running outside of Rosetta2, depending on the previous "mess", the ffi_c.bundle may be of an incorrect architecture. We could always show an info if running on arm64 such as:
  if `/usr/sbin/sysctl -n hw.optional.arm64 2>&1`.to_i == 1
    if !RUBY_PLATFORM.start_with?('arm64')
      Pod::UI.warn 'Do not use "pod install" from inside Rosetta2 (x86_64 emulation on arm64).'
      Pod::UI.warn ' - Emulated x86_64 is slower than native arm64'
      Pod::UI.warn ' - May result in mixed architectures in rubygems (eg: ffi_c.bundle files may be x86_64 with an arm64 interpreter)'
      Pod::UI.warn 'Run "env /usr/bin/arch -arm64 /bin/bash --login" then try again.'
    else
      Pod::UI.info 'If you get crashes related to ffi (eg: ffi_c.bundle), it may be related to mixed "bundle install" from different architectures (x86_64, arm64), please cleanup and try again. Its is NOT a bug with react-native'
    end
  end

However I did not add that as it would be disturbing to most people that did not have the mess... but if you do have some FAQ with:

If you face a problem with ffi and ffi_c.bundle, this is caused by mixing native (arm64) and rosetta2 (x86_64) environments when installing Ruby (even via rbenv or rvm) and its gems (bundler install or gem install cocoapods). Please uninstall everything related to Ruby and gems, then start again without rosetta2!

LoadError - dlopen(/path/to/gems/ffi-1.15.4/lib/ffi_c.bundle, 9): no suitable image found.  Did find:
	/path/to/gems/ffi-1.15.4/lib/ffi_c.bundle: mach-o, but wrong architecture
	/path/to/gems/ffi-1.15.4/lib/ffi_c.bundle: mach-o, but wrong architecture - /path/to/gems/ffi-1.15.4/lib/ffi_c.bundle
/path/to/gems/ffi-1.15.4/lib/ffi.rb:5:in `require'
/path/to/gems/ffi-1.15.4/lib/ffi.rb:5:in `rescue in <top (required)>'
/path/to/gems/ffi-1.15.4/lib/ffi.rb:2:in `<top (required)>'
/path/to/gems/ethon-0.14.0/lib/ethon.rb:3:in `require'
/path/to/gems/ethon-0.14.0/lib/ethon.rb:3:in `<top (required)>'
/path/to/gems/typhoeus-1.4.0/lib/typhoeus.rb:2:in `require'
/path/to/gems/typhoeus-1.4.0/lib/typhoeus.rb:2:in `<top (required)>'
/path/to/gems/cocoapods-core-1.11.2/lib/cocoapods-core/cdn_source.rb:440:in `require'

build failures looks unrelated, but would be nice to confirm

Yeah test failure seems unrelated. Let's proceed.


fix: align apiVersion to OpenShift 4.17

This change update apiVersion to be aligned with
OpenShift 4.17 which requires group/version format.
Credits on @bsquizz
Depends on: https://github.com/podengo-project/idmsvc-frontend/pull/116

rebased and force-pushed.


Serialisation to JSON

Is there possibility to serialise generated object to JSON? We can do initWithDictionary, but what about  to have something like dictionary method, which will return dictionary to be send as JSON via REST?

Adding a way to convert the object to a dictionary representation is certainly valuable. We've discussed adding this at Pinterest for a while but haven't had a strong reason to do so just yet.
We could certainly add it and I'd be happy to review a
patch if you'd like to work on it or I can take a look in a bit.
What do you think should happen if we have 'nil' properties? Store NSNull as values? What if a property hasn't been set yet?

yes, I started to work on my own patch already:) I am currently facing this problem with nil values.
In our current project (where I want to use it) I would expect that if value == nil then this property will not be placed into final dictionary (JSON). I don't know if this is universal solution, maybe it could be configurable by some input parameter, but for now it enough for us.
However I am facing another issue, like when I receive object from REST which contains number, Plank's generated class store it to NSInteger. But NSInteger cannot be nil (if parameter was not received), so it is set to 0. But how can I check if this value is really 0, or it was not received at all. In some cases it makes difference, for example some update service.

@matelo - Sounds great. We have a struct internally on each model that you can utilize for detecting if a field has been set. Below is an example of how we've utilized it.
From ObjectiveCBuilderExtension.swift:
self.properties.map({ (param, _) -> String in
  ObjCIR.ifStmt("\(self.dirtyPropertiesIVarName).\(dirtyPropertyOption(propertyName: param, className: self.className))") {
     ["_\(param.snakeCaseToPropertyName()) = modelObject.\(param.snakeCaseToPropertyName());"]
  }
}).joined(separator: "\n")

Couple things I'd like to see from the implementation:

The method signature should be: - (NSDictionary <NSString *, NSObject *> *)dictionaryRepresentation;
The keys of the dictionary should match the keys in the JSON schema declaration. Basically this will allow us to test passing the result of dictionaryRepresentation to initWithDictionary and testing if the models are equivalent.
Properties that have not been set (or received) should be omitted from the dictionary.
Properties that have been set but are null/nil should be represented as [NSNull null]
ADT classes should return the dictionary representation of whatever value they contain internally.

Sound good? Looking forward to your patch and will help get this in.

It would be nice to have a test that for all example schemas and for a bunch of arbitrary dictionaries per schema:
dict == dictionaryRepresentation(initWithDictionary(dict))
@rahul-malik we could do this nicely with SwiftCheck https://github.com/typelift/SwiftCheck

@rahul-malik I totally agree with all the points, just have a question regarding the point

Properties that have not been set (or received) should be omitted from the dictionary

Do you have some hint how can I check if the value was/wasn't set, when its type is NSInteger? Because AFAIK, unset value of NSInteger is 0 - which also can be desired (set) value.

@matelo - When you're checking if a property is set, don't use it's value but rather the dirtyProperties struct. You can add an if statement around adding values to the dictionary.
This snippet below loops through all properties on an object and generates an if statement for each one. That way the only times you will add anything to the dictionary will be after you've confirmed the property is set.
You'll need to replace the "ADD STUFF TO DICTIONARY" portion with specific ways to convert each schema type into something that can be inserted into a dictionary.
self.properties.map({ (param, schema) -> String in
  ObjCIR.ifStmt("\(self.dirtyPropertiesIVarName).\(dirtyPropertyOption(propertyName: param, className: self.className))") {
       // ADD STUFF TO DICTIONARY
  }
}).joined(separator: "\n")

You should be able to reference other files to get a sense of how this is accomplished but let me know if this is confusing. Thanks!

can I create branch (or can you create branch) for this enhancement? I already have done almost all the types  representation to NSDictionary. Thanks

I would advise creating a fork of the repository and applying your changes on a branch there. Then you'll be able to create a pull request I can look at and provide feedback while you iterate.


Incorrect base directory of relative file paths of file I/O plug-ins

The base directory of resolutions of relative file paths should be the same with the directory in which the running script is.
The path of the base directory is set to the value of the "MAIN_SCRIPT_DIRECTORY" option.
However, the current implementations of file I/O plug-ins don't refer the above value, and the base directory is always set to "." (the current directory of the process on which scripting engine runs).

Fixed.
By the commit: a0aed6412ef13d320f86ab64338ab0f64fe4e6f5


Docker install alonside existing apache server

Hi all,
I've spent the day trying to find out how to use the docker install alongside an existing apache and mysql server. If I use the info on https://helpcenter.onlyoffice.com/server/docker/community/docker-installation.aspx, changing the port for mysql with -p 3307:3306 and for onlyoffice using -p 90:80 I get errors about tables not existing:
docker logs for the onlyoffice container:
dig: couldn't get address for 'resolver1.opendns.com': failure  mysq check connection for onlyoffice-mysql-server  mysqld is alive  DB_IS_EXIST: onlyoffice  DB_CHARACTER_SET_NAME: utf8  DB_COLLATION_NAME: utf8_general_ci  DB_TABLES_COUNT: 170  change connections for default then /var/www/onlyoffice/WebStudio/web.connections.config  change connections for teamlabsite then /var/www/onlyoffice/WebStudio/web.connections.config  change connections for default then /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.Config  change connections for default then /var/www/onlyoffice/Services/MailAggregator/ASC.Mail.Aggregator.CollectionService.exe.config  change connections for default then /var/www/onlyoffice/Services/MailAggregator/ASC.Mail.EmlDownloader.exe.config  change connections for default then /var/www/onlyoffice/Services/MailWatchdog/ASC.Mail.Watchdog.Service.exe.config  change connections for core then /var/www/onlyoffice/ApiSystem/Web.config  ERROR 1146 (42S02) at line 224: Table 'onlyoffice.wiki_pages' doesn't exist  ERROR 1146 (42S02) at line 78: Table 'onlyoffice.tenants_quota' doesn't exist  ERROR 1146 (42S02) at line 31: Table 'onlyoffice.tenants_partners' doesn't exist  ERROR 1146 (42S02) at line 40: Table 'onlyoffice.tenants_quota' doesn't exist  ERROR 1146 (42S02) at line 89: Table 'onlyoffice.res_files' doesn't exist  ERROR 1146 (42S02) at line 3: Table 'onlyoffice.res_files' doesn't exist  onlyoffice ALL=(ALL) NOPASSWD: /usr/sbin/service  Starting redis-server: redis-server.  fix docker bug volume mapping for onlyoffice  Starting monoserve... OK  Stopping monoserve... OK  Starting monoserve... OK  Starting monoserve2... OK  Stopping monoserve2... OK  Starting monoserve2... OK  Starting monoserveApiSystem... OK  Stopping monoserveApiSystem... OK  Starting monoserveApiSystem... OK  Starting onlyofficeFeed... OK  Starting onlyofficeIndex... OK  Starting onlyofficeJabber... OK  Starting onlyofficeMailAggregator... OK  Starting onlyofficeMailWatchdog... OK  Starting onlyofficeNotify... OK  Starting onlyofficeBackup... OK  Starting god... OK
docker logs for the mysql container:
2019-11-25 18:11:42+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.28-1debian9 started.  2019-11-25 18:11:42+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'  2019-11-25 18:11:42+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.28-1debian9 started.  2019-11-25T18:11:43.230518Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).  2019-11-25T18:11:43.232040Z 0 [Note] mysqld (mysqld 5.7.28) starting as process 1 ...  2019-11-25T18:11:43.235321Z 0 [Note] InnoDB: PUNCH HOLE support available  2019-11-25T18:11:43.235341Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins  2019-11-25T18:11:43.235346Z 0 [Note] InnoDB: Uses event mutexes  2019-11-25T18:11:43.235351Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier  2019-11-25T18:11:43.235356Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11  2019-11-25T18:11:43.235360Z 0 [Note] InnoDB: Using Linux native AIO  2019-11-25T18:11:43.235608Z 0 [Note] InnoDB: Number of pools: 1  2019-11-25T18:11:43.235712Z 0 [Note] InnoDB: Using CPU crc32 instructions  2019-11-25T18:11:43.237504Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M  2019-11-25T18:11:43.246136Z 0 [Note] InnoDB: Completed initialization of buffer pool  2019-11-25T18:11:43.248086Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().  2019-11-25T18:11:43.259818Z 0 [Note] InnoDB: Highest supported file format is Barracuda.  2019-11-25T18:11:43.311184Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables  2019-11-25T18:11:43.311275Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...  2019-11-25T18:11:43.429737Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.  2019-11-25T18:11:43.431702Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.  2019-11-25T18:11:43.431727Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.  2019-11-25T18:11:43.432282Z 0 [Note] InnoDB: Waiting for purge to start  2019-11-25T18:11:43.482504Z 0 [Note] InnoDB: 5.7.28 started; log sequence number 82970339  2019-11-25T18:11:43.482918Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool  2019-11-25T18:11:43.483153Z 0 [Note] Plugin 'FEDERATED' is disabled.  2019-11-25T18:11:43.540742Z 0 [Note] InnoDB: Buffer pool(s) load completed at 191125 18:11:43  2019-11-25T18:11:43.565945Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.  2019-11-25T18:11:43.565966Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.  2019-11-25T18:11:43.566621Z 0 [Warning] CA certificate ca.pem is self signed.  2019-11-25T18:11:43.566658Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.  2019-11-25T18:11:43.567117Z 0 [Note] Server hostname (bind-address): '*'; port: 3306  2019-11-25T18:11:43.567151Z 0 [Note] IPv6 is available.  2019-11-25T18:11:43.567164Z 0 [Note]   - '::' resolves to '::';  2019-11-25T18:11:43.567185Z 0 [Note] Server socket created on IP: '::'.  2019-11-25T18:11:43.569824Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.  2019-11-25T18:11:43.831619Z 0 [Note] Event Scheduler: Loaded 0 events  2019-11-25T18:11:43.831807Z 0 [Note] mysqld: ready for connections.  Version: '5.7.28'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)  2019-11-25T18:12:29.627347Z 24 [Note] Aborted connection 24 to db: 'onlyoffice' user: 'onlyoffice_user' host: 'onlyoffice-community-server.onlyoffice' (Got an error reading communication packets)  ... snip
And I can't seem to find a way to use the opensource-install.sh with different ports.
So the question is: Is this set-up possible and if yes PLEASE tell me how.
Thanks,
Jouke

Hello @joukeHijlkema Please try additional parameter for running community server container:
-e MYSQL_SERVER_PORT=3307

I think it is not needed to change the mysql-port, since it is only used internally between those two docker-containers


Allow ignoring scopes for inverse_of cop

With https://github.com/rails/rails/pull/43358, Rails can now infer
inverse_of for associations with a scope when
config.active_record.automatic_scope_inversing = true.
This commit adds an IgnoreScopes option to the inverse_of cop allowing
us to disable the cop for scopes when the new Rails option is set to
true.
I considered having the default for IgnoreScopes change based on the
Rails version since this is the default for new Rails >= 7.0
applications, but existing applications that upgrade to 7.0 wouldn't
necessarily have the option set and in that case changing the
rubocop-rails default behavior would be a breaking change.
Replace this text with a summary of the changes in your PR.
The more detailed you are, the better.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] If this is a new cop, consider making a corresponding update to the Rails Style Guide.

Oops, I've got to fix up the changelog. Sorry!

automatically detect inverse_of when there is a scope on the association, but not when there is a scope on the potential inverse association

How do we detect that the latter condition is met?

How do we detect that the latter condition is met?

That's not something this Cop currently detects, with or without this change (and I'm not sure there's a good way we could detect it without runtime info).
For example:
class Post < ActiveRecord::Base
  has_many :comments
end

class Comment < ActiveRecord::Base
  belongs_to :post, -> { where("1=0") }
end

Rails is not able to automatically infer the inverse_of for has_many :comments because of the scope on the opposite association.  The new config.active_record.automatic_scope_inversing option hasn't changed that behavior.
And regardless of the change in this PR RuboCop will not report an offense on has_many :comments, even though it doesn't have an inverse_of
I think this is a good thing, since setting inverse_of in cases like this can cause problems. In this contrived example, the post association should never return any records because of the where("1=0") scope, but if we add an inverse_of it could return a record:
class Post < ActiveRecord::Base
  has_many :comments, inverse_of: post
end

class Comment < ActiveRecord::Base
  belongs_to :post, -> { where("1=0") }
end

post = Post.create!
comment = Comment.create!

# This fails because we use the already loaded inverse record,
# and thus never run the scope.
assert_nil comment.post

🎉 @pirj any chance you have access to approve the workflow so I can verify everything passes?

access to approve the workflow

Unfortunately not, I'm only volunteering here with preliminary assessment of tickets and preliminary code review.
@koic is the sole maintainer as far as I know.

Can you update the config/default.yml?
 Rails/InverseOf:
   Description: 'Checks for associations where the inverse cannot be determined automatically.'
   Enabled: true
   VersionAdded: '0.52'
+  VersionChanged: '<<next>>'
+  IgnoreScopes: false
   Include:
     - app/models/**/*.rb

Thank you, Daniel!


Angular2.beta.17 causes datepicker to fail with a template parse error

I'm seeing the following error when using the datepicker:
Unhandled Promise rejection:
Template parse errors:
There is no directive with "exportAs" set to "$implicit" ("
  </thead>
  <tbody>
    <template ngFor [ngForOf]="rows" [ERROR ->]#rowz="$implicit" #index="index">
      <tr *ngIf="!(datePicker.onlyCurrentMonth && rowz[0].secondary"): DayPickerComponent@36:37

I verified that the datepicker worked with Angular2.beta.16.

Related to #470, #471, #477

fixed with #481


Merge stable features into master over the v0.2 maintenance branch

Today development occurs on the v0.2 branch after the stunted development of the v1.0/packaging branch.
We should amend the contributing guide defined in #103 to include details about the branching/merging strategy. A new v0.2.x-maint branch should be created for applying hot fixes on once the next major version of convection is under development. Until a new major version is under development we should continue adding stable, non-breaking, changes to master.

@jmanero-r7 @athompson-r7 @bcall-r7 @bturner-r7 shall we start a discussion around how we want to handle this? Maybe a short call (we can post the summary here) if we can't decided directly via comments.

@eciramella-r7 FYI this is the story to track merging back into master.

@bturner-r7 and I took a look.  Seems like there were only a few changes in master not in the V0.2 branch.  I'm working to resolve this issue and will have a clearer understanding next week.  The goal is to close out this branch.

Resolved by https://github.com/rapid7/convection/pull/138.


[METRON-2] Initial migration of Ambari install and config scripts

https://issues.apache.org/jira/browse/METRON-2

Ok, this is merged. :)  Thanks Mark!

@mbittmann Hi Mark - Mind closing this PR if it has been addressed?


Postgis Plugin: ERROR:  column "addr_housenumber" does not exist

System info:

PostgreSQL 10.6
Postgis 2.5.2
imposm-0.8.1
magnacarto-1.1.0
lyrk-mapstyle-2.0

Tiles for zoom levels 17 and higher cannot be rendered because of this error:
Postgis Plugin: ERROR:  column "addr_housenumber" does not exist
Select statement:
SELECT ST_AsBinary("geometry") AS geom,"addr_housenumber","name" FROM ( SELECT geometry, type, type AS "addr:housenumber"
FROM osm_housenumbers_ways
WHERE type NOT IN ('0','false', 'no')
UNION
SELECT geometry, type,
CASE
WHEN name NOT LIKE '' /AND length(name)<10 THEN name/ THEN  ''
ELSE type
END AS "addr:housenumber"
FROM osm_housenumbers
WHERE type NOT IN ('0','false', 'no')
) AS data WHERE "geometry" && ST_SetSRID('BOX3D(1714482.544436503 5941144.460493609,1717234.277454771 5943896.193511877)'::box3d, 3857)

Thank you for reporting 👍
Have you imported using the provided mapping file?

Yes, I used the file mapping.json from lyrk-mapstyle-2.0/imposm.

Hi,
This is an Bug. In the project.mml the column is referenced by SQL.
https://github.com/lyrk/lyrk-mapstyle/blob/master/project.mml#L1076
Can you fix it locally if you adjust the subselect reference in project.mml?
This is a SQL-Select:
(
SELECT geometry, type, name, type AS \"addr_housenumber\" FROM osm_housenumbers_ways WHERE type NOT IN ('0','false', 'no')
UNION
SELECT geometry, type, name, CASE WHEN name NOT LIKE '' /*AND length(name)<10 THEN name*/ THEN  '' ELSE type  END AS \"addr_housenumber\" FROM osm_housenumbers WHERE type NOT IN ('0','false', 'no')
) AS data

Because the label.mss refers to a table column with "[addr_housenumber]"
https://github.com/lyrk/lyrk-mapstyle/blob/master/labels.mss#L643
You can try it.

Thanks alot, now it's ok!

Can one of you fix it, so others don't run into the same issue?

Fixed a bug.


Update container-image-vulnerability-adaptor.md

Describe your changes
Screenshots - If Any (Optional)
Issue ticket number and link
Checklist before requesting a review

[ ] My code follows the style guidelines of this project
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have performed a self-review of my code
[ ] If it is a core feature, I have added thorough tests.
[ ] New and existing unit tests pass locally with my changes

Please open the PR against the dev branch (Unless the PR contains only documentation changes)

I don't see why your proposal is better than what we have now.


[ID] Recent activities dashboard should reflect Awarded activities

Recent activities dashboard should reflect Awarded activities.
Right now the line shows up, but isn't a full sentence and doesn't have an icon.
For example, the image below should say:

USDR was awarded Private Sector Led Growth, Resilience and Response Activity

open Q - what icon should be used?

@cajinajr @rachel699 - do yuo have thoughts on what icons could be used for this?

Hi Mindy: How about one of these icons for Award?

@rachel699 I like the middle one! Is there an icon library you got that from?

yes, I like the 2nd one as well. It's from a Figma plugin called Iconify.
Sorry for delayed reply. I made a few versions of the icon here.

I can send the SVG file to the engineers, I think it'll work.

Here are the SVG file of the above icon versions.

I think the above SVG files can be downloaded and used by engineers. Please let me know if there is any problem.

Thank you!!

I like the middle one too. I know we’re using Bootstrap for the tools so
just in case it’s easier for the devs to implement, I don’t think it would
be a bad idea to consider Bootstrap’s icons for an award:
https://icons.getbootstrap.com/icons/award/
https://icons.getbootstrap.com/icons/award-fill/
On Fri, Nov 18, 2022 at 18:26 Rachel Monk @.***> wrote:

Here are the SVG file of the above icon versions.
[image: Vector-1]
https://user-images.githubusercontent.com/60455000/202819479-28a59cdf-609e-4b86-9d31-fd2d7a5fa5f1.svg
[image: Vector]
https://user-images.githubusercontent.com/60455000/202819491-5087c898-fb54-44b9-ad7a-6939f0446043.svg
[image: Vector-2]
https://user-images.githubusercontent.com/60455000/202819506-686bb4f7-f2f5-4297-8707-d3603ee46698.svg
[image: Frame 2]
https://user-images.githubusercontent.com/60455000/202819531-e42181b5-1588-4079-8c4c-532fb5414bdc.svg
[image: Frame 1]
https://user-images.githubusercontent.com/60455000/202819537-4209667a-f21a-4ae5-b678-99b49792eb88.svg
—
Reply to this email directly, view it on GitHub
https://github.com/usdigitalresponse/usdr-gost/issues/555#issuecomment-1320647670,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD3WQSASBF2NMZ7OHTDTOFLWJAGAXANCNFSM6AAAAAARTLY6YA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Or simply like this to be similar with the other icons in the current list.

Updated to reflect suggestions. The only issue I see now is that the gold color does not pass WCAG accessibility for text and graphics color contrast. I played around with a darker gold but it basically has to be muddy mustard color in order to pass. Maybe we could use the same green that's being used for interested?

@cajinajr I'm okay with muddy mustard or the green, whichever you think looks best!

Very similar to #622 ; consider working on these close together / in sequence


Research: Disable/Delete MongoDB Index

Experiment around deleting/disabling index -
IOW each query will have to perform "Collection Scanning", more compute stress. Post findings here

@shahsahil264 FYI/A


'ls-tree' is missing from reference page

Hello.
'git ls-tree' is missing from command reference.
Is this intentional for any reason? Is it a deprecated method?
Sorry not to PR but I don't know ruby

I guess you can do it with git cat-file -p master^{tree}
git cat-file tree master output something binarish
Is cat-file the preferred method?
The cat-file reference is doesn't mention the weird '^{tree}` syntax.
Can someone point me to a more in-depth () documentation on this?

'git ls-tree' is missing from command reference.
Is this intentional for any reason? Is it a deprecated method

No, it's not deprecated. There are a lot of somewhat useless historical commands, so the command list on the site started as "here are the most useful commands". And then we've added to that over time as people notice useful things missing. I think ls-tree should be on it, in the plumbing section. It should be a one-liner to add it to https://github.com/git/git-scm.com/blob/2218df63fb87028d39a38e4c64ed7ba10b70f056/app/views/shared/ref/_plumbing.html.erb#L9-L13

Is cat-file the preferred method?

No, ls-tree is the recommended way to get a tree listing.

The cat-file reference is doesn't mention the weird '^{tree}` syntax.

That's because it's not specific to cat-file at all, but is part of Git's object-name syntax.

Thanks


Remove nearest_neighbour_indices circular warning.

Raised on google group... https://groups.google.com/d/msg/scitools-iris/qXdxsuWf7NE/s4H157kU20IJ
NB. It turns out there is a problem when bounds are involved, so either the warning needs to be more specific or we just fix the issue with bounds.

The submodule iris.analysis.interpolate is now deprecated so this no longer applies.


[User Emails] Add more logging to "new user via project addition" path

Description

Add more logging to projects_controller#create_new_user_random_password
Unfortunately send_reset_password_instructions will only return the token sent (https://github.com/plataformatec/devise/blob/master/lib/devise/models/recoverable.rb#L50) I think this is because the devise_mailer wants to have an async delivery queue, so we may be able to catch more errors elsewhere.

Test and Reproduce

Open up localhost, go to a project, add a new user with an unused email to that project, see the expected log output. Can also load MAIL_GUN_API_KEY to verify in Mailgun.

web_1                      | [2019-04-12T19:30:37] DEBUG ActiveRecord::Base : Query Trace:
web_1                      |       app/controllers/projects_controller.rb:438:in `add_user'
web_1                      | [2019-04-12T19:30:37] INFO  Rails : Going to create new user via project sharing<EMAIL_ADDRESS>web_1                      | [2019-04-12T19:30:37] DEBUG ActiveRecord::Base :    (3.0ms)  BEGIN
web_1                      | [2019-04-12T19:30:37] DEBUG ActiveRecord::Base :   User Exists (2.5ms)  SELECT  1 AS one FROM `users` WHERE `users`.`email` = BINARY<EMAIL_ADDRESS>LIMIT 1
web_1                      | [2019-04-12T19:30:37] DEBUG ActiveRecord::Base : Query Trace:
web_1                      |       app/controllers/projects_controller.rb:526:in `create_new_user_random_password'
web_1                      |       app/controllers/projects_controller.rb:442:in `add_user'
web_1                      | [2019-04-12T19:30:37] DEBUG ActiveRecord::Base :    (1.8ms)  SELECT COUNT(*) FROM `users` WHERE `users`.`authentication_token` = '...'
web_1                      | [2019-04-12T19:30:37] DEBUG ActiveRecord::Base : Query Trace:
web_1                      |       app/controllers/projects_controller.rb:526:in `create_new_user_random_password'
web_1                      |       app/controllers/projects_controller.rb:442:in `add_user'
web_1                      | [2019-04-12T19:30:37] DEBUG ActiveRecord::Base :   SQL (21.7ms)  INSERT INTO `users` (`email`, `name`, `created_at`, `updated_at`, `encrypted_password`, `authentication_token`) VALUES<EMAIL_ADDRESS>'Blah Blah', '2019-04-12 19:30:37', '2019-04-12 19:30:37', '...', '...')
web_1                      | [2019-04-12T19:30:37] DEBUG ActiveRecord::Base : Query Trace:
web_1                      |       app/controllers/projects_controller.rb:526:in `create_new_user_random_password'
web_1                      |       app/controllers/projects_controller.rb:442:in `add_user'
web_1                      | [2019-04-12T19:30:37] DEBUG Rails : Event 'user_created' logged with properties {:id=>229, :name=>"Blah Blah"}
web_1                      | [2019-04-12T19:30:37] DEBUG ActiveRecord::Base :    (4.5ms)  COMMIT
web_1                      | [2019-04-12T19:30:40] DEBUG ActiveRecord::Base :   User Load (0.8ms)  SELECT  `users`.* FROM `users` WHERE `users`.`reset_password_token` = '...' ORDER BY `users`.`id` ASC LIMIT 1
web_1                      | [2019-04-12T19:30:40] DEBUG ActiveRecord::Base : Query Trace:
web_1                      |       app/controllers/projects_controller.rb:528:in `create_new_user_random_password'
web_1                      |       app/controllers/projects_controller.rb:442:in `add_user'
web_1                      | [2019-04-12T19:30:40] DEBUG ActiveRecord::Base :    (0.4ms)  BEGIN
web_1                      | [2019-04-12T19:30:40] DEBUG ActiveRecord::Base :   SQL (12.4ms)  UPDATE `users` SET `updated_at` = '2019-04-12 19:30:40', `reset_password_token` = '...', `reset_password_sent_at` = '2019-04-12 19:30:40' WHERE `users`.`id` = 229
web_1                      | [2019-04-12T19:30:40] DEBUG ActiveRecord::Base : Query Trace:
web_1                      |       app/controllers/projects_controller.rb:528:in `create_new_user_random_password'
web_1                      |       app/controllers/projects_controller.rb:442:in `add_user'
web_1                      | [2019-04-12T19:30:40] DEBUG Rails : Event 'user_updated' logged with properties {:id=>229, :name=>"Blah Blah"}
web_1                      | [2019-04-12T19:30:40] DEBUG ActiveRecord::Base :    (5.1ms)  COMMIT
web_1                      | [2019-04-12T19:30:41] DEBUG ActiveRecord::Base :   User Load (1.3ms)  SELECT  `users`.* FROM `users` WHERE `users`.`id` = 44 LIMIT 1
web_1                      | [2019-04-12T19:30:41] DEBUG ActiveRecord::Base : Query Trace:
web_1                      |       app/mailers/custom_devise_mailer.rb:12:in `reset_password_instructions'
web_1                      |       app/controllers/projects_controller.rb:528:in `create_new_user_random_password'
web_1                      |       app/controllers/projects_controller.rb:442:in `add_user'
web_1                      | [2019-04-12T19:30:41] DEBUG ActiveRecord::Base :   Project Load (0.5ms)  SELECT  `projects`.* FROM `projects` WHERE `projects`.`id` = 227 LIMIT 1
web_1                      | [2019-04-12T19:30:41] DEBUG ActiveRecord::Base : Query Trace:
web_1                      |       app/mailers/custom_devise_mailer.rb:13:in `reset_password_instructions'
web_1                      |       app/controllers/projects_controller.rb:528:in `create_new_user_random_password'
web_1                      |       app/controllers/projects_controller.rb:442:in `add_user'
web_1                      | [2019-04-12T19:30:41] INFO  ActionView::Base :   Rendering devise/mailer/new_user_new_project.html.erb
web_1                      | [2019-04-12T19:30:41] INFO  ActionView::Base :   Rendered devise/mailer/new_user_new_project.html.erb (2.5ms)
web_1                      | [2019-04-12T19:30:42] DEBUG ActionMailer::Base : CustomDeviseMailer#reset_password_instructions: processed outbound mail in 1242.7ms
web_1                      | [2019-04-12T19:30:43] INFO  ActionMailer::Base : Sent mail to<EMAIL_ADDRESS>(501.9ms)
web_1                      | [2019-04-12T19:30:43] DEBUG ActionMailer::Base : Date: Fri, 12 Apr 2019 19:30:42 +0000
web_1                      | From: The IDseq Team<EMAIL_ADDRESS>web_1                      | Reply-To: The IDseq Team<EMAIL_ADDRESS>web_1                      | To<EMAIL_ADDRESS>web_1                      | Message-ID<EMAIL_ADDRESS>web_1                      | Subject: You have been invited to IDseq
web_1                      | Mime-Version: 1.0
web_1                      | Content-Type: text/html;
web_1                      |  charset=UTF-8
web_1                      | Content-Transfer-Encoding: 7bit
web_1                      |
web_1                      |
Join IDseq!

web_1                      |

web_1                      |
<EMAIL_ADDRESS>has invited you to IDseq project 2018-10-20 gsnap validation.

web_1                      |

web_1                      |
Activate your account

web_1                      |
web_1                      | [2019-04-12T19:30:43] DEBUG ActiveRecord::Base :    (0.8ms)  SELECT `users`.`id` FROM `users` INNER JOIN `projects_users` ON `users`.`id` = `projects_users`.`user_id` WHERE `projects_users`.`project_id` = 227
web_1                      | [2019-04-12T19:30:43] DEBUG ActiveRecord::Base : Query Trace:
web_1                      |       app/controllers/projects_controller.rb:444:in `add_user'
web_1                      | [2019-04-12T19:30:43] DEBUG ActiveRecord::Base :   User Load (0.8ms)  SELECT `users`.* FROM `users` WHERE `users`.`id` IN (5, 229)
web_1                      | [2019-04-12T19:30:43] DEBUG ActiveRecord::Base : Query Trace:
web_1                      |       app/controllers/projects_controller.rb:444:in `add_user'
web_1                      | [2019-04-12T19:30:43] DEBUG ActiveRecord::Base :   User Load (0.7ms)  SELECT `users`.* FROM `users` INNER JOIN `projects_users` ON `users`.`id` = `projects_users`.`user_id` WHERE `projects_users`.`project_id` = 227
web_1                      | [2019-04-12T19:30:43] DEBUG ActiveRecord::Base : Query Trace:
web_1                      |       app/controllers/projects_controller.rb:444:in `add_user'
web_1                      | [2019-04-12T19:30:43] DEBUG ActiveRecord::Base :    (0.4ms)  BEGIN
web_1                      | [2019-04-12T19:30:43] DEBUG ActiveRecord::Base :   SQL (8.7ms)  INSERT INTO `projects_users` (`project_id`, `user_id`) VALUES (227, 229)
web_1                      | [2019-04-12T19:30:43] DEBUG ActiveRecord::Base : Query Trace:
web_1                      |       app/controllers/projects_controller.rb:444:in `add_user'
web_1                      | [2019-04-12T19:30:43] DEBUG ActiveRecord::Base :    (2.3ms)  COMMIT
web_1                      | [2019-04-12T19:30:44] INFO  ProjectsController : No template found for ProjectsController#add_user, rendering head :no_content
web_1                      | [2019-04-12T19:30:44] INFO  ActionController::Base : Completed 204 No Content in 7408ms (ActiveRecord: 79.6ms)

^ Updated with similar log lines in CustomDeviseMailer (which apparently gets called in all reset paths)


#824 test & hack for multisheet xlsx export with custom columns

Let's see if this works as a temporary fix for #824. Unfortunately I wasn't able to fix it in a less hackish way. Even if this isn't merged, it can hopefully provide some help to people having the problem described in #824 until a proper fix is found.

Codecov Report

Merging #829 into develop will decrease coverage by -0.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #829      +/-   ##
===========================================
- Coverage    67.83%   67.82%   -0.01%
===========================================
  Files            1        1
  Lines         9787     9801      +14
  Branches      2925     2930       +5
===========================================
+ Hits          6639     6648       +9
- Misses        3148     3153       +5

Impacted Files
Coverage Δ

dist/alasql.fs.js
67.82% <ø> (-0.01%)
:x:

Continue to review full report at Codecov.

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

Looks good to me - AlaSQL is already one big hack on javascript objects... :)
Thank you for taking the time to getting this splinter out of the library !

The changes are now released as part of version 0.3.7


Add flag --update-current-context to cluster create

Sluck thread
As Vibhav suggests, let’s use the option --update-current-context :
uffizzi cluster create [CLUSTER_NAME] --update-current-context

If the user runs uffizzi cluster create without this option, add the command to update kubeconfig in the message dispalyed:
uffizzi cluster create -n foo
[✔] Creating cluster foo...
Cluster with name: foo was created.

To update the current context, run:
$ uffizzi cluster update-kubeconfig --name foo

TESTED - OK


issue for rawColumns

Summary of problem or feature request
Hello,
I'm going to add my custom button on the datatable and this is my code.

As  you can see, I've added column with rawColumns.
But it doesn't work on my view, route doesn't work in my blade.

What can I do instead of it?
How can I add custom button on my view?
Code snippet of problem

System details

You have syntax error. Use something like below:
->addColumn('connection', function($info) {
    return "";
})

You may also rawColumns to display it as html. See https://yajrabox.com/docs/laravel-datatables/7.0/xss#raw for details.


SPIKE: Performance

Child of #1048

Can we leverage the thinksboard test suite for performance out of box - https://dzone.com/articles/load-testing-of-mqtt-servers-using-java-maven-and
If not then identify the changes
Report generation for the performance tests which would run.

Created simple POC with few scenarios for tests :
https://github.com/hashmapinc/tempus-performance-test
For this POC, we have used gatling-mqtt plugin
https://github.com/hashmapinc/gatling-mqtt
This is the fork repo. In this, we have upgraded gatling to latest version and made relative changes to the code.


Subscription WebSocket connection closing occasionally

After building a VueJS app with Apollo Server graphql and vue-apollo for the client, the socket is occasionally disconnected on the first load itself. (It won't happen every time, maybe once in every 5-10 loads). Do you know the reason for this?

I don't know, maybe it usually happens with websockets?

Finally
link.subscriptionClient.maxConnectTimeGenerator.duration = () => link.subscriptionClient.maxConnectTimeGenerator.max

That fixed the issue. The problem was with subscriptions-transport-ws library

@gijo-varghese , where exactly should we place that code? Please, clarify because am also facing the same issue.Thanks

@oluwajubelo1 I don't remember exactly where. I've even left VueJS!

@gijo-varghese Thanks for your prompt response

I think that's when you create the websocket link for ApolloClient.


Fix atari-py related errors

Recently I came to observe the following error, which I haven't several months ago.
$ python -u examples/run_sac_discrete.py --gpu -1 --logging-level WARNING --max-steps 256 --batch-size 32 --dir-suffix TEST --n-warmup 64 --memory-capacity 256
Traceback (most recent call last):
  File "examples/run_sac_discrete.py", line 23, in <module>
    env = gym.make(args.env_name)
  File "/opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/gym/envs/registration.py", line 145, in make
    return registry.make(id, **kwargs)
  File "/opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/gym/envs/registration.py", line 90, in make
    env = spec.make(**kwargs)
  File "/opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/gym/envs/registration.py", line 60, in make
    env = cls(**_kwargs)
  File "/opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/gym/envs/atari/atari_env.py", line 49, in __init__
    self.game_path = atari_py.get_game_path(game)
  File "/opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/atari_py/games.py", line 20, in get_game_path
    raise Exception('ROM is missing for %s, see https://github.com/openai/atari-py#roms for instructions' % (game_name,))
Exception: ROM is missing for space_invaders, see https://github.com/openai/atari-py#roms for instructions

It seems this error occurs on some specific combinarion of platform and python version.
For example, I observed on

python=3.8, tf=2.3, ubuntu
python=3.7, tf=2.3, ubuntu
python=3.7, tf=2.3, windows
maybe some package is incompatible when using tf=2.3 and the latest atari-py at the same time?

This PR resolved this issue.


Enable ppc64le

fixes: https://github.com/kiali/kiali/issues/2974
backend change PR that goes with this: https://github.com/kiali/kiali/pull/2968

This looks go. The build failed, however, I saw this error before (and even now) for ARM as well and I have a feeling the problem is with the operator SDK releases for the non-amd releases. I'm going to talk to the operator SDK folks and find out what the problem is. In the meantime, I think we can merge this.

I'm going to talk to the operator SDK folks and find out what the problem is

I submitted a github issue to the operator-sdk project - see https://github.com/operator-framework/operator-sdk/issues/3379

The problem is the Travis non-amd platforms do not have envsubst by default. I'll fix that in another PR. See issue: https://github.com/kiali/kiali/issues/2977

This should fix the travis build errors: https://github.com/kiali/kiali-operator/pull/73

Hmmm... installing gettext package does not seem to install envsubst on ppc64le arch. Will need to find out what is going on. It fixes the problem on arm64 though.

FYI: as expected, all arches pass travis now.


Build and play buttons to run multiple instances at once

It would be helpful for developing multiplayer games if it was possible to instantly build and run a number of instances of the game at once to see if networking works correctly.

Partly related: https://github.com/godotengine/godot/issues/6642#issuecomment-256655555

@bojidar-bg
Note that you can make ... (drumroll) ... another SceneTree! For example, I've done something similar here: https://github.com/KOBUGE-Incubator/multiball/tree/615e0f07c6f30ab7e1d337b512dac1c6761957de/game/menu

Still reproducible/relevant in 3.1 master 3ad9e47 : can't run multiple instances of a project

This is quickly becoming an annoyance here as well. The best workaround I can dream up right now is an editor plugin that calls a shell script that handles starting the server and client instances - but this is clunky
A feature that I would like is some configuration options for a one-click multiplayer project run. Many of these options exist in other engine editors such as Unreal.
This would include:
-Setting the number of clients to start on project run
-Arguments to pass the server instance and optionally set headless
-Arguments to pass client instances

Just had some quick thoughts about it:
for example if you debug 2 instances (or even two threads!), and both fail at different scripts, which one should the editor open? Should it popup in foreground? If they fail in the same function, from which instance variable values will be shown? Which instance is the Stop button going to close? How do you know which is which? (and so on etc). Many assumptions of what was thought to be "One" (one instance) may become "Many". I think we may get multiple debuggers as processes first before we get them inside one single editor.

Has work on this started or is there an ETA on it? I'm also developing a net game and having to relaunce godot over and over is very tedious and annoying

@Bombfuse As far as I know, nobody is currently working on this.

Yah I guess I can write a script, would still be an S+ feature imo tho

@Bombfuse Not really a fix, but what I do is that I keep the Project Manager open and from there I can run the server and as many clients as I need.


New Meteor Isopack for version 1.0.0

Could you please release an updated Meteor Isopack on Atmopshere with the latest version 1.0.0?
https://atmospherejs.com/materialize/materialize

Why not use npm? https://guide.meteor.com/using-npm-packages.html


feat: added total time for outage in notification msg

Description
This is a feature request in issues (Total Time for outage #3301)
Type of change
I have changed the msg body which goes to notification providers to give the total time for the outage.
Please delete any options that are not relevant.

New feature (non-breaking change which adds functionality)

Checklist

[x] My code follows the style guidelines of this project
[x] I ran ESLint and other linters for modified files
[x] I have performed a self-review of my own code and tested it
[x] I have commented my code, particularly in hard-to-understand areas
(including JSDoc for methods)
[x] My changes generate no new warnings

Screenshots

Many SMS services will deny sending messages containing special characters to the carrier networks.  It would make the notification more friendly to read and possibly pass through a few more notification services if we removed the encapsulating <> characters.

Many SMS services will deny sending messages containing special characters to the carrier networks. It would make the notification more friendly to read and possibly pass through a few more notification services if we removed the encapsulating <> characters.

I have already changed this and now the response looks something like this:

Could you add Resolves #3301 to the description? (this way github will close that issue automatically)

Sorry to bother you again, but I found more issues ^^
Could you also add
Resolves #177
Resolves #1215
Resolves #428

You know the drill by now (sigh):
Resolves #2362
Resolves #1158

Oops, sorry about the duplication. GitHub has for some reason added my replies also as comments.

Unfortunately, as I am changing the uptime calculation method, I believe it is not working in 2.0.0 anymore.
Since the message is removed, be sure that you have read this and better have a discussion first next time.

⚠⚠⚠ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules:
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma

Malheureusement, comme je change la méthode de calcul de la disponibilité, je pense qu'elle ne fonctionne plus dans la version 2.0.0.
Modifié dans la version 2.0.0 :

La table des battements de cœur stocke uniquement les données sur 24 heures
heartbeat.duration n'est plus utilisé
Les données seront regroupées dans des tableaux stat_dailyetstat_minutely

Qui s'approprie ce pr.
Puisque le message a été supprimé, assurez-vous d'avoir lu ceci et feriez mieux d'avoir une discussion la prochaine fois.

⚠⚠⚠Puisque nous n'acceptons pas tous les types de demandes de tirage et que nous ne voulons pas vous faire perdre du temps. Assurez-vous d'avoir lu les règles des pull request :
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime -kuma

Do you have an idea to still enable this feature?

@prabhsharan36
Thank you for this contribution. Unfortunately, in v2.0 we changed the way how we calculate uptimes a lot. This makes this change incompatible as stated by Louis in https://github.com/louislam/uptime-kuma/pull/3394#issuecomment-1725356957.
Given how different this approach is from what is needed and the progress this has made in the last few months, I am going to close this issue.
As documented in our contribution guide, we believe that new features create less wasted effort if a discussion takes place beforehand (⇒ we can tell you if we are about to make significant changes to this area of code).
This feature is still possible and should likely be implemented via f.ex. adding a field such as last_up_heartbeat_at on each monitor. If the necessary changes are made, we can reopen the PR or handle this in a different PR ^^


Add review suggestions for Scheduler

Purpose

Minor fixes in the scheduler class and RuntimeUtils, which were identified in a code review.

Fixes #
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

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

@@           Coverage Diff           @@
##           master   #19246   +/-   ##
=======================================
  Coverage   15.71%   15.71%
=======================================
  Files          47       47
  Lines        1266     1266
  Branches      197      197
=======================================
  Hits          199      199
  Misses       1054     1054
  Partials       13       13

Continue to review full report at Codecov.

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


Example fails with nil value

Hi Folks,
I am getting the same error as issue #13, followed all the directions, made sure to check out correct branch (used exact installation text) however still ran into this error:
=> Criterion
nn.ClassNLLCriterion
==> Converting model to CUDA
/home/tangel/torch/install/bin/luajit: /usr/local/share/lua/5.1/fbnn/Optim.lua:61: attempt to call method 'for_each' (a nil value)
stack traceback:
/usr/local/share/lua/5.1/fbnn/Optim.lua:61: in function '__init'
/home/tangel/torch/install/share/lua/5.1/torch/init.lua:51: in function </home/tangel/torch/install/share/lua/5.1/torch/init.lua:47>
[C]: in function 'Optim'
/home/tangel/fbcunn/examples/imagenet/train.lua:35: in main chunk
[C]: in function 'dofile'
main.lua:30: in main chunk
[C]: in function 'dofile'
...ngel/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk
[C]: at 0x00406670
Thanks,
Tom

Got this working, had to use "--local" flag when building nn. You can close this issue, thanks.


Export-VdcCertificate "PEM (OpenSSL)" with key

Can you please let me know what will be the flags/options I should use in cmdlet Export-VdcCertificate to download a certificate with the following settings I would do form the venafi Web Gui:
Download:
Format "PEM (OpenSSL)"
Also Include:
   Root Chain -> NO
   Private key: -> YES
Password / Repeat Password: -> YES
Extract PEM content into separate files (.crt .key) yes

Our goal is do an automation to download the certificate in PEM (OpenSSL) format and it s Private key.
We can do that successfully from the web gui with previous setings
I have tried using the  Export-VdcCertificate  with flag -Base64 flag but when I add the -PrivateKeyPassword I got error like:
Export-VdcCertificate: Parameter set cannot be resolved using the specified named parameters. One or more parameters issued cannot be used together or an insufficient number of parameters were provided.
Our version is:
Venafi Trust Protection Platform version <IP_ADDRESS>54
Module version
Get-InstalledModule venafips
Version              Name                                Repository           Description
-------              ----                                ----------           -----------
6.4.2                VenafiPS                            PSGallery            Automate your Venafi TLS Protect Datacenter and Cloud platforms!

By the way, those are the Cert requirements of the Vendor:

Clusters support X.509 certificates in PEM format only.
Private Key Files must not be encrypted.
If the certificate admin provides a single file, ensure to separate the file to obtain the certificate and key files.
By default, OCSP validation is disabled. Contact your account team to enable the feature.
Does not support ECDSA certificates.

Only pkcs8 and pkcs12 support private keys.  The error you received is due to an invalid set of params

What you want to use is Export-VdcCertificate -Path $certPath -Pkcs8 -PrivateKeyPassword 'mySecretPass!' -OutPath $out
Also, just a heads up that v21.4 is no longer supported and I would recommend upgrading.

@jidelaf did this work for you?

Hello @gdbarron
YES!
Your example did the trick and I now have the three files .key .crt .pem  in same folder :)
Export-VdcCertificate -Path $venafiCertID -Pkcs8 -OutPath $outpath -PrivateKeyPassword $KeyPWEncrypted -verbose
Vendor only accept unencrypted key files.
So I have then managed to decrypt the key file using openssl binaries locally
.\openssl-1.0.2u-x64_86-win64\openssl.exe pkcs8 -passin pass:$KeyPW -in $encryptedkeyfile -out $unencryptedkeyfile
I have had to use a very old version of openssl "openssl-1.0.2u-x64_86-win64"
because if i use the newest openssl version 3.X I got an error about legacy providers not available
Thank you!

Great, glad to hear it!


enable dockershim got "failed to execute operation,bad message", and all 4 pods are pending, and criproxy says "/var/run/dockershim.sock is not here yes, no such file or directory"

As all issues seems to be connected please continue discussion here https://github.com/Mirantis/virtlet/issues/459


Is the direction service down in the web page?

Hi,
If I try to build a route between two points on the web page. The webpage seems not to work.
https://www.openstreetmap.org/directions?from=22.2865%2C113.9421&to=22.28231%2C113.93928
When I open the console, I find it throws some error. Are they related?

Best,
Alpha

The directions service is a different part of the OpenStreetMap website, not part of iD. The URL you posted above seems to work for me. It might’ve been temporary downtime on the part of the FOSSGIS routing service that powers the default “Car (OSRM)” option. If the request continues to fail for you, please see the FOSSGIS routing service page for contact options.


Move service testing from wget sequence to pytest

This PR up through 2b19074 leaves the HOST_PREFIX environment variable in question.  We should update CONTRIBUTE.md to reflect whether, once this PR is merged, it is still possible to test the live service and localhost.
Should we actually keep check-service its own target independent of check, and move the pytest call into the make check dependencies?

I've pushed a patch to settle the prior question.  Because there is currently a service failure with delivering the version IRI Turtle and RDF files, which the updated make check-service confirms is resolved testing with localhost in a VM, I'm merging this without review.


Update jackson-core to 2.14.0

Updates com.fasterxml.jackson.core:jackson-core from 2.13.4 to 2.14.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.fasterxml.jackson.core", artifactId = "jackson-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.fasterxml.jackson.core", artifactId = "jackson-core" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

+1, good to merge once 3.5.0 development begins


adding wui-text component

Changes

feat: Add wui-text component

Description
We use the following text styles in V3:
Large
Medium
Small
XXSmall
Medium Numerals
Took them from Figma and implemented in the component.
Link to Storybook: ...

@0xAsimetriq

Renamed colors
Inconsistent spaces fixed
Removed span in wui-text
Did some research on global css styles for lit but couldn't find a better solution than what we currently have.


Copy code

Feature Request: https://forum.babylonjs.com/t/copy-code-in-docs/41886
Added copy/paste functionality

I'm a potato with UI design

You and me both! :-)

I think the states of the UI are fine, but we should use fluent icons to match with all of the other UI icons we use. Here are two fluent icons for copy and completed. Swapping these icons for the ones in this PR is all that is needed.
fluent_copyIcons.zip

@PatrickRyanMS Done 🚀


Consider logrus for better logs

It looks nice, retails log fields rather than just strings.
https://github.com/Sirupsen/logrus

Structured logging is nice.
We should consider as an alternative to events post-v1.
Comparison:

events has api versioning, how to do with logrus?
with events, hard to compact events with similar but slightly different Reason string.  If those strings are structured like logrs, easier to compact.
with events
with events, we can select which logs we want to persist to API and which we don't.  How to do with logrus?

There are now multiple areas all saying similar things.  About time to resurrect?

  I have some notes
somewhere, but I am about to get on a plane.  Are you offering up sopme of
your own time? :)  Let's talk...
On Thu, Apr 28, 2016 at 2:01 PM, Timothy St. Clair<EMAIL_ADDRESS>
wrote:

There are now multiple areas all saying similar things. About time to
resurrect?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/kubernetes/issues/6461#issuecomment-215560738

Yup, so long as there is an agreed upon path.

@thockin thoughts?
/cc @timstclair

I'm swamped today - can we maybe do a hangout or something to discuss
options, which will force me to gather my notes...  later this week or
early next?
On Tue, May 10, 2016 at 9:30 AM, Timothy St. Clair<EMAIL_ADDRESS>
wrote:

@thockin https://github.com/thockin thoughts?
/cc @timstclair https://github.com/timstclair
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/kubernetes/issues/6461#issuecomment-218213897

sgtm.

Please include me as well.
On May 10, 2016 09:58, "Timothy St. Clair"<EMAIL_ADDRESS>wrote:

sgtm.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/kubernetes/issues/6461#issuecomment-218221804

sorry, just had to it.

This fell off everyone's plate.  Maybe it's something we can spec for
community cleanups in 1.5?  If we spec it and do some examples I have faith
that more will get done...
On Tue, May 10, 2016 at 9:55 AM, Tim Hockin<EMAIL_ADDRESS>wrote:

I'm swamped today - can we maybe do a hangout or something to discuss
options, which will force me to gather my notes...  later this week or
early next?
On Tue, May 10, 2016 at 9:30 AM, Timothy St. Clair <
<EMAIL_ADDRESS>wrote:

@thockin https://github.com/thockin thoughts?
/cc @timstclair https://github.com/timstclair
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/kubernetes/issues/6461#issuecomment-218213897

/remove-lifecycle rotten

/reopen

@thockin Consider resurrecting this issue.

xref: https://github.com/kubernetes/kubernetes/issues/25521


Improve documentation of NewPeerConnection

It is important to mention that, unlike API.NewPeerConnection, this
registers default interceptors.
Description
This is an incompatible change in v3, make sure it is documented.

Merged with de913a99a885cf17d14a3ffa3de2f3b99039ad7d
golangci-lint just caught a typo customised -> customized