Why is OCAT not currently linked to a particular version of OC? What is happening here? Which version of OC is the OCAT I downloaded for?

This is because the new version of OCAT can intelligently apply to almost all versions of OC, including future versions of OC, you just need to select the OC version you like in the "Upgrade OC and Kexts UI".
In other words, OCAT does not target a specific OC version, it is "All in One", you can use OC 0.6.5 or 0.7.2 or the latest OC development version, etc.

The current OCAT has said goodbye to the very unscientific implementation of the past that was tied to a specific OC version.


Remove "link for this course" message

Context
This message incorrectly shows for all saved changes, not just publishing.
This means it shows when editing an unpublished draft, or when editing a course in the new cycle, which is confusing.
As a quick fix, remove the message.
Before

After

KILL ITTT!!


Add a Next.js example

Add an example of how you can support Next.js projects with the plugin and a custom pattern.
This pattern should accept kebab-case naming, as well as square brackets around the names, i.e. [locale], [...auth], etc. should work as well.

@DukeLuo I just realized that this pattern does not support catch-all routes, i.e. [...auth]. Do you think it would be possible to incorporate that, too?

@milos-sikic-nimbus-tech There are three types of dynamic routes:

Dynamic segments: [slugName]
Catch-all segments: [...auth]
Optional catch-all segments: [[...auth]]

And two naming styles:

KEBAB_CASE
CAMEL_CASE

The glob expressions to achieve this will like this, they look so complicated:
const CAMEL_CASE = '+([a-z])*([a-z0-9])*([A-Z]*([a-z0-9]))';
const KEBAB_CASE = '+([a-z])*([a-z0-9])*(-+([a-z0-9]))';

// these two glob expression are not tested
const NEXTJS_DYNAMIC_ROUTES_WITH_KEBAB_CASE = `@(${KEBAB_CASE}|\\[${KEBAB_CASE}\\]|\\[\\.\\.\\.${KEBAB_CASE}\\]|\\[\\[\\.\\.\\.${KEBAB_CASE}\\]\\])`;
const NEXTJS_DYNAMIC_ROUTES_WITH_CAMEL_CASE = `@(${CAMEL_CASE}|\\[${CAMEL_CASE}\\]|\\[\\.\\.\\.${CAMEL_CASE}\\]|\\[\\[\\.\\.\\.${CAMEL_CASE}\\]\\])`;

I think it will be better if they can be supported by a builtin. I'm not familiar with next.js Dynamic Routes, would you like to help me test these glob expressions?

Hey @DukeLuo, of course! I'll try these out all let you know how they work. Currently a bit swamped by work, but I'll get back to you until the end of the week.
Sorry for the delay!

@milos-sikic-nimbus-tech Thank you for taking the time to provide such a detailed reply. I finally had a chance to read through your response, and I must say, I learned a lot about Next.js routes from it. I really appreciate your insights.
As you mentioned, there are two options for implementing this support:

Creating a built-in glob pattern that can handle all the cases, allowing users to simply use it like { 'src/**/': 'NEXTJS_ROUTE_CASE' }.
Including a section in the documentation that provides specific glob patterns for users to copy and set.

Personally, I lean towards the first option, despite its potential complexity for developers. I will make an effort to create the glob pattern to match the test cases you provided. If I make any progress or have any updates, I will definitely keep you informed. Once again, thank you for your valuable input.

Thank you for spending your time on this, @DukeLuo! It's much appreciated.

@milos-sikic-nimbus-tech, I wanted to let you know that I have added a commit (https://github.com/DukeLuo/eslint-plugin-check-file/commit/d314a192445523f228335cb5622ccfafab1eec44) to incorporate the NEXTJS_ROUTE_CASE support for the "folder-naming-convention" rule. It successfully passes all the cases you provided, except for the "/src/app/somePage.ts" scenario. However, I believe this can be achieved with the assistance of the "filename-naming-convention" rule. Please take a look at the code and feel free to review and make any improvements.
Additionally, I have a couple of questions regarding Next.js routes:

Are numbers allowed in Next.js project routes? For example, can we have a path like "src/app/users10/[userId]/page.ts"?
Is "NEXTJS_ROUTE_CASE" a suitable name for this type of convention? Is there a more appropriate name?

Hey @DukeLuo,

Yeah /src/app/somePage.ts will be picked up by the filename pattern. :)
Yes, numbers are allowed. I just tried /src/app/2-example/page.ts and /src/app/example2/page.ts and they both worked. Basically, whatever can realistically go into a URL can go here, but I think kebab case is the most natural style for URLs.
I think NEXT_JS_APP_ROUTER_CASE would be more fitting, as Next also supports the Page router, which has a different set of rules than the ones for the App router.

Hey @DukeLuo,
1. Yeah `/src/app/somePage.ts` will be picked up by the filename pattern. :)

2. Yes, numbers are allowed. I just tried `/src/app/2-example/page.ts` and `/src/app/example2/page.ts` and they both worked. Basically, whatever can realistically go into a URL can go here, but I think kebab case is the most natural style for URLs (I think numbers should be supported, though).

3. I think `NEXT_JS_APP_ROUTER_CASE` would be more fitting, as Next also supports the Page router, which has a different set of rules than the ones than the App router.

I got these, I will update it :)

@milos-sikic-nimbus-tech I have updated my commit, and update the document of the rule folder-naming-convention. I would greatly appreciate it if you could assist me in adding some Next.js context and examples to the documentation. Please feel free to rebase the main branch and make any improvements. Thank you in advance!

Hey @DukeLuo, sorry for the late reply! Will do, as soon as I get some time on my hands. I'll try to do it by Thursday.

Hey @DukeLuo, sorry for the late reply! Will do, as soon as I get some time on my hands. I'll try to do it by Thursday.

It's okay, no need to rush. Thank you very much for your help.

Hi @DukeLuo, I am so sorry for the delay, I made it a priority to address this today so I managed to push a new commit. Please review and let me know if you'd like me to change anything. :)

@milos-sikic-nimbus-tech, I want to express my appreciation for incorporating the additional context and examples into the documentation. I have also made some changes to the documentation regarding the NEXT_JS_APP_ROUTER_CASE naming convention. In order to avoid content overlap, would you be able to rebase the main branch and merge our respective changes? Please feel free to make any necessary improvements during this process.
Since the new builtin pattern NEXT_JS_APP_ROUTER_CASE is specifically designed for the rule folder-naming-convention, it may not be necessary to mention it in the main README.

@DukeLuo Of course, I'll rebase right away!

Hey @DukeLuo, please check again and let me know what you think. :)

@milos-sikic-nimbus-tech Cool. Thanks for you help!

Thank you, @DukeLuo! You did most of the work. :)
Again, sorry for the delay and thanks for all the invaluable help!

@DukeLuo Wait, I just noticed an extra newline. I'll fix it ASAP

@DukeLuo Pushed, it's good to go now, unless you want something changed.

you can use this configuration :
{
"extends": "next/core-web-vitals",
"plugins": [
"folders",
"filenames"
],
"rules": {
"filenames/match-regex": [2, "^(_)?[a-z-]+$"],   // kebap-case with optional _ prefix for next.js main files like _app.js
"folders/match-regex": [2, "^(\u005B)?[a-z-]+(\u005D)?$", "/front_end/"],  // kebap-case with optional [ ] brackets
}
}


auto-detect actual type typify results

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
@arnej27959 please review

I had has_type_member first, but realized that we want to have a 'type' member that is a type. Then it was has_type_type_member. 'Has' implies a member or similar relation and has_type_type felt unique enough. These are my random reasons. I am open to changing the name.


Use GPU for parallel computing

https://github.com/turbo/js

Looks really interesting. I see a problem that it requires float32 and I don't know if we could cheat to put RGBA in those 32 bits but probably not so I wonder how big can be the array and if we will be able to deal with 20 millions pixels images.
On the other hand convolutionFFT could maybe be transferred there and this is clearly a limiting step of the code.


Unable to rm a directory in a container

root@host:/# docker run -i -t app/name bash
root@2ebaa716082f:/# rm -rf /app
root@2ebaa716082f:/# echo $?
0
root@2ebaa716082f:/# ls /app
Gemfile  Gemfile.lock  Procfile  README.rdoc  Rakefile  app  bin  chunk.html  config  config.ru  convert.sh  db  lib  log  public  test  tmp  vendor

The /app folder is owned by the image, it has not been added during the container life.
What could lead to such behavior ? I can't see any error in logs. Any idea ?

@Soulou It seems you closed this bug but did not really say why. Is the bug fix, "switch to devicemapper"?

Docker 1.8.2, and am getting this same issue.
I can rm -r a directory I create from within the container, but existing ones from the Dockerfile. I can rm files within these directories.

@ashgillman please open a new issue and provide more detailed information about your system, and if possible the exact steps to reproduce. This issue is 2,5 years old, so chances are your issue is not related (or different) than this issue

Docker 1.13.1, this issue still existing
when I rm -rf a directory, it say nothing, but the dir is not deleted, this directory is created in the dockerfile
and i use base images from ubuntu:16.04

here is an example of dockerfile:
FROM ubuntu:16.04 RUN mkdir -p /home/dog/base/gaga
if you run this image, exec the container, you can only delete the gaga dir, but you can't delete base and dog dir
my docker ver is : 1.13.1
ubuntu:16.04 is the offical image

@uestcsp please open a new issue with details about your setup (as requested in the issue template). See my earlier comment - this issue is now 4 years old, so any issue you see now may be not related.
I'll lock the discussion on this issue because of the above.


[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add warning on gradle bug

Added info on the wiki page about a potential bug in Gradle/Buildship

Thanks!


Kage: uniform variable assignment

Ebitengine Version
v2.5.0-alpha.13
Operating System

[ ] Windows
[ ] macOS
[X] Linux
[ ] FreeBSD
[ ] OpenBSD
[ ] Android
[ ] iOS
[ ] Nintendo Switch
[ ] Xbox
[ ] Web Browsers

Go Version (go version)
go version go1.20.1 linux/amd64
What steps will reproduce the problem?
package main

func Fragment(position vec4, texCoord vec2, color vec4) vec4 {
    texCoord += 1 // OK
    return vec4(1)
}

package main

func Fragment(position vec4, texCoord vec2, color vec4) vec4 {
    texCoord = 1 // Error
    return vec4(1)
}

Error:
Compile shader<line>:<col>: a uniform variable cannot be assigned
What is the expected result?
Consistent behavior for uniform variables assignment
What happens instead?
One ok, one error
Anything else you feel useful to add?
No response

Good catch!

While this is an issue, this is not urgent. Let me change the milestone.

Fixed


missing poky-glibc-i686-vantage-image-armv7ahf-vfp-neon-toolchain-qte-1.8.1.sh file for cross_compiling

can't find poky-glibc-i686-vantage-image-armv7ahf-vfp-neon-toolchain-qte-1.8.1.sh for cross_compiling, how can I get it?

Hi @ccqedq, could you give us more details about what you are trying to do? Which version of ifm3d, are you creating a docker container, what is the destination architecture + OS you are compiling for, what is the error message you are seeing, etc. Thanks.

I want to compile code for arm architecture using x86 LINUX system, and found some tutorial in ifm3d/doc/cross_compiling.md，which using poky-glibc-i686-vantage-image-armv7ahf-vfp-neon-toolchain-qte-1.8.1.sh to perform some operation. but I can't find it in the project.

I use ifm3d 1.4.3 and compile the code by source instead of docker

What platform you want to run ifm3d on? Maybe that specific Toolchain is not the one you are looking for?


Black box test for cli app

This is how cli app could be tested. Here is an example output. It's just an idea, if you like it - we can discuss )))
$ tomty --all --verbose
[simple-plot] .......
16:33:18 07/12/2022 [repository] :: index updated from http://sparrowhub.io/repo/api/v1/index
16:33:18 07/12/2022 [.tomty/tasks/simple-plot] :: stderr: ++ set -e
++ text-list-plot -w=5 -h=5 1 2
16:33:19 07/12/2022 [.tomty/tasks/simple-plot] :: +++++
16:33:19 07/12/2022 [.tomty/tasks/simple-plot] :: +  *+  2.00  1.80  2.20
16:33:19 07/12/2022 [.tomty/tasks/simple-plot] :: +   +  1.40  1.60
16:33:19 07/12/2022 [.tomty/tasks/simple-plot] :: +*  +  1.20  1.00  0.80
16:33:19 07/12/2022 [.tomty/tasks/simple-plot] :: +++++
16:33:19 07/12/2022 [.tomty/tasks/simple-plot] ::  0.2000
16:33:19 07/12/2022 [.tomty/tasks/simple-plot] ::
[task check] stdout match (s) <+++++> True
[task check] stdout match (s) <+  *+> True
[task check] stdout match (s) <+   +> True
[task check] stdout match (s) <+*  +> True
[task check] stdout match (s) <+++++> True
=========================================
(=: / [1] tests in 2 sec / (1) tests passed

Thank you! I am going to experiment a little with this... And yes, let us discuss.

I am thinking about integrating SparkyCI with Tomty , so that those tests triggered after installation


Builds are cancelled

Hi,
we have an issue with the build agent version 2.211.1.
Each build is cancelled if a new build is started. We have one pool, one agent, many repositories and many branches.
If there is a build running and we start another build for another repository with another pipeline, the previous build is cancelled by the same agent.
What can we do?
##[error]The operation was canceled.

Fixed with https://github.com/microsoft/azure-pipelines-agent/issues/3779


security suggestion: implement proper headers

it is generally recommended for web-apps to add a set of headers to do things like HSTS and basic XSS proofing, which this app does not have. id like to propose adding flask-talisman by google cloud platform to the application for proper security config out of the box.

I just realized you guys do already pull in flask cors, which yes does help with security by blocking cross origin, but it still does not secure against XSS etc

some implementation have been done in PR #16


Cast Error

Hello,
I've suddenly started getting _CastError (type '_InternalLinkedHashMap<dynamic, dynamic>' is not a subtype of type 'Map<String, dynamic>' in type cast) after coming back to my project after 2 months (and updating everything to the latest).
It's in the generated file user.graphql.dart, so I tried a flutter clean followed by a flutter packages pub run build_runner build --delete-conflicting-outputs, but it hasn't changed anything.
The issue is inside a fromJson method:
...
container: l$container == null
            ? null
            : Query$GatherShares$gatherShares$container.fromJson(
                (l$container as Map<String, dynamic>)),   // the exception raises here
...

I've looked up solutions/workarounds a bit, and I found this: https://github.com/google/json_serializable.dart/issues/351#issuecomment-431590383
But that would be useless as this is a generated file.
What do you think about this issue? Let me know if you need more details about it.
Flutter doctor:
[√] Flutter (Channel stable, 3.3.7, on Microsoft Windows [version 10.0.19044.2130], locale fr-FR)
[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.0)
[√] Android Studio (version 2021.1)
[√] VS Code (version 1.71.2)
[√] Connected device (4 available)
[√] HTTP Host Availability

• No issues found!

How are you using the code generator, I.e with witch client?

How are you using the code generator, I.e with witch client?

I use VS Code.

Graphql codegen doesn't work by itself. Which graphql client are you using.

https://pub.dev/packages/graphql_flutter

Which version of graphql_flutter are you using?

^5.0.1

Any updates on this?
I have the same error just with Null:
type 'Null' is not a subtype of type 'Map<String, dynamic>' in type cast
graphql_flutter: ^5.1.1-beta.3

^5.0.1

Try and update your client

Any updates on this?
I have the same error just with Null:
type 'Null' is not a subtype of type 'Map<String, dynamic>' in type cast
graphql_flutter: ^5.1.1-beta.3

This is not the same error. Null is not a subtype of map, so something in the expected data is wrong. Please create a new issue with your queries.


Upgrade from 1.22.0 to 1.22.1 fails during db migration with "Object not found inside the database"

Bug description
Upgrade from 1.22.0 to 1.22.1 fails during db migration with An error occurred during database migration: Object not found inside the database
Expected behavior
Upgrade from 1.22.0 to 1.22.1 succeeds
Portainer Logs
2020/09/25 08:34:16 An error occurred during database migration: Object not found inside the database
2020/09/25 08:34:16 Object not found inside the database

Steps to reproduce the issue:

Upgrade k8s deployment to use portainer image 1.22.1

Technical details:

Portainer version: 1.22.0 (Trying to upgrade to 1.22.1)
Docker version (AKS): 3.0.10+azure
Platform (windows/linux): linux
Command used to start Portainer (docker run -p 9000:9000 portainer/portainer):
Browser: N/A

Additional context
Tried first to upgrade to 1.24.1 with same result but different error invalid page type
The db file is located in an Azure Storage Account attached to the container as a fileshare volume

Sorry, are you using Portainer 1.22.x on Kube?
I assume just managing the underlying docker instance?
Is this a single node?

We actually only use portainer to manage a group of on-prem docker hosts (not k8s itself). We just chose to run portainer in k8s

And now, we are stuck as we cannot roll back to the working version 1.22.0 due to this:
2020/09/25 09:06:46 Templates already registered inside the database. Skipping template import.
panic: invalid page type: 18: 10

goroutine 1 [running]:
github.com/boltdb/bolt.(*Cursor).search(0xc0001f7a28, 0xc0001f7c18, 0x8, 0x20, 0x12)
 /tmp/go/src/github.com/boltdb/bolt/cursor.go:256 +0x371
github.com/boltdb/bolt.(*Cursor).seek(0xc0001f7a28, 0xc0001f7c18, 0x8, 0x20, 0x0, 0x0, 0x0, 0xc000305438, 0xc0001963c0, 0x1, ...)
 /tmp/go/src/github.com/boltdb/bolt/cursor.go:159 +0xa5
github.com/boltdb/bolt.(*Bucket).Get(0xc000075940, 0xc0001f7c18, 0x8, 0x20, 0xc000075940, 0x20, 0xc000305420)
 /tmp/go/src/github.com/boltdb/bolt/bucket.go:267 +0xcd
github.com/portainer/portainer/api/bolt/internal.GetObject.func1(0xc000305420, 0xfa2998, 0xc000305420)
 /tmp/go/src/github.com/portainer/portainer/api/bolt/internal/db.go:37 +0xaf
github.com/boltdb/bolt.(*DB).View(0xc0002f81e0, 0xc0001f7b80, 0x0, 0x0)
 /tmp/go/src/github.com/boltdb/bolt/db.go:629 +0x90
github.com/portainer/portainer/api/bolt/internal.GetObject(0xc0002f81e0, 0xf632fa, 0x8, 0xc0001f7c18, 0x8, 0x20, 0xd8dd80, 0xc00031a540, 0x20, 0x20)
 /tmp/go/src/github.com/portainer/portainer/api/bolt/internal/db.go:34 +0xcd
github.com/portainer/portainer/api/bolt/settings.(*Service).Settings(0xc000496398, 0xc000168720, 0x1098780, 0xc0001f7c98)
 /tmp/go/src/github.com/portainer/portainer/api/bolt/settings/settings.go:37 +0xa0
main.initSettings(0x1087120, 0xc000496398, 0xc00008b2b0, 0xc00000a1c0, 0x0)
 /home/vsts/work/1/s/api/cmd/portainer/main.go:256 +0x35
main.main()
 /home/vsts/work/1/s/api/cmd/portainer/main.go:577 +0x622

Hi @hulvei3 ,
I'm unable to reproduce that.
The step:

run portainer 1.22.0

$ docker run -d -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer:1.22.0

delete portainer and re-create using portainer 1.22.1 with the old volume

$ docker stop portainer
$ docker rm portainer
$ docker run -d -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer:1.22.1

here is my latest portainer log

Sorry for the delayed response..
I think there could be a difference of upgrade it in k8s. While upgrading the k8s deployment I had to manually delete the old pod to detach the volume and to allow the newly created pod to attach to it. During that timeframe, I'm not sure what happens if the several pods try to attach to the volume.
Nevertheless, I'm in the current state of the db being corrupted or in a bad state as described above. Do you have any insights to if I can recover from the state?

@hulvei3 we are investigating this issue but we might need more details to be able to reproduce the problem:

Are you using multiple users and/or teams in that instance?
Do you have multiple endpoints/endpoint groups defined in that instance?
Are you using the host jobs feature and do you have host jobs defined in that instance?

It seems that you can't recover from this state without having to manually edit the database (through some tool like boltbrowser) but we still need to isolate the potential problematic entity/object inside the database.

Are you using multiple users and/or teams in that instance?
Only one admin and one normal user
Do you have multiple endpoints/endpoint groups defined in that instance?
Yes, I think we had up to 7 endpoints (bare docker host VMs)
Are you using the host jobs feature and do you have host jobs defined in that instance?
No

I've tried to open our .db file with boltbrowser locally, with the same failure panic: invalid page type: 18: 10

@hulvei3 if you cannot even open the database with boltbrowser I would think that the database is corrupted then and unfortunately I don't think there is way to recover from this.
You'll probably need to re-deploy Portainer from a clean state (new database) and re-add your endpoints.

I also assumed so. I only added the issue to share what ever edgecase I might have caught here.
Thanks for looking into it. I will re-create.
(sendt fra iPhone)

Den 12. okt. 2020 kl. 23.05 skrev Anthony Lapenna<EMAIL_ADDRESS>
@hulvei3 if you cannot even open the database with boltbrowser I would think that the database is corrupted then and unfortunately I don't think there is way to recover from this.
You'll probably need to re-deploy Portainer from a clean state (new database) and re-add your endpoints.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


security: Document current security practises

Security is important to our customers. With this document I'd like to
provide openess to our customers before they roll-out or chose our
product.

Not sure how/where to link this page yet. But first let's get a review on the copy.


Collapse SignedKV and Entry into the same proto

Closes #770
This PR completes the simplification of the proto file.
The new Entry is both the leaf value in the Trillian Map and the mutation.
Entry no longer is a mess of multi-level protos.

Codecov Report

Merging #830 into master will increase coverage by 0.78%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #830      +/-   ##
==========================================
+ Coverage   45.56%   46.35%   +0.78%
==========================================
  Files          34       34
  Lines        2739     2727      -12
==========================================
+ Hits         1248     1264      +16
+ Misses       1302     1271      -31
- Partials      189      192       +3

Impacted Files
Coverage Δ

core/sequencer/sequencer.go
8.9% <0%> (ø)
:arrow_up:

core/keyserver/keyserver.go
0% <0%> (ø)
:arrow_up:

core/mutator/entry/mutator.go
79.41% <100%> (-1.15%)
:arrow_down:

core/mutator/entry/mutation.go
77.94% <100%> (+33.49%)
:arrow_up:

impl/sql/mutations/mutations.go
48.18% <100%> (ø)
:arrow_up:

core/keyserver/validate.go
42.55% <100%> (-1.2%)
:arrow_down:

core/client/kt/verify.go
52.63% <33.33%> (ø)
:arrow_up:

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 1b31721...f13fa71. Read the comment docs.


Android support

I noticed there's another library that's not as fully featured as this one - but it offers Android support through PopupMenu. Do you have any plans of doing something similar?

waiting for ur answer too

@dominicstop plz help

@fukemy I noticed there’s another new library that might be worth checking out (haven’t had time to try it though) with cross-platform support https://github.com/nandorojo/zeego

@robertherber zeego uses this library under the hood for ios

hi @Flam3rboy , i dont know why #zeego can use this library while it's expo support only.
About Android, while no solution for nice context menu, so I decided to create a reaction button beside message like Viber. But I still waiting for great solution in Android

@Flam3rboy I've started using zeego as well and it works great. Using it is probably the best solution: This library can focus on being an enabler for deeper iOS features while zeego can be the cross-platform abstraction layer.
I'll close this, zeego is the answer for cross-platform support.


ValueError: all the input array dimensions except

I tried to train binary classification for some images but it gave me following error.
Any suggestion how to resolve it.
Thanks
File "F:/01_pythonProjects/facerec/faceClassification.py", line 117, in
model.compute(X, y)
File "F:\01_pythonProjects\facerec\model.py", line 22, in compute
features = self.feature.compute(X,y)
File "F:\01_pythonProjects\facerec\feature.py", line 182, in compute
Xc = asColumnMatrix(X)
File "F:\01_pythonProjects\facerec\util.py", line 54, in asColumnMatrix
mat = np.append(mat, col.reshape(-1,1), axis=1) # same as hstack
File "F:\program_files\anaconda\lib\site-packages\numpy\lib\function_base.py", line 4575, in append
return concatenate((arr, values), axis=axis)
ValueError: all the input array dimensions except for the concatenation axis must match exactly

i am also facing this error, any update?

Some algorithms require the input data to have the same size, so before applying the algorithm the images need to be resized. In the script, there is a method, called read_images, which takes a path and a second parameter for the size.

Then it can be used like this:

Let me know, if it fixes the problems.


Add profiling to leapp and snactor

Picking up where #482 left off. For science, profit and fun.
LEAPP_CPROFILE=1 turns on the profiler and shows stats after a successful execution. Maybe an option would be better instead...

Can one of the admins verify this patch?

FYI https://github.com/benfred/py-spy


WIP: Fix Logux.undo and add draft of the test

We need to fix https://github.com/wilddima/logux_rails/issues/46 before finishing it
This issue was happened because of https://github.com/wilddima/logux_rails/issues/22

Pull Request Test Coverage Report for Build 211

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.216%

Totals

Change from base Build 205:
0.0%

Covered Lines:
506

Relevant Lines:
510

💛  - Coveralls

@wilddima it is ready to merge


chore: Add tanstack/start example and fix docs

This PR is mainly to add example for tanstack/start. The example works if it's started outside of the UT repo, but throws Uncaught TypeError: $RefreshSig$ is not a function if started from the repo. No idea why that is. I'm opening this draft pull request in case someone already encountered this issue and knows a quick fix. Otherwise, I'll revisit this in a few days.
There are also additional changes to docs for getting started in tanstack/start:

Changed absolute imports to relative. tanstack/start doesn't include vite-tsconfig-paths by default, so absolute imports do not work, even if paths are configured in tsconfig.json. More info here: TSS Docs: Path Aliases
Fixed the way css for UT components is included when not using tailwind.

Summary by CodeRabbit
Release Notes

New Features

Added a new example for using Tanstack/Start in the documentation.
Introduced a file upload interface with real-time feedback for video and image uploads.
Implemented a server-side rendering handler for enhanced performance.

Documentation

Updated README.md with a new example link.
Added .env.example for environment variable configuration guidance.

Configuration

Introduced package.json and tsconfig.json for project setup.
Added new configuration files for routing and API handling.

@coderabbitai review

Closing this PR. The scope to make this work keeps growing. I'll create separate PRs for the doc changes, update for solidstart example, and finally the tanstack/start example.


Switch to the docker-based infrastructure on Travis

This infrastructure boots faster than the legacy one, and the swiftmailer CI setup does not seem to need sudo

Thank you @stof.


Push notifications for Android

Problem
Currently when Convos is in the background on Android notifications don't appear which means the only way to know if you have notifications is to open Convos. As Convos can be installed as a PWA through Chrome or Firefox on Android, I think not having push notifications should be considered as missing an essential feature.
Solution
The best solution is to use the web push API[1][2] as it doesn't require setting up FCM (this is handled underneath by the browser[3][4], which itself uses FCM on Chrome or Autopush for Firefox and thus doesn't effect battery life), is an open standard and which creates native notifications on Android. This is currently how The Lounge has push notifications implemented[5].
Previous Issues
https://github.com/convos-chat/convos/issues/312, https://github.com/convos-chat/convos/issues/493.
[1] https://developer.mozilla.org/en-US/docs/Web/API/Push_API
[2] https://developers.google.com/web/fundamentals/push-notifications/how-push-works
[3] https://developers.google.com/web/fundamentals/push-notifications/faq#what_is_the_deal_with_gcm_fcm_web_push_and_chrome
[4] https://developers.google.com/web/updates/2016/07/web-push-interop-wins
[5] https://github.com/thelounge/thelounge/pull/1124

I changed the title, since this doesn’t work on iOS.

Thought I'd change the title back now, as it looks like Apple have finally implemented web push in iOS/iPadOS, it now being live in the 16.4 beta 1^1. Might be worth mentioning web push was also added to Safari on macOS mid last year^2.


add docs on what haybaler does - combining, filtering etc

I would put the information in the Readme and the dokuwiki, is that okay?

Sure . BTW I deleted and recreated dev in haybaler and wochenende to get rid of the commits different  without any code changes problem. You will  need to git pull


Master

Sorry, it was my bad. I used Github for windows and I did not know that created this mess.


Fix for OpenSSL 3.2+.

It seems BIO user data is no longer initialized to nullptr.

It seems BIO user data is no longer initialized to nullptr.

Yeah, and it's initialized to something else. This change probably cause a memory leak and  frees something that should not be freed by OpenSSL, if TFO is enabled.
https://github.com/openssl/openssl/blob/77d716d3be95317ade5a7b8dda0b4946522c5a34/crypto/bio/bss_sock.c#L94

[approve ci autest]

How about using BIO_set_ex_data?

How about using BIO_set_ex_data?

It looks like it's deprecated in OpenSSL 3:  https://www.openssl.org/docs/man3.2/man3/BIO_set_ex_data.html

Ones for BIO are not, right?

Ones for BIO are not, right?

Ah, I see now, it's replaced by CRYPTO_new/set_ex_data in 3.0+.  Maybe useable with some ninja #ifdefs.

What would be the issue if we simply use BIO_get_ex_data instead of BIO_get_data?

What would be the issue if we simply use BIO_get_ex_data instead of BIO_get_data regardless of the SSL library and its version.

Not supported in Boring:
wkaras /opt/boringssl
$ grep 'BIO_.*_ex' $(findsrc)
wkaras /opt/boringssl
$

[approve ci autest]

[approve ci osx]

[approve ci format]

[approve ci]

[approve ci autest]

Cherry-picked to v10.0.x


Makes sure there are no duplicate cache entries.

Fixes #721
The solution here is to, when adding a new layer, remove any prior layers with the same digest (essentially bumping layers to the top if re-added). This should work, for example, since applying layers A and B in order ABA should produce an identical filesystem as just BA.

@briandealwis, as far as I can tell in how we layer in jib, ABA == BA and I can't really think of a case where ABA != BA?

Each layer (ie. A, B) would have a set of changes for files (ie. x, y, z). Each of these changes can be either a create, update, or delete, which translates to a change operation to set the contents of a file. So each layer can be represented by a set of pairs (file, newContents) (eg. {(x, content1), (y, content2), (z, content3)}). These changes, applied in sequence, have independent histories for each file. Therefore, for each file in its layer history chain, each change essentially replaces any prior change (only the last change takes effect). Therefore, applying layers ABA should have the same effect as applying layers BA, as all changes in the second A replace the changes in the first A (since they have the same change sets).

ABA == BA and I can't really think of a case where ABA != BA?

I wonder if this is possible: for example, both A and B create a read-only file (no permission to write or modify it) in the same location, which once placed no one can overwrite it. That is, whoever writes the file first wins. If that's possible, ABA != BA.

@chanseokoh The file permissions for the files will not affect the overwrite. In the layered container filesystem at runtime, the order of the search for a file goes from the last layer backwards, so if prior layers with a file will not be reached if later layers have the same file.

@briandealwis Yep, the intention for this fix is to also have the same optimization applied to generated images as well.

Okay, this PR looks good to me.

Looks like this helped to fix the failing integration test for the simple project, but the empty project still fails (because the second build time is longer).


[BUG] /bin/sh: line 1: amazon-linux-extras: command not found

Hi,
[BUG]  2024-07-17 18:03:37,502 [ERROR] Command 000 (amazon-linux-extras install java-openjdk11 -y) failed 2024-07-17 18:03:37,502 [DEBUG] Command 000 output: /bin/sh: line 1: amazon-linux-extras: command not found

Thanks.

This seems like a side effect due to change from AL2 to AL2023:

Amazon Linux release 2023.5.20240708 (Amazon Linux)
NAME="Amazon Linux"
VERSION="2023"
ID="amzn"
ID_LIKE="fedora"
VERSION_ID="2023"
PLATFORM_ID="platform:al2023"
PRETTY_NAME="Amazon Linux 2023.5.20240708"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2023"
HOME_URL="https://aws.amazon.com/linux/amazon-linux-2023/"
DOCUMENTATION_URL="https://docs.aws.amazon.com/linux/"
SUPPORT_URL="https://aws.amazon.com/premiumsupport/"
BUG_REPORT_URL="https://github.com/amazonlinux/amazon-linux-2023"
VENDOR_NAME="AWS"
VENDOR_URL="https://aws.amazon.com/"
SUPPORT_END="2028-03-15"
Amazon Linux release 2023.5.20240708 (Amazon Linux)

https://github.com/opensearch-project/opensearch-ci/commit/b2bd24106b56a3f922a7209aba4ba68fce4197da

We might need to think about moving from jdk 11 to 21 on main node as well.

See this:

https://aws.amazon.com/linux/amazon-linux-2023/faqs/

Can change to:

java-21-amazon-corretto


Adding the extract specific to Redshift data

This is my attempt at extracting metadata from Redshift and making it a JSON file then a CSV. WhereHows has no native adapter for this.

Coverage remained the same at 27.015% when pulling 64c67405dbcd019b997d6306f8a49ac4382dc453 on ezcater:aa-adding-redshift-metadata-pull into fbf66afe8f09beebf7f1cc302fdad54495346fab on linkedin:master.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1020   +/-   ##
=======================================
  Coverage   29.77%   29.77%
=======================================
  Files         174      174
  Lines        4634     4634
  Branches     1220     1220
=======================================
  Hits         1380     1380
  Misses       3254     3254

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 fbf66af...64c6740. Read the comment docs.


Add a readme

Add a readme. At least a basic one

Do it.

Closed with PR: #13

Closed with PR: #13


Add support for fresh initialization and hooks in Docker image

It would be nice to improve models pulling and custom model creation when starting with Ollama.
Fresh initialization
Some databases allows to copy .sh and .sql to execute instructions once it is ready. See mysql docs.
Example:
Create ollama.sh
ollama pull llama2

Copy or mount the shell under docker-entrypoint-initollama.d/ollama.sh and once Ollama is up then the model will be pulled automatically.
Hooks
LocalStack offers something more regarding to the Fresh initialization approach through lifecycle stages and hooks and it also provides a nice API to check the status of those hooks.
Example:
Create ollama.sh
ollama pull llama2

Copy or mount the shell under /etc/localstack/init/ready.d/ollama.sh.

[!NOTE]
LocalStack offers boot, ready, shutdown and start stages but not sure if all of them could have a use case in Ollama.

With this enhancement starting with Ollama will improve experience with Dockerfile, Docker Compose and Testcontainers by mounting or copying files and make the model ready to use. My use case is simple to pull images but it will also help to create custom models.

There's currently no plans to support this feature but that might change as the project evolves


Multicall with no specific implementation

Refactor Request
Describe the Refactor Request
The current multicall implementation required an specific handling on the client side:
function multicall(bytes[] calldata datas)
    external
    returns (bytes[] memory /* results */ )
{
    IWriteDeferral.parameter[] memory params =
        new IWriteDeferral.parameter[](1);

    params[0].name = "data";
    params[0].value = TypeToString.bytesToString(msg.data);

    _offChainStorage(params);
}

client handling:
  let callData
  if (multicall) {
    callData = message.parameters[0].value as `0x${string}`
  } else {
    callData = encodeFunctionData({
      abi: dbABI,
      functionName: message.functionSelector,
      args: message.parameters.map((arg) => arg.value),
    })
  }

This happens because of a limitation of the EIP-5559 due to an intermediary structure called parameters that has key and value both as strings to store function arguments.
Describe Preferred Solution
Find a way to handle the multicall the same way as the other calls so the client doesn't need to implement specific handling.
Describe Alternatives
change EIP-5559
Related Code

Additional Context

blocked til the changes of the EIP-5559 are accepted by the community

closed by #179


methods to fix unknown licenses

Hello. Prompting the user to be aware of the unknown licenses is really a great feature. But we cannot just ship the notice without doing anything. Currently there seems no easy way to correct the information.

For very old libraries without license information in the pom, it would be better to give the user a chance to correct the license and then easily go ahead with the process. I would like to have a local file to override the license information for certain packages so that we can still automate the process.

Licenses of many pacakges are unknown just because they are proprietary packages pulled from internal repos. So it would be great to a mechanism to exclude packages from certain servers, or with certain prefixes. For example, a variable that users can set the server names or prefixes to.

Thank you.

Can you give an example?

Can you give an example?

Going to close this for now. This plugin simply generates a report of licenses based on the user given dependencies.


App.org

This brings in a new directory app/ which shows how we could run the whole app without a backend, pulling from a set gs bucket instead.
This completes work outlined in #161
Notes:

This is a proof-of-concept.  There is some styling for spacing, but no design decisions.  I would not consider this a friendly, usable app---but it does show that we've successfully ported over the features from before.
along with removing the backend, app.org does a deep refactoring of the code to be simpler and easier to maintain.
the gs bucket is set in index.html (anticipating a scenario where we are dynamically rendering the index.html page as part of the pipeline) .  This could also be set by url.

@zachmandeville: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

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

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

Needs approval from an approver in each of these files:

OWNERS

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

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

Needs approval from an approver in each of these files:

OWNERS

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


"Testers" parameter doesn't seem to be working

I have the following code in my Github actions file

name: upload to Firebase App Distribution
uses: nickwph/firebase-app-distribution-action@v1
with:
file: build/ios/ipa/xxxxx.ipa
app: ${{ secrets.IOS_APP_ID}}
testers: appletesters
debug: false
credentials: ${{ secrets.SERVICE_ACCOUNT_KEY }}

In firebase I have a testing group called 'appletesters'

However when my builds are uploaded they are never assigned to the testing group I always end up having to do that manually

hello @mhelfer. I believe you would have to use groups parameter instead.
- name: upload to Firebase App Distribution
  uses: nickwph/firebase-app-distribution-action@v1
  with:
    file: build/ios/ipa/xxxxx.ipa
    app: ${{ secrets.IOS_APP_ID}}
    groups: appletesters
    debug: false
    credentials: ${{ secrets.SERVICE_ACCOUNT_KEY }}

I made that change and it worked. Given the misleading variable name (Since Firebase calls them testers) maybe consider deprecating "testers" or being more explicit about what it does in the docs?


because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled

--Swagger2
--version 2.2.2
this is my pom.xml
`

org.springframework.boot
spring-boot-starter-web

org.springframework.boot
spring-boot-starter-webflux

	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-test</artifactId>
		<scope>test</scope>
	</dependency>
	<!--Swagger2依赖  api-->
	<dependency>
		<groupId>io.springfox</groupId>
		<artifactId>springfox-swagger2</artifactId>
		<version>2.2.2</version>
	</dependency>
	<dependency>
		<groupId>io.springfox</groupId>
		<artifactId>springfox-swagger-ui</artifactId>
		<version>2.2.2</version>
	</dependency>
	<!--JdbcTemplate-->
	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-jdbc</artifactId>
	</dependency>
	<!--嵌入式数据库支持-->
	<dependency>
		<groupId>org.hsqldb</groupId>
		<artifactId>hsqldb</artifactId>
		<scope>runtime</scope>
	</dependency>
	<!--Mysql-->
	<dependency>
		<groupId>mysql</groupId>
		<artifactId>mysql-connector-java</artifactId>
		<version>5.1.21</version>
	</dependency>
	<!--AOP依赖-->
	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-aop</artifactId>
	</dependency>
	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-security</artifactId>
	</dependency>
	<dependency>
		<groupId>io.projectreactor</groupId>
		<artifactId>reactor-core</artifactId>
		<version>3.0.4.RELEASE</version>
	</dependency>
	<dependency>
		<groupId>javax.servlet</groupId>
		<artifactId>javax.servlet-api</artifactId>
		<version>3.1.0</version>
	</dependency>
	<dependency>
		<groupId>javax.servlet</groupId>
		<artifactId>javax.servlet-api</artifactId>
		<version>3.1.0</version>
	</dependency>
</dependencies>`

error happend
Refused to execute script from 'http://localhost:8080/webjars/springfox-swagger-ui/lib/underscore-min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. swagger-ui.html:1 Refused to execute script from 'http://localhost:8080/webjars/springfox-swagger-ui/lib/backbone-min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. swagger-ui.html:1 Refused to execute script from 'http://localhost:8080/webjars/springfox-swagger-ui/swagger-ui.min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. swagger-ui.html:1 Refused to execute script from 'http://localhost:8080/webjars/springfox-swagger-ui/springfox.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. swagger-ui.html:1 Refused to execute script from 'http://localhost:8080/webjars/springfox-swagger-ui/lib/highlight.7.3.pack.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. swagger-ui.html:1 Refused to execute script from 'http://localhost:8080/webjars/springfox-swagger-ui/lib/marked.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. swagger-ui.html:1 Refused to execute script from 'http://localhost:8080/webjars/springfox-swagger-ui/lib/swagger-oauth.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. swagger-ui.html:27 Uncaught ReferenceError: $ is not defined

Could you uprev the library version to 2.6.1 please. 2.2.2 is not supported

@dilipkrish   I found that both the 2.6.1 version and the 2.7.0 version  are problematic

Not really sure what the problem is.

I am getting the same issue on weblogic. I have created a war file and deploying on Tomcat works perfectly and swagger-ui comes up however on weblogic I get an error:
Refused to execute script from 'webjars/springfox-swagger-ui/springfox.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Could you please look into this?

Cannot really unfortunately  😞  Seems like web logic is serving it up as text/html. It is clearly a JavaScript file that is included as the right mime type.

The problem is with the swagger-ui html file only since rest endpoint v2/api-docs seem to be working really  well, when I remove spring security from application the errors in console disappear about the mime type however UI does not load well still.


paraneue image note found notices

Current Behavior

all sorts of theme errors in the admin section when placing the no-image-found placeholder

Desired Behavior

no errors
dosomething_image needs to find a not found image regardless of theme

Relevant Screenshots + Links

The problem is that we're using the PARANEUE_PATH constant that's defined in the theme from a module, so when that module is used outside of the theme it has no idea what that constant is.
We should probably move the "theming" of not-found images into the theme.

at this point.......


Importing into more than one locale...

Ive been trying but with little success so far to allow the import to populate 2 locales... So the first been english and the 2nd variation of the entry been french...
So for example they have a different TITLE or a given FIELD...
Is it possible to do this?

Try the develop branch, it's in there

Oh!... will have a look.... your a star if it is :)

Can i use the develop branch ok?

Yeah, its as good as stable. Will release it very soon.

Cant see anything different... unless I'm missing something?

You can now use a column "Locale" to specify what locale that row should be imported into

Ah.. so if i have a column called Locale... i can specify information in that row to be imported... if its has say FR...

Yeah, you should say "fr" in that case then.

This was just released on master, https://github.com/boboldehampsink/import/releases/tag/0.8.27

Ok will try that out. Thanks

On 23 Oct 2015, at 11:58 a.m., Bob Olde Hampsink<EMAIL_ADDRESS>wrote:
Yeah, you should say "fr" in that case then.
—
Reply to this email directly or view it on GitHub.

Not sure if I'm going mad here... I've imported the first set of entries in ENGLISH... and thats gone fine. I now want to import the FRENCH (title) and a few other fields... I've created a new column called LOCALE.. and have specified fr in this.. when i run the import tho how do i make sure its adding new data to the existing entry. I can't choose the title as i want to add the french title...

Use the replace option

But which do you use to check for the right entry? If I use the title (en) I then can't choose the title (fr) as its not available.
Sent from my iPhone

On 27 Oct 2015, at 7:25 a.m., Bob Olde Hampsink<EMAIL_ADDRESS>wrote:
Use the replace option
—
Reply to this email directly or view it on GitHub.

You use a combination of title and locale

Still bit confused..
So if I have 3 columns in a csv file.
Title (en)
Title (fr)
Locale
First time round I run the import with append.. I choose not to import locale, the I map the Title field to Title(en).
This imports everything fine.
Then...
I want to add the French alternative entry titles. So..
I import using replace.. Map locale to the locale  column (which is set to fr) but then if I map the Title to the Title (fr) column.. How does it know which entry is which without using some criteria checkbox?
That's where I'm confused as I thought I had to map something so it updates the right entry?
Thanks sorry for not quite getting it

On 27 Oct 2015, at 7:29 a.m., Bob Olde Hampsink<EMAIL_ADDRESS>wrote:
You use a combination of title and locale
—
Reply to this email directly or view it on GitHub.

Mmm, maybe you can find your answer here https://github.com/boboldehampsink/import/issues/62

Thanks Bob… will have a look here and try..
Kind Regards
Brian Coult
Mobile Consultant | Designer | ExpressionEngine Developer
Etheya Digital Creativity Ltd
t. 07463 240076
e<EMAIL_ADDRESS><EMAIL_ADDRESS>w. www.etheya-digitalcreativity.com http://www.etheya-digitalcreativity.com/
Skype: etheya-bc
LinkedIn: http://www.linkedin.com/pub/brian-coult/3/902/127 http://www.linkedin.com/pub/brian-coult/3/902/127

On 27 Oct 2015, at 07:40, Bob Olde Hampsink<EMAIL_ADDRESS>wrote:
Mmm, maybe you can find your answer here #62 https://github.com/boboldehampsink/import/issues/62
—
Reply to this email directly or view it on GitHub https://github.com/boboldehampsink/import/issues/83#issuecomment-151403017.

Got this working.... but only after i pulled down using EXPORT another field that i could utilise to check criteria...
If you have only the title changing then its not really possible to do this as you need to use the LOCALE and the TITLE (en) to be checked for criteria.... which means you then can't update the TITLE (fr)... it would be fine if you were changing another field in the entry, but not for the title itself. So i pulled down the slug/ID once i ran the initial import... added that to the csv file, and the used the ID and LOCALE as the criteria and it imported nicely.
Might be something to think about as a requirement tho...
Thanks again... nice add-on.

Got this sorted... but have run into another issue, but will create a new post for that.. Consider this closed...


Calls to place order not working

Hi,
Calls to place_orders are returning INVALID_INPUT_DATA. Here is the code I am using below. The market and selection ids are correct.
instructions = []
limit = LimitOrder(size=2, price=5, persistence_type=PersistenceType.LAPSE)

instruction = PlaceInstruction(order_type=OrderType.LIMIT, selection_id=120027, handicap=0, side=Side.BACK, limit_order=limit)
instructions.append(instruction)

order = client.place_orders("1.11962314", instructions)

I have the same issue. Perhaps constructing the instructions incorrectly but I am stuck on this error too.


Moving the camera using keyboard events

Hi,
I'm a final year engineering student and I'm trying to use MuJoCo for my finaly year project.
I have prior experince with game development in Unreal Engine 4/5, but have never digged up into the inner workings of a physics engine or the rendering engine.

I'm looking for some help with moving the camera using the keyboard events (WASD) and mouse in realtime.
The way I want to achieve this is by adding scaled values of the unit direction vectors(like the direction at which the camera is facing) to the global postion_vector of the camera.
So far i have manged to move and orient the camera using the cam.azimuth, cam.elevation, cam.lookat etc....But it isn't compatible with the above appoach.
I have also tried modifying it using  model->cam_pos but that didnt reflect any changes.
I also tried changing data->cam_xpos but it seems to get overwritten by the forward dynamics.
//Code for camera movement when the camera mode is set to hover
if (camera_mode_hover) {
	d->cam_xpos[1] += 0.001;	// doesn't work
	m->cam_pos[1] += 0.001;		// doesnt' work

}

Any help is much appreciated!

I think you want to be moving the free camera, not the fixed cameras in the model. Look at simulate.cc and figure out how it does it. More generally, engine_vis_interact.c contains all the interaction functions. A good place to start is the relevant documentation chapter.

Maybe instead of writing your own thing, just build simulate from source and modify it to suit your needs?


Revert "Add initial OpenSSL CryptoEngine implementation and key/cert handling"

Reverts vespa-engine/vespa#6801
CMake Error at functions.cmake:65 (target_link_libraries):
  Object library target "vespalib_vespalib_net_tls" may not link to anything.

Curse these computers and their sneaky ways!


Fix edge-case where k8s_version is equal to HIGHEST_SUPPORTED_K8S_VER…

…SION

Reference Issues or PRs
Fixes #1840
What does this implement/fix?
Currently the comparison of "1.24.13-do.0" <= "1.24.13" (or HIGHEST_SUPPORTED_K8S_VERSION) fails. This is an edge case where the versions are indeed equal but the additional suffix (-do.0) causes it fail. This PR ensures that these kinds of comparisons won't fail.
Put a x in the boxes that apply

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Other (please describe):

Testing

[ ] Did you test the pull request locally?
[ ] Did you add new tests?

Any other comments?

Waiting for the k8s tests to succeed, we can merge after. :)


update to latest cm schema

link relied upon for CM schema moved, breaking the tests

opened https://github.com/TBD54566975/ssi-sdk/issues/134 and https://github.com/TBD54566975/ssi-sdk/issues/135 as follow ups cc: @andorsk


MicroWin not downloading MS Windows ISO

Describe the bug
Microwin can not download IOS
To Reproduce
Steps to reproduce the behavior:

load irm "https://christitus.com/windev" | iex
Microwin tad
Mark tab "Get newest ISO automatically"
then use tab "Get Windows ISO
get

Expected behavior

Screenshots

Additional context
went to MS web site and tried to download ISO get the same reply

tried changing IP address with cmd renew IP did not work

https://github.com/pbatard/rufus/wiki/FAQ#user-content-Code_715123130_unable_to_complete_your_request_at_this_time_when_trying_to_download_a_Windows_ISO
Refer to this issue for more information

I don't understand the referral. I was not using Rufus. I only use Rufus after it makes the ISO and with Rufus. All I do is just use the basic feature of copying the iso over to a USB

This, like Rufus, uses Fido for the ISO download capabilities.
What you're experiencing here is the error returned by Fido.

I'm a newbie and a complete plebe and I know that this is not the right area but could you tell me how to fix it please?


envoy as a layer 2 proxy with downstream from HAproxy

I have a HAproxy to route http2 grpc to server. But because grpc-web needs envoy so i configured envoy as a small reverse proxy with docker in server . HAproxy will reverse https connection to envoy which envoy will tls terminate it. But it got errors following:
envoy_1  | [2020-11-16 04:01:22.744][25][debug][conn_handler] [source/server/connection_handler_impl.cc:459] [C213] new connection
envoy_1  | [2020-11-16 04:01:22.747][25][debug][connection] [source/common/network/connection_impl.cc:579] [C213] remote close
envoy_1  | [2020-11-16 04:01:22.747][25][debug][connection] [source/common/network/connection_impl.cc:202] [C213] closing socket: 0
envoy_1  | [2020-11-16 04:01:22.747][25][debug][misc] [source/common/network/io_socket_error_impl.cc:30] Unknown error code 104 details Connection reset by peer
envoy_1  | [2020-11-16 04:01:22.747][25][debug][connection] [source/extensions/transport_sockets/tls/ssl_socket.cc:288] [C213] SSL shutdown: rc=-1
envoy_1  | [2020-11-16 04:01:22.747][25][debug][connection] [source/extensions/transport_sockets/tls/ssl_socket.cc:215] [C213]
envoy_1  | [2020-11-16 04:01:22.747][25][debug][conn_handler] [source/server/connection_handler_impl.cc:152] [C213] adding to cleanup list

My envoy yml config:
admin:
  access_log_path: /tmp/admin_access.log
  address:
    socket_address: { address: <IP_ADDRESS>, port_value: 10003 }

static_resources:
  listeners:
  - name: listener_0
    address: { socket_address: { address: <IP_ADDRESS>, port_value: 80 } }
    filter_chains:
    - filters:
      - name: envoy.filters.network.http_connection_manager
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
          codec_type: auto
          stat_prefix: ingress_http
          route_config:
            name: local_route
            virtual_hosts:
            - name: local_service
              domains: ["*"]
              routes:
              - match: { prefix: "/" }
                route:
                  cluster: some_service
              cors:
                allow_origin_string_match:
                - prefix: "*"
                allow_methods: GET, PUT, DELETE, POST, OPTIONS
                allow_headers: keep-alive,user-agent,cache-control,content-type,content-transfer-encoding,custom-header-1,x-accept-content-transfer-encoding,x-accept-response-streaming,x-user-agent,x-grpc-web,grpc-timeout
                max_age: "1728000"
                expose_headers: custom-header-1,grpc-status,grpc-message
          http_filters:
          - name: envoy.filters.http.grpc_web
          - name: envoy.filters.http.cors
          - name: envoy.filters.http.router
          stream_error_on_invalid_http_message: true
      transport_socket:
        name: envoy.transport_sockets.tls
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext
          common_tls_context:
            alpn_protocols: [ "h2,http/1.1" ]
            tls_certificates:
              - certificate_chain: { filename: "/etc/crt.pem" }
                private_key: { filename: "/etc/key.pem" }
            validation_context:
              trusted_ca:
                filename: /etc/ca-cert.pem
  clusters:
  - name: some_service
    connect_timeout: 0.25s
    type: logical_dns
    http2_protocol_options: {}
    lb_policy: ROUND_ROBIN
    load_assignment:
      cluster_name: some_service
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: <IP_ADDRESS>
                port_value: 10000

any ideas what happened?

From logs all I can gathered is the 104 error with connection reset by peer. If you can repro in isolation and gather a stat dump we could probably see more detail?

Does HAProxy have any logs that would explain why it reset the connection?


Can't use with Xcode 7 GM

pod 'SQLite.swift', git: 'https://github.com/stephencelis/SQLite.swift.git', :branch => 'swift-2'
but it also have many error

Would you please try again? I just updated the module map that CocoaPods depends on.

I have add import SQLite  at the file ,but also can't use the SQLite syntax,like -> Use of undeclared type 'Query'

I am getting similar errors: both 'Database' and 'Query' give the undeclared type error.
I did the manual install. I noticed that when I dragged the xcodeproj item into my project it has a very different structure then Swift 1.2  I don't seed Database.swift anywhere and Query.swift doesn't have a class or struct named Query.

@fredwaltman I need to write a proper upgrade guide but if you see the updated documentation/README it should provide the hints you may need. For what you're having trouble with, here are a few couple:

The Database class has been renamed to Connection to better communicate its purpose and to prepare for better support for multiple database access (via ATTACH and DETACH).
Before:
let db = Database()

After:
let db = Connection() // or SQLite.Connection()

Protocol extensions have enabled the Query structure to be refactored into three separate structures: Table, View, and VirtualTable. Queries are also no longer coupled to database connections and must be passed to a connection in order to be performed.
Before:
let users = db["users"]
db.create(table: users) { t in t.column(email) }
users.insert(email <-<EMAIL_ADDRESS>
After:
let users = Table("users")
try db.run(users.create { t in t.column(email) })
let userId = try db.run(users.insert(email <- "alice@mac.com"))

thx

Closing this out. Please let me know if your problem was unresolved!

Hi Stephen! I'm trying to use SQLite but when I import it, the error that appear is: "cannot load underlying module for "SQLite'. I already created the PodFile (because I saw that is necessary), but the error is the same. I configured the target dependencies, libraries and I include the reference for your SQLite.xcodeproj. Could you help me?
Tks!


Instructions of how to obtain libsdl is missing

Hi,
I was looking into using SDL2 on OS X and ran into problems.
First I installed libsdl from https://libsdl.org/download-2.0.php#source
Then I installed the package racket-sdl.
Finally I opened and ran lazyfoo01.rkt in DrRacket.
The error I get is:
ffi-lib: couldn't open "libSDL2.dylib" (dlopen(libSDL2.dylib, 6): image not found)
It seems that the installer installs a Framework:
mbp:lazyfoo soegaard$ ls /Library/Frameworks/SDL2.framework/
Headers		Resources	SDL2		Versions
There does not seem to be a dylib in the framework.
Question: Where can I get libSDL2.dylib ?

Fetching the source and building the shared library in XCode worked.
The attached zip-file contains a build of libSDL 2.05 build on macOS Sierra 10.12.2.
libSDL2.dylib.zip

Fetching the source and building the shared library in XCode worked.
The attached zip-file contains a build of libSDL 2.05 build on macOS Sierra 10.12.2.
libSDL2.dylib.zip

Have you tried installing sdl2 with homebrew? I think it comes in a dylib format.

Have you tried installing sdl2 with homebrew? I think it comes in a dylib format.

No need to compile the source actually.
After you install the SDL2 runtime dmg, you can use this trick:
ln -s /Library/Frameworks/SDL2.framework/SDL2 /usr/local/lib/libSDL2.dylib


Drop runtime.Scheme conversion

Kubebuilder is based on controller-runtime to provide conversion webhook implementation based on hub and spokes pattern, which is a simplified version based on top of k8s.io/apimachinery/pkg/runtime/scheme conversion.
Reference:

https://github.com/emissary-ingress/emissary/wiki/design-doc:-Emissary's-CRD-conversion-logic#how-does-that-controller-runtime-stuff-work
cert-manager to check how conversation webhook server created based on runtime.scheme https://github.com/cert-manager/cert-manager/blob/master/cmd/webhook/main.go

AC:

[ ] remove unnecessary AddConversionFunc and SetVersionPriority in https://github.com/kyma-project/lifecycle-manager/blob/main/api/scheme.go#L22-L70
[ ] prepare the (short) knowledge transfer session for the team on how that works

@ruanxin the knowledge transfer session (in AC) already took place right?
In the CRD Upgrade meeting, you went over the Hubs and Spokes pattern and showed the code as well. Is this AC still required?

The SetVersionPriority function is apparently important for the the lifecycle manager to work. Tests are failing if it is removed. I cannot find what it exactly does. But I'll leave it in.


Remove async from register_header_extension

This changed when transitioning to 0.3, was wondering if we can revert to this not being async, it doesn't seem necessary, but I might be mistaken.

Good catch!


Overall Python structure

We should discuss the overall structure of the Python code, as well as how to deal with imports (absolute or relative) and what we make part of the public API (e.g. directly importable from pyvrp).
          @wouterkool agree. I don't really have a strong philosophy on these. In tests I typically prefer absolute imports, but in package code I use relative imports for siblings, and absolute imports (from `pyvrp`) for everything else. We should have a look at writing this down at some point. Would you be willing to open an issue for this?

Originally posted by @N-Wouda in https://github.com/N-Wouda/pyvrp/issues/58#issuecomment-1420582556

I think the overall structure has largely crystalised over the past months. FWIW, I'm pretty happy with out current module/package division, so I don't think we have to change that too much anymore.
For the imports, I'll open a PR that moves everything over to absolute in regular files, and relative in the package-level __init__.py.

I had a brief look around and that (relative in __init__ to define the API; absolute in other cases) seems to be how more packages do it (numpy, statsmodels). So we're in good company.


put live-reload middleware above main app

Live reload wasn't working for me. I poked around a bit and saw that the live-reload.js wasn't getting injected into the rendered HTML. Reading the connect-livereload docs it looks like that's because it needs to be inserted in the connect middleware stack before any routes that we want it to inject the live-reload.js into:

In your connect or express application add this after the static and before the dynamic routes. If you need liveReload on static html files, then place it before the static routes

I tested this locally and it fixed things for me - live-reload wasn't working before, and is now.

Pull Request Test Coverage Report for Build 280

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 68.873%

Totals

Change from base Build 278:
-0.1%

Covered Lines:
317

Relevant Lines:
435

💛  - Coveralls

What happens if you use this in conjunction with the live reload browser plugin?

Oh, good question. I don't have the extension so I didn't check. Happy to install it and test that. Ok if I just test with Chrome, or do you think I should check extensions on other browsers too?

I installed the Chrome LiveReload extension and tested this out. Seemd to work as expected.

Without this PR, with extension on: live reload worked
Without this PR, with extension off: live reload didn't work
With this PR, with extension on: live reload worked
With this PR, with extension off: live reload worked

I also fired up the network tab in devtools to see if the page gets reloaded twice, or something like that, and didn't see anything fishy.
I'm assuming that the live-reload.js that's injected by connect-livereload will not activate if it detects that the livereload extension is already active.

Hey thanks for this! Sorry about the delay. Big delivery at work. I'll try and get to this in the next couple of days.

No need to apologize! You're the one maintaining awesome free software for anyone to use that wants it!

+1, I had problems with live reload working and manually making this change fixed it for me.


The logs component should not be shared between the tabs.

Is your feature request related to a problem? Please describe.
In the current version the Logs application component is being shared between all the created tabs. But as a user when we open up a new diagram and we already see some logs for it ,it could be sometimes mis-leading to the user.
Describe the solution you'd like
Display the logs respective to the diagram where the error occurred and when we create a new diagram the logs should be an empty.
https://user-images.githubusercontent.com/85225325/124942639-19157c80-e00c-11eb-9eca-e89dfe24bed7.mp4

In the log, we basically have both scopes: file(tab)-related messages but also messages on the app level, for instance, plugin issues.
Making the log view only tab-related would cause the problem of how to communicate tab/file-independent messages.
But we already have (another) concept of how to improve the log view. Currently, the confusion might be caused by having the log view as a panel at the bottom of the tab, similar to the other panel on the right, which is clearly tab-related. In the new concept, the log view will move to an own tab und this might mitigate or even avoid the confusion that you mentioned.
During our work on the data view, we might already be able to implement this new approach. So I'll close this issue.


Us33981

Description:

Related issue(s):
Fixes #
Notes for reviewer:

Checklist

[ ] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

will open new pr with required changes


Use pytest for unit tests

Tests can be run with $ python3 -m pytest tests
I disabled slow tests by default, but they will be run by Jenkins and
can be run manually by adding the --runslow option
All tabular benchmarks have been moved to the same file as they all
depend on run_tabular_benchmarks. This is the simplest way to share
a helper function between pytest tests.
To run the tests in a specific test use
$ python3 -m pytest path_to_file:test_mytest
:test_mytest can be omitted to run all tests in a specific file.

Job PR-346-2 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-346/2/index.html

Hello @jwmueller , @zhanghang1989
Fela is an MLS from the Amper team, he wrote a lot of the HPO code which we intend to contribute.
This contribution is intended to put pytest in place for unit and other tests. It is needed because our contribution will have quite a number of such tests.
Could you put the person on the issue who oversees the Jenkins stuff? Would that be @szha ?

The reason I did not add it there is that it is not strictly a requirement for the pip package itself, and I did not want to add unneeded dependencies to our end users. It is a development dependency only, not sure if there is a canonical way to specify those.
Instead I install it in the Jenkins shell commands. The Jenkins pipelines is green with this change, the run is here. The only thing that we might still want to do is configuring Jenkins to use the generated results.xml for nicer reports. I don't think I have permissions for that, so can anyone off the other contributors do that after the merge?

But probably you are right, it's quite unlikely to cause a conflicts for our users, so will just add it for convenience.

Job PR-346-3 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-346/3/index.html

For skipping a test the standard way in pytest is to add @pytest.mark.skip(reason="why the test should not be run"), not sure it is worth adding this information anywhere. I checked the CI run of this PR and it appears to work well.


lib: Return error early if there are any error diagnostics.

r? @fitzgen
This is a rebase of #280

Added other kinda random fixups that I found as user of the library.

@bors-servo r=xidorn

:pushpin: Commit 8a60512 has been approved by xidorn

:zap: Test exempted - status

On Thu, Feb 02, 2017 at 03:09:09PM -0800, Xidorn Quan wrote:

upsuper commented on this pull request.

@@ -509,6 +509,25 @@ impl<'ctx> Bindings<'ctx> {
-> Result<Bindings<'ctx>, ()> {
let span = span.unwrap_or(DUMMY_SP);

   // TODO: Make this path fixup configurable?

   if let Some(clang) = clang_sys::support::Clang::find(None) {

       // If --target is specified, assume caller knows what they're doing

       // and don't mess with include paths for them

       let has_target_arg = options.clang_args.iter()

           .rposition(|arg| arg.starts_with("--target"))

           .is_some();

       if !has_target_arg {

           // TODO: distinguish C and C++ paths? C++'s should be enough, I

           // guess.

           for path in clang.cpp_search_paths.into_iter() {

I suggest we remove this hacky fixup and do a breaking version bump, then teach users to add what they need themselves.

I'm not too fond on this because this is what allows C libraries to find
a bunch of standard headers.
I'd prefer adding an option to skip the path fixup if wanted. Would that
be fine?

I suppose libclang should have the same path searching behavior as the command line clang, so doing this doesn't add much value. Is that not true? Do you mean that libclang may not add system search path by default? Could you share some examples that things would not work without this fixup but works fine when using the command line clang?

I suppose libclang should have the same path searching behavior as the command line clang, so doing this doesn't add much value. Is that not true?

Nope, unfortunately. see https://github.com/servo/rust-bindgen/issues/242 for an issue fixed by this path fixup. I'm sure there are more in the backlog of issues and the old repo.

The issue doesn't mention the code and the arguments they use (thus not reproducible), so it isn't very convincing to me. It is possible that some environment or argument they provide (or lack) affects the search path decision, and the hacky fixup happens to fill the gap.


fix opendir on Windows

Closes #920.

@RIscRIpt thank you so much for checking it out on Windows! <3


npm install netlify-cli failing in Github action

Describe the bug
I’m running into failures installing netlify-cli. It started happening sometime in the past few weeks, just noticed yesterday.
npm install netlify-cli
…
npm ERR<EMAIL_ADDRESS>postinstall: node ./scripts/postinstall.mjs
Exit status 7
Failed at the<EMAIL_ADDRESS>post install script
I have it running in a Github action:
      - name: Install Netlify CLI
        run: |
          npm install netlify-cli

It’s running on Ubuntu:
runs-on: ubuntu-latest

It’s in the middle of what looks like a king compilation, the last thing printed mentions something about skipping some optional dependencies (see screenshot).
Steps to reproduce
Run npm install netlify-cli in a Ubuntu Github action.
Configuration
Not relevant
Environment
Screenshot of error:

Thanks for reporting, can you please post the complete logs for the install and also which Node.js version are you using?

If you have more information feel free to reopen. Right now there is not enough information.


Redundant mathlib caching

One area for improvement is that currently the action caches the mathlib cache generated by lake exe cache get which seems redundant and takes up significant space in the GitHub cache.
One potential fix for this would be to exclude certain subfolders of .lake from the cache. This behavior of the cache action may be relevant.

Did you figure out what is happening with the github cache?
In use on my projects I don't find that it increases the speed of successive runs, I think github cache is never actually used. As yet I didn't investigate what was happening since possibly someone else already knows the solution.

I haven't investigated this any further since creating the initial issue.


Rate limit trigger

Any way to fix rate limit error,
Exception: Error 429: {"Reason":"CallerRateLimitExceeded","Type":"User","message":"Rate exceeded"}
2023-05-02 07:02:53,124 [INFO] wait.py:97 -- ExecutorID 4c24f3-0 - Getting results from 231 function activations
exception calling callback for <Future at 0x7ff08c10a580 state=finished raised Exception>
Traceback (most recent call last):
  File "/usr/lib/python3.9/concurrent/futures/_base.py", line 330, in _invoke_callbacks
    callback(self)
  File "/root/ShadowClone/env/lib/python3.9/site-packages/lithops/invokers.py", line 435, in _callback
    future.result()
  File "/usr/lib/python3.9/concurrent/futures/_base.py", line 439, in result
    return self.__get_result()
  File "/usr/lib/python3.9/concurrent/futures/_base.py", line 391, in __get_result
    raise self._exception
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/root/ShadowClone/env/lib/python3.9/site-packages/lithops/invokers.py", line 366, in _invoke_task
    activation_id = self.compute_handler.invoke(payload)
  File "/root/ShadowClone/env/lib/python3.9/site-packages/lithops/serverless/serverless.py", line 59, in invoke
    return self.backend.invoke(runtime_name, runtime_memory, job_payload)
  File "/root/ShadowClone/env/lib/python3.9/site-packages/lithops/serverless/backends/aws_lambda/aws_lambda.py", line 658, in invoke
    raise Exception('Error {}: {}'.format(r.status_code, r.text))
Exception: Error 429: {"Reason":"CallerRateLimitExceeded","Type":"User","message":"Rate exceeded"}

how do fix you fix this...?

https://us-east-1.console.aws.amazon.com/servicequotas/home/services/lambda/quotas
Request increase Concurrent executions


Document Unreal Engine WebVR export status

I don't think there is any https://www.unrealengine.com/en-US/bing-search?keyword=webVR
https://answers.unrealengine.com/questions/714906/how-to-export-vr-project-to-html5.html


Snackbar defaults & copy undo

Snackbar default timeout removed & replaced with "dismiss" button (otherwise, large WASM errors were lost, and it'd be nice if folks could copy those for bug reports).
Copying settings across can now be undone.

TODO: fix the build. Oops.

Oh, I just told Netlify to rebuild and it worked, so I guess it wasn't my fault.


Plurals don't work with flat format

We are experiencing this issue in an actual project with the ditto files generated by ditto-cli, but I also reproduced it in the current version of ditto-react-demo project by manually editing the files:
Example code
ditto-component-library__base.json
{
...
  "test": "{{x}} item",
  "test_one": "{{x}} items",
  "test_two": "{{x}} items",
  "test_few": "{{x}} items",
  "test_many": "{{x}} items",
  "test_zero": "no items",
  "test_other": "{{x}} items"
}

index.jsx
...
<Ditto componentId="test" variables={{x: 3}} count={3}/>
....

Result
"3 item"
Expected result
"3 items"
The same is true for any other value I set count to (0, 2, 20...), it always picks the value of "test".

Hi @Taiwar! Thanks for submitting the issue. What you experience is expected as ditto-react's provider expects the structured format. Please let us know if you have any issues in regard to plurals when using the structured format. In the meantime, I will open a PR to update our README to add a disclaimer in the Plurals section to avoid confusion in the future.


Update gosec.sh

Description
Update gosec.sh
Fixes #292
Type of change

Bump-up dependent library (no changes in the code)

Testing steps
N/A
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report

Merging #294 (f662c18) into master (f8feba9) will not change coverage.
The diff coverage is 0.00%.

@@          Coverage Diff           @@
##           master    #294   +/-   ##
======================================
  Coverage    5.80%   5.80%
======================================
  Files          15      15
  Lines         844     844
======================================
  Hits           49      49
  Misses        795     795

Impacted Files
Coverage Δ

server/server.go
0.00% <ø> (ø)

storage/storage.go
1.08% <0.00%> (ø)

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 f8feba9...f662c18. Read the comment docs.


Wish: support for sounds

Thanks for this app!
I’d find it useful if the app supported linked sound files – for example:
[Sound](Mandarin sounds/nǐ hǎo.mp3)

Issues:

It’s unclear how to best handle spaces in URLs. Maybe using %20 for spaces is enough.
Clicking on the link should play the sound file.

I like your app too. I DLed for MacOS … when I open your example .md the app only shows the front of the cards. Am I doing something wrong in markdown? Do have an actual .md file you can provide as a template instead of the format written into the readme? Thanks!

@rowe-morehouse You have to click on the heading (“front side”) in order to expand the body (“back side”).


Scatter chart

hi
I have a scatter chart below that i have a table with category and checkbox on every row.
i want the table checkbox to work as legends. how can i achieve this functionality?

@krispo can you help me out in this?


chore(deps): bump https://github.com/zeebe-io/zeebe-cluster-helm from 0.0.40 to 0.0.41

Update zeebe-io/zeebe-cluster-helm from 0.0.40 to 0.0.41
Command run was jx step create pr chart --name zeebe-cluster --version 0.0.41 --repo https://github.com/zeebe-io/zeebe-full-helm.git

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

Needs approval from an approver in each of these files:

OWNERS

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


Delete documentation about canonical data

This was about how to extract canonical data. The improving consistency across tracks document now covers both extracting and using canonical data.

Alright, I've given this another go.

Github is showing this has merge conflicts, but apart from that I think it's OK now.

Oh, right. I merged another PR in the meantime. Fixed, and merging.


⚠ Bofrost.es has degraded performance

In 1389c26, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1882 ms

Resolved: Bofrost.es performance has improved in 5607ea2 after 20 minutes.


Upgrade Appveyor

Get Appveyor, OpenCover + XUnit + netcoreapp1.1 + CodeCov working

Closed with 0.9.7


[AIRFLOW-1642] Use scoped_session in alembic revision cc1e65623dc7

Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-1642

Description

[x] Here are some details about my PR, including screenshots of any UI changes:
The alembic script does not use a scoped_session, which could potentially cause deadlocks (see JIRA for an example scenario of this). Using settings.Session() instead will create a scoped session.
Note: This alembic script is introduced after the current stable release, so should be safe to modify.

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:
Ran migration script locally for testing. Unit tests not applicable here.

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Error:
INFO  [alembic.runtime.migration] Running upgrade 127d2bf2dfa7 -> cc1e65623dc7, add max tries column to task instance
Traceback (most recent call last):
  File "/home/travis/build/apache/incubator-airflow/.tox/py34-cdh-airflow_backend_postgres/lib/python3.4/site-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context
    context)
  File "/home/travis/build/apache/incubator-airflow/.tox/py34-cdh-airflow_backend_postgres/lib/python3.4/site-packages/sqlalchemy/engine/default.py", line 470, in do_execute
    cursor.execute(statement, parameters)
psycopg2.ProgrammingError: relation "task_instance" does not exist
LINE 2: FROM task_instance
             ^

Looks like the failure is only happening in postgres. If anyone has encountered a similar case in the past, would love to get some insight, thanks!

@jgao54 Could you enable the "Allow edits from maintainers." setting on this branch/PR and then I'll try fixing this up?

I'm also a big fan of the with-comprehension when it comes to database sessions.

@jgao54 Was this dropped?


Unable to chrome cast gen1 from HA without significant (30s) lag

I tried webrtc dash cast, with RTSP urls, restreamed url's from frigate, camera entity with RTSP, camera entities with restream RTSP, if it does show it's with a 30second lag.
Is there any documented way of using webrtc from HA to chromecast where there is nog lag ?

Have you tried this urls in some desktop app? Ex. VLC

Yes, works fine in VLC

I am using webrtc v3 v4. The card is not really into play here, I don’t think I can use that to cast from an automation to chromecast?
I use webrtc dashcast or the camera integration.

From: Alex X @.>
Sent: 16 January 2023 13:02
To: AlexxIT/WebRTC @.>
Cc: atv2016 @.>; Author @.>
Subject: Re: [AlexxIT/WebRTC] Unable to chrome cast gen1 from HA without significant (30s) lag (Issue #381)
Are you using WebRTC Card v3?
—
Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/WebRTC/issues/381#issuecomment-1384023429, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFU3CUJUDINGJHRDOZHDWSVBGNANCNFSM6AAAAAAT4QQZGQ.
You are receiving this because you authored the thread.Message ID: @.***>

If you using webrtc.dash_cast service - you using WebRTC Card on your Chromecast device.
Try use a direct RTSP link to the camera. Without using Frigate restream.

I think i tried that, but i'll try again.

From: Alex X @.>
Sent: 16 January 2023 14:32
To: AlexxIT/WebRTC @.>
Cc: atv2016 @.>; Author @.>
Subject: Re: [AlexxIT/WebRTC] Unable to chrome cast gen1 from HA without significant (30s) lag (Issue #381)
If you using webrtc.dash_cast service - you using WebRTC Card on your Chromecast device.
Try to use a direct RTSP link to the camera. Without using Frigate restream.
—
Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/WebRTC/issues/381#issuecomment-1384152809, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFU67F5UTAPMVY22ZZFLWSVLYVANCNFSM6AAAAAAT4QQZGQ.
You are receiving this because you authored the thread.Message ID: @.***>

Good point about the bit stream, i'll try and use the sub stream to cast.

So, i bought a chromecast HD, just to rule out any issues. For camera.stream, although it's now only 15seconds, rather then 30 seconds, it's still not nowhere realtime or 1-2 secs of lag. For WebRTC, it just hangs when i tries to load a RTSP url.I tried all codecs on the CCTV and all possible options i can think off on HA.
I don't really understand this. I'm going to check if my RTSP streams in XMeye (camera viewing tool) and frigate are realtime or if they are also lagging.

Well you can compare with any old version at any time

But how come old webrtc at least casted the rtsp streams, and the new one just sits there. The stream is fine in frigate or VLC. It’s the latest chromecast HD.
So it doesn’t look like the rtsp functionality is working in dashcast?

From: Alex X @.>
Sent: 20 January 2023 15:36
To: AlexxIT/WebRTC @.>
Cc: atv2016 @.>; Author @.>
Subject: Re: [AlexxIT/WebRTC] Unable to chrome cast gen1 from HA without significant (30s) lag (Issue #381)
Well you can compare with any old version at any time
—
Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/WebRTC/issues/381#issuecomment-1398570356, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFU4XBKFZFIFCPAL5ZL3WTKWIJANCNFSM6AAAAAAT4QQZGQ.
You are receiving this because you authored the thread.Message ID: @.***>

I have tested many RTSP cameras with Chromecast. All of them has 0.5 second delay.

Yes but that’s not the problem. The problem is webrtc is not showing the stream at all.I would be happy with just 0.5 delay.

From: Alex X @.>
Sent: 21 January 2023 02:47
To: AlexxIT/WebRTC @.>
Cc: atv2016 @.>; Author @.>
Subject: Re: [AlexxIT/WebRTC] Unable to chrome cast gen1 from HA without significant (30s) lag (Issue #381)
I have tested many RTSP cameras with Chromecast. All of them has 0.5 second delay.
—
Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/WebRTC/issues/381#issuecomment-1399158121, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFU4GWATXG2DBF42BOOLWTNE5PANCNFSM6AAAAAAT4QQZGQ.
You are receiving this because you authored the thread.Message ID: @.***>

I don't understand you. You said you have stream but 30 seconds delay

Sorry, yes but that was with camera entities from frigate or generic ones. With newer chromecast it’s actually about 15s delay.
But If I cast a full rtsp stream it just sits there. That’s what I meant. It doesn’t load at all. I tried enabling audio on cctv side or changing quality in the hopes of the codec changing but no go. It works fine in frigate or VLC. But I can ask VLC what codec it runs when it streams.
Thanks for your help.

From: Alex X @.>
Sent: 21 January 2023 14:11
To: AlexxIT/WebRTC @.>
Cc: atv2016 @.>; Author @.>
Subject: Re: [AlexxIT/WebRTC] Unable to chrome cast gen1 from HA without significant (30s) lag (Issue #381)
I don't understand you. You said you have stream but 30 seconds delay
—
Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/WebRTC/issues/381#issuecomment-1399259003, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFU5UCFKL63GEEHCIFVTWTPVBJANCNFSM6AAAAAAT4QQZGQ.
You are receiving this because you authored the thread.Message ID: @.***>

I don't understand your again. Does any camera from any source work for you on Chromecast?

Yes like I said, camera entities created from frigate or from generic entities created, work fine if I choose the camera entity option rather then the rtsp option.
It’s just when I use the rtsp option in webcast that it doesn’t work.

From: Alex X @.>
Sent: 21 January 2023 15:41
To: AlexxIT/WebRTC @.>
Cc: atv2016 @.>; Author @.>
Subject: Re: [AlexxIT/WebRTC] Unable to chrome cast gen1 from HA without significant (30s) lag (Issue #381)
I don't understand your again. Does any camera from any source work for you on Chromecast?
—
Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/WebRTC/issues/381#issuecomment-1399275207, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFU6IT3HS56WXSX2BYFTWTP7T3ANCNFSM6AAAAAAT4QQZGQ.
You are receiving this because you authored the thread.Message ID: @.***>

Well. What about delay on Chromecast for working cameras/entities? It should be 0.5 second. It can't be 15-30 second.

Well ..it’s not :-). What can I say.
I heard this was normal for camera entities as they use HA/Hls but I don’t know.
If you have a way of resolving that I’m all ears.

From: Alex X @.>
Sent: 21 January 2023 18:59
To: AlexxIT/WebRTC @.>
Cc: atv2016 @.>; Author @.>
Subject: Re: [AlexxIT/WebRTC] Unable to chrome cast gen1 from HA without significant (30s) lag (Issue #381)
Well. What about delay on Chromecast for working cameras/entities? It should be 0.5 second. It can't be 15-30 second.
—
Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/WebRTC/issues/381#issuecomment-1399312096, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFUY76EE2WADLJLETYADWTQW23ANCNFSM6AAAAAAT4QQZGQ.
You are receiving this because you authored the thread.Message ID: @.***>

Show how to you run Chromecast from HA

I’ll post some screenshots how I use it

From: Alex X @.>
Sent: 22 January 2023 04:42
To: AlexxIT/WebRTC @.>
Cc: atv2016 @.>; Author @.>
Subject: Re: [AlexxIT/WebRTC] Unable to chrome cast gen1 from HA without significant (30s) lag (Issue #381)
Show how to you run Chromecast from HA
—
Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/WebRTC/issues/381#issuecomment-1399403713, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFU2C2JPH62YLW4253U3WTS3EXANCNFSM6AAAAAAT4QQZGQ.
You are receiving this because you authored the thread.Message ID: @.***>

H264 means nothing. Because it can be with different profile and different levels.
What about "Show how to you run Chromecast from HA"?

I will add a screenshot of how webrtc is just hanging there, it opens it then it shows a black screen with a bar at the bottom but no video. I tried restream RTSP urls, real RTSP, entities, generic entities etc.


Fixes issue 60. Connection errors and non successful responses from …

…Amazon are handled by redirecting the user to the search page and providing an error message.
Resolves #60
Description
Currently if searching Amazon fails to connect or returns a non-success http response code (such as 500), we do not handle it. This PR will catch network connection errors as well as error code responses and redirect the user to the search page and flash a message.
This solution allows any http response in the 200 range and 302, and 304. All 200's are considered successful, so we should accept them. 302 and 304 are less common, but they sometimes occur because of http caching (I think), so we should catch them too. Being more restrictive might cause good, useful responses to be lost and frustrate the user.
Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Can be tested by running rspec. New specs have been written to cover response code cases and http error cases.
Manual testing network errors:

Go to the search page.
Disconnect from the internet.
Do a search.
You will see the error message.

Manual testing http response errors:

Edit the SearchResponse#error? method to always return true.
Go to the search page and do a search.
You will see the error message.

I'll work on some of these issues, but they will need a bit of time.


Setting android:targetSdkVersion in AndroidManifest.xml breaks Acr.DeviceInfo.5.0.5

I have been trying to resolve a Xamarin Android installation issue and been setting the android:targetSdkVersion in AndroidManifest.xml, however when I do this, when Acr.DeviceInfo.5.0.5 tries to retrieve the Hardware info, I get an error as if the Phone State permission hadn't been specified.
Setting my Android project back to "Use Compile using SDK version" resolves this. I was setting the "Target Android version" to be either 24 (Android 7.0) or 26 (Android 8.0)
Do you know why this might be the case?

The library hasn't been updated in a while to support the new SDK.  I do have a new release coming soon.