:seedling: Replace the windup addon with the analyzer-lsp.

I think s/windup/analyzer/g should do it.
Also, now that the hub is storing analysis data in the DB, we should at least double the default DB volume size of 5G to 10G (or more).  Perhaps 50G.
For 1000 applications, 100 issues, 1500 incidents each, the tackle.db is 4.3G.  I have been using these numbers as a medium sized deployment.
Now that we are no longer storing windup reports in the bucket volume I think we can safely reduce this default of 100G a lot.  Perhaps down to 25G.
Also, given the MUCH more complex queries on large datasets, we should consider bumping the cpu & memory request/limit on the Hub.
hub_container_requests_cpu: "100m"
hub_container_limits_cpu: "500m"
hub_container_requests_memory: "350Mi"
hub_container_limits_memory: "800Mi"

should be probably be.
hub_container_requests_cpu: "500m"
hub_container_limits_cpu: "1"
hub_container_requests_memory: "1Gi"
hub_container_limits_memory: "2Gi"

I will try to get better benchmarks.
We may want to have a broader discussion on this. What is our target out-of-the-box deployment?
100 applications on a labtop w/ minikube?
Bigger?  Smaller?

The bash script is just keying off that for the image name as I recall:
https://github.com/konveyor/operator/blob/main/tools/konveyor-operator-publish-commands.sh#L135
If you're going to change https://github.com/konveyor/operator/pull/247/files#diff-8ac33fe295df086d3e55df1eb01194819d34cc0f5f54076dba96ceac0e40bd79R67 I think you need to update  https://github.com/konveyor/operator/blob/b51f88755b5a44d7588ceecfb4f1a4596da712e3/bundle/manifests/konveyor-operator.clusterserviceversion.yaml#L197
and https://github.com/konveyor/operator/blob/b51f88755b5a44d7588ceecfb4f1a4596da712e3/bundle/manifests/konveyor-operator.clusterserviceversion.yaml#L33 (via the make bundle stuff Tiger fixed I would think would be the right way)
And these should be fixed too though less critical
https://github.com/konveyor/operator/blob/b51f88755b5a44d7588ceecfb4f1a4596da712e3/bundle/manifests/konveyor-operator.clusterserviceversion.yaml#L54-L55

Related to https://github.com/konveyor/enhancements/issues/108


Puneri Hat FIlter Added

Fixes: #66
Proposed Changes

Pune FIlter added, Wanna be Punekars ?

Screenshots

This feature is not required!


[🐞] state of server action is not reset if reused.

Which component is affected?
Qwik Runtime
Describe the bug
Server action has state such as isPending, status and so on.
But it is not reset even if it is used multiple times for example in the onClick$ of <button>.
The state should be reset every time when run is called.
Reproduction
https://stackblitz.com/edit/qwik-starter-sjw5q4?file=src/routes/index.tsx
Steps to reproduce
No response
System Info
System:
    OS: macOS 13.1
    CPU: (8) arm64 Apple M2
    Memory: 54.91 MB / 24.00 GB
    Shell: 3.5.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 19.5.0 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.3.1 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 109.0.5414.119
    Firefox: 109.0
    Safari: 16.2
  npmPackages:
    @builder.io/qwik: file:../clone/qwik/packages/qwik => 0.17.5
    @builder.io/qwik-city: file:../clone/qwik/packages/qwik-city => 0.1.0-beta14
    undici: 5.14.0 => 5.14.0
    vite: 4.0.4 => 4.0.4

Additional Information
No response

I found this issue has been solved with the latest qwik.


WIP: Update GpuTimeZoneDB to support DST

Fixes https://github.com/NVIDIA/spark-rapids/issues/6840.
This adds rules the the timezone database for DST support.
Eventually this will need to be updated with C++ code to take the rule information and update timestamps based on DST. This means that the rules will need to be applied on the fly to determine what offset to use. It will probably require using extraction to figure out which time of the year the right transition would apply as opposed to the binary search from earlier.

Target to 24.04, close it, will put another PR.


Improve E2 Constants

Moved constant handling from tokenizer to compiler
Constants can now be these types: array vector angle string number (rather than just number and string)
Constants have descriptions in the E2Helper
Constants have extension filled in the E2Helper
Added _VECTOR_ORIGIN

E2Lib.registerConstant now takes a third optional parameter for the description of the constant for the E2Helper.
Note that arrays can only accept other vector/angle/string/number.
How it works
Basically
print(_VECTOR_ORIGIN)

Is the same as
print(vec(0, 0, 0))

This is also how it worked previously except it only accepted numbers and strings.
RFC
Any other constants to be added?

Can you run functions using the constants? What prevents _VECTOR_ORIGIN:setX(23)?

Can you run functions using the constants? What prevents _VECTOR_ORIGIN:setX(23)?

The constants desugar to creating the objects yourself, so they're practically C #defines. So you'd just be doing vec(0,0,0):setX(23) (although the set* functions don't actually mutate the object anyway)

Vec origin should be vec() for optimization reasons but I understand that's not how it works here.
_ANGLE_ORIGIN = ang(0, 0, 0)
_VECTOR_UP = vec(0, 0, 1)

Not sure about _ANGLE_ORIGIN as a name so I'm just going to add _VECTOR_UP for the time being, thanks


Broker edge release for Meshery build

Description
Meshery docker build and push for edge release flow is broken.
Expected Behavior

Screenshots/Logs

Environment:

Host OS:
Meshery Version:
Kubernetes Version:
Browser:

<!-- Optional
#### To Reproduce
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

@leecalcote Its been there since 2 months and no one noticed? :O


feat: adding Ankh WebSocket client implementation

Added client and client tests for event based WebSocket
Cleaned up server implementation and removed errors causing panics
Refactored server tests to use new client
Added increased timeouts for CI/CD pipeline
Added client usage to README
Added missing acknowledgements

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


feat(as-3605): back office group user table

feat(as-3605): back office group user table

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

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

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

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

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

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

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


Uncaught TypeError: $(...).sideNav is not a function

Hi,
Seems that the sideNav isn't defined or names or typo is incorrect and the following error is showing in browser console:
Uncaught TypeError: $(...).sideNav is not a function
Check it please. Thanks

+1 - This is still isn't resolved... 10 months later...

Same problem :(


Support Rhino 6000(+)

labelle currently doesn't support the Dymo Rhino 6000+
I'm currently working on support for it in https://github.com/d-griet/labelle/tree/f/rhino-6000%2B.
It currently works, but has some vertical offset which needs some more testing/debugging. Additionally we should probably ensure that the this work doesn't break existing label writers by only applying the transforms for the Rhino 6000+.
Feedback and/or ideas on the current work is of course welcome :smile:

Nice!!! This looks really simple and well-structured. Could you please open a PR from your branch into main?
Could you please add some high-level context about why mirror_byte is necessary for the Rhino 6000+ and what exactly it does? (Perhaps with a really simple example computation?) I won't be able to test with my LabelManager PnP until later on this week, but after that this seems like it should be fairly straightforward to merge.

I've created a draft pull request as your feedback hasn't been processed as well as breakage with other products hasn't been confirmed (it's very likely to break on other platforms).


CTFE format(): str[index] is used before initialized

elpenguino+D reported this on 2019-03-28T23:58:40Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=19769
CC List

acehreli
bugzilla (@WalterBright)

Description
trying to format the result of a const asCapitalized(string) at compile-time causes a used-before-initialized error in std.utf.decode(), as demonstrated below:

```
import std.uni;
import std.format;
static immutable x = format("%s", cast(const)"test".asCapitalized);
```

results in this error:

```
/dlang/dmd/linux/bin64/../../src/phobos/std/utf.d(1132): Error: str[index] is used before initialized
/dlang/dmd/linux/bin64/../../src/phobos/std/uni.d(9143):        originally uninitialized here
/dlang/dmd/linux/bin64/../../src/phobos/std/format.d(3457):        called from here: decode(str, i)
/dlang/dmd/linux/bin64/../../src/phobos/std/format.d(4233):        called from here: formatElement(w, e, f)
/dlang/dmd/linux/bin64/../../src/phobos/std/format.d(1854):        called from here: formatValueImpl(w, val, f)
/dlang/dmd/linux/bin64/../../src/phobos/std/format.d(3552):        called from here: formatValue(w, val, f)
/dlang/dmd/linux/bin64/../../src/phobos/std/format.d(4233):        called from here: formatElement(w, e, f)
/dlang/dmd/linux/bin64/../../src/phobos/std/format.d(1854):        called from here: formatValueImpl(w, val, f)
/dlang/dmd/linux/bin64/../../src/phobos/std/format.d(575):        called from here: formatValue(w, _param_2, spec)
/dlang/dmd/linux/bin64/../../src/phobos/std/format.d(6403):        called from here: formattedWrite(w, fmt, _param_1)
onlineapp.d(3):        called from here: format("%s", asCapitalized("test"))
```

acehreli commented on 2019-12-05T20:53:17Z
Similar:

import std.string;

struct S {
  int i = void;
}

void main() {
  auto s = S(42);
  auto f = format!"%s"(s);
}

Error: cannot read uninitialized variable `i` in CTFE

bugzilla (@WalterBright) commented on 2019-12-05T16:20:06Z
My former comment is a little bit misleading. It's the correct formatValueImpl, which is called, but inside this function the static if, checking for an InputRange, is not executed. This is, because after the cast to const, we have a `const(ToCapitalizerImpl)` which is not anymore recoginzed as an InputRange (i.e. isInputRange fails).

The reason is, that empty, front and popFront would need to be const for a const object, but they cannot be const, because they change the object.

IMHO, this is an invalid bug. The result of "test".asCapitalized is an InputRange and not a string as probably was intended. So, the correct call (if that cast(const) is really needed) would be:

import std.uni;
import std.format;
import std.array;
static immutable x = format("%s", cast(const)"test".asCapitalized.array);

Having said this: The errormessage is confusing. Maybe, the struct part of formatValueImpl should check if a member is initialized, before trying to access it... Therefore I leave this open.

New test example:

```
import std.format;

struct Foo
{
    int a = void;
}

static x = format("%s", Foo());
```

bugzilla (@WalterBright) commented on 2019-12-05T14:58:35Z
The problem here is, that asCapitalized returns a struct (ToCapitalizerImpl, which is a range), but the overload of formatValueImpl for structs (instead of ranges or the more expected strings) is choosen for printing. This wrong formatValueImpl tries to print all members of the struct, including the uninitialized ones.


Scope function:  Azure Client ID

Is your feature request related to a problem? Please describe.
This feature request will enable us to tag all resources with the Azure Client ID (Application Object ID) of who created the resources. We have this as common use case with our customers when they work with several subscriptions.
Describe the solution you'd like
I would like to have a scope function similar to the subscription or tenant function :
@description('Common tags for all resources')
param tags object = {
  env: stage
  managedBy: client().id
  project: prefix
}

Thanks @alex-frankel & @jennyhunter-msft for the explanation.
That is perfectly fine. I have no urged need to have it immediately for all PR now. I just thought I missed something here. 😊


Runtime-written image doesn't load in ISR pages when in production

Browser
No response
Description
In Incremental Static Regeneration (ISR) pages that write images to the /public directory via getStaticProps(), those images work in development mode. You can see the 200 request here from the image properly making its way to the Next.js image cache directory.
See caching behavior here: https://nextjs.org/docs/api-reference/next/image#caching-behavior

The image in question is correctly in the .next directory's image cache.

Steps to reproduce
When doing a production build with npm run build followed by npm run start, you can see that the image never resolves because the Next.js image cache isn't populated. It's as if Next.js didn't detect that getStaticProps() in the ISR page wrote a new image to disk, that the page is requesting.
The image request is stuck pending:

Because the image doesn't exist in the .next directory:

But the image is properly in the /public directory.

It's almost as if we need to manually tell Next.js to prime it's image cache after we write a new file to disk when in production mode. "Hey, there's a new image that you should know about, here it is, because we'll be using it."

https://nextjs.org/docs/api-reference/next/image#caching-behavior

Images are optimized dynamically upon request and stored in the <distDir>/cache/images directory.

In production mode, is there a race condition where the page requests the image before it's written to disk, so Next.js never optimizes it thus never moves it to its cache directory?

https://nextjs.org/docs/basic-features/static-file-serving

Note: Only assets that are in the public directory at build time will be served by Next.js. Files added at runtime won't be available. We recommend using a third party service like AWS S3 for persistent file storage.

Related: https://github.com/vercel/next.js/issues/12656

https://vercel.com/docs/concepts/next.js/image-optimization
I don't see how this would be any different when hosted by Vercel, as the JIT-written images to /public never make their way to the Next.js <distDir>/cache/images directory when in production mode.

Same issue when the page is Server Side Rendered (SSR), which makes sense, as the image isn't processed at build time like Static Generation.

Options:

Switch to static generation... but that won't scale. Not really an option.
Custom Next.js server to serve images dynamically written to disk. We'd then need to figure out how to leverage Next.js image optimization with our own static file folder with our own cache management, etc.
Use an external cloud provider like Imgix or Cloudinary to optimize and host all images.

With (3), we'd want to ensure proper access control of the static assets. (Directory traversal probably is protected against so we're probably good here?) Additionally, we could still generate the base64 placeholder blur images on-demand through getStaticProps() or even Next.js middleware to optimize how often those placeholders are generated.

Option 4) Save images to our own static storage where we pre-optimize, etc.

@francinelucca I'm closing this for now, because in v1 we'll only be serving images that are open source (have publicly-available URLs) that we can directly use. This means we won't have to write any images to disk.


Ferdi logs me out from every service on restart

Bug description:
If I restart the ferdi app, I'm logged out from every service.
Steps to reproduce:

Right click on tray icon
Click on 'Quit ferdi'
Start ferdi again
See yourself being logged out from 18 services.

Expected behavior
Stay logged in like with the rambox app.
Screenshots

Environment:

Operating System: Arch Linux / EndeavourOS

Ferdi Version: 5.6.0-nightly.71

Server: Telegram, WhatsApp, Zulip, Element (Matrix), Discord, Slack, Threema, Facebook, Reddit, Skype, Jabber, Hangouts, Gitter, Instagram

Debug information:

I can't publish the debug informations, since the button seems to be deactivated.

Fixed after compiling ferdi from source code.
So probably with nightly 72 or newer.


Command to restore previous session?

Is there a way save filter preference which are defined in below variables and command which will restore my vim LeetCode session?
b:leetcode_categories   ['algorithms']
b:leetcode_sort_column  level
b:leetcode_sort_order  asc
b:leetcode_buffer_topic  dynamic-programming
b:leetcode_state       All
b:leetcode_buffer_type  topic
b:leetcode_difficulty  All

If you add the commands to your .vimrc (or init.vim if you are using neovim), the preferences will persist between sessions. If you are referring to having the code to a problem persist between sessions, you can write the file containing the code to disk. When you next open vim, if you do so in the directory where you saved the file, the code will persist between sessions.


This should leverage CharMeasure

Issue created from code comment with imdone.io

TODO:  This should leverage CharMeasure id:119
src/vs/workbench/parts/terminal/electron-browser/terminalConfigHelper.ts:58
@imdone - Efficiently manage your project's technical debt. imdone.io

Issue closed by removing a comment.

TODO:  This should leverage CharMeasure id:119 gh:146
src/vs/workbench/parts/terminal/electron-browser/terminalConfigHelper.ts:58
@imdone - Efficiently manage your project's technical debt. imdone.io


base64 jks to p12

Codecov Report

Merging #79 (8c35a93) into main (29cd139) will decrease coverage by 0.43%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main      #79      +/-   ##
============================================
- Coverage     32.03%   31.60%   -0.44%
  Complexity      146      146
============================================
  Files            72       72
  Lines           952      965      +13
  Branches         55       55
============================================
  Hits            305      305
- Misses          631      644      +13
  Partials         16       16

Flag
Coverage Δ

unittests
31.60% <0.00%> (-0.44%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

.../java/com/github/shoothzj/dev/secret/Constant.java
0.00% <0.00%> (ø)

.../com/github/shoothzj/dev/secret/ConvertSecret.java
0.00% <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 29cd139...8c35a93. Read the comment docs.


remove unnecessary react import

From React 17 onwards, react is no longer required to process JSX. So, we can remove react import in App.js

You're welcome! 😊


Configures version updates for GitHub Actions

Context
Actions are often updated with bug fixes and new features to make automated processes more reliable, faster, and safer. We should enable Dependabot version updates for GitHub Actions so Dependabot will help ensure that references to actions in a repository's workflow.yml file are kept up to date.
Ensure dependabot is enabled consistently across BAT services based on the existing find implementation here
Changes proposed in this pull request
Addition of github-actions as a package-ecosystem to monitor with Dependabot
Guidance to review

Link to Trello card

Things to check

[ ] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[ ] API release notes have been updated if necessary
[ ] Required environment variables have been updated added to the Azure KeyVault

 Enable dependabot for Github actions


Automate MacOS Release build

Create infrastructure to automatically build macOS package for release builds

https://github.com/PowerShell/PowerShell/pull/6442


Errors occured while importing

Hi there.
I have a huge library (GOG Galaxy can't handle my amount of games) and tried importing my games to GG.Deals. Some stores worked, some didn't (Humble and Indiegala failed, for example).
I'd like to give you more details, but it seems that there is no error message within Playnite that I can export and paste here.
How to proceed? How to get you the data you need?

Same problem here. A library of 40k games. I would be happy to help debugging this if possible.

There seems to be a rate limit while importing. First try, with every shop checked in Settings except Steam, GoG and Xcloud, it should have imported over 5000 games. It didn't and imported <1000 games.
Now I am only checking one shop after the other and it imports games it didn't import the first time around.
Shops I have a lot of games from (>1000) still produce the same error message: "Error occured while adding games to GG.deals library." There is no other error message.

More info should be in the logs.
Would be best if you could go into %AppData%/Playnite/ and attach extensions.log file here.
Another question - did you wait for the metadata fetch to finish? As in, do all/most your games have descriptions, cover art, etc?

Here's my log:
extensions.log

22-08 18:54:05.506|ERROR|GGDeals#GGDealsService:Error while trying to add games to library.
System.NullReferenceException: Object reference not set to an instance of an object.
at GGDeals.Services.AddGamesService.d__6.MoveNext() in C:\Users\Qwx\src\Playnite.GGDeals\GGDeals\Services\AddGamesService.cs:line 63
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at GGDeals.Services.GGDealsService.d__8.MoveNext() in C:\Users\Qwx\src\Playnite.GGDeals\GGDeals\Services\GGDealsService.cs:line 59
22-08 18:54:05.664|INFO |GGDeals#GGDealsService:Finished adding games to GG.deals collection: Total: 38674,
NotFound: 0,
AlreadyOwned: 0,
SkippedDueToLibrary: 0,
Ignored: 0,
Added: 0
22-08 18:57:57.307|ERROR|GGDeals#GGDealsService:Error while trying to add games to library.
System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at GGDeals.Api.Services.GGDealsApiClient.d__5.MoveNext() in C:\Users\Qwx\src\Playnite.GGDeals\GGDeals\Api\Services\GGDealsApiClient.cs:line 40
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at GGDeals.Services.AddGamesService.d__6.MoveNext() in C:\Users\Qwx\src\Playnite.GGDeals\GGDeals\Services\AddGamesService.cs:line 63
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at GGDeals.Services.GGDealsService.d__8.MoveNext() in C:\Users\Qwx\src\Playnite.GGDeals\GGDeals\Services\GGDealsService.cs:line 59
22-08 18:57:57.477|INFO |GGDeals#GGDealsService:Finished adding games to GG.deals collection: Total: 38408,
NotFound: 0,
AlreadyOwned: 0,
SkippedDueToLibrary: 0,
Ignored: 0,
Added: 0

Metadata fetch haven't finished yet, I checked the logs and it I noticed there's a bunch of errors when doing that too, I guess steam rate limit was reached or something.

@Blantas thanks for the log!
Metadata is necessary to match games with GG.deals. Best to wait for metadata fetch to finish, or if some metadata is missing to manually fetch it before syncing with GG.deals.
The issue in the logs was caused by multiple parallel calls to the GG.deals API. I've implemented a fix for it and added better handling for errors coming from the API.
Should be solved in v2.1.0.


Context menu settings are not remembered

I just installed the latest Atom and symbols-tree-view, and I found out it has some useful context menu options.

While they are great, it would be better if they were plugin settings.

There's a bug. Open Atom, open a file, change the context menu settings, let's say hide classes, variables, and sort by name ascending. It works nicely. Then open one more file. The settings are reset back to default, it shows everything again, with or without the checkmarks next to the options when you open the context menu again.

I've also seen the issue where hiding variables/classes and opening a second file, or switching to a different file, will lose the settings.

Has some overlap with #51


Security Vulnerabilities

After pulling the Docker container from Docker Hub, Docker Scout found 4 different security vulnerabilities of varying severity, two being a High severity rating.

I just merged #364 to resolve the 3rd vulnerability in the list.
The kind-of vulnerability appears to be a false positive, as the CVE only mentions versions >=6.0.0 <6.0.3. See Snyk on it.
The 4th vulnerability is within the localtunnel dependency. I don't believe this vulnerability is a concern in localtunnel's case, and that's mentioned here.

Ah, alright! Thanks for clearing that up. Perhaps some type of disclaimer regarding this should be added to the repo's README.md?


Link related projects in README

I think it would be nice to have a list of related projects in the README.md. I just found this crate because of a post on r/rust about tide-governor so I hope having links in this repository will help people finding an implementation of governor for their favourite framework.
I really like the idea to allow different ecosystems to work on the same foundation with only framework-specific wrappers instead of having unique implementations that are bound to a single framework.
The projects I was thinking of were tide-governor and actix-governor and hopefully there will be more in the future :)
Thanks a lot for your work :+1:

That's an amazing suggestion! I likely won't have much time until about mid-January to action it quickly, so if you want to submit a PR, I'd be happy to approve it.

Thanks for the contribution!


Direct file uploads to S3 using presigned post requests

https://devcenter.heroku.com/articles/direct-to-s3-image-uploads-in-rails

https://devcenter.heroku.com/articles/direct-to-s3-image-uploads-in-rails

Direct link


dep improvements

I've done my best to simplify the installation of Go, MariaDB, and tooling dependencies (like protoc plugins, etc.). A helper for running MariaDB using docker-compose is also provided, but installation instructions for docker and docker-compose is not. Most of this stuff is Googleable, so it feels out-of-scope for the project, but I think it's worth having for now.
I suggest merging this and finding bugs as we go. On that note, everyone should keep an eye out and contribute if anything comes up.

Most of this stuff is Googleable, so it feels out-of-scope for the project, but I think it's worth having for now.

I agree. Does the Dockerfile not manage these dependancies in a cross platform way? I noticed it was removed.

@nqthqn To minimize any grief that may come by adding more developer dependencies, I created the tools/iso/dev script. That will setup the correct containers for a development environment (just the db for now). If anything further is added, the dev user experience should not change much, if at all. Containers are generally portable, but my concern is that ensuring a docker volume doesn't get deleted is much more fragile than not deleting a locally installed db. And the whole black-box ish is not really a great mindset to embrace for devs anyway. I just added it to learn about docker/docker-compose and allow new devs to push back the need to understand db setup.

@champagneabuelo It should be working now.

@mckelveygreg Greg had kindly reported an issue with WSL and systemctl usage in the mariadb install script. I resolved that by using sudo service mariadb restart, which should leverage whichever init system is used by WSL or plain Linux.

I just added docker and docker-compose dep installation to the dev container helper. Anyone willing/able to test it would be providing a great help. I'll try to run it on my kids' gaming linux system, but I may not have time in the next couple of days, and I don't have access to a darwin system.

The docker/docker-compose installation works for me on Ubuntu 16 using a fresh machine.

@champagneabuelo does this work on your mac? We've checked it on

[x] wsl,
[x] linux, but not
[ ] mac


[Feature]不同服务器的数据，是否提供在线join的可能

For example, SQL task A queries the data of A server and inserts the data obtained by B server database task A into SQL task B

@heroLi
for english only, please update the title and content to english.

@lenboo  i update it

@dailidong  can you help me?


Unable to get environmentsdata after running PullEnviornments

Expected behavior
I'd expect it to populate or generate some data from running PullEnviornments and place it in the cosmodb under Environments but it's empty. If I run ProcessPartner after PullEnviornments I get an error saying:

parsedStack
[{"assembly":"Microsoft.Azure.WebJobs.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","method":"Microsoft.Azure.WebJobs.Host.Bindings.Path.BindingTemplateToken+ExpressionToken.Evaluate","level":0,"line":212,"fileName":"C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Bindings\Path\BindingTemplateToken.cs"},{"assembly":"Microsoft.Azure.WebJobs.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","method":"Microsoft.Azure.WebJobs.Host.Bindings.Path.BindingTemplate.Bind","level":1,"line":112,"fileName":"C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Bindings\Path\BindingTemplate.cs"},{"assembly":"Microsoft.Azure.WebJobs.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","method":"Microsoft.Azure.WebJobs.DefaultResolutionPolicy.TemplateBind","level":2,"line":21,"fileName":"C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Bindings\DefaultResolutionPolicy.cs"},{"assembly":"Microsoft.Azure.WebJobs.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","method":"Microsoft.Azure.WebJobs.Host.Bindings.AttributeCloner1.TemplateBind","level":3,"line":361,"fileName":"C:\\projects\\azure-webjobs-sdk-rqm4t\\src\\Microsoft.Azure.WebJobs.Host\\Bindings\\AttributeCloner.cs"},{"assembly":"Microsoft.Azure.WebJobs.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","method":"Microsoft.Azure.WebJobs.Host.Bindings.AttributeCloner1+<>c__DisplayClass12_0.b__0","level":4,"line":247,"fileName":"C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Bindings\AttributeCloner.cs"},{"assembly":"Microsoft.Azure.WebJobs.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","method":"Microsoft.Azure.WebJobs.Host.Bindings.AttributeCloner1+<>c__DisplayClass6_2.<.ctor>b__10","level":5,"line":87,"fileName":"C:\\projects\\azure-webjobs-sdk-rqm4t\\src\\Microsoft.Azure.WebJobs.Host\\Bindings\\AttributeCloner.cs"},{"assembly":"Microsoft.Azure.WebJobs.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","method":"Microsoft.Azure.WebJobs.Host.Bindings.AttributeCloner1.ResolveFromBindings","level":6,"line":347,"fileName":"C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Bindings\AttributeCloner.cs"},{"assembly":"Microsoft.Azure.WebJobs.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","method":"Microsoft.Azure.WebJobs.Host.Bindings.AttributeCloner1.ResolveFromBindingData","level":7,"line":291,"fileName":"C:\\projects\\azure-webjobs-sdk-rqm4t\\src\\Microsoft.Azure.WebJobs.Host\\Bindings\\AttributeCloner.cs"},{"assembly":"Microsoft.Azure.WebJobs.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","method":"Microsoft.Azure.WebJobs.Host.Bindings.BindingBase1+d__7.MoveNext","level":8,"line":49,"fileName":"C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Bindings\BindingBase.cs"},{"assembly":"System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","method":"System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw","level":9,"line":0},{"assembly":"System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","method":"System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess","level":10,"line":0},{"assembly":"System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","method":"System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification","level":11,"line":0},{"assembly":"System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","method":"System.Runtime.CompilerServices.TaskAwaiter1.GetResult","level":12,"line":0},{"assembly":"Microsoft.Azure.WebJobs.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","method":"Microsoft.Azure.WebJobs.Host.Triggers.TriggeredFunctionBinding1+d__8.MoveNext","level":13,"line":98,"fileName":"C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Triggers\TriggeredFunctionBinding.cs"}]

outerId
4581336

message
No value for named parameter 'PartnerCenterEndpoint'.

type
System.InvalidOperationException

id
41736492

severityLevel
Error

outerId 4581336
message   No value for named parameter 'PartnerCenterEndpoint'.
type  System.InvalidOperationException
id 41736492
severityLevel Error
Actual behavior
I'd expect it to populate some environment data and for it to run ProcessPartner to populate the database.
Steps to reproduce the problem
Provision a fresh AAD app and a new resource group, run the ARM provisioning and manually start the PullEnviornments (this actually says success) and ProcessPartner functions. In my environment the AAD app and the resource group that contains the solutions are in two different tenants.
Some additional information:
The owner tenant of the AAD app enforces MFA on all members of the AdminAgents group, so i did some testing when running the following code from outside and inside trusted locations:
Get-Credential with username being the ApplicationId, password being ApplicationSecret
$creds = Get-Credential
$tenantID = {AAD App owner GUID}
Add-AzureRmAccount -Credential $creds -Tenant $tenantID -ServicePrincipal
From inside a trusted location:
Account          : appid
SubscriptionName :
SubscriptionId   :
TenantId         : {GUID of the AAD the App is in}
Environment      : AzureCloud
From outside a trusted location:
Account          :
SubscriptionName :
SubscriptionId   :
TenantId         :
Environment      :

Hi @FrodeOA with this new deployment the environments collection is control through the newly introduced portal. You will need to browse to the web app that was deployed and create a new environment for the solution to work as designed. I will augment the code, so this is more obvious. Also, I am in the process of updating all the documentation today. That way you will have a guide that will help guide you through everything.

So i provisioned a new instance and I can't access the configuration site, I assume I'm supposed to go to the non functions app  service URL but that just gives me this error: HTTP Error 502.5 - Process Failure
Also is the URL I entered when creating the AAD app used for anything?

Hi @FrodeOA, that is good catch. After some debugging I discovered that the list permission was missing for the web app with respect to Azure Key Vault. You can correct this issue manually by modifying the access policies defined within Azure Key Vault. You will need to add the list permission for the service principal associated with your web application. The simplest way to do this is through the Azure portal by performing the following

Locate and open the instance of Azure Key Vault deployed by the ARM template
Under Settings click Access policies
Click on the application with the same name as your web app
Add the list permission under the Secret permissions drop down
Click Ok
Click Save to commit these changes

Once you have performed this the web portal will load correctly. Pull request #40 contains a fix for this exact issue, so it will not happen with future deployments.

Well now I have a new error:
Sign in
Sorry, but we’re having trouble signing you in.
AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application:

Hi @FrodeOA, thank you for working with us to resolve all these issues. I have updated the FAQ to help address this issue and the others you might have. I would recommend that you check out the following entries
How do I fix AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application?
Why do I receive an access denied message when attempting to access the portal?
What should I do if the Partner Smart Office Admins role is missing?
Please let me know if you have any other issues.

So I tried to follow:
How do I fix AADSTS50011 and when adding http://.azurewebsites.net/signin-oidc to Reply URLs I get an error saying data validation error, if I enter http://*.azurewebsites.net/signin-oidc the website doesn't work and if I add the smart office URL it doesn't work. So what is the value supposed to be?

Hi @FrodeOA,
Are you still having issues?

If you are still having trouble please feel free to reopen this issue.


Block Synchronization

Need to figure out a way to gather the past ~100,000-300,000 blocks and then keep the bot synchronized and polling prices for every block

done lfg


doc: Add mermaid graph of Rust module dependencies

We may want to revise this, but this is a very cool addition to the README so let's go ahead and land it :raised_hands:


Azure Devops Demo generator, custom template?

Is it possible to create your own custom template and deploy with Azure Devops Demo?
Is Azure Devops Demo generator solution open source?

Hi Baatch,
Yes, it's possible to create your own custom templates and deploy with Azure DevOps Demo Generator. But this feature is not yet public and it's in the development phase. We will let you know once it's out for public preview.  And the Azure DevOps Demo generator source code also going to be open source soon.
Thanks


Microsoft Edge Support wanted

A simple solution is to publish downloadable install CRX file in this repo.

We are adding the zip file in artifacts folder. also the microsoft edge can install extensions from google web store


Fallback to db:test:prepare when test:prepare rake is not found

The rake to prepare rails test in Rails 6 (and below) is bin/rails db:test:prepare.

Could you do a similar PR for cssbundling-rails? Thanks!

Ha. See that you already did 🤘


chore: improve parsing pydantic models

Status
READY
Description
Current parsing logic for GenerateParams is not bulletproof. This PR improves it and add some test cases.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

19 of 20 (95.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.04%) to 96.695%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/genai/utils/general.py
9
10
90.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
2282

Relevant Lines:
2360

💛  - Coveralls


[Feature] Support for isort pycharm style -> case sensitive sort

We currently use flake8 with import order that is set to pycharm. And would like to sort case sensitive.
https://pypi.org/project/flake8-import-order/
Currently there are:
cryptography - see an [example](https://github.com/PyCQA/flake8-import-order/blob/master/tests/test_cases/complete_cryptography.py)

google - style described in [Google Style Guidelines](https://google.github.io/styleguide/pyguide.html?showone=Imports_formatting#Imports_formatting), see an [example](https://github.com/PyCQA/flake8-import-order/blob/master/tests/test_cases/complete_google.py)

smarkets - style as google only with import statements before from X import … statements, see an [example](https://github.com/PyCQA/flake8-import-order/blob/master/tests/test_cases/complete_smarkets.py)

appnexus - style as google only with import statements for packages local to your company or organisation coming after import statements for third-party packages, see an [example](https://github.com/PyCQA/flake8-import-order/blob/master/tests/test_cases/complete_appnexus.py)

edited - see an [example](https://github.com/PyCQA/flake8-import-order/blob/master/tests/test_cases/complete_edited.py)

pycharm - style as smarkets only with case sensitive sorting imported names

pep8 - style that only enforces groups without enforcing the order within the groups

In isort there is:
Case Sensitive
Tells isort to include casing when sorting module names

Type: Bool
Default: False
Config default: false
Python & Config File Name: case_sensitive
CLI Flags:

--case-sensitive

Is it possible to describe the settings you're looking for in terms of isort configuration? (Is it possible to achieve with isort, or is the ordering not supported by isort at all?)

(I see that you mentioned --case-sensitive below, but I'm guessing that's not sufficient to achieve what you're looking for.)

Based on my testing isort feature case-sensitive is enough and it is mostly compatible.
Can you support this flag? And if we need more I will file another issue.

Yeah, don't mind supporting this flag.


Added app/locale directory

Added the path app/locale/* to the matched paths method
Updated readme file

I just noticed that you used to have this code https://github.com/andkirby/modman-generator/commit/b556144e7504647f450dffae0340cd660d62176c
Maybe it was removed by mistake?

Yeah, correct. Thanks for these commits.


Use formatter integration API

In VS Code there is special API for integrating formatters. Take a look at registerDocumentFormattingEditProvider and registerDocumentRangeFormattingEditProvider. When using these functions to register a formatter, it will be called from the context menu format actions, the default keybindings, and they will automatically be part of the format on save feature. Migrating to that API should be simple and I there to answer questions

Fixed it.
Thanks so much.


My Resources Page: Restyle Resource Listing and Add Resource Selection

The listing of resources on the My Resources page needs some love. The following are needed:

[x] Users need to be able to select resources on which they want to perform actions. This could be done by either adding a check box to the left column for each resource or by using a distinct selection color when a user clicks or shift-clicks on a resource.
[x] It would be helpful to have some sort of visual clue as to what the resource type is (e.g., a thumbnail or icon or something like that
[x] Add sharing status as a column in the table
[x] Implement an intuitive scrolling (preferred) or paging mechanism for long lists

Other attributes that might be useful in the resource listing include:

First author
Date created
Statistics (e.g., number of views, downloads, etc.)

These could be implemented at a later date as part of a separate issue.

First author
Date created
Statistics (e.g., number of views, downloads, etc.)

Should I implement some of those attributes as a table column?

@mauriel133 - as soon as the other parts of this issue have been deployed, let's close this issue and create a new issue for these enhancements.  Statistics implies that we are actually tracking information about resources. Do we have any of that information available yet that you could put in a table column (e.g., views, downloads, etc.)?

The only thing I'm aware of is number of +1s. Not sure what the state of other statistics is right now. The previous items in the list have been implemented and merged into develop.

I'll create a new issue and close this one.


The meaning of epoch_iters.

Thank you for your great code.
I am puzzled about the epoch_iters in this line:
https://github.com/CSAILVision/semantic-segmentation-pytorch/blob/24e13b30f1af9f8ae7fb80b5cace899be3d1794a/train.py#L244
Why is the epoch_iters irrelevant to batch size? How can we set it if the training data contains about 7 million images?

I am also puzzled about this question.

of images in an epoch = epoch_iters * nr_gpus * images_per_gpu

But in that case, the epoch_iters is not irrelevant to the batch_size, is it? In the code it is explicitly stated that the number of iterations of each epoch is irrelevant to batch size. How can this be?


[Bug] showing up in fullscreen apps

Occasionally shows up for full screen apps like games

Is there any way you can reproduce this?


Intermittently failed to run fbp at the 1st trial on IIO sensors with "create" command in json file

Issue Description
Intermittently observed a failed running error at the 1st try but error gone while doing a 2nd try running with IIO Sensor and using "create" command to create device and load the sensor driver.
The failed warning/error may happen in a random location for example:
case 1: WRN: ./src/lib/io/sol-iio.c:916 sol_iio_add_channel() Could not find channel [in_magn_x] for device0
case 2: WRN: ./src/lib/io/sol-iio.c:252 set_current_trigger() Could not write to device current_trigger file
Suspect this is a timing issue where the sol flow node is trying to access the iio sysfs interface while iio framework is still creating the sensor interfaces.
Sample json & fbp code
====sol-flow.json====
{
"$schema": "http://solettaproject.github.io/soletta/schemas/config.schema",
"nodetypes": [
{
"name": "MyGyro",
"type": "iio/gyroscope",
"options": {
"iio_device": "l3gd20 create,i2c,pci0000:00/0000:00:17.2/i2c_designware.6,0x6B,l3gd20 0",
"buffer_size": 0
}
},
{
"name": "MyMag",
"type": "iio/magnet",
"options": {
"iio_device": "ak09911 create,i2c,pci0000:00/0000:00:17.2/i2c_designware.6,0x0C,ak09911 0",
"buffer_size": -1
}
}
]
}
====testGyro.fbp====
#!/usr/bin/env sol-fbp-runner
gyro(MyGyro)
timer(timer:interval=1000)
timer OUT -> TICK gyro OUT -> IN _(console)
====testMagneto.fbp====
#!/usr/bin/env sol-fbp-runner
magneto(MyMag)
timer(timer:interval=1000)
timer OUT -> TICK magneto OUT -> IN _(console)
Steps to reproduce
Take the log 1 below as an reproduce steps example:

Cold boot the system with no iio sensor device & driver loaded
Run the fbp with the "create" command in json config file to create sensor device and load the sensor driver (take gyro sensor as an example)
Run another fbp with the "create" command in json config file to create sensor device and load the sensor driver (take magneto sensor as an example)
Error observed: Failed to run flow
Run the same fbp again (take magneto sensor as an example) and no failing observed

Logs

Soletta version (top commit hash): tag v1_beta19
Soletta log 1: Log 1
Soletta log 2 (SOL_LOG_LEVEL = 5): Log 2
Soletta log 3 (SOL_LOG_LEVEL = 5): Log 3

Hi @lblim, @yongli3 & @barbieri,
This is another issue i faced during my testing of soletta on our APL-i Yocto Linux platform.
Thanks & Regards,
Wilson

For some problem in sol_iio_address_device(), the id is being always "0" and thus it finds the incorrect device. It is a bug on our side, but the provided sol-flow.json is also incorrect since all the iio_device ends with "0", that would be the IIO device to use. Maybe if you use "1" in there for the second module you load, it would "work".
As I said, it's a bug in our code, likely it wasn't tested with 2 IIO at the same time and resorting to "0" was always hitting the correct path.
Since the module should be already loaded, the problem seems to be in sol_iio_address_device() -> resolve_device_address() -> resolve_name_path() -> resolve_name_path_cb(). It should be reading /sys/bus/iio/devices/iio:device${ID}/name and if that matches the expected driver (ie: l3gd20), then it should extract ${ID} from the path and stop iterating the directory, then returning that number. The failed log says it's failing:
DBG: ./src/lib/io/sol-iio.c:1371 sol_iio_address_device() IIO device creation/resolving dispatching command: l3gd20
DBG: ./src/lib/io/sol-iio.c:140 craft_filename_path() available=4096, used=37, path='/sys/bus/iio/devices/iio:device0/name'
DBG: ./src/lib/io/sol-iio.c:1371 sol_iio_address_device() IIO device creation/resolving dispatching command: create,i2c,pci0000:00/0000:00:17.2/i2c_designware.6,0x6B,l3gd20
DBG: ./src/lib/io/sol-iio.c:1371 sol_iio_address_device() IIO device creation/resolving dispatching command: 0

That is, it tried to search for /sys/bus/iio/devices/iio:device0/name, it wasn't l3gd20, then it tried to create I2C pci0000:00/0000:00:17.2/i2c_designware.6,0x6B,l3gd20 and it failed (because was already loaded), then it uses the IIO device ID given in the sol-flow.json as last parameter: "0".
It may be worth to investigate https://github.com/solettaproject/soletta/blob/master/src/lib/io/sol-iio.c#L1155 to see what is happening there. I don't have the hardware with me, but those that have can check it out with a simple gdb breakbpoint and see what is happening with that loop.
@yongli3 can you check this while @edersondisouza is out?

@bdilly May I know when will be the target release date of v1? Please keep me posted as we will need to update our BSP to pull in v1.

@barbieri @bdilly whether this will be v1 or v2?

#2229

Hi @barbieri, @edersondisouza, @cabelitos and @bdilly
I have tried to build with latest commit (3cb8f47703975d1fafb89a57f5184fdf7bf5842b) and tried with the reproduce steps above and i still see the same issue:
root@intel-corei7-64-cavs-hda:/opt/soletta-dev-app/repos/singlesession/testfbp# ./runfbp.sh testWebGyro.fbp sol-flow2.json
[  344.200001] i2c i2c-6: new_device: Instantiated device l3gd20 at 0x6b
[  344.338517] iio iio:device0: registered gyroscope l3gd20
WRN: ./src/lib/io/sol-iio.c:559 iio_set_channel_scale() Could not set scale to 0.000000 on channel [in_anglvel_x] of device0
WRN: ./src/lib/io/sol-iio.c:559 iio_set_channel_scale() Could not set scale to 0.000000 on channel [in_anglvel_y] of device0
WRN: ./src/lib/io/sol-iio.c:559 iio_set_channel_scale() Could not set scale to 0.000000 on channel [in_anglvel_z] of device0
#anon:6:34 (0.000000, 0.000000, -0.000000) (direction-vector)
#anon:6:34 (0.000000, 0.000000, -0.000000) (direction-vector)
#anon:6:34 (0.000000, 0.000000, -0.000000) (direction-vector)
#anon:6:34 (0.000000, 0.000000, -0.000000) (direction-vector)
#anon:6:34 (0.000000, 0.000000, -0.000000) (direction-vector)
#anon:6:34 (0.000000, 0.000000, -0.000000) (direction-vector)
#anon:6:34 (0.000000, 0.000000, -0.000000) (direction-vector)
#anon:6:34 (0.000000, 0.000000, -0.000000) (direction-vector)
#anon:6:34 (0.000000, 0.000000, -0.000000) (direction-vector)
#anon:6:34 (0.000000, 0.000000, -0.000000) (direction-vector)
#anon:6:34 (0.000000, 0.000000, -0.000000) (direction-vector)
#anon:6:34 (0.000000, 0.000000, -0.000000) (direction-vector)
#anon:6:34 (0.000000, 0.000000, -0.000000) (direction-vector)
#anon:6:34 (0.000000, 0.000000, -0.000000) (direction-vector)
#anon:6:34 (0.000000, 0.000000, -0.000000) (direction-vector)

root@intel-corei7-64-cavs-hda:/opt/soletta-dev-app/repos/singlesession/testfbp# ./runfbp.sh testWebMagneto.fbp sol-flow2.json
[  381.020034] i2c i2c-6: new_device: Instantiated device ak09911 at 0x0c
WRN: ./src/lib/io/sol-iio.c:930 sol_iio_add_channel() Could not find channel [in_magn_x] for device0
WRN:sol-flow-iio ./src/modules/flow/iio/nodes.c:308 magnet_create_channels() mdata->channel_x == NULL
WRN:sol-flow-iio ./src/modules/flow/iio/nodes.c:322 magnet_create_channels() Could not create iio/magnet node. Failed to open IIO device 0
WRN:sol-flow ./src/lib/flow/sol-flow.c:128 sol_flow_node_init() failed to create node of type=0x7fe40e336c40: Invalid argument
WRN:sol-flow ./src/lib/flow/sol-flow-static.c:463 flow_node_open() failed to init node #0, type=0x7fe40e336c40, opts=0x562bcfcd1450: Invalid argument
WRN:sol-flow ./src/lib/flow/sol-flow.c:128 sol_flow_node_init() failed to create node of type=0x562bcfcd1750: Invalid argument
Error: Failed to run flow

root@intel-corei7-64-cavs-hda:/opt/soletta-dev-app/repos/singlesession/testfbp# ./runfbp.sh testWebMagneto.fbp sol-flow2.json
WRN: ./src/lib/io/sol-iio.c:559 iio_set_channel_scale() Could not set scale to 0.000000 on channel [in_magn_x] of device1
WRN: ./src/lib/io/sol-iio.c:559 iio_set_channel_scale() Could not set scale to 0.000000 on channel [in_magn_y] of device1
WRN: ./src/lib/io/sol-iio.c:559 iio_set_channel_scale() Could not set scale to 0.000000 on channel [in_magn_z] of device1
#anon:6:37 (-0.000000, -0.000000, 0.000000) (direction-vector)
#anon:6:37 (-0.000000, -0.000000, 0.000000) (direction-vector)
#anon:6:37 (-0.000000, -0.000000, 0.000000) (direction-vector)
#anon:6:37 (-0.000000, -0.000000, 0.000000) (direction-vector)
#anon:6:37 (-0.000000, -0.000000, 0.000000) (direction-vector)
#anon:6:37 (-0.000000, -0.000000, 0.000000) (direction-vector)
#anon:6:37 (-0.000000, -0.000000, 0.000000) (direction-vector)
^C
root@intel-corei7-64-cavs-hda:/opt/soletta-dev-app/repos/singlesession/testfbp#

Regards,
Wilson

Hi @fulong82,
Could you please share a tree or ls -R output from directory /sys/bus/iio/devices after first try to run testWebMagneto.fbp?
Also, are you sure that on a newly booted device, testWebMagneto.fbp runs smoothly? Issue that @cabelitos found out would appear independently of running any other fbp.

Hi @fulong82
Could you also provide more detailed logs, please? With SOL_LOG_LEVEL="DBG"

Hi @edersondisouza & @cabelitos,
Sorry, i do not have my platform with me today and cannot recapture the new log according to your request. May do it tomorrow. But you could refer back to my 1st post Log files (let take Log3 which has SOL_LOG_LEVEL=5 for analyzing).
My observation to the issue happened in this manner:
1.) The json iio node type must fill the iio_device field in this manner: (1) sensor name, (2) create (3) iio device id for example:
"iio_device": "l3gd20 create,i2c,pci0000:00/0000:00:17.2/i2c_designware.6,0x6B,l3gd20 0",
"iio_device": "ak09911 create,i2c,pci0000:00/0000:00:17.2/i2c_designware.6,0x0C,ak09911 0",

2.) Run on clean system without any iio device being created
3.) Get the 1st iio device being created through the 1st run on 1st fbp file (for example gyro fbp)
4.) Get a 2nd iio device (this must be a different sensor type, same type will not get the issue) being created by running 2nd fbp file (for example magneto fbp)
5.) Then you will see the issue.
6.) Run the 2nd fbp again and the issue gone.
By analyzing the Log3, i believe the root cause of the issue is some code has run the "create" command  just before the sol_iio_address_device() do and race condition happened. You could observer it through Log3 file Line 29 - Line 36 and Line 108 - Line 117 where they need to go through 3 resolving dispatching command and when the 2nd run, one resolving dispatching command settle: Line 164.

Hi @fulong82,
Yes, we guess that log won't be different, but it's always good to have an updated one. But the tree or ls -R should provide new insights. We also would like to ensure that magnet device has nothing special on itself, that's why we would like to know if it works properly if it is first device created.
Regarding point 4), that's why using '0' as last instruction is bad: it will try to use a device that certainly is not of the expected type.
Of course, main bug here is Soletta failing to realise that device was created properly (second instruction).

Hi @fulong82,
I created a test branch so that gives us more information about what's happening. Could you, please, run your examples with this debug branch and provide us the output (with SOL_LOG_LEVEL="DBG") ?
If possible it would be nice to run the sol-fbp-runner with strace, however I don't know if strace is available at your environment. If it's available, please run the examples with it as well. Remember to run the example using the following commands:
strace -ff -oPathToStraceOutputFile sol-fbp-runner ArgsToSol-Fbp-Runner

The debug branch: https://github.com/cabelitos/soletta/tree/iio_debug

Hi @edersondisouza,
Here I captured the log that you requested.
1.) Perform ls -R before running the fbp: Log
2.) If I run the Magneto fbp 1st, the issue is intermittent. The 1st post Log 1 Line 75 has showed the failed case. Here i captured a succeeded case Log.
Regards,
Wilson

Hi @cabelitos,
Here is the log files you requested:
1.) Log with SOL_LOG_LEVEL="DBG": Log
2.) Strace output (only captured on the failed run and 2 files generated): strace_log
Regards,
Wilson

Hey @fulong82,
I merged a new fix for your problem. It's already in our master branch. Can you test it again please?
This commit 1b3a9c0 introduces the fix.
Thank you

Hi @cabelitos,
I have tested and it is working now. Thx.
Regards,
Wilson


add delegateToken method

@hzalaz @cancan101

@hzalaz ping :)

@chirag04 thanks for the PR, added some comments.

@hzalaz updated the PR based on your feedback.

@chirag04 one last comment and we are good to go

@hzalaz added those validations. should be good to go


Add USAConversion.netkan

Breakup of #1780

Done

One of its dependencies OMSKSpaceProducts is currently listed as only compatible with KSP 1.0.2, might have to add an override for that. Otherwise tested manually, merging.


toString() method reference translations blank

Actual Behaviour
toString() method of various classes doesn't have their translations displayed, they are just blank.
The problem comes from using the JSON files here for the translations. For the most part they work, however when there is a key with name toString() it conflicts with the native object toString() method which when passed to the serialization function will simply strip out the toString() keys. As can be seen in es.json, toString() doesn't exist.
Expected Behaviour
toString() method should have translations when English version exist, or at least the English text should be shown.
Steps to reproduce it
Can be seen here and other places where there is a toString() method (p5.Color for example).
Screenshots of the issue

Would you like to work on the issue?
I plan to though will need a plan of action in conjunction with https://github.com/processing/p5.js/issues/5363. The JSON files' structure may need to be reworked. @yukienomiya Do you have any thoughts on this given that you worked on this feature?

There are problems with createP as well.

Thank you for catching this @limzykenneth !
I looked a bit into it and I found out the problem was caused by the function that updates the translated JSON files. In fact, the documentation of the toString() methods from both the p5.Color and p5.Vector classes were already contained in the en.json file.
In particular, the unflatten method from the flat library created a conflict when unflattening the object before writing down the file.
I'll open a PR with a small workaround so that the files get fixed straight away.

There are problems with createP as well.

I'll fix this too, thank you for catching this!
(For future reference) I believe this was caused by a previous bug: the HTML code portion of this methods' description was not enclosed in backticks so the <p> tags made it seem like the text was made up of two paragraphs instead of one (as shown below).
"createP": {
      "description": [
        "Creates a ",
        " element in the DOM with given inner HTML. Used for paragraph length text."
      ]
}

This has been automatically corrected in the en.json file when the original documentation was modified, where the description contains only one paragraph.
However, when updating the translated files, the updating function only deleted the second paragraph, hence why the description is incomplete.


feat: add fixed card

Extracted the fixedCard component

I had to add a new folder - public - for digesting images in storybook. If there is a different way of doing that, let me know. Thanks!

@lkappeler  the corners of the image are part of the image in the project. so is part of that, that is why i can't do anything about it.

@ralucacril What about just adding overflow hidden to the card?

@lkappeler IIRC it was on the card and then we moved it to an image container for some reason. What we could do is to add a container around the image within the card component though.

@lkappeler and @Averethel added the rounded corners.


Updates to Invoke and Docs on How to Serve Docs

Closes: #2819
What's Changed

This adds documentation on how to get started running docs locally for Mac (indicating HomeBrew install) and adds an invoke task to execute the command to keep things consistent.
❯ inv --list
Available tasks:

  black                  Check Python code style with Black.
  build                  Build Nautobot docker image.
  build-and-check-docs   Build docs for use within Nautobot.
  build-dependencies
  buildx                 Build Nautobot docker image using the experimental buildx docker functionality (multi-arch capability).
  check-migrations       Check for missing migrations.
  check-schema           Render the REST API schema and check for problems.
  cli                    Launch a bash shell inside the running Nautobot (or other) Docker container.
  createsuperuser        Create a new Nautobot superuser account (default: "admin"), will prompt for password.
  debug                  Start Nautobot and its dependencies in debug mode.
  destroy                Destroy all containers and volumes.
  docker-push            Tags and pushes docker images to the appropriate repos, intended for release use only.
  docs-local             Runs local instance of mkdocs serve (ctrl-c to stop).
  dumpdata               Dump data from database to db_output file.
  flake8                 Check for PEP8 compliance and other style issues.
  hadolint               Check Dockerfile for hadolint compliance and other style issues.
  integration-test       Run Nautobot integration tests.
  loaddata               Load data from file.
  makemigrations         Perform makemigrations operation in Django.
  markdownlint           Lint Markdown files.
  migrate                Perform migrate operation in Django.
  nbshell                Launch an interactive nbshell session.
  performance-test       Run Nautobot performance tests.
  post-upgrade           Performs Nautobot common post-upgrade operations using a single entrypoint.
  pylint                 Perform static analysis of Nautobot code.
  restart                Gracefully restart containers.
  start                  Start Nautobot and its dependencies in detached mode.
  stop                   Stop Nautobot and its dependencies.
  tests                  Run all linters and unit tests.
  unittest               Run Nautobot unit tests.
  unittest-coverage      Report on code test coverage as measured by 'invoke unittest'.
  vscode                 Launch Visual Studio Code with the appropriate Environment variables to run in a container.

❯ inv docs-local
poetry run mkdocs serve
INFO     -  Building documentation...
INFO     -  Cleaning site directory
INFO     -  The following pages exist in the docs directory, but are not included in the "nav" configuration:
              - development/generic-views.md
              - installation/centos.md
              - installation/selinux-troubleshooting.md
              - installation/ubuntu.md
              - models/circuits/circuit.md
              - models/circuits/circuittermination.md
              - models/circuits/circuittype.md
              - models/circuits/provider.md
              - models/circuits/providernetwork.md
              - models/dcim/cable.md
              - models/dcim/consoleport.md
              - models/dcim/consoleporttemplate.md
              - models/dcim/consoleserverport.md
              - models/dcim/consoleserverporttemplate.md
              - models/dcim/device.md
              - models/dcim/devicebay.md
              - models/dcim/devicebaytemplate.md
              - models/dcim/deviceredundancygroup.md
              - models/dcim/devicerole.md
              - models/dcim/devicetype.md
              - models/dcim/frontport.md
              - models/dcim/frontporttemplate.md
              - models/dcim/interface.md
              - models/dcim/interfacetemplate.md
              - models/dcim/inventoryitem.md
              - models/dcim/location.md
              - models/dcim/locationtype.md
              - models/dcim/manufacturer.md
              - models/dcim/platform.md
              - models/dcim/powerfeed.md
              - models/dcim/poweroutlet.md
              - models/dcim/poweroutlettemplate.md
              - models/dcim/powerpanel.md
              - models/dcim/powerport.md
              - models/dcim/powerporttemplate.md
              - models/dcim/rack.md
              - models/dcim/rackgroup.md
              - models/dcim/rackreservation.md
              - models/dcim/rackrole.md
              - models/dcim/rearport.md
              - models/dcim/rearporttemplate.md
              - models/dcim/region.md
              - models/dcim/site.md
              - models/dcim/virtualchassis.md
              - models/extras/configcontext.md
              - models/extras/configcontextschema.md
              - models/extras/graphqlquery.md
              - models/extras/imageattachment.md
              - models/extras/job.md
              - models/extras/joblogentry.md
              - models/extras/jobresult.md
              - models/extras/secret.md
              - models/extras/secretsgroup.md
              - models/ipam/aggregate.md
              - models/ipam/ipaddress.md
              - models/ipam/prefix.md
              - models/ipam/rir.md
              - models/ipam/role.md
              - models/ipam/routetarget.md
              - models/ipam/service.md
              - models/ipam/vlan.md
              - models/ipam/vlangroup.md
              - models/ipam/vrf.md
              - models/tenancy/tenant.md
              - models/tenancy/tenantgroup.md
              - models/users/objectpermission.md
              - models/users/token.md
              - models/virtualization/cluster.md
              - models/virtualization/clustergroup.md
              - models/virtualization/clustertype.md
              - models/virtualization/virtualmachine.md
              - models/virtualization/vminterface.md
INFO     -  Documentation built in 8.18 seconds
INFO     -  [07:25:49] Watching paths for changes: 'docs', 'mkdocs.yml'
INFO     -  [07:25:49] Serving on http://<IP_ADDRESS>:8001/projects/core/en/stable/
INFO     -  [07:25:50] Browser connected: http://localhost:8001/projects/core/en/stable/development/
INFO     -  [07:25:57] Browser connected: http://localhost:8001/projects/core/en/stable/development/

TODO

[x] Explanation of Change(s)
[x] Added change log fragment(s) (for more information see the documentation)
[x] Attached Screenshots, Payload Example
[x] Unit, Integration Tests
[x] Documentation Updates (when adding/changing features)
[x] Example Plugin Updates (when adding/changing features)
[x] Outline Remaining Work, Constraints from Design

For reference, the unordered list should be - not *.

Need to restart tests here. No changes made to code base and failing on a code test.


Add the PostgresStorageExtension to DuckDB

This PR aims to implement #56
It is still very barebones, a lot of the API's virtual methods are not implemented, but all existing tests are passing.
The existing functionality has been preserved as best as possible:

the PostgresIndexTable TableCatalogEntry will use the PostgresIndexScanFunction
the PostgresHeapTable TableCatalogEntry will use the PostgresSeqScanFunction
VIEWs are still handled by the ReplacementScan, replacing the view with its view_definition, which will get bound again and hit a PostgresIndexTable / PostgresHeapTable

I could find no tests for the PostgresIndexScanFunction, it's possible that functionality has been broken, but I've tried to keep as much of the existing code in tact.

Now that the duckdb connection is a singleton this needs some more work, as it currently assumes the catalog to be thrown away after every query.
The created catalog entries need to be part of the Transaction now so they can be cleared on commit

those changes aren't on main

those changes aren't on main, but it is something to think about going forward.

For clarity, @Y-- and me are working together for a POC that can be used to show motherduck. But those PRs are not being merged in main yet (they are not nearly ready)

Can you fix the merge conflicts with master? Then it should be much easier to try out. Also when compiling this PR locally I see a bunch of warnings.

when I merge with main I can't resolve a crash in test/regression/sql/query_filter.sql
SELECT a, c FROM query_filter_output_column WHERE b = 't1'; is what triggers it, it's a EXC_BAD_ACCESS somewhere in the query profiler.
I suspect that the query data gets prematurely deleted, it's duckdb data it's trying and failing to access.
I don't know why this query specifically is causing the problem, I know there was recently work done on filter / projection pushdown?

when I merge with main I can't resolve a crash in test/regression/sql/query_filter.sql
SELECT a, c FROM query_filter_output_column WHERE b = 't1'; is what triggers it, it's a EXC_BAD_ACCESS somewhere in the query profiler.

Did you fix this? Because I see you merged with main afterwards, and tests seem to pass now on CI.

I'd like to stop having to fix this with every PR that gets merged

Totally makes sense. Let's merge this quickly now.

when I merge with main I can't resolve a crash in test/regression/sql/query_filter.sql
SELECT a, c FROM query_filter_output_column WHERE b = 't1'; is what triggers it, it's a EXC_BAD_ACCESS somewhere in the query profiler.

Did you fix this? Because I see you merged with main afterwards, and tests seem to pass now on CI.

it's not, I can reproduce this on main and the PR that introduced it is https://github.com/duckdb/pg_duckdb/pull/195


feat: add support for creating multi-arch images using buildx

https://docs.docker.com/build/building/multi-platform/

Thanks for the contribution.
The images here are not built all at once since the source and binary rarely change. We have a Dockerfile.build to create the binaries via cross compilation (rather than emulation that buildx would likely use). The small binaries are committed to the git repo (each folder contains the binary for the respective architecture). The Makefile is only run from within that builder container. We then send the relevant commit to official images (like this PR), and each FROM scratch image is built on their respective architecture (like arm64v8).

Thanks for the contribution.
The images here are not built all at once since the source and binary rarely change. We have a Dockerfile.build to create the binaries via cross compilation (rather than emulation that buildx would likely use). The small binaries are committed to the git repo (each folder contains the binary for the respective architecture). The Makefile is only run from within that builder container. We then send the relevant commit to official images (like this PR), and each FROM scratch image is built on their respective architecture (like arm64v8).

Thanks for the feedback! Is there a reason you don't use the official gcc image during building? https://github.com/docker-library/hello-world/blob/415840e3fe9706ea8657e645d6eaaa674924dadd/Dockerfile.build#L11

Is there a reason you don't use the official gcc image during building?

Since the simple "Hello World" binaries are all cross built on one architecture, the Debian packages are user friendly for that (gcc-aarch64-linux-gnu, etc). The gcc image is mostly meant for compiling on a native architecture and doesn't include cross compilation.

The gcc image is also a very "upstream" GCC experience, and as such isn't typically the most user friendly image (most dependencies would need to be downloaded and installed manually instead of via packages, for example).


Feature: ASSIGN_BYTECODE_SEGMENTS hint

Issue Number: N/A
Type

[x] feature
[ ] bugfix
[ ] dev (no functional changes, no API changes)
[ ] fmt (formatting, renaming)
[ ] build
[ ] docs
[ ] testing

Description
Breaking changes?

[ ] yes
[x] no

Hints related to selective bytecode loading can be similarly to SECP related hints left for later. It is an optimisation that os may or might not do. Not on critical path.

Hints related to selective bytecode loading can be similarly to SECP related hints left for later. It is an optimisation that os may or might not do. Not on critical path.

Yes I realized that a bit late. Oh well, it's implemented at least.

Looks ok, but something this complex really needs a test. There is at least one more bytecode related hint, btw.

Is this really complex enough? It's pretty trivial IMO, we just extract one field from a struct and turn it into an iterator. I can add tests if you insist.

The code here isn't, but the overall mechanism is, example: https://github.com/starkware-libs/cairo-lang/blame/master/src/starkware/starknet/core/os/contract_class/compiled_class.cairo#L118
But as @maciejka pointed out, it's not in critical path, so I suggest either close it or merge it for now, up to you.

The code here isn't, but the overall mechanism is, example: https://github.com/starkware-libs/cairo-lang/blame/master/src/starkware/starknet/core/os/contract_class/compiled_class.cairo#L118
But as @maciejka pointed out, it's not in critical path, so I suggest either close it or merge it for now, up to you.

Let's merge it, I don't see a reason not to.


Question: How do i set yande.re filename like in other boorus?

Well, ive been trying some combinations to make files downloaded from other boorus have the same tags than yande.re files... Anyone know how to do this? If its not possible, how to include some important tags (like what that char is wearing and things like this, for quick finding)

by "tag import" you mean tag loader? because i havent found that option, and after finishing downloading the tags i set this '%yandere_tags%' on filename settings but no changes/sucess.
Can you give me a light of how do i do this?

pls help?

It looks like the database generation doesn't work for me, I'll manually rip all the tags from yandere and create the setting you need for the config.
Or if you already have the tags, you need to some how copy them into the box in options > save > custom token > add custom token
name => %yandere_tags%
tags => paste all the yandere tags here OR put just the tags you want from yandere.
Reading your original post, you made it sound like you wanted just clothing items so you could also make
name => %clothes%
tags => clothing items ie: "leggings socks dress shirt" (ect)

I dont have, and even saving in the program seems to not work.
I have yande.re tags downloaded through another program, but i'm not really sure how should i paste them there...

yes, so try what I said. Are you trying to literally add all the yandere tags?

That will make any of those tags show up when you use %clothing_items% in your file name

Actually, i wanted one important (easy to identify) characteristic about an image, and looks like yande.re repository is very small, so when we save something from there it aways include one of these tags, it can be clothing, background (most of time its clothing or an accessory).
like this one: yande.re 428425 adachi_shingo heels pantyhose sword sword_art_online thighhighs
So i guess you're right. Just a question, where i can download all yande.re tags? Downloading through grabber doesnt seems to work, and i have no idea how to download them.
Srry for this long discussion, maybe its my bad english.


Cannot chain more than one call to a pg_search scope

ruby-1.8.7-p174 :001 > BlogPost.search("foo").search("bar")
ActiveRecord::StatementInvalid: PGError: ERROR:  ORDER BY "pg_search_rank" is ambiguous

More specifically, chaining scopes that go through associations doesn't work. Anything that uses :associated_against doesn't generate the correct sql when chained. Chaining simple :against scopes seems to be working fine.

#240 introduces a failing spec if anyone wants to try their hands at a fix.
I merged the spec into the issue-1 branch.

Should be possible to overcome this by making pg_search.rank unique. The only problem I see is that it is hardcoded in WithPgSearchRank module, so this would have to be changed first to not use a module like this to extend the scope but something coming from the ScopeOptions instance ...

I've written a fix inspired by @davearonson solution for this issue as I'm currently working on a project with rather complex uses of pg_search in combination with ransack. All tests are passing and I've written two more, based on @nertzy work. The gem behavior should be only minimally affected, enjoy!
More details in the commit message.


Add new Array & Date extensions

Summary of Pull Request:
Add new Array extensions
func forEach(where condition: (Element) -> Bool, body: (Element) -> Void)
func take(while condition: (Element) -> Bool) -> [Element]
func skip(while condition: (Element) -> Bool) -> [Element]
mutating func keep(while condition: (Element) -> Bool)
mutating func drop(while condition: (Element) -> Bool)
Add new Date extensions
isInWeekday

@SD10 Great job as usual 🥇

Thank you @omaralbeik.
Next PR I have to increase the update the tests to hit the default case. I missed 3 lines 😃

@SD10

This Slack integration is great. I can read everything that's happening in the repo 👍


Blade sections override. Unobvious behavior

Laravel Version: 5.5.34
PHP Version: 7.1.0
Database Driver & Version: None

Description:
Part of issue #18788
Can blade don't execute parent code of section if we don't use @parent?
If we use @push in parent section, then blade add code when is not needed...
Steps To Reproduce:
You need 2 views:
index.blade.php
@extends('layout')

@section('content')
    Child
@stop

@push('scripts')
    // Child needed scripts
@endpush

layout.blade.php
@section('content')
    Parent
    @push('scripts')
        // Parent NOT needed scripts
    @endpush
@show

@push('scripts')
    // Parent needed scripts
@endpush

@stack('scripts')

Expected behavior:
Child

// Child needed scripts
// Parent needed scripts

Actual behavior:
Child

// Child needed scripts
// Parent NOT needed scripts
// Parent needed scripts

If we change to:
layout.blade.php
@section('content')
    Parent
    @push('scripts')
        // Parent NOT needed scripts
    @endpush
@show

@push('scripts')
    // Parent needed scripts
@endpush

@stack('scripts')

Then
Actual behavior:
Child

// Child needed scripts
// Parent NOT needed scripts
// Parent needed scripts

Temporary solution:
layout.blade.php
@section('content')
    Parent
    @if(empty($__env->yieldContent('content')))
        @push('scripts')
            // Parent NOT needed scripts
        @endpush
    @endif
@show

@push('scripts')
    // Parent needed scripts
@endpush

@stack('scripts')

Can anyone help me with that?

You don't need to push the parent required JavaScript files to the stack, just simply put the scripts in the layout.
For Example:
@section('content')
    Parent
    @push('scripts')
        // Parent NOT needed scripts
    @endpush
@show

<script src="required.js"></script>

@stack('scripts')

This means that the parent required JavaScript files will always be first.

Hi. In my case it's impossible, because I extend vendor view (layout.blade.php for example) which can include additional views in section content. This additional views push scripts to the stack or append section javascript:
@section('javascript')
    @parent
    // ...
@stop

Thanks for your answer, but I need to delete // Parent NOT needed scripts from output, instead of JavaScript files will always be first.

This repository is for bug reports only.

@themsaid: Is this a bug or part of the design?

In OOP with method overriding, the parent method is not called if we do not use it specifically (parent::fooBar). Why is it not so?
We can't override vendor view without problems now, because the section in vendor view calls @push.
@push, in turn, adds code that should not be on the page after section overriding.
I think, the correct design should not cause such problems.

@themsaid: Closing since it's not actually a bug, this behaviour is by design, sections are compiled in order to be able to use the @parent directive.

I believe that the code from the subsections of the parent section should be added only when we ourselves called the parent section (@parent).
Theoretically, it is possible to make a compilation, in which the code will be "remembered", and not immediately "added." If the call to the parent section is still defined, then add the stored code.


Parameterize # of GameServer creations/deletions

#141 introduced functionality to batch create/delete the amount of GameServers to allow the GameServerBuild reconciler to properly update its status. At the moment, the number of items to be included in a Batch is a const, we should parameterize that, maybe with two env variables on the controller.

#141 introduced functionality to batch create/delete the amount of GameServers to allow the GameServerBuild reconciler to properly update its status. At the moment, the number of items to be included in a Batch is a const, we should parameterize that, maybe with two env variables on the controller.


AB tests not working when sending activation event right after activating remote config

[REQUIRED] Step 2: Describe your environment

Xcode version: 10.3
Firebase SDK version: 6.6.0
Firebase Component: Remote Config/AB Testing
Component version: 4.2.1/3.0.0

[REQUIRED] Step 3: Describe the problem
We have an ongoing issue since last year where activating an experiment (i.e. sending an activation event) exactly after calling [[FIRRemoteConfig remoteConfig] activateFetched] didn't work. That is because activateFetched presumably did some property setting related to AB tests in the background. We figured that out by logging firebase messages to the console.
We found that also to be the case because doing this
[[FIRRemoteConfig remoteConfig] activateFetched];

// This is a workaround for A/B tests not working when the activation event is sent too soon after `activateFetched`.
// Basically we delay further UI initialization and Analytics event dispatch enough that Firebase AB Testing framework has
// time to set-up a conditional user property internally used for marking ab test behaviour with activation event.
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{

    // send activation event here
});

made it work. But obviously this is not the way we wan't to use the API.
We were thrilled to see that fetchAndActivateWithCompletionHandler which should have async completion was added. But it seems the issue is still not fixed. AB tests still don't get activated.
I was looking at the newly open sourced code of Remote Config and AB testing and I think I can pin point the problem:
**fetchAndActivateWithCompletionHandler** calls **activateFetched** which in turn calls **activateWithCompletionHandler**

**activateWithCompletionHandler**  calls **[strongSelf updateExperiments]** which does not have a completion handler but if you follow the  updateExperiments method down the rabbit hole you'll find a call like this in **FIRExperimentController**

- (void)updateExperimentsWithServiceOrigin:(NSString *)origin
                                    events:(FIRLifecycleEvents *)events
                                    policy:(ABTExperimentPayload_ExperimentOverflowPolicy)policy
                             lastStartTime:(NSTimeInterval)lastStartTime
                                  payloads:(NSArray<NSData *> *)payloads {
  FIRExperimentController *__weak weakSelf = self;
  dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0), ^{
    FIRExperimentController *strongSelf = weakSelf;
    [strongSelf updateExperimentsInBackgroundQueueWithServiceOrigin:origin
                                                             events:events
                                                             policy:policy
                                                      lastStartTime:lastStartTime
                                                           payloads:payloads];
  });
}

which as you can see calls something on the background queue and it isn't synched to the original activateWithCompletionHandler.

Steps to reproduce:

Create an AB test that requires an activation even

Call fetchAndActivateWithCompletionHandler and in the completion block send the activation event

Relevant Code:
[[FIRRemoteConfig remoteConfig] fetchAndActivateWithCompletionHandler:^(FIRRemoteConfigFetchAndActivateStatus status, NSError * _Nullable error) {

        if (error) {
            return;
        }

        [FIRAnalytics logEventWithName:@"ActivationEvent" parameters:nil];
    }];

This is tracked in internal bug 141921647.

I would just like to comment that since 6.9.0 we are getting a really low number of users in the A/B testing dashboard which is how the bug manifested before we implemented our hack. I would assume that our hack broke because of some internal changes?
Either way, this is a big deal for us because now we can't do any A/B testing.

While debugging I noticed this message I get in the log:
[Firebase/ABTesting][I-ABT000003] Failed to get conditional user properties from Firebase Analytics.
No reason for failure given.

Chris, we need updateExperimentsWithServiceOrigin to have a completion handler to fix this.

Reassigning to @dmandar for work on the Remote Config side.

Not to be a bother, but any update on this? I see that the backend API has been updated.


Support peak_measured_mem on Windows

Fixes #177
This is needed for #621

This is failing for Windows on Lithops, since Lithops doesn't support measuring memory on Windows (see https://github.com/lithops-cloud/lithops/blob/fdb6432e9fdc1191a4205579efc0bac32bd8daf7/lithops/worker/utils.py#L151-L152). In addition, it seems to be returning "None" (as a string), which looks like a Lithops bug that should be reported upstream.


The compose button stopped working

This happened in Vivaldi browser. Should also be checked in Firefox

I believe all compose button issues should be resolved as of https://github.com/team-inbox/inbox-reborn/pull/33
@g60madman request for closure?


Customize firmware image header

This PR now updates the boot loader header and the app image header only when a user supplies override via the -s, -m and -f flags.
If no overrides are provided, the header is extracted from the esp-idf bootloader, and the same settings are used for the app header, by doing this we allow esp-idf SDKCONFIG settings to work seamlessly with espflash.
Closes https://github.com/esp-rs/espflash/issues/140

Looks good overall, thanks for figuring out that final bit for me!
--flash-size and --flash-freq seem to be working as intended, however --flash-mode does not. I'm not sure if I'm missing something here or if there is an actual problem, so I will do some digging.


Alignment with other materials/adjustments

Well I un-drafted this but it's not really ready for review.

I think we need to merge main into her to get the question boxes - because I think I started that after this PR started.

I'm-a-gonna merge in now.


Automatically generate dependabot changesets

Hey, I just made a Pull Request!
Took a second stab at this and inlined the script into the action to prevent "accidental" changes by users/tools.
Generates changeset(.changeset/dependabot-<short_hash>.md) for dependabot PRs that modifies package.jsons.
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)


Add trusted param to MultisigExecutionDetails

Closes #1005

The trusted parameter is already part of a MultisigTransaction transaction (in the Safe Transaction Service)
This change just forwards this parameter to the clients

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 3 files are covered.
6 unchanged lines in 4 files lost coverage.
Overall coverage increased (+0.03%) to 31.793%

Files with Coverage Reduction
New Missed Lines
%

src/routes/transactions/converters/tests/details.rs
1
39.54%

src/routes/transactions/converters/details.rs
1
29.99%

src/routes/transactions/converters/tests/is_cancellation.rs
1
57.07%

src/routes/transactions/converters/tests/transfer_type_checks.rs
3
57.49%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
13008

Relevant Lines:
14738

💛  - Coveralls


RPC call to luci/getLocaltime failed with error -32002: Access denied

The use of getLocaltime has been dropped with 68815c88b0ebcfd0116070510a4c43ccff1d0310 - seems you're running an incoherent package selection. Make sure that all LuCI packages, in particular luci-mod-system are updated to the latest version.


useReactions() hook

Returns reaction information about the message and updates when reactions change on the message

After some talks with @domin-mnd, we decided this would be somewhat difficult to include in core, and instead are considering making a separate library for DJS-specific helpers (think Reacord's lodash) that would include hooks like this.
We'd also need to figure out what a good API for this would look like specifically, e.g. would it only return a DJS live cache of reactions? What options should it accept? etc.

Yea customs hooks would be good, but you would need to be able to get the message id and rerender the component manually


Add credits file to display in the Credits scene

Raw contents of C7/credits.txt displayed in a simple Label. I was going to use RichTextLabel with BBcode but ran into formatting issues and just went with what worked. Exact text is TBD as we're awaiting a few more preferred names, and I'm not sure if there is any other software we need to credit.

Looks great when run from the editor.  When run from an exported version, it crashes due to being unable to find the file :(.
I looked at what JimOfLeisure did to get the static-json working, and he has a "Copy Hard-Coded Save" step in the build process (https://github.com/C7-Game/Prototype/blob/Development/.github/workflows/export-c7.yml) that does that.
Considering that we'll very soon have three resources to copy (static json, credits, background image), I think we're rapidly approaching where we should have a "resources" folder that contains all of our resources so we can just copy it over in one step.  I'm okay with band-aiding it for Babylon and having a Carthage task to make a more robust solution... but we need at least the band-aid or the credits won't be visible.

Agreed. I'll add error handling to this, which should be standard anyway. A unified resource packaging solution will mesh nicely with mod prototyping in Carthage.

That will fix the crash, but the credits still won't display to the end users in Babylon.  I'm okay with going ahead with it if you are, but if the point was to make them visible it is still defeated.

Oh, wait, there is actually MoonSharp and an INI reader library we're grabbing via NuGet. MoonSharp is not currently part of the distributable; it's in _Console/LuaCiv3 but will eventually find its way into C7 as the Lua interpreter. The INI reader is being used for unit .INI files and I think C7 config.
Off to look through the .csproj files and look up licenses...

MoonSharp license (unknown if standard): https://github.com/moonsharp-devs/moonsharp/blob/master/LICENSE
ini-parser license (MIT/expat): https://github.com/rickyah/ini-parser/blob/development/LICENSE
We're using ini-parser in the exported C7 now, but MoonSharp is only in one of the console apps so far.

I added all license/attribution text, and then went back to RichTextLabel because I needed it to scroll even though not all BBcode is working. Apparently the default font doesn't have styling and I couldn't get it to use our custom font, but that's polish we can add later.
Changed workflow step "Copy Hard-Coded Save" to "Copy Static Files" and added credits.txt.
Assuming the build works this should be ready to go now.

A follow-up on the Noto_Sans font license: @WildWeazel and I had a conversation. The Noto Sans zip I have from 2021 (containing files from 2013) has an Apache 2.0 license included with no owner or copyright date included, and that is the attribution included in the repo at https://github.com/C7-Game/Prototype/blob/Development/C7/Fonts/LICENSE-NotoSans.txt . I was quite sure this was originally from Google Fonts, but the current Google Fonts have an OFL license.
After our discussion I am in agreement that the OFL attribution is proper to include in the credits as has been done.
I did additional follow-up by re-downloading the current Noto_Sans.zip from Google fonts, and it comes with an OFL license file. The file lengths and md5 signatures differ from what's in the repo, but I installed an ran Google's fontdiffenator tool , and there are no glyph differences between the current files and the files currently in the repo.
I will replace the Noto_Sans font file in the repo and update the license file. The newer ttf file includes Google copyright info in the header when viewed with xxd and the old one doesn't. And I'll do some brief tests and make a PR.
I like being absolutely certain when it comes to licensing!

+1 for the YUMBO.
Is it intentional that the URLs show as underlined and with a hand cursor if you hover over them that makes it look like you can click them, but don't do anything when you click them?  It's no showstopper, but with the hand cursor I kind of thought it might open the link in my default browser or something.  As it is, it just teases me and makes me type it out if I do want to load the link.
Also, cross-ref #150 , the Noto Sans in the credits just says it's copyright Google, All Rights Reserved.  Doesn't mention the Open Font License.  Probably want to update that (whether in this PR or the other) since right now the credits make it look kind of like we just swiped a font from the Googleplex and haven't returned it yet.
+1 for the scrolling as well.
For Carthage we should probably also bold-ize or otherwise indicate the "sections"/components used to visually separate them.  It's a bit wall of texty without them.  Which is fine for now.

Bold and url tags were two of the BBcode features I didn't get working. I think we have to handle an event and forward the url to the OS. Bold seems to be because of the default font, and I couldn't get it load Noto.
Jim and I tried to figure out how to apply those licenses, and eventually found that attribution on this page: https://fonts.google.com/attribution

Hmm... I see it on the link you just mentioned, but it does mention "SIL Open Font License, 1.1" way off to the right of the Noto Sans area.
Definitely okay with having the BBCode features come post-Babylon!


Add a setting to disable bind mounts for non-admin users

Allowing bind-mounts for any users can open the Docker environment to security issues.
This will be a temporary measure until we implement a role system inside Portainer (see #1015 and #69).

Just a clarification for myself: the restriction implemented is about hiding bind mounts in container creation interface. This can still be easily bypassed creating a bind volume or a stack with volumes option.
Is this correct? Is it affordable a much stronger check on volume and docker-compose file options?
Thank you!

Will need to investigate.
Didnt think you could point a named volume to the root of the host, and that is what we are trying to protect against.
Rgds,
Neil Cresswell
On 20/02/2018, at 10:16 AM, Luca <notifications<EMAIL_ADDRESS>wrote:
Just a clarification for myself: the restriction implemented is about hiding bind mounts in container creation interface. This can still be easily bypassed creating a bind volume or a stack with volumes option.
Is this correct? Is it affordable a much stronger check on volume and docker-compose file options?
Thank you!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_1235-23issuecomment-2D366804555&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=RL2BXwNyCrmgOnVFUtRqCYOduiPwKuttf4UcaiVuDgs&s=rXGYaDDKwR2q9CUde5ouQsp-PfpUsc30B0yY-p5KcnQ&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGrlTEXZ6p9l6ItN8M17PA1NqFZQj1Pks5tWeSwgaJpZM4Pi91N&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=RL2BXwNyCrmgOnVFUtRqCYOduiPwKuttf4UcaiVuDgs&s=zAZfMO4gOxONYTP_3-sUjRApTr5LHYCRAD3YIqD1wO0&e=.

Hello, is this issue to be reopened? May I help in some way?
Thank you,
Luca

@lucamaro I'll open a separate issue to support this in stack deployments.

Thanks, even volume management is affected.