feature/true-zero-copy

Pull request type
Please check the type of change your PR introduces:

[X] Feature

What is the current behavior?
eCAL's current zero copy mode is realizing zero copy on the receiving side only. The sending (publishing) side still makes a single memory copy to provide a generic concept for all transport layers (zero copy and none zero copy capable ones).
What is the new behavior?
The new approach applies true zero copy if a publisher is connected to local subscribers only. The new approach enables the modification of the memory file content without any additional copy action (zero copy).
This pictures shows two applications ecal_sample_performance_snd and ecal_sample_performance_rec_cb running on a Windows host and exchanging/modifying 8MB payloads in less then 20 µs !

Does this introduce a breaking change?

[X] Yes

New CPublisher API functions added using the new eCAL::payload class.
Sample Usage
// binary payload (std::vector<char>)
class CVectorPayload : public eCAL::payload
{
public:
  CVectorPayload(size_t size_)
  {
    payload.resize(size_);
    std::fill(payload.begin(), payload.end(), (char)(42));
    std::cout << "Message size  =  " << int(payload.size()) << " Byte = " << int(payload.size() / 1024) << " kByte = " << int(payload.size() / 1024 / 1024) << " MByte" << std::endl;
  }

  void write_complete(void* buf_, size_t len_)
  {
    assert(len_ == size());

    // write complete content to shared memory
    memcpy(buf_, payload.data(), payload.size());
  };

  void write_partial(void* buf_, size_t len_)
  {
    size_t write_idx((clock % 1024) % len_);
    char   write_chr(clock % 10 + 48);

    // write partial content to shared memory
    static_cast<char*>(buf_)[write_idx] = write_chr;

    clock++;
  };

  const void* data() { return payload.data(); };
  size_t      size() { return payload.size(); };

private:
  std::vector<char> payload;
  int               clock = 0;
};

// main entry
int main(int argc, char **argv)
{
  // initialize eCAL API
  eCAL::Initialize(argc, argv, "performance_snd");

  // create payload
  CVectorPayload binary_payload(payload_size);

  // create publisher
  eCAL::CPublisher pub("zero-copy-pub");

  // enable zero copy mode
  pub.ShmEnableZeroCopy(true);

  // activate handshake mode with 50 ms
  pub.ShmSetAcknowledgeTimeout(50 /*ms*/);

  // send updates
  while(eCAL::Ok())
  {
    // send payload
    pub.Send(binary_payload);
  }

  // destroy publisher
  pub.Destroy();

  // finalize eCAL API
  eCAL::Finalize();

  return(0);
}

created a new clean branch "feature/true-zwero-copy-2"


Updated code sample

@webster354 : Thanks for your contribution! The author, @davidmu1, has been notified to review your proposed change.

#sign-off


bug fix for mesheryctl auto redireect

Signed-off-by: kumarabd<EMAIL_ADDRESS>Description
This PR fixes #
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

@navendu-pottekkat will you be so kind as to tie-off this last bit on @kumarabd's behalf?


phone auth

does this support phone auth on all platform

Not yet, this is just a wrapper around the SDKs. You are more than welcome to fork it and add all the modifications you need or just add new auth schemes


MODE-1235 Added a test case which reproduces the steps in MODE-1235

The problem described in this issue, was fixed as part of MODE-1238: connectors which are path based, when asked to retrieve a node by ID, will default to a search. Since indexing is fixed now in the federation connector, this will fix the issue here as well.
However, a missing exception-handling case which could cause the repository to hang indefinitely was spotted and fixed.

Other than the minor suggestion I posted above, this looks great.


Dumping the schema requires babel-cli

Not really too sure if this should go in metaphysics, or just in here TBH. Figured it'd be better to bring it up in here first.

Yeah this is an issue I’ve been wanting to dive into, but when I wanted to it went away for me :/
The babel-cli package is actually being used by metaphysics, so ¯_(ツ)_/¯


How to handle "not found" with Beacon.DataSource.Behaviour?

How do we handle when data is not found in my BeaconDataSource? For instance in the demo app, what if I navigate to a blog post that does not exist?
Is there someway of signal back to beacon?
Maybe some async features here as well if the data is slow to get?

what if I navigate to a blog post that does not exist?

It depends how you structure your site and pages, for eg on dockyard.com each blog post is a page so visiting a broken url will render a 404 page, eg: https://dockyard.com/blog/2023/11/01/nothing-here
Such pages can be created and styled in the Admin interface since we merged support for error pages. It provides a default implementation too.

How do we handle when data is not found in my BeaconDataSource?

At this moment it's up to you to make sure the data source is correct and you're calling an existing key. This process will be easier after we get to merge https://github.com/BeaconCMS/beacon_live_admin/pull/84 which will let you manage the data source in the admin interface at runtime. Besides that, I've been discussing this problem with @APB9785 and exploring ways to warn users about incorrect data source, the issue to track is https://github.com/BeaconCMS/beacon/issues/369

async features here as well if the data is slow to get?
Async and caching is not yet planned but I can see it'll be necessary eventually. It's too early to define the architecture for both but they would probably be implemented after LV async and Nextjs Data Caching, respectively. Just created two issues to keep track of it: https://github.com/BeaconCMS/beacon/issues/371 and https://github.com/BeaconCMS/beacon/issues/370

I hope that answer your questions so I'm closing the issue, but feel free to post more comments. Thanks!

Maybe I'm just confused with how the Datasource-thingy should work..
def live_data(:blog, ["posts", post_slug], _params) do
   case BlogPosts.fetch_blog_post_by_slug(post_slug) do
       {:ok, post} -> post
       :error ->
         nil    # <==== what to return here if there is no blog post? nil? raise error?
   end
end

For this situation, you can define your own custom exception which is treated as 404 by Phoenix:
defmodule YourApp.PageNotFoundError do
  defexception plug_status: 404, message: nil, path: nil

  def exception(opts) do
    path = Keyword.fetch!(opts, :path)

    %__MODULE__{message: "Page not found for path: #{Enum.join(path, "/")}", path: path}
  end
end

and then in your live_data handler:
def live_data(:blog, ["posts", post_slug] = path, _params) do
  case BlogPosts.fetch_blog_post_by_slug(post_slug) do
    {:ok, post} -> %{post: post}
    :error -> raise YourApp.PageNotFoundError, path: path
  end
end

Note the successful case creates a map of live_data assigns, which will be used in your template.

Oh, didn't consider that option 😅
Not a fan of raising exceptions for non exceptional cases, but at least there is something.

@kwando that's how Phoenix knows what to do :)
https://hexdocs.pm/phoenix/1.7.10/custom_error_pages.html#custom-exceptions


When changing track, a popup shows instead of notification

OS:
Ubuntu 16.04 Beta 2 (all updates)
Issue Descriptions:
On version below 16.04 (15.10 for example, tested), it'll show a notification with Notify-OSD when the song changes. On 16.04, it'll show a popop (as shown in this screenshot).
Steps to Reproduce:

Install Ubuntu 16.04 Beta 2 (my install is fully updated)
Install the amazing GPM app you've created
Play anything that requires the player to switch songs (playlist, album, radio)
Wait for it to switch songs
Look, a popup! And it has your eyes!

Update: If you do not close the popup, another will stack on the next song change, and so on
Update 2: It minimizes fullscreen apps
Notes:
I'm fully aware I'm running a pre-release Operating System. I know to expect bugs and issues, and that's exactly why I'm running it. So I can report any issues to developers (such as you) so it can be fixed before the public release.

There is an upstream issue that has been fixed, that should be in the next release that isn't present in the current release.

As @jostrander mentioned this bug was fixed in the latest release of electron.
https://github.com/electron/electron/releases/tag/v0.37.6
The next release of GPMDP (which you can track here #941 will include this updated version of electron and therefore fix this issue


When DxDataGrid is in cell mode,  addRow function does not work fully correct

Specify the version of the devextreme-angular and devextreme packages you are using.
devexteme version: latest
devextreme-angular version: latest
Specify the type of the issue (check one with "x"):
bug Report

Here it is an example of the bug:
http://plnkr.co/edit/4NdPjSU2RLrPLMWdO9HD?p=preview
When you click DevExtreme "+" button, a row is added and first editable cell is focused.
But when you execute addRow() function from the code (by clicking custom button), it adds a new row, but focus is not set.

Try to call the addRow method with a delay to automatically apply focus to the first column:
onClick() {
    setTimeout(this.dataGrid.instance.addRow);
}


Got '"docker-entrypoint.sh": executable file not found in $PATH' while run an container

I used the following command to build an image
docker build -t mango:3.7 .
and run a container from the above image:
docker run -d -p 27017:27017 -v $PWD/db:/data/db mango:3.7
then i got the error as follow:
"docker-entrypoint.sh": executable file not found in $PATH
My docker engine is in Mac OS.
It worked after I add the following command in Dockerfile to give executable permission to the docker-entrypoint.sh.
RUN chmod +x /usr/local/bin/docker-entrypoint.sh

Duplicate of https://github.com/docker-library/mongo/pull/208.


Update web.xml.j2 template file to add custom filters and filter-mappings

Update web.xml.j2 template file to add custom filters and filter-mappings.
Purpose

This fix is to enable the products to configure custom filters and filter-mappings in tomcat/web.xml using deployment.toml file.

With this fix filters can be configured using deployment.toml as follows:
[[tomcat.filter]]
name = "<Filter-Name>"
class = "<Filter-Class>"
[tomcat.filter.init_params]
<param-name1> = <param-value1>
<param-name2> = <param-value2>

[[tomcat.filter_mapping]]
name = "<Filter-Name>"
url_pattern = "<URL-Pattern>"
dispatchers=["<dispatcher1>", "<dispatcher2>"]

Example : If the following config needs to be added to <IS_HOME>/repository/conf/tomcat/web.xml, the deployment.toml configuration should be as shown below.
Config that needs to be added to <IS_HOME>/repository/conf/tomcat/web.xml
</filter>
      <filter-name>CORS</filter-name>
      <filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class>
      <init-param>
          <param-name>cors.allowOrigin</param-name>
          <param-value>https://localhost:9000, https://localhost:9001</param-value>
      </init-param>
      <init-param>
          <param-name>cors.exposedHeaders</param-name>
          <param-value>Location</param-value>
      </init-param>
      <init-param>
          <param-name>cors.supportedMethods</param-name>
          <param-value>GET, HEAD, POST, DELETE, OPTIONS, PATCH, PUT</param-value>
      </init-param>
  </filter>

  <filter-mapping>
      <filter-name>CORS</filter-name>
      <url-pattern>/*</url-pattern>
      <dispatcher>FORWARD</dispatcher>
      <dispatcher>REQUEST</dispatcher>
  </filter-mapping>

Config to be added to <IS_HOME>/repository/conf/deployment.toml:
[[tomcat.filter]]
name = "CORS"
class = "com.thetransactioncompany.cors.CORSFilter"
[tomcat.filter.init_params]
"cors.allowOrigin"="https://localhost:9000, https://localhost:9001"
"cors.supportedMethods"="GET, HEAD, POST, DELETE, OPTIONS, PATCH, PUT"
"cors.exposedHeaders"="Location"

[[tomcat.filter_mapping]]
name = "CORS"
url_pattern = "/*"
dispatchers=["FORWARD", "REQUEST"]

Note : Note that since <param-name>cors.exposedHeaders</param-name>  contains fullstops(.) in the param-name, the key "cors.exposedHeaders" in [tomcat.filter.init_params] should be within double quotations("") as shown in the example. Not adding the quotations will result in a mis-configured filter.

The changes from commit https://github.com/wso2/carbon-kernel/pull/2698/commits/d9701530770f28906d3bd96408484bb9f9ad7780 is added to support  configs in , and  configs in .
This is add to partially resolve issue : https://github.com/wso2/product-is/issues/9917


rm QiitaStudySearch

This rm QiitaStudySearch, which is not used and superseded by redbiom. While rm QiitaStudySearch I realized that we have the same test with different parameters that expected the same output cause those variables weren't used in the newer version of the code, an example (True/False and expecting the same output in qiita_db/test/test_util.py):
        obs_info = qdb.util.generate_study_list([1, 2, 3, 4], True)
        self.assertEqual(obs_info, exp_info)
         obs_info = qdb.util.generate_study_list([1, 2, 3, 4], False)
        self.assertEqual(obs_info, exp_info)

Codecov Report

Merging #2638 into dev will decrease coverage by 0.16%.
The diff coverage is 64.7%.

@@            Coverage Diff             @@
##              dev    #2638      +/-   ##
==========================================
- Coverage   94.47%   94.31%   -0.17%
==========================================
  Files         166      164       -2
  Lines       19698    19389     -309
==========================================
- Hits        18610    18286     -324
- Misses       1088     1103      +15

Impacted Files
Coverage Δ

qiita_pet/handlers/qiita_redbiom.py
96.05% <ø> (ø)
:arrow_up:

qiita_pet/webserver.py
100% <ø> (ø)
:arrow_up:

qiita_pet/handlers/study_handlers/__init__.py
100% <ø> (ø)
:arrow_up:

qiita_db/__init__.py
100% <ø> (ø)
:arrow_up:

qiita_db/util.py
95.23% <100%> (-1.59%)
:arrow_down:

qiita_db/test/test_util.py
99.65% <100%> (-0.01%)
:arrow_down:

...lers/study_handlers/tests/test_listing_handlers.py
94.69% <33.33%> (-4.68%)
:arrow_down:

...ta_pet/handlers/study_handlers/listing_handlers.py
76.19% <60%> (-13.81%)
:arrow_down:

... and 1 more

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 dcdc24b...f116a1f. Read the comment docs.

👍

Thanks!


Property Visibility from private to protected

Changing property visibility from private to protected to perform inheritance.

@akmnahid thank you for contribution


AttributeError: 'BOARD' object has no attribute 'GetModules'

I've recently upgraded to KiCad 7.0.2, and upon trying to generate the BOM, the following dialog appears.

You are running a very old version, update your plugin.
If you are running from kicad and not from terminal then just delete your old version and install from kicad's plugin manager.

I'm running the latest version, but I can't reproduce the issue anymore, so I'm unsure what was happening.
Thanks for the quick reply, and keep up the great work!

Judging from the paths in the error above you have ibom in your home dir, that is not standard location where plugin manager installs things.
If you run into this issue again then make sure to delete your manual installation folder and just install from plugin manager.


Promote TestBinder as a standalone binder dependency

Currently, Spring Initializr is bootstrapping SCSt app with MessageCollector, and we don't want that to be the default since it is deprecated.

It appears that Spring Initializr have accepted our current approach - https://github.com/spring-io/start.spring.io/issues/385#event-3988597942. So I just need to double check and update documentation to completely remove references to an old binder

been done


doc: a minor typofix for spec.helpers.perf

Summary
A minor comment mistake in perf.lua
Full changelog
typofix in spec.helpers.perf.lua
function start_stapxx

 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.

@chronolaw First PR 🎉 !


Zooming back out from a point

Sometimes when zooming in on a point, it pulls you right back out to the default view. @abettermap notes that it only happens if you click on a point or go to it directly like from the URL, and the full data query for the table has not finished loading yet

tried to troubleshoot this but i can't reproduce it consistently. gonna have to punt in this scope anyway, got some other bugs piling up, and this one feels like edge case somewhat, and can't troubleshoot it if i can't make it happen. also pretty sure it happened months ago.


Should train dataloader shuffle be disabled when overfit_batches is active?

Proposed refactoring or deprecation
Instead of disabling shuffle / replacing RandomSampler with SequentialSampler in the train dataloader, replace the train dataset with a fixed subset of it using torch.utils.data.Subset (eg. first N samples of the dataset, where N is given by overfit_batches. This gives the same dataset samples as with the previous implementation.)
Motivation
This prevents training batches to be the same for every epoch

Pitch

If you enjoy Lightning, check out our other projects! ⚡

Metrics: Machine learning metrics for distributed, scalable PyTorch applications.

Flash: The fastest way to get a Lightning baseline! A collection of tasks for fast prototyping, baselining, finetuning and solving problems with deep learning

Bolts: Pretrained SOTA Deep Learning models, callbacks and more for research and production with PyTorch Lightning and PyTorch

Lightning Transformers: Flexible interface for high performance research using SOTA Transformers leveraging Pytorch Lightning, Transformers, and Hydra.

it would actually be:
if isinstance(overfit_batches, float):
    N = int(overfit_batches * len(train_dataloader.dataset)) * effective_train_batch_size

will it work with IterableDatasets?

@awaelchli Done!

However, limit_train_batches alone does not achieve overfitting because the validation & test dataloaders are not replaced with the train dataloader.


Figure out a reproducible way to deal with large computations

Current solution revolves around storing their results as data files - but the latter can only be created when running scripts one-by-one, which is not great. Render times are way to long or infinite otherwise. This is somewhat connected with #2.

Does not appear that I can actually do this. Bottleneck is not the model running (although I experimented with mlogit package, it is not better) but the calling of summary() needed for the tidy() method. No way to select columns before either. Can't export a pdf file instead of rendering in-file.
Proposed solution: write expensive models to rds or RData and read those in while keeping the code - this is already implemented. Offer an option to re-render everything or use pre-rendered models (how? - can do separate releases for example).
Closing this as not planned.


qt5: cleanup mkspecs

QMAKE_COMPILER is not meant to be the actual compiler, but a compiler
type (gcc, clang, mingw). For both mkspecs it's already set in the
common includes. Remove wayland and debug settings from the clang
mkspec as they are already removed from the gcc mkspec.

In master-next, thanks!
11425da2...87f04621 master-next -> master-next

Merged thanks:
77ed8fb2..87f04621  master -> master


Present governments to the Publishing API

This is in preparation for linking content to these governments in the Publishing API, and then using this information in Government Frontend.

This depends on https://github.com/alphagov/govuk-content-schemas/pull/935


Tracking: Kotlin 2.0.0

Summary
Fresh tracking PR for Kotlin's 2.0.0 release cycle; coming soon.

[x] Updates to uuid to build against 2.0.0
[x] Updates to main project to build against 2.0.0

Known Issues

packages/cli won't build until Mosaic updates are applied
#586

PR Tree

elide-dev/uuid#135

Changelog

feat(cli): added a thing
fix(dev): fixed a thing
chore: updated → 1.0

> Task :packages:base:compileKotlinMingwX64 FAILED
e: file:///home/runner/work/elide/elide/packages/base/src/nativeMain/kotlin/elide/util/UUID.kt:16:8 Unresolved reference 'dev'.
e: file:///home/runner/work/elide/elide/packages/base/src/nativeMain/kotlin/elide/util/UUID.kt:26:12 Unresolved reference 'uuid4'.

mingw is probably still disabled upstream in uuid.


Updated the tests for the data layer and fixed the failing tests.

I signed it!

The only thing is the error handling I commented on. Otherwise, LGTM. :)


How

@eak000 Could you try making the images a bit smaller? I think it looks really nice with the logos instead of the text as previously, but the logos could be approximately half the size of what they are now?

Yes to making them smaller, and I have NO CLUE how they are linking to github. I could swear I had them linking to the proper sites. I will fix that right now.

Also, @abillmaier I see that the images have grey borders at the bottom, could you replace them on trello with images that don't have this border, and notify Emily when they're up?
@eak000, can you exchange the pictures with whatever new ones Anna will post up, I would love to get rid of these grey bottom borders...

@eak000 Yeah, these things happen! :D

I made the changes, other than swapping out the newer images when they are ready.

Thanks Emily, and sorry for looking at these pull requests so late! Anna has never provided new images unfortunately, but yeah, it doesn't look too bad, and better than the status quo. So I'll merge this in as is.


Fix activation events

Fixes the deprecation error warning. Package will now continue to work when Atom version 1.0 is released in June. I assume that there will probably be an updated version of this package for Polymer 1.0 that will released before then, but for now this gets rid of the annoying error message.
Version number bumped to 1.1.3

Use activationCommands instead of activationEvents in your package.json
Commands should be grouped by selector as follows:
  "activationCommands": {
    "atom-workspace": ["foo:bar", "foo:baz"],
    "atom-text-editor": ["foo:quux"]
  }

Package.getActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:808:9)
Package.hasActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:733:20)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:185:24)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:163:15)
Package.load (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:177:12)
PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:355:14)

Cool thanks :)


The custom node grouping feature is not working in the new version.

before

now @1.20.2 All nodes are displayed arranged together.

node  in grapth also not show displayName

As new changes are coming - we will not re-enable grouping for at least next month or two


gat.to_evoked() ?

How about a GeneralizationAcrossTime.to_evoked method that returns an evoked array for the score time series, with either only the diagonal, or one "channel" for each training time point? That way, some of the plotting methods for EvokedArray could be leveraged (e.g., plot_compare_evokeds ...).
Just a thought.
@kingjr

This is related to #3424.
IMO it's a good idea, but I wouldn't implement it on the GAT directly.
We're trying to make the supervised API consistent, and there's a big chance that we'll favour the dev of sklearn-style estimators taking X and y as opposed to hybrid objects that take epochs, apply the cv internally, deal with the predict_method etc.
However, a to_evoked function/method may be useful to extract the patterns_ from all spatial filter estimators (Xdawn, CSP, TimeDecoding, UnsupervisedSpatialFilter).
This would require making a SpatialFilterMixin that computes the patterns from the filters for all of these classes. Would you be up for it?

Would you be up for it?

Hm... Probably not any time soon. I'm still fairly hopeless when it comes to classes.

I just gave it a try, but rapidly hurt some API issue. Here are some additional thoughts
SpatialFilterMixin
Create a mixin class for spatial filter estimators (i.e. Xdawn, CSP, SearchLight & GAT) and init all of these estimators with a compute_patterns bool param.
This makes sense in term of code quality, however, Xdawn and CSP already have their own computation of the patterns (that's a small problem)
The SearchLight case
If we init SearchLight with a compute_pattern bool param, it is unclear to me

how we will deal with SearchLight that are not across time, but e.g. across frequencies.
Whether we make it smart to retrieve the coef of pipeline estimators (e.g. StandardScaler() + LogisticRegression()) by looping the steps, or just look for a coef attributes.
Whether we have to invert_transform the coefs with the preceeding steps. E.g. StandardScaling should be used to inv transform the coef to be back a physical unit.
If we apply it to the generic SearchLight directly, we won't be able to compute patterns if X is not 3 dimensional. E.g. if you do a time freq decomposition before doing a searchlight, each estimator will be based on 3 dimension, and we can't compute a covariance anymore.

Covariance parameterizing
Do we want to parametrize the covariance computation (e.g. adding a regularlization) before computing the pattern. I think not, but I'm not sure.

Note, I wasn't actually thinking about recovering the spatial patterns, just the decoder score time series.
Though somehow automatically recovering the patterns would be very cool.

The coefs can be found with a one liner something like [est.coef_ for fold in gat.estimators_ for est in folds] so I don't think it's a high priority, especially as the filters themselves are not easily interpretable.

Yeah, I meant recovering some form of interpretable pattern (e.g., via the Haufe trick).

But then we need to compute the covariance. I'm think that, strictly speaking, we need to compute a covariance within the CV no?

Probably. But IIRC neither you nor Denis care much for the Haufe trick, so ...

No, I do care, I think it's one of the important missing features that should be present for all spatial filters. It is mainly a dev issue.


Text seach for iOS

Its hard to find recipes in long list

Using sqllite FT ( full text ) looks like sensible approach. It will require big changes in the app tho.


Add selector to check if host can add machine

Depends on https://github.com/kubevirt/web-ui-components/pull/293

sorry, I see it depends on the other PR now..

Pull Request Test Coverage Report for Build 1392

48 of 49 (97.96%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 87.416%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/components/BareMetalHosts/StatusComponents.js
14
15
93.33%

Totals

Change from base Build 1163:
0.07%

Covered Lines:
3307

Relevant Lines:
3626

💛  - Coveralls

Pull Request Test Coverage Report for Build 1164

48 of 49 (97.96%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 87.416%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/components/BareMetalHosts/StatusComponents.js
14
15
93.33%

Totals

Change from base Build 1163:
0.07%

Covered Lines:
3307

Relevant Lines:
3626

💛  - Coveralls


For Nvidia GPU, does it support Nvidia GPUs with compute capability 6.0, e.g., P100?

need compute capability >= 8.6

Thanks.

need compute capability >= 8.6


witness_node hangs silently when attempting to listen on already-used port

Discovered the hard way that it was hanging in reset_p2p_node() when I accidentally re-used an occupied server-side port.  This seems like a common error so let's tell the user and exit cleanly instead of simply hanging with no error message.

I think this is a logging issue.  The P2P code will print a message to warn the user that it is waiting for the port to become available.    It is using the "ulog"

This issue was moved to bitshares/bitshares-core#77


Extend the list of papers on package management.

Hi @andrew and others :wave:
I have been collecting data on package managers, including a list of papers on package management and package ecosystems. I have added the papers from my list that were missing from this one.
But first of all, I'd like to know whether this kind of contribution is welcome.
However, it already seems like this list is too big (it was already big even before my additions), so I'd like to suggest adding some sections and sub-sections to organize it.
I was thinking first to introduce two main sections:

Papers about package manager design
This category could be maybe split in a sub-section on papers presenting specific package managers, and a sub-section about papers that present solutions to address specific issues, but not in the context of a specific package manager.

Papers studying package ecosystems
This category is interesting as well to package manager designers / maintainers, since they need to be aware of what happens in the package ecosystems, but they rarely contain suggestion on how improvement to package managers could impact the ecosystems.
This section could be further split, maybe in sub-sections for each ecosystem studied, with a first sub-section for papers comparing several ecosystems.

Then in each sub-section, it could be useful to prominently display the year of publication, and probably sort the papers by year.

@Zimmi48 your contributions are very welcome, subsections are a great idea 👍

OK thanks for the feedback, I'll prepare a second commit reorganizing the list then.

Second commit pushed. This is ready for review.

I know what I’m reading this weekend 🤓

I know what I’m reading this weekend :nerd_face:

I hope that's not the full list, otherwise you may need more than just one weekend :laughing:

Great work, thanks!


Need to specify protocol for Docker

Could not connect to Hoverfly at hoverfly:8888
Hi. I like Docker so I'm running Hoverfly as a container:
docker run --name hoverfly --network mynet -d -p 8888:8888 -p 8500:8500 spectolabs/hoverfly:latest

And..., I have another container to develop my application (I prefer to have Node.js running as a container to develop my applications):
docker run --name app --network mynet -v $(pwd):/app -it -p 8080:80 --workdir /app node:10 bash

Those containers are in the same network mynet so I have hoverctl in my second container to access remotely to hoverfly which is running as a container, too. But, when I'm trying to execute a command like hoverctl mode capture I'm getting this response:
Could not connect to Hoverfly at hoverfly:8888

I configured the remote host by hoverctl in the second container.
hoverctl targets create remote --host hoverfly --admin-port 8888 --proxy-port 8500
hoverctl targets default remote
hoverctl mode capture

Could not connect to Hoverfly at hoverfly:8888

¿Why is it happening?
docker top hoverfly

/go/bin/hoverfly -listen-on-host=<IP_ADDRESS>

I saw in the documentation the flag -listen-on-host could help me but it isn't working.
If I try to connect to hoverfly from my localhost I can do it, I have a connection, but between containers it isn't working.

And between those containers I can do it: from the second container ping hoverfly and I have a response. From the container hoverfly I do ping app and I have a response, so, ¿why the second container can't request the container hoverfly by hoverctl?

I have the solution..., it's really important to add the protocol http to the host when you are adding an IP address or some alias because Docker doesn't resolve it adding http before the address, it only adds the docker container ID so, there isn't any specified protocol at the request.

I think hoverctl doesn't add automatically the procotol to the host when the address doesn't have a DNS which resolves it.

Maybe this is a documentation issue. So reopening it.

If there's a better title, change it. Thanks @jdgarciar for pointing this out as others will come across this problem.

It could be a bug actually: https://github.com/SpectoLabs/hoverfly/blob/master/hoverctl/wrapper/hoverfly.go#L169
When no protocol is specified, and it's not localhost, hoverfly tries to use https

@jdgarciar Just want to confirm with you, you got it to work by adding http:\\ to the host flag?
hoverctl targets create remote --host http://hoverfly --admin-port 8888 --proxy-port 8500

@JohnFDavenport, @tommysitu  :) 👍

@tommysitu as you said. It worked for me adding the --host http:\\hoverfly.

v1.0.0-rc.2 had a fix for this issue.


[Rust] proposal: add a new encoder setter method for fixed length array copying from slice ref

It's very common to serialize an obj as SBE, when obj having a field of String type (or similar) while SBE defining it as fixed length primitive array.
When encoding a field of fixed length primitive array type, one must:

first construct an array
copy bytes into this array
pass this array to Encoder and copy bytes into its backing ByteBuf

It may be more convenient to generate a new method copy from directly slice ref.
For example, there exists a field named "account" of char[16].
Currently it generates a method called "account" with parameter of type &[u8; 16].
/// primitive array field 'account'
/// - min value: 32
/// - max value: 126
/// - null value: 0
/// - characterEncoding: US-ASCII
/// - semanticType: String
/// - encodedOffset: 0
/// - encodedLength: 16
/// - version: 0
#[inline]
pub fn account(&mut self, value: &[u8; 16]) {
    let offset = self.offset;
    let buf = self.get_buf_mut();
    buf.put_bytes_at(offset, value);
}

Following method is proposed to be generated as well:
pub fn account_from_slice_ref(&mut self, value: &[u8]) {
    // Typical implementation

    let offset = self.offset;
    let buf = self.get_buf_mut();

    let len = value.len();
    // How to deal with cases input slice is too large: quietly copy leading bytes of fixed size or return Result or panic ?
    if len > 16 {
        buf.put_slice_at(offset, &value[..16]);
    } else {
        buf.put_slice_at(offset, value);

        // Padding with ZERO
        buf.put_u8_at(len + 0, 0_u8);
    }
}

Hi Iv created a new pr https://github.com/real-logic/simple-binary-encoding/pull/1026 to address this issue.
Please tell me what you think.

@mward Can you have a look? Thanks.

I'll take a look. Thanks

@mward just updated the implementation:

use loops to copy data for a sub set of permutations
use zero when padding, drop support for customed pading value

Could you help review it ?

I'll check it out

@wbprime I created a new PR #1040 to resolve this. I incorporated the tests you created.  Please take a look

Hi @mward I think we should not introduce breaking changes in generated code say for primitive array setters.  Maybe you can choose a new name for slice setter, like the iter variant do.

@mward I just leave some comments on your pr, feel free to accept or reject them.
As en is not my native language, just ignore the words or sentences may look impolite/rude to you.

Hi @mward I think we should not introduce breaking changes in generated code say for primitive array setters. Maybe you can choose a new name for slice setter, like the iter variant do.

changing function param from array to slice doesn't break anything, consumer of library won't need to make any changes

An array ref is not the safe thing as a slice ref. An array ref has length info built into its type while a slice ref doest.

True, I meant signature wise

PR #1040 was merged.


howto handle connectiion request to a search result from the search results page

trying to connect to a search result involves following steps.

create a new (dummy need)
send connect message to the need found.

the above steps could cause some inconsistencies, because

the newly created need gets indexed by matcher and the matcher could send a hint to the need found for the dummy need.
If the connection request is received before the hint message, inconsistencies occur

the 2nd problem is fixed on the node. i.e. the connectionState of the connection is set correctly.
the current implementation of owner application however, displays the last event of the connection.
which might get inconsistent with the actual connection state.

This can be fixed if we implement it the way that hint events should not be stores if the connection between the involved needs is already established. In this case the node could send an error response to the message saying smth like 'Cannot match already connected needs'.


feat(#23): Add unit test for ImprovementLogged

Add unit test for ImprovementLogged.
Closes: #23

PR-Codex overview
This PR focuses on adding a new class ImprovementLogged that logs information about the representations passed to it.
Detailed summary

Added a new class ImprovementLogged that implements the Improvement interface.
The ImprovementLogged class logs information about the representations passed to it.
The logged information includes the name of the representation.
Created unit tests for the ImprovementLogged class.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 2min)


ImportError: cannot import name 'VectorIndexDocument' from 'llama_index'

I am experiencing with the llama_index package. Specifically, I am encountering an ImportError when trying to import the VectorIndexDocument module. The error message reads: "ImportError: cannot import name 'VectorIndexDocument' from 'llama_index'".
I have tried several solutions, including checking that all required dependencies are installed, uninstalling and reinstalling the llama_index package, and verifying that the package is installed in the correct Python environment. However, none of these solutions have resolved the issue.
Could you please advise on a potential solution or workaround for this problem? Alternatively, if this is a known issue with the llama_index package, could you please let me know if there is a fix planned for a future release?
Thank you for your time and attention to this matter.

Hey @Karthikeya2302 , VectorIndexDocument is not a module we have.

Curious where you got this from? Please take a look at https://gpt-index.readthedocs.io/en/latest/ for the modules we support.

Curious where you got this from? Please take a look at https://gpt-index.readthedocs.io/en/latest/ for the modules we support.

Thank you for your response regarding the VectorIndexDocument module in the llama_index package. I appreciate your help in investigating this issue.
I am trying to develop chatbot using openai api and encountered it here

please help me out with correction

Where did you get the example code from?

Is this from LangChain?

this is the entire code

Is this from LangChain?

Where did you get the example code from?

please help me out with the correction

Perhaps take a look at https://gpt-index.readthedocs.io/en/latest/guides/tutorials/building_a_chatbot.html for how to build Chatbot.


Where is the scanned database file ?

Do you know where is the database file ?
i would like to export the pokestops locations.

C:\Users%USERNAME%\AppData\Roaming\pokemon-go-map\

How about on mac?

Not on Mac, but have a look on something like ~/Library/Application Support...

Thanks @Jareem

I couldn't find it under application support, any other place or maybe I'm missing something

Some folders are hidden. You can see this file using Onyx. (Utilitaires/Visibilité on french version)


Support anonymous reads and authenticated writes

It appears that when using htpasswd, one can only enforce auth for r/w or not at all. I would like to enforce auth when writing, but allow for anonymous reads.

The topic of allowing some clients read-only access has come up in the past, but I haven't had a concrete-enough use case to spend time investigating such a feature yet.
However it might actually be possible to set something like this up with the httpproxy backend: use a primary bazel-remote instance with large storage and authentication, and a secondary bazel-remote instance with --num_uploaders 0 and without authentication, that uses the primary bazel-remote instance as a http proxy backend. I think bazel-remote currently lacks a command line flag to authenticate with a backend http server, but perhaps you could use a config file and specify a username/password in the httproxy server URL like https://user:pass@hostname/whatever/.

That is an interesting approach that does sound like it could work today. I hadn't thought of that, although Im not sure if I like that.
I think it would be a common setup where:

CI agents populate and r/w from a remote cache. These agents are trusted to write to the cache
Dev machines are setup to pull from the cache (in lieu of remote exec) for a speed increase, but they are not trusted to arbitrarily write to the cache (or at least the /ac/*)

What do you think of that setup?

Maybe there's an even simpler proxy solution- run one bazel-remote instance with authentication, and setup a simple unauthenticated http proxy that forwards GET and HEAD requests (and maybe also cas PUT requests) to it and rejects everything else. This could be a starting point (add some checks in the handler): https://gist.github.com/JalfResi/6287706 - I think it would be worth investigating this modular setup a bit before considering adding this feature to bazel-remote.
Of course you can probably also setup nginx or apache to do this kind of proxying, but they have a lot more configuration options you would probably need to understand.
Some questions spring to mind, if we were to consider adding this as a feature:

Should unauthenticated clients be allowed to impact the LRU index when reading items?
Are there any existing clients that have a don't-write-to-the-cache mode? Or would the server need to pretend to accept uploads?
Should untrusted clients be allowed to upload CAS items? (I guess this is a question of how much you trust/distrust these clients.)
Why are your dev machines less reliable than your CI machines? Is it worth spending time improving the hermeticity of your build so that you can trust dev machines?

Yes, I think a unauthenticated proxy could work fine, however I still think this is a valid and potentially common use case.

Should unauthenticated clients be allowed to impact the LRU index when reading items?

I would think they would impact the LRU index, as they are still being leveraged even if anonymously.

Are there any existing clients that have a don't-write-to-the-cache mode? Or would the server need to pretend to accept uploads?

I am not aware of any clients like this. I think it would negatively affect performance as the bandwidth would likely still be consumed. If one wanted this setup without a proper client, I would assume they would be willing to setup their own proxy like you are discussing to achieve this behavior.

Should untrusted clients be allowed to upload CAS items? (I guess this is a question of how much you trust/distrust these clients.)

Personally, a CAS is a CAS and it should be fine to upload to by anyone, however, a malicious client could lead to the emptying of cache items by populating unused CAS items. (Does Bazel-remote validate blobs sent to /cas? or is the client expected to do so upon reading?)

Why are your dev machines less reliable than your CI machines? Is it worth spending time improving the hermeticity of your build so that you can trust dev machines?

They are not less reliable, however, the concern would be of the population of entries to /ac that could lead the CI/CD servers to use maliciously uploaded blobs to the cache. If crafted properly, a CI build could use/execute any random blob that a user might choose to craft. That is why I would protect the service user of the CI agents but still allow devs to read from the populated cache. I would love to be told that my fears are unfounded, as that would simplify things, but currently my understanding is this.

Yes, I think a unauthenticated proxy could work fine, however I still think this is a valid and potentially common use case.

It's definitely a valid use case. I have no idea how common it is.
I'm pretty focused on the compressed-blobs feature at the moment, but once that lands I could look into this feature (if you would like to work on it, contributions are welcome of course). In the meantime, if you try the proxy hacks and find one that works, we could add notes to the README file.

Are there any existing clients that have a don't-write-to-the-cache mode? Or would the server need to pretend to accept uploads?

I am not aware of any clients like this. I think it would negatively affect performance as the bandwidth would likely still be consumed. If one wanted this setup without a proper client, I would assume they would be willing to setup their own proxy like you are discussing to achieve this behavior.

I was mostly curious if there are any clients that have a read-only cache mode. It looks like bazel does, with
--remote_upload_local_results=false. It would make sense to reject uploads in that case.

Should untrusted clients be allowed to upload CAS items? (I guess this is a question of how much you trust/distrust these clients.)

Personally, a CAS is a CAS and it should be fine to upload to by anyone, however, a malicious client could lead to the emptying of cache items by populating unused CAS items. But it would probably be fine to allow for this anyway. (Does Bazel-remote validate blobs sent to /cas? or is the client expected to do so upon reading?)

bazel-remote validates CAS items on upload- it's required by the REAPI spec, so other gRPC REAPI cache implementations should check this too.

Why are your dev machines less reliable than your CI machines? Is it worth spending time improving the hermeticity of your build so that you can trust dev machines?

They are not less reliable, however, the concern would be of the population of entries to /ac that could lead the CI/CD servers to use maliciously uploaded blobs to the cache. If crafted properly, a CI build could use/execute any random blob that a user might choose to craft. That is why I would protect the service user of the CI agents but still allow devs to read from the populated cache. I would love to be told that my fears are unfounded, as that would simplify things, but currently my understanding is this.

Ah, I was thinking about this more from a reliability point of view. Your understanding is correct- the action cache is certainly more vulnerable since there's no way to check if the entries have been tampered with.
Can you describe your threat model a bit? You have trusted CI/infra, and want untrusted clients to benefit from the cache but prevent them from injecting malicious files for CI? Do you care about untrusted clients injecting malicious files for other untrusted clients? Do you care about DoS attacks (either raw traffic, or trashing the LRU/cache efficiency)? What does your network layout look like?
Note that I do not consider bazel-remote to be security-hardended enough to expose it on public internet, even with TLS and authentication.

The threat here is an employee/developer at an enterprise from tricking a CI server into using a falsified blob as an artifact that could presumably be sent to production.
We want to allow blobs created by CI to be used by developers as a cache, but we do not want developers to be able to send PUTs to a cache and corrupt the cache.
The network itself would all be secured and behind firewalls/vpn and not exposed directly to the internet. TLS would be enabled and authentication enabled for the agents that write to the cache. I am not concerned about DoS attacks in this scenario.

I have the same setup and would be interested in a read-only option for developers and write option only from trusted servers as well.  Would it work to have a configuration option to have an optional read-only port separate from the other ports?

I will probably start working on this soon.
Using a different address/port for read-write and readonly access is an option, but I think I would prefer a solution that doesn't require external configuration like firewalls/VLANs/etc.

I have started looking into this...
It seems fairly easy to support on a single port/address with basic authentication, but I'm unsure how to do this for mTLS authentication. @Mythra: any tips?
If it's not possible to support unauthenticated read-only access + authenticated read-write access on the same port, then maybe adding a separate read-only port is the way to go after all. (Silly me, @cheister's suggestion wouldn't require external firewall/VLAN configuration.)

Hey! So if you wanted to tackle mTLS authenticated, but read only I'd imagine you'd have a separate intermediate/root certificate you'd validate against.
In this case from the codes point of view you'd have two "CA files". A certain CA file would validate write connections, the other CA file would validate read only connections. (These CA files work as they should now, they'll be either two separate root CAs, or much more likely in this case both CA files will contain two certs. The same root but a separate intermediate underneath).
Implementation wise though, I'd think you'd be forced to use a separate port for gRPC. I don't think it gives you enough information to say "I validated with this particular cert chain for this connection". Each port would be set up with its own unique ca cert pool. The write port would only accept connections from your first CA file, the read port would accept connections if either CA file signed it. Then just depending on your connected port you would get read or write only.

 You mentioned unauthenticated read only. I don't think grpc-go gives you that level of fine tunedness today. I believe there is a permissive mode where it accepts both mTLS and not, but then I don't know of a way to access if the connection you're on actually used mTLS. (Note: I may just not being seeing the docs in grpc-go I haven't spent too much time with it.)

Thanks- I'm not seeing a easy solution with grpc-go either. It looks like grpc methods can extract a Peer from the context, and type-assert that to a credentials.TLSInfo, but then I'm a bit unsure what to look at in there.
So I'm leaning towards just using additional addresses/ports to keep things simple.

https://jbrandhorst.com/post/grpc-auth/ has some details on how to achieve this with a single port/address.

Separate ports could allow additional use cases such:

HTTP for unauthenticated read-only access, but HTTPS for authenticated write access.
HTTP unauthenticated both for read-only access and write access, but limit exposure of the write access port via firewall.

Separate ports could allow additional use cases such:

HTTP for unauthenticated read-only access, but HTTPS for authenticated write access.
HTTP unauthenticated both for read-only access and write access, but limit exposure of the write access port via firewall.

I'm not sure how that would look with regards to command line args/config file settings, but it sounds complicated.

Here's a candidate PR, feedback welcome: https://github.com/buchgr/bazel-remote/pull/412


The Windows Subsystem for Linux instance has terminated.

Windows Build Number
Microsoft Windows [Version 10.0.19042.1165]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
5.10.16
Distro Version
Ubuntu-20.04
Other Software
Docker Desktop (Windows), version 3.6.0 (67351)
PhpStorm (Windows), 2021.2.1 RC (Build #PS-212.5080.45, built on August 19,2021)
SourceTree (Windows), version 3.4.6)
Repro Steps
When my computer has booted, I open PhpStorm and SourceTree.
In the meanwhile Docker Desktop is automatically starting.
Then I open my Ubuntu WSL terminal and it correctly shows my username.
Then I do start my Docker containers and I can use them as expected.
When I'd like to open a new WSL terminal window (to execute a bash script in WSL), the problem appears and I can't do anything inside of the newly opened WSL terminal and in a few minutes the WSL terminal is closing itself.
The message below is showing:

I found out that there are 2 "solutions" to this problem:

Starting 2 WSL terminals at te same time after booting my computer (it seems that when they have been started yet, they continue to work)
Restarting LxssManager in services.msc and Docker Desktop

Expected Behavior
Even when I've already booted my computer a few hours ago, I'd like to have a correctly started Ubuntu WSL terminal like this when opening a new WSL terminal window or using the built in terminal in PhpStorm:

Actual Behavior
When I start my computer I'm able to access my WSL Ubuntu terminal and to execute commands (like docker-execute to start up my Docker containers).
After a while (this period is variable, but it does appear all the time recently) I still can use the earlier started WSL Ubuntu terminal, in which I've already been logged into my Docker container, but I can't open any new WSL Ubuntu terminal window anymore, nor using the built in terminal of PhpStorm to execute commands through WSL Ubuntu.
 Press any key to continue..." appears and again after a short while the terminal window is closing itself automatically.
Diagnostic Logs
https://aka.ms/AAdnh1i

Will this problem being solved quickly?
I still have problems with it every day and I haven't heard that it has been solved yet or that the problem is being investigated.
In the meanwhile I've updated the programs that I use to newer versions (but without success), like:

PHPStorm: 2021.2.2 Build#PS-212.5284.49, built on September 16, 2021
Docker Desktop: 4.0.1 (68347)
Windows 10 Pro, version 20H2, build 19042.1237


Documentation link  'http://chatterbot.readthedocs.io/' dead

Hello @gunthercox , chatterBot rocks.
That readthedocs.io link can be replaced by https://github.com/gunthercox/ChatterBot/wiki/, whatsay?

The read the docs link appears to be working. The wiki page is currently in the process of being phased out as all of the updated documentation is being written for read the docs.

Can you confirm that the link is still broken for you? Or was this possibly a network hickup?

That was a network issue. I tried opening in different browsers earlier and it didn't load, but now its loading fine.


docs: update badge in README

Fixes https://github.com/badges/shields/issues/8671
Fix the badge by updating the URL.

@danielroe Please ignore the terrible commit history 🤦 😂


Update init.lua

source custom plugins folder

This was an intentional change to comment it out -- see the above lines. We've also updated documentation for this in the README with a recent MR. Is there any specific reason you'd like this change?

Sorry, I thought a mistake.


MINOR: updated KS release notes for 3.5

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Merged to trunk and cherry-picked to 3.5.


Non-Python cells have warning-suppression cells inserted

Similar to #4, there is another Python assumption baked in, which is that if disable_warnings is True, then all code cells, whether they are Python or not, have Python code inserted prior to them and run with their kernel:
https://github.com/Chilipp/sphinx-nbexamples/blob/3a87e26ab621362e88b6ea9ba44f82f0b77374f7/sphinx_nbexamples/__init__.py#L340-L346
My solution at present is to set disable_warnings=False, which is fine for a collection of notebooks that don't use Python at all, but if I did have a Python notebook or a SOS notebook with a Python cell, then it would be nice to check the kernel of the cell/notebook before inserting this code.
I might have a go at this in the next couple weeks, but I don't have much experience with these tools, so it might be obvious and trivial to you.

you are absolutely right. This should be fixed by https://github.com/Chilipp/sphinx-nbexamples/pull/9. I allow disable_warnings to be True for python notebooks only.

Hey @effigies! Thanks again for all your inputs. This is just to inform you that I made a new release with your fixes (and some more)
https://github.com/Chilipp/sphinx-nbexamples/releases/tag/v0.4.0
It is already available on PyPi and conda-forge will come soon.
If there is anything else: I am looking forward to new issues and PRs 😉

Awesome! Thanks! I'll probably open more issues as I write more notebooks, but things are looking good on my end for now. Thanks a ton for such a useful package!

You're very welcomed :smile:


Android: SDK Tools is deprecated. Switch to cmdline-tools instead

Android SDK Tools have been deprecated for a while: https://developer.android.com/studio/releases/sdk-tools
androidEnv.composeAndroidPackages should migrate to using the cmdline-tools package for the latest in Android development. This should also fix flutter doctor not finding the Android tools.
@miallo
@SuperSandro2000
@numinit

I don't remember being a maintainer for this. I would appreciate if I don't get pinged for random packages which I merged PRs for or changed one little thing a while back and the issue is unrelated to this.

Sorry I used git blame and didn't realize that you had just merged in a PR.

Is this still applicable? I can see references of cmdline-tools in androidenv.
https://github.com/NixOS/nixpkgs/blob/f7be52b7fc55a487d406031cbd55218e69ea490e/doc/languages-frameworks/android.section.md?plain=1#L46-L49

This is OBE.


ignore jupyter magics

With jupytext one can keep notebooks as Markdown files.
Often one uses Jupyter magics (e.g., %%time), when running blacken-docs on the .md files I get many warnings like:
FILENAME_HERE.md:30: code block parse error Cannot parse: 1:0: %load_ext autoreload

Would it be possible to easily ignore those magics?

blacken-docs is just a thin wrapper around black -- if black can't parse it I don't think we can either
and even if we did put some weird substitution in place, I'm not sure how it could survive a round of formatting
so I think the answer here is "probably not" -- thanks for the issue though!

I would also be interested in this.
Since the cell magics can only occur at the first line of a code chunk, I think it should be rather easy to exclude them.
In fact, adding a line to your regex parser that skips a line starting with % should already solve the problem.

In fact, adding a line to your regex parser that skips a line starting with % should already solve the problem.

Unfortunately, this would break:
foo = (
'%s'
% 'bar'
)

if black can't parse it I don't think we can either
and even if we did put some weird substitution in place, I'm not sure how it could survive a round of formatting

Just FYI, this might soon be happening (https://github.com/psf/black/pull/2357)
In the meantime, there's my little project nbQA which, like the above PR to black, transform cells using IPython's TransformerManager and ast.parse to preserve/round-trip magics


Unify the low-power peripheral names (RTC_CNTL and LP_CLKRST to LPWR)

closes #872

@MabezDev @jessebraham There're still a lot of places where old naming is used without a problem/ necessary, same as in SYSTEM/PCR/DPORT unifying job (check screenshot). The question is if we should clean it up for both this and Scott's "leftovers" of old naming?


[Bug] Cannot add zone without irrigation details

Describe the bug
Cannot enable zone without irrigation system
To Reproduce
Steps to reproduce the behavior:

Create new irrigation zone (using a new instance of the smart irrigation integration)
Enter zone name, sensors etc.. until you get to step 7/7
Leave all values at default (0)
Submit zone
See error

Result
Instance fails to load with the following log statements:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 339, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/smart_irrigation/__init__.py", line 117, in async_setup_entry
    precipitation_rate = (throughput * 60) / area
ZeroDivisionError: float division by zero

If I enter a nonzero number in the area field, the error instead refers to the next zero entry
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 339, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/smart_irrigation/__init__.py", line 118, in async_setup_entry
    base_schedule_index = (peak_et / precipitation_rate * 60) * 60  # in seconds
ZeroDivisionError: float division by zero

Expected behavior
A new instance of the integration is added with all functionality
Screenshots

Installed version
Which version of the component are you running?
0.0.77
Additional context
Given its description, I would expect the integration to simply make a calculation of the amount of water/time required to run a fictional irrigation system.
Since my irrigation system consists of me with a garden hose, I don't need an automation to hook into this to run devices. Instead I simply want to know when to water my plants.
If no irrigation system exists, it should still be possible to set up the integration and use the calculated values in other ways, like sending a notification only.

I did not cater for this scenario, will look at it.

not sure if this is still relevant for you, but I think you can do this using the 2.0 version which is now in beta. please confirm and close.

This issue no longer exists and should get closed.


Replace magic number 9 in linenoiseEdit()

A similar patch was commited to msteveb's repository via msteveb/linenoise#2

Subsumed by https://github.com/rain-1/linenoise/commit/6f8c5272bb5a8585c4edf776d8516036f8e092da no need to merge. Thanks!


Update Blog “it-is-getting-easier-to-stay-up-to-date-with-pharmacy-informatics-new-rss-feed”

Automatically generated by Netlify CMS

👷 Deploy Preview for cool-toffee-ab3b21 processing.

Name
Link

🔨 Latest commit
6d47a16c1e756f8f7583de54383f90322a87903f

🔍 Latest deploy log
https://app.netlify.com/sites/cool-toffee-ab3b21/deploys/63e98dcf465d4c000750a98c


Supplementary unit for a commodity

How can I find the supplementary unit (e.g. NAR, KGM) associated with a commodity in the uk-tariff-2021-01-01 dataset?
I have looked through all the available tables and relationships relating to measures but struggling to see how this can be done.
Thanks
Andrew

Hi Steve,
Thank you for the pointers.  I have managed to work this through.
Just wondering also, what is are the SID columns used for?
Are these static identifiers?   Such as 109 to identify the measurement type for a supplementary unit.
Cheers,
Andrew

Hi Andrew - sorry for the delayed response, the SID columns are unique identifiers for specific items. when used in a measure it helps us to identify the measure and the links to it's various component entities. Commodity codes also had SIDs which we use to identify the correct Commodity code where the commodity code has both a suffix 10 and suffix 80 version

Hi @SteveCN7
I have a couple of questions regarding fetching supplementary units and would be glad if you could answer them.

I was working on dataset version v4.0.246 and then discovered another version.
Which one should I use to identify supplementary units for commodity codes? The latter seems to contain less data.

I've found instances where I can see supplementary unit for commodity code in trade-tariff.service.gov.uk  (for example,  this), but not in the uk-tariff-2021-01-01 dataset. Which one has the most up-to-date data?

Hi @adis-io
The Tariff data updates nearly daily depending on various changes to the tariff as changes to legislation, poilcy, administration etc are recorded in the database.
To answer the questions, I've made the assumption that you are using the dataset titled Measures as Defined.

If you update the URL to include /latest/ where the version is present, you'll always be provided the most recent version available on the API, this API also provides the data to the second hyperlink you've identified. We do have a lag issue we're working through.
This is where the Measures as Defined dataset might be the issue. Measures as Defined, shows you where in the commodity code hierarchy the measure has been placed. In the data schema we use (TARIC3) Measures applied at high level in the hierarchy get applied to those below it. So in the example you've provided:

Supplementary unit measure present on<PHONE_NUMBER>
Online Tariff Tool shows this (trade-tariff.service.gov.uk)
The measure itself isn't applied directly to<PHONE_NUMBER>, but instead to code<PHONE_NUMBER>
I've had a look and can see the directly applied measure is missing from the dataset, I think this is because it's a measure we've inherited from before we left the EU. I'm going to raise this for the team to confirm and resolve.
The Online Tariff Tool is provided by HMRC, but all tariff data is provided by data from the datasets provided by our platform.  So the data should be available at the same time.

Hey @SteveCN7, thank you very much for your prompt response.
I was trying to use the "Measures on declarable commodities" table, but you've already given me an answer for the missing data, indicating it might be related to pre-Brexit inheritance.
For now, I'm considering generating a CSV using the tariff API to cover missing data and then periodically updating it by fetching data from the "Measures on declarable commodities" table. Does this sound like a correct approach?

Hi @adis-io
Pre-Brexit inheritance seems to be the issue, but I'll confirm with our data engineers that is definitely the case.
That sounds like a sensible approach for now. We're about to engage in an overhaul of our open data provisioning and one thing we're considering is making a "whole" file available and then offering an API end point to provide updates.
We're going to start doing some discovery soon to test viability for this and other potential improvements.
Many Thanks

Thank you so much @SteveCN7


Add options dataclass to Categorify

When fitting statistics in Categorify, we were passing around 12 different options
as parameters across multiple methods. This lead to long call signatures, as well as
making it hard to add new parameters. Also the parameter names changes between methods
sometimes (max_size -> max_emb_size, num_buckets -> nbuckets, agg_cols -> cont_cols)
making it hard to trace through and figure out whats going.
Refactor by moving all these parameters to a dataclass , and pass this class around
instead.

rerun tests


Upgrade Terragrunt version

Hi,
I joined a new company and they have been using Terragrunt 0.26.3 (Terraform 0.13.6) which is fairly an old version, my first task as DevOps engineer is to upgrade the terragrunt version for the IaC repos. Can someone guide me what should be the way to go for this upgrade process? Where should I start and would there be any breaking changes?

Hi,
AFAIK exists a migration guide for upgrading from 0.19.x versions, for migration to newer versions should be considered Terragrunt and Terraform compatibility versions


Error "Content is not allowed in prolog"

Expected behavior
As a cobigen user, I want helpful error messages so that I can track down an error and fix it.
Actual behavior
Have a nearly bare project which generates a nearly empty file outputs following error message:
[...]
[Fatal Error] AttributeIndexDO.java:1:1: Content is not allowed in prolog.
[...]

Steps to reproduce (bug) / Use Case of feature request (enhancement)

Haven following maven config

[...]
            <plugin>
                <groupId>com.capgemini</groupId>
                <artifactId>cobigen-maven-plugin</artifactId>
                <version>3.1.0</version>
                <executions>
                    <execution>
                        <id>generate</id>
                        <phase>package</phase>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <inputFiles>
                        <inputFile>src/main/java/attributevalue/entity/AttributeIndexDO.java</inputFile>
                    </inputFiles>
                    <increments>
                        <increment>bar</increment>
                    </increments>
                    <configurationFolder>../config/cobigen</configurationFolder>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>com.capgemini</groupId>
                        <artifactId>cobigen-tempeng-freemarker</artifactId>
                        <version>1.0.1</version>
                    </dependency>
                    <dependency>
                        <groupId>com.capgemini</groupId>
                        <artifactId>cobigen-javaplugin</artifactId>
                        <version>1.6.1</version>
                    </dependency>
                </dependencies>
            </plugin>
[...]

Have an nearly empty context.xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<contextConfiguration xmlns="http://capgemini.com/devonfw/cobigen/ContextConfiguration"
                      version="2.1">
    <trigger id="temp" type="java" templateFolder="temp">
        <containerMatcher type="package" value="((.+\.)\.entity"
                          retrieveObjectsRecursively="false"/>
        <matcher type="fqn" value="((.+\.)?([^\.]+))\.([^\.]+)\.entity\.([^\.]+)DO">
            <variableAssignment type="regex" key="rootPackage" value="1"/>
        </matcher>
    </trigger>
</contextConfiguration>

Have a nearly empty template.xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<templatesConfiguration xmlns="http://capgemini.com/devonfw/cobigen/TemplatesConfiguration"
                        version="2.1">

    <templateScans>
        <templateScan templatePath="templates" destinationPath="foo"/>
    </templateScans>
    <increments>
        <increment name="bar" description="bar">
            <templateRef ref="foo"/>
        </increment>
    </increments>
</templatesConfiguration>

Have nearly empty foo.ftl

foobar

mvn package:generate builds but also gives the error [Fatal Error] AttributeIndexDO.java:1:1: Content is not allowed in prolog.

Hi Hellmy, thanks for your issue. It seems that you forgot to add the last part of your comment:

mvn package:generate gives an...

Can you please update your comment with the content? Thanks.

After some review, it seems that this Content is not allowed in prolog error shows up when either the workspace is corrupted or the xml files (like templates.xml or context.xml) contain some invalid characters.
I agree that we should provide helpful error messages and will do as soon as possible.

@Hellmy Did I get you right? That the generation simply worked out, but you just reported the strange error message 1:1: Content is not allowed in prolog. in the log?

Yes.
But it think I had the same error message during my first attempts to generate something... Perhaps I
Nevertheless is the error message strange

You are right. The error message is occurring if trying to read a non-XML file with the XML reader. Unfortunately, we cannot disable this logged message as it is logged out to system.out by the Java DOM parser.
Currently, we are trying to read any file with the different plugins installed as we cannot know the contents of the file. You could argue to "just use the file ending to determine the parser to be used". In general, this is ok, but we cannot provide a language/parser complete solution here, as XML, JSON, YAML are languages, which are used in multiple files.
We could provide a heuristic like implementation in future to give hints to CobiGen, which parser to try first based on the file ending. Nevertheless, the error message might not vanish entirely in any case.
I opened a new issue for that purpose: #716

Sounds good to me, thank you


Add controls for easy visualization when too many containers

Add several controls to allow easier visualization through hiding and showing certain containers and through a search box. This is handy when there are too many containers to visualize.

Will review this week, thanks


Unable to load config settings from module

I have a modules (called Settings) which is used to save site values to a database.  I am trying to load certain values from the module i.e. Config::get('settings::site_settings.meta_author') but it looks like that modules is not even being loaded.
Any ideas around this problem?
Thanks

+1 I'm also having this problem

Laravel 4 or Laravel 5?

Laravel 5

Laravel 5

Hi,
In Laravel 5 there is no namespace autoloading for config anymore. You need to register the config manually, something like this http://laravel.com/docs/5.0/packages#configuration. I think add some snippet for you if you want.

Hi,
I take it you mean doing something like this in the modules' service provider:
public function register()
{
$this->registerConfiguration();
}
private function registerConfiguration()
{
$configPath = DIR . '/../config/site_settings.php';
$this->mergeConfigFrom($configPath, 'site_settings');
$this->publishes([$configPath => config_path('site_settings.php')]);
}
I have done that but settings from the module are still not accessible..

Of course I have done it. Take a look to this file. https://github.com/pingpong-labs/modules/blob/2.0/Commands/stubs/scaffold/provider.stub
That file is used for generating service provider when you run module:make command.

That seems to have fixed the issue.  Thanks for the hard work :+1:


Programmatic Source/Sink Framework

It's not a parameter to set, it's an internal constraint (nvstreammux). Isn't it? @bwsw

It's not a parameter to set, it's an internal constraint (nvstreammux). Isn't it? @bwsw

@denisvmedyantsev don't understand the point. The comment is not related to a code or a statement. Please clarify.

It's not a parameter to set, it's an internal constraint (nvstreammux). Isn't it?

It's not a parameter to set, it's an internal constraint (nvstreammux). Isn't it? @bwsw

@denisvmedyantsev don't understand the point. The comment is not related to a code or a statement. Please clarify.

My bad, sorry about that. This comment is intended for PR https://github.com/insight-platform/Savant/pull/381

Added send_shutdown method to the source.


Camel cased fields and logic consolidation

Changes address logic consolidation concerns and exposing new serialization policy for fields coming from csv.
Here I also added a perhaps more strict policy for Escaping Struct Fields to verify that the item that's been escaped also meets the escaping policy standards, might be a little overkill .
Finally, I thought, that perhaps the Escape field logic might be a better fit for struct.go vs type.go , but happy to migrate it back if folk feel otherwise :) .
Any thoughts, comments etc... are highly welcome.

ok, back to you. You will probably want to have @aboodman or @rafael-atticlabs look at your first several commits. They will help with useful style, methodology, etc. feedback too.

Something weird happened with this PR where it includes many more commits that are unrelated.

@aboodman yeah I think I might have fat fingered the rebasing in some sort of way, I'm going to attempt to reset things.

Moving this pr to https://github.com/attic-labs/noms/pull/2441 struggling to put the commit order and back in a good state . I think I ended up rebasing and pulling in other peoples commits, then committing after those commits, which put things in a really funky state.


Internal facing ELB?

I'm looking at the elastic load balancer class for a property to define 'internal facing' only, however I don't see this option. How can I achieve this with Troposphere?
All about ELB internet facing and internal facing: http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/vpc-loadbalancer-types.html

foudn it. it's under scheme

https://xkcd.com/979/


Improve assertions and TestCase class

Changed log

Replace the PHPUnit_Framework_TestCase with PHPUnit\Framework\TestCase to support latest PHPUnit version.
Using the assertSame to improve assertEquals assertions.

Thank you! It looks like you need to aditionally specify the return type on the setUp function as : void to make it compatible with the function in the superclass. Then this should be good to go

Just notice that the setUp method with void or non-void is for different PHPUnit versions.

Just notice that the setUp method with void or non-void is for different PHPUnit versions.

True! I'll see if I can make it work or if I have to drop testing on the old (and long deprecated) PHP 7.0.

After removing PHP 7.0, this now works as expected. Thank you again!


Consensus blocks page (and dashboard card)

Design:

List page
Details page

All right, I think this is as good as it will get now, before we get some more data from Nexus. Making this "ready for review".


Fix non-multitenant pod routing

The non-multitenant plugin got broken as part of the changes that went with the new oadm commands. The multitenant plugin still worked fine so none of us noticed... Gotta get those automated tests working...
Fixes https://github.com/openshift/origin/issues/5152
cc @pravisankar @sdodson

lgtm

Confirmed it fixes the issue for me.


docs: add tag search to guide index

This will add the possibility to filter tags at the top of the guide index.

Warning
Making this a draft PR as it's possible some UX changes have to be made before reviewing.

Closes #4670

@vikram-dagger if the UX/UI seems good to you, I'll implement dark mode.

@vikram-dagger if the UX/UI seems good to you, I'll implement dark mode.

LGTM!

@vikram-dagger this is now ready for review.
However, note that this implementation might change in the future, given this discussion #4701.
It's possible we move from a client-side filtering like the one in this PR to one where we use Algolia.


CAS2-401 refactor application summaries

Ref: https://dsdmoj.atlassian.net/browse/CAS2-401
We currently return for ApplicationSummaries a full Person result, which includes a lot of data, and causes issues with how we handle whether the person has been found/is restricted.
I propose that we follow the standard set for /submissions and just return a personName which will be ‘Unknown’ if person not found or restricted.
This will mean we can then do a bulk search with the CRNs more easily, and just get the person’s name.
Tasks:

API: add personName as field to Cas2ApplicationSummary
UI: start using personName on the applications dashboard
API: remove the Person field on application summaries and use the bulk search for getMapOfPersonNamesAndCrns to get CRNs

Would be good to have a chat to confirm this PR contains sufficient integration test coverage.

Marked as draft to avoid merging since this (as it stands) this will break the front end.


Use standard image naming

Required for all PRs:

[ ] Updated associated README.md.
[ ] Wrote appropriate unit tests.

resolves #

/cherry-pick release/1.1

/cherry-pick release/1.2

/cherry-pick release/1.1


The Main Character Needs The New Walks to be applied to the front and back

Right now we just have newer right and left walking animations, we need to update the front and back as well!

Emanual fixed already my bad


how can we use this library to point at bearing angle like qibla direction apps

i want to make an application which gets the user current location and destination location from the textbox and calculate the bearing which i have already done but the problem is i want to point the compass toward bearing angle so when ever the device orientation moved it always move on the bearing direction like what Qibla direction application do.

@Mohammadhamza43 hey i made a plugin that allows you to get Qibla direction

Flutter Qiblah  has a method which allows you to check whether the device has a sensor:
import 'package:flutter_qiblah/flutter_qiblah.dart';
final _deviceSupport = await FlutterQiblah.androidDeviceSensorSupport();


When using background image in MainLandingPage crashes unpackaged app

I am using the DevWinUI preview 3 and I noticed my unpackaged app crashes when using a header image inside the MainLandingPage. Taking the header image out of there fixes the issue and doesn't crash it.

Can you upload a repro/sample project?

I don't see a problem.🫤

I am checking what the issue could be on my end, as I was creating a fresh new app to reproduce it, it seems to even just crash with and without HomeLandingPage and just WASDK 1.7 Exp1 and DevWinUI:

Now when I go back to my main app it breaking now as well, while before it just worked, so maybe there is something else going on.....

But if you want to check it out I uploaded the repo of it
https://github.com/DFFspace/HomeLandingPageCrash

I am checking what the issue could be on my end, as I was creating a fresh new app to reproduce it, it seems to even just crash with and without HomeLandingPage and just WASDK 1.7 Exp1 and DevWinUI:

Now when I go back to my main app it breaking now as well, while before it just worked, so maybe there is something else going on.....

Have you installed v1.7-epx1 runtimes? you need it for unpackaged mode.
https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/experimental-channel#version-17-experimental-170-experimental1
also you can find more info here:

But if you want to check it out I uploaded the repro of it
https://github.com/DFFspace/HomeLandingPageCrash

your issue is:

But if you want to check it out I uploaded the repro of it
https://github.com/DFFspace/HomeLandingPageCrash

you need to change Build Action to Page as you can see it changed to None.

Ah I see, thanks for pointing that out. I the ThemeResources method as I thought I had to use something like this and forgot to actually copy it, thinking it would do this all automatically.
I took ThemeResources out to where how I use it on my main app by just using:
HeaderImage="ms-appx:///Assets/HomePage.png" HeaderImageHeight="750"
Now I can reproduce the issue when using the above lines it fails to load, taking these lines out opens the app fine.

Adding the two lines back results this message:

ms-appx:///Assets/HomePage.png

just use relative path and not absolute path, i will fix absolute path soon.
/Assets/HomePage.png


Release 0.3.3

This PR marks release 0.3.3.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: codenrhoden:white_check_mark: akutz:x: chris-short


Player Provider not been rename for BEO Soundstage

What version of Music Assistant has the issue?
2.0.0b94
The problem
The problem is concerning the Player Provider which seems to use the device type name plus the serial number of the device.
I guess, the Entity could include the Serial Number but the name should be the Name of the device which can be used as we wish. The device name can be change in the device itself.
There is also some inconsistency (I believe) between what is available in Home Assistant "Music Assisant" and the other source available.
Ex:
The device in the  Player Provider is called: Beosound-stage-34146xx.
When I Click on configuration for the player and I change the name for BEOSoundStage, the value is not reflected int he player itself from the list shows in the right side panel. We can stil see the initial name which is : Beosound-stage-34146xx.
But the DLNA seems to work prettty welll.
How to reproduce
Music Assistante / configuration / provider / change the name
Below is the Log File when renaming the player
Relevant log output
d5369777_music_assistant_beta_2024-02-16T17-54-42.546Z.log
Additional information
I'm running the supervised version on Debian 12,
What version of Home Assistant Core are your running
Core 2024.2.1 Supervisor 2024.01.1 Operating System Interface utilisateur 20240207.1
What type of installation are you running?
Home Assistant Supervised
On what type of hardware are you running?
Linux

I can’t recreate this. I tried renaming a Fully Kiosk player as well as a Chromecast and both worked as expected. Have you tried clearing the browser cache? Have you tried a different browser?

Oh hang on I see it. You are changing the PROVIDER name. You need to select PLAYERS in the top right of the settings and then change the PLAYER name

I’ll try it


fix(chat): Add missing unread indicator to chat button

What this PR does 📖

Adds an unread indicator to the chat navigation button

Which issue(s) this PR fixes 🔨

Resolve #1187

it might relate to the hidden chat problem. maybe you have a chat thats not in the sidebar that has coincidentally 5 msg. can you try with the new fix?


Menu dropdowns causing NPE

I think this might be a bug with the version of angular bootstrap (currently 11.2.0), but when I click on a sub menu in articles (the example article) I get this error
 Uncaught TypeError: Cannot read property 'getToggleElement' of null
Actually the errror is linked in ui-boostrap's issues here:
Issue 2343
And they said its fixed in 0.12.0, however, when I try to update ui-bootstrap to version 12 they dropdowns no longer work.

This should fix it in 0.12.0.
https://github.com/angular-ui/bootstrap/issues/3094

@ilanbiala So the question is can we update ui-bootstrap, angular, and bootstrap to latest versions, so as to remove this 11.2 dependency which is causing this NPE?  That upgrade seems like a meanjs specific issue because the bower.json has 11.2 listed as it's angular-bootstrap dependency.

@britztopher does the link I provided fix the issue when upgrading to 0.12?

@ilanbiala Yes it does, thanks for that.  So it seems that the bower.json file on github has 2 dependencies for angular-bootstrap (11.2 and 12).  Also, the yo generator seems to be whats broken here because when I used it I got the NPE, however, when I forked this repo it was fixed.  Just FYI.  BTW, thanks for the info @ilanbiala

@britztopher Can you create a PR with the fixes and I'll help get it merged in so others don't have this issue.

@ilanbiala Like I said its fixed on this github repo, however, when you use the generator it must have an incorrect branch/tag name for repo.  I dont really know how to specify this github repo and this branch/tag name in a yo generator.  If you can show me where I will be more than happy to fork then do PR.

@britztopher are you using the master branch or the 0.4 branch?

@ilanbiala I am using master for both this and generator repo

The issue is that generator-meanjs is actually not using code from this repo, so when anything here gets updated, it has to manually get updated there, and it probably didn't. @NeverOddOrEven since you are handling the generator development, any ideas on what we can do here?

@britztopher, because we are looking at angular-material and also upgrading AngularJS, we'll need to wait for ui-bootstrap to catch up and support >=1.3. For now, I'm going to put this in the backlog for issues we'll look at at a later time.

@ilanbiala  ok, btw, i am using 0.4.0 with 1.3.x and it's working now fine, so I am guessing whenever you guys merge in 0.4.0 into master this ticket can be closed

Since this is taken care of in 0.4.0, can this be closed?

Yes, closing.

What does NPE stands for ?

https://en.wikibooks.org/wiki/Java_Programming/Preventing_NullPointerException


[bug] window.open not working on MacOS

Describe the bug
Calling window.open(someUrl) from within the web view doesn't seem to be working on MacOS. No errors, but nothing happens. Working fine on Windows.
Reproduction
No response
Expected behavior
No response
Platform and versions
Environment
  › OS: Mac OS 11.4.0 X64
  › Node.js: 16.13.1
  › npm: 8.2.0
  › pnpm: Not installed!
  › yarn: Not installed!
  › rustup: 1.24.3
  › rustc: 1.59.0
  › cargo: 1.59.0
  › Rust toolchain: stable-x86_64-apple-darwin

Packages
  › @tauri-apps/cli [NPM]: 1.0.0-rc.7(outdated, latest: 1.0.0-rc.8) <-- This is weird... The installed version is actually 1.0.0-rc.8
  › @tauri-apps/api [NPM]: 1.0.0-rc.3(outdated, latest: 1.0.0-rc.3)
  › tauri [RUST]: 1.0.0-rc.6,
  › tauri-build [RUST]: 1.0.0-rc.5,
  › tao [RUST]: 0.7.0,
  › wry [RUST]: 0.14.0,

Stack trace
No response
Additional context
No response

window.open is not handled by Tauri, only webview2 implements it so you should use our API instead: https://tauri.studio/docs/api/js/classes/window.WebviewWindow


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-26-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3458

Questions ?
Please refer to the Backport tool documentation


How to update an existing DnsRecordSet with a TargetResourceId (alias)

[Enter feedback here]
New-AzDnsRecordSet supports setting the TargetResourceId (alias record), but I can not find this information for Set-AzDnsRecordSet for updating an existing record

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

ID: eb4b6d90-0526-daa4-8c64-cf3227d912a6
Version Independent ID: 498d2f31-707b-b1e1-055f-9a93c2af78b7
Content: Manage DNS records in Azure DNS using Azure PowerShell
Content Source: articles/dns/dns-operations-recordsets.md
Service: dns
GitHub Login: @rohinkoul
Microsoft Alias: rohink

@sebgod Thank you for your feedback . We will investigate and update the thread.

@sebgod You can find instructions to update an existing record set here in this doc. The Set-AzDnsRecordSet cmdlet does not have a way to specify by ID, you will need to pass in the DnsRecordSet PS Object. The easiest way to get that object is to use the Get-AzDnsRecordSet cmdlet which will return the DnsRecordSet object.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Error in Step 3 iPython notebook on Google Collab - AttributeError: 'StackedDenseNet' object has no attribute 'distribute_strategy'

I tried rolling back tensorflow to verson 2.2.0 per issue #62  (https://github.com/jgraving/DeepPoseKit/issues/62), but that did not help

I had the same issue today.


[MINOR] Fix some typos in error-states.json

What changes were proposed in this pull request?

This PR fixes some typos in error-states.json of common-utils
Why are the changes needed?

Fix the typos.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Pass GA.
Was this patch authored or co-authored using generative AI tooling?

No.

cc @LuciferYang

Merged to master.


Bugs Maybe

More annoyance than bugs:

After some inactivity and then adding new task a Log in required message appears, just clicking on the extension icon in the browser tool bar to display the tasks remedies this.

Since updating to version 2.2.1 any download from withing the browser appears as a completed task even though it is not downloaded by Download Station.

Microsoft Edge - Version 111.0.1661.41 (Official build) (64-bit)
Download Station (client for Synology NAS) – Version 2.2.0
DSM 6.2.4-25556 Update 6
Connection - HTTP

Hello, thanks for taking the time to create an issue !
Concerning your two concerns, here some info that could be of help:

for the auto-login issue:

If you are using HTTPS to connect without adding a valid SSL certificate, a limitation of MV3 is that service worker (the background task that runs the extension) is forced to sleep and as such looses authentication to the server.
This requires to re-log from the popup (as service worker don't have valid dom instances) to re-establish connection.
This is tracked here, before the issue was also present but the extension failed silently (which could brake functionality without the user noticing).

for the local downloads:

I've recently added an implementation for local download management as well as download interception (to support more than magnet links and enable transferring local download to the remote nas).
If you do not want to enable those functionalities, you can already disable them in their dedicated settings:

Hope that helps :)

I've just seen that you connect through HTTP, which should only force a auto-login when the background times-out.
When no active tab is running for more than 5 minutes, the same issue as HTTPs occurs, the service worker is shutdown and we need either to open a new tab (any new tab re-awaken the service) or open the modal.
This is also a limitation of MV3 imposed by chrome sadly (which is quite controversial at the moment), which is exacerbated by the recent changes to chrome which put inactive tabs to sleep to save memory.
Hopefully the chrome team changes it's mind on this, but until then sadly, nothing much can be done.

Thanks for the feedback.
I will now close this, thanks again.