Help with installation error? #discussion

I get the following error when I try to (quick) install the most recent release of GPflow (1.1) on a mac (OS 10.11.6) running Python 3.5.3 with pip 10.0.1:
mymachine:GPflow me$ pip install .
Processing /Users/me/Version Control/GPflow
    Complete output from command python setup.py egg_info:
    2018-06-07 12:29:18.551054: F tensorflow/python/lib/core/bfloat16.cc:664] Check failed: PyBfloat16_Type.tp_base != nullptr

    ----------------------------------------
Command "python setup.py egg_info" failed with error code -6 in /private/var/folders/f1/q81npw950j1fpr6tnscymp7r0000gn/T/pip-req-build-aytfmcr3/

Does this mean GPU support is needed and I should use the other install method (with a TensorFlow install first)? I'd appreciate any help. Thanks!

thank you!


Update useMatchesData return type

I was upgrading from Remix v1 to v2 and noticed this had been updated in remix-run/blues-stack but not here in the examples.
This change now matches this example repo to the blues-stack repo.

I think the whole example should be removed in favor of useRouteLoaderData that accepts a generic type ..

Example was removed


[Screen Reader - MakeCode - Simulator] Narrator focus is navigating to hidden element in item mode and reading it as 'simulator'.

User Experience:
If Narrator in item mode is navigating to hidden element and reading as simulator then user with visual disabilities may get misguided to understand the behavior of the controls.
Test Environment:
OS: RS2 Version 1703(OS Build 15063.483)
Platform: Edge.
Repro Steps:-
1-Navigate to url:- https://makecode.microbit.org/acc
2-Navigate to the Microbit section element and select Code control given on it.
3-Navigate to the Simulator control lying in the page in item mode(using caps+arrow) and verify the issue.
Actual Result:-
Narrator in item mode is navigating to hidden element and reading as simulator.
Expected Result:-
In item mode Narrator focus should not navigate to hidden element.
Note:
In Scan mode narrator is navigating to hidden element and reading as Simulator text
MAS Reference -
https://microsoft.sharepoint.com/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={b24201d1-2276-4471-8183-e1e5353031ad}&action=default
Refer Attachment
MAS 4.2.10_MakeCode_Hidden element.zip

Verified on URL: https://makecode.microbit.org/acc and issue is not fixed. Hence reactivating the bug

Verified on URL: https://makecode.microbit.org/acc and issue is fixed. Hence Closed  the bug and added the Closed tag.


Decouple AttachmentData#draft? from AttachmentData#unpublished?

The fact that AttachmentData#draft? depended on AttachmentData#unpublished? was based on a faulty assumption, i.e. that AttachmentVisibility#visible? always returned false if the
AttachmentData was unpublished. The reason it always returned false for an AttachmentData on an unpublished edition was purely because its edition was not in a publicly visible state.
Another (faulty) reason for implementing AttachmentData#draft? this way was so that AssetManagerAttachmentDraftStatusUpdateWorker#perform would only need to call this predicate method to decide whether to set the corresponding Asset Manager assets to be draft or not.
As Asset Manager currently stands, we need to ensure that an asset with a redirect URL due to a document being unpublished is still marked as not draft even though its corresponding AttachmentData in Whitehall will be draft. This is so that the redirect is visible on the live stack and thus anonymous users are redirected. However, this is really an Asset Manager concern and not anything to do with Whitehall.
So I think it's less confusing if AttachmentData#draft? is independent of AttachmentData#unpublished? and the fact that an unpublished asset in Asset Manager needs to be marked as not draft is encapsulated in AssetManagerAttachmentDraftStatusUpdateWorker#process. This also brings AttachmentData#visible_to? into line with how AttachmentVisibility#visible? used to work.
Note that this is just a refactoring as evidenced by no changes being necessary in the integration tests.
I can imagine it might make sense to change Asset Manager so that an unpublished asset (i.e. one with a redirect URL) is always assumed to be not draft - that way we could remove the extra condition in
AssetManagerAttachmentDraftStatusUpdateWorker#process. However, I'm not going to address that in this PR.

Closing to open again on a more appropriately named branch.

Superseded by https://github.com/alphagov/whitehall/pull/3902.


Error setting the region in td-agent.conf using the environment variables

Problem
Hi, I am trying to set the region parameter in the td-agent.conf file using env variables. Here is the how the agent conf file looks like:
<match api.error>
  type cloudwatch_logs
  log_group_name test-group
  log_stream_name test-stream
  region "#{ENV['AWS_REGION']}"
</match>

Also, I added an entry AWS_REGION=us-east-1 in the /etc/default/td-agent file. When I start the td-agent service, I see an error in the td-agent log file as shown below:

"unexpected error error_class=Aws::Errors::MissingRegionError error="missing region; use :region option or export region name to ENV['AWS_REGION']"

Steps to replicate
Use the sample config above in td-agent.conf and set the AWS_REGION env variable in the /etc/default/td-agent file. Start the td-agent service and see the error in the log file
Expected Behavior or What you need to ask
I need to set the region in the confg file using env variables. I can get the region from the instance metadata but when passing it to the conf file, it throws an error. Any help here on how to fix this issue??
...
Using Fluentd and CloudWatchLogs plugin versions

OS version: Ubuntu 16.04.6 LTS (Xenial Xerus)
Bare Metal or within Docker or Kubernetes or others? AWS EC2
Fluentd v0.12 or v0.14/v1.0: td-agent 1.4.2
Dependent gem versions
fluent-plugin-cloudwatch-logs (0.7.4)

Hi, I am facing exactly the same problem
Is there a solution?

OS version: 16.04.3 LTS (Xenial Xerus)
td-agent 1.11.1
fluent-plugin-cloudwatch-logs (0.10.2)


[WIP] Begin implementing some illegal subset relations errors

Opening for discussion/guidance: especially around how we expect errors to work, how to test these errors cleanly if this is an acceptable way of outputting them, how to have better organized tests, etc.
Implements the rules from the post to check whether named lifetimes have correct relations.
I've manually crafted the known_subset facts for the datasets (until we regenerate them with rustc when we can) so they may be wrong; for the tiny implied bounds one, I feel it should be similar to the regular valid_subset test, but I'm not sure about it.
As mentioned earlier: this doesn't check the subset errors in the unit tests yet, I only eyeballed them running our datasets, and will add those tests when we know/decide how to best.

(We would clearly want some more tests)

This WIP work is using technique number 1 out of 3 possible implementations, and can only be applied to the Naive variant since it uses the complete subset TC.
This is not likely the way forward, probably rather "placeholder loans" will be the way to go. So I'm closing until this PR until I reimplement these errors with the expected technique.


Release Camunda v1.11.0

[x] make sure dependencies are released (rm -rf node_modules && npm i && npm run all works)

bpmn-js, dmn-js, cmmn-js, *-properties-panel, *-moddle, ...

[x] smoke test to verify all diagrams can be created
[x] semantic release (grunt release {minor|major|patch})
[x] wait for CI infrastructure to build the release
[ ] execute integration test on released artifacts

[ ] Works on my machine
[ ] Works on Mac
[ ] Works on Windows

[ ] write blog post on blog.camunda.org
[ ] update download version on camunda.org
[ ] spread the word

[ ] @alle to trigger customer mail
[ ] tweet

To be publicly advertised Camunda Modeler version: 1.11.2.


create a paperwork folder (Github)

@rachael-pluta can you create a folder called "file-storage" on the branch that i called foladd and then add the wireframe once you do that i will approve it then we can delete the branch.

all done


Download all courses in my account

Download all courses in my account by pressing the button

Sure will consider this for future releases.
Thanks for your suggestion.

I also would like to have this funcionality...
... and it would be great if it allows you to choose how many courses download simultaneously.

Hope this one will be in future release.


How to sort posts in descending order instead of ascending w.r.t Date?

Afaik, the current template sorts the posts w.r.t their date field: the earliest is the first, the latest is the last.
I want to reverse that order (my latest posts should be the first ones to be displayed).
How can I achieve this?

From what I've seen, there is no ordering. However, since the file name format for posts requires the date, posts are implicitly sorted (not via this template's code).
My current solution is to reverse the post list as such (maybe it will help others as well):
{% if include.show_posts %}

    {% assign reversed_posts = site.crypto | reverse %}
    {% for post in reversed_posts %}
      {% bookshop blog-card post=post %}
    {% endfor %}

It seems like a hacky solution, but if there is no better way, feel free to close this issue.

Pretty sure that's the way to go.


English Please

What is the problem with Chinese README's
Firstly, we congratulate you for getting so much star by sharing this repository with humanity.
But it is very disappointing for non-Chinese speakers when one couldn't understand what a trending repository is about.
When we see such a repo on trending, our minds are blurring like Gollum's.

There is a way you can help to solve this disappointment which I believe is experienced by many people who want to know more about your valuable work and appreciate it.
What we want:

Please add English translation of your README so you are sharing your work and knowledge with more people.

How this will help you:

More feedback to fix and improve your project.
New ideas about your project.
Greater fame.

“Sharing knowledge is the most fundamental act of friendship. Because it is a way you can give something without loosing something.”
— Richard Stallman
Thank you!

This issue created by us/english-please script. Please report on any error. Thank you!

Thank, I will translate an English version.

原谅我不厚道的笑了。但是真的想说，翻译过后，外国友人真的能get到精髓。哈哈哈哈哈哈哈哈哈

23333, but I think it's not the language issue that keeps you from understanding. you will need more.

English version: https://github.com/kasuganosoras/cxk-ball/blob/master/README_EN.md


Use java.time classes instead of Joda-Time in embulk-cli

@muga @sakama Small change. Let's use java.time more, and Joda-Time less. Can you have a look?

Thanks! Merging.


Speech samples

Note : not to be merged till
https://github.com/GoogleCloudPlatform/google-cloud-java/tree/ml-update-branch is merged.

@dizcology @lesv Please hold off on review till I resolve the conflicts with master.


Use same react version as react-pdf

@react-pdf/render uses react 16.x.x
should match to stop any mismatch errors

Moved it to peerDependency 16+


Support of ZRANGE command

Introduce new command ZRANGE in the Redis commands category
Command parameters:
key
selectby (options: BYINDEX|BYSCORE|BYLEX BYINDEX is default)
reverse order checkbox
min (default values: 0 for BYINDEX, -inf for BYSCORE, - for BYLEX)
max (default values: -1 for BYINDEX, +inf for BYSCORE, + for BYLEX)
WITHSCORES mandatory on
The expected output of the command with WITHSCORES flag is
>> zrange test:zset 0 -1 withscores

1) "member1"
2) "10"
3) "member2"
4) "12"
5) "member3"
6) "14"
7) "member4"
8) "15"

This output to be parsed same way as HGETALL output to be able to be used in Bar gauge, Stat, Table and other compatible Grafana panels

is there a way that I can manually format the universal input result as table before it's predefined?

@alex6058 @DeoLeung ZRANGE implemented and will be released in version 2.0 this week.


Deactivate Assessment disabled

@subhaklp Why?

@meghaklp because you have to select assessments to enable that button?

So this is when I've selected the assessment and hover over deactivate

This is when I click deactivate - Selection gets unchecked and the button gets disabled:

I fixed a bug on the frontend for this. But I also need to fetch active assessments only from the server. I need a server filter for this. Have pinged @harisibrahimkv about it. Will close it out when I hear back.

It's already there. "http://localhost:8000/api/v1/assessments/?active=0" works. 0, 1 and 2 are the values.

Fixed.


Add @inliable to functions

Suggested in #82 by @capnslipp

UserDefaults.standard.do {
$0.set("devxoul", forKey: "username")
<EMAIL_ADDRESS>forKey: "email")
$0.synchronize()
}


Add a small instructions overlay

Describe the pull request
This PR adds a small overlay with instructions about how to use the overrides map.
Why
This change helps first-time users of the map learn what to do next when first landing on the site.
How
I added a <details> element to the PageFrame override with simple instructions. This is first in the DOM order before the toolbar to provide instructions first. The element is then positioned in the bottom right corner. It can be collapsed to take up less space in case it is obscuring something a user wants to hover.
Screenshots

"Hovering" doesn't make sense on mobile devices, but I think the whole website is not intended to be used productively on mobile, so I like it very much!

"Hovering" doesn't make sense on mobile devices, but I think the whole website is not intended to be used productively on mobile, so I like it very much!

Yeah, in general the site is “pointer-centric” — doesn’t really work with keyboard focus either (except accidentally for some components that already include a focusable element) — so I decided to leave it like this. Keyboard support would be nice to add, not so sure what touch support would look like though.


New package: GAS v0.1.0

Registering package: GAS
Repository: https://github.com/LAMPSPUC/GAS.jl
Created by: @raphaelsaavedra
Version: v0.1.0
Commit: 0008adac88440510b270fa167edbc8ceda301270
Reviewed by: @raphaelsaavedra
Reference: https://github.com/LAMPSPUC/GAS.jl/commit/0008adac88440510b270fa167edbc8ceda301270#commitcomment-37090483

Can we rename something that might be more informative to non-experts?
E.g. GASModels.jl would be better, since a google search for GASModels turns up relevant results at the top (unlike GAS).
Alternative much longer names...

GeneralizedAutoregressiveScoreModels.jl
GeneralizedAutoregressiveModels.jl
GeneralizedAutoregressiveScore.jl
...

Hey @nickrobinson251! So, the original name for the package was indeed ScoreDrivenModels.jl, but we ended up changing It because score-driven models are a somewhat broader class than just GAS. We were avoiding GASModels because GasModels already exists (https://github.com/lanl-ansi/GasModels.jl) and we want to avoid confusions. We will discuss and come up with a better alternative.

This should be closed, it was replaced by #8844


MAINT: (WIP) Review and strengthen tests for linprog(method='simplex')

closes #9268
This PR reviews the tests of recent bug fixes in linprog(method='simplex').
Further the PR alters the error checking such that the status=4 (numerical difficulties encountered) instead of raising a ValueError when status == 2 and is_feasible. The choice of status is ambiguous and I'd like someone with a little more experience to consider how to handle it (@mdhaber @ilayn @rgommers)
Phase one of the simplex method fails to find the basic feasible solution if the pseudo-objective function is very slightly greater than tol, this isn't really a bug but an issue with the default tolerance (see: #8958). During the conversion back to the original problem via _post_solve(...) the problem may become feasible again. The resultant solution is sometimes, but not necessarily, optimal.
My rational  for choosing status=4 is to be conservative when claiming a successful result. For all cases where this occurs a OptimizeWarning is raised in _apply_pivot(...) (see: #9081). Maybe returning a status of 0 (Optimization terminated successfully), with a warning of possible numerical errors is more relevant?
An example of this TestLinprogSimplexNoPresolve.test_issue_6139 The pseudo objective function evaluates to 5.1e-10 with the tolerance of 1e-12 and is therefore not considered close enough to zero to find a basic feasible solution. This is explained in the exit message:
https://github.com/scipy/scipy/blob/1ec1c8ab24d57a5c46adf68b8f6cdae2faa975da/scipy/optimize/_linprog_simplex.py#L595-L603
The other failing test  is TestLinprogSimplexBland.test_issue_8174. The test returns a status of 0 and success=True, with the wrong result. A basic feasible solution is correctly found at the end of phase one, however in phase two division by a small pivot value leads to the simplex method "exploding".  The pivot value is small enough that a warning is issued:
https://github.com/scipy/scipy/blob/1ec1c8ab24d57a5c46adf68b8f6cdae2faa975da/scipy/optimize/_linprog_simplex.py#L194-L201
I'm also not quite sure how this should be handled; the test returns the wrong result while claiming it is correct, however a warning is issued notifying the user the solution may be wrong.

I'd like to document that I won't be working on this until the revised simplex method is merged to avoid unnecessary conflicts. Although the test coverage is quite large (~400) they all run quickly and don't cause too much of an inconvenience. @mdhaber agreed?

@kai-striega yes! Thanks.

@Kai-Striega I forget how we left off on this. revised simplex is merged, but you marked this wontfix?

@mdhaber I marked it as wontfix because of two reasons:

the bugs occur because of the tol parameter, at the time, there was some discussion in another PR (which I can't find now) to raise tol which would have avoided these errors entirely.

the interior-point / revised simplex have already superseded simplex and (I hope) its usage will be much less, reducing these kind of edge cases anyway.

I don't think to fix these edge cases is worth it. With (1) they will be avoided unless someone decreases the default tol and changes the default solver (2) to one that is not recommend.
In a less wordy way, I think we should go ahead and raise tol to match the other solvers.

Ok. That's fine with me. What should we do with this PR then?

I think the best way forward is to open a PR to raise the default tolerance value for the simplex method. I'll reference this issue here and once that PR is merged we can close this one.
Do you think that's the best way forward?
P.S. @mdhaber while we are at cleaning up older PR/Issues would you please take a look at #9536?

@Kai-Striega Yes, I've looked at it a few times recently but I wanted to test some things before responding. I will take a closer look this weekend.

And yes it's fine with me to increase the tolerance of simplex.

@Kai-Striega is this fixed by #10143

Yes, I think this can be closed.
The "failing" tests are bypassed by with the increased tolerance and have
tests that they fail/warn as expected.
Unless you have any further feedback I'll be happy to close it.
On Wed, 12 Jun 2019 at 00:30, Matt Haberland<EMAIL_ADDRESS>wrote:

@Kai-Striega https://github.com/Kai-Striega is this fixed by #10143
https://github.com/scipy/scipy/pull/10143
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/pull/9390?email_source=notifications&email_token=AHFOJNODBEX5JPLQ2HPRNVDPZ7HJPA5CNFSM4F5SDL72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXNXC2Y#issuecomment-500920683,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHFOJNK76Z4JLNU5IJQFI73PZ7HJPANCNFSM4F5SDL7Q
.

Nothing more from me.


"C4834: discarding return value" with REQUIRE_THROWS

Description
This test assertion:
map<string,string> stdmap;
REQUIRE_THROWS(stdmap.at("a").empty());

works fine, but triggers warning in MSVC during build:
ClCompile:
  ...\CL.exe ... main.cpp
  main.cpp
main.cpp(48,2): warning C4834: discarding return value of function with 'nodiscard' attribute

If I am not doing anything wrong, then this might become an issue if some project treats C4834 as error.
Steps to reproduce
#include <map>
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include <doctest/doctest.h>

TEST_CASE("std::map at") {
	std::map<std::string, std::string> args;
	REQUIRE_THROWS(args.at("a").empty());
}

Extra information

doctest version: v2.4.6
Operating System: Windows
Compiler+version: Visual Studio 2019 v16.11.5

Actually, you don't need to call .empty() because .at() will throw std::out_of_range in this case which is exactly what you are testing for. I don't think the framework should silence warnings for not using a result that has been marked as nodiscard. Let me know if you disagree - closing this for now.

I actually added .empty() to ensure that the result returned from .at() was used, but apparently went not far enough! :) Checked it once more, and to actually silence the warning I had to use args.at("a").empty() == true.
But based on your comment, I assume that in all three cases I am doing something wrong. What is the intended way to test throwing from nodiscard functions then?

Actually in your case args.at("a").empty() == true is fine, and an alternative way to do it would be args.at("a") == "doesnt_matter".

Note that one can #define DOCTEST_CONFIG_VOID_CAST_EXPRESSIONS so all exception-handling macros (including REQUIRE_THROWS) wrap their argument in static_cast<void>(....) which suppresses this warning. It's not the default behavior to support { ... } blocks inside the macro, see docs.


Help for the test results

Could you please share the test results of your own method and other methods compared on the "photo to sketch" task in this paper ?

The compared results can be found in this page.

Thanks for your reply, but I still can't find the way to get the results, I can't even find where the results are in this link.
------------------ 原始邮件 ------------------
发件人:                                                                                "qinghew/SDGAN"                                                                                @.>;
发送时间: 2022年4月9日(星期六) 中午1:26
@.>;
<EMAIL_ADDRESS>主题: Re: [qinghew/SDGAN] Help for the test results (Issue #1)
The compared results can be found in this page.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

If you want the quantitative comparison results, please download PDF from page.
If you want the generation results of ours and baselines, you should run the codes to get.

Thanks ~
------------------ 原始邮件 ------------------
发件人:                                                                                "qinghew/SDGAN"                                                                                @.>;
发送时间: 2022年4月9日(星期六) 下午3:16
@.>;
<EMAIL_ADDRESS>主题: Re: [qinghew/SDGAN] Help for the test results (Issue #1)
If you want the quantitative comparison results, please download PDF from page.
If you want the generation results of ours and baselines, you should run the codes to get.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I'm sorry to bother you again, but I want to know if you can share the pretrained model so that I can test directly.
------------------ 原始邮件 ------------------
发件人:                                                                                "qinghew/SDGAN"                                                                                @.>;
发送时间: 2022年4月9日(星期六) 下午3:16
@.>;
<EMAIL_ADDRESS>主题: Re: [qinghew/SDGAN] Help for the test results (Issue #1)
Closed #1.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

For business reasons, we do not provide the pretrained models. The provided codes are sufficient to reproduce.

Ok，thanks for your reply
------------------ 原始邮件 ------------------
发件人:                                                                                "qinghew/SDGAN"                                                                                @.>;
发送时间: 2022年4月10日(星期天) 晚上7:37
@.>;
<EMAIL_ADDRESS>主题: Re: [qinghew/SDGAN] Help for the test results (Issue #1)
For business reasons, we do not provide the pretrained models. The provided codes are sufficient to reproduce.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


[EXPLORATION] Maximising window does not work

Version: 1.37.0-exploration (system setup)
Commit: 54c6f2047b7e26f9dd6f991d9831ead1f06964b2
Date: 2019-07-09T10:09:10.044Z
Electron: 6.0.0-beta.12
Chrome: 76.0.3809.54
Node.js: 12.0.0
V8: 7.6.303.18-electron.0
OS: Windows_NT x64 10.0.18362
Steps to Reproduce:

Open up Exploration
If the window isn't maximised, attempt to click on maximise button and see it is dysfunctional
To maximise it, drag to the top of the screen and let Windows do its thing
Observe that clicking the button again actually works

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

I cannot reproduce that. Does it reproduce when you run from a fresh user data directory?
Can you try to run code-exploration --disable-extensions --user-data-dir <directory> where <directory> is an empty folder? This will ensure Code is starting with a fresh data directory, e.g. no specific settings and without any extensions running.

@bpasero  Can confirm this bug still exists
I've now noticed if I drag the window to any position on my screen and click it, it just centres the window and doesn't maximise...

Are you using any special window manager software?

AFAIK No

I believe this issue has been fixed now, however I noticed the animation seems jumpy and weird, I'll check it out when I get the time to

From testing the stable electron 6 build, can say this issue is fixed :)


Print stacks on SIGUSR1

Twice recently, the tests have hung, and it would be nice to figure out where they hung. With this PR, you can send a SIGUSR1 (e.g., pkill -10 -f test_gpios) and it'll print out stack traces of all threads and all active coroutines.
I don't have a great sense of how useful this will be: I can get output like the following.
Thread asyncio_0:
  /usr/lib/python3.11/threading.py:1002 @_bootstrap: self._bootstrap_inner()
  /usr/lib/python3.11/threading.py:1045 @_bootstrap_inner: self.run()
  /usr/lib/python3.11/threading.py:982 @run: self._target(*self._args, **self._kwargs)
  /usr/lib/python3.11/concurrent/futures/thread.py:83 @_worker: work_item.run()
  /usr/lib/python3.11/concurrent/futures/thread.py:58 @run: result = self.fn(*self.args, **self.kwargs)
Thread MainThread:
  /home/alan/viam/board_canaries/./test_gpios.py:135 @<module>: unittest.main()
  /usr/lib/python3.11/unittest/main.py:102 @__init__: self.runTests()
  /usr/lib/python3.11/unittest/main.py:274 @runTests: self.result = testRunner.run(self.test)
  /usr/lib/python3.11/unittest/runner.py:217 @run: test(result)
  /usr/lib/python3.11/unittest/suite.py:84 @__call__: return self.run(*args, **kwds)
  /usr/lib/python3.11/unittest/suite.py:122 @run: test(result)
  /usr/lib/python3.11/unittest/suite.py:84 @__call__: return self.run(*args, **kwds)
  /usr/lib/python3.11/unittest/suite.py:122 @run: test(result)
  /usr/lib/python3.11/unittest/case.py:678 @__call__: return self.run(*args, **kwds)
  /usr/lib/python3.11/unittest/async_case.py:131 @run: return super().run(result)
  /usr/lib/python3.11/unittest/case.py:619 @run: self._callSetUp()
  /usr/lib/python3.11/unittest/async_case.py:87 @_callSetUp: self._callAsync(self.asyncSetUp)
  /usr/lib/python3.11/unittest/async_case.py:104 @_callAsync: return self._asyncioRunner.run(
  /usr/lib/python3.11/asyncio/runners.py:118 @run: return self._loop.run_until_complete(task)
  /usr/lib/python3.11/asyncio/base_events.py:640 @run_until_complete: self.run_forever()
  /usr/lib/python3.11/asyncio/base_events.py:607 @run_forever: self._run_once()
  /usr/lib/python3.11/asyncio/base_events.py:1884 @_run_once: event_list = self._selector.select(timeout)
  /usr/lib/python3.11/selectors.py:468 @select: fd_event_list = self._selector.poll(timeout, max_ev)
  /home/alan/viam/board_canaries/stack_printing.py:21 @print_all_stacks: stack = traceback.extract_stack(frame)
Stack for <Task pending name='Task-5' coro=<GpioTest.asyncSetUp() running at /home/alan/viam/board_canaries/./test_gpios.py:26> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.11/asyncio/futures.py:387, Task.task_wakeup()] created at /usr/lib/python3.11/asyncio/base_events.py:427> cb=[_run_until_complete_cb() at /usr/lib/python3.11/asyncio/base_events.py:180] created at /usr/lib/python3.11/asyncio/runners.py:100> (most recent call last):
  File "/home/alan/viam/board_canaries/./test_gpios.py", line 26, in asyncSetUp
    self.robot = await RobotClient.at_address(conf.address, opts)

and frankly, the important part would likely be inside the call to RobotClient.at_address that isn't directly shown. All this could really do is distinguish whether we've hung trying to connect to the robot, or hung trying to read/set a pin. Is this still useful? I'm unsure. Is there a way to make it more useful? Again, I'm unsure. What do you think?

I should make stack traces from threads and coroutines have consistent formatting. I'll update the PR description when that's done...


Test on Ubuntu 16.04 and with NIO

Adds Travis for Kitura-Sample with Ubuntu 16.04 and 18.04, and NIO mode.
Also adds support for NIO mode by choosing the appropriate branch of WebSocket.
Issues to be resolved:

~SwiftMetrics needs a new release to pick up the equivalent WebSocket change, otherwise SPM will hang.~ SwiftMetrics 2.5.0 is released :ballot_box_with_check:
~18.04 is currently failing as Swift-JWK-to-PEM does not yet support OpenSSL 1.1 -> https://github.com/ibm-cloud-security/Swift-JWK-to-PEM/issues/6~ Disabling the 18.04 build until this is resolved. :ballot_box_with_check:

@Andrew-Lees11 I'd like to get this change in.  The JWK-to-PEM issue looks like it may take some time to resolve, and meanwhile there are additional changes for Sample (Swift 5 builds) that I want to raise on top of this.


Added the strategies in their respective files and the init.py file.

This is just the basic strategy that Paul designed for MEP30, no changes have been made.

The abstract strategy file should be called _abc.py, or at least something using snake_case.py


How to load images and other static assets?

Hello,
What is the best way to load images and other assets that will work for both client & server?
I could add url-loader and file-loader to webpack config but it will not work on the server.
Are there other options?
Thanks,
Ran.

for example and for fonts, you could add the following :
,
{
  test: /\.(woff)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
  loader: "url?limit=100000&mimetype=application/font-woff"
}

server does not understand image extension, you need use require hook for ssr
https://github.com/bahmutov/node-hook

also you can add in this file server
require('babel-register')
if (development variable) require.extensions['.png'] = function () {};
require('./server')

I've used https://github.com/tcoopman/image-webpack-loader to deal with the images. I think it is based on file-loader, but allows you to optimise images.

closing this

@jaredpalmer hey man, thanks for the awesome kit :) i'm sorry to drudge this back up, but may i ask how you are handling SSR images/statics like fonts in your projects? for example, how are you approaching:
// logo-component.js
import LogoImage from './logo.png' // colocated image in component folder

export default ({ linkUrl }) =>

i've been using webpack-isomorphic-tools to handle above cases, which works but the ergonomics and setup feels very brittle and hacky... i'm about to start another project, it would be really great to hear your thoughts and approach—it feels like assets.json could be used for statics as well
thanks again jared, any direction, boilerplate or webpack config you could provide would be greatly appreciated, and i'd be happy to submit a PR if it's something you want to add to starter
i suspect i'm probably overlooking a super simple solution.... thanks again!! :)

All you need to do install url-loader via npm and then add the following to each webpack.config:
      ....
      {
        test: /\.(gif|jpe?g|png|ico)$/,
        loader: 'url-loader?limit=10000'
      },
      {
        test: /\.(otf|eot|svg|ttf|woff|woff2).*$/,
        loader: 'url-loader?limit=10000'
      }
      ...

I am having issues with getting this to run in development, because babel-register can't handle the image files server-side.

@jaredpalmer thanks for the response :) that's exactly the issue i was running into... like i said, i was able to resolve using https://www.npmjs.com/package/webpack-isomorphic-tools but it really feels very clunky...
@rowellx68 you mentioned using image-webpack-loader—could you maybe elaborate?
@b2whats would you mind providing some additional context or example for your node-hook solution? is there a way to integrate with assets plugin, so we can use a single manifest?

@justingreenberg babel-register can't handle the image file types, a workaround is to modify server:
require('babel-register');
if (process.env.NODE_ENV == 'development') {
  require.extensions['.png'] = function () {};
  require.extensions['.jpg'] = function () {};
  require.extensions['.jpeg'] = function () {};
  require.extensions['.woff'] = function () {};
  require.extensions['.woff2'] = function () {};
  require.extensions['.ico'] = function () {};
  require.extensions['.svg'] = function () {};
}
require('./server');

@justingreenberg image-webpack-loader will just optimize your images... you would use it in tandem with file-loader for images. I would still use url-loader for fonts and svg's with this though.
...
      {
        test: /\.(png|jpg|jpeg|gif)(\?.*)?$/,
        loaders: [
          'file',
          'image-webpack?' + JSON.stringify({
            bypassOnDebug:true,
            progressive: true,
            optimizationLevel: 7,
            interlaced: true,
            pngquant: {
              quality: "65-90",
              speed: 4
            },
            svgo: {
              removeUnknownsAndDefaults: false,
              cleanupIDs: false
            }
          })
        ]
      },

@rowellx68 @b2whats should we create a PR for this url-loader? What are downsides of the require.extension in dev ?

@jaredpalmer re: patching require workaround, this is an interesting approach... so manually registering extensions with require just allows the module to hit url-loader, makes sense!
re: image-webpack, that was my understanding (really an optimization) but i thought maybe there was something i was missing for node usage since @rowellx68 said he was using it for images
thanks again!

@jaredpalmer require.extensions seems to have been deprecated?
@justingreenberg re: image-webpack-loader. It is indeed primarily for optimising images. However, the resulting images were not added into assest.json.

@rowellx68
we need slice dev and prod mode. webpack config may be different. In dev mode we need from the server to the normal url of the image. In prod mode we can use any optimizations

I have modified build scripts. There is now a pbulic folder for you robots.txt, favicon etc. It's not the "perfect solution" but it works. Bundles js -> public/assets (which is not checked into git).
Will explore @justingreenberg 's requireHooks solution as that would allow for inlining and cache busting.

hey all, let me know if this is out of scope, but the static assets discussion seemed somewhat relevant.
I'm someone who is fairly new to the webpack world (read: no clue how to use it yet) and I'm trying to use this project to build a web app using a client's style guide. rather than reapplying CSS styles over and over I'm trying to load a CSS file that contains the client's style guide. is there a quick and relatively painless way to load their stylesheet statically and then use aphrodite to manage layout, etc?

What about bundling the server entry with webpack using target: 'node' option?
We'd have all the webpack loaders goodness on the server side without needing to hack node's require() or use webpack-isomorphic-tools.
Or is there a major downside on this approach that I am not seeing? besides needing to have two webpack watches when developing


Problems with html pages using httpForward

Hi James,
I'm not sure if writing an issue is the right approach for asking this question.
I have the next configuration:
mockServerClient("localhost", 8888).mockAnyResponse(
    {
        'httpRequest': {
            'method': 'GET',
        },
        "httpForward": {
            "host": "",
            "port": 8887,
            "scheme": "HTTP"
        },
        'times': {
            'unlimited': true
        }
    }
);

Then I run server:
 java -jar mockserver-netty-3.10.4-jar-with-dependencies.jar -serverPort 8888
and run SimpleHTTPServer on port 8887.
It works good but when requested html pages, MockServer added Content-Type: text/plain, although in response its value is text/html.
In Wireshark I got:
Src port: 8887
Status Code: 200
Response Phrase: OK
Content-Type: text/html
etc.

Src port: 8888
Status Code: 200
Response Phrase: OK
Content-Type: text/html
Content-Type: text/plain
etc.

And it's displayed as plain text and not as html. It's obviously that MockServer added the second Content-Type to response. But why it's happend?
I tried to change configuration in different way, but it's still not working.
Hope I am able to explain the scenario that I am struggling with. Any help would be really appreciated.
Thanks a lot,
Xena

I faced exactly the same problem today, but in my case, it adds Content-Type: text/plain if it's not set, which changes the logic of processing in downstream application

I believe this should now be resolved, but as I couldn't manage to reduce the duplicate Content-Type header issue I can't be sure its 100% fixed.  This fix will be in a new release in the next week or so.


Fix: Any invalid message in a response crashed the entire response

The code serving the API may return messages that are not valid according the latest version of the schemas. Ignore them with a warning instead of failing the parsing of the entire response.
Closes https://github.com/aleph-im/aleph-client/issues/108

I am wondering if this would not make more sense in aleph-client, see the linked Pull Request above.

Replaced by a fix in Aleph-client.


kernel/work_q: Fix block-in-spinlock bug

Work queues are implemented in terms of k_queue objects which provide
their own synchronization.  In particular insertion is potentially
blocking and always acts as a reschedule point, which means that it
must not be called with spinlocks held.
Release the lock first, and do a little cleanup of the resulting
k_delayed_work_submit_to_queue() logic.
Fixes #13411
Signed-off-by: Andy Ross<EMAIL_ADDRESS>

Thanks @andyross. I will test it as soon as I can today

Codecov Report

Merging #13412 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master   #13412      +/-   ##
==========================================
+ Coverage   48.56%   48.56%   +<.01%
==========================================
  Files         319      319
  Lines       46565    46567       +2
  Branches    10761    10761
==========================================
+ Hits        22615    22617       +2
  Misses      19360    19360
  Partials     4590     4590

Impacted Files
Coverage Δ

kernel/work_q.c
97.91% <100%> (+0.09%)
:arrow_up:

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 65451db...ff4eed3. Read the comment docs.

This fixed it, thank you @andyross.


Add integration tests for OpLog entries of insert and delete operations

Description

Closes #3861.
This PR doesn't close the issue completely, I'll add a separate PR (PRs) to cover update.
Readiness checklist

[ ] I added/updated unit tests (and they pass).
[x] I added/updated integration/compatibility tests (and they pass).
[x] I added/updated comments and checked rendering.
[ ] I made spot refactorings.
[ ] I updated user documentation.
[ ] I ran task all, and it passed.
[x] I ensured that PR title is good enough for the changelog.
[x] (for maintainers only) I set Reviewers (@FerretDB/core), Milestone (Next), Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

I don't think moving comments from before the beginning of the block to the end of the last line of the block changes anything, but we don't have more time for that

@AlekSi ah, sorry. I misunderstood you. I thought we agreed that I needed to rephrase comments and move them to the assert line, so this is what I did in my last comment. Please feel free to format it according to what you meant.

and move them to the assert line

Move them to the last argument of the assert's function to make assertion messages better.


🔖(fix) bump release to 2.4.1

Fixed

In edxapp application, fix badly named nginx location from export to
restricted

Sorry I missed this PR when I opened mine. I'll close this one in favor to #331


Update failover-cluster-troubleshooting.md

correct link for 2012 recommended hotfixes

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

Verified link correction.


Enable/Disable Option depending on Result?

I'd love to use this library but right now my use case isn't possible. I'm running jest --watch and want to show console messages only for failing tests (with the afterEach summary).
Having some sort of result-aware option here
https://github.com/Ashvin-Pal/jest-console-group-reporter/blob/ccddf68a36b43b09b948dbd14fd20b631ca00bfd/src/JestConsoleGroupReporter.ts#L72-L77
would be awesome!

 However, displaying messages for failing test suites is possible. Please let me know if you're interested, and I'll create a pull request.

Hi @Ashvin-Pal - yes, that's the way i currently have it set up (and also makes the most sense, i guess).
I have it like this:
printTestFileHeader (testPath, config, result) {
    if (result.numFailingTests === 0 && !result.testExecError) {
        result.console = false
    }

    super.printTestFileHeader(testPath, config, result)
}

@schwarmco I've added the feature you requested. You can find the documentation over here https://github.com/Ashvin-Pal/jest-console-group-reporter?tab=readme-ov-file#onlyFailingTestSuites
Give us a star if you like the project 😄


License?

Please add a license to the project. I suggest MIT.

I second the call for a licence.  I would like to use some of this code but without a licence the code cannot be used.

Added MIT license. Thank you for the suggestion.


Brazilian Portuguese localization

Hi all 👋
We need create a Brazilian Portuguese translation and make sure it is working according to the English content.
Main folder: https://github.com/education/codespaces-project-template-dotnet
Please compare each file below to its original in English and if required, please send a PR.

File
Status

README.md
pending review

To send the localization, please, create the folder translations/pt-BR.

Ola @cyz Eu me prontifico em fazer a tradução!

Oi @mauriliofilho alguma atualização? precisa de ajuda?

Tudo ok @cyz
https://github.com/education/codespaces-project-template-dotnet/pull/21

PR #21  approved, congratulations @mauriliofilho on your first GitHub contribution!


Table trying to initialize from file is already initialized

I keep having the following line printed out on the terminal
2018-01-08 16:50:01.982208: W tensorflow/core/kernels/lookup_util.cc:362]
Table trying to initialize from file iwslt15/vocab.en is already initialized.

while training a modified version of the basic NMT model. Do you have any idea why this is happening?
It doesn't look like that message/warning above is printed out after a particular message. Sometimes it is printed out after the "src", "ref" and "nmt" sentences are printed out, sometimes it is printed out after the message "# Save eval, global step", sometimes after the message "eval test".
The training process seems to proceed unaffectedly.
I saw other posts with the same warning/message, but I'd like to understand why it is being printed out.

/CC @lmthang @ebrevdo


DNS server added to wrong interface in VLAN setup

I tried to use dhcpcd to connect to a VLAN tagged network. Most of it works, but the DNS server is added to the physical interface instead of the VLAN specific interface.
I'm running the following commands:
$ ip l add link enp2s0u4 name enp2s0u4.72 type vlan id 72

$ ip l set dev enp2s0u4.72 up

$ dhcpcd enp2s0u4.72

Then I run resolvectl to see the DNS config:
$ resolvectl
Global
       Protocols: LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub

Link 2 (enp1s0)
Current Scopes: none
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 3 (enp7s0)
    Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
         Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: <IP_ADDRESS>
       DNS Servers: <IP_ADDRESS>
        DNS Domain: internal

Link 4 (enp2s0u4)
Current Scopes: LLMNR/IPv6
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
   DNS Servers: <IP_ADDRESS>

Link 5 (enp2s0u4.72)
Current Scopes: LLMNR/IPv4 LLMNR/IPv6
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

The first two interfaces don't matter, these belong to the VM. But the correct DNS server for the VLAN (<IP_ADDRESS>) is added to the physical interface enp2s0u4 instead of the VLAN tagged interface enp2s0u4.72.
This completely breaks DNS, because the server is not used. It might also play a role that the DefaultRoute setting is turned off here. I think this is systemd-resolved specific.
If I configure the VLAN via NetworkManager instead, everything ends up correctly.
It would be awesome if dhcpcd could support per-interface DNS in VLAN setups and systemd-resolved, as it becomes more and more common.

This is likely a bug with the resolvconf shim they have where they treat what is after the first dot as a protocol rather than the last.
https://github.com/systemd/systemd/blob/aea29a300d14d183ef9a2f946a36d0631a6b2d0d/src/resolve/resolvectl.c#L136
As you can see, given the interface name enp2s0u4.72.dhcp it would take 72.dhcp as the protocol and enp2s0u4 as the name.
The workaround would be to give the vlan interface a name without a period.

Thanks for your fast reply. I think you are right.
I found issue https://github.com/systemd/systemd/issues/20014 and PR https://github.com/systemd/systemd/pull/20015 where this behavior was changed to only affect invocations of resolvconf. Prior to this it also affected resolvctl.
I opened PR https://github.com/systemd/systemd/pull/24274 to propose removing everything behind the last dot only. Let's see.


Need docs to describe how to see the Cache

Update documentation in the GitHub repo:

Create "Next Step" link from README.md to pull readers to simulate-patterns.md
Need more guidance to see what Redis commands to run to list keys
Images are too blurry to understand

Pairs with network isolation flag to ensure that this guidance is applicable

migrated to 1852589


Implement Integration with Alma's Digital inventory Feature

Make 2 remote repositories in Alma: one for CDL and one for all other Figgy content.
Digital objects will be in the 896 fields in the publishing job. Repository name is in 896$x.

@mzelesky I think we need to flesh this out some more.

Needs Documentation

Manual workflow for cams for cataloging and adding digital inventory for internal objects needed.  ( @mzelesky , is there documentation for this?)

-Workflow(s) for automated processes for RDSS, Figgy, etc.  for internal and external digital content
Types of digital content in alma

External = portfolio (workflow already exists for this). already in process for cleanup

Internal = digital inventory (new digital asset workflow needed).

Per OL meeting on 10/26. Will schedule a meeting to review this with Mark to restart a project plan for implementation.

Kevin will set a meeting this wek.


Import triples

I'd actually prefer if this change would be placed into a branch. If the data-set ever changes, we'd need to make sure to update the countries triple file as well. Also changing this to an 'offline' functionality means that loading a random image for demonstration purposes would not necessarily load the triple for a country (if that country does not exists in the triple file). This is why my preference would be for this change to be outside of the master repo.

I grabbed all countries, so that should only be a problem if someone visits a country that doesn't exist today. With that in mind, would you still prefer it in a branch, or would it be okay on master?


DE-6806: Use ESM entrypoint only

Here I'm making sure we ship the ESM version of this library. It fixes a crash in 0.7.0.
(The CJS version is still shipped as well, but it won't be automatically picked up by Webpack or any other bundler)
The long story
Currently we have a couple of entrypoints (browser, module, main) and which entrypoint is used that depends solely on the bundler.
With the current package.json we have a serious problem for Webpack, because it will by default select our "browser" entrypoint (CJS) and for our dependency @react-hook/resize-observer it will select the "module" entrypoint (ESM).
This mixing of CJS with ESM typically does not work correctly, at least not when using default imports/exports. This is the case for both Webpack and Rollup, it doesn't work correctly there.
In our case, that's exactly what is happening, we have a default import from the @react-hook/resize-observer library:
import useResizeObserver from '@react-hook/resize-observer'

To avoid running into this problem, change the entrypoint to always point to the ESM build.
This should be a safe solution assuming our dependencies also correctly provide an ESM variant and assuming that the bundler supports ESM, which I think is a safe assumption.

Here I'm making sure we ship the ESM version of this library. It fixes a crash in 0.7.0.

If I understand correctly, is this a new bug introduced in 0.7.0 version? Or maybe this issue was present event before and we just caught it now with the webpack setup during testing?
Also, I am just trying to think about situations when this fix could be a breaking change for some setups, maybe situations when bundler is used but not transpiler?

The issue was not present before (in version 0.6.0) because it started once we started using dependecies (which was after version 0.6.0).
And yes the issue is generic, could happen with any dependency, not just with @react-hook/resize-observer.


Navigation "Back" [from channel] does not refresh unread counts/marks

Describe the bug
Unread marks are not refreshed when navigating "Back"
To Reproduce

Go to main screen
See two/several channels in bold font as unread.
Tap on channel, read messages
See "red line of unread" not moved
Press "Back" button
See the same channels still in bold font as unread.

Expected behavior
4.See "red line of unread" moved to bottom or whatever.
6.See read channels without unread marks, such as bold font etc.
Android 9, this rocket-chat {kotlin 3.5.0-2074}. Stable connection.
Rocket server 1.1.3 engine 1.4.2
Additional details
Leave-and-enter app forcibly refreshes unread marks correctly.
Probably, navigation "Back" does not force refreshing of unread messages.

Same problem

Android 8.1.0
App Version 3.5.0 from the Play Store
Server Version 1.1.3 (engine 1.4.2)

I think, in v3.4.2 this part works fine...

the same in 3.5.0
3.5.1 not work at all

I think, its all related to redesigned ConnectionManager -- single launch block instead of three.
Just replace this block with
        launch {
            for (room in client.roomsChannel) {
                Timber.d("Got room streamed")
                roomsActor.send(room)
            }
        }
        launch {
            for (subscription in client.subscriptionsChannel) {
                Timber.d("Got subscription streamed")
                roomsActor.send(subscription)
            }
        }
        launch {
            for (user in client.activeUsersChannel) {
                userActor.send(user)
            }
        }

and try.  It works for me... :)
I'll try figure it out later...

I think, its all related to redesigned ConnectionManager -- single launch block instead of three.
Just replace this block with
        launch {
            for (room in client.roomsChannel) {
                Timber.d("Got room streamed")
                roomsActor.send(room)
            }
        }
        launch {
            for (subscription in client.subscriptionsChannel) {
                Timber.d("Got subscription streamed")
                roomsActor.send(subscription)
            }
        }
        launch {
            for (user in client.activeUsersChannel) {
                userActor.send(user)
            }
        }

and try. It works for me... :)
I'll try figure it out later...

tried and works like a charm. Besides it fixes also users' status in chatrooms list not being updated
but I can't explain why

@twi123 Good finding! Could you please send us a PR with that fix? Although creating multiples launch has a very very small impacts on the performance, this is really the way to go since we are listening to multiple channels - seems like it is not possible to have a single one where we have multiple streams this way. That's the explanation @aenonGit


Implement SVG Renderer

The canvas renderer is blurry sometimes. I think it would be better to render to svg.

Totally agree. And I don't know why but if you have a bigger picture, the text runs out of the border (see picture below).


Provide a way to determine circuit, and retry with response duration

Motivation:
We can't report a failure to circuit breaker when a response duration exceeds a certain point. To solve this, I've added AbstractRuleBuilder#onResponseDuration to access success or failure with response duration.
Modifications:

Added responseDurationFilter field to AbstractRuleBuilder
Modified RetryRuleBuilder, and CircuitBreakerRuleBuilder to use the responseDurationFilter

Result:

Closes #4782
Armeria user can report a failure to circuit breaker with response duration, and determine whether to re-try with response duration.

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

@ikhoon nim, gentle ping 🙇

I prefer to only add onResponseDuration(BiPredicate<? super ClientRequestContext, ? super Duration>) and its variant at the moment until we have a better idea to avoid the deadlock.

Thank you for your review. Let me check this soon.

@ikhoon nim, gently ping 🙇


Hamburger menu for pod disappears immediately

Describe the bug
Hamburger menu for pod disappears immediately when a few minutes ago pod was changed.
To Reproduce
Steps to reproduce the behavior:

Go to Cluster -> Workloads -> Pods
Click on Hamburger menu of pod, when at least one filtered Pod has Age bellow 10 minutes
Hamburger menu disappears every second.

Expected behavior
Do not re-render that component every second, so it will not disappear every second
Screenshots

Environment (please complete the following information):

Lens Version: 2024.4.230844-latest
OS: Kubuntu 24.04
Installation method (e.g. snap or AppImage in Linux): official deb package

Hello @DanielNoga , thank you for contacting us!
I will contact our development team about your issue.


make crate async

supercedes: #7
fixes: #5
Draft, because I still want to look the changes over myself before a merge.
Edit: Looked this over once again, and this seems reasonable, as long as this ends up being a major version bump.
Be aware, this is a breaking change, but imo less bad than #7, because non-blocking is the way to go.

@DerTiedemann Can you take a quick look at this?

LGTM cargo build && cargo test succeeds


Preview Image is displayed even though there is no image in the post

Expected behavior
If there is no image in the post, no preview image should get displayed.
Actual behavior
Preview image is displayed even though there is no image in the post.
How to reproduce

Find one of your own post with image in it and click edit. This will take you to post update screen with Update Post button.
Now click on Write Post button on the top right. This will load an empty post.
Now click on the post link from Last Draft that was saved from step 1. This will load the content of that post with Post button instead of Update Post.
Remove all references of image with just text.
Click on Post button to make it live.
Go to Discussions and refresh.
Notice the image from Post in step 1 being displayed as preview image.

Recording of the Issue
https://youtu.be/w0aBR8wKpbM
Technical Analysis and Possible fix
Even though the image url was removed, some image reference was left in meta tag
<meta data-react-helmet="true" property="og:image" content="https://ipfs.busy.org/ipfs/QmaDZEsTsPD5CKyiFzyDNavxTjPY2LyPr7D8uqUoAxnmwb">
...
<meta data-react-helmet="true" property="twitter:image" content="https://ipfs.busy.org/ipfs/QmaDZEsTsPD5CKyiFzyDNavxTjPY2LyPr7D8uqUoAxnmwb">

Removing these can possibly fix the issue.
Urls
Post with issue: https://busy.org/@fastandcurious/test-post-new
Discussions Page: https://busy.org/@fastandcurious

Browser: Google Chrome ( 66.0.3359.181 Version)
Operating system: OSX 10.11.6

did u edit and removed the picture?

check it on- https://steeditor.app

I never specified an image. I used previous post as template and then edited it to remove with text. Never posted post with image. If you do this in new post directly, it works fine, this just happens if you recycle existing post


Add drive folder to README.md

Should we make the drive folder publicly accessible?

I think we should make the drive folder publicly readable indeed.
On Tue, 11 Apr 2023 at 15:55, Omar Benjelloun @.***>
wrote:

Should we make the drive folder publicly accessible?
—
Reply to this email directly, view it on GitHub
https://github.com/mlcommons/datasets_format/pull/4#issuecomment-1503402808,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKTJCAUSKSPSPYQE3ISZN63XAVPFVANCNFSM6AAAAAAW2J4NEE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Update Product.swift to render the api description correctly

There is an issue with the API documentation not rendering correctly due to unnecessary vertical spacing.
Motivation:

As you can see, the description for the "target" parameter is in an incorrect section.
Modifications:
I removed the vertical spacing between the parameters' descriptions
Result:

@jaesung-0o0 would you be able to provide a screenshot of how it looks after the change?

@jaesung-0o0 would you be able to provide a screenshot of how it looks after the change?

I added the screenshot to "Result" section 🙂

@swift-ci test

@MaxDesiatov  This PR got 2 approvals, but it has been waiting for "Swift Test Windows Platform" tests for a long time. Could you trigger the test to start?

@swift-ci test windows


Add CreateAgent

This is an exploration for #35
This is based on #34 and shows how a load test could be monitored via Prometheus. When running the tests, these metrics were collected:

This shows how the general request duration per request increases once a certain amount of concurrent requests is being made.

This PR is too large, it has to be split up.


"Update" blueprint honors model's "populate" configuration

Here's a quick fix for: https://github.com/balderdashy/sails/issues/2995, which doesn't return populated models on update if populate was set to false.

Thanks @leobudima.  Updated a bit to use populateRequest and added some missing tests; merging now!

Thanks, great!


deploy to knative-eventing namespace

Signed-off-by: Zbynek Roubalik<EMAIL_ADDRESS>
Changes
eventing-autoscaler-keda is being deployed to knative-eventing namespace, to allign with other KEventing components.
Fixes #79

/cc @cr22rc


Fix tests.

Fix some of the tests given changes to upstream Wasmtime.
Imports need to be resolved prior to matching on the types now, so the tests
are updated to define the missing imports.
Additionally, the expected error message changed slightly.

Looks like there's still a funcref test failure on Windows; I'm going to merge this as it at least gets other tests green and figure out what's still broken.


Add more information to $broker balance

$broker balance should return the unit cost basis on your holdings and a percent gain/loss indicator.

I think on your total cost basis. Say you have holdings you spent $1k on and the current value is $1.1k, it's a +10% gain.


uploadProgressCallback using TransferManager for multi-part uploads

Hi, the uploadProgressCallback of TransferManager seems to work as expected for non-multipart uploads, however, for files that are multipart, the callback is only called once or twice for 9MB and 14GB files I'm testing with.
I have attached the output, it seems that for multipart files, the progress callback is only called when each part has completed uploading perhaps? Is that the way it's designed?
Thanks
a.txt

We updated this somewhat recently to not be per-part based. Which version of the SDK are you using?

I don't think the continuous updates invoke the callback after each update.  They just write to a monotonically increasing atomic integer.

I just did a git pull and rebuild, I'm now using 1.0.147.

Thanks for merging the PR.


fix(deps): remove zlib dependency

The flate2 crate allows for selecting which zlib backend it uses. Instead of requiring/using a system zlib library, flate2's README recommends using the miniz_oxide backend which uses the zlib-ng C library instead of stock system zlib library.
Right now, Spin is using system zlib via flate2 and MySQL crates. This changes all imports to use the embedded zlib.
Previously:
$ cargo tree -i flate2 -e features
...
├── flate2 feature "libz-sys"
│   └── flate2 feature "zlib" (*)
├── flate2 feature "miniz_oxide"
│   └── flate2 feature "rust_backend"
│       └── flate2 feature "default" (*)
├── flate2 feature "rust_backend" (*)
└── flate2 feature "zlib" (*)

Now, uses zlib-ng:
$ cargo tree -i flate2 -e features
...
├── flate2 feature "libz-ng-sys"
│   └── flate2 feature "zlib-ng" (*)
├── flate2 feature "miniz_oxide"
│   └── flate2 feature "rust_backend"
│       └── flate2 feature "default" (*)
├── flate2 feature "rust_backend" (*)
└── flate2 feature "zlib-ng" (*)

Looks like cmake needs to be installed in the e2e testing docker image since that's required to build zlib and thus to build Spin. Perhaps we should also note this requirement in the README?

Added the cmake dependency and created a PR to add it to our contributing docs as that is where we currently list dependencies for building Spin: https://github.com/fermyon/developer/pull/727

@kate-goldenring under what circumstances will mortals need cmake to build Spin locally - e.g. will things like cargo build and make test-unit still work without it?


Automatically use available fieldmaps if IntendedFor is missing

The BIDS spec lists that the IntendedFor field is optional:
"The IntendedFor field is optional and in case the fieldmaps do not correspond to any particular scans it does not have to be filled."
Whenever I don't include it in the fmap's .json files, I get "No fieldmaps found or they were ignored".  It would seem as if any found fmap's should, by default, be applied to anything in the func folder.  Or, am I misreading that in the spec?
Craig

my 1c: I would just say "explicit better than implicit" and thus do not bother about some automagic pickup of fieldmaps and just close this issue as wontfix. If desired, use heudiconv's --command populate-fieldmaps to populate them based on your liking (match shim or just geometry?). May be validator (if it doesn't yet) should error out whenever some subj/sessions have IntendedFor and some don't to make present heterogeneity explicit as well.


Issue 7627: prototype of azure resource services

Description
Create azure resource service layers
Task Item
refs #7627

Coverage decreased (-0.005%) to 50.332% when pulling ece0ec3ee1fff90fefc73a09273e455deba37348 on 7627-create-azure-resource-services into 87d1d33304e153f4f227616c81e63c6a805a6b78 on main.


Snapshot in V2 websocket orderbook subscribe?

v0 had a very handy option to return a limited amount of the orderbook on subscribe before streaming order updates ("snapshot" and "limit" at https://github.com/0xProject/standard-relayer-api/blob/master/ws/v0.md#orderbook-channel).
I was updating some code to use v2, and I can't find this option. Was it removed? If so, why? What is the recommend work-around?
I'm thinking I'll have to use the http api to get the orderbook and then the websocket api to subscribe. My code for v1 currently just uses websockets and adding an http library is a bit more complexity than I was hoping for.

Hi @WyseNynja. Yes you're right it was removed and we recommend you use the /orderbook endpoint from the HTTP API. However, we appreciate your feedback and if we keep on hearing this type of feedback we may re-add the websocket option back in the future!

Thanks. I've updated my code to use the HTTP API to query each orderbook snapshot, but this requires a lot of requests. At the moment there are around 350 markets to check and each now requires a separate API request. Before this was 1 request. Now I'm having to add rate-limiting code to make sure I don't go over my request limits which are 120/minute.


External Json file for suite name is not working

conf.js and the specs file are in the different folders
JSON

"Module" : "../tests/Module/module-us.spec.js, ../tests/Module/module-base.spec.js"

Conf.js
var suitesJson = require('./ab.json');
exports.config = {
suites : {
M1 = suitesJson.Module.split(",")
},
}
Issues

"../" is not working for the module-base.spec.js.
Not able to find the spec file for the first parameter i.e. module-us.spec.js whereas the path is fine.

Please let me know if i am doing anything wrong here?

Hi there!
Your question is better suited for StackOverflow or Gitter. Please ask a question there with the 'protractor' tag or post in the Gitter Channel to get help.
From the the getting help section of the README:

Please ask usage and debugging questions on StackOverflow
(use the "protractor" tag) or in the Angular discussion group. (Please do not ask support questions here on Github.)

Thanks!


Terraform update to Issues tab to repo

Overview/Summary
This PR is to add feature to create an issue specific to Terraform issues.
This PR fixes/adds/changes/removes

Addes Issue page for Terraform issues

Breaking Changes

Not breaking change. Adds new feature

Testing Evidence
Attached picture shows the change
As part of this Pull Request I have

[x ] Read the Contribution Guide and ensured this PR is compliant with the guide
[x ] Ensured the resource API versions in .bicep file/s I am adding/editing are using the latest API version possible
[x ] Checked for duplicate Pull Requests
[x ] Associated it with relevant GitHub Issues
[x ] (AVD LZA Team Only) Associated it with relevant ADO Items
x ] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x ] Performed testing and provided evidence.
[ x] Updated relevant and associated documentation (e.g. Contribution Guide, Module READMEs, Docs etc.)

@jensheerin thanks for your contribution.


[Enhancement][opensearch] Add global support for common values

Is your feature request related to a problem? Please describe.
Add support for some values being read from the global context.
Describe the solution you'd like
I think the role based reusable chart that currently exists is a good approach for opensearch. But if that chart was able to read common (to the cluster) values from global then an umbrella chart could be made to stand up an entire cluster with a single helm release. Its also useful if somebody doesn't want an umbrella chart but just wants to re-use some cluster environment config to all the different roles they are deploying. (e.g. -f common.yaml -f role-values.yaml)
https://helm.sh/docs/chart_template_guide/subcharts_and_globals/
Some specific values that would be nice to define in global

nameOverride
clusterName
dockerRegistry  # <-- Already in the current chart - https://github.com/opensearch-project/helm-charts/pull/70
config
secrets

Describe alternatives you've considered
There are always operators which are sometimes nice but often have their own k8s cluster wide pitfalls for end users.
Additional context
Assuming the opensearch chart supported global for repetitive release defaults. A Chart.yaml for an opensearch-cluster umbrella chart might looks something like:
apiVersion: v2
name: opensearch-cluster
description: A Helm chart for Opensearch
type: application
version: 1.2.3
appVersion: "1.2.3"
dependencies:
- name: opensearch
  version: ~1
  repository: https://opensearch-project.github.io/helm-charts/
  condition: master.enabled
  alias: master
- name: opensearch
  version: ~1
  repository: https://opensearch-project.github.io/helm-charts/
  condition: data.enabled
  alias: data
- name: opensearch
  version: ~1
  repository: https://opensearch-project.github.io/helm-charts/
  condition: ingest.enabled
  alias: ingest
- name: opensearch
  version: ~1
  repository: https://opensearch-project.github.io/helm-charts/
  condition: remote_cluster_client.enabled
  alias: remote_cluster_client
- name: opensearch-exporter
  version: ~1
  repository: https://opensearch-project.github.io/helm-charts/
  condition: exporter.enabled
  alias: exporter
- name: opensearch-dashboards
  version: ~1
  repository:  https://opensearch-project.github.io/helm-charts/
  condition: dashboards.enabled
  alias: dashboards

Then an oversimplified values example for this umbrella chart would possibly looks something like this:
global:
  clusterName: example1
  config:
    opensearch.yaml: |
      # etc

master:
  enabled: true
  # opensearch sub charts values.yaml accessible here

data:
  enabled: true
  # opensearch sub charts values.yaml accessible here

ingest:
  enabled: false
  # opensearch sub charts values.yaml accessible here

remote_cluster_client:
  enabled: false
  # opensearch sub charts values.yaml accessible here

exporter:
  enabled: false
  # Not sure if there is one yet, but the es exporter currently works if you don't mind the metrics names

dashboards:
  enabled: false
  # opensearch-dashboard sub charts values.yaml accessible here

Note: I realize that a higher level "umbrella" chart is not the point of this ticket. The purpose of this request is just to add global support to the existing opensearch chart. So people who want umbrella charts or just want to use common cluster values files can avoid repeating themselves in role releases.

Thanks @mkhpalm for the suggestion, is this a feature you can help contribute?
Thanks.

I started looking at this today and noticed Helm may be adopting an enhancement HIP 0016 that implements export-values. Rather than modify the opensearch and opensearch-dashboards charts to support global context a user would be able to push values to the sub-charts from a new parent chart like opensearch-cluster.

https://github.com/helm/community/pull/242
https://github.com/helm/helm/pull/10804

If adopted and merged, export-values would likely be a more succinct and straight forward approach to accomplish the same thing. If they do not adopt then I can possibly come up with a PR to support the things that would be best without needing to repeat for an individual cluster's different roles.

Another alternative is to use a tool like helmfile.


Backend config failed - "error operation NS SIZE caused by Namespace"

While testing the latest QSFS bootstrap using a VDC zstor config, I noticed that data wasn't getting pushed to the backend zdbs as expected. The local zdb was giving an error: "unable to find a valid configuration due to redundancy settings". So I tried storing a file directly:
bin/zstor -c etc/zstor-default.toml store -f mnt/zdbfs/test
The relevant section of zstor log is shown below. I also tried another zstor config file that points to an older VDC which I've used zstor and zdbfs against with success in the past, and same result. This is with the zstor binary downloaded by the bootstrap, zstor_v2 0.2.0, also confirmed same behavior on a build of latest source (ffae44c).
2021-03-31 17:52:08 -07:00: DEBUG Finding backend config
2021-03-31 17:52:08 -07:00: DEBUG connecting to zdb at <IP_ADDRESS>:9915
2021-03-31 17:52:08 -07:00: DEBUG connecting to zdb at <IP_ADDRESS>:9912
2021-03-31 17:52:08 -07:00: DEBUG connecting to zdb at <IP_ADDRESS>:9910
2021-03-31 17:52:10 -07:00: DEBUG could not connect to 0-db: ZDB at <IP_ADDRESS>:9915, error operation NS SIZE caused by Namespace only has 0 bytes of space left, but 15 bytes are needed
2021-03-31 17:52:10 -07:00: DEBUG could not connect to 0-db: ZDB at <IP_ADDRESS>:9912, error operation NS SIZE caused by Namespace only has 0 bytes of space left, but 15 bytes are needed
2021-03-31 17:52:10 -07:00: DEBUG could not connect to 0-db: ZDB at <IP_ADDRESS>:9910, error operation NS SIZE caused by Namespace only has 0 bytes of space left, but 15 bytes are needed
2021-03-31 17:52:10 -07:00: DEBUG Backend config failed
2021-03-31 17:52:10 -07:00: DEBUG Finding backend config
2021-03-31 17:52:10 -07:00: DEBUG connecting to zdb at <IP_ADDRESS>:9918
2021-03-31 17:52:10 -07:00: DEBUG connecting to zdb at <IP_ADDRESS>:9919
2021-03-31 17:52:10 -07:00: DEBUG connecting to zdb at <IP_ADDRESS>:9914
2021-03-31 17:52:11 -07:00: DEBUG could not connect to 0-db: ZDB at <IP_ADDRESS>:9914, error operation NS SIZE caused by Namespace only has 0 bytes of space left, but 15 bytes are needed
2021-03-31 17:52:11 -07:00: DEBUG Backend config failed
2021-03-31 17:52:11 -07:00: DEBUG Finding backend config
2021-03-31 17:52:11 -07:00: DEBUG connecting to zdb at <IP_ADDRESS>:9918
2021-03-31 17:52:11 -07:00: DEBUG connecting to zdb at <IP_ADDRESS>:9919
2021-03-31 17:52:11 -07:00: DEBUG connecting to zdb at <IP_ADDRESS>:9913
2021-03-31 17:52:12 -07:00: DEBUG could not connect to 0-db: ZDB at <IP_ADDRESS>:9913, error operation NS SIZE caused by Namespace only has 0 bytes of space left, but 15 bytes are needed
2021-03-31 17:52:12 -07:00: DEBUG Backend config failed
2021-03-31 17:52:12 -07:00: DEBUG Finding backend config
2021-03-31 17:52:12 -07:00: DEBUG connecting to zdb at <IP_ADDRESS>:9918
2021-03-31 17:52:12 -07:00: DEBUG connecting to zdb at <IP_ADDRESS>:9919
2021-03-31 17:52:12 -07:00: DEBUG connecting to zdb at <IP_ADDRESS>:9911
2021-03-31 17:52:13 -07:00: DEBUG could not connect to 0-db: ZDB at <IP_ADDRESS>:9911, error operation NS SIZE caused by Namespace only has 0 bytes of space left, but 15 bytes are needed
2021-03-31 17:52:13 -07:00: DEBUG Backend config failed
2021-03-31 17:52:13 -07:00: DEBUG Finding backend config
2021-03-31 17:52:13 -07:00: DEBUG connecting to zdb at <IP_ADDRESS>:9919
2021-03-31 17:52:13 -07:00: DEBUG connecting to zdb at <IP_ADDRESS>:9916
2021-03-31 17:52:13 -07:00: DEBUG connecting to zdb at <IP_ADDRESS>:9917
2021-03-31 17:52:13 -07:00: DEBUG could not connect to 0-db: ZDB at <IP_ADDRESS>:9916, error operation NS SIZE caused by Namespace only has 0 bytes of space left, but 15 bytes are needed
2021-03-31 17:52:13 -07:00: DEBUG could not connect to 0-db: ZDB at <IP_ADDRESS>:9917, error operation NS SIZE caused by Namespace only has 0 bytes of space left, but 15 bytes are needed
2021-03-31 17:52:13 -07:00: DEBUG Backend config failed
2021-03-31 17:52:13 -07:00: DEBUG Finding backend config
2021-03-31 17:52:13 -07:00: ERROR Could not save file "mnt/zdbfs/test": error during configuration: unable to find a valid configuration due to redundancy settings
2021-03-31 17:52:13 -07:00: ERROR error during configuration: unable to find a valid configuration due to redundancy settings

The backends section of the zstor config looks like this, with ascending port numbers and name spaces for the ten storage nodes:
[[groups]]

[[groups.backends]]
address = "<IP_ADDRESS>:9910"
namespace = "29081-1"
password = "PASS"

Yes, this is zdb bug. This is fixed and deployed on devnet, but not yet in testnet.
If you can generate a configuration using devnet zdb, this will be fixed.
We see to update testnet zdb soon :)

Okay, after updating testnet, we can confirm this was not just a zdb issue, but a kernel issue aswell. To keep all features we have, we need to plan a kernel upgrade of all nodes.
We won't do that right now, so we will drop one feature to support current setup and improve that later.

Thanks for the updates, @maxux! Which feature is dependent on the kernel upgrade? And which version of zstor should I rollback to for further testing on testnet?

Current zstor check a value on zdb, which depend on free disk space, in order to know if zdb is usable or not.
This value is not correctly reported by the kernel (caused by a btrfs maintenance). A kernel update would fix this, but some btrfs maintenance as well, we will integrate that.
You can't just rollback to a previous version, @LeeSmet needs to disable the free space check in order to not exclude faulty node. This is not a required feature, that won't have any bad impact.

All clear. Thanks for the explanation :)
I was able to patch out the free space check and build a version that works against testnet again. So I'm back in business :+1:

Reluctantly, I disabled the check for now, until the grid is updated to fix the btrfs bug in the kernel.


[Pick up City. Admin cabinet. Orders] The 'Час вивезення' column isn't sorted in asc. order based on first HH\MM in range

Environment: Windows 10 Pro for Workstations, Firefox 126.0b8 (32-bit)
Reproducible: always
Build found: 06 May 2024 (test)
Preconditions

Log in as Admin https://www.greencity.social/#/ubs-admin/orders
Ukrainian localisation selected.
Filter by 'half-paid' Payment status is appllied.

Steps to reproduce

Click on the arrow icon near the column heading 'Час вивезення' to sort in desc. order based on first HH\MM in range. Pay attention to the sorting in the column.
Click again on the arrow icon near the column heading 'Час вивезення' to sort in asc. order based on first HH\MM in range. Pay attention to the sorting in the column.

Actual result
After the first click on arrow icon the items in the column are sorted asc. order based on first HH\MM in range.

After the second click the items in this column are sorted in descending order  based on first HH\MM in range.

Expected result
After the first click on arrow icon the items to be sorted in desc. order based on first HH\MM in range. After the second click on arrow icon the items to be sorted in asc. order based on first HH\MM in range.
User story and test case links
#3336
Labels to be added
"Bug", Priority ("pri: "), Severity ("severity:"), Type ("UI, "Functional"), "API" (for back-end bugs).

Update.
This  PR 1529 put null value elements into end of sorted list.


Useless for all intents and purposes.

I understand that folks are busy, but this is possibly the least helpful help document I have ever seen. There are few explanations of any of the parameters and the "examples" are so minimal as to be useless. Can we get this fleshed out some more please?

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

ID: aa1689cc-8dfe-b83a-5740-1f6b22f3b022
Version Independent ID: 7abb97e3-3631-982f-4cdd-d2402d6776f9
Content: New-VM (hyper-v)
Content Source: docset/windows/hyper-v/new-vm.md
Product: w10
GitHub Login: @brianlic-msft
Microsoft Alias: brianlic

Hi @rlDawsonShaper
Thank you for reporting and making the docs better. Much appreciated.
I think the document is updated now. Could you please go through the content now and let us know if you think we are missing anything here. Thank you!


[Bug] Cursor shifts position when it inside of a thread

Description
Cursor moves to the start of the line after the first character is typed in a comment thread instead of keeping its continuous position.
Steps to reproduce the behaviour:

Click on Comment mode and start typing a comment by dropping a pin on the canvas
Press Enter to enter comment thread and type in anything
Observe the cursor shift position after typing the first character where it appears before the first letter,

Important Details

Version: Cloud
OS: Win10
Browser: Chrome
Environment: Release

Hey @BhandarkarPawan sure, assigning it to you.
You may refer to the contribution guidelines for getting started.

Maybe we can close this @Nikhil-Nandagopal


Run Polyline with GoogleMaps IOS not showing,but Apple map is working

please help me!

I have the same Issue.

@2ducanhpham can you post an example of what you're trying to do?

I used example PolylineCreator.js ( https://github.com/airbnb/react-native-maps/blob/master/example/examples/PolylineCreator.js ) and change  provider={MapView. PROVIDER_GOOGLE}

Looks like onPanDrag isn't implemented for iOS google maps...switch the onPanDrag event listener to onPress and you'll be able to draw.

thanks @unboundfire . I hope you create PR


Error: Decompilation to LLVM IR failed after Providers initialization on 32bit powerpc binary

alCloning.zip
Getting the following error when trying to disassemble a powerpc binary:
##### Checking if file is a Mach-O Universal static library...

##### Checking if file is an archive...
RUN: /home/peter/projects/retdec-install/bin/retdec-ar-extractor /home/peter/projects/retdec-install/bin/alCloning --arch-magic
Not an archive, going to the next step.

##### Gathering file information...
RUN: /home/peter/projects/retdec-install/bin/retdec-fileinfo -c /home/peter/projects/retdec-install/bin/alCloning.c.json --similarity /home/peter/projects/retdec-install/bin/alCloning --no-hashes=all --crypto /home/peter/projects/retdec-install/bin/../share/retdec/support/generic/yara_patterns/signsrch/signsrch.yara --max-memory-half-ram
Input file               : /home/peter/projects/retdec-install/bin/alCloning
File format              : ELF
File class               : 32-bit
File type                : Executable file
Architecture             : PowerPC
Endianness               : Big endian
Entry point address      : 0x10003f10
Entry point offset       : 0x3f10
Entry point section name : .text
Entry point section index: 11
Bytes on entry point     : 7c290b7854210036380000009421fff07c0803a6900100003d00100685a8da88480590509421ffe07c0802a6429f000593c1
Detected tool            : GCC (4.3.2) (compiler), DWARF heuristic
Detected tool            : GCC (4.5.x) (compiler), 100 from 147 significant nibbles (68.0272%)
Original language        : C, C++
Warning: Unknown note type found.

##### Trying to unpack /home/peter/projects/retdec-install/bin/alCloning into /home/peter/projects/retdec-install/bin/alCloning-unpacked.tmp by using generic unpacker...
RUN: /home/peter/projects/retdec-install/bin/retdec-unpacker /home/peter/projects/retdec-install/bin/alCloning -o /home/peter/projects/retdec-install/bin/alCloning-unpacked.tmp --max-memory-half-ram
No matching plugins found for 'GCC 4.3.2'
No matching plugins found for 'GCC 4.5.x'
##### Unpacking by using generic unpacker: nothing to do

##### Trying to unpack /home/peter/projects/retdec-install/bin/alCloning into /home/peter/projects/retdec-install/bin/alCloning-unpacked.tmp by using UPX...
RUN: upx -d /home/peter/projects/retdec-install/bin/alCloning -o /home/peter/projects/retdec-install/bin/alCloning-unpacked.tmp
upx: /home/peter/projects/retdec-install/bin/alCloning: NotPackedException: not packed by UPX
##### Unpacking by using UPX: nothing to do

##### Decompiling /home/peter/projects/retdec-install/bin/alCloning into /home/peter/projects/retdec-install/bin/alCloning.c.backend.bc...
RUN: /home/peter/projects/retdec-install/bin/retdec-bin2llvmir -provider-init -decoder -verify -x87-fpu -main-detection -idioms-libgcc -inst-opt -cond-branch-opt -syscalls -stack -constants -param-return -local-vars -inst-opt -simple-types -generate-dsm -remove-asm-instrs -class-hierarchy -select-fncs -unreachable-funcs -inst-opt -value-protect -instcombine -tbaa -targetlibinfo -basicaa -domtree -simplifycfg -domtree -early-cse -lower-expect -targetlibinfo -tbaa -basicaa -globalopt -mem2reg -instcombine -simplifycfg -basiccg -domtree -early-cse -lazy-value-info -jump-threading -correlated-propagation -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loop-simplify -lcssa -loop-rotate -licm -lcssa -instcombine -scalar-evolution -loop-simplifycfg -loop-simplify -aa -loop-accesses -loop-load-elim -lcssa -indvars -loop-idiom -loop-deletion -memdep -gvn -memdep -sccp -instcombine -lazy-value-info -jump-threading -correlated-propagation -domtree -memdep -dse -dce -bdce -adce -die -simplifycfg -instcombine -strip-dead-prototypes -globaldce -constmerge -constprop -instnamer -domtree -instcombine -instcombine -tbaa -targetlibinfo -basicaa -domtree -simplifycfg -domtree -early-cse -lower-expect -targetlibinfo -tbaa -basicaa -globalopt -mem2reg -instcombine -simplifycfg -basiccg -domtree -early-cse -lazy-value-info -jump-threading -correlated-propagation -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loop-simplify -lcssa -loop-rotate -licm -lcssa -instcombine -scalar-evolution -loop-simplifycfg -loop-simplify -aa -loop-accesses -loop-load-elim -lcssa -indvars -loop-idiom -loop-deletion -memdep -gvn -memdep -sccp -instcombine -lazy-value-info -jump-threading -correlated-propagation -domtree -memdep -dse -dce -bdce -adce -die -simplifycfg -instcombine -strip-dead-prototypes -globaldce -constmerge -constprop -instnamer -domtree -instcombine -simple-types -stack-ptr-op-remove -inst-opt -idioms -global-to-local -dead-global-assign -instcombine -phi2seq -value-protect -disable-inlining -disable-simplify-libcalls -config-path /home/peter/projects/retdec-install/bin/alCloning.c.json -max-memory-half-ram -o /home/peter/projects/retdec-install/bin/alCloning.c.backend.bc
Running phase: Initialization ( 0.00s )
Running phase: LLVM ( 0.01s )
Running phase: Providers initialization ( 0.01s )
Error: Decompilation to LLVM IR failed

Then the following if I run through gdb:
Program received signal SIGSEGV, Segmentation fault.
0x0000555555a28f52 in retdec::loader::SegmentDataSource::loadData(unsigned long, unsigned long, std::vector<unsigned char, std::allocator<unsigned char> >&) const ()

Thank you for the report. I was able to reproduce the issue. RetDec fails inside retdec-bin2llvmir because of a stack overflow due to infinite recursion in retdec::rtti_finder::parseGccRtti() in src/rtti-finder/rtti/rtti_gcc_parser.cpp. Line 126 in the following piece of code is executed over and over, leading to stack-space exhaustion:
25 std::shared_ptr<retdec::rtti_finder::ClassTypeInfo> retdec::rtti_finder::parseGccRtti(
...
123     if (baseAddr.isDefined() && img->isPointer(addrOfBaseAddr)
124             && baseAddr != rttiAddr)
125     {
126         baseRtti = parseGccRtti(img, rttis, baseAddr);

@PeterMatula, can you take a look at this?

C++ related structures in this binary are a bit different than our parser (rtti-finder library) expected them to be. What happened is that we were parsing one possible RTTI entry, which referenced other possible RTTI entry as its base class, which then referenced the first entry again - infinite recursion. This should not be possible in C++ classes. I added a safeguard against this, so it does not crash.
However, there is something going on that we clearly can not handle. I'm not familiar enough with all the structures compiler generates to support C++, but this is worth a look, because right now we ignore most of it and it could be a good source of info. I created another issues (#410) based on the sample from here.


Initialize draft6 tests from draft4.

We are not currently adding tests for draft5, see issue #136 for discussion.
These are unmodified files which will be updated for draft 6 in subsequent commits.

LGTM

@Julian thanks, I don't have merge access on this repo so you'll either need to merge it or change my access, either works for me.

Fixed, enjoy!
On Jan 5, 2017 18:26, "Henry Andrews"<EMAIL_ADDRESS>wrote:

@Julian https://github.com/Julian thanks, I don't have merge access on
this repo so you'll either need to merge it or change my access, either
works for me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/json-schema-org/JSON-Schema-Test-Suite/pull/150#issuecomment-270788092,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUIXtC-iNCIhB8vLMzoD1CQkI3DjCKNks5rPXwlgaJpZM4LcPXE
.

But who tests the tests ;)


Languages for Angualr course

Why is this change is being made?
How is this being accomplished?

I know this might sound counter-intuitive, but I have a section about this on the README:
https://github.com/danielbergholz/techschool.dev/blob/main/docs/contributing-guide.md#important-notes
We should only add a language to the array if that language is being taught in the video. For example, If TypeScript is being used but not taught from zero, it should not be included. In this case, only Angular is being taught in the course, so the language array should be empty.
But thanks for engaging in this!


[BUG] -ErrorAction "Ignore" is no longer respected when commandlets get an error

Reporting an Issue or Missing Feature
Starting in version 1.12, commandlets no longer respect ErrorAction being set to Ignore, which is something we use extensively when an error is to be expected (e.g. looking to see if something exists) and we don't want it added to the $error variable. The commandlets now throw an error instead. Ignore will need the same exception as SilentlyContinue recently got when #2347 was fixed.
Expected behavior
No terminating error should be thrown from a commandlet when ErrorAction is set to Ignore
Actual behavior
An exception is thrown when using Ignore. SilentlyContinue on the other hand behaves the way we would expect Ignore to behave:

Steps to reproduce behavior
Here's a simple example, where the site URL and list name could be replaced with any site and list:
Connect-PnPOnline <enter site url> -Interactive $pnpConnection = Get-PnPConnection $list = Get-PnPList <enter list name> $name = "NonExistingField" $action = "Ignore" if(Get-PnPField -List $list -Identity $name -ErrorAction $action -Connection $pnpConnection) {     Write-Host "The field $name already exists" -ForegroundColor Green  }else{     Write-host "No error was thrown with $action!" -ForegroundColor Green }
What is the version of the Cmdlet module you are running?
1.12. 0 It worked fine on 1.11.0.
Which operating system/environment are you running PnP PowerShell on?

[x ] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

Experienced the same issue..impacted our pipelines.

Well noticed. Fixing it now.

Will be fixed through the referenced PR.

Has been fixed now, it will be available in tomorrow's nightly as well as in the next major version.


Consolidate our "getting started" guides

We currently have a few different entry points for users who are getting stared with Workbox, each of them written by a different author and with a slightly different focus.
The guides to "Precaching Files" are presented at the top of our TOC, and deal with using injectManifest to do precaching in a service worker file that you control. Unfortunately, this is the more complex use case, and as per some folks on Twitter, the actual content in the guide might have some misinformation/easy pitfalls.
We have a separate set of guides under "Generate a Complete SW" that are more basic, in that they use generateSW, and I think that might end up being a stronger starting point for folks.
There is also material put together as part of the Instructor Led Training program for PWAs that covers getting started with Workbox.
Longer term, https://web.dev/reliable is going to have a codelab that folks can work through to get started.
As an immediate first step, I think we should consider removing the landing pages under https://developers.google.com/web/tools/workbox/guides/precache-files/ that deal with injectManifest, redirect those the corresponding pages that deal with generateSW, and then update each of the generateSW guides with a note about moving to injectManifest if you need more control, along with a link to the docs for injectManifest.

This has taken place, for the most part, via some recent updates to our docs.


How can we change the background color for android botom dialog to transparent ?

Is it possible to change the background of the bottom sheet to transparent so that we can style the sheet with maui controls... (eg - Corner radius with Border). Thanks :)

I suggest you use CommunityToolkit.MAUI Popup control.
It supports Color Transparent.
If you still want use BottomSheet, I need to see how to implement it.

I won't add it to sample, but you can find the answer here: https://stackoverflow.com/questions/37104960/bottomsheetdialog-with-transparent-background

Thanks @VladislavAntonyuk I was able to make it transparent.
    `public class CustomBottomSheet : BottomSheetDialogFragment
{
    IView mauiView;
    public CustomBottomSheet(IView mauiView)
    {
        this.mauiView = mauiView;
    }
    public override Dialog OnCreateDialog(Bundle savedInstanceState)
    {
        return base.OnCreateDialog(savedInstanceState);
    }
    public override void SetupDialog(Dialog dialog, int style)
    {

        var page = Shell.Current.CurrentPage;
        dialog.SetContentView(mauiView.ToPlatform(page.Handler?.MauiContext ?? throw new Exception("MauiContext is null")));

        FrameLayout frameLayout = (FrameLayout)dialog.Window.FindViewById(Resource.Id.design_bottom_sheet);

        //frameLayout.SetPadding(40, 40, 40, 40);
        frameLayout.SetBackgroundResource(Resource.Color.Transparent);
        frameLayout.SetBackgroundDrawable(new ColorDrawable(Color.Transparent));
        frameLayout.BackgroundTintMode = PorterDuff.Mode.Clear;
        frameLayout.BackgroundTintList = ColorStateList.ValueOf(Color.Transparent);
        frameLayout.SetBackgroundColor(Color.Transparent);

        base.SetupDialog(dialog, style);
    }
}`


[Fox] Add metadata extraction

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[ ] Searched the bugtracker for similar pull requests

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[ ] I am the original author of this code and I am willing to release it under Unlicense
[x] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[x] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Adding series, season number, episode number and episode. Fixes #12219.

Done.

Update test and squash commits afterwards.

Hmmm...how do we handle the fallback if the json+ld is not available?  It appears that the json+ld is only available for full episodes.

Is this acceptable?
        fox_pdk_player_node_data = settings['fox_pdk_player_node_data']
        series = fox_pdk_player_node_data.get('Series Name')
        season_number = int_or_none(fox_pdk_player_node_data.get('Season Number'))
        episode_number = int_or_none(fox_pdk_player_node_data.get('Episode Number'))
        episode = fox_pdk_player_node_data.get('Video Name')

        info = self._search_json_ld(webpage, video_id, fatal=False)
        info.update({
            '_type': 'url_transparent',
            'ie_key': 'ThePlatform',
            'url': smuggle_url(update_url_query(release_url, query), {'force_smil_url': True}),
            'id': video_id,
            'series': series,
            'season_number': season_number,
            'episode_number': episode_number,
            'episode': episode,
        })

        return info


Deepspeed AOT Partition in DLC

ToDo

[x] Script to call the entryPoint for partition in mpi mode
[x] Reads the properties,
[x] Downloads the model from S3
[x] Loading model from local and then partition
[x] Generates serving.properties after partitioning is successful
[x] Include PYTHONPATH environment variable
[x] option.partition_handle - configure the partitioning
[x] Option to include DOWNLOAD_DIR env variable for s3_url download
[x] Option to include requirements.txt
[x] Include PYTHON_CACHE_DIR in environment variable
[x] Copy config.json, tokenizer_config.json and vocab.json into the partitioned folder file
[x] Error handling if something failed, show the appropriate messages
[x] Error message, to show AOT is supported only by Deepspeed as of now.

Testing yet to do

[x] Test all the models of the deepspeed wheel
[x] Test custom partition script with s3 url downloaded.

/test sindhuvahinis:aot_test


Added Linux install option for bosh-cli

Simple rewrite of the bosh-cli formula to support Linux installations as well. Written in the same style as the other formulae in this tap.

Closing this PR. The bosh-cli formula is managed via Concourse and our publishing flow, and gets overwritten by the tooling there. This should be fixed via https://github.com/cloudfoundry/bosh-cli/commit/3d10b621ff97ae8b16d1862a27b5de06d240e09e, and future formulas should have a linux compatible binary.
-- Aakash && @krutten