Who's using MudBlazor? 🥇

If you or your company is using MudBlazor for a public or internal application, we would like to showcase it on our website.

Product/Name/Title
Description
Screenshot
Link (optional)

Only post your project/application in here, please do not comment or ask questions.
Please note that for the website we will be some what selective and pick the ones that stick out, but feel free to show it off here anyway.

Hello @Garderoben,
First of all, I would like to thank you and your team for the great effort you are making in developing and enhancing MudBlazor components.
MudBlazor is surrounded by a community who do not skimp on providing you with their feedback, technical issues and suggested features. I can assure that MudBlazor will have a promising future in the near future.
I’ve just released BlazorPlate which is a starter boilerplate template for Blazor WASM projects with multi-tenancy features. It took me around two years of preparations, planning and development. It was supposed to be built with very basic Blazor components and that’s what happened until I read about MudBlazor in some Reddit posts then, I decided to revamp the wholw frontend part of the project with MudBlazor UI components.
Product Name: BlazorPlate
Description:  BlazorPlate is a starter project template for multi-tenant blazor applications with full source code.
Website: https://www.blazorplate.net/
Screenshot:

Hello,
I really like the Microsoft Teams Shifts so I'm on this adventure to create one with Mudblazor.
Since Mudblazor doesn't have a Scheduler yet, I had to create one from scratch with the various components that Mudblazor provides.
Unfortunately this project is not open source, maybe in the future...
Thanks the Mud Team for this awesome library.
Product Name: HRManager
Description: HRManager is a experimental project that combines Blazor and MudBlazor to re-create the Microsoft Teams Shifts application.
Gif:

Product: Damselfly
Description: A high-performance photo management app for large collections of photos, with AI/ML for face/object detection, facial recognition. Build with Blazor Server and EFCore, and using MudBlazor for the advanced search and config settings controls.
Possibly of interest: Damselfly uses many of its own custom controls and has its own theming system, so I wrote a mapping system that maps its themes to a MudPalette, to give a seamless look-and-feel across the MudBlazor controls and the rest of Damselfly.
Link: https://github.com/Webreaper/Damselfly
Screenshots:

Name: BlazorBits
Description: BlazorBits is a live website were the static Blazor WASM front-end is hosted for free on Cloudflare Pages and where I test new features of .NET & MudBlazor. It always uses the latest released Preview/RC .NET SDK (.NET 6 RC 2 at the time of writing, Oct 2021). I like to call it a production prototype. The front-end/client source (where I use MudBlazor) is available on GitHub.
The front-end connects to a Ubuntu co-located VPS back-end where the latest .NET SDK is running also and it provides .NET gRPC API services for database (SQLite) interaction (CRUD) and Authentication and Authorization (Register/Login). For the latter I use Microsoft Identity (which is not Identity Server 4.x).
The main goal of the website is to test if everything is running as it should on the latest released Preview/RC .NET SDK. Recently I've added code to utilize WASM trimming and it uses Brotli compression. It's more like a live technical preview rather than providing a useful service for end users, but you can see more than a couple of MudBlazor Components in action.
Last but not least: the website is optimized to run on your phone/tablet and desktop/laptop, In short: all .NET code runs on Ubuntu servers and you can access it with any device.
Link:  https://blazorbits.openwiki.com/

Just a mini file management out there :)

I made MyLogs based on MudBlazor + Blazor on WPF. It can be used as your personal jurnal, learning notes, simple todo app etc.
And it is also open source. https://github.com/slaveOftime/MyLogs

Product Name:
Agile Poker
Description:
A service that allows you to make the evaluation of agile projects simple and fun.
We at our company use Agile Poker to evaluate sprint work. The service was developed as a hobby project was well received in the company and now many people use it.
Screenshot:

Link:
https://agile-poker.ru

📦 Overtest - LMS for those, who learn to code (coming soon)
The product is an online judging system for holding programming competitions and long-term educational processes in schools and universities, where students learn programming. It has a simple and adaptive web interface, allowing users to practice algorithmization and programming on the go. You can use it with your learning management system like Moodle or Open edX - integration is simple and doesn't take much time. Overtest is very tiny, secure, and scalable. It doesn't take many system resources, can run in VM or containers, and uses system APIs to protect your hardware from potential threats (or misuse by your students 😅).
https://user-images.githubusercontent.com/7001431/147876201-40b6e2c9-364d-41b2-88d6-fad7a9a87cae.mp4
P.S. The project is in an early development stage. It has only Ukrainian localization for now. Source code will be available on GitHub at the end of January, under the terms of GNU Affero GPL v3 and later. Any ideas and support are appreciated 😃! And I would be happy if you follow me on Twitter - more news to come ✨!

@rhyskoedijk I noticed that you are you using Syncfusion too in your rust asset manager. What are you using it for?

Charts, just charts. The MudBlazor ones are great, they just lack some of the advanced features I needed.

Using it for a skateboard manufacturer! 3D Skateboard configurator! 😎

BlazorBoilerplate
Open Source Blazor starter template. Can chose Server or WebAssembly. Authentication & Authorization with real world / Enterprise code examples.  UI built with MudBlazor.
https://blazorboilerplate.com/
https://github.com/enkodellc/blazorboilerplate

)

I share my project with blazor server + clean architecture
GitHub repo. https://github.com/neozhu/CleanArchitectureWithBlazorServer
UI design followed by @Alexandre789010

Promotion & Claim Management System (PCMS)
Web App to manage distributors' promotions and claims for Upfield Indonesia

Using the MudBlazor library was a breeze and fun! 👍
Product

dotnet new -job

Description

A job board for dotnet developers. Just testing stuff as of now.

Screenshots

Link

https://dotnetnewjob.com/

Internal web app to connect financial and document management systems as well as manage document management system's permissions. Love Mud and love Blazor!

Proto.Actor framework https://github.com/asynkron/protoactor-dotnet uses MudBlazor for our Cluster Dashboard to view internal state and metrics

Internal app for my team to track, at a very high-level, what activities done in the day.
Timesheet status screen. Can select multiple Resources, of Teams along with which week you want to focus on.

Timesheet details which opens after clicking on a MudChip from the previous screen. You can enter activities, save as draft, complete or delete the timesheet.

Entering an activity.

Next phases are to build a UI/UX to allow management to easily input forecasted work (currently it's a CSV import) as well as view Forecasted work in some sort of calendar/datagrid (currently have to run a plain SQL script to get this info). Also planning to build a more personal view of the week for a resource to get an overview of their own tasks for the current week and input their activities etc. Finally, incorporate MS Power BI to report on the data.

I create a visitor management application. and use html5-QRcode implement blazor application scanning QRcode feature. that's cool.
this is my project
https://github.com/neozhu/visitormanagement
https://user-images.githubusercontent.com/1549611/162558943-cc736de0-a830-44bd-8342-ac2560b74b1b.mp4

In house / internal travel app i did for another company.

Internal IT Manager app i made a while back.

@Garderoben
can you share this project  template

Hello,
thank you for that great library. Currently i try to develop a password manager for personal use.

Product: Blazor(Game)Library
Description: Blazor-MAUI hybrid, to collect your games in a library, with genre etc.
Uses the API of rawg.io, to get images etc. More of a fun project rather than something serious, still thankful for MudBlazor!
Screenshot:

Link: https://github.com/liebki/BlazorLibrary

StalcraftClan
Clan search, player search and emission tracker for an MMOFPS game Stalcraft.
Blazor WASM hosted with prerendering and WebAPI, MongoDB database, WASM loading offloaded to static page on CloudFlare pages.

StalcraftClan
Clan search, player search and emission tracker for an MMOFPS game Stalcraft.
Blazor WASM hosted with prerendering and WebAPI, MongoDB database, WASM loading offloaded to static page on CloudFlare pages.
Also has clan-specific pages and login system coming very soon.
URL: https://stalcraftclan.com

That looks clean. Good job

PhotosNepal.com
Nepali Stock Photos Website

https://www.photosnepal.com

IntelliAlbum - Intelligent Photo Album Management System With Blazor Server Application
GitHub Rep: https://github.com/neozhu/IntelliAlbum
Demo Site: https://intellialbum.blazorserver.com/

Name: MixerStudio
Description: Landing page for MixerStudio. No-Code Solution For Launching Your NFT. Everything you need to launch a successful NFT project. Easily Generate 10 000+ collection super fast.
Link: https://mixerstudio.io
Screenshot:

Name: MixerStudio Description: Landing page for MixerStudio. No-Code Solution For Launching Your NFT. Everything you need to launch a successful NFT project. Easily Generate 10 000+ collection super fast.
Link: https://mixerstudio.io Screenshot:

Is this using .NET 8 with Server Side Rendering? I don't wee any WASM or Web Sockets in the the network traffic.

@Gareth064 They seem to be using BlazorWasmPreRendering.Build.

Little app, for internal. HRIS...

Project Name :  E-Registry System
Description :  Mini System to Help Road Transport and Safety Agency (Zambia) Manage their files.

Name: ClosingDealz
Description: Landing page for ClosingDealz - A app that helps you generate and manage leads for your business. Everything you need to Close More Sales. Lead Management, Sales Reports,
In-Depth Analytics, Teams And Much More.
Link: https://closingdealz.io/
Screenshots:

Project: iRLeagueManager
Website: https://irleaguemanager.net
Just migrated from vanilla Blazor + Boostrap to using full MudBlazor

Open Source Project:
YoutubeLinks (https://github.com/FritzTheCat9/YoutubeLinks)
Description:
YoutubeLinks allow users to save YouTube links as playlists. Users are able to download mp3 / mp4 files from the playlists they create. Project created as part of the "100 Commits" competition.
YouTube video presentation:
https://www.youtube.com/watch?v=G1gY-jynpu0
Screenshots:


Need to handle permission errors

Occurs when has read but not write permissions in a certain channel.
Possibly send a message to the user or in #general that the full permissions have not been granted.

fixed in 2fefebe549aafffc5fec171f7f4bf223134c085d


Better error handling for StateStore pluggable components

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

Describe the feature
Returning semantic errors is also part of the components contracts, and for pluggable component specifically there is no error mapping from gRPC returned errors to semantic errors, as one example you can see the etag mismatch error. There should be a way to return an etag mismatch error from a statestore pluggable component that will be used as a etag mistmatch go error in runtime.
A possible solution would be having a mapping from gRPC code to the semantic error.
Release Note

RELEASE NOTE: ADD Support e-TAG mismatch errors for StateStore pluggable components

/assign


Attempting to write to /data/ hangs

Trying to run touch /data/thingy or echo "Hello, World" > /data/text causes WebVM to hang. Since having DevTools open while running one of those commands shows a failed assertion in the process of creating the file, I'm guessing that an error occurs due to /data being read-only, as in #92?

Thank you for reporting this issue, it's now been fixed in the latest version.


python3Packages.pytibber: 0.17.1 -> 0.18.0

Motivation for this change
https://github.com/Danielhiversen/pyTibber/releases/tag/0.18.0
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

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

[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 128320 run on x86_64-linux 1

1 package failed to build and are new build failure:

home-assistant: plain log  |  pretty log

2 packages built:

python38Packages.pytibber
python39Packages.pytibber

1 package failed to build and are new build failure

Must be flaky.

Result of nixpkgs-review pr 128320 run on x86_64-linux 1

3 packages built:

home-assistant
python38Packages.pytibber
python39Packages.pytibber


Run integration tests in parallel

Description
We need to run the rest of integration tests in parallel
Decomposition

Subtask
Estimation
Spent
Status

Run Heal Tests in parallel
5h
6.5h
Done

Run Rvlan Tests in parallel
14h
18 h
Done

Run Interdomain tests in parallel
14h
3.5h

Try to increase count of workers for parallel tests
3h

Test on public clusters and tune a number of tests that could be run in parallel
4h

Risks
14h

Seems like done. As we found its dificult to parallel heal tests.


Generic fast kernels for tflite(u)

Add portable optimized versions of key layer ops to improve usefulness of tflite(u) on
platforms where dedicated kernel libraries are not available / applicable.
The kernels are portable (no intrinsics etccustom instructions are used) but take advantage
of prepare-phase precomputations,  andcoding tweaks reduce runtime and memory overhead.
Some useful additional kernel unit tests are included.
Kernels contributed by Infineon Technologies.

Will close by killing upstream branch due to commits from non CLA Infineon Employee.


Addon doesn't sort tabs alphabetically

Hi there. I like the automatic grouping of this addon, but the alphabetical sorting doesn't seem to work. Perhaps the addon is outdated (the latest release is a year old, after all)? Is there any chance you could update it to functionality again? Thanks!

Hi @nitorita, thanks for reaching out. In regards to the alphabetical sorting, this is only done based on the domain and/or subdomain in the URL and doesn't factor in anything else. So with "Sort tabs alphabetically" checked, you'll see ordering by these two criteria, however beyond that, subordering within a domain or subdomain for example will be more granularlly based on the order in which you opened the tabs. In other words, you can rearrange the tabs in any order within the domain or subdomain group (depending if "Filter tabs by subdomain" is also checked or not) and they will not be moved automatically.
So unless I'm misunderstanding, this is the expected behaviour. If it's not, feel free to given a more detailed bug report including screenshots, the more details the better so I can try to reproduce on my end and understand the exact issue if it's something else. You can also check out the documentation if you haven't already which explains how Mark works in a bit more detail.


WIP: ✨ Prepare CAPM3 main branch for CAPI v1.6

As the title says. It follows the https://github.com/kubernetes-sigs/cluster-api/pull/9264 PR as suggested by CAPI book here https://main.cluster-api.sigs.k8s.io/developer/providers/migrations/v1.5-to-v1.6#suggested-changes-for-providers
Copying from CAPI PR Description:
Changes to flags
deprecate --metrics-bind-addr flag
add new flag --diagnostics-address (default: :8443)
add new flag --insecure-diagnostics (default: false)
With the following behavior

If --metrics-bind-addr=<addr> is set:

metrics are served on http without authentication/authorization (as today)

If  --diagnostics-address=<addr> --insecure-diagnostics is set

same behavior as --metrics-bind-addr

If  --diagnostics-address is set

metrics are served on https with authentication/authorization
in addition pprof endpoints and an endpoint to change the log level are served (also protected)

Default behavior:

controller binary:

without any flags set: secure serving on :8443
with --metrics-bind-addr set: insecure serving on the specified address (as before)

published component YAMLs:

without any env vars set: secure serving on :8443
with CAPM3_DIAGNOSTICS_ADDRESS=localhost:8080 & CAPM3_INSECURE_DIAGNOSTICS=true: insecure serving on localhost:8080

/test-centos-e2e-integration-main

/test-centos-e2e-integration-main

/test-centos-e2e-integration-main

/test-ubuntu-e2e-feature-main

/test-ubuntu-e2e-feature-main

/test-centos-e2e-integration-main

/test-centos-e2e-integration-main

/test-centos-e2e-integration-main

/test-centos-e2e-integration-main

/test-centos-e2e-integration-main

/keep-test-centos-e2e-integration-main

/keep-test-centos-e2e-integration-main

/keep-test-centos-e2e-integration-main

/keep-test-centos-e2e-integration-main

/keep-test-centos-e2e-integration-main

/test-ubuntu-integration-main

/test-ubuntu-integration-main

/keep-test-centos-e2e-integration-main

/keep-test-centos-e2e-integration-main

/test-ubuntu-integration-main

/test-ubuntu-integration-main

/test-centos-e2e-integration-main

/test-centos-e2e-integration-main

/test-centos-e2e-integration-main

/test-centos-e2e-integration-main

/test-centos-e2e-features-main
/test-centos-e2e-integration-main
/test-ubuntu-integration-main

/test-centos-e2e-integration-main

/test-centos-e2e-features-main
/test-ubuntu-integration-main

/test-centos-e2e-features-main

/test-centos-e2e-feature-main

/test-centos-e2e-feature-main

/test-centos-e2e-feature-main

/test-centos-e2e-feature-main

/test-centos-e2e-feature-main

/test-centos-e2e-integration-main
/test-ubuntu-integration-main

Q: is the diagnostics part related to CAPI bump?

Yes. This would require a documentation as well. I will add a documentation in a followup PR.

_ No description provided. _

Yes. This would require a documentation as well. I will add a documentation in a followup PR.

Updated the PR description a bit.

/test-ubuntu-integration-main

/test-centos-e2e-integration-main

@kashifest can you rebase the PR?

/hold cancel

/test-centos-e2e-integration-main
/test-ubuntu-integration-main

/test-centos-e2e-integration-main
/test-ubuntu-integration-main


error 500 when I try go to /repositories url

I'm using portus with the example of docker-compose insecurity (http), version 2.3 (latest)
I have pushed a image with root user (portus) to registry and now the "repositories" have an error...
I'm loged as a admin user (all users have the same error)
All other pages are working normally
logs:
portus_1      | Started GET "/repositories" for ~~~  at 2018-07-27 20:30:07 +0000
portus_1      | Processing by RepositoriesController#index as HTML
portus_1      | Completed 401 Unauthorized in 12ms (ActiveRecord: 2.2ms)
portus_1      |
portus_1      | NoMethodError (API::Entities::Tags missing attribute `vulnerabilities' on #<Tag:0x00000000063ce820>):
portus_1      |   app/controllers/repositories_controller.rb:16:in `index'
portus_1      |   app/middleware/catch_json_parse_errors.rb:11:in `call'
portus_1      |
portus_1      |
portus_1      | Processing by ErrorsController#show as HTML
portus_1      |   Parameters: {"status"=>"500"}
portus_1      |   Rendered errors/500.html.erb within layouts/errors (0.0ms)
portus_1      |   Rendered errors/_status_title.html.slim (0.0ms)
portus_1      | Completed 500 Internal Server Error in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)

all another

I was not able to reproduce this with the latest image of the 2.3 tag. Have you added any extra env. variable in the example compose file? Could you paste what does portusctl exec portus:info prints inside of the Portus container?

I'm using portus in a container
``bash
$ portusctl exec portus:info
bundler: command not found: portus:info
Install missing gem executables with bundle install
bundler: failed to load command: packaging/suse/portusctl/bin/portusctl (packaging/suse/portusctl/bin/portusctl)
```bash
$ bundle install

OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: \"bundle\": executable file not found in $PATH": unknown

Have another way to give the info to you?
The docker-compose Is the same, but i added a config-local.yml
signup:
 enabled: false

anonymous_browsing:
 enabled: false

Have another way to give the info to you?

Could you try with portusctl rake exec portus:info?

:(
$ portusctl rake exec portus:info

rake aborted!
Don't know how to build task 'exec' (see --tasks)
/srv/Portus/vendor/bundle/ruby/2.5.0/gems/rake-12.2.1/exe/rake:27:in `<top (required)>'
(See full trace by running task with --trace)
bundler: failed to load command: packaging/suse/portusctl/bin/portusctl (packaging/suse/portusctl/bin/portusctl)
RuntimeError: Something went wrong while invoking: /srv/Portus/vendor/bundle/ruby/2.5.0/bin/bundler.ruby2.5 exec rake exec portus:info
  /srv/Portus/packaging/suse/portusctl/lib/runner.rb:12:in `exec'
  /srv/Portus/packaging/suse/portusctl/lib/runner.rb:34:in `block in bundler_exec'
  /srv/Portus/packaging/suse/portusctl/lib/runner.rb:30:in `chdir'
  /srv/Portus/packaging/suse/portusctl/lib/runner.rb:30:in `bundler_exec'
  /srv/Portus/packaging/suse/portusctl/lib/cli.rb:274:in `rake'
  /srv/Portus/vendor/bundle/ruby/2.5.0/gems/thor-0.19.4/lib/thor/command.rb:27:in `run'
  /srv/Portus/vendor/bundle/ruby/2.5.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command'
  /srv/Portus/vendor/bundle/ruby/2.5.0/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch'
  /srv/Portus/vendor/bundle/ruby/2.5.0/gems/thor-0.19.4/lib/thor/base.rb:444:in `start'
  packaging/suse/portusctl/bin/portusctl:6:in `<top (required)>'

the error is in this line...
  def index
    @repositories = policy_scope(Repository).all
    @repositories_serialized = API::Entities::Repositories.represent(
      @repositories,
      current_user: current_user,
      type:         :internal
    ).to_json
    respond_with(@repositories)
  end

Is possible add an Exception Handler? How can I show the data/error in this line? Thanks!

:(

Sigh... I was confused with the newest version of portusctl. The following will work for sure:
$ portusctl rake portus:info

As for the error, it looks weird, because the vulnerabilities method should be exposed for tags :thinking: By the way, we recently updated the Docker image. Could you remove the one you have and pull again the 2.3 tag?

Portus (app_portus_1)
$ portusctl rake portus:info

[Mailer config] Host:     portus.test.lan
[Mailer config] Protocol: https://
Evaluated configuration:
---
email:
  from<EMAIL_ADDRESS>  name: Portus
  reply_to<EMAIL_ADDRESS>  smtp:
    enabled: false
    address: smtp.example.com
    port: 587
    user_name<EMAIL_ADDRESS>    password: "****"
    domain: example.com
gravatar:
  enabled: true
delete:
  enabled: false
ldap:
  enabled: false
  hostname: ldap_hostname
  port: 389
  method: plain
  encryption:
    method: ''
    options:
      ca_file: ''
      ssl_version: TLSv1_2
  base: ''
  filter: ''
  uid: uid
  authentication:
    enabled: false
    bind_dn: ''
    password: "****"
  guess_email:
    enabled: false
    attr: ''
oauth:
  google_oauth2:
    enabled: false
    id: ''
    secret: ''
    domain: ''
    options:
      hd: ''
  open_id:
    enabled: false
    identifier: ''
    domain: ''
  github:
    enabled: false
    client_id: ''
    client_secret: ''
    organization: ''
    team: ''
    domain: ''
  gitlab:
    enabled: false
    application_id: ''
    secret: ''
    group: ''
    domain: ''
    server: ''
  bitbucket:
    enabled: false
    key: ''
    secret: ''
    domain: ''
    options:
      team: ''
first_user_admin:
  enabled: true
signup:
  enabled: false
check_ssl_usage:
  enabled: "'false'"
registry:
  jwt_expiration_time:
    value: 5
  catalog_page:
    value: 100
  timeout:
    value: 2
  read_timeout:
    value: 120
machine_fqdn:
  value: ~~.~~~.com
display_name:
  enabled: false
user_permission:
  change_visibility:
    enabled: true
  create_team:
    enabled: true
  manage_team:
    enabled: true
  create_namespace:
    enabled: true
  manage_namespace:
    enabled: true
security:
  clair:
    server: ''
    health_port: 6061
    timeout: 900
  zypper:
    server: ''
  dummy:
    server: ''
anonymous_browsing:
  enabled: false
background:
  registry:
    enabled: true
  sync:
    enabled: true
    strategy: initial

Portus version: 2.3.4@db91be2fad362c4dd5ff9c87a8ae0d9669dc8811

I dont know if this info is useful (I hid the machine_fqdn)
i'm using the last version
I think when I pushed some data give an error and need be handler in this method

Ah! this API url give me error too
http://~~~.~~~.com/api/v1/repositories/6
{"error":"Internal server error: API::Entities::Tags missing attribute `vulnerabilities' on #\u003cTag:0x0000000005cdd3b8\u003e"}

this too
http://~~~.~~~.com/api/v1/repositories/6/tags/grouped
{"error":"Internal server error: API::Entities::Tags missing attribute `vulnerabilities' on #\u003cTag:0x0000000005cdd3b8\u003e"}

I think the problem is with some "tag" data... and the code can't handler and give crash in all

Is there any command to sync Portus with the Registry again?

:( no answers... I think I need clean the registry/portus and push all again... and hope to it not happen again

@vitoravelino still with errors :(
my config-local.yml
signup:
  enabled: false

anonymous_browsing:
  enabled: false

background:
  registry:
    enabled: true

  sync:
    enabled: true
    strategy: update-delete

Hi @lohmuller . You've got the wrong @victor. Please check your mentions more carefully. Thanks

@mssola any news or need more info about? :(

No updates :\
This post still with label "needs info" but no answer from team.
I think I need find another way to manager my registry, portus give me only errors in repositories

@lohmuller I still cannot reproduce your issue (with the same configuration, and with the SQL dump you gave us), and I'm really not sure why this is happening (the tag model really has the vulnerabilities method, and the API entity also has a vulnerabilities attribute defined, so the exception makes no sense...). As for using an example, you haven't changed anything when it comes to volumes or stuff like that, right?
I guess that using the new 2.4 tag won't affect this result, but you could always try :sweat_smile:

I believe it is error about corrupted data when I pushed the image to registry.
When try to login or go repositories the code cant handler the error when loading "vulnerabilities" attribute.
I think the code needs an error handler in this line about attribute vulnerabilities:
app/controllers/repositories_controller.rb:16:in index'  app/middleware/catch_json_parse_errors.rb:11:in call'

Possibly relevant.  I'm running into the same issue and noticed this.  It looks like a missing column in the MySQL DB.
background_1  | /srv/Portus/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in `_query': Mysql2::Error: Unknown column 'tags.vulnerabilities' in 'field list': UPDATE `tags` SET `tags`.`vulnerabilities` = '---\n- :clair\n- []\n', `tags`.`scanned` = 2 WHERE `tags`.`digest` = 'sha256:915f390a8912e16d4beb8689720a17348f3f6d1a7b659697df850ab625ea29d5' (ActiveRecord::StatementInvalid)

@cmeisinger what column?
This is my dump in table vulnerabilities
--
-- Table structure for table `vulnerabilities`
--

DROP TABLE IF EXISTS `vulnerabilities`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vulnerabilities` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `scanner` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `severity` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `link` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `fixed_by` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `metadata` text COLLATE utf8_unicode_ci,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`id`),
  UNIQUE KEY `index_vulnerabilities_on_name` (`name`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `vulnerabilities`
--

LOCK TABLES `vulnerabilities` WRITE;
/*!40000 ALTER TABLE `vulnerabilities` DISABLE KEYS */;
/*!40000 ALTER TABLE `vulnerabilities` ENABLE KEYS */;
UNLOCK TABLES;

Why @cmeisinger deleted the post?
@mssola any news? ._.


[Request] - Get object API

Would be great if the set/get functions automatically serialized data when passing an object instead of putting that on the developer. 😃

I agree that it could be misleading at first glance if not properly documented/explained. For a setter, it could be misleading since set has no notion of "type".  But if the developer is already having the burden of serializing/deserializing, understanding the limitations and having a getObject that returns the stored string parse as an object can make code cleaner.


Add packages use in the notebook to the image

We should be able to clear out package installations from the notebook(s).
For the forced photometry notebook these are the ones:

pandas
seaborn
mpld3
boto3
nway

(and these packages are already been assumed to be available: astropy, astroquery, scikit-image, numpy, matplotlib, tractor, firefly)

cc @trjaffe

I think it is fine, or even valuable, to have package installs in the notebook for potentially two reasons:

serves as an example for users to see how they might install packages they need.
Is there a speed difference to having package installs in the image vs. in the notebook?  Sometimes the SMCE takes a long time to start up, and I wonder if some of that slowdown is caused by package installs.  In that case, I would rather they go in the notebooks than in the image.

@bsipocz @stargaser  what are your opinions on this?

@zoghbi-a can comment better, but it's unlikely that python installs are slowing down the initial launch of the container.  In the high energy case, the software build is indeed huge (of order 10GB), so it does, but that's a separate case AFAIK.

I think we need to ship the minimum requirements with the image. E.g. all the libraries that are needed to access the data, do the basic plots etc. So basically everything works out of the box.
Having everything in the image also provides us the control and knowledge that the versions are cross compatible and the notebook works as expected.
But I also see the value in your point 1); so we could leave the extra for the that. E.g. we have matplotlib in the image, but show how to install seaborn?

(we also cannot really expect the users to install things like tractor, after all having it pre-installed is one of the reasons they come to the platform)

@zoghbi-a can comment better, but it's unlikely that python installs are slowing down the initial launch of the container. In the high energy case, the software build is indeed huge (of order 10GB), so it does, but that's a separate case AFAIK.

Yes. The slow start is likely because of the time it takes to setup and launch a compute instance. You can see that in the same image. Sometimes it starts quickly, and sometimes it takes time. That is at the AWS side.
I would agree that the image should contain most useful software pre-installed. The infrastructure code is not yet at the stage where we can easily modify the image to install what we want. Once we have that setup, my suggestion has been to make a base image with basic useful software, and then other images can build on it to add other software (e.g. tractor, heasoft etc.)

Do we need to submit an issue on Fornaxdev that the startup is too slow?  I believe the current strategy is to start with the cheapest options and add as needed.  For instance, I thought they already did step this up one $$ step to make the startup faster.  Either that fell off somehow or is insufficient and we maybe need another step.  (This is to do with reserving, and therefore paying for, instances that are always running I believe.)

I think it will be great if we can do some profiling so we know what to expect and so it is documented.

I think the image should have most useful software pre-installed. I don't think it affects the startup. Tractor is too difficult for a user installation and I think we should provide an image with it, with a non-Tractor image as another option with more up-to-date software. I've also found that installing an upgraded pyarrow in a notebook can fail so that's another reason to pre-install packages.
It's probably a good idea to submit a separate issue about the startup times.

ok, assuming the number of packages has no effect on speed to startup, then of course we all agree the "useful" ones should be pre-installed, but what is that list?
The light curve notebook pip installs the following list:
acstools
astropy
astroquery
git+https://github.com/fkiwy/unTimely_Catalog_explorer
hpgeom
lightkurve
matplotlib
numpy
pandas
pyvo
reproject  # needed for untimely
s3fs
tqdm
wget
The forced photometry notebook pip installs the following list:
numpy
matplotlib
scikit-image
pandas
seaborn
statsmodels
mpld3
firefly_client
astropy
astroquery
nway
boto3
tqdm
I would think 'most useful' to be pre-installed in the image would contain:
numpy
matplotlib
pandas
astropy
astroquery
tqdm
pyvo
ps, new issue opened to benchmark the startup times, issue #142

I'm guessing that both s3fs and boto3 will be in the "most useful" category as well.

For working with Parquet catalogs, I would add
pyarrow
hpgeom
Some interactive image display packages require extensions to Jupyterlab, which might not be doable as a user and would therefore need to be pre-installed:
ipyaladin
jupyter_firefly_extensions (requires firefly_client and some environment variables)

Abdu made a new "tractor" image in Gitlab in the fornax-images repo. I've made some updates in https://git.smce.nasa.gov/fornax/fornax-images/-/merge_requests/12.
Let's keep this issue open until the new image is deployed and tested.

The packages are available on the Fornaxdev SMCE as "Tractor Test Image (Do Not Use)". The forced photometry notebook runs successfully.
Closing this issue.


⚠ Bofrost.be has degraded performance

In 840970e, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1157 ms

Resolved: Bofrost.be performance has improved in 22de2a3 after 23 minutes.


cb2201: fixed error setting for 48M frequency

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


fix(search): price is missing on search suggestion

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[x] Bugfix
[ ] Feature
[ ] Refactoring

What's new?

[x] PR closes #3987
[x] fix: missing price & extra scroll bar

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

@Jarsen136 doesn't work on snek yet?

@Jarsen136 doesn't work on snek yet?

Could you pls refresh your page and try again ? Seem WFM

Seem WFM

well it didn't show up for me at all previously, and there's Unit in your screenshot

will check later

✅  Fixed incorrect unit

😍 Perfect, I’ve sent the payout
💵 $50 @ 42.32 USD/KSM ~ 1.181 $KSM
🧗 Caiv9TbPz68q5dC8EcHu5xKYPRnremimGzqmEejDFNpWWLG
🔗 0xa8dc045917768ac6ac4b1164bafca9477a4e27df21a368a3514866f78e579ae3
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Breaking: Todays Insider doesn't show files content anymore

VS Code Version: Version: 1.29.0-insider (user setup)
Commit: c1100eff93b35dc220ce63e2ed0d5ace54259795
Date: 2018-10-09T06:54:02.898Z
Electron: 2.0.11
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64
OS Version: Win 10 x64, Fall update

Steps to Reproduce:

Launch VS Code
Open any file

Does this issue occur when all extensions are disabled?: Yes

after latest update editor is still not working


content-type free model queries

models/service.configure-epoch/html.queries/biordf/with_references.query
could become :
models/service.configure-epoch/queries/endpoint.biordf/with_references.query

and be used for all content types. This motivates following best practice of "same content". If someone wants to break best practice, they may sneak a content type before "queries":
models/service.configure-epoch/json.queries/endpoint.biordf/with_references.query

Done since e46e3dfbdcfac9cf6717b466f74897c827962b61


HVAC

Can you kindly document the config for HVAC (Multiple Mini Split AC Units)?  Thank you!

I need that too


Retry refactor

Hello Johan, Bryan
According to the comments you left in the PR:https://github.com/Azure/azure-sdk-for-python/pull/6555
@johanste
I've refactored the logic of handling exception. The _handle exception function is just for wrapping exception now, whether the exception should be raised is controlled by the retry logic.
@bryevdv
I re-think about your words and I think you're right. Decorator isn't the best option here as what I really want to achieve is wrapping these retryable operations in a retry context, not an enhancement of these retryable operations.
So I remove the decorator and instead, pass these retryable operations into a function _do_retryable_operation which contains the logic of retry.
This makes the function signature more clean and is more straight-forward to understand.

Can one of the admins verify this patch?

/azp run python - eventhubs - tests

Let's merge to eventhubs_preview3 and create another PR from eventhubs_preview3 to master


added new btnsDef for normal, div wrap, format

To be able to format a text without any special format (p, header, blockquote), i've added just another format option to wrap text with div, called 'normal' format, most editors handle it the same, or similar, way.
Default behaviour has changed, 'normal' btn is available by default.
Todo: Adding a svg icon for div.

Sry, wrong pull request, contains more changes, i'll close this and reopen it clean.


500 error from emulator while connecting to remote BOT

Let me tell you what we are doing..
We have a microsoft BOT that works well under AZURE; but, we wanted to host in client servers instead there started the troubles.
We created a simple BOT which was tested using Emulator via running in visual studio which absolutely works fine in the server;
Now comes the problems..
Hosted the BOT on HTTPS and locally brwosed the api/messages page comes up means site is all setup.
Now, tried to test this BOT using the emulator (we have setup NGROX.exe location in settings of emulator).
first trying from the same server: using the url like : https://XXX/api/messages (its on default 443 https port) and The moment we try hitting 'CONNECT' button on the emulator it says that
"Error: the bot is remote but callback url says localhost"
couple POST 200 messages comes up though above error; which indicates that emulator is able connect to BOT hosted remotely however when we enter HI message it returns the error code as 500.
Can you help us why emulator throws this error; the emulator from the outside server but within the n/w accessing the BOT like https://XXX/api/messages still gets the same error.

When you start the emulator, if ngrok is configured correctly, you'll a log entry like: ngrok listening on https://XYZ.ngrok.io. Do you see this in your emulator log?
Were you able to connect to your bot from the emulator when your bot was hosted on Azure?

Hi @MarellaRam
What do you see in the emulator's Log window when the application starts?
For instance, when I start the emulator on my machine, this is in the Log:
[13:27:17] Emulator listening on http://[::]:23015
[13:27:17] ngrok not configured (only needed when connecting to remotely hosted bots)
[13:27:17] Connecting to bots hosted remotely
[13:27:17] Edit ngrok settings
[13:27:17] Checking for new version...
[13:27:18] Application is up to date.

first of all thanks for your response;
No emulator never starts in our network as it fails when i say ngrok http -host-header=rewrite 9000; it never tuns to GREEN and kept retrying; which indicates that in our client n/w it seems we aren't able to start NGROK; so, how do we test this and how do we integrate with BOTFramework for chatbot integration?
We are trying to explore the options to host BOT in our intranet and register with chatbot whihc will be used with in intranet; any way forward?
looking forward your response eagerly.

Installing ngrok fixes the "Error: the bot is remote but callback url says localhost" issue

Closing due to lack of activity.


multi-networkpolicy containerd

Hello,
I have tried to deploy multi-networkpolicy so first the pods can’t be scheduled as there was an error in the deployment
See Line 110 in deploy.yml
  add: ["SYS_ADMIN", "SYS_NET_ADMIN"]

It should be NET_ADMIN , after correcting I could get pod scheduled but then they are in error mode
kubectl -n kube-system logs multi-networkpolicy-ds-amd64-tccgv
I0916 01:25:36.063146       1 server.go:174] Neither kubeconfig file nor master URL was specified. Falling back to in-cluster config.
E0916 01:25:46.160911       1 pod.go:448] failed to get cri client: failed to connect: failed to connect to unix:///host/run/crio/crio.sock, make sure you are running as root and the runtime has been started: context deadline exceeded
F0916 01:25:46.161146       1 main.go:62] cannot create pod change tracker
I tried also to run the Daemonset as root
Then I have changed the container run-time to docker also tried to add the containerd sock , not sure if it supported
Here below the mdofied deploy.yml
cat deploy.yml
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: multi-networkpolicy
rules:
  - apiGroups: ["k8s.cni.cncf.io"]
    resources:
      - '*'
    verbs:
      - '*'
  - apiGroups:
      - ""
    resources:
      - pods
      - namespaces
    verbs:
      - list
      - watch
      - get
  # Watch for changes to Kubernetes NetworkPolicies.
  - apiGroups: ["networking.k8s.io"]
    resources:
      - networkpolicies
    verbs:
      - watch
      - list
  - apiGroups:
      - ""
      - events.k8s.io
    resources:
      - events
    verbs:
      - create
      - patch
      - update
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: multi-networkpolicy
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: multi-networkpolicy
subjects:
- kind: ServiceAccount
  name: multi-networkpolicy
  namespace: kube-system
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: multi-networkpolicy
  namespace: kube-system
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: multi-networkpolicy-ds-amd64
  namespace: kube-system
  labels:
    tier: node
    app: multi-networkpolicy
    name: multi-networkpolicy
spec:
  selector:
    matchLabels:
      name: multi-networkpolicy
  updateStrategy:
    type: RollingUpdate
  template:
    metadata:
      labels:
        tier: node
        app: multi-networkpolicy
        name: multi-networkpolicy
    spec:
      hostNetwork: true
      nodeSelector:
        kubernetes.io/arch: amd64
      tolerations:
      - operator: Exists
        effect: NoSchedule
      serviceAccountName: multi-networkpolicy
      containers:
      - name: multi-networkpolicy
        # crio support requires multus:latest for now. support 3.3 or later.
        image: ghcr.io/k8snetworkplumbingwg/multi-networkpolicy-iptables:snapshot-amd64
        imagePullPolicy: Always
        command: ["/usr/bin/multi-networkpolicy-iptables"]
        args:
        - "--host-prefix=/host"
        # uncomment this if runtime is docker
        - "--container-runtime=docker"
        # change this if runtime is different that crio default
        - "--container-runtime-endpoint=unix:///run/containerd/containerd.sock"
        # uncomment this if you want to store iptables rules
        - "--pod-iptables=/var/lib/multi-networkpolicy/iptables"
        resources:
          requests:
            cpu: "100m"
            memory: "80Mi"
          limits:
            cpu: "100m"
            memory: "150Mi"
        securityContext:
          privileged: true
          runAsUser: 0
          capabilities:
            add: ["SYS_ADMIN", "NET_ADMIN"]
        volumeMounts:
        - name: host
          mountPath: /host
        - name: var-lib-multinetworkpolicy
          mountPath: /var/lib/multi-networkpolicy
      volumes:
        - name: host
          hostPath:
            path: /
        - name: var-lib-multinetworkpolicy
          hostPath:
            path: /var/lib/multi-networkpolicy

and the logs
kubectl -n kube-system logs multi-networkpolicy-ds-amd64-6jx6t
I0916 02:01:43.685347       1 server.go:174] Neither kubeconfig file nor master URL was specified. Falling back to in-cluster config.
I0916 02:01:43.888556       1 options.go:73] hostname: sysarch-k8s-master-nf-1
I0916 02:01:43.888587       1 options.go:74] container-runtime: docker
I0916 02:01:43.889247       1 namespace.go:79] Starting ns config controller
I0916 02:01:43.889581       1 shared_informer.go:223] Waiting for caches to sync for ns config
I0916 02:01:43.889297       1 server.go:160] Starting network-policy-node
I0916 02:01:43.982086       1 networkpolicy.go:81] Starting policy config controller
I0916 02:01:43.982131       1 shared_informer.go:223] Waiting for caches to sync for policy config
I0916 02:01:43.990857       1 net-attach-def.go:84] Starting net-attach-def config controller
I0916 02:01:43.990892       1 shared_informer.go:223] Waiting for caches to sync for net-attach-def config
I0916 02:01:44.183237       1 shared_informer.go:230] Caches are synced for policy config
I0916 02:01:44.183753       1 server.go:355] OnPolicySynced
I0916 02:01:44.183788       1 shared_informer.go:230] Caches are synced for net-attach-def config
I0916 02:01:44.183800       1 server.go:388] OnNetDefSynced
I0916 02:01:44.282163       1 shared_informer.go:230] Caches are synced for ns config
I0916 02:01:44.282200       1 server.go:421] OnNamespaceSynced
I0916 02:01:44.282207       1 server.go:100] Starting pod config
I0916 02:01:44.283253       1 pod.go:123] Starting pod config controller
I0916 02:01:44.283277       1 shared_informer.go:223] Waiting for caches to sync for pod config
E0916 02:01:45.190935       1 pod.go:368] failed to get pod(nti-mesh/linkerd-sp-validator-85bc85dcb4-7ltr2) network namespace: failed to get container info: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
I0916 02:01:45.380851       1 shared_informer.go:230] Caches are synced for pod config
I0916 02:01:45.380917       1 server.go:324] OnPodSynced
E0916 02:01:45.384701       1 pod.go:368] failed to get pod(nti-mesh/linkerd-destination-658f496bcd-8fxww) network namespace: failed to get container info: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
E0916 02:01:45.385515       1 server.go:453] cannot get nti-security/ncms-cainjector-66d4c5db74-g6pt2 podInfo: not found
E0916 02:01:45.385574       1 server.go:453] cannot get nti-security/ncms-controller-9d47b9bfc-lkkp5 podInfo: not found
E0916 02:01:45.385937       1 server.go:453] cannot get nti-monitoring/ntim-prometheus-68769b565d-w9dnb podInfo: not found
E0916 02:01:45.385986       1 server.go:453] cannot get ns1/nf0-backend-f9ccf678d-qc5k8 podInfo: not found
E0916 02:01:45.386255       1 server.go:453] cannot get ns0/nf0-tgen-7687f9456d-wt4fw podInfo: not found
E0916 02:01:45.386630       1 server.go:453] cannot get nti-security/ncms-cainjector-66d4c5db74-g6pt2 podInfo: not found
E0916 02:01:45.386678       1 server.go:453] cannot get nti-security/ncms-controller-9d47b9bfc-lkkp5 podInfo: not found
E0916 02:01:45.483181       1 server.go:453] cannot get nti-monitoring/ntim-prometheus-68769b565d-w9dnb podInfo: not found
E0916 02:01:45.483237       1 server.go:453] cannot get ns1/nf0-backend-f9ccf678d-qc5k8 podInfo: not found
E0916 02:01:45.483255       1 server.go:453] cannot get ns0/nf0-tgen-7687f9456d-wt4fw podInfo: not found
E0916 02:01:45.483382       1 server.go:453] cannot get nti-monitoring/ntim-prometheus-68769b565d-w9dnb podInfo: not found
E0916 02:01:45.483393       1 server.go:453] cannot get ns1/nf0-backend-f9ccf678d-qc5k8 podInfo: not found
E0916 02:01:45.483409       1 server.go:453] cannot get ns0/nf0-tgen-7687f9456d-wt4fw podInfo: not found
E0916 02:01:45.483471       1 server.go:453] cannot get nti-security/ncms-cainjector-66d4c5db74-g6pt2 podInfo: not found
E0916 02:01:45.483505       1 server.go:453] cannot get nti-security/ncms-controller-9d47b9bfc-lkkp5 podInfo: not found
E0916 02:01:45.487501       1 pod.go:368] failed to get pod(nti-monitoring/ntim-prometheus-68769b565d-w9dnb) network namespace: failed to get container info: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
E0916 02:01:45.487733       1 server.go:453] cannot get nti-security/ncms-cainjector-66d4c5db74-g6pt2 podInfo: not found
E0916 02:01:45.487762       1 server.go:453] cannot get nti-security/ncms-controller-9d47b9bfc-lkkp5 podInfo: not found
E0916 02:01:45.487793       1 server.go:453] cannot get ns1/nf0-backend-f9ccf678d-qc5k8 podInfo: not found
E0916 02:01:45.487820       1 server.go:453] cannot get ns0/nf0-tgen-7687f9456d-wt4fw podInfo: not found
E0916 02:01:45.487902       1 server.go:453] cannot get nti-security/ncms-cainjector-66d4c5db74-g6pt2 podInfo: not found
E0916 02:01:45.487927       1 server.go:453] cannot get nti-security/ncms-controller-9d47b9bfc-lkkp5 podInfo: not found
E0916 02:01:45.487954       1 server.go:453] cannot get ns1/nf0-backend-f9ccf678d-qc5k8 podInfo: not found
E0916 02:01:45.487976       1 server.go:453] cannot get ns0/nf0-tgen-7687f9456d-wt4fw podInfo: not found
E0916 02:01:45.488269       1 pod.go:368] failed to get pod(nti-security/ncms-cainjector-66d4c5db74-g6pt2) network namespace: failed to get container info: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
E0916 02:01:45.488530       1 pod.go:368] failed to get pod(ns1/nf0-backend-f9ccf678d-qc5k8) network namespace: failed to get container info: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
E0916 02:01:45.488980       1 pod.go:368] failed to get pod(ns0/nf0-tgen-7687f9456d-wt4fw) network namespace: failed to get container info: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
E0916 02:01:45.489225       1 server.go:453] cannot get nti-security/ncms-controller-9d47b9bfc-lkkp5 podInfo: not found
E0916 02:01:45.489374       1 server.go:453] cannot get nti-security/ncms-controller-9d47b9bfc-lkkp5 podInfo: not found
E0916 02:01:45.489622       1 pod.go:368] failed to get pod(nti-security/ncms-controller-9d47b9bfc-lkkp5) network namespace: failed to get container info: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Thank you for the comment, @elgamal2020
multi-networkpolicy requires not only NET_ADMIN also privileges for entering pod network namespace. The following error message shows multi-networkpolicy cannot get crio.sock (unix socket for container runtime).
E0916 01:25:46.160911 1 pod.go:448] failed to get cri client: failed to connect: failed to connect to unix:///host/run/crio/crio.sock, make sure you are running as root and the runtime has been started: context deadline exceeded

This might be comes from several reason. Please check following:

Your Kubernetes distribution correctly serves crio.sock into /host/run/crio (crio is for cri-o, so your containerd environment has different path for socket. Please check that)
Your pod has privilege that can do nsenter or not. (mutli-networkpolicy does similar things to nsenter, to configure iptables-rules, so multi-networkpolicy pod need to have such privilege

Thanks @s1061123 for your answer , no actually what is wrong there is "SYS_NET_ADMIN" not existing as a capability
I changed line 110 from
add: ["SYS_ADMIN", "SYS_NET_ADMIN"]
to
        add: ["SYS_ADMIN", "NET_ADMIN"]

I have added to run as root
runAsUser: 0
but then I don't have cri , my setup is using docker engine and containerd run time
I would like to ask you what is the correct argument to try for nsenter
 nsenter -h

Usage:
 nsenter [options] <program> [<argument>...]

Run a program with namespaces of other processes.

Options:
 -t, --target <pid>     target process to get namespaces from
 -m, --mount[=<file>]   enter mount namespace
 -u, --uts[=<file>]     enter UTS namespace (hostname etc)
 -i, --ipc[=<file>]     enter System V IPC namespace
 -n, --net[=<file>]     enter network namespace
 -p, --pid[=<file>]     enter pid namespace
 -U, --user[=<file>]    enter user namespace
 -S, --setuid <uid>     set uid in entered namespace
 -G, --setgid <gid>     set gid in entered namespace
     --preserve-credentials do not touch uids or gids
 -r, --root[=<dir>]     set the root directory
 -w, --wd[=<dir>]       set the working directory
 -F, --no-fork          do not fork before exec'ing <program>
 -Z, --follow-context   set SELinux context according to --target PID

 -h, --help     display this help and exit
 -V, --version  output version information and exit

As I mentioned, currently the root cause of your issue is following message:
E0916 01:25:46.160911 1 pod.go:448] failed to get cri client: failed to connect: failed to connect to unix:///host/run/crio/crio.sock, make sure you are running as root and the runtime has been started: context deadline exceeded

So you need to capture right container runtime socket, correctly. This is not related to change its privilege. In docker case, you may need to change --container-runtime.
[tohayash@tohayash-srv multi-networkpolicy-iptables]$ ./multi-networkpolicy-iptables -h
TBD

Usage:
  multi-networkpolicy-node [flags]

Flags:
      --container-runtime RuntimeKind       Container runtime using for the cluster. Possible values: 'cri', 'docker'.  (default cri)
      --container-runtime-endpoint string   Path to cri socket.
      --kubeconfig string                   Path to kubeconfig file with authorization information (the master location is set by the master flag).
      --master string                       The address of the Kubernetes API server (overrides any value in kubeconfig)
      --hostname-override string            If non-empty, will use this string as identification instead of the actual hostname.
      --host-prefix string                  If non-empty, will use this string as prefix for host filesystem.
      --network-plugins strings             List of network plugins to be be considered for network policies. (default [macvlan])
      --pod-iptables string                 If non-empty, will use this path to store pod's iptables for troubleshooting helper.
      --add_dir_header                      If true, adds the file directory to the header
      --alsologtostderr                     log to standard error as well as files
      --log_backtrace_at traceLocation      when logging hits line file:N, emit a stack trace (default :0)
      --log_dir string                      If non-empty, write log files in this directory
      --log_file string                     If non-empty, use this log file
      --log_file_max_size uint              Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
      --logtostderr                         log to standard error instead of files (default true)
      --skip_headers                        If true, avoid header prefixes in the log messages
      --skip_log_headers                    If true, avoid headers when opening log files
      --stderrthreshold severity            logs at or above this threshold go to stderr (default 2)
  -v, --v Level                             number for the log level verbosity
      --vmodule moduleSpec                  comma-separated list of pattern=N settings for file-filtered logging
      --log-flush-frequency duration        Maximum number of seconds between log flushes (default 5s)
  -h, --help                                help for multi-networkpolicy-node

Regarding nsenter, you don't use it directly because multi-networkpolicy-iptables use it, instead of you. If you are interested in, you can get various blog about it, as following: https://www.redhat.com/sysadmin/container-namespaces-nsenter
Hence I recommend to revert your change about privilege and just change --container-runtime first.

Hello,
I have docker engine on top on containerd runtime as the default setup by kubespray
I have the --container-runtime corectly set to use docker , what I dont know how to correctly configure the container-runtime-endpoint
so , I have tried this
  - "--container-runtime=docker"
        # change this if runtime is different that crio default
        - "--container-runtime-endpoint=unix:///run/containerd/containerd.sock"

I tried also
   args:
        - "--host-prefix=/host"
        # uncomment this if runtime is docker
        - "--container-runtime=docker"
        # change this if runtime is different that crio default
        - "--container-runtime-endpoint=/var/run/dockershim.sock"
        # uncomment this if you want to store iptables rules
        - "--pod-iptables=/var/lib/multi-networkpolicy/iptables"

in the logs , I always get

kubectl  -n kube-system logs multi-networkpolicy-ds-amd64-s78fl
I0917 02:00:34.383246       1 server.go:174] Neither kubeconfig file nor master URL was specified. Falling back to in-cluster config.
I0917 02:00:34.687996       1 options.go:73] hostname: sysarch-k8s-master-nf-1
I0917 02:00:34.688040       1 options.go:74] container-runtime: docker
I0917 02:00:34.688676       1 server.go:160] Starting network-policy-node
I0917 02:00:34.688798       1 namespace.go:79] Starting ns config controller
I0917 02:00:34.688831       1 shared_informer.go:223] Waiting for caches to sync for ns config
I0917 02:00:34.780745       1 net-attach-def.go:84] Starting net-attach-def config controller
I0917 02:00:34.780847       1 shared_informer.go:223] Waiting for caches to sync for net-attach-def config
I0917 02:00:34.780963       1 networkpolicy.go:81] Starting policy config controller
I0917 02:00:34.780980       1 shared_informer.go:223] Waiting for caches to sync for policy config
I0917 02:00:34.983442       1 shared_informer.go:230] Caches are synced for net-attach-def config
I0917 02:00:34.983506       1 server.go:388] OnNetDefSynced
I0917 02:00:35.089476       1 shared_informer.go:230] Caches are synced for ns config
I0917 02:00:35.089527       1 server.go:421] OnNamespaceSynced
I0917 02:00:35.181582       1 shared_informer.go:230] Caches are synced for policy config
I0917 02:00:35.181807       1 server.go:355] OnPolicySynced
I0917 02:00:35.181842       1 server.go:100] Starting pod config
I0917 02:00:35.183570       1 pod.go:123] Starting pod config controller
I0917 02:00:35.183628       1 shared_informer.go:223] Waiting for caches to sync for pod config
E0917 02:00:36.290191       1 pod.go:368] failed to get pod(nti-monitoring/ntim-prometheus-68769b565d-w9dnb) network namespace: failed to get container info: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
E0917 02:00:36.290685       1 pod.go:368] failed to get pod(nti-security/ncms-cainjector-66d4c5db74-g6pt2) network namespace: failed to get container info: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
E0917 02:00:36.381430       1 pod.go:368] failed to get pod(ns1/nf0-backend-65f69877d7-vkb9t) network namespace: failed to get container info: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
E0917 02:00:36.381760       1 pod.go:368] failed to get pod(nti-security/ncms-controller-9d47b9bfc-lkkp5) network namespace: failed to get container info: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
E0917 02:00:36.382243       1 pod.go:368] failed to get pod(nti-mesh/linkerd-sp-validator-85bc85dcb4-7ltr2) network namespace: failed to get container info: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
E0917 02:00:36.382865       1 pod.go:368] failed to get pod(nti-mesh/linkerd-destination-658f496bcd-8fxww) network namespace: failed to get container info: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
I0917 02:00:36.384240       1 shared_informer.go:230] Caches are synced for pod config
I0917 02:00:36.384271       1 server.go:324] OnPodSynced

then see my contianers , they are perfectly using /run/containerd/containerd.sock

ps -aux | grep docker
root         762  2.8  1.0 2850952 128600 ?      Ssl  Apr14 6452:06 /usr/bin/dockerd --iptables=false --exec-opt native.cgroupdriver=systemd --data-root=/var/lib/docker --log-opt max-size=50m --log-opt max-file=5 --dns <IP_ADDRESS> --dns <IP_ADDRESS> --dns-search default.svc.sysarch --dns-search svc.sysarch --dns-search openstacklocal --dns-opt ndots:2 --dns-opt timeout:2 --dns-opt attempts:2
root        1672  0.0  0.4<PHONE_NUMBER>2 ?        Sl   Apr14  33:44 /usr/bin/docker run --restart=on-failure:5 --env-file=/etc/etcd.env --net=host -v /etc/ssl/certs:/etc/ssl/certs:ro -v /etc/ssl/etcd/ssl:/etc/ssl/etcd/ssl:ro -v /var/lib/etcd:/var/lib/etcd:rw --memory=0 --blkio-weight=1000 --name=etcd1 quay.io/coreos/etcd:v3.4.13 /usr/local/bin/etcd
root        1837  0.0  0.0 108720  6432 ?        Sl   Apr14  18:04 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/fa4fe09a0ba76e7ee63781a8544b3e7ff6f84a8000c60f7db5341c9b7c69564c -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc -systemd-cgroup
root        2621  0.0  0.0 108720  5312 ?        Sl   Apr14  11:42 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/fbd07334f115e114aec1b6ba07f954e21c925a03d9d383cde2e483d568164e9b -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc -systemd-cgroup
root        2666  0.0  0.0 108720  5312 ?        Sl   Apr14  11:17 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/a1422e4b08e44fc061673c874f1dff4f00ebb252bd6e3a55cfd1b6faca542827 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc -systemd-cgroup

We only tested with kubeadm but it does not use kubeadm specific feature/configuration. But I don't know what is the root cause.


Upgrade upstream to v3.20.1

Created a upstream-v3.20.1 branch on the pulumi upstream fork and updated the reference. Not upgrading bridge or codegen.
Fixes https://github.com/pulumi/pulumi-vault/issues/311

Noting that upgrade-provider tool fails here.


I can assign a string to an Int32 record field in a nested path lvalue

This compiles when it clearly shouldn't:
module body Mutate is
      record Other: Linear is
          y: Nat32;
      end;

      record Mut: Linear is
          x: Other;
      end;

      generic [R: Region]
      function mangle(thing: &![Mut, R]): Unit is
          thing->x.y := "this shouldn't work";
          return nil;
      end;

      function main(): ExitCode is
          return ExitSuccess();
      end;
end module body.

The function never gets called but thing->x.y := "this shouldn't work"; should never be allowed because .y is Nat32.
If I call it in main, Austral doesn't mind. It just makes me destructure foo, whereupon gcc crashes:
module body Mutate is
      record Other: Linear is
          y: Nat32;
      end;

      record Mut: Linear is
          x: Other;
      end;

      generic [R: Region]
      function mangle(thing: &![Mut, R]): Unit is
          thing->x.y := "this shouldn't work";
          return nil;
      end;

      function main(): ExitCode is
          let foo: Mut := Mut(x => Other(y => 5));
          mangle(&!foo);
          let { x: Other } := foo;
          let { y: Nat32 } := x;
          return ExitSuccess();
      end;
end module body.

$ ./austral compile mine/mutate.aum --entrypoint=Mutate:main --output=mine/mutate
Compiler call tree printed to calltree.html
Error:
  Title: Generic Error
  Module:
    [unknown]
  Location:
    [no span available]
  Description:
    Error when running C compiler.
      Command: cc /tmp/austral_a23ce5.c -fwrapv -lm -o mine/mutate
      Exit code: 1
      Standard output:

      Standard error:
    /tmp/austral_a23ce5.c: In function 'mono_15':
    /tmp/austral_a23ce5.c:3969:22: error: incompatible types when assigning to type 'au_nat32_t' {aka 'unsigned int'} from type 'au_array_t'
     3969 |     ((thing)->x).y = au_make_array_from_string("this shouldn\'t work", 19);
          |                      ^~~~~~~~~~~~~~~~~~~~~~~~~

  Code:
    [no span available]

I found this by accident while experimenting with the path syntax. I was trying to find a way to have the mangle function update the value of y, on one line.
thing->x->y := 10;

^ this gave the error Not a record type, which I don't understand. After a lot of trial and error I found:
thing->x.y := 10;

works. It updates the value of .y, the code compiles, and I used printLn to verify it. But I couldn't figure out from reading the spec when I'm supposed to use -> and when I'm supposed to use . in a path. Especially because this previous attempt also works:
let z: &![Other, R] := thing->x;
z->y := 10;

I don't understand why this one works with ->y rather than .y.
The spec says:
    A slot accessor of the form .s where s is the name of a record slot.
    A pointer slot accessor of the form ->s where s is the name of a record slot.
    An array indexing element of the form [i] where i is a value of type Index.

But it doesn't explain the distinction between a "slot" and a "pointer slot" .. I don't see anything pointer-y in the above code. I guess it's named in analogy to C's syntax. Does it just mean linear vs free?

The error messages for path type errors are not great.

But it doesn't explain the distinction between a "slot" and a "pointer slot" .. I don't see anything pointer-y in the above code. I guess it's named in analogy to C's syntax. Does it just mean linear vs free?

The arrow operator is for going down references. Pointer dereferencing is done through its own API.

Added a test here: #386

Fixed by #386. Turns out I forgot type checking in assignments :nauseated_face:


Server - Laravel task scheduling isn't working on Production server

The laravel task scheduler failed to restart our email queue. Its possible its also not running the automatic job status transitions (ready->live and live->close at open and close times).

Tristan will restart this for now, but @gggrant you put in a Jira ticket asking for advice on why our CRON job might not be restarting this. (or just look into it further).

Tristan will restart this for now, but @gggrant you put in a Jira ticket asking for advice on why our CRON job might not be restarting this. (or just look into it further).

IMTD has set up a relay that sends mail via Sengrid, and changed cron jobs to services. Mail is sending correctly on production.
systemctl status<EMAIL_ADDRESS>systemctl status<EMAIL_ADDRESS>

IMTD has set up a relay that sends mail via Sengrid, and changed cron jobs to services. Mail is sending correctly on production.
systemctl status<EMAIL_ADDRESS>systemctl status<EMAIL_ADDRESS>


Update to newer pandas version

The requirement pandas~=2.0.3 is creating conflicts with other libraries I am using.
Would it be possible to update to a newer pandas version ?

Yes— will update the dependencies incl. pandas~=2.2.2 if that works, and issue a new release.


[backport Humble] load glb meshes

Backported this PR https://github.com/ros2/rviz/pull/1001/files
Related with this issue https://github.com/RobotLocomotion/drake-ros/issues/335

Linux
Linux-aarch64
Windows

Linux
Linux-aarch64
Windows

Linux
Linux-aarch64
Windows

can you take another look @clalancette ? Assimp version on Windows in different

https://github.com/Mergifyio backport iron


Add win cache

Extract WinCache from yiisoft/cache.

I guess wincache is available for Windows only so ideally it would be great to set up something like AppVeyor like we have for 2.0.

Do you need to create a project in AppVeyor for this repository?

Checking...

Let's handle it in master.

php_wincache.dll needs to be added to the ext directory also.

Yes, seems so :(


feat: support oci image verification

Signed-off-by: Asra Ali<EMAIL_ADDRESS>pending testing

Yes @naveensrinivasan I'm still trying to figure out a testing strategy

What is the process to verify the attached binaries?

I don't understand the question. Binaries are already e2e tested.

The goal is to make sure the e2e tests are reliable.

Yeah. Ideally I'd be able to attach manifests for OCI images and use those to verify. I will probably need to implement a fake registry and a fake signed image for cosign. do you have other ideas?

Binaries are already e2e tested.

How were these specific binaries already e2e tested? I am trying to understand, so pardon my ignorance.

🤦 Now, I see them as renamed and not new binaries. Thanks, it makes sense. I thought these were new binaries.

Currently working with example-test packages
$ go run . -oci-image ghcr.io/slsa-framework/example-package.e2e.container.schedule.main.default.slsa3@sha256:93e556b16d8be1283f3825aa0ee595250649f56e70e18a3089d92ba29cd81e85 -source github.com/slsa-framework/example-package
Verified build using builder https://github.com/slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@refs/heads/main at commit 8837317a8c8021fa59bb05260f363c7deb4ca63d
PASSED: Verified SLSA provenance

For some reason, crane manifest'ing the image doesn't show me where the cosign attesation layer is. Trying to retrieve some testadata manifests.

Got tests in. Waiting for the queue of PRs https://github.com/slsa-framework/slsa-verifier/pull/187
and then I'll implement the VerifyImage on the builder interface.

@ianlewis @laurentsimon This is ready now.
I had to make a few changes for testing -- remote and local images behave slightly different. See the container package.
I will make an issue to add more testing: malicious tests, tag verification. Just wanted to start the functionality.


Scopewide attributes

For tests/yaml.rs, it makes sense to use scope wide attribute, which applies to the whole file, because yaml test will not be tested without yaml feature.
For examples/17_yaml.rs, I moved the use statement inside so that seemingly random unused import warning doesn't pop up.
For tests/unicode.rs, well, I tried fiddling around with unicode with Windows without much success...

Great point!
@homu r+

:pushpin: Commit 3936b28 has been approved by kbknapp

:hourglass: Testing commit 3936b28 with merge 68d4331...

:sunny: Test successful - status


Fix imports

command: poetry run sport-activities-features-gui should run a program.

@firefly-cpp working on it.


Notification does not disappear when upload fails

Steps to reproduce:

Upload something
During the upload, remove the network connection or make the Internet super slow. It might need to be done at a very specific time, you will have to try.
The upload becomes marked as "Failed" in the Home activity.
Problem: The notification is still pretending to be progressing (in my case it says "Finishing uploading"). Expected: The notification either disappears or says that the upload failed.

Device and Android version:
LineageOS 7.1.2
Commons app version:
<IP_ADDRESS>0~76e5a30
Screen-shots:

Hi, can I work on this please as a first issue?
Thanks

@omer-rotem1 Yes, thanks!

This issue doesn't exist anymore.
Could you please close it :-)

@omer-rotem1 Are you still working on it? If not please let us know, thanks :-)
@318anushka I experienced this issue last week, do you think it has been fixed very recently? By the way, you might be interested in this issue meanwhile: #3582

Yeah i checked and it seems to work fine. As soon as i remove net connection, failed notification pops up

Ah, yes indeed this issue is about the "Finishing uploading" message, I see, thanks!
The remaining issue is that it seems impossible to swipe the failure notification away. The only solution to make it disappear seems to be to reboot the phone, which is quite inconvenient. Do you experience this problem? If yes, would you mind creating an issue about it? Thanks!

Yes, swiping away is a problem. But once the upload fails, just tap on notification it takes you to the Home Activity then the notification automatically disappears. you don't have to reboot the phone.
Although it would be better if we could just swipe away the notification.

wow I will try next time lol

Although it would be better if we could just swipe away the notification.

+1 for this. I don't see any reason why the failure notification should be sticky.

Should i create a new issue for this?

@318anushka Yes good idea, thanks! :-)

@nicolas-raoul  notification works properly now so we can close this old issue


Ensure unallocated links are disabled.

Ensure unallocated links are disabled.
Note that the classification prop is only available for category=platform
https://issues.redhat.com/browse/COST-3248

Codecov Report

Merging #2742 (205979d) into main (7232fb8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             main    #2742    +/-   ##
========================================
  Coverage   65.39%   65.39%
========================================
  Files         453      453
  Lines        9030     9030
  Branches     2109     1966   -143
========================================
  Hits         5905     5905
  Misses       3122     3122
  Partials        3        3

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 7232fb8...205979d. Read the comment docs.


[LiveComponent] data-model started throwing the "Invalid model name" error after upgrading to 2.15

Hi,
considering the following code:

When we bump the LC to 2.15.0 the frontend starts throwing live_controller.js:1885 Uncaught Error: Invalid model name "selectedAttributeCodes"..
The JS code suggest the model name is not present in the valueStore.

When following this guide:
https://symfony.com/bundles/ux-live-component/current/index.html#data-binding
I also get this:
Invalid model name "max"
Using symfony-ux-live-component 2.18

Hello @martinberlin!
Could you share your code or create a reproducer for this bug ?
The idea is to get the smallest repository possible in which the bug can be observed...
... so we can install & test it easily and see what is not working as expected and why.
Documentation: https://symfony.com/doc/current/contributing/code/reproducer.html
Thank you!

Hi @smnandre I did this at work for a client so I cannot share it but will prepare a demo in a new Symfony v7 installation and upload it in GitHub as soon as I find some time.
I really like Live UX and would like to use it for future projects.

Thank you @martinberlin !

Here I just uploaded a small repository containing a Symfony 7.1.2 fresh installation and this example:
https://github.com/martinberlin/symfony-7-ux-live
Please note that I found other people having issues installing UX live and dependencies so I followed also this instructions: https://stackoverflow.com/questions/77684268/bootstrap-cannot-find-symfony-stimulus-bundle At this point the only error I get is when updating the input type="number" but the buton click works correctly and generates a new Random number.

Please note that I found other people having issues installing UX live [...]

If you want to use webpack encore, you need to uninstall AssetMapper

Here I just uploaded a small repository containing a Symfony 7.1.2 fresh installation and this example:
https://github.com/martinberlin/symfony-7-ux-live

You did not install symfony/ux-live-component

OH! You are completely right.
Added it.
Also make sure about this:

Check if the package "@symfony/stimulus-bridge" is installed in package.json
In assets/app.js add the line import './bootstrap.js';
In webpack.config.js add the line .enableStimulusBridge('./assets/controllers.json') to import the controllers file

If you want to use webpack encore, you need to uninstall AssetMapper

That unless I'm missing something is done. This part is a bit confusing since when you install symfony --webapp it comes but then needs to be removed for the ux-live installation.

FOUND IT!
I know what I was missing:
use Symfony\UX\LiveComponent\Attribute\LiveProp;

Without that use statement the #[LiveProp] will not work, hence is not added, and comes that error in Javascript. Would be much nicer that it comes some PHP error or something but I guess that's not possible for some reason

This part is a bit confusing since when you install symfony --webapp it comes but then needs to be removed for the ux-live installation.

This can be confusing i agree. But AssetMapper does not need to be removed for the ux-live installation..  it does need to be removed if you install Webpack encore.
The ux.symfony.com website uses all UX packages on AssetMapper (one could say it is even the simpliest way to use them now)

Would be much nicer that it comes some PHP error or something but I guess that's not possible for some reason

We cannot control in PHP what is written into the data-model  .. so sadly i don't see how we can improve things there..
But if you have any idea i'd be more than happy to improve things :)

Thanks now that I finally understood more will go through all the examples and see if I have some idea to make it better.
Really powerful tool!


Using multiple recv in js inside an eval on web ignores all promises but the last

Problem
not completely sure if its intended or not something to care about.
Currently when you do
dioxus.recv()
  .then((a) => {
    console.log("fulfilled");
  })
  .catch((a) => {
    console.error("rejected");
  });
dioxus.recv()
  .then((a) => {
    console.log("fulfilled");
  })
  .catch((a) => {
    console.error("rejected");
  });

in the js inside an eval in web while theres no messages in the queue it ignores all promises except for the last one
Steps To Reproduce
Here is the code i used to test it
fn main() {
    // Init debug
    dioxus_logger::init(LevelFilter::Info).expect("failed to init logger");
    console_error_panic_hook::set_once();

    launch(App);
}

fn App() -> Element {
    let mut signal = use_signal(|| 0);
    let mut eval2 = use_signal(|| None);
    use_effect(move || {
        if signal() == 1 {
            *eval2.write() = Some(eval(
                r#"
                    dioxus.recv()
                        .then((a) => {
                            console.log("fulfilled");
                        })
                        .catch((a) => {
                            console.error("rejected");
                        });
                    dioxus.recv()
                        .then((a) => {
                            console.log("fulfilled");
                        })
                        .catch((a) => {
                            console.error("rejected");
                        });
                "#,
            ));
        } else if signal() > 1 {
            let eval2 = eval2().unwrap();
            eval2.send("data".into()).unwrap();
        }
    });

    let onclick = move |_| signal.with_mut(|v| *v += 1);

    rsx! {
        button {
            onclick,
            "locks js"
        }
        {format!("{}", signal())}
    }
}

Expected behavior
i would expect the promises to be fulfilled in the order they were created in
Environment:

Dioxus version: 0.5.1
Rust version: 1.76.0
OS info: MacOS
App platform: web

Questionnaire

[ ] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

the code causing this should be that this.promiseResolve = resolve; overwrites the promise in  eval.js
  recv() {
    return new Promise((resolve, _reject) => {
      // If data already exists, resolve immediately
      let data = this.received.shift();
      if (data) {
        resolve(data);
        return;
      }

      // Otherwise set a resolve callback
      this.promiseResolve = resolve;
    });
  }


ENH: alpha_correlation should have intersect_ids parameter

Improvement Description
similarly to qiime2.plugins.diversity.pipelines.beta_correlation, qiime2.plugins.diversity.visualizers.alpha_correlation should have the intersect_ids parameter
Current Behavior
Currently, for mismatches between alpha vector and metadata the visualizer produces an error
Proposed Behavior
intersect_ids and run alpha correlation only on a subset matching between both

I like this idea, thanks! @tkosciol, you are welcome to tackle this, just let us know. In the meantime, I will ping @David-Rod & @Oddant1 to see if they are interested, too.

@thermokarst happy to take a stab at it!

Fixed in #261


[WIP][cjson] Add new port

I am waiting on this PR: https://github.com/DaveGamble/cJSON/pull/343

/azp run

Hey @myd7349, since this PR is in a mergeable state and there is a lack of activity in the upstream PR, I'll merge this. Feel free to open another PR when upstream goes through. Thanks!


Switching Ruby symbol to String excludes a trailing question or exclamation mark

Example:
foo = :bar?
baz = :qux!

Performing :Switch on bar and qux, I'd expect to get
foo = "bar?"
baz = "qux!"

but instead I get
foo = "bar"?
baz = "qux"!

Good catch :). I've pushed a commit that should fix this, could you try it out?

@AndrewRadev Works great, thanks!


Coding Languages Transitioning

https://github.com/ObrienlabsDev/blog/wiki/Languages

https://github.com/HigherOrderCO/Bend


Add option to wait until runCommand finishes

I have very simple helper command:
<?php

namespace App\Command;

use Doctrine\Migrations\Tools\Console\Command\DiffCommand;
use Symfony\Component\Console\Attribute\AsCommand;
use Zenstruck\Console\InvokableServiceCommand;
use Zenstruck\Console\RunsCommands;

#[AsCommand(name: "migrate")]
class MigrateCommand extends InvokableServiceCommand
{
    use RunsCommands;

    public function __invoke(): void
    {
        $this->runCommand(DiffCommand::class . " --allow-empty-diff");
        $this->runCommand(\Doctrine\Migrations\Tools\Console\Command\MigrateCommand::class . " --no-interaction");
    }
}

The issue is that the Migrate command executes/finishes faster than the Diff command - they seem to run asynchronously. Can I run them in sync, one after another?

Oh, the third option would actually make sense. I am closing this one, since it's probably the real culprit.


java cast exception when parsing include where template argument is a function result

tried this in 1.2.0, 1.2.3, and 1.3.0 with very similar results.
	// fails with java exception
	include getTemplatetoInclude();

java.lang.ClassCastException: cfml.parsing.cfscript.CFFunctionExpression cannot be cast to cfml.parsing.cfscript.CFStringExpression
attached demo
CfLint.zip
incidentally; is there a good way to skip an include or a block?
in jshint we have jshint ignore:start to jshint ignore:end
I did try the jshint ignore:line syntax, but that didn't seem to do the trick
I got into this because of this error being thrown in an include, but would be happy to have the parser omit the include in this case.
Thanks;

@steveleve .  Thanks for reporting this bug with clear examples.  It is fixed and will be included in 1.3.0
There was no way to ignore that exception.


Move extras onto annotated distribution

Summary
Like hashes, we can now store these on AnnotatedDist rather than creating a parallel hash map and performing lookups later on.

Yeah that's correct.


Column showing numbers

Hi All
I have a task module, I have a dropdown for tasks when users create tasks, the issue I am having is that on the task list (column) I see numbers instead of the task name, how do I make sure that only the string is shown instead of numbers?

Maybe use foreign key/left join, like in EmployeeRow.ReportsTo... of the Northwind sample?

if u using lookup edior of row. u can change namefield from id to name of task. remember build and transform T4

Hi
Already have the below
[image: Inline images 1]
On 21 February 2018 at 04:45, hairangsua<EMAIL_ADDRESS>wrote:

[image: image]
https://user-images.githubusercontent.com/26143405/36460603-b045825a-16eb-11e8-9d80-65ede31bbd07.png
if u using lookup edior of row. u can change namefield from id to name of
task. remember build and transform T4
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/volkanceylan/Serenity/issues/3280#issuecomment-367195883,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF6wd4tV5Zf6f-R03yQfvfGtR75jt_sHks5tW4M5gaJpZM4SL_ML
.

Hi
I have the following code, is this correct? Im still experiencing the issue
[image: Inline images 1]
On 20 February 2018 at 19:53, hannesb<EMAIL_ADDRESS>wrote:

Maybe use foreign key/left join, like in EmployeeRow.ReportsTo... of the
Northwind sample?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/volkanceylan/Serenity/issues/3280#issuecomment-367061490,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF6wd2QrBLvzBct0E7yH-jWLV8mpsIyuks5tWwaFgaJpZM4SL_ML
.

Sorry see code below
#region Id and Name fields
IIdField IIdRow.IdField
{
get { return Fields.TaskId; }
}
    StringField INameRow.NameField
    {
        get { return Fields.Task_Name; }
    }
    #endregion Id and Name fields

On 21 February 2018 at 14:13, Siyabonga Shandu<EMAIL_ADDRESS>wrote:

Hi
Already have the below
[image: Inline images 1]
On 21 February 2018 at 04:45, hairangsua<EMAIL_ADDRESS>wrote:

[image: image]
<https://user-images.githubusercontent.com/26143405/36460603-b045825a-
16eb-11e8-9d80-65ede31bbd07.png>
if u using lookup edior of row. u can change namefield from id to name of
task. remember build and transform T4
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/volkanceylan/Serenity/issues/
3280#issuecomment-367195883>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF6wd4tV5Zf6f-
R03yQfvfGtR75jt_sHks5tW4M5gaJpZM4SL_ML>
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/volkanceylan/Serenity/issues/3280#issuecomment-367307310,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF6wdyPZ1J2hLR1KPzH0Iy1gC6CuyfDqks5tXAhYgaJpZM4SL_ML
.

[DisplayName("Task Name"), ForeignKey("[dbo].[Task_Names]",
"TaskName_Id"), LeftJoin("JTaskName_Id")]
[LookupEditor(typeof(TaskNames.Entities.TaskNamesRow))]
public Int32? TaskName_Id { get { return Fields.TaskName_Id[this];
} set { Fields.TaskName_Id[this] = value; } }
public partial class RowFields { public Int32Field TaskName_Id; }
On 21 February 2018 at 14:14, Siyabonga Shandu<EMAIL_ADDRESS>wrote:

Hi
I have the following code, is this correct? Im still experiencing the issue
[image: Inline images 1]
On 20 February 2018 at 19:53, hannesb<EMAIL_ADDRESS>wrote:

Maybe use foreign key/left join, like in EmployeeRow.ReportsTo... of the
Northwind sample?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/volkanceylan/Serenity/issues/
3280#issuecomment-367061490>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF6wd2QrBLvzBct0E7yH-
jWLV8mpsIyuks5tWwaFgaJpZM4SL_ML>
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/volkanceylan/Serenity/issues/3280#issuecomment-367307617,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF6wdxtagrtbQ4f6XAOE6L84JmwWfAS9ks5tXAimgaJpZM4SL_ML
.

i still dont know what u want to do. Did you want to display task name instead of task id in that look up(dropdown)?

I want to display the taskname and not the taskid
On 21 February 2018 at 15:03, hairangsua<EMAIL_ADDRESS>wrote:

i still dont know what u want to do. Did you want to display task name
instead of task id in that look up(dropdown)?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/volkanceylan/Serenity/issues/3280#issuecomment-367318944,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF6wd7u01w4PEyQeJ0t0XAfViNbr1001ks5tXBQygaJpZM4SL_ML
.

easiest way is you change namefiled in row.cs => your task name property => build => transform T4 => place Attribute [LookUpeditor(typeof(YourRow))]. U should to see example more!

You could try to add the TextualField attribute on your Id column.  And make sure that you have the LookupScript attribute on your TaskNamesRow class.

in your column.cs replace taskId to TaskName field.

Closing due to inactivity.