toJSON can cause stack overflow

Because toJSON works recursively dprof can reach a stack overflow. This could be fixed by flattening the format, such the root is a uid map and node.children is a uid list.
Root {
  version: String, // the version of dprof there generated this JSON file
  total: Number, // execution time in nanoseconds
  root: {
    Number(uid): Node, ...
  }
}

Node {
  name: String,      // Handle name of the async operation
  stack: [           // Contains the stack leading up to the async operation
    {
      description: String,
      filename: String,
      column: Number,
      line: Number
    }, ...
  ],
  init: Number,      // Timestamp for when the async operation is requested.
  before: [Number],  // Timestamp for when the callback is about to be called.
                     // This is an array because a callback may be called more
                     // than once.
  after: [Number],   // Timestamp for when the callback is finished.
                     // All timestamps are relative to the process startup time
                     // and the unit is nanoseconds.

  unrefed: Boolean,  // `true` if the handle will not keep the event loop open.

  children: [        // Shows async operations created in the callback
    uid, ...
  ]
}

It may be better to use a 2d array, such it easily can be transferred to and from a Map. (from: Array.from(items.entries()), to new Map(Root.root)).
Root {
  version: String, // the version of dprof there generated this JSON file
  total: Number, // execution time in nanoseconds
  root: [
    [Number(uid), Node],
    ...
  ]
}


Create Area Overlap script

Old location & name: src/summary/summary-7-create-area-table.R
New location & name: src/manuscript/tables-2-overlap.R

Addressed in f0be87c.


release: highlights of v0.5.1

⚠ Failed generating changelog
Found unlabeled PRs

https://github.com/maistra/istio-workspace/pull/1015

/release

/shipit

🎇 🎉 🎆 New version has been shipped! 🚀🚀🚀


allow building specific modules only (selective builds)

mbt build currently is an "all or nothing" build step - it will build all modules from mta.yaml.
Allowing to build a specific module from mta.yaml would save time (specifically in CI environments) and allow for faster deployment/test cycles.
Plus it would align nicely with cf deploy that allows for deploying specified modules only (cf deploy mtar.mtar -m $module).
suggestion: mbt build --module $module(as -m is already taken)
with $module being the name property of a module  from mta.yaml.
sample yaml:
ID: app-4711
version: 0.0.1

# <snip />

modules:
  - name: ui
# <snip />
  - name: service
# <snip />
  - name: db
# <snip />

sample build commands:
# build "service" module only
$> mbt build --module service
# build "ui" and "db" module only
$> mbt build --module ui,db

# and subsequently deploy 🎉
$> cf deploy mtar.mtar -m ui,db

does that sound reasonable to whomever is listening here? 🤣

Hi,
MBT supports partial build. You can see how to trigger module builds here.  And here you can find more practical examples on how to do partial build and deploy.
Regards
Natalia

thanks for your quick response! RTFM more closely i guess is what i learned 🤣
for anyone following this:
$> mbt build-module -m=$moda,$modb -e ext.mtaext -g


fix: bugs when serialize union type

This bug is caused by the deserialization process. The deserialization function currently only checks the schema of the class, without specific information about the particular document type in the field of union type. To resolve this issue, we may need to modify the data storage. After discussing with Joan, we could temporarily remove support for the union type and add this info the document. Additionally, we provide users with a more informative error message.

Currently, the serialization for union type is only supported through from_json and to_json. This new commit adds tests to this bug.


flake8 improvements

man, that tool catches some great stuff. thanks for maintaining it, @sigmavirus24!


process.env.PWD on Windows 10 is undefined

When running on Windows, I get the following error:
Installed Chrome has version 89.0.4389.90
Downloading ChromeDriver 89.0.4389.23 for win32...
internal/validators.js:117
    throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
    at validateString (internal/validators.js:117:11)
    at Object.normalize (path.js:266:5)
    at Object.Extract (.......\node_modules\unzipper\lib\extract.js:12:33)
    at ClientRequest.<anonymous> (.......\node_modules\chromedriverdl\utils.js:24:52)

This appears to be caused by process.env.PWD being undefined in my environment (a known "feature" of node on Windows).
It would be better to use process.cwd() to avoid this, as this command always returns a value.
It would also be nice to be able to pass in the path for the destination rather than only allowing the current directory, as this would avoid this issue.

Thanks for the heads up. I will look it up and release a patch soon.

This should be fixed, though I haven't been to test it since I don't have a Windows machine.
I've also included the optional parameter for specifying the download destination.
Here's sample usage: chromedriverdl -d ~/Desktop

Awesome! I'll try out the new version as soon as I can 😄


Build failure on NixOS

I am experiencing some oddities on NixOS – happens – but I am unable to work out what makes EzXML special as other libraries using BinaryProvider work just fine – such as Nettle.
(v1.1) pkg> build EzXML
  Building EzXML → `~/.julia/packages/EzXML/Vkuzv/deps/build.log`
┌ Error: Error building `EzXML`:
│ ┌ Warning: platform_key() is deprecated, use platform_key_abi() from now on
│ │   caller = ip:0x0
│ └ @ Core :-1
│ ERROR: LoadError: LibraryProduct(nothing, ["libxml2"], :libxml2, "Prefix(~/.julia/packages/EzXML/Vkuzv/deps/usr)") is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33
│  [2] #write_deps_file#152(::Bool, ::Function, ::String, ::Array{LibraryProduct,1}) at ~/.julia/packages/BinaryProvider/4F5Hq/src/Products.jl:414
│  [3] write_deps_file(::String, ::Array{LibraryProduct,1}) at ~/.julia/packages/BinaryProvider/4F5Hq/src/Products.jl:395
│  [4] top-level scope at none:0
│  [5] include at ./boot.jl:326 [inlined]
│  [6] include_relative(::Module, ::String) at ./loading.jl:1038
│  [7] include(::Module, ::String) at ./sysimg.jl:29
│  [8] include(::String) at ./client.jl:403
│  [9] top-level scope at none:0
│ in expression starting at ~/.julia/packages/EzXML/Vkuzv/deps/build.jl:46
└ @ Pkg.Operations /build/source/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075

So, fine, something went wrong with satisfied then? Well, the plot thickens…
julia> using BinaryProvider

julia> satisfied(LibraryProduct(Prefix("~/.julia/packages/EzXML/Vkuzv/deps/usr"), String["libxml2"], :libxml2))
true

We are now rapidly approaching the limits of my understanding of BinaryProvider, but does anyone see an obvious venue to proceed to debug this issue?

cc: @staticfloat

Intriguing.  Is there a docker container or something that I can try to reproduce this within?

I tried to update deps/build.jl by rebuilding libxml2 using the latest versions of libxml2 and BinaryBuilder.jl, but was stuck with https://github.com/JuliaPackaging/BinaryBuilder.jl/issues/409...

I updated binary dependencies and released a new version of EzXML.jl (i.e., v0.9.1). This is not intended to fix this problem, but it may solve so I think it's worth trying.


adds import/export rakes for named maps redis entries

rakes intended to fix the named maps :fire:
the intention is to iterate on them and adapt them to import/export any redis key

steps to create a named map:

have this dataset in your account and make it private (switch the extension to .csv). Make sure the name is named_map_tutorial_table
save this code in a file you'll name config.json:

{
  "version": "0.0.1",
  "name": "named_template2",
  "layergroup": {
    "version": "1.0.1",
    "layers": [
      {
        "type": "cartodb",
        "options": {
          "cartocss_version": "2.1.1",
          "cartocss": "#layer { marker-width: 7; marker-fill: #4d5dee; marker-fill-opacity: 0.9; marker-allow-overlap: true; marker-line-width: 3; marker-line-color: #FFFFFF; marker-line-opacity: 1; }",
          "sql": "select * from named_map_tutorial_table"
        }
      }
    ]
  },
  "view": {
    "zoom": 4,
    "center": {
      "lng": 0,
      "lat": 0
    }
  }
}

create the named map in your account:
 curl -X POST    -H 'Content-Type: application/json'    -d @config.json    'https://user_name.carto-staging.com/api/v1/map/named?api_key=api_key
to check that it was properly created, check that  $tables_metadata.keys('map_tpl|USERNAME') returns something

Named maps users stats

users already migrated till today (order by username): user_migrations_complete_username.txt
users already migrated till today (order by date):
user_migrations_complete_date.txt
users with named maps broken: named_maps_user_broken_by_migrations.txt
users without named maps , or named maps OK:
named_maps_user_not_broken_by_migrations.txt

In other words:
wc -l *
  157673 user_migrations_complete_username.txt
  152039 named_maps_user_broken_by_migrations.txt
    5634 named_maps_user_not_broken_by_migrations.txt

So pretty much every user migrated is affected by named maps stuff. In case it helps, this is the named maps difference of a given free user 011170:
== Source: amazon redis ==

<IP_ADDRESS>:6379> hkeys map_tpl|011170
 1) "tpl_d9fe2dea_0db6_11e5_b8cb_0e4fddd5de28"
 2) "tpl_b4658064_104b_11e5_a111_0e6e1df11cbf"
 3) "tpl_89ad2036_0dab_11e5_b7e4_0e49835281d6"
 4) "tpl_22e769fe_0de9_11e5_9054_0e018d66dc29"
 5) "tpl_30c0b68e_8b6a_11e6_828c_0ef24382571b"
 6) "tpl_d16cf210_8b69_11e6_b280_0e8c56e2ffdb"
 7) "tpl_293bc7c8_1050_11e5_b9c3_0e43f3deba5a"
 8) "tpl_316d7464_8b6a_11e6_828c_0ef24382571b"
 9) "tpl_c9245cde_0dab_11e5_ad07_0e6e1df11cbf"
10) "tpl_6c98a636_0dac_11e5_9a3e_0e6e1df11cbf"
11) "tpl_62930bba_0daf_11e5_8ae8_0e43f3deba5a"
12) "tpl_d0cf3fc0_8b69_11e6_b280_0e8c56e2ffdb"
13) "tpl_864a7080_11dc_11e5_a5dc_0e5e07bb5d8a"
14) "tpl_51e18e9a_8b6c_11e6_aa7f_0ef24382571b"
15) "tpl_581d02c8_1050_11e5_ad09_0e4fddd5de28"
16) "tpl_2dd6f740_0dac_11e5_bb18_0e43f3deba5a"
17) "tpl_8e3033e4_0dad_11e5_883f_0e49835281d6"
18) "tpl_6f6c498e_104b_11e5_b2be_0e9d821ea90d"
19) "tpl_9efd38e8_0de9_11e5_a6fe_0e6e1df11cbf"
20) "tpl_9c8e9b72_1052_11e5_90c7_0e49835281d6"
21) "tpl_a84eec5c_1050_11e5_822d_0e6e1df11cbf"
22) "tpl_55b8dc30_1002_11e5_96e9_0e8dde98a187"
23) "tpl_364c45be_0dad_11e5_9620_0e018d66dc29"
24) "tpl_906a8dbe_0eaa_11e5_a789_0e8dde98a187"
<IP_ADDRESS>:6379>

== Destination: gusc redis ==

[gusc] ubuntu@mtr05-temp:~$ redis-cli
<IP_ADDRESS>:6379> hkeys map_tpl|011170
 1) "tpl_22e769fe_0de9_11e5_9054_0e018d66dc29"
 2) "tpl_581d02c8_1050_11e5_ad09_0e4fddd5de28"
 3) "tpl_62930bba_0daf_11e5_8ae8_0e43f3deba5a"
 4) "tpl_6c98a636_0dac_11e5_9a3e_0e6e1df11cbf"
 5) "tpl_b4658064_104b_11e5_a111_0e6e1df11cbf"
 6) "tpl_6f6c498e_104b_11e5_b2be_0e9d821ea90d"
 7) "tpl_30c0b68e_8b6a_11e6_828c_0ef24382571b"
 8) "tpl_293bc7c8_1050_11e5_b9c3_0e43f3deba5a"
 9) "tpl_9efd38e8_0de9_11e5_a6fe_0e6e1df11cbf"
10) "tpl_89ad2036_0dab_11e5_b7e4_0e49835281d6"
11) "tpl_a84eec5c_1050_11e5_822d_0e6e1df11cbf"
12) "tpl_8e3033e4_0dad_11e5_883f_0e49835281d6"
13) "tpl_d0cf3fc0_8b69_11e6_b280_0e8c56e2ffdb"
14) "tpl_316d7464_8b6a_11e6_828c_0ef24382571b"
15) "tpl_55b8dc30_1002_11e5_96e9_0e8dde98a187"
16) "tpl_2dd6f740_0dac_11e5_bb18_0e43f3deba5a"
17) "tpl_9c8e9b72_1052_11e5_90c7_0e49835281d6"
18) "tpl_364c45be_0dad_11e5_9620_0e018d66dc29"
19) "tpl_906a8dbe_0eaa_11e5_a789_0e8dde98a187"
20) "tpl_c9245cde_0dab_11e5_ad07_0e6e1df11cbf"
21) "tpl_51e18e9a_8b6c_11e6_aa7f_0ef24382571b"
22) "tpl_864a7080_11dc_11e5_a5dc_0e5e07bb5d8a"

As you can see here, that random user has some tpl keys with the same name, and some others that are different...
$ for i in `cat free_user_source.txt`; do grep $i free_user_destination.txt > /dev/null; if [ $? -ne 0 ]; then echo $i; fi; done
tpl_d9fe2dea_0db6_11e5_b8cb_0e4fddd5de28
tpl_d16cf210_8b69_11e6_b280_0e8c56e2ffdb

So, the redis script we've used (thanks to @owayss ) will report that named maps are broken if the keys are not exactly the same.
Hope it helps.

I've just recalled what @javitonino said about adding methods in rakes and their way of affecting the global namespace. We should extract all methods to a module

I'm guessing you are doing this to migrate non-cartodb managed named maps. Please be careful with this, maybe we should skip the ones we know are actually controleld by cartodb (i.e: there is a matching visualization).
Since I think you'll eventually integrate with the user migrator, at least, be extra careful with ordering, so this doesn't overwrite the named map created by the visualization importer (i.e: this is imported before visualizations).
At first sight, skipping the managed named maps in export seems nicer, though, but I have not taken a detailed look.

Acceptance, like a shot :)


Move database schema scripts to quartz-core

This resolves #4.
With scripts now being present on the classpath, JdbcQuartzTestUtilities and JdbcQuartzDerbyUtilities have been updated to use tables_derby.sql from the new location.
The PR also includes commit that adds .gitignore to the project.
Together with this change, Tutorial on Job Stores should be updated to refer to the new location of the schema scripts.

Hi @vpavic,
This contribution falls under the conditions described under the heading "Contributions which do require a full Contributor’s License Agreement (CLA)" here: http://www.quartz-scheduler.org/community/contribute.html
We very much appreciate your contribution, and request that you submit a signed agreement.
Thanks!

Hi @jhouserizer - thanks for the feedback.
I don't have a printer/scanner at hand ATM since I'm on a business trip but I'll send you the signed CLA as soon I'm able to (probably within a day or two).
In the meanwhile I've updated the PR to resolve the conflicts.

@jhouserizer I've emailed the signed CLA.

CLA received.  Thank you.

Hi @vpavic , I didn't see this PR before I merged another PR that touched the tables_mysql.sql and tables_mysql_innodb.sql. Can you please get latest and resolve these conflict one more time? I can review and merge your PR next.
@jhouserizer do you know where we should update the text in Tutorial link mentioned above?

Hi @zemian - I've updated the PR, please review. Thanks.
BTW, is there any ETA for the release that will contain these changes?

Thanks @vpavic ! I think this PR would consider as new feature rather than bugfix though. Our current master is at 2.2.4-SNAPSHOT bugfix mode. I am thinking to prepare a new branch for current 2.2.x bug fixes, and then merge your PR into master to starting the new 2.3.x work. If this is the case then you can expect these to be in 2.3.0 release, which I don't have a date yet.

Thanks for merging this! :+1:
I agree it's a new feature and therefore more suitable for the 2.3.
Regarding release plans/schedule, it would be nice if the milestones page would be updated once you have some concrete dates. Assigning individual issues/PRs to milestones would be helpful as well.

Doc is updated with quartz-scheduler/quartz-scheduler.org-site#12

Hey guys, when can we expect 2.3?


Suggestion: highlight selected attribute

Currently: When the user scrolls over an attribute in the grid, that attribute is mapped; then when they leave the grid area the map continues to display the last attribute but it is no longer clear which attribute that is (unless you remember or analyse the values).
Suggestion: Highlight which attribute is currently being displayed on the map - e.g. display the attribute title in the corner of map and/or bold face the attribute heading text in the grid.

Fixed in 389a61df0ca0de9b53924a8608df1c19e78ea410


Add Mercurial image

Based on Buildroot 2016-02
Built with OpenSSL 1.0.2g
OpenSSH 7.2p1
Mercurial 3.7.2

Signed-off-by: Andreas Fleig<EMAIL_ADDRESS>

Thanks! I'll add this to our pipeline so it gets built automatically.


Matrix Product State Preparation

Summary
Computes the circuit to prepare a given Matrix Product State.
Details and comments

See Issue #701 or this repo for detailed explanation and a demonstration

Hi @henrik-dreyer,
Thanks for this PR. This is an interesting proposal and I agree that it should be supported as an ansatz preparation method in Aqua, or as a start to a broader set of tensor network methods. A few questions:

Code in Aqua needs to adhere to object-orientedness to be clear and reusable. Do you see a way to standardize the interface and usage of this functionality? For example, could this be made into a class, the matrices specified through Operator objects, and the class adhering to the InitialState interface so it can be used with variational_forms?
More broadly, if we wanted this to be a start for tensor network methods within Aqua, do you see how any manipulations done here can be object-ized into reusable objects for tensor networks, or are they all only relevant to MPS preparation (and therefore would only go in the MPS class)?
Do you see how the HartreeFock initial state in Aqua Chemistry could be refactored to use this interface, rather than containing similar functionality?

If you like, we (some Aqua folks) would be happy to help you think through some designs for the above.

Hi @dongreenberg ,
that makes a lot of sense. If I understand your first point correctly, you're suggesting the following:

Make this into an MPS class
Initialize with lists of Operators (that one may create from numpy matrices)
As an initial state, make this compatible with variational forms in the same way as e.g. the Hartree-Fock wavefunction
I think all of this can be done, let me take a look into it.

With regards to your second point, I have two points to make:

An important step in the method proposed here is the transformation of the Matrix Product State into canonical form. This is a basic functionality that is required in almost all algorithms dealing with MPS, Matrix Product Operators (MPOs) and to some extend even boundaries of two-dimensional systems. Maybe it would be good to have that transformation as separate code as I am sure it is reusable.
The preparation method implemented here is somewhat special to the case of Matrix Product States. While injective PEPS, for example, can also be prepared efficiently on a quantum computer, one would have to go about it rather differently.

I'd be very happy to use this as a starting point for developing a broader tensor network library.

Are you aware that there already is an implementation of MPS in Aer? It is implemented as a simulation method for the qasm simulator. You can see details in the code or in the tutorial https://github.com/Qiskit/qiskit-iqx-tutorials/blob/master/qiskit/advanced/aer/7_matrix_product_state_method.ipynb.
I'll be happy to discuss if you'd like more details.

@merav-aharoni ,
the purpose of the method I propose here is not to use MPS on a classical computer to simulate the unitary evolution, but rather prepare the MPS on the quantum computer, much like finding the Hartree Fock state and preparing the Hartree Fock state are two different things.

Hi Henrik, what is your current thinking with this PR? Donny gave some comments above I would echo the sentiment of having this usable in Aqua as an object in the form of an InitialState that can be supplied to var forms etc.
I note the code you provided an 'ncon' package which I cannot find on PyPi - I assume the author never went to the trouble of packaging it up. For code integrated into Aqua we would really want a pip installable package that we can include in the requirements/setup like the other dependencies. Maybe there is some alternative.

Are you aware that there already is an implementation of MPS in Aer? It is implemented as a simulation method for the qasm simulator. You can see details in the code or in the tutorial https://github.com/Qiskit/qiskit-iqx-tutorials/blob/master/qiskit/advanced/aer/7_matrix_product_state_method.ipynb.
I'll be happy to discuss if you'd like more details.

Are you aware that there already is an implementation of MPS in Aer? It is implemented as a simulation method for the qasm simulator. You can see details in the code or in the tutorial https://github.com/Qiskit/qiskit-iqx-tutorials/blob/master/qiskit/advanced/aer/7_matrix_product_state_method.ipynb.
I'll be happy to discuss if you'd like more details.

can this MPS simulator in AER be used with aqua VQE solver? I tried it, found the results are not very good, sometimes even worse than the Hartree-Fock solution.

Latest qiskit (pip install -u qiskit) has MPS working. As said before, the result is identical to the one produced by the statevector simulator (difference is only in perofrmance), which in turn is identical to what a noiseless quantum device would output. So, if the VQE's result is less good than Hartree-Fock, this is a property of the VQE algorithm and is not related to the simulation method. Would you like to share your code?

Actually after installing qiskit, need to update Aer with pip install --upgrade qiskit-aer. I'm going to check now if further action is needed.

No further action is needed.

Latest qiskit (pip install -u qiskit) has MPS working. As said before, the result is identical to the one produced by the statevector simulator (difference is only in perofrmance), which in turn is identical to what a noiseless quantum device would output. So, if the VQE's result is less good than Hartree-Fock, this is a property of the VQE algorithm and is not related to the simulation method. Would you like to share your code?

I installed the source code, it does have MPS working. But I just cannot get the same result. May I have your email address to share the code with you? Thanks

Sure, I've updated my profile

Closing as all work on Aqua is moved elsewhere with the code being moved to Terra and domain specific repos. Chemistry is moved to qiskit-nature.


Double navBar if 'hideNavBar' is false

Steps to reproduce

Just put 'hideNavBar' as false in 'login' scene.

Expected result

Only one navBar should be visible.

Actual result

But two nabBar shows

code here

I can't see 100% of the code, but is the Dashboard scene nested in another stack/scene, and therefore you've got a navbar in the parent and a navbar on dashboard?

It is just nested under 'stack' (same as login), PFB the code

Hi @paritosh-yadav
In the latest screenshot you have hideNavBar uncommented (in the first you had it commented out) - meaning there should be no navBar according to the latest code.
I can't replicate on my end - it's always doing what it's told for me. I'd suggest opening an issue on the Router's repo if the issue has continued.


pcaExplorer not displaying properly

Version:

R: 3.6.1
Rstudio: 1.1.447
pcaExplorer: 2.11.2
Shiny: 1.3.2
DESeq2: 1.24.0

When loading pcaExplorer (with a dds value), I get the following screen:

No data is loaded, the airway dataset (installed) also won't load. Even the help button to the right of the 'load demo airway data' does nothing when clicked.
Also had this issue with all the above packages running on R 3.5.2.

Hi Josh,
sorry for the inconvenience.
I'm traveling these days and will be back in a couple of weeks.
Can you obtain the same error if you use a release version (say, 2.10.0)?
Thing is, I did use the package recently for a demo and did not encounter such a "showstopper". And I did not change the code so massively to think it is because of this package - maybe some of the dependencies have done some changes, I'll look into that soon!
Thanks for reporting this
Federico

I checked the public instance we are running at http://shiny.imbei.uni-mainz.de:3838/pcaExplorer/ and this works - albeit with the older Bioc release.
I'll follow up on this once updated to Bioc 3.9

[Whoops, didn't mean to close]
Hi Federico,
Thanks for the reply!
I get the same issue with the latest stable release installed via BiocManager. I only installed the latest from GitHub when the stable release didn't work.
Regards,
Josh

@federicomarini Interestingly - the public instance (http://shiny.imbei.uni-mainz.de:3838/pcaExplorer) is also showing the same behaviour for me.

@federicomarini Interestingly - the public instance (http://shiny.imbei.uni-mainz.de:3838/pcaExplorer) is also showing the same behaviour for me.
That is happening after I updated to the latest release.
I'll have to investigate that deeper but that needs to wait a little time - apologies for the inconvenience again

Problem may be with shinyAce v0.4.0, which pcaExplorer imports.  Downgrading to shinyAce_0.3.2 fixed the problem for me.  ShinyAce release notes mention "breaking" changes (https://cran.r-project.org/web/packages/shinyAce/news/news.html).

Problem may be with shinyAce v0.4.0, which pcaExplorer imports. Downgrading to shinyAce_0.3.2 fixed the problem for me. ShinyAce release notes mention "breaking" changes (https://cran.r-project.org/web/packages/shinyAce/news/news.html).

Excellent catch @pzumbo. I did see the new release but did not think it would have affected so massively the apps (pcaExplorer, but also ideal).
I'll leave the issue open for the time being, since I can not really actively work on a fix, I'll check in depth once I'm back.
But again: thanks!

Hi Federico,
I am having the same issue as Josh, I believe it is the shinyAce that is stopping it from working but I cannot downgrade my version as the old one says it is not compatible with R 3.6
Thanks for your quick reply to my email, even though you're away at the moment!
Hopefully some time soon there will be a solution to this, thanks.

Seems to be solved now.
Would be amazing if @pzumbo @josiegleeson and|or @jaymickey could give me a quick feedback it is solved on their side as well 😌, then I would close this one

Hi,
I am also facing the same issue. I am also not able to downgrade shinyAce. So I hope to hear more, if there is any solution to solve this. Thanks in advance! :)

Hi Sri,
it should be solved now if you install either release, devel, or the GitHub devel from here.
Federico

@federicomarini it did! Thanks a lot and nice tool, btw! :)
and one tip, the colour of the text (deep gray) is quite hard to see due to the dark background colour (deep blue). So it will be nice if the colour of the text could be a little ligther than the background colour. Thanks!

@federicomarini it did! Thanks a lot and nice tool, btw! :)

Thanks for both, feedback re: bug and re: tool in general!

and one tip, the colour of the text (deep gray) is quite hard to see due to the dark background colour (deep blue). So it will be nice if the colour of the text could be a little ligther than the background colour. Thanks!

Do you mean for the buttons? I can try and see what I can do css-wise maybe ;)

Closing this one as it seems to be resolved, thanks once again @sridewi1!

Thanks folks! Seems to be all good on this end too.


Fix and add back the first sops decryption method

This PR adds the fix for the first decryption method that was removed from README.sops.md file.
We now make sure that the script is executed, and its result is stored in the SOPS_AGE_KEY environment variable.
export SOPS_AGE_KEY=$(bash ./scripts/sops_age_key.sh)

Instead of
export SOPS_AGE_KEY=./scripts/sops_age_key.sh

This fixes #350

Add a note that instead of env var can keep a permanent age equiv of your private key as documented in https://github.com/getsops/sops/blob/0bceaf42b834f254cf2c6a6f61e7121de8eb9c52/README.rst#L205C1-L212C22

@tarasglek Just pushed the changes.

It's not instead of instead of and recommended, it's just an alternative to not mess with env vars :) almost there.

@tarasglek Sorry about that, I've made the changes.

lgtm!


Rotation prop missing on objects loaded from object layer in a tilemap.

Hi,
Thanks for the awesome framework.
I think I've covered the issue pretty well in this thread.
Regards,
Nikolay Tsenkov

The reason it's missing is that Phaser was built against Tiled 0.9. The rotation property is a brand new feature and didn't exist when the TilemapParser was written.
However I've just added it tonight, so please give the dev branch a test.


Omit unused components from production

There are several unused components, which do not need to be built and delivered to production. These have been moved to an archive directory outside the build -- in case we need a reference later.

Fixes https://github.com/project-koku/koku-ui/issues/785

Codecov Report

Merging #786 into master will decrease coverage by 2.21%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #786      +/-   ##
==========================================
- Coverage   75.87%   73.65%   -2.22%
==========================================
  Files         252      210      -42
  Lines        4107     3709     -398
  Branches      698      648      -50
==========================================
- Hits         3116     2732     -384
+ Misses        890      880      -10
+ Partials      101       97       -4

Impacted Files
Coverage Δ

src/store/rootReducer.ts
100% <ø> (ø)
:arrow_up:

src/testUtils.ts
83.33% <0%> (-16.67%)
:arrow_down:

src/styles/theme.ts

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 eeafb13...cb4d395. Read the comment docs.


[QUESTION]

Description
I was going through the Path Parameter and Query Parameters.
So far I got, We have to create a parameter for both Path Parameters & Query Parameters in our function.
My question is what if someone wants to create an API like this.
https://example.com/message/{user_id}?user_id=alif&message=hello
To create such API I have to pass two parameters with same name but which doesn't allows in Python.
@app.get('/message/{user_id}')
async def create_message(user_id: str, user_id: str, message: str):
    ......
    ......
    return {}

Is there any way to do this or I am missing something?

Yep. You can use an alias, and name it the same: https://fastapi.tiangolo.com/tutorial/query-params-str-validations/#alias-parameters

For example:
from fastapi import FastAPI, Query

app = FastAPI()

@app.get("/test/{user_id}")
def test(user_id: str, query_user_id: str = Query(..., alias="user_id")):
    return {"user_id": user_id, "query_user_id": query_user_id}

It works, validates the path and query parameters, generates the OpenAPI schema, etc.
Swagger UI has a bit of trouble showing it correctly, but if you go to the URL directly: http://<IP_ADDRESS>:8000/test/foo?user_id=bar
You get the response:
{"user_id":"foo","query_user_id":"bar"}

This is awesome.
Thank you so much!

 And thanks for reporting back and closing the issue.

Is it possible to use alias with path parameters?
like this:
@router.get("/phone-numbers/{phone-number}")
def user_get_by_phone_number( phone_number: str = Path(default= None, alias="phone-number")):
    return phone_number

Have you tried it? If so, what was the outcome? If not, please do:)

@JarroVGIT You can try it as mentioned below
@app.get("/users/{id}/profile/")
def user_profile(user_id: int = Path(None, alias="id")):
    return {
        "id": user_id,
        "username": "johndoe"
    }


new signature + method storage (+ some tweaks)

I realised that the dictionary isnt even needed.
Change Dictionary<ushort, PacketReciveHandler> registeredMethods = []; this to List<PacketReciveHandler> registeredMethods = [];
and registeredMethods.Add((ushort)sign, handler); to registeredMethods.Add(handler);


want to create the "store" directory on AWS S3

Let me imagine that i want to develop an application on top of the "materialstore" on AWS. I would find it necessary to create a "store" on AWS S3.
How can I make it possible?
I want to develop an application runnable on EC2 with backing S3.

I should try mounting S3 as a local file system.
I should check if materialstore works with it.
https://cloud.netapp.com/blog/amazon-s3-as-a-file-system

I think that the materialstore library do not need to worry about making IO to AWS S3 directly.
We can map S3 buckt to a local directory using tools like Cyberduck.
https://cyberduck.io/s3/

You can try using Amazon AWS S3 FileSystem Provider JSR-203 for Java 7 (NIO2)
https://stackoverflow.com/questions/41113119/java-nio-file-implementation-for-aws

I found that the com.kazurayam.materialstore.core.filesystem.StoreOnS3Test runs slow.
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="com.kazurayam.materialstore.core.filesystem.StoreOnS3Test" tests="3" skipped="0" failures="0" errors="0" timestamp="2023-01-08T11:44:35" hostname="KAZUAKInoMacBook-Air-2.local"
        time="27.354">
  <properties/>
  <testcase name="testCreateStore()" classname="com.kazurayam.materialstore.core.filesystem.StoreOnS3Test"
        time="15.52"/>
  <testcase name="testS3fs()" classname="com.kazurayam.materialstore.core.filesystem.StoreOnS3Test"
        time="11.833"/>
  <testcase name="testNewInstanceOnAwsS3()" classname="com.kazurayam.materialstore.core.filesystem.StoreOnS3Test" time="0.001"/>
  <system-out><![CDATA[]]></system-out>
  <system-err><![CDATA[[Test worker] INFO com.kazurayam.materialstore.core.filesystem.Material - root.getClass().toString()=class com.upplication.s3fs.S3Path
]]></system-err>
</testsuite>

I made the com.kazurayam.materialstore.core.filesystem.SotreOnS3Test class to do performance measurement using the Timekeeper library.
It took 28 seconds to execute the testS3fs() method.
The Timekeeper emitited the following measurement result.

Step
duration
graph

creating new FileSystem on S3
00:02
#

creating parent dir
00:00
#

writing a file
00:01
#

listing a dir
00:00
#

deleting a file
00:01
#

deleting a dir
00:02
#

closing the FileSystem
00:00
#

Average
00:01

This issue has not been finshed yet.

have changed to testImplementation libs.s3fs

derived https://github.com/kazurayam/materialstore/issues/458


HR App Template does not work with multiturn QnA

When my Knowledge Base is configured for multi-turn QnA, the bot template does not return the additional prompts.

I have the same problem. I think we or someone with more expertise has to update/implement the Card Builder

The current version is not configured to support multi-turn QnA. This can be considered as a feature request and will be shared with the concerned team.


Side-loading RPMs fails without a gpg-key directory

I have an rpms directory with a single RPM:
$ ll rpms
-rw-r--r-- 1 jdobies jdobies 7184616 Mar 12 09:49 elemental-system-agent-0.3.3-150500.5.3.x86_64.rpm

When building the image, it fails with the following error:
2024-03-12T13:49:31.819Z	INFO	combustion/rpm.go:36	Configuring RPM component...
2024-03-12T13:49:31.819Z	FATAL	build/build.go:92	An error occurred building the image: configuring combustion: configuring component "RPM": GPG validation is enabled, but 'gpg-keys' directory is missing for side-loaded RPMs
github.com/suse-edge/edge-image-builder/pkg/cli/build.Run
	/src/pkg/cli/build/build.go:92
github.com/urfave/cli/v2.(*Command).Run
	/go/pkg/mod/github.com/urfave/cli/v2@v2.27.1/command.go:279
github.com/urfave/cli/v2.(*Command).Run
	/go/pkg/mod/github.com/urfave/cli/v2@v2.27.1/command.go:272
github.com/urfave/cli/v2.(*App).RunContext
	/go/pkg/mod/github.com/urfave/cli/v2@v2.27.1/app.go:337
github.com/urfave/cli/v2.(*App).Run
	/go/pkg/mod/github.com/urfave/cli/v2@v2.27.1/app.go:311
main.main
	/src/cmd/eib/main.go:18
runtime.main
	/usr/lib64/go/1.22/src/runtime/proc.go:271

This issue is to either:

Correct this behavior if it's not desired
Update the EIB docs to indicate the gpg-keys directory is needed (it currently makes no mention of this directory)

@atanasdinov interesting one... if we supply the Elemental config, we automatically grab the Elemental RPM's, but if we side-load them, e.g. because the customer may want to use a dev/experimental RPM, would we end up still grabbing the one we ship with? I think we would, wouldn't we? That would be multiple RPM's being installed? Thoughts?

Well, we'd still download them. I don't think it makes sense for the user to ever provide Elemental RPMs though... Isn't this the point of making Elemental a first-class citizen?


Current C# Issue Compilation Thread! I think it's best if we made a location for all of them, seems like the contributors have a hard time finding and fixing them.

So here's just the first 2 pages... LOL, brb let me get some more.
Even though, you know, 8.5k + USD on Patreon... guess you need more money!
DONATE! LOL
https://github.com/godotengine/godot/issues/16538
https://github.com/godotengine/godot/issues/16501
https://github.com/godotengine/godot/issues/16437
https://github.com/godotengine/godot/issues/16388
https://github.com/godotengine/godot/issues/16311
https://github.com/godotengine/godot/issues/16309
https://github.com/godotengine/godot/issues/16304
https://github.com/godotengine/godot/issues/16302
https://github.com/godotengine/godot/issues/16254
https://github.com/godotengine/godot/issues/16211
https://github.com/godotengine/godot/issues/16024
https://github.com/godotengine/godot/issues/15923
https://github.com/godotengine/godot/issues/15886
https://github.com/godotengine/godot/issues/15885
https://github.com/godotengine/godot/issues/15832
https://github.com/godotengine/godot/issues/15789
https://github.com/godotengine/godot/issues/15779
https://github.com/godotengine/godot/issues/15763
https://github.com/godotengine/godot/issues/15685
https://github.com/godotengine/godot/issues/15624
https://github.com/godotengine/godot/issues/15619
https://github.com/godotengine/godot/issues/15615
https://github.com/godotengine/godot/issues/15558
https://github.com/godotengine/godot/issues/15467
https://github.com/godotengine/godot/issues/15434
https://github.com/godotengine/godot/issues/15391
https://github.com/godotengine/godot/issues/15208
https://github.com/godotengine/godot/issues/14466
https://github.com/godotengine/godot/issues/13837
https://github.com/godotengine/godot/issues/13355
https://github.com/godotengine/godot/issues/13007
https://github.com/godotengine/godot/issues/12917
https://github.com/godotengine/godot/issues/12851
https://github.com/godotengine/godot/issues/12518

Here's some more! Enjoy it!
https://github.com/godotengine/godot/issues/12483
https://github.com/godotengine/godot/issues/12441
https://github.com/godotengine/godot/issues/12424
https://github.com/godotengine/godot/issues/12415
https://github.com/godotengine/godot/issues/12337
https://github.com/godotengine/godot/issues/11956
https://github.com/godotengine/godot/issues/11930
https://github.com/godotengine/godot/issues/11901

hey @groud you forgot the label archive bro!


add extra arguments to cut function in speach.elan

https://github.com/neocl/speach/blob/73f98172aae99609ed175ad03e7212180d218bce/speach/elan.py#L1688

Fixed it with pull request https://github.com/neocl/speach/pull/37


Add Java 21 images

On (19 Sep 2023) that latest version of java released and it will be an LTS

So is it posible that those images get made / added?
Already thank you!

they are aware of that, read this to get more context: https://adoptium.net/blog/2023/09/temurin21-delay/

after reading the post, any updates since then?

no sorry.


Add Signature

Having a possible signature would be great for some communication, maybe just inserting it into the text field by default (so it can be deleted manually) would make communication more effortless.

Are you thinking about a reply signature a user can set when they are
logged in or a default reply signature per topic?
On Tue, 18 Jul 2023, 16:46 Moritz Göppl, @.***> wrote:

Having a possible signature would be great for some communication, maybe
just inserting it into the text field by default (so it can be deleted
manually) would make communication more effortless.
—
Reply to this email directly, view it on GitHub
https://github.com/TUM-Dev/meldeplattform/issues/4, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKV24QD4KQTH6IEEULDPSVDXQ2OUFANCNFSM6AAAAAA2OQRRKQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Add Pegaso University

University official website URL:
https://www.unipegaso.it/
URL of a page that has a long-term IT course:
https://www.unipegaso.it/lauree-triennali/informatica-per-le-aziende-digitali
URL of a screenshot that shows an email which states that Università Telematica Pegaso granted me an email with this domain to use as an institutional email https://gyazo.com/a74a61e09292ff4a4dd3df499efdab44

@TanderCaz31 First stage of verification passed, official domain is unipegaso.it as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@TanderCaz31 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


fps meter

use http://darsa.in/fpsmeter/ in the examples to get a better idea of how they perform

This seems slightly out of scope.


Connection error forwarding for RPlidar

Added specific publishers for the rplidar package. Publishing will start only if the complete health of the device initially (Connection, driver, etc) checks out onto the particular topic. Then publishing continues regularly with specific codes


<IP_ADDRESS>

Fixes:

'beta' -> 'standard' in version string
error 'libzxing not found fixed in configure.ac

superseeded by 244


[SDK] Adds Receiving Object argument

Description
Follows the Transfer-to-Object specification and adds one more invariant to ObjectArg.
Test Plan
No tests just yet.

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

Adds support for transfer to object in sui.js

Will be replaced by #12987.

Feature is in.


Recenter Node disables partial workflow reruns

Hiya 👋
I was wondering if there is a simple way to prevent the entire graph from reloading when triggering a new workflow run if a Recenter node is present.
If you place a Recenter Node in your workflow and then run the same workflow twice, it will trigger a complete rerun rather than the partial rerun you might expect.

Updated
Originally put that there so that the Node values are always updated, but I guess it's not really needed.


FSL command not found after loading required modules

Hello,
I am attempting to use the FSL 6.0.1 module on Sherlock, graciously provided and maintained by the Poldrack lab. However, after doing ml contribs poldrack, the FSL and related packages (e.g., FEAT) do not seem to work as expected. For example:
Loading the contribs/poldrack module:

FSL and other commands do not work:

However, FSLDIR is set:

Is this a regression introduced recently? This workflow used to work for me previously. Note that ml biology fsl works, but this is for FSL 5.

Hey @poldrack,
Thank you for the response. Does any version of FSL 6 work? I would appreciate any version of FSL 6 being available on Sherlock, since FSL 6 is the major version that I used locally, and seems to be the standard for recent neuroscience papers.
Thus, I would welcome any solution that makes any sub version of FSL 6 work on Sherlock.

I'll have 6.0.4 working again by end of today

ok, module is working with 6.0.4 again - lmk if you experience any problems. I am also installing the latest (<IP_ADDRESS>), will let y'all know once it's available but I am leaving 6.0.4 as the default as before

the latest version can now be loaded using: module load fsl/<IP_ADDRESS>

Thank you so much @poldrack!


RSS: cant use 'other_fields' when tag contains a colon

Config:
tasks:
  youtube:
    rss:
      url: https://www.youtube.com/feeds/videos.xml?user=LateNightSeth
      other_fields: ['yt:videoId']
    regexp:
      accept:
        - check in
        - closer look
    exec: echo "{{ytvideoId}}"

Command:
$ flexget --test execute

Log:
2017-11-10 17:43 INFO     manager                       Test mode, creating a copy from database ...
2017-11-10 17:43 VERBOSE  manager                       Creating new database /config/test-config.sqlite - DO NOT INTERUPT ...
2017-11-10 17:43 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2017-11-10 17:43 VERBOSE  details       youtube         Produced 15 entries.
2017-11-10 17:43 VERBOSE  task          youtube         ACCEPTED: `Republicans Push Their Tax Plan After Election Losses: A Closer Look` by regexp plugin
because regexp 'closer look' matched field 'title'
2017-11-10 17:43 VERBOSE  task          youtube         ACCEPTED: `Democrats Get Their First Big Electoral Wins of the Trump Era: A Closer Look` by regexp
 plugin because regexp 'closer look' matched field 'title'
2017-11-10 17:43 VERBOSE  details       youtube         Summary - Accepted: 2 (Rejected: 0 Undecided: 13 Failed: 0)
2017-11-10 17:43 ERROR    exec          youtube         Could not set exec command for Republicans Push Their Tax Plan After Election Losses: A Closer Loo
k: Error in template syntax: expected token 'end of print statement', got ':'
2017-11-10 17:43 ERROR    exec          youtube         Could not set exec command for Democrats Get Their First Big Electoral Wins of the Trump Era: A Cl
oser Look: Error in template syntax: expected token 'end of print statement', got ':'
2017-11-10 17:43 INFO     manager                       Removed test database

Additional information:

FlexGet version: 2.10.106
Python version: Python 3.6.3
Installation method: pip
Using daemon: yes
OS and version: alpine:latest

This isn't related to rss. It's the jinja templating engine that complains about the colon.

Could there be any workarounds for this, or is all hope lost?

Jinja identifiers must follow the Python naming rules -- http://jinja.pocoo.org/docs/dev/api/#identifier-naming
The following will extract the value and put it in a field that adheres to these rules:
    manipulate:
      - ytvideoid:
          from: "yt:videoid"
    exec: echo {{ ytvideoid }}

@cvium you are my hero!


Any plan for Linux support?

Are there plans to make this buildable on (or at least for) Linux? A cursory glance through some of the source makes this seem non-trivial, but I figure I'd ask.
Thanks much!

Ultimately yes.  That's one of the reasons we went with CoreCLR is because it also runs on Linux/Mac OS/X.  But right now we're focusing on compatibility and then we'll look at actually improving perf so it's a ways off.

This is currently blocked on #76. As @dinov said, we do plan on the support, it's just not a top issue until we prove that this is all worth it. :)

Awesome. I love this project and I hope it succeeds!

#125 will have a question answering this, so I'm going to close.


Build mix from source hit 'GLIBC_2.18' not found in envoy

Describe the bug
Build mix found error /root/go/out/linux_amd64/release/envoy: /lib64/libc.so.6: version 'GLIBC_2.18' not found (required by /root/go/out/linux_amd64/release/envoy)
Run envoy manually also trigger this error.
[root@advise1 istio]# /root/go/out/linux_amd64/release/envoy
/root/go/out/linux_amd64/release/envoy: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /root/go/out/linux_amd64/release/envoy)
[root@advise1 istio]#

Build glibc-2.18 and install it to /opt/glibc-2.18, then run envoy again.
[root@advise1 istio]# LD_LIBRARY_PATH=/opt/glibc-2.18/lib /root/go/out/linux_amd64/release/envoy --help
Segmentation fault
[root@advise1 istio]# LD_PRELOAD=/opt/glibc-2.18/lib/libc-2.18.so; /root/go/out/linux_amd64/release/envoy --help
/root/go/out/linux_amd64/release/envoy: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /root/go/out/linux_amd64/release/envoy)
[root@advise1 istio]#

Expected behavior
Build instruction would mention that this does not work in CentOS 7.x.
And it would be better to fetch an envoy binary which works in CentOS 7.x in Istio`s Makefile
GLIBC includes in CentOS 7 is 2.17
Steps to reproduce the bug
Build mix in CentOS 7.x
cd /root/go/src/istio.io/istio
make

Version
Master code at commit b76a5a8
Installation
Not installed. Just build.
Environment
CentOS 7

There is a way to fix it.

Let user to build a separate glibc-2.18 in CentOS

wget http://ftp.gnu.org/gnu/glibc/glibc-2.18.tar.gz
tar zxvf glibc-2.18.tar.gz
cd glibc-2.18
mkdir build
cd build
../configure --prefix=/opt/glibc-2.18
make -j4
make install

Specify customized glibc-2.18 path to environment variable GLIBC_PATH

export GLIBC_PATH=/opt/glibc-2.18/lib

Modify mixer/test/client/env/envoy.go to accept environment variable GLIBC_PATH
Then build will go smoothly


rename projects

Closes #103.

@bording how does this look?

While working on #106, I also noticed that the code analyzer you have in the project doesn't like the MinVer.Lib project name because Lib is a reserved keyword in some languages. Maybe drop the period and change it to MinVerLib instead?

Thanks for the review @bording, and for #106!

Should package descriptions be updated to distinguish the packages?

👍 I'll push something.

There are package references that can possibly be removed and instead rely on transitive references

I guess you addressed all that in #106?

There are things that are shared by most/all projects that could be moved into Directory.Build.props

Yeah, I guess these could go in there at least:
    <PackageReference Include="Microsoft.CodeQuality.Analyzers" Version="2.6.2" PrivateAssets="All" />
    <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="All" />

But I think it would need the introduction of src and test folders since I'm not sure I want those in the test and targets projects. Whatever the solution is, I think it's best done in a separate PR.

While working on #106, I also noticed that the code analyzer you have in the project doesn't like the MinVer.Lib project name because Lib is a reserved keyword in some languages. Maybe drop the period and change it to MinVerLib instead?

Yeah, that's been bothering me. I'm not wild about MinVerLib, but I'm also not too bothered about either the eventual name or the warning while the assembly is an internal asset. I think I'll merge this as-is, and we can address this in another PR.

Released in alpha 15, and as CLI tool.

I guess you addressed all that in #106?

Yep!

But I think it would need the introduction of src and test folders since I'm not sure I want those in the test and targets projects. Whatever the solution is, I think it's best done in a separate PR.

src and test folders sound like a good way to go.

It's a shame about this, but I guess there's nothing that can be done (other than something terribly hacky involving tampering with the nupkg zipped contents) until NuGet/Home#5132 is resolved. 🤷♂

The other thing you could is directly create the nuspec file and feed that into the project system's packing process, which let's you customize the output to be exactly what you want.
The downside of course, is that you'd then have more manual maintenance of that file, so I don't really recommend going this way.


fix istioctl profile dump --config-path

In response to a cherrypick label: #21163 failed to apply on top of branch "release-1.5":
.git/rebase-apply/patch:271: new blank line at EOF.
+
warning: 1 line adds whitespace errors.
error: Failed to merge in the changes.
Using index info to reconstruct a base tree...
M	operator/cmd/mesh/profile-dump.go
Falling back to patching base and 3-way merge...
Auto-merging operator/cmd/mesh/profile-dump.go
CONFLICT (content): Merge conflict in operator/cmd/mesh/profile-dump.go
Patch failed at 0001 remove duplicate GetConfigSubtree call


[BUG] python3-libcamera not available in venv

Describe the bug
When running from a venv, libcamera is not available. It works fine when not in venv.
To Reproduce

fresh Raspbian 32bit bullseye installation, after running both apt-get dist-upgrade and apt-get upgrade
create a venv e.g. python3 -m venv venv
activate source ./venv/bin/activate
install build dependencies: sudo apt-get install -y libpcap-dev python3-libcamera
upgrade pip to v22: sudo python3 -m pip install --upgrade pip
install picamera2 in venv: pip install picamera2
copy the mjpeg_server.py demo to local machine: wget https://raw.githubusercontent.com/raspberrypi/picamera2/main/examples/mjpeg_server.py
run the server: python3 mjpeg_server.py

Expected behaviour
Streaming server should start
Console Output, Screenshots
(venv) pi@mariner:~ $ python3 mjpeg_server.py
Traceback (most recent call last):
  File "/home/pi/mjpeg_server.py", line 13, in <module>
    from picamera2 import Picamera2
  File "/home/pi/venv/lib/python3.9/site-packages/picamera2/__init__.py", line 1, in <module>
    from .configuration import CameraConfiguration, StreamConfiguration
  File "/home/pi/venv/lib/python3.9/site-packages/picamera2/configuration.py", line 1, in <module>
    from .controls import Controls
  File "/home/pi/venv/lib/python3.9/site-packages/picamera2/controls.py", line 4, in <module>
    from libcamera import ControlType, Size, Rectangle
ModuleNotFoundError: No module named 'libcamera'

Hardware :
Camera: original Raspberry PI NoIR camera
pi@mariner:~ $ cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 108.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

processor       : 1
model name      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 108.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

processor       : 2
model name      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 108.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

processor       : 3
model name      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 108.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

Hardware        : BCM2711
Revision        : c03115
Serial          : 10000000c572d4af
Model           : Raspberry Pi 4 Model B Rev 1.5
pi@mariner:~ $ uname -a
Linux mariner 5.15.61-v7l+ #1579 SMP Fri Aug 26 11:13:03 BST 2022 armv7l GNU/Linux
pi@mariner:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@mariner:~ $ cat /etc/debian_version
11.5

Additional context
apt-get reports the library is already installed:
(venv) pi@mariner:~ $ sudo apt-get install python3-libcamera
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-libcamera is already the newest version (0~git20220826+3fad116f-1).
The following package was automatically installed and is no longer required:
  libfuse2
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

if you leave the venv it works:
(venv) pi@mariner:~ $ deactivate
pi@mariner:~ $ python3 mjpeg_server.py
[9:44:23.932952611] [3178]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3866-0c55e522
[9:44:23.960313915] [3179]  WARN RPI raspberrypi.cpp:1258 Mismatch between Unicam and CamHelper for embedded data usage!
[9:44:23.961292189] [3179]  INFO RPI raspberrypi.cpp:1374 Registered camera /base/soc/i2c0mux/i2c@1/imx219@10 to Unicam device /dev/media3 and ISP device /dev/media1
[9:44:23.964590769] [3178]  INFO Camera camera.cpp:1035 configuring streams: (0) 640x480-XBGR8888
[9:44:23.965081322] [3179]  INFO RPI raspberrypi.cpp:761 Sensor: /base/soc/i2c0mux/i2c@1/imx219@10 - Selected sensor format: 640x480-SBGGR10_1X10 - Selected unicam format: 640x480-pBAA

@chrisuk Hi Chris, just wondering if by any change you've ever used "venv"s? (I must confess that I know nothing about them...)

Actually I've just done a web search. It seems you need to use the --system-site-packages option when you create the venv. Please see https://docs.python.org/3/library/venv.html.

Sorry was afk, yep that's what I've used before, otherwise you'd have to install libcamera within the venv, which might be tricky as I don't think there's a PyPi version.

@mnbf9rca I think --system-site-packages sounds like the answer. Does that resolve this for you? Thanks!

Yes! I've never even noticed that option before. Thanks so much. Perhaps worth adding to the documentation?

Hello,
Just stumbling upon the same problem. While --system-site-packages works around the problem, this not a good solution. Because the very purpose of python environments is to be isolated from the system-installed packages. The real solution would in deed be a pypi version of the libcamera module pulled in by picamera2 as a regular dependency.
KR, Dennis

Actually I've just done a web search. It seems you need to use the --system-site-packages option when you create the venv. Please see https://docs.python.org/3/library/venv.html.

I confirm, it works guys. Thank you saved me !

I had the same issue D: !!!!  and I double confirm, it works by creating a new environment with "--system-site-packages". I am working on a project using openCV with the Raspberry camera.
These were the steps I followed:
#Create a virtual environment
python3 -m venv --system-site-packages new_env
#Activate the new environment
source new_env/bin/activate
#Update pip
pip install --upgrade pip
#Install mediapipe
pip install mediapipe
#Install OpenCV
pip install opencv-python
#Check if you have all the libraries available
pip list
You must see "picamera2" in the list when using "pip list"


Should fail instantly if the host can't be found / isn't running

Made a request to a localhost server that I forgot to start - took a while to timeout. Insomnia fails instantly with a helpful error message

Thanks. Fixing it 👍

It's fixed, you can try this Beta build https://download.proxyman.io/beta/GetAPI_1.0.5_Fix_localhost_issue.dmg


[BUG] - No options to add more breakpoints to theme!

Describe the bug
Hello, I am trying to nextui. But After reading whole docs and apply, I find a big issue with nextui. That is, it comes with fewer breakpoints for responsiveness.
 xs: '650px',
 sm: '960px',
 md: '1280px',
 lg: '1400px',
 xl: '1920px'

But we are not able to add more breakpoints here, But it should be done, for responsive design. I hope in stable version you add options to nextui?
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
nothing
Expected behavior
As a frontend developer, I think it is very necessary things for adding custom more and more breakpoints.
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome

I agree, this is causing a small nightmare for us too.
In my default theme, I added this:
      xs: "650px",
      sm: "768px",
      md: "960px",
      lg: "1280px",
      xl: "1400px",
      "2xl": "1920px",
    },```

But it doesn't do anything to the media queries :(

Hey @Moe03  sorry for the delay please upgrade to V2 and use TailwindCSS custom breakpoints https://tailwindcss.com/docs/responsive-design#using-custom-breakpoints


package not follow linux FHS

From Debian FHS manual :

if not use the /opt/ directory

the binary file influx and influxd should be placed under /usr/bin/
the documentation should be placed under /usr/share/doc/influxdb/
init script should be placed at /etc/init.d/influxd and use update-rc.d to install the script
configuration files should go under /etc/influxdb/
there should be a /etc/default/influxdb configuration file provided by default
data directory should go under /var/lib/influxdb
influxdb user should set /var/lib/influxdb or /nonexistant as home directory and use /bin/false as login shell
there should be a /lib/systemd/system/influxdb.service configuration file for systemd

if use the /opt/ directory

the binary file influx and influxd should be placed under /opt/influxdb/bin/
the documentation should be placed under /opt/influxdb/usr/share/doc/influxdb/
configuration files should go under /etc/opt/influxdb/
data directory should go under /var/opt/influxdb/
I have no idea where the init script should be located. I will read more manuals about it.
influxdb user should set /var/opt/influxdb or /nonexistant as home directory and use /bin/false as login shell

This is an example system configuration file from ArchLinux.
https://aur.archlinux.org/cgit/aur.git/tree/influxdb.service?h=influxdb

I also agree this would be a nice addition.  You could also look at how Grafana set their packaging as they are also a go project.
https://github.com/grafana/grafana/tree/master/packaging
https://github.com/grafana/grafana/issues/1758

Closing in favor of #4479. Any further comments should be made on the PR.


Added ValidationErrors::ToJson#as_json and Collection#as_json.

Added Collection#as_json and ValidationErrors::ToJson#as_json to match Resource#as_json. By providing Collection#as_json, the #to_json methods no longer have to rely on :to_json => false.

@dkubb bump. Has this been fixed already?


Cannot get card to "fit" like I want no matter what

I'm hopeful too much of my frustration does not come through in this post. I'm fairly new to lovelace dashboards, coming from OpenHab previously.
I have tried Grids, Horizontal Stacks, Layout-Card, Masonry, and just about every other kind of view I can find. I have tried suggestions I've found in my searches from grid_row/grid_cols, to height: styles, etc.
All I want is a grid that displays 3 columns and 2 rows, all cards being the same size. I will have 5 camera feeds displaying in the first five cards, then the weather radar in the sixth one.
No matter what I try, I end up with something like this, where the radar card is twice the height of all the other cards. What am I missing. I see a log of similar questions where they response is "Check out Layout-Card" with a link to that project. I have installed it and tried it numerous ways but can't seem to get it to do what I'm after.
Any advice for a weary guys just trying to make a symmetrical dashboard?
Thanks!

If I turn on the "Render Cards as Squares" option, it just adds blank padding to each of the Picture elements to make them the same size as the long, stretched out Radar card.

Also, I have tried with the "Square Map" option both on and off in the Radar card.
Here is my card grid config:
square: false
columns: 3
type: grid
cards:
  - type: picture
    image: https://demo.home-assistant.io/stub_config/t-shirt-promo.png
    tap_action:
      action: none
    hold_action:
      action: none
  - type: picture
    image: https://demo.home-assistant.io/stub_config/t-shirt-promo.png
    tap_action:
      action: none
    hold_action:
      action: none
  - type: picture
    image: https://demo.home-assistant.io/stub_config/t-shirt-promo.png
    tap_action:
      action: none
    hold_action:
      action: none
  - type: picture
    image: https://demo.home-assistant.io/stub_config/t-shirt-promo.png
    tap_action:
      action: none
    hold_action:
      action: none
  - type: picture
    image: https://demo.home-assistant.io/stub_config/t-shirt-promo.png
    tap_action:
      action: none
    hold_action:
      action: none
  - type: custom:weather-radar-card
    show_recenter: true
    square_map: true

@kirill578 for some reason the code above works on desktop but not in the companion app.


Function args are not propagated when __cdecl convention is used

The function arguments aren't displayed in the disassembly view.

I believe this is a dupe of #237


Why tz_aware is forced to true?

This should be considered as harmful practice since it is better to store everything in naive format, but in UTC.

@n8v-guy I agree. The tz_aware setting was a poor choice I made very early on in this project, but I've been unable to change it without breaking backwards compatibility.
I'm planning a Flask-PyMongo 2.0 which will break backwards compatibility, and won't default this to True. In the meantime, I suggest you set it to False explicitly for new applications using Flask-PyMongo.

How do you set it to False?
Best regards.


Class 'Bnomei\Srcset' not found

Hey, me again ;) I'm getting the error thrown in /vendor/bnomei/kirby3-srcset/config.php line 21.

please try composer dumpautoload -o; on your devkit.
if on ftp server try deploying again.
otherwise you might be using the plugin from another plugin before it got loaded. i could hackishly force require the autoloader but would like to avoid that. can you tell more more about when the file method gets called by your code?
https://github.com/k-next/kirby/issues/419

@joernroeder were you able to solve this or need further assistance?


Rename expingest to ingest

The ingestion system is not experimental anymore so it's time to rename it.
We should:

[ ] Rename all packages and code symbols from expingest to ingest
[ ] Rename the horizon expingest command to horizon ingest. The horizon expingest command should be deprecated (hidden and a message should be printed when invoked) for a few releases before totally removing it.

I think we also use service="expingest" when logging. I guess expingest -> ingest on entire code base should do it.

I think a good time to work on this is after this sprint when protocol 14 (that's changing a lot in ingestion package) is done. Moving to the top of the Backlog.