use https everywhere so no-http check works fine

This uses https everywhere such that the no-http checkstyle check works now in ci.  See https://github.com/jhipster/jhipster-vuejs/pull/493
[skip ci]

Please make sure the below checklist is followed for Pull Requests.

[ ] Azure tests are green

[ ] Tests are added where necessary

[ ] Documentation is added/updated where necessary

[ ] Coding Rules & Commit Guidelines as per our CONTRIBUTING.md document are followed

Going to merge this as it just changes from http to https in readme files


BZ#1315341: Registered the right event handler

Wrong event was fired directly by gwtboostrap3, this is fixed by [1] but I do not if it is assumed to use newer version of gwtboostrap3.
[1]
https://github.com/gwtbootstrap3/gwtbootstrap3/commit/b2d121de3a5546b128c963c44ba197445fdf557e

Same as my comment on the other PR (pasted here for completeness):
@jomarko Hi.. I assume this PR is dependent on the GWT Boostrap fix? We wouldn't automagically upgrade the version of GWT Bootstrap we use - unless you want to include in a PR? I also wonder whether the hack for https://issues.jboss.org/browse/GUVNOR-2302 (that is referenced by the GWT Bootstrap issue should also be removed - assuming we can?!?)

Ready for review

@jomarko Thanks.. +1 to merge.

master: 4172a6b326912ba83976046d3b2c4cc6a3e8b93c


Update code coverage CI leg to not fail in release builds (either by not running code coverage with a console message OR running it with a warning message).

See https://github.com/Azure/azure-sdk-for-c/issues/1110

The code coverage leg currently fails in CI for release because of this check which only generates the test coverage XML files on debug:
https://github.com/Azure/azure-sdk-for-c/blob/43e4de8dcac97b144c24e0693028c88a17b98b91/cmake-modules/CreateCodeCoverageTargets.cmake#L4-L18
See CI failure from this PR https://github.com/Azure/azure-sdk-for-c/pull/1098 because of the Generate Code Coverage Data leg:
https://dev.azure.com/azure-sdk/public/_build/results?buildId=506190&view=logs&j=fda9a6e2-14f0-5864-d894-5f56622f20fa&t=c4b15252-d9ad-5b40-931b-5be6c084c53b
2020-08-22T04:32:40: Arguments
2020-08-22T04:32:40: -reports:sdk/*/*/*/*cov_xml.xml
2020-08-22T04:32:40: -targetdir:.
2020-08-22T04:32:40: -reporttypes:Cobertura
2020-08-22T04:32:40: The report file pattern 'sdk/*/*/*/*cov_xml.xml' is invalid. No matching files found.
2020-08-22T04:32:40: No report files specified.

And check line/branch coverage step failed too:
https://dev.azure.com/azure-sdk/public/_build/results?buildId=506190&view=logs&j=fda9a6e2-14f0-5864-d894-5f56622f20fa&t=7a5dbbb0-966b-5832-e92c-8a1b2f0428ae
Waiting for code coverage data...
Waiting for code coverage data...
[WARNING] Unable to get code coverage data within the maximum wait time.
##[warning]Unable to get code coverage data within the maximum wait time.
Total line: 0
Covered line: 0
Code Coverage (%): 0
[ERROR] The code coverage value (0%, 0 line) is lower than the minimum value (90%)!
##[error]The code coverage value (0%, 0 line) is lower than the minimum value (90%)!
##[error]At least one build quality policy was violated. See Build Quality Checks section for more details.
(node:4845) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'sort' of null
Finishing: Check line coverage


feat(tutorial): complete step 4

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

Requested changes executed


Fix typos

Uh, okay? Legitimately though that this was valid, but I won't go up against project conventions.

There are a number of reasons why we are quite wary against large batches of PRs like this. It’s become quite a common issue for us. It sounds like you are trying to be helpful, but not everyone is doing it for the same reason sadly.
Thanks for understanding.

All right, thanks for providing a response.


Remove default event filter

Closes https://github.com/woodpecker-ci/woodpecker/issues/1863

lgtm, could you update the docs section as well.

Non breaking as never released


Add real and fake listings for companies.

Add one Topic "Companies"
Add one real listing and one fake listing each for Starbucks, Netflix, Burlington, Pinterest, and BP.
Each company listing refers to the same topic "Companies"
This file is required by seeds.rb to seed the database

This is an update of #18

Closing for fixup


Pack LRU simplification

A small refactor of the LRU :

Functions were wrapped in a M module, I don't think it's necessary anymore, plus find did a lot of unnecessary exception/option back and forth.
iter was only used to filter, so I replaced it with a filter function.

Thanks!


"build/types/index.d.ts" is not included in the npm package of "<EMAIL_ADDRESS>

Describe the bug
npm i @tanstack/match-sorter-utils

Then use in typescript:
import {compareItems, rankItem, rankings} from '@tanstack/match-sorter-utils';

Then go to the download package in node_modules:

There is no "build/types/index.d.ts" though it's defined in the package.json:
{
  "name": "@tanstack/match-sorter-utils",
  "authors": [
    "Kent C. Dodds",
    "Tanner Linsley"
  ],
  "version": "8.0.8",
  // ...
  "types": "build/types/index.d.ts",
  // ...
}

Your minimal, reproducible example
https://codesandbox.io/s/youthful-edison-ul4zxi?file=/src/main.tsx
Steps to reproduce
Although the official demo is working, the typing is not correct.

Expected behavior
as a user, I want the "build/types/index.d.ts" file to be included in the npm package of "<EMAIL_ADDRESS>How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Every type
react-table version
8.0.8
TypeScript version
4.5.4
Additional context
The template is too boring for such kind of issue report
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Fixed in the latest version


Cannot read property 'split' of undefined

Updated Secret Agent to 1.3.0-alpha.0 and now getting this error. MacOS 11.1. The simplest example code.
TypeError: Cannot read property 'split' of undefined     at extractOsVersion (/Users/dmz/.nvm/versions/node/v14.15.1/lib/node_modules/secret-agent/emulate-browsers/base/lib/getLocalOperatingSystemMeta.ts:27:21)     at Object.getLocalOperatingSystemMeta [as default] (/Users/dmz/.nvm/versions/node/v14.15.1/lib/node_modules/secret-agent/emulate-browsers/base/lib/getLocalOperatingSystemMeta.ts:10:19)     at Object.<anonymous> (/Users/dmz/.nvm/versions/node/v14.15.1/lib/node_modules/secret-agent/emulate-browsers/base/lib/DomDiffLoader.ts:5:48)     at Module._compile (internal/modules/cjs/loader.js:1063:30)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)     at Module.load (internal/modules/cjs/loader.js:928:32)     at Function.Module._load (internal/modules/cjs/loader.js:769:14)     at Module.require (internal/modules/cjs/loader.js:952:19)     at require (internal/modules/cjs/helpers.js:88:18)     at Object.<anonymous> (/Users/dmz/.nvm/versions/node/v14.15.1/lib/node_modules/secret-agent/emulate-browsers/base/index.ts:8:1)

@dmzebrov Shoot. I forgot to test on Big Sur. We've seen a number of issues there. I think this is one of them that has a fix in the emulators PR that's still in progress. Will get it pulled in and see if we can push out another release today.


material-dashboard-lite-rtl

Hi ,
Thanks for this great work, I recently make it RTL :
https://github.com/mmdsharifi/material-dashboard-lite-rtl/tree/master
but as you see nav menu not display correctly, for example avatar drop down menu :

I know this issue happen by injection JavaScript style, what is best solution?
With regards Mohammad Sharifi

Hello, Mohammad Sharifi!
Now avatar dropdown menu align to right side using .mdl-menu--bottom-right class for  element in mdl-menu. To align dropdown menu to left side you need simply remove this class


Upgrade serverapi-openapi to 4.0.0

Upgrade serverapi-openapi dependency to 4.0.0rc0

Remove python 3.9 support and test infrastructure
Add support for python 3.13
Update dependencies in lock file

Have you checked the readme and the docs for statements about Python support?

Have you checked the readme and the docs for statements about Python support?

Indeed, I'm sure somewhere we state a minimum Python version.


Cannot run mongodb/mongodb-community-server:latest on Mac M2

I am trying to run a mongodb container with --platform linux/amd on a Mac M2;
Command:
docker run --name mongodb -d -p 27017:27017 mongodb/mongodb-community-server:latest

I get the following error:
2023-12-07 08:57:50 Traceback (most recent call last):
2023-12-07 08:57:50   File "/usr/local/bin/docker-entrypoint.py", line 637, in <module>
2023-12-07 08:57:50     subprocess.run(get_final_command_line_args(), check=True)
2023-12-07 08:57:50   File "/usr/lib/python3.10/subprocess.py", line 526, in run
2023-12-07 08:57:50     raise CalledProcessError(retcode, process.args,
2023-12-07 08:57:50 subprocess.CalledProcessError: Command '['mongod', '--bind_ip_all']' died with <Signals.SIGILL: 4>.

I have no problem running other linux/amd docker container sand the arm version of this docker image works fine.

Unfortunately, that image isn't actually maintained in this repository :sweat_smile:
Looking at https://hub.docker.com/r/mongodb/mongodb-community-server, it looks like they suggest one of these:

Where to get help: MongoDB Documentation, MongoDB Community, Technical Support


Documentation update

Might be an Idea to clarify that the page covers the built in versions of SSH and not the project releaseses.
https://github.com/PowerShell/Win32-OpenSSH/issues/1985 indicates the problem. The feature is not in the OS provided ssh package but the feature is in the two last project releases

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

ID: c8ad5c9a-efb1-d994-0e3c-53c90096a245
Version Independent ID: 5cb0ea97-4c3d-ffdf-b69c-8a717f9f9f3f
Content: OpenSSH Server configuration for Windows
Content Source: WindowsServerDocs/administration/OpenSSH/OpenSSH_Server_Configuration.md
Product: windows-server
Technology: administration
GitHub Login: @maertendMSFT
Microsoft Alias: damaerte

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Areas and _ViewImports.cshtml

Wanted to ask a question, because I couldn't decipher the answer from the docs page.
Given this project structure:
.
+-- Views
|   +-- _ViewImports.cshtml
+-- Areas
|   +-- Area1
|       +-- Views
|           +-- MyView.cshtml
|           +-- _ViewImports.cshtml

Would the imports defined in Views/_ViewImports.cshtml be applied to Areas/Area1/Views/MyView.cshtml ? In other words, is the _ViewImports.cshtml file at the root Views folder effectively 'global', or does a _ViewImports.cshtml file need to be created in each Area if there are imports that you want to make available to all view files in the project?

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

ID: b29734d0-2d2b-3b82-0456-785cc7f361fd
Version Independent ID: ab07129c-a4dd-44de-45f9-4b49eff0b54c
Content: Layout in ASP.NET Core
Content Source: aspnetcore/mvc/views/layout.md
Product: aspnet-core
Technology: aspnetcore-mvc
GitHub Login: @ardalis
Microsoft Alias: riande

See https://learn.microsoft.com/en-us/aspnet/core/mvc/controllers/areas?view=aspnetcore-6.0#area-folder-structure


Feature Request: Combine all plays from the same type into one popular list

Is your feature request related to a problem? Please describe.
Current;y, the script takes the popular or most watched list from tautulli from the library that the collection belongs to. If you have your content divided into for example normal content and 4K then playing the 4K version will not add it to the most watched collection for the normal library.
Describe the solution you'd like
A solution would be to have the option to combine all Movies libraries, so that you have the most watched movies on your server, no matter what library they belong to.
Describe alternatives you've considered
An alternative would be to add the movie to the normal list in tautulli but i'm not sure how that would work
Additional context
You would combine multiple tautulli lists into one, which should not add much difficulty as it is repeating the loading process of a single library and then combining it into one list.

this would be very difficult to add with how PMM is programmed

yeah i guess this is completely off grid for PMM,
instead plex should finally implement some kind of a proper quality-handling in their UI.
It completely suxx to be forced to have 4K and 3D and maybe even special-versions seperated in different libraries.
i thought about adding all of them as a special to the main-library Version, like i saw some people doing it in the plex forum. This way it's displayed as an "extra" next to the trailer. but at least there you can name it 4K or what ever. not great, but again, keep asking plex a proper solution.

ive decided im not going to add this so I'm going to close this

I have noticed this bug as well. In my most popular collection an actually popular movie is not showing up at all, because it is both in a 1080p and 4K collection. The most popular collection is supposed to only contain results from 1080p collection. This movie is among the most popular if I check the API output from tautulli, and the tautulli frontend. The tautulli frontend is able to sum up the total amount of plays.
I guess the movie is discarded however because the tautulli API sets the section_id to the 4K collection (maybe because this version was played latest). It is unfortunate that this causes the movie not to be considered as most popular at all (even when there are enough views in the 1080p section).


Protocol handler interface

261
Description
Part of https://github.com/microsoft/FluidFramework/pull/10412/, which showcases how this will be used.
This change:

extracts an interface from the protocol handler
the interface only deals in interfaces, so we can enable any Quorum implementation
moves a bit of logic from the container into the protocol handler so that we isolate all protocol logic into the latter.

PR Checklist

Use the check-list below to ensure your branch is ready for PR. If the item is not applicable, leave it blank.

[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] My code follows the code style of this project.
[x] I ran the lint checks which produced no new errors nor warnings for my changes.
[x] I have checked to ensure there aren't other open Pull Requests for the same update/change.

Does this introduce a breaking change?

[ ] Yes
[x] No

Looking at the scribe lambda test failures... It seems there may be a problem with the test


Modify InstanceOperations.getActiveCompactions(String) to use Compactor

Related to #3593

Closing in favor of #3626


TypeError: null is not an object

Describe the bug
Hello, i want to add track-player to my project. But when i add
import TrackPlayer from 'react-native-track-player'
my app will crash and the error message is
 TypeError: null is not an object (evaluating 'TrackPlayer.RATING_HEART')
To Reproduce

npm install react-native-track-player
add "A basic example of how to play a track code" to project

Environment

System:
OS: Linux 5.11 Ubuntu 20.04.2 LTS (Focal Fossa)
CPU: (8) x64 Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz
Memory: 1.91 GB / 11.58 GB
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 12.13.1 - ~/.nvm/versions/node/v12.13.1/bin/node
Yarn: 1.22.5 - /usr/bin/yarn
npm: 6.12.1 - ~/.nvm/versions/node/v12.13.1/bin/npm
Watchman: Not Found
SDKs:
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Languages:
Java: 1.8.0_292 - /usr/bin/javac
Python: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.4 => 0.63.4
npmGlobalPackages:
react-native: Not Found

What react-native-track-player version are you using?
2.0.3
Are you testing on a real device or in the simulator?
Android Emulator: Galaxy Nexus API 30
Which OS version are you running?
Linux 5.11 Ubuntu 20.04.2 LTS (Focal Fossa)
Code
I get the error running the app
tried npm install again and ./gradlew clean, still get the same error

@mripqi the imports have changed in v2 -- please read the migration section of the README for more details :)
https://github.com/DoubleSymmetry/react-native-track-player#-v2-migration-guide


Feature/remove sdx home in makefile

Codecov Report

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

@@           Coverage Diff           @@
##           master     #185   +/-   ##
=======================================
  Coverage   84.94%   84.94%
=======================================
  Files          11       11
  Lines         465      465
=======================================
  Hits          395      395
  Misses         70       70

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 533135e...d3d77fc. Read the comment docs.

Superseded by cherry picked commits into #189


Make Zulip compose box use fancy gmail-style recipient blocks

http://textextjs.com/ is one implementation, we should probably research a few other options.  I think this could make the compose experience a lot nicer; once we've added it there we could also consider using it in other places in the app.

@zulipbot claim

@akhilmd check out https://github.com/zulip/zulip/pull/4986 which has some prior art done at PyCon by @LawlietBlack.
Also @brockwhittaker FYI; @akhilmd you should probably chat with Brock a bit about strategy for this.

@zulipbot abandon

This was finally implemented a few weeks ago by @brockwhittaker and @showell :)


[release 0.20] Change emulated types in tests to pc

Backports the #2719
Upstream and downstream machine types
differ:
upstream   - pc-q35-3.0
downstream - pc-q35-rhel7.4.0
To cover different machine types,
the tests for emulated types are
now testing specificaly the older
type and verifies that it indeed
changed.
Signed-off-by: Petr Kotas<EMAIL_ADDRESS>Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/cc @rmohr
I have created the backport here, the previous one (#2735) can be deleted. Can you please delete that one? Thank you for the review.

@petrkotas this does not compile, the function is UpdateClusterConfigValue(...) on this branch yet (without ...AndWait)

I have created the backport here, the previous one (#2735) can be deleted. Can you please delete that one? Thank you for the review.

@petrkotas for the future: You can always force-push on a PR. There is no need to abandon PRs and replace with a new one, if you don't want to preserve the conversation history for some reason.

@petrkotas this does not compile, the function is UpdateClusterConfigValue(...) on this branch yet (without ...AndWait)

@petrkotas could you address that?

@rmohr already addressing.

I have backported single changed function. This introduces partial duplicity to the release, but it makes this backport simple and small.

You are backporting parts of https://github.com/kubevirt/kubevirt/pull/2646 now.
I think it would be cleaner to use UpdateClusterConfigValue() here and backport said PR as well.
@rmohr wdyt?

You are backporting parts of #2646 now.
I think it would be cleaner to use UpdateClusterConfigValue() here and backport said PR as well.
@rmohr wdyt?

Sounds good. Let's backport both, since both help test stability and that is why we backport all this.

Ack, thanks for pointing me to the missing PR.

Ok now I am happy with the outcome.

@mfranczy what about unsigned commit that are not mine?

I would make an exception, in that case, I think the PR 2646 was created before we enabled DCO plugin, right @slintes? Or you could just add to these two commits sign off message with @fedepaol as an author (I think it should work - but I am not sure).
Btw. I think it's better to backport PRs separately, it's easier to find which PRs were backported. But I am not going to block this.

I think it's better to backport PRs separately

+1
will backport #2646
/hold

related backport: https://github.com/kubevirt/kubevirt/pull/2751

/close
@petrkotas a clean cherrypick worked now (#2757) after backporting the configmap PR. We can close this one. Thanks.


Added my bookmark

Hey @VasudevPant
You need to provide your twitter or LinkedIn bookmark links not your social links.


Installation fails in Docker-iobroker container  on Raspi4 running Raspbian Buster

Hello Community!
After I failed to run BLE in IOBroker https://github.com/AlCalzone/ioBroker.ble/issues/422#issue-677958385 it now seems to me that the problem arises from noble.
When I try to sudo npm install bluetooth-hci-socket in the docker-iobroker container (after hafing successfully installed sudo npm install -g node-gyp I receive theserrors given in the log.
Any advice? Thanks
2020-08-13T16_09_09_675Z-debug.log

Not a noble issue. Misconfiguration of the docker container (works in host mode only). https://github.com/buanet/docker-iobroker/issues/134#issuecomment-676683897


Failed to start gauge API

Hi guys,
Sometimes I facing with a problem  "Failed to start gauge API: Timed out connecting to <IP_ADDRESS>:port_number."
Gauge version is 1.0.0
Python plugin is 0.3.3

@Apoorva-GA  I have the latest
Gauge 1.0.3
Python 0.3.4
on my local machine. The issue reproducible rarely but sometimes is reproducible too. As I understand the latest version can decrease time of reproducing but can not decrease the reproducible number to 0?

@texnichnyi I am also trying to reproduce the issue, but i wasn't able to. So Asking you to check with latest nightly as I mentioned in the previous comment.
Please try and let us know if the issue still persists.

@Apoorva-GA Thanks.
I will provide updates related to this in few days.

@texnichnyi Thanks you.

@Apoorva-GA Looks like everything is fine. Thanks.


Add theme object to styled-components without ThemeProvider

Hello 👋, has anyone tried overwriting / injecting the default styled export with their theme object?
I'm not able to use <ThemeProvider/> successfully without errors. My best guess is that it may have to do with the SSR nature of our app, but it fails on cannot find subscribe of undefined within a getChildContext invocation.
Anyway, this isn't a bug report with ThemeProvider, I'm just clarifying that I know ThemeProvider exists, just that it's not going to work for me, but I still want to utilize theming.
I'd like to overwrite a copy of styled from styled components and apply my themes. If it's too complicated you can just close this issue, just felt like someone here might have tried this already.
This is more or less what I'm trying to accomplish:
config/styled.js
import styled from 'styled-components'

const theme = {
  color: 'blue'
}

const moddedStyled = withTheme(styled, theme)
export default moddedStyled

components/index.js
import styled from '../config/styled'

const Div = styled.div`
    border: ${props =>`1px solid ${props.theme.color}`};
`

export default () => Div

EDIT
For those who may come here in the future with this problem, I just imported my theme config into any file that consumed it, and just passed them directly.
import theme from './theme

const Div = styled.div`
   border: ${theme.color}
`

@trevorwhealy don't you lose the possibility of consuming your components using ThemeProvider and so then not being able anymore to give a custom theming to them?


Config for Glyph Margin, Line number, Git Diff, and Folding order and/or spacing

The Glyph Margin, Line number, Git Diff, and Folding UI items in the left of the editor should be able to be reordered or have spacing added between them. My main reason to suggest this, is that since the folding and git diff buttons are right next to each other and also very small, it's extremely easy to accidentally hit one when trying to hit the other.

I should add that is also possible to click both the Git Diff and Folding buttons at the same time.


Hidden Performance Problem with _CI Collation and BINARY

I noticed, that Speedment renders a sql statement using
WHERE (BINARY ...) when .equal is used in conjunction with a _CI collation.
I am not not very experienced with sql but my App currently suffers under HUGE performance problems and currently think, this might be the reason?

I don't think that this is an issue in the most recent version since we no longer generate queries with WHERE BINARY.


Troubles import a .tmx map in Android Studio

Good evening,
I'm trying to import a map on Android Studio that I did on Tiled Map E. But when I'm trying to put it on my Android Project ('res' folder on a new folder call 'map') I got these errors (see stacktrace). I tried different format in map properties CSV, XML... But I always got theses issues. So if anyone succeed to import a map on android studio, I need help :/
mapLoader = new TmxMapLoader();
        map = mapLoader.load("map-finale.tmx");
        MapProperties prop = map.getProperties();
        int mapWidth = prop.get("width", Integer.class);
        int mapHeight = prop.get("height", Integer.class);

This code seems works well tho...
Issue details
Import a .tmx map on Android Studio
Version of LibGDX and/or relevant dependencies
last one
Stacktrace
Error:Error: Unsupported type 'tileset'
Error:Error: Unsupported type 'layer'

Please select the affected platforms

[X] Android

Alright, it seems that it was just a problem of location. I got another error now, and I think it's just a problem of path... I put my map.tmx in the folder assets/maps
But I have an error of Null object reference when I want to print the properties of the map.
Just check the pic below :

This is an issue tracker. This doesn't seem to be a libgdx issue, but a problem with your program.
If you have questions please use the forums or irc.
If this is indeed a problem with libgdx, please provice a sscce.org

This is an issue tracker. This doesn't seem to be a libgdx issue, but a problem with your program.
Hm, it seems weird. Do you have any links about how to setup libGdx in an existing android Studio' project. I only found how to generate one, but I don't want to do that... I didn't found anything for exisiting project.
Than'ks !

It looks like you are loading the map before libgdx is initialized (Gdx.files is null). Please use the forum or irc for questions.l and general help.


Timeout for external service e.g. ServiceEntry

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
I have next config inspired by this:
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: external-yevhentienkaiev-app-reqres.in
  namespace: yevhentienkaiev-app
spec:
  hosts:
    - reqres.in
  location: MESH_EXTERNAL
  ports:
    - name: https
      number: 443
      protocol: https
  resolution: DNS

apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: external-yevhentienkaiev-app-reqres.in
  namespace: yevhentienkaiev-app
spec:
  hosts:
    - reqres.in
  http:
    - route:
        - destination:
            host: reqres.in
          weight: 100
      timeout: 10s

Doing this from the pod (30 means delay 30 sec):
curl --location 'https://reqres.in/api/users?delay=30'

Expectation to get timeout after 10s, but not getting it, what I'm doing wrong?
Version
Istio `1.18.2`

Additional Information
No response

Resolved by conversation here:
Zhonghu Xu
25 minutes ago
since your protocol is https, so istio does not apply the vs http rules to it
:pray:
1
Yevhen Tienkaiev (Hronom)
17 minutes ago
@hzxuzhonghu
kudos to you, what do you think I can use to set timeout?
Zhonghu Xu
15 minutes ago
For https, istio will treat is similar as tcp. So with that in mind, envoy could not have a view of http request.
:pray:
1
New
Zhonghu Xu
14 minutes ago
But you could also use sidecar tls origination, then you can use http timeout.
:pray:
1
Yevhen Tienkaiev (Hronom)
13 minutes ago
But you could also use sidecar tls origination, then you can use http timeout.
How?
Also second question:
Dose it mean that istio sidecar don't have timeout at all for all outgoing connections to https/tcp?
Yevhen Tienkaiev (Hronom)
10 minutes ago
@hzxuzhonghu
related to this:
But you could also use sidecar tls origination, then you can use http timeout.
Are you referring to this approach?
Zhonghu Xu
9 minutes ago
yes
:pray:
1
Yevhen Tienkaiev (Hronom)
7 minutes ago
Thanks a lot! You directed me to the correct direction.
BTW do you have any info related to this question:
Also second question:
Dose it mean that istio sidecar don't have timeout at all for all outgoing connections to https/tcp?
?
Zhonghu Xu
6 minutes ago
YOu can setup connection idle timeout, connect timeout., etc
Zhonghu Xu
6 minutes ago
It is connection oriented
Yevhen Tienkaiev (Hronom)
5 minutes ago
but not inside VirtualService as far as I understand from doc?
https://istio.io/latest/docs/reference/config/networking/virtual-service/#VirtualService
Zhonghu Xu
3 minutes ago
DestinationRule
Yevhen Tienkaiev (Hronom)
3 minutes ago
Ohh I see https://istio.io/latest/docs/reference/config/networking/destination-rule/#ConnectionPoolSettings
Thanks a lot!!!


Publisher UI - Handle sessions exceptions in the browser

Describe your problem
When a user logged in and the session data is cleared from the publisher browser page, it will show the Cannot read property 'scopes' of null error in the browser. Only refresh will redirect to the login page
Describe your solution
Handle these exceptions inside the application.

This issue is resolved in the latest version


report of unreachable code

Windows 10 on a Toshiba laptop, AMD A6
Node v6.2.0
bluebird v3.4.6
webpack v1.13.2
uglify-js v2.6.4
unknown whether this affects any other version of bluebird
issue: report of unreachable code, line 5421
background: I used webpack to create a deployment bundle. It called UglifyJs, which reported the above as an Error. In my copy of the bluebird code, I see, starting with line 5414:
function toFastProperties(obj) {
/jshint -W027,-W055,-W031/
function FakeConstructor() {}
FakeConstructor.prototype = obj;
var l = 8;
while (l--) new FakeConstructor();
return obj;
eval(obj);
}
I reversed the last two code lines, making:
function toFastProperties(obj) {
/jshint -W027,-W055,-W031/
function FakeConstructor() {}
FakeConstructor.prototype = obj;
var l = 8;
while (l--) new FakeConstructor();
eval(obj);
return obj;
}
Right or wrong for you, it made the error go away for me.
If I can provide more info that'll help, please let me know.

The code is unreachable on purpose. Have a look at https://stackoverflow.com/q/24987896/1048572?how-does-bluebirds-util-tofastproperties-function-make-an-objects-properties
Are you sure you have to run Uglify on Bluebird, it comes with an already minified version?

JavaScript warning: https://cdnjs.cloudflare.com/ajax/libs/bluebird/3.5.0/bluebird.js, line 5438: unreachable code after return statement
JavaScript warning: https://cdnjs.cloudflare.com/ajax/libs/bluebird/3.5.0/bluebird.js, line 5438: unreachable code after return statement


nixos/harmonia: init service

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[x] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Can you add a package option with mkPackageOptionMD?

Done

Maybe mark harmonia as broken on 32-bit platforms, if noone wants to fix it?
https://hydra.nixos.org/build/219635452

32-bit support fixed in https://github.com/NixOS/nixpkgs/pull/231617


Wire Adv Includes?

Wire_Adv seems to require something in sandbox/base gamemode? If I were to per se, make a skeleton gamemode the tool won't allow me to use TOOL:LeftClick, TOOL:RightClick, nor TOOL:Reload. But does allow for the mouse wheel but that doesn't have its own function to play with.
I have ran a few prints through the file and it all runs but never runs the mouse functions stated above which makes the tool unusable. (Note: All other wire tools work fine. And I have the ability to mouse scroll through the input options on the adv tool.)
Any input?

Lol, been too busy.. Sort of forgot about the issue. :8ball:
No errors, possibly it requires a function in the sandbox gamemode to return true? If a function isn't added it will just return false somewhere.

Just copy paste the base tool files from garry's sandbox gamemode, should work.

Shouldn't DeriveGamemode("sandbox") be all that's needed? If your addon doesn't do that then we have no intention of supporting it; if it does do that and it's still not working feel free to reopen.

Not sure if that would work, @AbigailBuccaneer since the tool object might not be included if you derive from sandbox. I could be wrong.


Stream management callbacks

TODO:

[x] Create action end_of_stream
[ ] Should watcher be informed about start of stream synchronously or asynchronously?

Also please try mix compile --force to check the warnings and fix those if possible.

Rebased with master

I have just realized that the start/end of stream callbacks make no sense when there are no input pads, so they can be moved to Element.WithInputPads

I have just realized that the start/end of stream callbacks make no sense when there are no input pads, so they can be moved to Element.WithInputPads

True. Have changed that. (b01a1e36de756cb0b2e1ba94fe6964515d03cf04)


Issue-9 Layour shifting catered

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix
Test URLs:

Before: https://main--sunstar-engineering--sunstar-engineering.hlx.live/

After: https://carousel-fix-cls--sunstar-engineering--jindaliiita.hlx.live/

[ ]  If you are adding a new block or a variation to an existing block, has it been added in the block-inventory ?

@sdmcraft @ehrro @bosschaert Kindly review this PR

@sdmcraft Can you please also merge this PR as i don't have rights for the same.

Hello @jindaliiita just merged it. 💯


Trying to Dial Kubo Node with Web Transport

Recently upgraded a node to support web transport near end of april and I cannot dial via web transport. Was able to connect at first but seemingly unable to connect or only very limited successes at attempts now. Was attempting to dial /ip4/<IP_ADDRESS>/udp/4001/quic-v1/webtransport/certhash/uEiAM_1-R7yfSAtnm9g_fzzcIccsT1RzKPfXPr5lKfqmVVQ/certhash/uEiAcLZS4mabYQl9V1K0QjWsToU21DtsWarGTjZQzecHFmg/p2p/12D3KooWG7itEPAHut3xsVo7CwyD8sKeQXKgQizotNhPsToCssXQ
and get this error

Transferring this issue from https://github.com/libp2p/js-libp2p-webtransport/issues/82 was requested by dClimate David on behalf of @TheGreatAlgo

After upgrading the node we still are having issues with certificate unknown. I am running the latest Helia and Libp2p versions as of yesterday but I suspect this is a kubo thing. How can we ensure the certificates are being rotated? does this mean /ip4/<IP_ADDRESS>/udp/4001/quic-v1/webtransport/certhash/uEiAM_1-R7yfSAtnm9g_fzzcIc... should change every two weeks? Do we have to just manually pay attention when they update and update on the frontend every single time it updates?
Also I tried https://github.com/libp2p/js-libp2p/tree/master/examples/libp2p-in-the-browser/webtransport/fetch-file-from-kubo to at least see if I could get the example working but connections were timing out with the example address.

This was discussed in today's js-libp2p maintainers call.

Do we have to just manually pay attention when they update and update on the frontend every single time it updates?

Right now the answer is sort of yes. If you've hardcoded the whole multiaddr into your application, then you'll have to pay attention and update manually since the addr will eventually be invalid.
Ideally, instead of hardcoding the multiaddr, it's better to encode the peerid of the nodes to dial and do a peer lookup via the dht.
However, browser dht queries are challenging atm because the whole query will stop when we encounter nodes that don’t have WebTransport addresses.
So the solution of encoding peerid & doing a lookup is limited until more of network supports WebTransport.
What percentage of the network supports WebTransport is something we're looking to get insight into. The ProbeLab team does network measurements but we don't have concrete numbers on WebTransport atm.

Do we have to just manually pay attention when they update and update on the frontend every single time it updates?

Maybe a more flexible answer then the one above is that browser webtransport doesn't want the certificate hashes to be fixed and yet you want fixed addresses so something's got to give. Some examples:

Use your application as the mutability point and update it every two weeks
Use the peerID -> multiaddr mapping as the mutability point

Find some system to do peer routing for you in a way the browser can access (DHT + Delegated routing, IPNI, etc.)

Use a non-peerID -> multiaddr mapping as the mutability point

For example, DNSLink + DoH resolution in the browser

However, browser dht queries are challenging atm because the whole query will stop when we encounter nodes that don’t have WebTransport addresses.

Yeah, but then just ask someone else to do it for you 😄. Sure, it'd be nice to do it yourself but for now I don't see why not. There's IPIP https://github.com/ipfs/specs/pull/417 for adding peer routing to the /routing/v1 API that should be better supported going forward, but if you needed something sooner you should be able to use https://github.com/libp2p/js-libp2p-delegated-peer-routing which has been around for a while.

@p-shahi I tried upgrading to the latest but now I get this error. Seemingly finding the peer no longer works

If it helps this is the complete config for that node (we were in the middle of attempting to configure it to add publishing to IPNI)
{
  "API": {
    "HTTPHeaders": {}
  },
  "Addresses": {
    "API": "/ip4/<IP_ADDRESS>/tcp/5001",
    "Announce": [],
    "AppendAnnounce": [],
    "Gateway": "/ip4/<IP_ADDRESS>/tcp/8080",
    "NoAnnounce": [],
    "Swarm": [
      "/ip4/<IP_ADDRESS>/tcp/4001",
      "/ip6/::/tcp/4001",
      "/ip4/<IP_ADDRESS>/udp/4001/quic",
      "/ip4/<IP_ADDRESS>/udp/4001/quic-v1",
      "/ip4/<IP_ADDRESS>/udp/4001/quic-v1/webtransport",
      "/ip6/::/udp/4001/quic",
      "/ip6/::/udp/4001/quic-v1",
      "/ip6/::/udp/4001/quic-v1/webtransport"
    ]
  },
  "AutoNAT": {},
  "Bootstrap": [
    "/dnsaddr/bootstrap.libp2p.io/p2p/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN",
    "/dnsaddr/bootstrap.libp2p.io/p2p/QmQCU2EcMqAqQPR2i9bChDtGNJchTbq5TbXJJ16u19uLTa",
    "/dnsaddr/bootstrap.libp2p.io/p2p/QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKNN6tpvbUcqanj75Nb",
    "/dnsaddr/bootstrap.libp2p.io/p2p/QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt",
    "/ip4/<IP_ADDRESS>/tcp/4001/p2p/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ",
    "/ip4/<IP_ADDRESS>/udp/4001/quic/p2p/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
  ],
  "DNS": {
    "Resolvers": {}
  },
  "Datastore": {
    "BloomFilterSize": 0,
    "GCPeriod": "1h",
    "HashOnRead": false,
    "Spec": {
      "mounts": [
        {
          "child": {
            "path": "blocks",
            "shardFunc": "/repo/flatfs/shard/v1/next-to-last/2",
            "sync": true,
            "type": "flatfs"
          },
          "mountpoint": "/blocks",
          "prefix": "flatfs.datastore",
          "type": "measure"
        },
        {
          "child": {
            "compression": "none",
            "path": "datastore",
            "type": "levelds"
          },
          "mountpoint": "/",
          "prefix": "leveldb.datastore",
          "type": "measure"
        }
      ],
      "type": "mount"
    },
    "StorageGCWatermark": 90,
    "StorageMax": "10GB"
  },
  "Discovery": {
    "MDNS": {
      "Enabled": true
    }
  },
  "Experimental": {
    "FilestoreEnabled": false,
    "GraphsyncEnabled": false,
    "Libp2pStreamMounting": false,
    "P2pHttpProxy": false,
    "StrategicProviding": false,
    "UrlstoreEnabled": false
  },
  "Gateway": {
    "APICommands": [],
    "HTTPHeaders": {
      "Access-Control-Allow-Headers": [
        "X-Requested-With",
        "Range",
        "User-Agent"
      ],
      "Access-Control-Allow-Methods": [
        "GET"
      ],
      "Access-Control-Allow-Origin": [
        "*"
      ]
    },
    "NoDNSLink": false,
    "NoFetch": false,
    "PathPrefixes": [],
    "PublicGateways": null,
    "RootRedirect": "",
    "Writable": false
  },
  "Identity": {
    "PeerID": "12D3KooWFqzYkjofVzvo7MdYy4h3cZwixJC1f6NFWGYPELU7yBNy"
  },
  "Internal": {},
  "Ipns": {
    "RecordLifetime": "",
    "RepublishPeriod": "",
    "ResolveCacheSize": 128
  },
  "Migration": {
    "DownloadSources": [],
    "Keep": ""
  },
  "Mounts": {
    "FuseAllowOther": false,
    "IPFS": "/ipfs",
    "IPNS": "/ipns"
  },
  "Peering": {
    "Peers": null
  },
  "Pinning": {
    "RemoteServices": {}
  },
  "Plugins": {
    "Plugins": null
  },
  "Provider": {
    "Strategy": ""
  },
  "Pubsub": {
    "DisableSigning": false,
    "Router": ""
  },
  "Reprovider": {},
  "Routing": {
    "Methods": {
      "find-peers": {
        "RouterName": "WanDHT"
      },
      "find-providers": {
        "RouterName": "ParallelHelper"
      },
      "get-ipns": {
        "RouterName": "WanDHT"
      },
      "provide": {
        "RouterName": "ParallelHelper"
      },
      "put-ipns": {
        "RouterName": "WanDHT"
      }
    },
    "Routers": {
      "IndexProvider": {
        "Parameters": {
          "Endpoint": "http://<IP_ADDRESS>:50617",
          "MaxProvideBatchSize": 10000,
          "MaxProvideConcurrency": 1
        },
        "Type": "http"
      },
      "ParallelHelper": {
        "Parameters": {
          "Routers": [
            {
              "IgnoreErrors": true,
              "RouterName": "IndexProvider",
              "Timeout": "30m"
            },
            {
              "IgnoreErrors": true,
              "RouterName": "WanDHT",
              "Timeout": "30m"
            }
          ]
        },
        "Type": "parallel"
      },
      "WanDHT": {
        "Parameters": {
          "AcceleratedDHTClient": false,
          "Mode": "auto",
          "PublicIPNetwork": true
        },
        "Type": "dht"
      }
    },
    "Type": "custom"
  },
  "Swarm": {
    "AddrFilters": null,
    "ConnMgr": {},
    "DisableBandwidthMetrics": false,
    "DisableNatPortMap": false,
    "RelayClient": {},
    "RelayService": {},
    "ResourceMgr": {},
    "Transports": {
      "Multiplexers": {},
      "Network": {},
      "Security": {}
    }
  }
}

Thanks for sharing the config @Faolain is there a reason why it doesn't contain the peer routing configuration?

@p-shahi I tried upgrading to the latest but now I get this error. Seemingly finding the peer no longer works

@TheGreatAlgo what version of js-libp2p were you using prior to the upgrade to 0.46.5 ? Also if possible would you be able to enable the debug logs as well prior to that error? You can do this by setting the debug flag to libp2p:delegated-peer-routing

Thanks for sharing the config @Faolain is there a reason why it doesn't contain the peer routing configuration?

ofc! and hm, not sure what you mean by this? What should it be instead? (for reference I believe this is the default configuration and I just cross checked with a local kubo config and it seems to be the same)

@p-shahi I tried upgrading to the latest but now I get this error. Seemingly finding the peer no longer works
Screenshot 2023-08-16 at 5 44 05 PM
swarm connecting the peer does work

I may have gotten the error at one point with the session limit
It seems this is an issue related to our kubo rpc client, I've outlined more details in https://github.com/libp2p/js-libp2p/issues/1985

@p-shahi I tried upgrading to the latest but now I get this error. Seemingly finding the peer no longer works  swarm connecting the peer does work
I may have gotten the error at one point with the session limit

It seems this is an issue related to our kubo rpc client, I've outlined more details in https://github.com/libp2p/js-libp2p/issues/1985

The issue has now been resolved @Faolain

Current config

        // services: {
        //     // the identify service is used by the DHT and the circuit relay transport
        //     // to find peers that support the relevant protocols
        //     identify: identifyService(),
        //     // the DHT is used to find circuit relay servers we can reserve a slot on
        //     dht: kadDHT({
        //         clientMode: true,
        //         validators: {
        //             ipns: ipnsValidator,
        //         },
        //         selectors: {
        //             ipns: ipnsSelector,
        //         },
        //     }),
        // },
        peerRouters: [delegatedPeerRouting(client)],
    });

After re-examining @TheGreatAlgo I notice that your kadDHT  clientmode is disabled, could you try re-enabling it and seeing if you are no able to find to retrieve the peer info?

will look at this soon, just trying to resolve some other issues that are popping up

haven't forgotten about this, sorry its taking so long to address


Could not find com.github.barteksc:android-pdf-viewer:2.8.2

The project doesn't build on clean machine. If ~/.gradle is deleted then android-pdf-viewer 2.8.2 can't be fetched as it's removed from repos. Tried many things and I haven't found a working solution. It was working on my machine as long as I had the dependency in gradle cache.
To reproduce the problem simply delete (or move) ~/.gradle.
Build error:
Launching lib/main.dart on SM S911B in debug mode...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkFirebaseDebugAarMetadata'.
> Could not resolve all files for configuration ':app:firebaseDebugRuntimeClasspath'.
   > Could not find com.github.barteksc:android-pdf-viewer:2.8.2.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom
       - https://jcenter.bintray.com/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom
       - https://plugins.gradle.org/m2/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom
       - https://storage.googleapis.com/download.flutter.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom
       - https://repo.maven.apache.org/maven2/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom
     Required by:
         project :app > project :flutter_full_pdf_viewer_null_safe

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Here's the fix: https://github.com/rohitsangwan01/flutter_full_pdf_viewer_null_safe/pull/6


fix(module): alias @unhead/vue

Description
As this module in v2 turns on Nuxt's experimental feature headNext which uses @unhead/vue, that module needs to be aliased for usage without shamefully-hoist, I think.
Linked Issues
https://github.com/nuxt/nuxt/issues/14146
Additional context
Or should this better be implemented in Nuxt itself? cc @danielroe

This feels like something that we should resolve in Nuxt.


CompileError: Cannot find import 'package:flutter/cupertino.dart'

If I were in hot_update dart, increase the import 'package: flutter/cupertino. Dart', will quote CompileError: Cannot find import 'package:flutter/cupertino.dart'
cupertino does not seem to be supported, so it is easy to report CompileError if external packages are introduced into the code to be patched
How to solve it

I’m facing the same issue. Have you found a solution yet?

dart_evel should run on root of path of "remote_update"


Reconcile projects vs. applications for existing projects

Describe the task
An application is a record stored in the application table and contains funding stream, rfp, project name, facility name, legal name, plus associated attachments stored in an application_attachments (name TBC) table. External users create applications via a simple form with a stepper.
A project is stored in the projects table and contains associated information in many other tables. CIF users create projects via a series of forms using the tasklist (and probably some of the application info, but this is still in UX research).
Currently, when an external user navigates to their home page, they see a list of their projects in a table drawn from the project table. When they view one of the projects, they also see information from the project table.
None of the projects currently in the system have an application associated with them.
Ways to approach this:

Display two records on the external user side, 1) application and 2) project (would need the tab design from Suha)
Have one record that combines the application and project (more or less existing design)

Considering approach 2:

the home page shows a list pulled from the application table instead of the project one
the stepper application overview shows the information from the application table
the stepper attachments page shows the attachments from the application_attachment table
other stepper sections (TBC, but for example reports) shows information from the project-related tables (apps and projects can be linked by ids so I think we can query for combinations but maintain separation in db)

We would need to:

make an ApplicationTableRow component or refactor ProjectTableRow to be more generic
create filters for the application-related required sorting (can still use TableFilter, just need to set new filters)
existing projects don't have applications, so to handle that:
-- what to do about the list of applications/projects? Query for both applications and projects (messy table filters)? Will we need "applications" for existing projects for some reason (facility? status?) and would have to make a migration to make them?
-- stepper overview and attachments page have text that explains the application was manual

Acceptance Criteria

[ ] first
[ ] second
[ ] third

Additional context

Add any other context about the task here.
Or here

Decision in dev/design sync: applications will go into the projects table. Existing design is good to go, closing ticket


Support reading from stream

This is a patch to also support reading excel files from streams. It wasn't written by me, it's from jthibeaux, but I'm using it and it works properly, so I thought it would make a good adition to rubyXL.

Implemented in 3.3.12


Rich-text collaboration

Dexie Cloud already support syncing text properties, but we lack specific conflict-free CRDT support for collaborative text editing of same document.
We have a demand from customer to add support for realtime communication of text editors using tiptap or similar components. For implementation, we should see what we can use from Tiptap and Hocuspocus-server to integrate it seamlessly in dexie cloud.

That would be such a killer feature.

I'm looking into integrating Y.js into Dexie.js, not only Dexie Cloud. So this issue will be twofold:
Dexie.js ❤ Y.js
The plan is that Dexie.js will support Y.Docs as properties on objects and thus be a storage provider of Y.js in itself even without any addon required. If it turns out to be too much of added code (which I do not think it will be), we might lift this out to an addon instead, but since Y.js ecosystem is so promising and leading, it feels more right to support it natively.
Dexie's role in the Y.js ecosystem will be similary to y-indexeddb but allowing docs to be organised into props of objects and queried just like other props of Dexie tables. Allow tagging docs and index them and reference them from other tables. Also the lifetime of the Y.Doc instances will be cached and handled, taking away the burden for developers to maintain and organize Y.Doc instances.
Dexie Cloud ❤ Y.js

Dexie Cloud will handle Y.Docs seamlessly and sync, support realtime editing of text using its existing connection and access control features.
Dexie Cloud will also support Y.js awareness protocol for seeing other user's cursors etc in text documents.

Update
Dexie + Y.js support is almost done. Kevin (Y.js author) has been very helpful with actively supporting me in API questions. The dexie-cloud support is still to be implemented but the design for it is done.

This is excellent @dfahlander! Will it eventually be possible to use Dexie Cloud REST API to update a Y.js doc? My use case would be from a node.js or similar server/endpoint.
Tangential, but I am assuming REST API is best way to access/update records in Dexie Cloud from a backend because the npm package would rely on indexdb being available, but not sure.

I think we'd need to collect the requirements on REST API for sync use cases together to find a solution. The /sync endpoint is possible to call from a server in theory but there are lots of undocumented data formats etc that would need to be documented. Supposely we could add a simplified sync api that is targeted for node clients rather than dexie-cloud-addon on web.
Adding a REST endpoint for Y-updates would not be a problem though, just want to think it through to get it right.

Is there anything one can help with the PRs (#2016 & #2045)? Yjs support as mentioned before would be awesome!

Thanks! The Y.js support for both dexie and dexie-cloud is becoming ready for test in just a few days but I will need help trying it out in real apps. #2045 is based on 2016 and is the PR I've been working on.
There's already an alpha<EMAIL_ADDRESS>on npm that makes it possible to store Y.Doc instances in dexie and I'll be releasing a new alpha of dexie, dexie-react-hooks and dexie-cloud-addon within some days where awareness and sync are implemented.
I took a preliminary decision to let dexie support Y.js documents "natively" and not requiring an addon for it. I might change my mind on this but for now it is "built-in" into dexie. The caller need to provide the Y library in the constructor options to Dexie since I don't want to introduce new dependencies. Had I implemented this as an addon, yjs would probably be a dependency of the addon instead.
How dexie stores Y.Docs
In contrast to y-indexeddb who only stores a single document in a dynamically created object store, Dexie treats Y.Doc instances similar to any other type such as string, Blob, Date etc so that one can still think in terms of tables and objects, where every object can hold one or several properties with documents in them. In the background though, every update to a document is stored in a dedicated table tied to the table of the parent object and the property it is stored in. In order to create these tables, users need to declare which properties might hold Y.Docs, similar to how primary keys and indices are declared.
Declaration
import Dexie from 'dexie'
import * as Y from 'yjs';

const db = new Dexie('friendsWithNotes', { Y });

db.version(1).stores({
  friends: `
    id,
    name,
    age,
    notes:Y` // ... ":Y" declares 'notes' as a property that contains Y.Doc instance
});

In<EMAIL_ADDRESS>documents are loaded by creating a provider as such:
import { DexieYProvider } from 'dexie';
import { db } from './db';

// Query a row:
const friend = await db.friends.get(1);
// Get the Y.Doc instance (it'll always be there for all friends):
const yDoc = friend.notes;
// Start loading the document:
const provider = new DexieYProvider(yDoc);
// Wait until loaded:
await yDoc.whenLoaded;

// And when done with it:
yDoc.destroy(); // ...will also destroy provider

In the upcoming version, I've added a reference counting mechanism so providers can be kept alive through re-renders and be shared between components loading the same document.
const provider = DexieYProvider.load(yDoc);

And when done with it:
provider.release(); // decrements a refcount instead and when zero, destroys both doc and provider.

dexie-react-hooks
A new version of dexie-react-hooks (also released in a few days) has a useDocument() hook to use in place of DexieYProvider.
import { useLiveQuery, useDocument } from 'dexie-react-hooks';

interface Props {
  friendId: number;
}

function MyComponent({friendId}: Props) {
  const friend = useLiveQuery(() => db.friends.get(friendId), [ friendId ]);
  const provider = useDocument(friend?.notes); // ok to pass undefined here (on first render)
  if (!provider) return null; // still loading the friend
  // At this point:
  //   provider.doc holds the document
  //   provider.awareness will be present if dexie-cloud-addon is active.
  // Here it's ok to pass the provider further to text editor components that support doc and awareness.
}

I'll send a comment on this thread when all things are ready to try and all helps in testing it and giving feedback and ideas are welcome.

Update: Everything is now in place for using Y.js with Dexie and Dexie Cloud. Anyone interested to try the alpha, please contact me or post on this issue. What you need is:

Ask me to run a script that migrates your dexie.cloud database and puts it into staging.
Install dexie@next, dexie-cloud-addon@next and dexie-react-hooks@next (if using react)

Plain Dexie.js users can try the dexie@next alpha with the previous instruction on this issue.
A sample app is also currently being built that will demonstrate TipTap with Dexie, Dexie Cloud and Y.js.


Allow Modal#supportedOrientations to take an array of possible orientations instead of a single one

According to Facebook's document on Modal, the supportedOrientations should be able to take an array of possible orientations, https://facebook.github.io/react-native/docs/modal.html#supportedorientations, the binding doesn't reflect that, this PR is to fix that

Ugh, the request changes mark is so negative on github 😞 sorry about that

@arnarthor haha, no problem at all, just wondering where the Rebuild button is in UI

No I mean locally. Just run yarn build locally. The compiled JS should be commited into the PR 👍

@arnarthor done updating the JS file :)

@leomayleomay I'm not sure. @arnarthor probably has a better idea.

@leomayleomay a new release has been shipped with the next tag. yarn add bs-react-native@next should do it 💥

There are some breaking changes due too color interpolation that you'll need to address when updating.

@arnarthor cheers, :)


[Installation] Please tag the 2.1.0 code

Is there an existing issue for this?

[X] I have searched the existing issues

Have you followed all the steps in the FAQ?

[X] I have tried the steps in the FAQ.

Current Behavior
Documentation consistently refers to version 2.1.0, and prebuilt wheels for that version are provided. However, there's no corresponding git tag, so it's very hard to know what source code constitutes version 2.1.0. This is bad for reproducibility. Please consider tagging all versioned releases.
Error Line
$ git tag | grep v2.0.0 | wc -l
1
$ git tag | grep v2.1.0 | wc -l
0

Environment
N/A

Full Error Log
No response

Please use the main branch as v2.1.0

On 31 July 2024 17:18:31 CEST, Zhijian Liu @.***> wrote:

Please use the main branch as v2.1.0

Thanks for getting back to me.
I'm sorry, but I don't think I understand your suggestion. Any branch with multiple commits – such as obviously master/main, but also the v2.1.0 branch – is unsuitable as a representation of a versioned release.
Which commit on the suggested branch reflects version 2.1.0?


Add CSS class to created iframes

https://github.com/IdentityModel/oidc-client-js/issues/311#issuecomment-333916412

We're seeing this problem as well since 1.4.0.
Maybe adding height: 0; width: 0; border: 0; is a better fix? This makes the iframe take up zero space.

I can't set width and height due to CSP.

Actually, I was wrong -- it is working with CSP. I'll submit a fix as a beta to NPM today -- can you test it for me?

@brockallen I've hit this in Chrome today too. I'm happy to test the fix.

I just pushed 1.4.1-beta.1. Please have a look in FF and Chrome, please. Thanks!

@brockallen
:thumbsup:
I've tested this locally using 1.4.1-beta.1 and can confirm:

The iframe is no longer visible in Chrome 61
I can see requests for checksession in Firefox 55

Ok, good enough confirmation for me. I'll do a release. Thanks!

Without the border: 0 I mentioned, the iframe was still 4x4px, because an iframe has 2px borders by default. But I see that display: none was added again so I'll see if that makes a difference after updating to the latest version. Nice work!

Ok, let me know what you find.

It's all good because of the display:none :)


@ionic-native/file hangs when trying to save to application directory

Prior to using WKWebView, I was able to use the Cordova File plugin to write files, create directories, and check for files using the dataDirectory path of the File plugin. After I installed WKWebview, requests to writeFile began to hang. I don't receive a success or failure message, and I don't catch an exception, it just hangs.
Looking over other people's issues, it seems like WKWebView has an issue with file:// prefixes. The file plugin uses file:// for its dataDirectory constant. Using normalizeURL (a suggested fix) just prefixes my file path with localhost, which does not work on mobile devices.
What can I do to use the Cordova File plugin and save images to the application directory? Am I going about this incorrectly?

I'm seeing the same thing, as well as issues related to cdvfile://

Had the same issue even when long-pressing an image and tapping Save Image. Was fixed by adding NSPhotoLibraryAddUsageDescription to my config, as documented here https://github.com/apache/cordova-plugin-camera#ios-quirks.
It is now required since iOS 11.

+1 Thanks @Etienne, I had the same experience.
On Thu, 16 Nov 2017 at 14:13, Etienne Lemay<EMAIL_ADDRESS>wrote:

Had the same issue even when long-pressing an image and tapping Save
Image. Was fixed by adding NSPhotoLibraryAddUsageDescription to my
config, as documented here
https://github.com/apache/cordova-plugin-camera#ios-quirks.
It is now required since iOS 11
https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/30#issuecomment-345048614,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANBc441-o-FNG9tsDs-jD8KJzH8jb03Iks5s3JdSgaJpZM4QG6PS
.

I can't reproduce with latest version of the plugin, but if the problem persists, please, create a new issue and provide a sample app.


Feature/cplp 1313 app db audit

as in https://github.com/catenax-ng/product-portal-backend/pull/257 somehow the merge of main caused all changes from main to re-appear in the PR resulting in a whole bunch of conflicts I did restart on a new branch cherry-picking the existing commits recreating the migration.

corresponding devenv PR https://github.com/tractusx-team-portal-onboarding/devenv/pull/155


fix(envvars): Env Var issues and documentation fixes

Incorrect gitlab CI var for merge request ID, url env var not passed if arg is missing and reworked token handling as CI_JOB_TOKEN is currently not able to call the Gitlab API. See https://gitlab.com/gitlab-org/gitlab/-/issues/17511 for details. Recommend project/group access token as a work around

:tada: This PR is included in version 2.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


:0:[:0:]::[(]0
Originally posted by @Nameeman1 in https://github.com/ritwickdey/live-server-web-extension/issues/78#issuecomment-1012946587

Duplicate of #


Recommendations for server-side evaluation of untrusted Jsonnet?

Thanks so much for creating this library!
The Jsonnet website has a warning about server-side Jsonnet evaluation.
Is there a safe way to evaluate untrusted Jsonnet using jrsonnet on the server-side? For example, by limiting the max stack size, the size of the inputs, etc. Are there any other settings / considerations you would recommend for this setup?
In a similar vein, the jrsonnet CLI implementation spawns a separate thread to run the evaluator. I'm assuming one would want to do the same on the server side, but probably use a thread pool and ensure that panics in the various threads are not propagated to the API handling the requests. Would you agree with that approach?

Currently there is no way to prevent infinite loops/memory exhaustion/other, so it is not generally safe to use this library for handling arbitary user input
Best you can do now is to build jrsonnet as wasm, and limit memory for wasm virtual machine (There still be possible infinite loops, but i don't see way to cause them), or (better) spawn different process for jsonnet evaluation (Startup overhead is negilible, you shouldn't need process pool in most cases, i think)
As for jrsonnet CLI - separate thread is created with increased stack size, as by default it isn't sufficient for some benchmarks (I saw no jrsonnet library, which exceeds default thread stack size)
I may provide some more options if i knew your usecase, btw

Thanks for the suggestions!
My use case involves having a product-specific template library like grafonnet that generates and submits JSON objects to a REST API (technically it's not submitting them via HTTP but to the same handler that would handle the HTTP request). I need to be able to fill out a template based on the contents of a webhook.
For now, I think I'll go with spawning separate processes to evaluate the Jsonnet code and use cgroups/ulimit to limit the CPU and memory of the child process.


[Notion] Feature Req: Direct DB search

Extension – Notion
Author: @mathieudutour
The notion Raycast extension is great! It allows me to search selected databases across my Notion. This is incredible! However, I would love to have the possibility to have my search command and scope be direct towards a specific database inside of my notion.
Describe the feature and the current behavior/state.

Open Raycast
Type name of specific Notion Database
See Raycast command with: [DB Icon] Search [DB Name]
Same functionality as default notion extension but results are scoped to the specific notion database.

Who will benefit with this feature?
People who follow a second brain model inside of notion where they save things they often research new ideas with or have to recall themselves of something they have saved in a specific database. By being able to directly ask raycast to search in a specific database that mental connection becomes stronger.
Any Other info.
It would be great if the notion configured emoji that relates to the DB (if any) is used as an icon in Raycast!

Unfortunately it's not yet possible to create "dynamic" commands.
You can search in a specific database when you select it in the "Search Notion" command tho.
You could also fork the extension and hardcode the id with queryDatabase here: https://github.com/raycast/extensions/blob/main/extensions/notion/src/search-page.tsx#L20


impl Read/Write for &T

The traits require &mut self, but the underlying types only need &self. The standard library does this by implementing Read for &File and Write for &File, for example. It'd be nice to have this in mio as well!

Looks like this is done on master. Thanks.


Permutations of the sentences give different results

Thanks for open-sourcing this library.
By default, the sentences are concatenated together using jiwer.SentencesToListOfWords(). Therefore, different permutations of the (ground_truth, hypothesis) pairs give different results.
ground_truth = ["I", "am I good?"]
hypothesis = ["I am", "I good?"]
print(wer(ground_truth, hypothesis))
# prints 0.0

ground_truth = ["am I good?", "I"]
hypothesis = ["I good?", "I am"]
print(wer(ground_truth, hypothesis))
# prints 0.5

So it seems that this formulation is not suitable to compute WER on a test set of sentences. Am I missing something?

You're right - permutations of the input list do give different results due to the concatenation of all elements of the list into a single string over which the edit distance is computed.
I initially designed this library for evaluating meeting transcriptions. This has a baked-in assumption that multiple sentences are ordered, and share context.  I ran into the problem that the transcription of the meeting (as a list of sentences) and the hypothesis of a speech-to-text engine (as a list of sentences) did not overlap nicely, e.g the lists had different lengths. However, for this use-case, the implementation as-is is desired, as you would never permute the lists.
I agree that when you're evaluating, say librispeech, you would want invariance when permuting the (gt, hypothesis) tuples.
Do you have any suggestions for improving the current API?

Thanks for you reply. I understand the original purpose of the library, and that this library is not suitable for evaluating WER over a set of utterances like librispeech.
I am therefore surprised that several implementations (here, here, here, ...) use the wer function of this library for their evaluation.
It might be important to make it clear that the wer function of this library is not suitable for that purpose.
When evaluating on a set of utterances like librispeech, the edit distance should be computed independently for each utterance. In the case of a test set of short utterances, the performance difference is significant and unfair when comparing against approaches that use the correct implementation.
The following function computes the edit distance independently for each utterance:
def wer(
  truth: List[str],
  hypothesis: List[str],
  truth_transform: Union[tr.Compose, tr.AbstractTransform] = _default_transform,
  hypothesis_transform: Union[tr.Compose, tr.AbstractTransform] = _default_transform,
  **kwargs
) -> float:
  """
  Calculate word error rate (WER) between a set of ground-truth sentences and
  a set of hypothesis sentences.
  :return: WER as a floating point number
  """
  # raise an error if the number of ground-truth sentences and the number of
  # hypothesis sentences differ.
  if len(truth) != len(hypothesis):
    raise ValueError("the number of ground-truth sentences and the number "
                     "of hypothesis sentences differ")
  hits, substitutions, deletions, insertions = 0, 0, 0, 0
  for (truth_sample, hypothesis_sample) in zip(truth, hypothesis):
    m = compute_measures(
        truth_sample, hypothesis_sample, truth_transform, hypothesis_transform, **kwargs
    )
    hits += m["hits"]
    substitutions += m["substitutions"]
    deletions += m["deletions"]
    insertions += m["insertions"]

  error = substitutions + deletions + insertions
  total = substitutions + deletions + hits

  return error / total

This issue should be fixed from version 2.3.0 onwards.


As a user, I want my filter options on the search page to be grouped into collapsible tabs so that I can find relevant filters more quickly.

testing notes
designs
desktop
collapsed tab / expanded tab
mobile
collapsed accordions
this issue is about the tabs that appear on search pages; you can test it by going to the members search. note that there is currently only one tab that you can test with ("demographics"); the "books" tab should be greyed out and unclickable since we aren't adding any content to it until after the November release.
check the design links above to see what the demographics tab should look like when open & closed on desktop & tablet. try opening and closing the tab, scrolling the facets inside it, and clicking on things inside it. check that:

spacing and sizing looks right
on tablet, the size of the tabs changes slightly (they get taller).
on mobile, there should be no tab; just a heading that says "demographics". you can see this in the mobile design link.

dev notes
it looks like we would be implementing something pretty similar to this example from deque, where the tabs collapse into an accordion on mobile. however, on mobile there actually aren't any tabs at all - instead the fields themselves become accordions.

note also #288, which is for a show/hide toggle for all of the advanced fields on mobile only.

Mobile:

YES, there is no "tab" for demographics, just the "demographics" heading and under it the "Birth Year" option with dates fields and also a "Gender" option under that, where I can click through to "Female," "Male," and "Unknown"
Design on mobile looks exactly like it should in Zeplin, with the exception that in Zeplin I see there's an "Advanced Search" dropdown and I don't see that on current mobile. See screenshot:

Desktop:

YES, the collapsed tab looks like the Zeplin design: when closed, it fits in smoothly with the rest of that bar
YES, when I open the tab the three columns underneath look very clean: Birth Year and Gender on the far left, Nationality in the middle, and Blank (to be filled) on the left. I am able to scroll through the Nationality filter without moving or scrolling through the rest of the page; when I change the Birth Year the rest of the filters update accordingly
The spacing here looks natural and intuitive
Sizing of font looks good: clear, not too large, definitely not too small

Tablet:

YES, I see that the tabs for filtering (Membership Dates, Card, Demographics, Books* - which is greyed out) are all a little taller than on desktop, and "Membership Dates" instead of being on one line is broken into two (Membership/Dates)
YES, the closed tab looks good, as per the design
YES, when I open the demographics tab I see the filters for Birth Year, Gender (both on left column) and Nationality in middle column.
I can scroll down through the Nationality column without moving the rest of the page
Spacing and size looks really natural


ability to skip compilation before tests

Overview
I have a setup where both Solidity, and Cairo, contracts live together.
The goal is to be able to test either Solidity contracts, either Cairo contracts, or both at the same time to compare results.
The issue here, is that ape test first recompiles all contracts. That is problematic for 3 reasons:

If I run tests on Solidity contracts, Ape will compile Cairo contracts too (and there may compilation be errors that would block Solidity tests). Not talking about the overall compilation time.
The current behavior does not seem robust (no offense): the recompilation occurs even when files did not change, like every 3 runs, or so. It may be a separate problem, but my proposal could help for such situation.
Compilation checks of all files is done before each test case (meaning a test file with 3 test functions will trigger 3 compilation checks of all contracts). Time, and resource consuming?

Specification
I propose a simple, yet efficient, way of skipping the compilation: APE_NO_COMPILATION environment variable. If set to 1, then no compilation occurs. The name can be debated, of course.
Such change is backward compatible, and does not change the current default behavior.
Dependencies
None.

We could also add a flag --skip-compilation to pytest
ape test --skip-compilation or pytest --skip-compilation

Item 2 is concerning. I am not sure why that would happen (or even if still does).
--skip-compilation seems okay tho because then you can manage your own compilation via ape compile commands

this no longer happens. contracts get compiled upon first request now, in a lazy way, regardless of whether you are running tests or not


Flux uses wrong imagePullSecret

Our clusters are running on GKE under GCP project-x. Images are however published to GCP projects dedicated to the product (e.g. GCP project product-y).
We add a Docker secret for this GCP project to every product's namespace and use this to pull from the GCR dedicated to this product with a imagePullSecrets set on the workload.
Now what Flux tries to do is to pull an image from product-y with the credentials from product-z.
Say we have a product subscription and a product publish Flux logs the following:
ts=2018-10-30T11:10:19.340162325Z caller=warming.go:192 component=warmer canonical_name=eu.gcr.io/subscription/image auth="{map[eu.gcr.io:<registry creds for<EMAIL_ADDRESS>from publish:secret/gcrsecret>]}" err="requesting tags: denied: Failed to read tags for host 'eu.gcr.io', repository '/v2/subscription/image/tags/list'

After some thinkering with @squaremo we came to the conclusion that credential merge happens on registry (e.g. eu.gcr.io), which is the same for both secrets although they differ (they have a unique project_id).
I think the solution would be for Flux to adhere to the same rules as Kubernetes and only use imagePullSecrets from the same namespace as the workload.

I think the solution would be for Flux to adhere to the same rules as Kubernetes and only use imagePullSecrets from the same namespace as the workload.

Fluxd does only look at secrets in the same namespace as the workload (because those are the only secrets that are relevant to a workload). But the code in question is compiling credentials for images, not for workloads.
This is more or less the algorithm:
for each workload:
  merge all the secrets associated with it, as Kubernetes would do
  enter the merged credentials against each image used by the workload

Two things you may notice:

it's possible that the credentials for a given image will be replaced, by those from another workload; but,
each image will end up with credentials from a workload that uses that image

In other words, assuming that all the workloads run correctly, every image should have valid credentials.
Since we have documentary evidence of that not being the case, we have to reject one of the assumptions. Either

the code doesn't work as described
the code does work like that, but my conclusion is wrong
the workloads in the cluster aren't configured correctly

My money is on 1. (though it might take a bit of test case construction and debugging to figure out how it's wrong).

I do not think option 3 is possible because with an incorrect configuration Kubernetes would not be able to pull the images either and each namespace only has one kubernetes.io/dockerconfigjson secret (for now).
Do you have a link to the described algorithm so I can take a look at it? I am also betting on 1.

Do you have a link to the described algorithm so I can take a look at it?

It's in cluster/kubernetes/images.go

After reading the description of your algorithm again and skimming trough images.go I think that I figured out the problem.
for each workload:
  merge all the secrets associated with it, as Kubernetes would do
  >> enter the merged credentials against each image used by the workload

The issue is in the last sentence. When two Pods with different imagePullSecrets share a sidecar with the same image from e.g. Docker Hub the pull secret from this Pod is stored against the imageID [1].
Later in the process (warmer.go) these credentials end up getting loaded in to the client. Because they share the same registry domain (eu.gcr.io) the client attempts to retrieve the image tags with the wrong credentials (I think).

You can validate my theory by following the next steps:

create two namespaces with different Docker credentials
create two deployments that both retrieve different images that can only be pulled with the credentials from the namespace
watch the logs for errors (there are none)
modify the deployments and add a sidecar with an image from Docker Hub
watch the logs (errors will surface)

I think the scenario you're describing is this:

You have two sets of credentials for say, DockerHub, credsA and credsB
You have three images with different access. imageA can be read only be credsA; imageB can be read only by credsB; imageC can be read by both.
You set up two deployments, one using imageA and imageC and referring to credsA, and one using imageB and imageC and referring to credsB.

At this point, you see errors in the log, as fluxd tries to scan (say) imageA using credsB.
According to the algorithm, this is what should happen:
# for each workload:
#  merge all the secrets associated with it, as Kubernetes would do
#  enter the merged credentials against each image used by the workload
imageCreds = {}
workload = deploymentAC
mergedCreds = credsA
imageCreds[imageA] = credsA
imageCreds[imageC] = credsA

workload = deploymentBC
mergedCreds = credsB
imageCreds[imageB] = credsB
imageCreds[imageC] = credsB

When scanning imageA, it can only use credsA; and when scanning imageB, it can only use credsB; when scanning imageC, it can use credsA or credsB, depending on the order it looked at the workloads, but either is fine.
My conclusion is that the code doesn't implement the algorithm as given. Or I've misinterpreted your description of the test case.


ci: in actions, each step should do one thing.

ref discussion in https://github.com/equinor/dm-core-packages/pull/388#pullrequestreview-1560836063
running reset script should be a separate step in the github action workflow

optimally, one bash command per step


Simple github release workflow for CI

Saw that #31 was removed so thought I would offer up my own take on the PR.
I've kept the build process as simple as possible, and left some comments so you can know what each step does. I'm creating a separate job for each platform (windows, mac, linux, you can add more e.g. different windows versions or linux distros) and verifying that the CMake build step completes without errors.
Let me know if you have any questions, and happy to make any changes!

Thanks! I'll merge this in and try it out, it looks good!

It seems like the initial action failed, with this error:
actions/checkout@master is not allowed to be used in NoelFB/blah. Actions in this workflow must be: within a repository owned by NoelFB.
I'm not sure if this is something that will just work now that it's merged in. I don't totally understand the action system so need to spend some time reading up on it.

@NoelFB weird, worked in my forked branch. Based on the error message, it's likely related to Action's permissions for this repo specifically?
Here's how it looks on my fork:

@NoelFB Managed to reproduce the error you've having by messing with my Actions permissions.  I changed to this setting:

And sure enough, got the same error...

Ah awesome, thanks! Should be working now, I wasn't aware of the action permissions!

Trying to learn how to use workflow stuff myself. How does this work on Linux? I'm trying with some of my own code, and it's failing on Ubuntu since OpenGL wasn't installed. Doesn't Blah also link against SDL2/OpenGL on Linux?

I ended having to add a few lines to the workflow file for Linux https://github.com/RandyGaul/cute_framework/actions/runs/4350093933/workflow

      - name: Install OpenGL
        run: |
          sudo apt-get update -qq
          sudo apt-get install gcc-multilib
          sudo apt-get install -y --no-install-recommends libglfw3 libglfw3-dev libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libxext-dev libxfixes-dev
        if: matrix.platform.name == 'Linux'

@RandyGaul glad to see you got it working for cute framework!

@benjitrosch Any insight on how it's working here without installing OpenGL?

@RandyGaul Took a look, and seems the line responsible for that in your CMakeLists.txt is:
find_package(OpenGL REQUIRED)

Removing this would allow that step to succeed, but it would then fail when it reaches the line:
#include <GL/gl.h>

in sokol_gfx.h (https://github.com/floooh/sokol/blob/956a0d8c996a611979a706a233a0c38e1ea9ae92/sokol_gfx.h#L3323).

@benjitrosch Gotchaaa, that's super helpful! Thanks so much for helping out. CMake related things are pretty difficult for me to learn, so this is super appreciated!

@RandyGaul happy to help! It confuses me too most of the time 😄

Yeah I opted to go the route of using SDL_GL_GetProcAddress.... bit more setup code but then it makes portability a bit easier because it doesn't rely on external libraries...


Build a final build of cert-manager utility

Build the final build of cert manager utility and push it with tag which can act as default tag for the value.yaml.
This way  helm installation should not fail with default value.yaml file.

Is this done?

Yes, it is automatically done by our CI when we merged the cert-manager-feature-branch with the master.
This is the build job run, you can check here


Identify and fix routing issues

ISSUES:
routing for issues currently requires a component id first, which makes no sense as issues may be assigned to multiple locations
TK

Issue routing has been fixed, and so far no others have been discovered.


[TRI-1243] Airtable webhooks

This requires these changes first:
1. Upgrade Graphile worker to 0.14.0 (https://github.com/triggerdotdev/trigger.dev/issues/396))
2. Add batch event support (https://github.com/triggerdotdev/trigger.dev/issues/348))
From SyncLinear.com | TRI-1243

@nicktrn this one is for you now

Any ETA on this?

Any ETA on this?

Could be next week if all goes well! PR for batched events and Airtable will be in later today, but #524 will have to me merged first. There are still some things to test and finalize re DB migrations.
@patrykmaron On another note, do you have a use-case example for this? How do you intend to process the payloads?
From my own testing they are very unpleasant to work with - even with batching enabled.  (We discussed the concept of pluggable "payload transformers", maybe that could help here.)
Would greatly value your feedback!

@nicktrn They are unpleasant, I was wondering if trigger.dev was going to come up with some solution for the payloads 😂
Our use case, is that we need to sync an table from AirTable with our MySQL db. (business requirement). But just playing around with webhooks from Airtable the experience been horrible, I need to figure out how to process the payload. Was going to use hookdeck to manage webhooks from Airtable but it's just pings, instead of data delivery.
Currently I see that the payload response just grows? And you meant to paginate through it? Now I have to also hold the timestamp for the last processed payload it seems.
Honestly I think it's simpler to cron job an CSV download of the table from AirTable and process that data into SQL at this point...

The good news is that the integration already takes care of fetching the actual payloads for you!
https://github.com/triggerdotdev/trigger.dev/blob/c8aaea8ad0e484e7845d52ee8d1eced5818ea642/integrations/airtable/src/webhooks.ts#L389-L390
The payloads will then be delivered in batches, i.e. as an array of payloads. How we batch will be based on time intervals and/or maximum batch size (TBD).
You could upsert the latest baseTransactionNumber to keep track of things on your end.
I personally would stay away from those webhooks unless you really need to sync changes immediately.
Did you consider using the getRecords() task on a schedule of say once a day? Maybe you could just store daily snapshots in the DB. Or do a diff and update the previous records. (Sorry, no helpers for that!)

I personally would stay away from those webhooks unless you really need to sync changes immediately.

This is the conclusion I have arrived at!
I will be doing an cron job and check which records have been modified using their last_modified field. Perhaps at an 15min or less interval. Maybe once a day like you said.
Weird implementation by the AirTable team, it's not an standard implementation am I correct?

Weird implementation by the AirTable team, it's not an standard implementation am I correct?

No, not at all. That's not how webhooks should work.
Feel free to open an issue if you run into any trouble with those scheduled tasks. Best of luck :pray:


No default value for "socialLogins" when not using librechat.yaml file

What happened?
After https://github.com/danny-avila/LibreChat/commit/a2c35e841589f6cede194795202cb6559e85fa7a if you don't supply a value for socialLogins via librechat.yaml, then you get an error that socialLogins is undefined.
Providing a valid librechat.yaml and adding a socialLogins array allows the app to start successfully.
I believe a default value needs to be added if librechat.yaml is not present.
Steps to Reproduce
Pull latest from main and attempt to start LibreChat without a librechat.yaml file
What browsers are you seeing the problem on?
No response
Relevant log output
2024-02-05 14:31:05 info: Connected to MongoDB
2024-02-05 14:31:07 error: There was an uncaught error: Cannot read properties of undefined (reading 'socialLogins')

Screenshots
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Im trying to configure this in Unraid I set all my social params to true but get this error.

<EMAIL_ADDRESS>backend
cross-env NODE_ENV=production node api/server/index.js
2024-02-05 06:23:52 info: [Optional] Redis not initialized. Note: Redis support is experimental.
2024-02-05 06:23:53 info: Connected to MongoDB
2024-02-05 06:23:53 error: There was an uncaught error: Cannot read properties of undefined (reading 'socialLogins')`

I'm getting the same error.
I've setup the librechat.yml with the socialLogins
registration:
  socialLogins: ["github", "google", "discord", "openid", "facebook"]

The docker exits with the following error.
chat-mongodb      | {"t":{"$date":"2024-02-05T15:07:17.155+00:00"},"s":"I",  "c":"NETWORK",  "id":6788700, "ctx":"conn120","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":3}}
chat-meilisearch  | [2024-02-05T15:07:17Z INFO  actix_web::middleware::logger] <IP_ADDRESS> "GET /indexes/convos/stats HTTP/1.1" 200 65 "-" "node" 0.000319
LibreChat         | 2024-02-05 15:07:17 error: There was an uncaught error: Cannot read properties of undefined (reading 'socialLogins')

i have social logins and social registration variables explicitly set to false, and still get this error after updating container. (unraid)

Interesting, there is a default value: https://github.com/danny-avila/LibreChat/blob/a2c35e841589f6cede194795202cb6559e85fa7a/api/server/services/AppService.js#L15
I'm looking into this.


chore: allow hare4

Motivation
Allows hare4 to be enabled and improves the metrics registration.
Description
...
Test Plan

tests passing

TODO

[ ] Explain motivation or link existing issue(s)
[ ] Test changes and document test plan
[ ] Update documentation as needed
[ ] Update changelog as needed

bors merge


Q about image used in your paper

@JiamingSuen
Thanks for your awesome work!
Is the lunar imagery used in your research paper sourced from a specific dataset, or obtained through other means.
Thx~

Hi, the sequence of the moon in the demo is taken from YouTube video, and preprocessed by extracting relevant frames and cropping out the moon car manually.


[DOCFIX]Update the docs/en/Configuring-Alluxio-with-Swift.md of the chinese version

update docs/en/Configuring-Alluxio-with-Swift.md of the chinese by the change in https://alluxio.atlassian.net/browse/ALLUXIO-3028

Merged build finished. Test PASSed.


[WIP] Database changes for v005

This PR contains a partial migration. As such, it will put your database into a half-state. Only checkout this PR if your local branch is running on a database you don't care about (or have a copy of).
If you are on this branch, and switch back to master, your database will be too far ahead, and will cause the following error:
ERROR: Your database is not compatible with this version of Ghost
 You will need to create a new database

When this happens, you have 2 options:

delete the database
run FORCE_MIGRATION=true npm start to try to force the db back into a safe state (if you're on a production blog, read this)

Also, if changes are made to this PR and you've already run an earlier version of the 005 migration, you won't get the latest changes. In this case FORCE_MIGRATION=true npm start will cause the migrations to be re-run which should get your database into the right state.
refs #6301, #6165, #6255

Adds a new mobiledoc field to posts for the new editor spike
Adds a new is_private field to posts, so we can look at making only specific posts private
Changes tags.hidden to tags.hashtag. Atm that makes a new field - the migration tools need updating

This has been rebased against the reorganisation branch, but is still a WIP (see https://github.com/TryGhost/Ghost/issues/6301#issuecomment-181047638).
Whilst revisiting this, I figured it would make sense to make the new mobiledoc field longer inline with https://github.com/TryGhost/Ghost/issues/4134.
It's currently set to "long", which in MySQL has a max length of 4,294,967,295/4GB (see http://stackoverflow.com/questions/13932750/tinytext-text-mediumtext-and-longtext-maximum-storage-sizes). However the maximum field length in postgres is 1GB (see https://wiki.postgresql.org/wiki/FAQ#What_is_the_maximum_size_for_a_row.2C_a_table.2C_and_a_database.3F) and the default max length for a field in SQLite3 is also 1GB (see https://www.sqlite.org/limits.html#max_length).
Therefore, the maxlength property (which is used for validations) has been set to<PHONE_NUMBER>, which I believe will ensure we're catering for the minimum value across the 3 databases.
Wondering if it's worth doing this now, or whether it should match the html field to start with and get increased with the others. My thinking is, the format contains more syntax, so it probably will need more space than the HTML version.

Closing in favour of #6628
I'll rewrite each of the migrations in the new style and pull them across one-by-one.


Delay feature 'available' in distributed software

Hello.
I received he 3 key 1 knob keyboard today. From the software i got from the seller it appears to exist a delay option. However the ui doesn't allow you to set delay and then switch to the key tab and set the delayed key.
I was wondering if somebody could decompile and see if a delay command really exists.

#27 One of the closed questions mentions that the feature isn't available in the software yet. Not sure on the timeline or possibility.

That issue ended with

If you find any software which can do it, I'll copy it. Otherwise let's think it's impossible.
I found that the software that the seller provided me (which is different version than the one with dark baground) has a section with the delay feature. That's why i opened this issue and provided the capture. Maybe @kriomant is able to extract the information from the software

Do you have the source for their software? If it's just an exe it would be pretty daunting to decompile and analyze what it uses to action the delay. Also the majority of them are written in C not rust like this repo is. If you could upload that software to a repo that would help as well.

Seller just provided this link to download it
https://drive.google.com/drive/folders/1xqFDp-l5TVA_6Ojsn0rt7GqvF5EvWDCi?USP=share_link
No code or anything

That was the wrong software selection as it did not have the delay feature. If you are using the closed source software you just choose the delay period and program. Close the software and reset the macropad. It will now function with the new delay setting for all keys. I'm going to sniff the usb port in the next week and get the programming details. I'm also on the lookout for the datasheet too. It's likely a single structure.

the delay is set in bytes 5 and 6 of the interrupt message that is sent to the device. however, i have noticed some of the messages are different for my board vs what is currently set in the code. i have 0x1189 0x8840 vid/pid one. note, the maximum delay is currently 6000 msec.
@kriomant as mentioned in a different issue comment, might be easier for me to push my code and let you pick/choose and test with your device as i had to make fundamental changes to things (ie. message sizes, msg codes, etc). spend a lot of time to figure out what works for my unit which might break yours (guessing not, but you never know). i also added the reading of configuration, but changed things from yml to ron format and went away from nom as i wanted a way to serialize to ron so it would  write the config.


Homework5: Alexey Kozhan

Updated folder .github with additional Stml89 files.
Homework5 is done in file main.py

There are no github actions run for this PR =( Please, check what is going on

Nothing works on. Tried to activate Actions as it described at https://docs.github.com/ru/actions/quickstart#viewing-your-workflow-results by creating .yml file.