Upgrade wgpu to 0.19

Subsumes #427
Fixes #411

Overall this looked fine to me, some of the re-indentation is unfortunate just because it makes the patch a bit hard to read, but
with rustfmt c'est la vie.


To reproduce:
go get github.com/die-net/dhtproxy
This then appears to freeze for about 10-15 minutes. There is no feedback.
Eventually figured out that I can:
go get -u -v github.com/die-net/dhtproxy
To see the progress, and it appears that because youtube/vitess is absolutely gigantic, this command takes forever.
What did you expect to see?
I expected to see something along the lines of "Fetching project, fetching deps, installing deps, etc", with some kind of progress bar.
What did you see instead?
Nothing. It just sits there for about 10 minutes. I thought it was broken.
The solution is obvious - enable -v by default. It's terrible CLI design to have a process run for 10 minutes with no output by default, it just seems like it's broken.

That is the Unix way: be quiet by default, unless verbosity was requested or there's an error.
I don't think this is something we'll be changing. Even more people would be against what they'd consider spam (-v) by default.

The Rule of Silence isn't that problems should be absolutely silent unless there is an error, it's that programs should output unnecessarily. Given feedback that a process that takes 15 minutes hasn't hung isn't unnecessary, in fact, it is good CLI design.
For reference, none (0) of the other package managers I have tested are silent by default.
$ pip install test
Collecting test
  Downloading test-<IP_ADDRESS>.tar.gz
Building wheels for collected packages: test
  Running setup.py bdist_wheel for test ... done
  Stored in directory: /Users/rjones/Library/Caches/pip/wheels/0e/83/0d/f0f92214b5cce4bcbce4958ddacebf926e1c54c8445f0ba167
Successfully built test
Installing collected packages: test
Successfully installed test-<IP_ADDRESS>

$ npm install test
/tmp/
└─┬<EMAIL_ADDRESS>  └──<EMAIL_ADDRESS>
(npm has a --silent flag for this feature)
``$ brew install test
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core, homebrew/versions).
==> New Formulae
homebrew/versions/postgresql95
==> Updated Formulae
ruby ✔                                                                          tig                                                                             tile38
==> Deleted Formulae
homebrew/versions/postgresql93
Error: No available formula with the name "test"
==> Searching for similarly named formulae...
These similarly named formulae were found:
cpptest                   cxxtest                   gjstest                   homebrew/science/swetest  memtester                 slowhttptest              testdisk                  unittest                  vttest
cpputest                  git-test                  homebrew/games/minetest   js-test-driver            phoronix-test-suite       speedtest_cli             testssl                   unittest-cpp
To install one of them, run (for example):
brew install cpptest
==> Searching taps...
These formulae were found in taps:
homebrew/completions/ctest-completion                       Caskroom/cask/aja-system-test                               Caskroom/cask/nsregextester                                 Caskroom/versions/emacs-pretest
homebrew/emacs/test-simple                                  Caskroom/cask/colortester                                   Caskroom/cask/sqlitestudio
To install one of them, run (for example):
brew install homebrew/completions/ctest-completion
etc.

I think to say "because it's Unix" is a bit disingenuous. It's _extremely_ common for Unix programs with long-running tasks to have progress bars - see rsync, wget, git, etc.

What's the advantage to not having a progress bar here? It seems like the benefits of "not seeming totally broken" vastly outweigh the benefits of "not annoying a small percentage of users who hate feedback and also refuse to use `--silent`".

While I don't think that any of the package managers you have mentioned are good examples (they're all far too noisy all of the time), I do agree that some progress indication for go get couldn't hurt. GitHub in particular has stretches of rather slow clone speeds, and the overall runtime depends on the number of dependencies, which isn't obvious or known to the user beforehand, so having to actively decide to use -v isn't really a great solution.
Now, a progress bar isn't really an option -- it's too noisy by default, and not all VCSs support progress bars by default. Enabling -v by default is also too noisy.
Unfortunately I can't really think of a mechanism that is not noisy and at the same time provides enough information when needed.


Improve yaml/training script matching

The goal of this PR is to further improve the matching between yaml/training script. The idea is that every hyperparameter declared in the yaml file must appear in train.py. This is almost always the case, and it is an important feature we introduced to make everything more transparent and easier to debug. However,  in some cases we slightly deviate from this good practice (and our check_yaml.py raises some warnings).
Cases to fix:

[x] Cases where we loop over the datasets with [f"{dataset}_annotation"]
[x] Cases where the full hparam dictionary is passed to an external function
[x] Cases where we declare or change hyperparameters in the train.py.

Everything seems ok. I think we can merge it. This way I can move on with the other tests I plan to code:
1- Check if all the functions have a docstring
2- Check if all the README files on HF contain runnable code
3- Check if all the tutorials are working.
@anautsch might give a comprehensive review on the new tests right before the new release.


⚠ Turnos 24x7 has degraded performance

In 94b9875, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1262 ms

Resolved: Turnos 24x7 performance has improved in c5e97fe.


Second level list expanding animation glitches on iOS 9 Safari

[x] This is a v3.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
When a bar is tapped, its submenu should expand then stops once the whole menu appears
Current Behavior
On iOS 9 safari, it expand as expacted, but then collapse and expand again.
Steps to Reproduce

Link:
1.https://material-ui.com/
Context

Your Environment

Tech
Version

Material-UI
v3.0.1

React

Browser
iOS Safari 9

TypeScript

etc.

@tomjerry1087 iOS 9 isn't supported: https://material-ui.com/getting-started/supported-platforms/#browser. iOS 9 global market share is 0.12% and quickly decreasing.


User instead of category

Can this be made, so you get the clips from a user, instead of an entire game category?

I'm going to add this as a feature, when I have the time.

I'm going to add this as a feature, when I have the time.


Maybe Type Refining fail in Array method(map/filter/...etc.)

code see also here in flow.org/try
// @flow
let a: ?Object = undefined
if (a) {
  Object.keys(a).filter(k => a[k])
}

It currently report error as follow:
4:   Object.keys(a).filter(k => a[k])
                                ^ computed property. Computed property/element cannot be accessed on possibly null value
4:   Object.keys(a).filter(k => a[k])
                                ^ null
4:   Object.keys(a).filter(k => a[k])
                                ^ computed property. Computed property/element cannot be accessed on possibly undefined value
4:   Object.keys(a).filter(k => a[k])
                                ^ undefined

It's know problem.
https://github.com/facebook/flow/issues/34

Variable with Maybe type can be changed. You can use const to ensure flow that refinement will not be lost.

How about the following case? @apsavin
flow/try
// @flow
function test(a: ?Object) {
  return a ? Object.keys(a).filter(k => a[k]) : []
}

I don't want to add a const variable as const b = a, but it can fix this problem.☹

Function parameters can be overwritten just like in your first example. There is a .flowconfig option you can enable to have flow treat function parameters as constants which would also fix your problem.

@jcready Thanks for the info. Could you go into more detail for me and others following along why Flow doesn't maintain the refinement into the body of the function when there's no new assignment of null to a within it? I've seen folks report this a few times so having a solid explanation would be helpful. Additionally, if this is not a bug, should we close this issue?
function test(a: ?Object) {
  if (!a) {
    return null;
  }
  const keys = Object.keys(a);
  for (const k of keys) a[k]; // Works?
  // keys.filter(k => a[k]); // Flow errors?
}

Here's one more example that's a little confusing to myself.
function test(a: ?Object) {
  if (!a) {
    return null;
  }
  let b = a; // Magically, this fixes the issue but couldn't `b` just as well be overwritten?
  return Object.keys(b).filter(k => b[k]);
}

So I'm taking a guess here, but I believe the reason your last example works is because there can be not refinement invalidation of b because at the point b is declared it is typed as just Object, meaning it can never become null. The a function parameter on the other hand was typed as ?Object and then refined to be Object, but that refinement can be invalidated. The b variable's type did not need to be refined and therefore cannot be invalidated.

For example, this will throw the same error:
function test(a: ?Object) {
  let b: typeof a;
  if (!a) {
    return null;
  }
  b = a;
  return Object.keys(b).filter(k => b[k]);
}

in the latest flow this has no errors

no longer errors


Lighting wrapped optimizers do not allow return values

This is both a bug report /feature request:
Any optimizer.step function might have a return value. However, NO return values are currently handled by the optimizer.LightningOptimizer class in the "step" function. Optimizers with return values  in their step function therefore do not operate properly.
BugFix: Add return value to to the respective line, something like:
return_val=None
if make_optimizer_step:
      return_val=self.__optimizer_step(*args, closure=closure, profiler_name=profiler_name, **kwargs)
....

return return_val

Also the __optimizer_step function must be able to pass on the return value

Dear @thoglu,
Thanks for reporting this bug :)
We will address it soon.
Best regards,
T.C

Hi I wanted to take a look at this but have a couple of questions.

What would be the typical use case for returning a value from the step function? Basic torch optimizers return the result of computing the closure (if passed) e.g., Adam.

But in PL, for example in NativeMixedPrecisionPlugin closure is called before the optimizer.step and is not passed to step as arg (I think the reason is that torch.cuda.amp does not support passing closure to step). If one of the basic torch optimizers was used it would probably return None in this case.NativeMixedPrecisionPlugin

Also code-wise Accelerator::optimizer_step has now hooks for precision plugins for pre and post steps. In case of NativeMixedPrecisionPlugin the optimizer.step is actually called in the post_optimizer_step step while the Accelerator::run_optimizer_step is not executed. So determining which call actually returns the value that we are interested in might be a little clumsy now.

The use case (in my case, but I think more broadly) is for allowing to return optimizer-specific logging values for debug purposes. In Adam, for example, one could return first and second moments, and see how they evolve over time, as these are the central quantities of the optimizer. The logging can then happen in the main training loop function of PL.


Incorrect entity names

Describe the bug
Some entity names are not consistent with what are shown on the app interface
Expected behavior

Fan Speed (Silent, Standard, Strong, Turbo) -> Suction Settings (Quiet, Standard, Strong, Turbo)
Repeats (x1, x2, x3) -> Cleaning Times (x1, x2, x3)
Water Level (Low, Medium, High) -> Humidity of Mop Pad (Slightly dry, Moist, Wet)
Wash Station -> Self-Wash Base

Screenshots

Additional Information (please complete the following information)

Model Name: dreame.vacuum.p2027
Firmware Version: 4.1.8_1092
Home Assistant Version: 20221010.0 - latest

Is this water volume the amount of water in the tank on robot for those devices without self-wash base? For the newest model I think it will have both self-wash base and water tank on the robot. Will we then have water volume and humidity level at the same time in this situation? I think they are different things. But if only one of them exists at the same time, it's also fine for me to use the same entity name for convenience

Is this water volume the amount of water in the tank on robot for those devices without self-wash base? For the newest model I think it will have both self-wash base and water tank on the robot. Will we then have water volume and humidity level at the same time in this situation? I think they are different things. But if only one of them exists at the same time, it's also fine for me to use the same entity name for convenience

This not for self-wash station, it is for the amount of water used while mopping to wet the mop. There are no other available entity for returning the amount of water in the water tank, is it possible to you share a screenshot of it.

ok understood. I think there's no sensor to get information about amount of water in the tank. Just forget about my question and it's fine to use water volume

@rbforelle i have released the new version, you can update and check changes. Don't forget to delete entites with the old names from device page or alternatively you can delete the device and add again from config flow.

I can confirm that now the entity names are correct 👍

I will send screenshots of the entities to you privately.

I can confirm that these 2 entities are ok. The cleaning mode is also working properly for my machine. Whether with or without mop pad, the options in cleaning mode are identical with the app.
Thank you for your quick fix!


libs: add module io_utils

Include functions:

with_mode_binary
with_mode_text
with_encoding_utf8

Codecov Report

Merging #62 into develop will increase coverage by 0.84%.
The diff coverage is 94.28%.

@@             Coverage Diff             @@
##           develop      #62      +/-   ##
===========================================
+ Coverage    62.26%   63.11%   +0.84%
===========================================
  Files           21       22       +1
  Lines         1288     1323      +35
  Branches       198      202       +4
===========================================
+ Hits           802      835      +33
- Misses         439      441       +2
  Partials        47       47

Impacted Files
Coverage Δ

cl_sii/libs/io_utils.py
94.28% <94.28%> (ø)

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 cdcb4e2...d070abf. Read the comment docs.


Error: Cannot find module '@babel/runtime/helpers/asyncToGenerator'

What is your Test Scenario?
Simple test that browser renders content and interacts with page:
import boilerplatePage from '../page_objects/boilerplate';

fixture('Boilerplate').page(process.env.TEST_BASE_URL);

test('Static Content Loads', async (t) => {
  await t.expect(boilerplatePage.title.visible).ok();
  await t.expect(boilerplatePage.clickCount.textContent).contains('0');
  await boilerplatePage.clickPrimaryButton();
  await t.expect(boilerplatePage.clickCount.textContent).contains('1');
  await t.expect(boilerplatePage.cdnImage.visible).ok();
});

What is the Current behavior?
Using TestCafe 1.10.0 and 1.10.1, I receive the error Cannot find module '@babel/runtime/helpers/asyncToGenerator' and the TestCafe run aborts with an exit code of 1. Downgrading to 1.9.2 resolves the issue.
What is the Expected behavior?
Browser is launched and tests run.
Your Environment details:

testcafe version:                   1.10.1
node.js version:                    12.20.2
command-line arguments:  TEST_BASE_URL=https://<my private url> npx testcafe
browser name and version: Chrome 88
platform and version:           macOS 11.2.1
other:                                     npm version = 6.14.11; Downgrading to testcafe 1.9.2 resolves the issue.

Hello,
We could not reproduce the issue, but the problem may be related to incorrectly installed dependencies. Try to clean the npm cache ( npm cache clean ), delete your project’s ‘package.lock’ file, and run ‘npm install’ again. If the problem still persists, please send us an example project.

Thanks, that fixed it.


webid delegation crashes server

using webid delegation currently crashes the server
this can be reproduced by sending the on-behalf-of header
solution is to fix the signature mismatch is allow.js

dup


Clear remaining admits in safe erasure and retyping

Now safe erasure is completely free of admits and relies only on the standard axioms, yay!

ping @mattam82

Super nice, I didn't see that!


Refactoring and build.jl binary releases

Significant code refactoring and addition of binary releases. There is still an issue with dependencies, but it can probably wait till after we role this out.

Coverage decreased (-3.5%) to 63.023% when pulling a37d4b162804afe929899d108d7b17d753353a14 on dev into cb92300ea9a20bb0d433efac6f3ef7e8bed50b83 on master.

[Current coverage][cc-pull] is 77.31% (diff: 69.56%)

Merging [#44][cc-pull] into [master][cc-base-branch] will increase coverage by 14.44%

@@             master        #44   diff @@
==========================================
  Files            10          9     -1
  Lines           439        335   -104
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits            276        259    -17
+ Misses          163         76    -87
  Partials          0          0

Powered by Codecov. Last update [cb92300...a4d80c9][cc-compare]
[cc-base-branch]: https://codecov.io/gh/Rory-Finnegan/Playground.jl/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/Rory-Finnegan/Playground.jl/compare/cb92300ea9a20bb0d433efac6f3ef7e8bed50b83...a4d80c9de9a54ff6ad019a0d0304832a88578f6f?src=pr
[cc-pull]: https://codecov.io/gh/Rory-Finnegan/Playground.jl/pull/44?src=pr


Channel sender from ocall

Is it possible to use ocall with async channels (like in this pseudo code)?
fn subscribe() {
  let (mut tx, mut rx) = mpsc::unbounded::<usize>();
  // I know that I can't declare an ocall inside a fn
  // I'm trying to illustrate the instance Sender in context of the ocall
  fn ocall_pick_number(out_number: usize) {
    tx.send(out_number).unwrap();
  }
}

Is there a way to declare ocalls in the trusted module such that an arbitrary Sender can be available in context? Or should send my trusted module a raw pointer to the Sender instance and give it back as an argument of each ocall?

Got this working using lazy_static to inject a synchronizable object into my ocall.


Removed Copyright from generated code

#minor
https://github.com/microsoft/BotBuilder-Samples/issues/2625

Pull Request Test Coverage Report for Build 384137

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-3.0%) to 78.381%

Totals

Change from base Build 384134:
-3.0%

Covered Lines:
26173

Relevant Lines:
33392

💛  - Coveralls


Can't load jason file more than twice in linux using cpp-package

When I use Symbol::LoadJSON() from cpp-package in multithreads, it will crash down.How can I fix that?
Environment info
Operating System:CentOS 6.6 / ubuntu14.04
Compiler: GCC4.8.4
MXNet version:0.9.4
error information:
[03:26:14] /home/XXX/mxnet/dmlc-core/include/dmlc/./logging.h:300: [03:26:14] /home/XXX/mxnet/dmlc-core/include/dmlc/././json.h:628: Check failed: !is_->fail() Error at Line 41, around ^``, Expect number
Stack trace returned 10 entries:
[bt] (0) ./lib/libmnn_x64_linux.so(_ZN4dmlc15LogMessageFatalD2Ev+0x29) [0x7f2857a9b039]
[bt] (1) ./lib/libmnn_x64_linux.so(ZN4dmlc10JSONReader10ReadNumberIjEEvPT+0xc5) [0x7f2859211485]
[bt] (2) ./lib/libmnn_x64_linux.so(+0x1ccfd32) [0x7f2859220d32]
[bt] (3) ./lib/libmnn_x64_linux.so(+0x1ccffe0) [0x7f2859220fe0]
[bt] (4) ./lib/libmnn_x64_linux.so(_ZN4dmlc20JSONObjectReadHelper13ReadAllFieldsEPNS_10JSONReaderE+0x100) [0x7f2859226240]
[bt] (5) ./lib/libmnn_x64_linux.so(+0x1cd0742) [0x7f2859221742]
[bt] (6) ./lib/libmnn_x64_linux.so(_ZN4dmlc20JSONObjectReadHelper13ReadAllFieldsEPNS_10JSONReaderE+0x100) [0x7f2859226240]
[bt] (7) ./lib/libmnn_x64_linux.so(+0x1ccf60f) [0x7f285922060f]
[bt] (8) ./lib/libmnn_x64_linux.so(ZNSt17_Function_handlerIFN4nnvm5GraphES1_EPS2_E9_M_invokeERKSt9_Any_dataS1+0x11f) [0x7f2858438a8f]
[bt] (9) ./lib/libmnn_x64_linux.so(_ZN4nnvm11ApplyPassesENS_5GraphERKSt6vectorISsSaISsEE+0x501) [0x7f28591f8bd1]
[03:26:14] ../include/mxnet-cpp/symbol.hpp:81: Check failed: (MXSymbolCreateFromJSON(json_str.c_str(), &(handle))) == (0)
Details: [03:26:14] /home/XXX/mxnet/dmlc-core/include/dmlc/././json.h:628: Check failed: !is_->fail() Error at Line 41, around ^``, Expect number
Stack trace returned 10 entries:
[bt] (0) ./lib/libmnn_x64_linux.so(_ZN4dmlc15LogMessageFatalD2Ev+0x29) [0x7f2857a9b039]
[bt] (1) ./lib/libmnn_x64_linux.so(ZN4dmlc10JSONReader10ReadNumberIjEEvPT+0xc5) [0x7f2859211485]
[bt] (2) ./lib/libmnn_x64_linux.so(+0x1ccfd32) [0x7f2859220d32]
[bt] (3) ./lib/libmnn_x64_linux.so(+0x1ccffe0) [0x7f2859220fe0]
[bt] (4) ./lib/libmnn_x64_linux.so(_ZN4dmlc20JSONObjectReadHelper13ReadAllFieldsEPNS_10JSONReaderE+0x100) [0x7f2859226240]
[bt] (5) ./lib/libmnn_x64_linux.so(+0x1cd0742) [0x7f2859221742]
[bt] (6) ./lib/libmnn_x64_linux.so(_ZN4dmlc20JSONObjectReadHelper13ReadAllFieldsEPNS_10JSONReaderE+0x100) [0x7f2859226240]
[bt] (7) ./lib/libmnn_x64_linux.so(+0x1ccf60f) [0x7f285922060f]
[bt] (8) ./lib/libmnn_x64_linux.so(ZNSt17_Function_handlerIFN4nnvm5GraphES1_EPS2_E9_M_invokeERKSt9_Any_dataS1+0x11f) [0x7f2858438a8f]
[bt] (9) ./lib/libmnn_x64_linux.so(_ZN4nnvm11ApplyPassesENS_5GraphERKSt6vectorISsSaISsEE+0x501) [0x7f28591f8bd1]

I think you need to share your code.

l32 XXXOpen(void **ppvHandle, TXXXOpenParam *pvParam)
{
...
DeviceType Usedevice = ptInputParam->HardwareType ? DeviceType::kGPU : DeviceType::kCPU;
Context device(Usedevice, ptInputParam->l32GpuDeviceId);
    Symbol model = Symbol::LoadJSON(pJsonText);//crash here

map<string, NDArray> args_map;
args_map["data"] = NDArray(Shape(batch_size, 1, l32Height, l32Width), device, false);
vector<mx_float> zeros(batch_size * num_hidden, 0);

for (int i = 0; i < num_lstm_layer; i++) {
	string forward_key = "forward_l" + to_string(i) + "_init_";
	string backward_key = "backward_l" + to_string(i) + "_init_";
	args_map[forward_key + "c"] = NDArray(Shape(batch_size, num_hidden), device, false);
	args_map[backward_key + "c"] = NDArray(Shape(batch_size, num_hidden), device, false);
	args_map[forward_key + "h"] = NDArray(Shape(batch_size, num_hidden), device, false);
	args_map[backward_key + "h"] = NDArray(Shape(batch_size, num_hidden), device, false);

	args_map[forward_key + "c"].SyncCopyFromCPU(zeros);//MXNDArraySyncCopyFromCPU
	args_map[forward_key + "h"].SyncCopyFromCPU(zeros);
	args_map[backward_key + "c"].SyncCopyFromCPU(zeros);
	args_map[backward_key + "h"].SyncCopyFromCPU(zeros);
}
Executor* exe = model.SimpleBind(device, args_map);
if (exe==nullptr)
{
	cerr << "Model SimpleBind error!" << endl;
	return EStatus_InvalidParameter;
}
LoadCheckpoint(strParamPath, exe);
ptHandle->exe = exe;
*ppvHandle = ptHandle;

return EStatus_Success;

}
The calling number of XXXOpen() is equal to thread number.
@thirdwing

@thirdwing @piiswrong

Hi, @BensonBlack .
Have you already solved this issue?
I'm facing same problem now.

@chicn,I have not solved this issue.What about you?

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!

Hi, @BensonBlack .
Have you already solved this issue?
I'm facing same problem and also need help now.


Typographical error

I'm guessing the phrase "do the following for the specific type of type you have" should be "do the following for the specific type of bot you have"

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

ID: d1c84393-ea23-98d1-0392-b8679d02982b
Version Independent ID: 32af546a-4848-4755-9a69-2887e23b7658
Content: Build a bot with the Azure online code editor - Bot Service
Content Source: articles/bot-service-build-online-code-editor.md
Product: bot-framework
GitHub Login: @v-ducvo
Microsoft Alias: v-ducvo

@EddieLotter - this has been fixed. thanks for reporting.


feat: improvements and breaking changes for v2

BREAKING CHANGES

(@refreshly/core) removed prefix function
(@refreshly/core) removed deprecated fs modules
(@refreshly/github) added support for multiple orgs
(@refreshly/gitlab) added support for multiple groups / projects via the ids property
(@refreshly/aws) removed user from options

Changes

moved all usages of prefix to common functions
added a logo
added documentation

TODO

[x] Increase coverage to 100%
[x] Determine if there's any rework around getEnv we want to do right now

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

7 of 187 (3.74%)  changed or added relevant lines in 11 files are covered.
157 unchanged lines in 8 files lost coverage.
Overall coverage decreased (-0.6%) to 21.555%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/aws/src/index.ts
0
1
0.0%

packages/core/src/index.ts
2
3
66.67%

packages/demo/app/index.ts
0
1
0.0%

packages/github/src/index.ts
0
1
0.0%

packages/core/src/dotenv/source.ts
2
4
50.0%

packages/core/src/dotenv/target.ts
3
8
37.5%

packages/gitlab/src/source.ts
0
12
0.0%

packages/gitlab/src/target.ts
0
18
0.0%

packages/gitlab/src/gitlab/type.ts
0
21
0.0%

packages/gitlab/src/gitlab/group-variables.ts
0
35
0.0%

Files with Coverage Reduction
New Missed Lines
%

packages/core/src/dotenv/target.ts
1
32.26%

packages/core/src/dotenv/source.ts
2
25.58%

packages/demo/app/index.ts
2
0.0%

packages/gitlab/src/target.ts
11
0.0%

packages/gitlab/src/source.ts
18
0.0%

packages/core/src/types/source-module.ts
20
62.0%

packages/core/src/types/target-module.ts
23
25.0%

packages/github/src/index.ts
80
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.6%

Covered Lines:
171

Relevant Lines:
822

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

7 of 187 (3.74%)  changed or added relevant lines in 11 files are covered.
157 unchanged lines in 8 files lost coverage.
Overall coverage decreased (-0.6%) to 21.555%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/aws/src/index.ts
0
1
0.0%

packages/core/src/index.ts
2
3
66.67%

packages/demo/app/index.ts
0
1
0.0%

packages/github/src/index.ts
0
1
0.0%

packages/core/src/dotenv/source.ts
2
4
50.0%

packages/core/src/dotenv/target.ts
3
8
37.5%

packages/gitlab/src/source.ts
0
12
0.0%

packages/gitlab/src/target.ts
0
18
0.0%

packages/gitlab/src/gitlab/type.ts
0
21
0.0%

packages/gitlab/src/gitlab/group-variables.ts
0
35
0.0%

Files with Coverage Reduction
New Missed Lines
%

packages/core/src/dotenv/target.ts
1
32.26%

packages/core/src/dotenv/source.ts
2
25.58%

packages/demo/app/index.ts
2
0.0%

packages/gitlab/src/target.ts
11
0.0%

packages/gitlab/src/source.ts
18
0.0%

packages/core/src/types/source-module.ts
20
62.0%

packages/core/src/types/target-module.ts
23
25.0%

packages/github/src/index.ts
80
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.6%

Covered Lines:
171

Relevant Lines:
822

💛  - Coveralls


Fix: Cache composer cache, not vendor directory

This PR

[x] caches composers cache directory, rather than the vendor directory

Looks good to me. Thanks @localheinz!

Thank you, @jazzdan!


build not working

im getting errors like the others. npm and yarn are not building the package.
getting chartlist errors, error in css-loader, error bin /src/App.vue, /src/main.js
is there somewhere where i can just get a working copy?

Actually, it looks like this project has been incomplete since it was uploaded. I've tried getting the version on the website, and it has the same issues.

Hello @nlmaca and @bidossessi,
We're working on a new Design. We will upload fresh Design by next week.
Thanks

Hello @litonarefin
Did you upload the fresh working copy?

Hello @RafikFarhad,
Couldn't upload because of my sickness. Will do by next week. Busy with our website dedicated on "Vue.js Admin" Template https://vuejsadmin.com.
Website will be Live on next week. Then this template will be updated also.
Including "Basix Admin" there are few more "FREE Admin Templates" coming with Fresh Design.
Thanks

Basix Admin Updated and Build Functionality Added.


[PRCI - demo] info icon missing on privacy scope

On the demo, on PRCI, the info icon is missing for the privacy scope (for object and restrict request):

@Clementinev Do you still not see it in the demo, I updated it this morning and now I see the icon.. but maybe it's only missing on safari?

Thank you @jboileau99 it's all good now (on chrome and on safari) so we can close this issue


chore: 3830 Build FE app before image push

#TICKET_NUMBER

Reviewers
Functional:
Readability:

Changes

add
remove
modify

QA steps (optional)
Notes for Reviewer

we have WIP branch jgadling-test-runtime-vars as a full fix, but currently that branch still needs troubleshooting due to some symlink issues
In the meantime, I'll troubleshoot time/memory usage that's causing AWS healthcheck to time out


Write unit testing code using the test data to test graph creation and traversal

Closed by d147def4381134a90fb55e128c924672184db739 and 9f0fed6c39a7fb4abdca8c90c59955e579db6005


Funding rate heatmap

https://www.coinglass.com/FundingRateHeatMap

Binance api returns:
"calcTime":<PHONE_NUMBER>000,
            "symbol": "BTCUSDT",
            "fundingIntervalHours": 8,
            "lastFundingRate": "0.00010000",
            "markPrice": "61440.20000000"

Started developing code, also to use in a separate repo

https://github.com/StephanAkkerman/funding-rate-heatmap


Output file too long

Hello,
my test-suite is running into the following problem:
Writing XML reports to /root/rails_backend/test/reports
/root/rails_backend/vendor/bundle/ruby/2.2.0/gems/minitest-reporters-0.14.24/lib/minitest/reporters/junit_reporter.rb:42:in `initialize': File name too long @ rb_sysopen - /root/rails_backend/test/reports/TEST-DropShipmentObserverTest-Given-an-order-when-it-is-a-campaign-order-with-drop-shipment-when-campaign-data-exists-and-fulfillment-change-is-called-when-the-order-has-Represent-fulfillment-source-and-is-assigned-to-non-european-vendor-wh.xml (Errno::ENAMETOOLONG)
	from /root/rails_backend/vendor/bundle/ruby/2.2.0/gems/minitest-reporters-0.14.24/lib/minitest/reporters/junit_reporter.rb:42:in `open'
	from /root/rails_backend/vendor/bundle/ruby/2.2.0/gems/minitest-reporters-0.14.24/lib/minitest/reporters/junit_reporter.rb:42:in `block in after_suites'
	from /root/rails_backend/vendor/bundle/ruby/2.2.0/gems/minitest-reporters-0.14.24/lib/minitest/reporters/junit_reporter.rb:27:in `each'
	from /root/rails_backend/vendor/bundle/ruby/2.2.0/gems/minitest-reporters-0.14.24/lib/minitest/reporters/junit_reporter.rb:27:in `after_suites'
	from /root/rails_backend/vendor/bundle/ruby/2.2.0/gems/minitest-reporters-0.14.24/lib/minitest/reporter_runner.rb:97:in `public_send'
	from /root/rails_backend/vendor/bundle/ruby/2.2.0/gems/minitest-reporters-0.14.24/lib/minitest/reporter_runner.rb:97:in `block in trigger_callback'
	from /root/rails_backend/vendor/bundle/ruby/2.2.0/gems/minitest-reporters-0.14.24/lib/minitest/reporter_runner.rb:97:in `each'
	from /root/rails_backend/vendor/bundle/ruby/2.2.0/gems/minitest-reporters-0.14.24/lib/minitest/reporter_runner.rb:97:in `trigger_callback'
	from /root/rails_backend/vendor/bundle/ruby/2.2.0/gems/minitest-reporters-0.14.24/lib/minitest/reporter_runner.rb:39:in `_run_suites'
	from /root/rails_backend/vendor/bundle/ruby/2.2.0/gems/minitest-4.7.5/lib/minitest/unit.rb:877:in `_run_anything'
	from /root/rails_backend/vendor/bundle/ruby/2.2.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1085:in `run_tests'
	from /root/rails_backend/vendor/bundle/ruby/2.2.0/gems/minitest-reporters-0.14.24/lib/minitest/reporter_runner.rb:30:in `run_tests'
	from /root/rails_backend/vendor/bundle/ruby/2.2.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1072:in `block in _run'
	from /root/rails_backend/vendor/bundle/ruby/2.2.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `each'
	from /root/rails_backend/vendor/bundle/ruby/2.2.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `_run'
	from /root/rails_backend/vendor/bundle/ruby/2.2.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1059:in `run'
	from /root/rails_backend/vendor/bundle/ruby/2.2.0/gems/minitest-4.7.5/lib/minitest/unit.rb:795:in `block in autorun'

Is there any way to overwrite the behavior to either write everything in a single file and set the name?

There is no such option and (honestly) I'm not sure there is a way to provide good enough generic algorithm for this.  I'd suggest either rename the test or create subclass of the reporter to make it works for your particular suite.  (and as always: PRs are welcome ;) )


Include outputs template when building stack

It seems the outputs from template/outputs.yml were never included when generating the aws-stack.json. This addresses the issue.

Doh!

That was quick, thanks!

We don't mess around :) Thanks for finding this issue and the PR!


ModelError when looking at model's exogenous property

When looking at this model:
https://github.com/EconForge/dolo/blob/master/examples/models/consumption_savings.yaml
I get the following error inspecting model.exogenous:
>>> model = yaml_import("../models/consumption_savings.yaml")
>>> model.exogenous

---------------------------------------------------------------------------
ModelError                                Traceback (most recent call last)
<ipython-input-18-26d7372e0ca8> in <module>
----> 1 model.exogenous

~/projects/econ-ark/dolo/dolo/compiler/model.py in exogenous(self)
    310     def exogenous(self):
    311         if self.__exogenous__ is None:
--> 312             self.__exogenous__ = super(self.__class__, self).get_exogenous()
    313         return self.__exogenous__
    314

~/projects/econ-ark/dolo/dolo/compiler/model.py in get_exogenous(self)
    157         calibration = self.get_calibration()
    158         from dolo.compiler.language import eval_data
--> 159         exogenous = eval_data(exo, calibration)
    160
    161         from ruamel.yaml.comments import CommentedMap, CommentedSeq

~/projects/econ-ark/dolo/dolo/compiler/language.py in eval_data(data, calibration)
    118             lc = data.lc
    119             msg = f"Line {lc.line}, column {lc.col}.  Tag '{tag.value}' is not recognized.'"
--> 120             raise ModelError(msg)
    121
    122         if tag.value is not None:

ModelError: Line 29, column 11.  Tag '!AR1' is not recognized.'

Same error with:
model.get_exogenous()

@sbenthall This issue is fixed by https://github.com/EconForge/dolo/commit/7a12eb7117f80d95bd36955328329d6573b0c23c .
The yaml file is now incorrect and accessing the exogenous property should raise error Line 29, column 11. Unexpected argument 'Sigma'. Expected: 'AR1(ρ=float, σ=float, μ=Optional[float])'
The convention is now that AR1 is a scalar process which accepts scalar arguments, while VAR1  is a vector process, which takes vector or matrices as arguments.  To fix the yaml file either change AR1byVAR1or change\Sigmato\sigma` as suggested by the error message.


Multiple "as" for ng-repeat

Hi,
I'm not sure if I do something wrong, but it seems that you can't have multiple as assignments in one ng-repeat. For example this doesn't work:
<span ng-repeat="actor in actors | filter:{name: name_search} as firstResults | filter:{gender: gender_search} as secondResult">
  {{actor}}
</span>
{{firstResult.length}}
{{secondResult.length}}

In this case, firstResult and secondResult are undefined. Is this a bug, or is "as" not intendet to be used this way?
It would be useful in cases where you need access to the specific filtered results, for example a pagination is used on all actors, but you want to know the length of the search results from the filter.
EDIT:
I created a plnkr to demonstrate this issue: http://plnkr.co/edit/6r3iWEJl37kgUnPO6nkC?p=preview

have to agree with @petebacondarwin


IpAddressValidator .GetUserIpAddress crashes with IpForwardingEnabled=true

Our hosting provider runs IIS boxes behind a load balancer.  The balancer inserts an HTTP_X_FORWARDED_FOR header which looks like this:
[client ip address] comma space [load balancer ip address]
When we set IpFowardingEnabled to true, any attempt to go to glimpse.axd causes an exception in the IPAddress.Parse in GetUserIpAddress in IpAddressValidator.   The exception is due to the space which proceeds the second IP address following the Split() operation.
There are two bugs here, I think:

The code should be using First(), not Last(), because the convention with X_FORWARDED_FOR is that the client is the first IP address.

It would be more robust to add a 'Trim()', even though it wouldn't actually be needed  in my case if First() was used.

So my proposed replacement for line 72 in GetUserIpAddress is:
			return IPAddress.Parse(forwardedFor.Split(',').First().Trim());

Clearly this would be a breaking change for anyone whose forwarder was actually putting the client IP at the end of the list not the beginning - if there are such people, then this is going to need a rethink or another option, perhaps.

Thanks for the info willdean.
I think this would be a breaking change, but one we'll most likely need to support. I propose we add in a config option with a smart default, let me know your thoughts.
Either way, we can do a better job with the string parsing - and will work to rectify that.
Thanks,
Nik

Nik,  I really am not an expert on this, and to be honest, trusting that header makes me fairly uncomfortable, though on a site where you trust a load-balancer to scrub it, I guess it's OK.
I have had a good look into this, and I think the answer is that you need to use the rightmost address if you're trying to find the address of a corporate proxy which forwarded-out for a private internal address, and use the leftmost address if the proxy is actually a loadbalancer on the front of the server running Glimpse.   In the former case you can't trust X-Forwarded-for anyway, because it's not been put in by your own kit - it's the latter case which seems relevant to Glimpse.
This page seems to go through it all quite well:
http://rod.vagg.org/2011/07/wrangling-the-x-forwarded-for-header/
They reckon you should use the leftmost public address - they even give a regex to do it...
Could the config parameter be changed to be "first"/"last"/"disabled", also supporting "true"/"false" for backwards compatibility?  Then you could leave "true" meaning "last" so that nothing changed, though personally I don't think it's most useful.


Incorrect finish_reason for generate?

I'm not sure if this is the right place to ask this, but generate with max_tokens=3 finshes with finish_reason=COMPLETE
$ curl --request POST \
     --url https://api.cohere.ai/v1/generate \
     --header 'accept: application/json' \
     --header "authorization: Bearer $COHERE_API_KEY" \
     --header 'content-type: application/json' \
     --data '
{
  "max_tokens": 3,
  "stream": true,
  "prompt": "Please explain to me how LLMs work"
}
'
{"text":" LL","is_finished":false}
{"text":"Ms","is_finished":false}
{"text":",","is_finished":false}
{"is_finished":true,"finish_reason":"COMPLETE","response":{"id":"05835269-8d06-422d-8f4e-fc3e8a2b8a96","generations":[{"id":"73b93e8c-ee35-4831-a3be-c7534b31dbb9","text":" LLMs,","finish_reason":"COMPLETE"}],"prompt":"Please explain to me how LLMs work"}}

Should it finish with MAX_TOKENS?

Hi @harupy, I'm not sure this is the best place to ask your question since it is not really related to Python's SDK per se. Indeed, your question is related to a CURL query.
You would stand a better chance to get a prompt answer by asking your question on Cohere's Discord community, in the #general-chat channel.
However, I'm not able to reproduce by using the Python SDK, since I get MAX_TOKENS as expected:
Here's the code:
import cohere
co = cohere.Client(api_key)
response = co.generate(
            model='command',
            prompt="Please explain to me how LLMs work",
            max_tokens=3,
            temperature=0,
            k=0,
            stop_sequences=[],
            return_likelihoods='NONE')
print(response)

And here's the response:
[cohere.Generation {
        id: 9847fbd6-15b4-4d2b-8578-29164a067651
        prompt: Please explain to me how LLMs work
        text:  LLMs,
        likelihood: None
        finish_reason: MAX_TOKENS
        token_likelihoods: None
}]


LeaderF fails with "SyntaxWarning: invalid escape sequence '\z'"

nvim --version: v0.9.5
terminal emulator and version: Kitty 0.26.5
Operating system/version: Fedora 39
Have you read and followed all steps in the doc: yes the manual ones plus the things missing in there but present in the bash script
Output of command set runtimepath:

  runtimepath=~/.config/nvim,~/.local/share/nvim/lazy/lazy.nvim,~/.local/share/nvim/lazy/LeaderF,~/.local/share/nvim/lazy/vim-swap,~/.local/share/nvim/lazy/nvim-notify,~/.local/share/nvim/lazy/cmp-nvim-ultisnips,~
/.local/share/nvim/lazy/cmp-emoji,~/.local/share/nvim/lazy/cmp-omni,~/.local/share/nvim/lazy/cmp-buffer,~/.local/share/nvim/lazy/cmp-path,~/.local/share/nvim/lazy/lspkind-nvim,~/.local/share/nvim/lazy/cmp-nvim-lsp
,~/.local/share/nvim/lazy/nvim-cmp,~/.local/share/nvim/lazy/nvim-web-devicons,~/.local/share/nvim/lazy/unicode.vim,~/.local/share/nvim/lazy/targets.vim,~/.local/share/nvim/lazy/vim-highlighturl,~/.local/share/nvim
/lazy/whitespace.nvim,~/.local/share/nvim/lazy/indent-blankline.nvim,~/.local/share/nvim/lazy/which-key.nvim,~/.local/share/nvim/lazy/vim-repeat,~/.local/share/nvim/lazy/vim-indent-object,~/.local/share/nvim/lazy/
hop.nvim,~/.local/share/nvim/lazy/vim-commentary,~/.local/share/nvim/lazy/fidget.nvim,~/.local/share/nvim/lazy/vim-sandwich,~/.local/share/nvim/lazy/lualine.nvim,~/.local/share/nvim/lazy/vim-fugitive,~/.local/shar
e/nvim/lazy/gitlinker.nvim,~/.local/share/nvim/lazy/bufferline.nvim,~/.local/share/nvim/lazy/nord.nvim,~/.local/share/nvim/lazy/plenary.nvim,~/.local/share/nvim/lazy/wilder.nvim,~/.local/share/nvim/lazy/diffview.n
vim,~/.local/share/nvim/lazy/dressing.nvim,~/.local/share/nvim/lazy/dashboard-nvim,~/.local/share/nvim/lazy/gitsigns.nvim,/usr/share/nvim/runtime,~/.local/share/nvim/lazy/cmp-nvim-ultisnips/after,~/.local/share/nv
im/lazy/cmp-emoji/after,~/.local/share/nvim/lazy/cmp-omni/after,~/.local/share/nvim/lazy/cmp-buffer/after,~/.local/share/nvim/lazy/cmp-path/after,~/.local/share/nvim/lazy/cmp-nvim-lsp/after,~/.local/share/nvim/laz
y/indent-blankline.nvim/after,~/.local/share/nvim/lazy/vim-sandwich/after,~/.config/nvim/after,~/.local/state/nvim/lazy/readme

Describe the bug
The LeaderF steps seem to all fail.
Steps to reproduce the issue:

Open nvim
Press  f r
Boom :bomb:

Expected behavior

It should show me my recently opened files
Log
Error executing Lua callback: .../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:48: function leaderf#Any#start[4]..leaderf#LfPy[1]..provider#python3#Call, line 18: Vim(return):Error invoking 'python_exec
ute' on channel 3 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/var/home/marcel/.local/share/nvim/lazy/LeaderF/autoload/leaderf/python/leaderf/anyExpl.py", line 821, in start
    the_args.start(arguments, *args, **kwargs)
  File "/var/home/marcel/.local/share/nvim/lazy/LeaderF/autoload/leaderf/python/leaderf/anyExpl.py", line 753, in _default_action
    manager.startExplorer(win_pos[2:], *args, **kwargs)
  File "/var/home/marcel/.local/share/nvim/lazy/LeaderF/autoload/leaderf/python/leaderf/manager.py", line 2650, in startExplorer
    self._cleanup()
  File "/var/home/marcel/.local/share/nvim/lazy/LeaderF/autoload/leaderf/python/leaderf/manager.py", line 2223, in _cleanup
    self._cli.clear()
  File "/var/home/marcel/.local/share/nvim/lazy/LeaderF/autoload/leaderf/python/leaderf/cli.py", line 174, in clear
    lfCmd("silent! syn clear Lf_hl_match")
  File "/home/marcel/.local/lib/python3.12/site-packages/pynvim/api/nvim.py", line 311, in command
    return self.request('nvim_command', string, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel/.local/lib/python3.12/site-packages/pynvim/api/nvim.py", line 199, in request
    res = self._session.request(name, *args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel/.local/lib/python3.12/site-packages/pynvim/msgpack_rpc/session.py", line 139, in request
    raise self.error_wrapper(err)
pynvim.api.common.NvimError: Vim:/var/home/marcel/.local/share/nvim/lazy/LeaderF/autoload/leaderf/python/leaderf/mruExpl.py:326: SyntaxWarning: invalid escape sequence '\z'
stack traceback:
        [C]: in function 'cmd'
        .../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:48: in function <.../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:16>

Seems to have been a bug only at startup for the first time. Cant reproduce it anymore :thinking:


New podman::manage_container type for container unit

Assuming at least podman 4.4.0 the new type podman::mange_container will create a quadlet unit file for a container which will in turn generate a service unit for managing the resulting container.
Currently only a tiny subset of a container unit is possible and only a root container can be run.
This is heavily inspired by systemd::manage_unit and uses it where ever possible.
The included examples are operational however.
This can be extended later to support a fuller container description as well rootless containers and also units for pods,
networks and volumes.

Fixes #76

Testing with a simple puppet file:
# test.pp
podman::manage_container{'centos.container':
  ensure          => present,
  unit_entry     => {
   'Description' => 'Trivial Container that will be very lazy',
  },
  service_entry       => {
    'TimeoutStartSec' => '900',
  },
  container_entry => {
    'Image' => 'quay.io/centos/centos:latest',
    'Exec'  => 'sh -c "sleep inf'
  },
  install_entry   => {
    'WantedBy' => 'default.target'
  },
  active          => true,
}

and puppet apply test.pp results in:
Notice: Compiled catalog for fedora. in environment production in 0.12 seconds
Notice: /Stage[main]/Podman::Install/Package[podman-docker]/ensure: created
Notice: /Stage[main]/Podman::Install/Selboolean[container_manage_cgroup]/value: value changed 'off' to 'on'
Notice: /Stage[main]/Main/Podman::Manage_container[centos.container]/File[/etc/containers/systemd/centos.container]/ensure: defined content as '{sha256}5f335b7c7109a3153ef27bbd57acb8a62fd29e8e24b3ea870aa15bab7287a647'
Notice: /Stage[main]/Main/Podman::Manage_container[centos.container]/Systemd::Daemon_reload[centos.container]/Exec[systemd-centos.container-systemctl-daemon-reload]: Triggered 'refresh' from 1 event
Notice: /Stage[main]/Main/Podman::Manage_container[centos.container]/Service[centos.service]/ensure: ensure changed 'stopped' to 'running'
Notice: Applied catalog in 22.44 seconds

and
root@fedora:~# systemctl status centos.service
● centos.service - Trivial Container that will be very lazy
     Loaded: loaded (/etc/containers/systemd/centos.container; generated)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Tue 2024-02-27 22:25:53 CET; 4min 8s ago
   Main PID: 4946 (conmon)
      Tasks: 2 (limit: 4641)
     Memory: 190.8M
        CPU: 6.121s
     CGroup: /system.slice/centos.service
             ├─libpod-payload-1d961fe1fb08a88d80929f24f2232aa96069a5cea37d432766f38a41d291d98c
             │ └─4948 /usr/bin/coreutils --coreutils-prog-shebang=sleep /usr/bin/sleep inf
             └─runtime
               └─4946 /usr/bin/conmon --api-version 1 -c 1d961fe1fb08a88d80929f24f2232aa96069a5cea37d432766f38a41d291d98c -u 1d961fe1fb08a88d80929f24f2232aa96069a5cea37d432>

Feb 27 22:25:40 fedora centos[4792]: Getting image source signatures
Feb 27 22:25:40 fedora centos[4792]: Copying blob sha256:7a0437f04f83f084b7ed68ad9c4a4947e12fc4e1b006b38129bac89114ec3621
Feb 27 22:25:53 fedora centos[4792]: Copying config sha256:300e315adb2f96afe5f0b2780b87f28ae95231fe3bdd1e16b9ba606307728f55
Feb 27 22:25:53 fedora centos[4792]: Writing manifest to image destination
Feb 27 22:25:53 fedora podman[4792]: 2024-02-27 22:25:53.637350456 +0100 CET m=+14.562975731 image pull 300e315adb2f96afe5f0b2780b87f28ae95231fe3bdd1e16b9ba606307728f55 qua>
Feb 27 22:25:53 fedora podman[4792]: 2024-02-27 22:25:53.663179916 +0100 CET m=+14.588805189 container create 1d961fe1fb08a88d80929f24f2232aa96069a5cea37d432766f38a41d291d9>
Feb 27 22:25:53 fedora podman[4792]: 2024-02-27 22:25:53.94187444 +0100 CET m=+14.867499780 container init 1d961fe1fb08a88d80929f24f2232aa96069a5cea37d432766f38a41d291d98c >
Feb 27 22:25:53 fedora podman[4792]: 2024-02-27 22:25:53.948937008 +0100 CET m=+14.874562316 container start 1d961fe1fb08a88d80929f24f2232aa96069a5cea37d432766f38a41d291d98>
Feb 27 22:25:53 fedora systemd[1]: Started centos.service - Trivial Container that will be very lazy.
Feb 27 22:25:53 fedora centos[4792]: 1d961fe1fb08a88d80929f24f2232aa96069a5cea37d432766f38a41d291d98c

This looks great! Would love to play with this.
Not sure if it's intentional but some of your files/classes are named quadret
i.e types/quadret/container.pp / Podman::Quadret::Container

Not sure if it's intentional but some of your files/classes are named quadret
i.e types/quadret/container.pp / Podman::Quadret::Container

That's indeed a  typo from me - will correct.

Been looking at this myself a bit today - I'd probably do it different than this
podman::quadlet is much more sensible choice - they are very much all the same.

Thanks for your work and contribution to the project.  I'm sorry about being slow to respond.  I'm not as active here since changing jobs.
This is an interesting capability and can really simplify this module.  I was reviewing the docs and saw that podman quadlet supports container, volume, network, kube, image, and pod.  I like the idea of implementing this as a more generic defined type "podman::quadlet" that supports resources of all these types.  Are you already working on this per your comment the other day?

I do indeed have a branch I'm playing with - more to do I'll update this one or provide a new one later this week.

I'm not as active here since changing jobs.

voxpupuli ?

@southalc everything stuffed into podman::quadlet now. Only container, volume and pod done but others easy enough to do for someone.

Hi.
A ping basically - voxpupuli ? There's a load of new stuff in the systemd module just released and we could rework a lot of whats here and make this module smaller  - all the handling of user units is now in that module.

I finally got around to this, although I see the voxpupuli module has since been stood up.  Anyway, I implemented quadlets as a defined type where you can just define the parameters as a hash that gets converted to systemd unit files.  This avoids the need to define a hard list of supported parameters and should allow the module to support future keywords to quadlet files with no module changes.  I also switched over rootless users and services to use the systemd module instead of the collection of exec resources used previously.
I'm going to close this request since I'm guessing your work is basically the voxpupuli implementation.


RESTEASY-1668 Allow sub-resource locators to return classes as well.

https://issues.jboss.org/browse/RESTEASY-1668

Superseded by https://github.com/resteasy/Resteasy/pull/1195


[bug]: Bounding box calculations are incorrect

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Linux
GPU
cuda
VRAM
12GB
What happened?
I'm using invoke.py to do img2img with a source image of 512x512. I requested -W 1024 -H 768 --fit and I received the following output:
>> image will be resized to fit inside a box 1024x768 in size.
>> after adjusting image dimensions to be multiples of 64, init image is 1024x1024

I would imagine the image would be resized to 768x768 as that is the bounding box that a resized square image would fit in.
This behavior is correct if I swap the height and width (-W 768 -H 1024 --fit):
>> image will be resized to fit inside a box 768x1024 in size.
>> after adjusting image dimensions to be multiples of 64, init image is 768x768

This may be an issue in InitImageResizer in ldm/invoke/image_util.py.
Screenshots
No response
Additional context
No response
Contact Details
No response

Thanks for catching this long-standing bug! I will fix.

This is now fixed on the development branch.


Darkling Trickery

text: I think this RTR is outdated considering it forbid to play a strike after a S:CE is played by an acting minion
link: https://groups.google.com/d/msg/rec.games.deckmaster/_6CXoKTSLnw/FdG67-3HEAQJ

AFAICT the ruling still applies: no damage against a S:CE. Same as Carrion Crows. Would need a more recent ruling stating otherwise to change it. Or am I missing something?


Allow authenticating to bitcoind with username and password

Currently, the only auth method for bitcoin core RPC is via cookie file. It would be nice if it were possible to auth with a username and password, in case the cookie file isn't available.
Passwords shouldn't be passed on the command line, so we should probably accept the username and password via environment variable.

Closing. If you want or need this, please comment!

Def we need this, many bitcoind are using username/password @casey

Hello, I and all the raspiBlitz community desperately need this !


Running Stable Baselines on M1 Macs?

Hi everyone,
A while ago (early 2020) to be precise I compiled a DRL project using SB. Since that time, I've moved on to other things. Recently I purchased an ARM-architecture (i.e. M1) Mac and transferred my files over; however, Stable Baselines doesn't function. When I run the project, the kernel keeps restarting with no error message being displayed; I've followed the installation instructions and even matched the version numbers of TF etc. from my old Intel-based machine (on which the code still appears to run fine).
I also tried experimenting with SB-3, for which the Cartpole training example using PPO from the website ([https://stable-baselines3.readthedocs.io/en/master/guide/examples.html]) does appear to run; however, it is extremely slow.
I'd really appreciate if someone could answer the following questions:

Is there a special procedure for installing Stable Baselines and associated components (e.g. TensorFlow) on M1-based Macs?
Is there a performance penalty of running code on these machines?

Cheers!

Hey! As you already pointed out, SB3 is an option, and I think it might be the best one.
As for your questions:

I do not have exact answers, but Tensorflow is definitely the achilles heel. I am not sure if there is M1 support for tensorflow (you have look online for this). However if you are able to install this, installing stable-baselines should then work.

I imagine so, as M1 is not generally that performant of a chip (but very power efficient!), and especially on Rosetta. I would imagine you experience the same as you did with SB3.


Footer for the website

I want to create a footer that matches the overall design of the website and is responsive, please add labels and assign it to me @AnshSinghSonkhia

I can create the footer for your website which will look good with your website . please assign this task to me @AnshSinghSonkhia

I would like to do this task, could you assign me


Grandle & JSON file

On your docs:
https://docs.ionicfirebaseapp.com/todo/installation-guide
i read:
If you notice Gradle task assembly debug failed with exit code one error make sure to place JSON file inside the src>android>app folder and run flutter run and your application gets installed.
But, which JSON file ?
Running app with flutter run i've this error:

Error running Gradle:
ProcessException: Process "/Users/mauro/Documents/_projects/Flutter/flutter-app-TODO-master/android/gradlew" exited abnormally:
Starting a Gradle Daemon (subsequent builds will be faster)
Command: /Users/mauro/Documents/_projects/Flutter/flutter-app-TODO-master/android/gradlew app:properties
How can i fix it ?

We have updated our docs, please check you need to add your firebase service JSON file.

what's the right path to move file google-services.json?
your guide is still wrong !
ps. i've bought some your other products hoping your support will be better..


Remove Async Validation in process async

This removes the use of async validation in the process step

:rocket:
This description was created by Ellipsis for commit 57150feadab54a9eade5a493e1a49a988b76b9c6

Summary:
Removed async validation logic and updated related imports and checks, including test file updates.
Key points:

Removed async validation logic from process_response_async in instructor/process_response.py.
Deleted AsyncValidationError import and usage.
Removed async validation check for OpenAISchema in process_response_async.
Removed warning about async validators in process_response.
Removed async_field_validator and async_model_validator from instructor/__init__.py.
Updated import path for async_field_validator and async_model_validator in tests/llm/test_openai/schema/test_async_decorator.py.

Generated with :heart: by ellipsis.dev

@all this is a new PR i'm introducing to remove the usage of the async_validators inside the existing codebase itself. The initial implementation that I put forth in instructor 1.3.6 and 1.3.7 introduced modifications to the OpenAISchema.
For the next release, I'm aiming to remove all existing usage of this modification so that we get a stable release to support the new structured output mode + other features in instructor. Once we've verified that the changes have been validated, we can then work towards reintroducing this in the form of a mixin in the upcoming subsequent releases.


Reduce number of tags further

(Big fan of pomsky!)
I was hoping to use this crate to display colors for the errors in the PRQL documentation.
One minor question — almost every character has its own span tag:
Error:
   ╭─[:2:29]
   │
 2 │ derive total_distance = sum distance
   │                             ────┬───
   │                                 ╰───── Unknown name distance
───╯

I have very little experience with ANSI color codes, so possibly this is caused by something upstream. Ariadne is the library that produces the errors.
Thanks!

It should be possible to do a pass over things where you discard styling that's already applied. Chances are the original library is applying the ansi code for each character which would certainly be good for upstream to fix too
I can make the changes for this project though 👍

to-html adds a span for each ANSI code in the output. If there's span for each character, that probably means that the command you ran produces unnecessarily many ANSI codes. But it makes sense for to-html to detect subsequent spans with the same styles to simplify the output.

Thanks @Aloso & @CosmicHorrorDev !


Fix image name in README usage

Fix usage example to match https://hub.docker.com/r/tutum/ntpd/
Thanks for making this. Used it to work around https://github.com/docker/for-mac/issues/17

Thank you


VisIt can't connect client/server to sims when ssh tunneling is on.

VisIt isn't successfully connecting client/server to sims when ssh tunneling is on. It works when ssh tunneling is off. However, when tunneling is on, the connection seems to be made but the type representations read in the sim contains all zeros. Maybe the socket bridge in vcl is to blame? This is happening on the trunk but I think I have also seen it in released versions of VisIt.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 1193
Status: Resolved
Project: VisIt
Tracker: Bug
Priority: Normal
Subject: VisIt can't connect client/server to sims when ssh tunneling is on.
Assigned to: Brad Whitlock
Category: -
Target version: 2.7
Author: Brad Whitlock
Start: 09/06/2012
Due date:
% Done: 100%
Estimated time:
Created: 09/06/2012 08:33 pm
Updated: 08/20/2013 03:13 pm
Likelihood: 3 - Occasional
Severity: 3 - Major Irritation
Found in version: 2.5.2
Impact:
Expected Use:
OS: All
Support Group: Any
Description:
VisIt isn't successfully connecting client/server to sims when ssh tunneling is on. It works when ssh tunneling is off. However, when tunneling is on, the connection seems to be made but the type representations read in the sim contains all zeros. Maybe the socket bridge in vcl is to blame? This is happening on the trunk but I think I have also seen it in released versions of VisIt.
Comments:
We've recently upgraded from VisIt 2.5.2 to 2.6.0, and are having sometrouble connecting to instrumented simulations. We're able to reproducethe problem with a simple test program (included below, with log fromdebug 5 run), and it looks like a socket issue. We've already done all ofthe troubleshooting we could think of on our firewall settings, and hopethat maybe someone could help us here.Here's a walk through of what we see: We launch the simulation (compiledfrom the code below) on a linux node, and it starts normally. It creates asim2 file in ~/.visit/simulations with what I would expect are propersettings, the name of the node, the port, etc. And we have it set toblocking, so it waits for an incoming connection.At this point, we start VisIt 2.6.0 on Windows (with debug 5 to get somedebug info) click open, select the linux host entry in the connectionwindow, which starts qssh (prompts me for my password), which launches themetadata server. I browse to the file location(~/.visit/simulation/.sim2), and open the file.On the linux side, the libsim V2 code attempts to create 1 read and 3write sockets, with the first two connections working, and the next twoconnections refused. It then uses the first (read) socket to query theversion of the windows client. It's at this point that the recv functionfails (returns 1), but no error condition is generated yet. Shortlyafter, the code attempts to get the version of the windows client from thestillempty buffer, and this evaluates to a blank version string. Whenit's compared to 2.6.0 local (linux) version string, it causes theversion check to fail and an exception to be generated. The resultingerror is written to the log A.visit.5.vlog and the program exits with:Versions are (),2.6.0Exception: (IncompatibleVersionException)On the desktop side, the "compute engine launch progress" windows is stillwaiting, and has to be cancelled.Some questions we have are: what are the 1 'read' and '3' write socketsused for? Also, why would some of the sockets (first read and first write)connect, while the others have connection refused? It looks like even theconnected read socket has a problem, as the 'recv' called on it returns1, leaving the zeroedout buffer unaltered.The comments in the logs says that 9/10 of the issues are with firewalland host file config. What is the ideal setup in the /etc/hosts file?(should the hostname be listed with the 127.0.01 address? should itresolve itself to the actual IP of the first interface?Here is the sample code we used (condensed purposely):#include "VisItControlInterface_V2.h"#include #include <stdlib.h>int main( int argc, char argv[] ) {And the associated log:0visit v 2.6 engine debuglaunch noloopback host node01 port 39879key 89ea67c1a29831b2aa9dENGINE started. pid: 17154ParentProcess::Connect: Called with (numRead=1, numWrite=3, argc=14,argv={visit, v, 2.6, engine, debuglaunch, noloopback, host, node01,port, 39879, key, 89ea67c1a29831b2aa9d, key, 89ea67c1a29831b2aa9d})ParentProcess::Connect: hostName = node01ParentProcess::GetHostInfo: Calling gethostbyname("node-01")ParentProcess::Connect: port = 39879ParentProcess::Connect: securityKey = 89ea67c1a29831b2aa9dParentProcess::Connect: securityKey = 89ea67c1a29831b2aa9dParentProcess::Connect: Creating socketsParentProcess::Connect: Creating read socketsParentProcess::GetClientSocketDescriptor: Set up using port 39879ParentProcess::GetClientSocketDescriptor: Creating a socketParentProcess::GetClientSocketDescriptor: Setting socket optionsParentProcess::GetClientSocketDescriptor: Calling connect(If you see no messages after this one, VisIt was notable to connect to the client machine. Nine times outof ten, this is a firewall issue on the client machine.It could also mean that VisIt was unable to resolve theIP address for the client machine. You may need to verify the contents of/etc/hosts.)ParentProcess::GetClientSocketDescriptor: Connected socketParentProcess::Connect: Creating write socketsParentProcess::GetClientSocketDescriptor: Set up using port 39879ParentProcess::GetClientSocketDescriptor: Creating a socketParentProcess::GetClientSocketDescriptor: Setting socket optionsParentProcess::GetClientSocketDescriptor: Calling connect(If you see no messages after this one, VisIt was notable to connect to the client machine. Nine times outof ten, this is a firewall issue on the client machine.It could also mean that VisIt was unable to resolve theIP address for the client machine. You may need to verify the contents of/etc/hosts.)ParentProcess::GetClientSocketDescriptor: Connected socketParentProcess::GetClientSocketDescriptor: Set up using port 39879ParentProcess::GetClientSocketDescriptor: Creating a socketParentProcess::GetClientSocketDescriptor: Setting socket optionsParentProcess::GetClientSocketDescriptor: Calling connect(If you see no messages after this one, VisIt was notable to connect to the client machine. Nine times outof ten, this is a firewall issue on the client machine.It could also mean that VisIt was unable to resolve theIP address for the client machine. You may need to verify the contents of/etc/hosts.)ParentProcess::GetClientSocketDescriptor: Could not connect! (error=111:Connection refused)ParentProcess::GetClientSocketDescriptor: Set up using port 39879ParentProcess::GetClientSocketDescriptor: Creating a socketParentProcess::GetClientSocketDescriptor: Setting socket optionsParentProcess::GetClientSocketDescriptor: Calling connect(If you see no messages after this one, VisIt was notable to connect to the client machine. Nine times outof ten, this is a firewall issue on the client machine.It could also mean that VisIt was unable to resolve theIP address for the client machine. You may need to verify the contents of/etc/hosts.)ParentProcess::GetClientSocketDescriptor: Could not connect! (error=111:Connection refused)ParentProcess::Connect: Exchanging type representations.Versions are (),2.6.0Exception: (IncompatibleVersionException)/root/visit_2_6_0/visit2.6.0/src/common/comm/CommunicationHeader.C, line270: catch(IncompatibleVersionException)/root/visit_2_6_0/visit2.6.0/src/common/comm/ParentProcess.C:477Exception: (IncompatibleVersionException)/root/visit_2_6_0/visit2.6.0/src/common/comm/ParentProcess.C, line 510:catch(IncompatibleVersionException)/root/visit_2_6_0/visit2.6.0/src/engine/main/Engine.C:1354The engine has a different version than its client. More information from William T Jones.I am using VisIt 2.6.2 to connect a client on my Linux desktop to aremote server through a login node via SSH tunneling. While I can runVisIt in parallel (via PBS) to view files just fine, I am gettingwrapped around the axle with problems connecting to a libsiminstrumented simulation. I cannot connect even to the simplest serialsimulation application which I found on this list (source included withthe logs).Basically: I start the test simulation on the remote machine; fire upVisIt on my desktop; Open a source; select the remote host; navigate tothe sim file in ".visit/simulations" of the remote host; wait forconnection and eventually Cancel. The simple simulation execution lookslike:% ./VisItSimTestWaiting for connection from VisItVisIt did not connect to simulation to exitqI have tried running the simple simulation on the login node as well ason a compute node of the server. The attached "login_logs.tgz" containslogs from running simulation directly on the login server. The attached"node_logs.tgz" contains logs from running on a compute node. Each hasthree directories: "client/" contains the logs from the client;"server/" contains the logs from the server; "sim/" contains the logsfrom the test simulation.I am sure this is a firewall or host table issue, but I cannot figure itout and am somewhat unclear as to the exact process involved. I guessthat VisIt uses the vcl processes to launch things on the remoteserver, but I am unsure as to how the tunneling is supposed to work(e.g. Client tunnels to login node who forwards on to compute nodes).It appears that the simulation does not get the "-sshtunneling" CLO, butI don't know if it needs it by then.Any help would be appreciated. I fixed the order of some calls in the viewer's code that launches the sim via vcl.

1201_login_logs.tgz.zip
Uploading 1201_node_logs.tgz.zip…

1201_login_logs.tgz.zip
1201_node_logs.tgz.zip


Feature homepage&annotation types

This PR mainly delivers work on the Homepage and the Annotating of Specimens.
The Homepage got updated with some new content and updated existing content.
The big change is in the editing of annotations.
This has completely been reworked to be more inline with adding annotations via a form.
The different annotation types all got their respective views for messages and forms where as the user can now freely switch between annotations while being in add/edit mode.
Removing annotations has also been reintroduced, now displayed on the bottom of the form when an annotation already exists.
This update makes the annotations modal component pretty complex, but rich in functionality to optimize the user experience.

Some image are really heavy, that's why they load slow in the browser. See if you can minimize them.


Problem processing campaign ID - Errorno 22

[+] Processed detailed analysis for 198 of 201.
[+] Processed detailed analysis for 199 of 201.
[+] Processed detailed analysis for 200 of 201.
[+] Processed detailed analysis for 201 of 201.
[+] Finished writing detailed analysis...
[!] There was a problem processing campaign ID 689!
L.. Details: [Errno 22] Invalid argument: 'Gophish Results for Login\t.xlsx'
If I run the report in Word, the same result.
Any suggestions on how to fix this?

Hey @Pintag! I think I see the problem. It seems very likely the \ in your campaign name is causing "Gophish Results for" to be read as a directory, so the script is trying to create t.xlsx inside ./Gophish Results for/.
I'll take a look at fixing this. In the meantime, I expect changing the campaign's name to remove the \ will let you produce your report. Let me know if that doesn't work.

I've spent some time refactoring the code to address other issues and requests and could not reproduce any issues with a campaign name with a slash. It could be something specific to the OS.
[Errno 22] Invalid argument is raised when the named file cannot be accessed. I don't encounter any issues on macOS or Linux with campaign names and special characters, but it's still good to sanitize the campaign name.
In this latest commit, the campaign names will be stripped of any non-alphanumeric characters before being used for the filename. I expect that will resolve the issue. Let me know if you have trouble :)


Tag ref contains prefix on forgejo v7

Component
server
Describe the bug

I have some weird mixed results with woodpecker and releases on forgejo v7.
On the UI does it display the tag itself (i.e. v1.0.0) but the ${CI_COMMIT_TAG} is now returning refs/tags/v1.0.0
I assume this to more be an issue with forgejo, but I still wanted to report it here in case someone knows a possible workaround for now.

Originally reported by @Andre601 via chat
System Info
next-00ccec078c

Additional context
No response
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]

Note that a fix from Forgejo side is also underway: https://codeberg.org/forgejo/forgejo/issues/3558
(Woodpecker was faster in fixing this :)

Great :) However, I think it doesn't harm to sanitize it in any case.


Change factory names to not use ":"

After installing Mirage, I started getting this error in the console:
Ember Inspector has errored.
This is likely a bug in the inspector itself.
You can report bugs at https://github.com/emberjs/ember-inspector.
Error message: injectedFactory.reopenClass is not a function
Stack trace: TypeError: injectedFactory.reopenClass is not a function
    at factoryFor (http://localhost:5000/assets/frontend/vendor-3f28de66e3cde419f61cd9abff7b7a97.js:11949:23)
    at Object.Container.lookupFactory (http://localhost:5000/assets/frontend/vendor-3f28de66e3cde419f61cd9abff7b7a97.js:11824:14)
    at exports.default._emberRuntimeSystemObject.default.extend._nameToClass (http://localhost:5000/assets/frontend/vendor-3f28de66e3cde419f61cd9abff7b7a97.js:16549:31)
    at http://localhost:5000/assets/frontend/vendor-3f28de66e3cde419f61cd9abff7b7a97.js:16746:25
    at Array.map (native)
    at exports.default._emberRuntimeSystemObject.default.extend.getModelTypes (http://localhost:5000/assets/frontend/vendor-3f28de66e3cde419f61cd9abff7b7a97.js:16744:56)
    at exports.default._emberRuntimeSystemObject.default.extend.watchModelTypes (http://localhost:5000/assets/frontend/vendor-3f28de66e3cde419f61cd9abff7b7a97.js:16524:29)
    at getModelTypes (<anonymous>:840:55)
    at Object.apply (http://localhost:5000/assets/frontend/vendor-3f28de66e3cde419f61cd9abff7b7a97.js:34091:18)
    at Object.sendEvent (http://localhost:5000/assets/frontend/vendor-3f28de66e3cde419f61cd9abff7b7a97.js:27643:28)

I patched my copy of ember.debug.js to inject a breakpoint when injectedFactory.reopenClass is not a function to see what's going on:
  function factoryFor(container, fullName) {
    var cache = container.factoryCache;
    if (cache[fullName]) {
      return cache[fullName];
    }
    var registry = container._registry;
    var factory = registry.resolve(fullName);
    if (factory === undefined) {
      return;
    }

    var type = fullName.split(':')[0];
    if (!factory || typeof factory.extend !== 'function' || !_emberMetalCore["default"].MODEL_FACTORY_INJECTIONS && type === 'model') {
      if (factory && typeof factory._onLookup === 'function') {
        factory._onLookup(fullName);
      }

      // TODO: think about a 'safe' merge style extension
      // for now just fallback to create time injection
      cache[fullName] = factory;
      return factory;
    } else {
      var injections = injectionsFor(container, fullName);
      var factoryInjections = factoryInjectionsFor(container, fullName);

      factoryInjections._toString = registry.makeToString(factory, fullName);

      var injectedFactory = factory.extend(injections);
      if (!injectedFactory.reopenClass) {
        debugger;
      }
      injectedFactory.reopenClass(factoryInjections);

      if (factory && typeof factory._onLookup === 'function') {
        factory._onLookup(fullName);
      }

      cache[fullName] = injectedFactory;

      return injectedFactory;
    }
  }

And what I found was that this only occurs when a factory for "model:mirage/factories" is being looked up:

I think we can't use model:mirage like I thought we could, thanks for reporting this. I'll update the factory name.

563074a4e8d23f93b0ec7ae0737854fac0c10983 closes

This issue still seems to exit for me. I'm on beta3 and only removing Mirage altogether fixes this. I've even blown away git repo and recloned to make absolutely sure it wasn't npm cache issues or anything. My node_modules for Mirage looked correct with the right file changes, but each time I saw the : for factories when debugged into the reopenClass call.

Hmm... no way of knowing what it is regarding this issue, because none of the blueprints have a : in the name anymore. I wonder if you could produce a simple test case in a new ember app?


Allergies Table in Pre-encounter View

Addresses JIRA-909.

Received input from Edwin on how to display the allergies.  Instead of separating the allergies into different categories, all allergies are displayed in one table with a count of the total number of allergies before the table and a list of the no known allergies displayed after the table.  The allergies in the table are sorted by severity.
Pull requests into Flux require the following. Submitter and reviewer should :white_check_mark: when done. For items that are not-applicable, note it's not-applicable (N/A) and :white_check_mark:.
Submitter:
Running the Application

[x] Manually tested in Chrome
[ ] Manually tested in IE

Documentation

[x] This pull request describes why these changes were made
[x] Recognizes any potential shortcomings/bugs in the description
Cheat sheet is updated
Demo script is updated
Documentation on Wiki has been updated
Additional technical components and libraries are documented and added to wiki as needed

NoteParser

Note parser has been updated if structured phrases change

Code Quality

[x] 4-space indents - convert any tabs to spaces
[x] Use public class field syntax for binding functions - ex. handleChange = () => { ... };
[x] Code is commented

Tests

[x] Existing tests passed
Added UI tests for slim mode
Added UI tests for full mode
Added backend tests for fluxNotes code
Added note parser examples to test new functionality

Reviewer 1: Name

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

Reviewer 2: Name

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

This looks good Dan! All tests pass. The display for allergies looks really nice.


Metaflow is changing indentation

Hi again, sorry for the spam (👎 to me)
I have also found this, it turns out that metaflow eliminates all the indentation from the logs, I find the truth a bit strange but I'm sure you can tell me the reason for this.
In addition, related to #221 it also happens that the prints are logged at the end of the code and the tqdm (in this case) even if it appears later than the prints in the code comes out first in the final log of Metaflow.
dummy_flow.py code for reproducibility:
from metaflow import FlowSpec, step
from time import sleep
from tqdm import tqdm

class DummyFlow(FlowSpec):
    """Dummy flow
    """
    @step
    def start(self):
        """Start of our dummy flow
        """
        print('Welcome to your dummy flow! \N{grinning face}')

        self.next(self.test_logs)

    @step
    def test_logs(self):
        """Test indentation and progress bar
        """
        print("             Hi! I am an indented text...")
        print("Hello, I´m not!")

        for i in tqdm(range(10000)):
            sleep(.00001)
            continue

        self.next(self.end)

    @step
    def end(self):
        """
        Last step in the flow, says goodbye
        """
        print('Goodbye!.')

if __name__ == '__main__':
    DummyFlow()

And the output:

Some advices about this? Thanks!

Thanks for the issue! Let me look into this.

Thanks for closing this :) @savingoyal


FAST Project Re-alignment HLD

Pull Request
🤨 Rationale
HLD for how Nimble will address the FAST project re-alignment.
See https://github.com/ni/nimble/issues/2207
See https://github.com/microsoft/fast/issues/6955
AzDo Work Item 2842865

✅ Checklist

[x] I have updated the project documentation to reflect my changes or determined no changes are needed.

@jattasNI PR is ready for another look


isLoading doesn't display actual value from useQuery

Describe the bug
If I will refetch of query more then 1 time, I will get always isLoading false
To Reproduce
Steps to reproduce the behavior:

Just set { enable: false } to useQuery
Then try refetch, you will see normal value in isLoading
Then try again refetch)) And isLoading will always show value false

Expected behavior
On each refetch of query I want to see actual value in property isLoading
Sandbox
https://codesandbox.io/s/beautiful-river-n85gt?file=/src/index.js

isLoading is a hard loading state for when you have no other data to display. When data is served from the cache, the internal status will be success, and therefore, isSuccess will be true.
Additionally, there is the isFetching flag, which will always be true when a request is in-flight


CI e2e test with AWS bots

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:

Added the aws-ci-bots for write access to the kserve repo
Added the prow webhook to send github events

Release note:

/retest

/test kubeflow-kserve-presubmit

@yuzisun have you set up the Kserve Github webhook for the aws-kf-ci-bot?
https://github.com/organizations/kserve/settings/hooks
It should be set up as
Payload URL: https://$(prow-ingress)/hook
Content type: application/json

Secret: $(hmac-token-in-prow-secret)

SSL verification: Enable
Which events would you like to trigger this webhook?: Send me everything.

@yuzisun have you set up the Kserve Github webhook for the aws-kf-ci-bot?
https://github.com/organizations/kserve/settings/hooks
It should be set up as
Payload URL: https://$(prow-ingress)/hook
Content type: application/json

Secret: $(hmac-token-in-prow-secret)

SSL verification: Enable
Which events would you like to trigger this webhook?: Send me everything.

@Tomcli yes this is setup and working fine.

@yuzisun For the docker limiatation problem, we can add a Secret for docker auth, and then associate the Secret with the Service Account that we used. See more here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/

/test kubeflow-kserve-presubmit

/retest

/retest

@yuzisun I think we have two solutions to work around the image rate limit problem:

Update the base image that stored in other image registries, such AWS/Redhat/Google. The image may be have different, to avoid the different, we can download the image and retag, and then push to other registries. I tried to use images from other registries in #4 seems that works.
Create a docker Secret in the test cluster, and mount to Kaniko container, see example here (not confirmed): https://github.com/GoogleContainerTools/kaniko/blob/master/docs/tutorial.md

/retest

@yuzisun wow! Seems all checks passed now! Great job!
/lgtm

thanks @samj1912 !


Investigate why many css/css-fonts-3 fail with ERROR on Chrome

http://wpt.fyi/css/css-fonts-3
@kojiishi pointed out on blink-dev that many of these tests are imported in Chromium and pass there, so why are they failing in the wpt.fyi running infrastructure?
@kojiishi, do you have a specific test that you know if passing in content_shell but not on wpt.fyi?

As in the intent on blink-dev, we have shipped font-variant-caps, font-variant-ligatures, and font-variant-numeric. Picked font-variant-caps-01.html and it passes.
Tests we know Chrome fails are searchable in TestExpectations, please search for "css-fonts-3".

Note they're ERROR and not FAIL which implies something is way more wrong than just the behaviour of the test. @jgraham was saying on IRC that reftests seem to be broken in Chrome now, and it indeed appears like all reftests ERROR in Chrome now.

They also pass when run manually. See for example
https://test.csswg.org/harness/results/css-fonts-3_dev/grouped/section/6.4/
https://test.csswg.org/harness/results/css-fonts-3_dev/grouped/section/6.6/
https://test.csswg.org/harness/results/css-fonts-3_dev/grouped/section/6.7/

(Fixed by the new ChromeDriver release)


add inter-op tests

Currently test are only run with and against pycayennelpp, this is insufficient. We should run encoding and decoding tests against other libs from other programming languages to ensure interoperability, as it would likely appear in real world scenarios. For example, use an embedded C library on a sensor for encoding and pycayennelpp for decoding on a client, e.g. webapp or similar.

Hi Sebastian,
I recognized you becoming active on this code base again and I appreciate it very much. I also should spend some time on the Terkin Datalogger in order to give it some love again.
On the aspect of interoperability tests against C/C++ libraries, I believe Arduino CayenneLPP library conceived by @ElectronicCats - specifically @sabas1080 and contributors - is the most popular one in this space.
Regarding interoperability tests with MicroPython, there is the MicroPython Unix port. While vanilla MicroPython makes very much progress (currently on version 1.14), Pycom MicroPython unfortunately lacks behind and is still based on MicroPython 1.11. On this matter, I was specifically looking at the upgrade to Python 3.6+ on behalf of #70 - I didn't have time to check if that would break anything but according to your comment, the code base itself doesn't use any more modern Python features yet, right?
With kind regards,
Andreas.

@amotl the changes in #70 just reflect the fact that Python 3.6 is the oldest version still officially supported (until the end of 2021, that is). However, until now I'm not using any features or code specific to Python 3.6 or above, hence this lib should still work with Python 3.4 and 3.5, if required.
Regarding my activity here: the past year was different and other things kept me busy :wink: . I plan to invest some time to push ideas I have to move this project forward.


Implement Backend for AVX.

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#561  👈
#559
#558
#556
#555
dev

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @alonh5 and the rest of your teammates on  Graphite

Codecov Report
Attention: Patch coverage is 72.32704% with 44 lines in your changes are missing coverage. Please review.

Project coverage is 95.02%. Comparing base (f2c00a1) to head (12afdfd).

Files
Patch %
Lines

src/core/backend/avx512/mod.rs
35.59%
38 Missing :warning:

src/core/backend/avx512/circle.rs
69.23%
4 Missing :warning:

src/core/backend/avx512/cm31.rs
0.00%
1 Missing :warning:

src/core/backend/avx512/qm31.rs
85.71%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@                                Coverage Diff                                @@
##           03-31-batch_inverse_cpu_quotient_denominators     #561      +/-   ##
=================================================================================
- Coverage                                          95.38%   95.02%   -0.36%
=================================================================================
  Files                                                 66       66
  Lines                                              10023    10134     +111
  Branches                                           10023    10134     +111
=================================================================================
+ Hits                                                9560     9630      +70
- Misses                                               395      433      +38
- Partials                                              68       71       +3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Merge activity

Apr 2, 9:14 AM EDT: @alonh5 started a stack merge that includes this pull request via Graphite.


v2.5.7 not available on cdnjs

cdnjs hasn't been updated to include v2.5.7, it only has up to v2.5.6.
https://cdnjs.com/libraries/shaka-player

Their auto-update process seems to be broken.  Others are complaining on their github page.
I have a PR in to add the CSS to what they serve, and they asked me to wait, saying that they have to refactor their whole service.
https://github.com/cdnjs/cdnjs/pull/13452
I would recommend we remove cdnjs from our docs.  Other CDNs are able to directly mirror NPM releases and do it without configuration.


[VOTE] Release Apache TVM v0.18.0.rc0

Dear TVM community,
This is a call for vote to release Apache TVM version v0.18.0. for any edits you would like to see included in the release notes.
Link to release notes:
https://github.com/apache/tvm/issues/17468
Link to release candidate:
https://dist.apache.org/repos/dist/dev/tvm/tvm-v0.18.0-rc0/
Link to github pre-release page:
https://github.com/apache/tvm/releases/tag/v0.18.0.rc0
Everyone is welcomed to vote. Please vote by replying to this thread explicitly. According to release procedure, for the dev@ vote, there must be at least 3 binding +1 votes and more +1 votes than -1 votes.
+1 = approve
+0 = no opinion
-1 = disapprove (provide reason)
NOTE: this thread is being mirrored in dev@
Vote will close Oct 21th at 23:59M GMT.

+1
i checked

The sha and gpg keys
Code compiles and import
license

TQ

+1
Checked:

md5sum
no binary file
code compilation and Python import

+1

+1

+1

Thank you all for voting!


Mixing two microphone inputs to one wav file

Hi,
I am trying to mix two microphone inputs and save them to one wav file. To this end I have been experimenting with the RecordingPanel from the NAudio demo trying to get the microphone input in and out of a MixingWaveProvider32.
I think I am missing a step to write the MixingWaveProvider into the WaveFileWriter I have open. Could someone give me a hand please.
Please see the code snippets below.
Regards,
Darren
`
private void CreateWaveInDevice()
{
if (radioButtonWaveIn.Checked)
{
waveIn = new WaveIn();
waveIn.WaveFormat = new WaveFormat(8000, 1);
}
else if (radioButtonWaveInEvent.Checked)
{
waveIn = new WaveInEvent();
waveIn.WaveFormat = new WaveFormat(8000, 1);
}
else if (radioButtonWasapi.Checked)
{
// can't set WaveFormat as WASAPI doesn't support SRC
var device = (MMDevice) comboWasapiDevices.SelectedItem;
waveIn = new WasapiCapture(device);
}
else
{
// can't set WaveFormat as WASAPI doesn't support SRC
waveIn = new WasapiLoopbackCapture();
}
        WaveFormat OutputFormat = new WaveFormat(8000, 16, 1);

        bufferedWaveProvider = new BufferedWaveProvider(OutputFormat);

        MediaFoundationResampler MFR = new MediaFoundationResampler(bufferedWaveProvider, WaveFormat.CreateIeeeFloatWaveFormat(8000, 1));

        mixer = new MixingWaveProvider32();
        mixer.AddInputStream(MFR);

        WFW = new WaveFileWriter("D:\\a\\DJS.wav", waveIn.WaveFormat);

        waveIn.DataAvailable += OnDataAvailable;
        waveIn.RecordingStopped += OnRecordingStopped;
    }

`
`
void OnDataAvailable(object sender, WaveInEventArgs e)
{
if (this.InvokeRequired)
{
//Debug.WriteLine("Data Available");
this.BeginInvoke(new EventHandler(OnDataAvailable), sender, e);
}
else
{
//Debug.WriteLine("Flushing Data Available");
//writer.Write(e.Buffer, 0, e.BytesRecorded);
            bufferedWaveProvider.AddSamples(e.Buffer, 0, e.BytesRecorded);

            int secondsRecorded = (int)(writer.Length / writer.WaveFormat.AverageBytesPerSecond);
            if (secondsRecorded >= 30)
            {
                StopRecording();
            }
            else
            {
                progressBar1.Value = secondsRecorded;
            }
        }
    }

`

It's a bit fiddly to mix recorded inputs on the fly. It's something I'd like to make easier in the future. Often I just save both to separate temporary files and mix when I'm done.

@markheath : I have to do this exact thing. Is it still fiddly and would you recommend mixing at the end, or is there now a good way to do this?

There's no new functionality in NAudio that supports this at the moment. You can mix on the fly with two BufferedWaveProviders and when there's say 1 second of audio available in both, mix that second.

we are a few years later. Is there a way now?


nekopad

nekopad.....
bom is in a file
firmware needs some testing since had 0 way to test it, so kinda just did it looking at other references on github.
don't think there's any obvious issues?!
also, when printing, there's a huge cutout on the base so keep that in mind!
story
my friend told me to make one for a month, then i did it all in the last day, in like 5 hours of work??! though now i know how to use fusion360, and get a cat macropad, so win-win!

Looks great! Could you just change the folder name of 'nekopad' to nekopad v2 or anything youd like? Someone already took the name nekopad and I cannot have duplicates.

okay! renamed it (the pr and the folder) to neko(atsume)pad
(the commit isn't from me but that doesn't matter I did it on his computer)

ok


Prepare for new release of Confluence

Workflow links: https://github.com/atlassian-labs/atlassian-slack-integration-server/actions/runs/3148883405, https://github.com/atlassian-labs/atlassian-slack-integration-server/actions/runs/3148884374.

Integration tests passed. Current build is marked as compatible with Confluence 7.19.2.


Redirect to dashboard when an org user requests / closes #1141

This closes CartoDB/website#1141, "Going to username.cartodb.com should go to your dashboard if it's your URL" for public reference. @rafatower, CR this, please.

Frontend tests were OK :+1: (details)

ok


Migrate team bios to YAML

Use jekyll's site data to store all of the team data in a single file
Adding/editing members is now super easy
Unfortunately it doesn't let us center the images in the last row if
our member count isn't mod 3

@jez I think you suggested doing this before. It makes maintenance way easier, but it might make the new member "add yourself to the website" too easy, so I'm leaving it as a PR. Does that matter much? Any other thoughts before merging this?

What's the point of having people add themselves to the website? To challenge them? To teach them HTML? To introduce them to Git, GitHub, and pull requests?

Yeah, I wasnt completely sure if we wanted to go through with this at first, because it makes changing the website's style more difficult, but I think that the advantage of it being an awesome teaching opportunity completely outweigh the drawbacks.

Nice Socratic method Jake, the most important thing for people to learn would be to introduce them to git, github and pull requests, so this change does not hinder those learning goals. I'll go ahead and merge it!


abstract leveldown + not a single db

just have to implement this https://github.com/Level/abstract-leveldown#example

https://github.com/Level/leveldown/blob/ea5999dbd5fddf8f811b6c14162a3282b24ef7a9/src/database.cc


Sort imports based on first and third party

As far as I can tell the new sort imports feature currently sorts imports alphabetically. Other similar formatters usually try and separate imports based on if they're first or third party, meaning something (contrived) like the following
import UIKit
import Bar
import Foundation
import Foo

would be sorted into this
import Foundation
import UIKit

import Bar
import Foo

This would probably mean having to maintain a list of first party modules or is that something that can maybe be read from the system?

Should work now.


analyze the lifecycle of download

When we are trying to including the function code inside the download, we always use the append to add the new input area for the user, however, when clicking the button, the order of the input is not correct. It always has one line ahead. Need to fix this.

Here is some resources that I find regarding to angular life cycle:
link: https://angular.io/guide/lifecycle-hooks
Assumption: may need to use ngDoCheck() to check the input.


[android] Removing explicit castings for unsigned integers.

Fixes SR-7469.
Seems that the explicit castings are not longer needed in the current
tree compiling for Android.

@swift-ci please test and merge