"Error: Launch failed. Reason: CAST_INIT_TIMEOUT"

Short
I have a Philips Android TV. From my Chrome (on Ubuntu 18.10), I can cast to that TV.
However, castnow results in 'Error: Launch failed. Reason: CAST_INIT_TIMEOUT`
Tips?
Long
On Ubuntu 18.10, I start
castnow 'Setup Quecha 2-second tent --- 2013-08.mp4'

My Android TV responds by switching from TV to a black screen. So my Android TV
In the meantime, my Ubuntu says
State     : Launching...

for a minute or so.
Finally, my Ubuntu says
Error: Launch failed. Reason: CAST_INIT_TIMEOUT

without showing anything on the TV. At that moment, my TV switches back to broadcast-TV.
Tips?

Can you try:
sudo /sbin/iptables -A INPUT -p udp --dport 5353 -j ACCEPT
sudo /sbin/iptables -A INPUT -p tcp --match multiport --dports 4100:41050 -j ACCEPT

Certainly, although I have no firewall active:
$ sudo /sbin/iptables --list
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Your commands:
$ sudo /sbin/iptables -A INPUT -p udp --dport 5353 -j ACCEPT
$ sudo /sbin/iptables -A INPUT -p tcp --match multiport --dports 4100:41050 -j ACCEPT

result
$ sudo /sbin/iptables --list
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     udp  --  anywhere             anywhere             udp dpt:mdns
ACCEPT     tcp  --  anywhere             anywhere             multiport dports 4100:41050

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Try again
 castnow 'Setup Quecha 2-second tent --- 2013-08.mp4'

  State     : Launching....

and after a minute
Error: Launch failed. Reason: CAST_INIT_TIMEOUT

So no change.


Privileges sys.reflections for dbt dremio user

Hi @fabrice-etanchaud ,
We created a user for DBT in Dremio with read access to all datasets, but dbt-dremio also needs Access reading dataset sys.reflections.
We tried to give DBT user privileges for reading dataset sys.reflections with the next commands on Dremio (executed by ADMIN user):
•	GRANT select ON SYSTEM TO USER dbt
•	GRANT view reflection ON SYSTEM TO USER dbt
Although we get the response of "Grant successful." in Dremio, when we run a query with the DBT user (ODBC Client) we still get the error due to "Access denied reading dataset sys.reflections"
For now, the only way to deal with this for us is to assign DBT user to the ADMIN role...but we want to avoid that.
So, the question is:
How can we give privileges to the DBT user to read the sys.reflections dataset without assigning the DBT user the ADMIN role in Dremio?
Thanks!

Hi @nicodp-leap , thank you for giving dbt-dremio a try !
I am afraid I won't be able to help you a lot on that matter, as I only know the community edition.

What we could do is make reflection stuff optional, so it does not prevent dremio enterprise users to run dbt with only view+table features.

Perfect, I'll take a look at it.
Thank you @fabrice-etanchaud!

Please give me feedback, if it worked for you !


Multiple deployments with same image issue

If there are several deployments with same image and at least one of them has Replicas = 0 there is a good chance of removing this image from checking list. rc.imageStore.ReconcileImage does not check for other deployments with same image.

Didn't manage to find where is the error exactly. Requires further investigation.

It is not an error, it is just how it works. It checks deployments one by one and if  Replicas = 0 then removes an image from the checklist. So if there are two deployments with the same image (canary deployment is an example) the first one can have Replicas = 1 and the image added to the checklist and the second can have  Replicas = 0 and the image removed from the checklist. So we are not checking for the image despite it is in use.

I was searching for the piece of code where the exporter removes an image, but didn't manage to find it.
The exporter collects all containers with their controller references for the given image.
https://github.com/deckhouse/k8s-image-availability-exporter/blob/210abc0c05f55dc4ae286da6ed0c32936667e667/pkg/registry/indexers.go#L234-L258
controllerWithContainerInfos contains controller metadata fields.
https://github.com/deckhouse/k8s-image-availability-exporter/blob/210abc0c05f55dc4ae286da6ed0c32936667e667/pkg/registry/indexers.go#L36-L43
I think the behavior you are speaking about was fixed in the scope of this mysterious PR https://github.com/deckhouse/k8s-image-availability-exporter/pull/67

Yes, indeed the code I was talking about removed here:
https://github.com/deckhouse/k8s-image-availability-exporter/pull/67/files#diff-72bfae920914f6e9789199b940ce1a9f3eb84125226bbb9b10db92174ff933dbL213-L227
I will test the latest version. Looks like the issue is resolved.
Thank you.

Tested with 0.10.1. Works fine. This issue is fixed. Thank you.


Integrate SMI with Service Mesh Performance (SMP) tool

Please describe the Improvement and/or Feature Request
Integrate OSM with SMP tool https://layer5.io/projects/service-mesh-performance
Scope (please mark with X where applicable)

New Functionality          [X ]
Install                    [ ]
SMI Traffic Access Policy  [ ]
SMI Traffic Specs Policy   [ ]
SMI Traffic Split Policy   [ ]
Permissive Traffic Policy  [ ]
Ingress                    [ ]
Egress                     [ ]
Envoy Control Plane        [ ]
CLI Tool                   [ ]
Metrics                    [ ]
Certificate Management     [ ]
Sidecar Injection          [ ]
Logging                    [ ]
Debugging                  [ ]
Tests                      [X ]
CI System                  [ X]
Demo                       [ ]
Project Release            [ ]

Possible use cases
Leverage SMP to measure performance of OSM in a way that is standard to the service mesh ecosystem.

I'll try to integrate OSM with SMP.

@johnsonshi is you are no longer working on this issue please unassign yourself


issues with gulp install

I ran the following command on my windows 8 command prompt:
npm install -g gulp
and I get the following:

That's not an error, nothing to worry about :)
https://github.com/gulpjs/gulp/issues/1485

It will be when node hits v7. I bet there's a good reason why gulp@3 is stuck with<EMAIL_ADDRESS>


Add screenshot api

Fixes https://github.com/bevyengine/bevy/issues/1207
Objective
Right now, it's impossible to capture a screenshot of the entire window without forking bevy. This is because

The swapchain texture never has the COPY_SRC usage
It can't be accessed without taking ownership of it
Taking ownership of it breaks a lot of stuff

Solution

Introduce a dedicated api for taking a screenshot of a given bevy window, and guarantee this screenshot will always match up with what gets put on the screen.

Changelog

Added the ScreenshotManager resource with two functions, take_screenshot and save_screenshot_to_disk

crashes for me on macOS:
thread 'main' panicked at 'Error in Surface::configure: requested usage is not supported', wgpu-0.14.2/src/backend/direct.rs:274:9

Changed the code to ensure a panic like the one @mockersf encountered is no longer possible, but it's a lot more code now.

Changed the code to ensure a panic like the one @mockersf encountered is no longer possible, but it's a lot more code now.

Works for me now! Thanks

There is an issue around screenshooting something with bloom enabled. I enabled bloom and HDR in example animated_fox
OS Screenshot

This PR Screenshot

Crashes in WASM too:
Caused by:
    In a RenderPass
      note: encoder = `<CommandBuffer-(0, 726, Gl)>`
    In a set_pipeline command
      note: render pipeline = `<RenderPipeline-(0, 1, Gl)>`
    Render pipeline targets are incompatible with render pass
    Incompatible color attachment: the renderpass expected [Some(Rgba8UnormSrgb)] but was given [Some(Bgra8UnormSrgb)]

There is an issue around screenshooting something with HDR & bloom enabled. I enabled them in example animated_fox.

This seems to be a result of the brightness values being stored in the alpha channel - the two images are once again identical when alpha is disabled.

Only fixed this fix for the save_screenshot_to_disk function, as being able to tap into this data could be useful.

@mockersf I'd appreciate if you could test wasm and especially hdr again, I don't have any hdr hardware so I can't be 100% sure stuff is working.

This looks like it should fix #22

And #1207

bors try

@TheRawMeatball can you note that this will fix the issues mentioned above?

I didn't add or remove any dependencies, the dependency failiure shouldn't be from this PR, and yes, all issues mentioned above should be solved.

CI is failing on https://github.com/bevyengine/bevy/issues/7654

Thanks for putting this together, @TheRawMeatball. What are the blockers for merging this?

This needs review mostly, especially from folks with rendering expertise. This ended up trickier than I would have expected.
Community review counts, so please feel free to go over this carefully and approve it if you think it's ready :)

the PR also needs to be updated for #7681 I think

What's the current status of this PR?

Does this snippet work without the WinitPlugin ?
        // camera         commands.spawn(Camera3dBundle {             camera_3d: Camera3d {                 clear_color: ClearColorConfig::Custom(Color::WHITE),                 ..default()             },             camera: Camera {                 // render before the "main pass" camera                 order: -1,                 target: RenderTarget::Image(image_handle),                 ..default()             },             transform: Transform::from_xyz(0.0, 50.0, 5.0).looking_at(Vec3::ZERO, Vec3::Y),             ..default()         });     }

@TheRawMeatball I think there has been an issue with your merge

What's the purpose of the render pass? Is it to avoid putting TextureUsages::COPY_SRC on the render target?

Still could this work without a window? It seems some questions in the comments are unanswered.


Greenland, Alaska and Hawaii

Here are a few small ideas that I've thought of that could be added in future versions of NWO after 1.14 for the regions of Greenland, Alaska and Hawaii.
Greenland
I have only found this out today, apparently in 1946 the U.S tried to buy Greenland from Denmark for 100 million dollars for use as a vital military base in a similar way how Iceland a member of NATO is used as a very strategic geographic position in the Atlantic Ocean even though it had no standing army. However Denmark refused to sell Greenland. I'm not quite sure whether this event is important enough to add into NWO but there are several important events that could be made for Greenland such as the granting of Greenlandic home rule, self government and a possible independence referendum for Greenland in the future.
http://www.apnewsarchive.com/1991/Wanna-Buy-Greenland-The-United-States-Once-Did/id-9d4a8021c3650800fdf6dd5903f68972
http://content.time.com/time/magazine/article/0,9171,778870,00.html
https://www.gwern.net/Greenland
Alaska and Hawaii
Since both Alaska and Hawaii were unincorporated states until 1959 when both of them became states, should the two regions be represented as colonies like other unincorporated territories in 1946 like Puerto Rico and the Northern Mariana Islands with events about their transition to Statehood or should they both stay as states in at the 1946 bookmark. Also while Alaska is too unrealistic to be added in NWO as its own country I guess it is more realistic than lets just say Vermont or California seceding as Alaska is pretty much separated from the main area of the U.S by thousands of kilometres as it a semi enclave.

While from a political point of view Alaska may not have a realistic chance of being a country however from a gameplay point of view it could function in a similar way to the Far Eastern Republic as a buffer state for Russia against the U.S and Canada as if Alaska was independent and was ally or puppet state of either Russia or the Soviet Union it could severely lower the chances of an American attack on Russia's eastern coast given the very close distance between Alaska and Russia.

Before Alaska and Hawaii achieved statehood, both of them were were organised incorporated terriotires of the US meaning that they were part of the US proper and having an organized government authorized by an Organic Act passed by the U.S. Congress, usually consisting of a territorial legislature, territorial governor, and a basic judicial system. To represent this political situation in NWO both Hawaii and Alaska would be colonies however both of the regions will have US cores on them to represent them being part of the US proper.


Generation interval pmf

Goal
We want to have a single source of truth for the mathematical formulation of the generation interval probability mass function for flu and COVID. We want to be able to use this to immediately code up the math decided upon here.
Context
This was discussed in the 2024-02-27 meeting (see minutes) and agreed upon in the ADR record under model_features.md. This specific feature should be the same as what's implemented in the existing wastewater model. Completion of this task will allow us to implement the feature more quickly and should facilitate creation of a model design document.
Required features

[x] #43
[ ] sources for the underlying GI estimates for both diseases
[ ] add to the feature to the model design document
[ ] Include an independent test that checks TBD.
[ ] Include documentation in the code using docstring

Out of scope

This does not include code, just specification of the feature in math/writing

Related documents

Model feature prioritization
Existing wastewater model definition

Ref: https://github.com/cdcent/cfa-multisignal-renewal/issues/72
author: @kaitejohnson

Hey @SamuelBrand1, here is one you could take! I also suggest: #17!

Hey @SamuelBrand1, I know the issue says "[t]his does not include code, just specification of the feature in math/writing," but I would argue that it is a good idea to include coding. In my view, coding stuff helps with the thinking process of theory too, and it makes sense to include the coding and documentation at the same time. What do you think?
cc @dylanhmorris

As a reference to https://github.com/cdcent/cfa-multisignal-renewal/discussions/104#discussioncomment-9374461, this issue deals with the implementation of a stochastic generation interval (i.e. for inference). The GI used in the hospital admissions-only version of the WW project uses a deterministic quantity.
cc @kgostic

Just to clarify about the generation interval: you're saying that for now, you're not going to try to estimate the GI in the model. Instead, you're just going to pass in a vector $\vec{v}$ where entries represent the probability mass of the discretized GI for integer delays of $d$ days.
If so, this is also how we're doing it in our $R_t$ model, so I think this is totally sufficient for now.


GlazeWM.GlazeWM version 1.9.0

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.2 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

As winget follows the naming scheme Publisher.PackageName, I think it would be more appropriate to name it as lars-berger.GlazeWM


Request for per-renderable post-processing enable/disable functionality

Is your feature request related to a problem? Please describe.
It seems that currently post-processing effects are applied globally to all renderables in a scene. This might be limiting in scenarios where we'd like to selectively apply post-processing to specific objects or groups of objects.
Describe the solution you'd like
If possible, it would be helpful to have a feature that allows enabling or disabling post-processing effects on a per-renderable basis. Perhaps this could be achieved by adding a flag or property to the Renderable component that determines whether post-processing should be applied to that specific object.
Describe alternatives you've considered

Using multiple render targets and compositing the results, but this might be more complex and potentially less performant.
Creating separate scenes for objects with and without post-processing, but this could complicate scene management.

OS and backend
This feature request isn't specific to any OS or backend, as it seems to be a core rendering functionality that shouldn't depend on platform-specific features. However, if there are any platform-specific considerations, please let me know.

This is not feasible.
However you can use Views do to this, since the post-process parameters are per-view.


Problem with dots in folder name

I decided to pair this mod with Simple Mod Maker, but ran into a problem: if the folder name has a dot in it, the package will not appear in your list. For example, "mod_name_0.1".

#3 should fix this up, I use the already existing method to check if its a valid package.  Its a bit slower because we do file stat checks, but there isn't enough mods (hopefully) to make that a noticeable impact.


Fix sanitizer issues in LogContext

Scope & Purpose
Fixes a potential memory leak and some data races.


feat(offline): Add retry support

This PR resolves MOPLAT-536
Description
This adds retry support to offline and will retry errors a max of 3 times.
cc @artsy/mobile-platform
PR Checklist

[ ] I tested my changes on iOS and Android.
[ ] I added screenshots or videos to illustrate my changes.
[ ] I added Tests and Stories for my changes.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Need help with something? Have a look at our docs, or get in touch with us.

@pvinis - going to merge this to get started on tests! If you have any change suggestions I can follow up in a second PR np 👍


MIPS: import name in decompiler bug

I've added external library:
Library psyqLib = symTbl.createExternalLibrary("PSYQ.LIB", SourceType.IMPORTED);

I've created imported function:
listing.createData(refAddr, PointerDataType.dataType);
refMgr.addExternalReference(refAddr, "PSYQ.LIB", "memchr", refAddr, SourceType.IMPORTED, 0, RefType.DATA);

In disassembler it looks good:
00000918  a7 02 00 0c         jal                 memchr

But in decompiler it uses a wrong name:
iVar5 = func_0x00000a9c(piVar7,0,local_38);

memchr in disassembler:
*************************************************************************
*                                            SUBROUTINE
*************************************************************************
void * memchr(void * __s, int __c, size_t __n)
                       void *                        v0:4                   <RETURN>
                       void *                        a0:4                   __s
                       int                             a1:4                   __c
                       size_t                        a2:4                   __n
         memchr                                                                         XREF[1]:          sprintf:00000918(c)
             00000a9c                             addr             PSYQ.LIB::memchr

Reference info in disassembler:

When I'm pressing L to rename func_0x00000a9c it shows me memchr:

Sometimes it doesn't allow to change the function name in decompiler at all. Pressing L doesn't work.

The decompiler generally relies on function thunks or address tables to be redirected to an external function.   I don't believe the decompiler will respond well to an external reference placed directly on an instruction within the decompiler function since it requires a real memory address within the pcode and not a fake EXTERNAL space address.   Within ELF the .got, .plt sections or EXTERNAL "block" frequently contain thunk functions produced by the importer for this purpose.  Before you added the external reference what was the jal instruction referencing?  Is there a relocation on the jal instruction which was not handled properly?

It is not an elf file, but an object file with manually parsed "patches" (relocations). So, I'm just creating ".imports" section, creating imported lines, then placing references to every import.

So, in my case I don't have any thunk function to be called. I just have import numbers, and a patch table, which references some calls to these imports. How should I manage it?

Dealt with this by creating functions for import addresses (they were subroutines before).

If you have addresses for each function you can do that, although that does not facilitate navigation linkage to other project files which may contain the actual function.  If this is required a thunk function can refer to am External Location function which is linked to an external program file.

But what if it is just an object file that contains something like extern SUPER_SYMBOL, and doesn't specify in which binary and library. How should I show it to user?

It depends upon your objectives.  If you have prelinked external function addresses (as it sounds like for your case) referenced by the code, creating function symbols at those locations may suffice, although the functions will only appear in the function table/tree and be referenced at the call sites.
If it matters to you what Library those symbols map to, additional work will need to be done to locate them and link them up via an external function.  If you have no information to indicate a list of relevant libraries, I'm not sure how you would identify the library mapping.  Elf binaries indicate a list of libraries and their search order.
What is the format of your object file?

Format is PSX PsyQ OBJ. I wrote a loader for it in my ghidra_psx_ldr
already and just added names at these addresses. But when I want to specify
that every address is external, it shows result as this issue references.
вт, 23 июл. 2019 г. в 17:00, ghidra1<EMAIL_ADDRESS>
It depends upon your objectives. If you have prelinked external function
addresses (as it sounds like for your case) referenced by the code,
creating function symbols at those locations may suffice, although the
functions will only appear in the function table/tree and be referenced at
the call sites.
If it matters to you what Library those symbols map to, additional work
will need to be done to locate them and link them up via an external
function. If you have no information to indicate a list of relevant
libraries, I'm not sure how you would identify the library mapping. Elf
binaries indicate a list of libraries and their search order.
What is the format of your object file?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NationalSecurityAgency/ghidra/issues/803?email_source=notifications&email_token=ABW3GPJIMDTRJPBZTV4GJF3QA4FJRA5CNFSM4IEZPJZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2TGUSY#issuecomment-514222667,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABW3GPJBPOBU2VJPK5CFWDLQA4FJRANCNFSM4IEZPJZA
.

You could try something like the logic below to convert your function to thunks to an External Function.  I have not tested this but it should be close.   The key is that the call instruction pcode can only refer to a memory address while the external function has a fake non-memory address.  This prevent the call instruction from referring directly to the external function in the fake external space.
`void convertFunctionToExternalThunk(Function f) {
	if (f.isThunk() || f.isExternal()) {
		throw new IllegalArgumentException("Invalid function specified");
	}
	Program program = f.getProgram();
	Symbol s = f.getSymbol();
	SymbolPath namespacePath = new SymbolPath(s.getParentNamespace().getSymbol());
	try {
		Msg.debug(CreateFunctionCmd.class, "Creating external function symbol: " + s.getName());
		ExternalManager extMgr = program.getExternalManager();
		ExternalLocation extLoc =
			extMgr.addExtFunction(Library.UNKNOWN, s.getName(), null, s.getSource());
		Library lib = extMgr.getExternalLibrary(Library.UNKNOWN);
		Namespace ns = NamespaceUtils.createNamespaceHierarchy(namespacePath.getPath(), lib, program, SourceType.ANALYSIS);
		lib.setParentNamespace(ns);
		f.setParentNamespace(program.getGlobalNamespace());
		f.setThunkedFunction(extLoc.getFunction());
	}
	catch (DuplicateNameException | InvalidInputException | CircularDependencyException e) {
		// ignore - unexpected
	}
}`

I suggest you import a sample Elf binary (e.g., bash) to see how the results of such a thunk to external function appear.


Login to tolino cloud fails

When trying to log in to tolino cloud, the script raises a Timeout error. I made sure the credentials are ok, i also pulled a fresh copy of the repo. Please error log below, what else can i check?
Shop is Thalia.
`INFO:main:logging into ZEIT premium...
INFO:main:downloading most recent ZEIT e-paper...
INFO:zeit_on_tolino.zeit:clicking download button now...
INFO:main:successfully finished download of 'DIE ZEIT - Nr. 17, 18.04.2024'
INFO:main:upload ZEIT e-paper to tolino cloud...
INFO:zeit_on_tolino.tolino:logging into tolino cloud...
Traceback (most recent call last):
File "/home/runner/work/zeit-on-tolino/zeit-on-tolino/sync.py", line 25, in
tolino.login_and_upload(webdriver, e_paper_path, e_paper_title)
File "/home/runner/work/zeit-on-tolino/zeit-on-tolino/zeit_on_tolino/tolino.py", line 169, in login_and_upload
_login(webdriver)
File "/home/runner/work/zeit-on-tolino/zeit-on-tolino/zeit_on_tolino/tolino.py", line 88, in _login
WebDriverWait(webdriver, Delay.medium).until(EC.presence_of_element_located((shop.user.by, shop.user.value)))
File "/home/runner/.cache/pypoetry/virtualenvs/zeit-on-tolino-z2YdorRC-py3.10/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 105, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
#0 0x5644d2ac9863
#1 0x5644d27bf8c6
#2 0x5644d280a618
#3 0x5644d280a6d1
#4 0x5644d284d744
#5 0x5644d282c5cd
#6 0x5644d284ac19
#7 0x5644d282c343
#8 0x5644d27fd593
#9 0x5644d27fdf5e
#10 0x5644d2a8d84b
#11 0x5644d2a917a5
#12 0x5644d2a7b571
#13 0x5644d2a92332
#14 0x5644d2a6087f
#15 0x5644d2ab8728
#16 0x5644d2ab88fb
#17 0x5644d2ac89b4
#18 0x7fb1fa094ac3
Error: Process completed with exit code 1.`

Hi @fgebhart
i was and I am using the exact code from the main branch with no changes, and the last run yesterday still failed.
How can the same code work for you but not for me? Are you also using thalia?
Anything else i can try?

I'm using Hugendubel. That could be the reason why. The login flow for the tolino webreader page is different for thalia. It could of course be that it changed slightly and thus the login flow breaks. I'm blind to this from my end as I cannot test all tolino partners as it would require accounts for all of them.
If you want to dig deeper, I would suggest to

checkout the code locally
disable the headless mode by commenting this line
run the tests using pytest
watch what the browser does
add breakpoints e.g. before the line that fails
check which elements might not be there or named as expected

Let me know if you need more input on that. Please understand that I do not have the time to debug this myself.

I ran the tests locally with pytest. Everything worked ok, the test epub got uploaded to webreader.
Now i tried to run sync.py local, but it errors on downloading the epaper from zeit, it seems to have an issue with the file not found after download. I also cannot find the path mentioned in the log
(zeit-on-tolino) hendrikkoch@superair zeit-on-tolino % python sync.py INFO:__main__:logging into ZEIT premium... INFO:__main__:downloading most recent ZEIT e-paper... INFO:zeit_on_tolino.zeit:clicking download button now... Traceback (most recent call last):   File "/Users/hendrikkoch/Documents/GitHub/zeit-on-tolino/sync.py", line 18, in <module>     e_paper_path = zeit.download_e_paper(webdriver)                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/Users/hendrikkoch/Documents/GitHub/zeit-on-tolino/zeit_on_tolino/zeit.py", line 94, in download_e_paper     wait_for_downloads(webdriver.download_dir_path)   File "/Users/hendrikkoch/Documents/GitHub/zeit-on-tolino/zeit_on_tolino/zeit.py", line 66, in wait_for_downloads     while any([filename.endswith(".crdownload") for filename in os.listdir(path)]):                                                                 ^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/v6/2y8jhzts27n4ptr0msbhh_yc0000gn/T/tmp_8k6q_ko' (zeit-on-tolino) hendrikkoch@superair zeit-on-tolino % python sync.py INFO:__main__:logging into ZEIT premium... INFO:__main__:downloading most recent ZEIT e-paper... INFO:zeit_on_tolino.zeit:clicking download button now... Traceback (most recent call last):   File "/Users/hendrikkoch/Documents/GitHub/zeit-on-tolino/sync.py", line 18, in <module>     e_paper_path = zeit.download_e_paper(webdriver)                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/Users/hendrikkoch/Documents/GitHub/zeit-on-tolino/zeit_on_tolino/zeit.py", line 94, in download_e_paper     wait_for_downloads(webdriver.download_dir_path)   File "/Users/hendrikkoch/Documents/GitHub/zeit-on-tolino/zeit_on_tolino/zeit.py", line 66, in wait_for_downloads     while any([filename.endswith(".crdownload") for filename in os.listdir(path)]):                                                                 ^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/v6/2y8jhzts27n4ptr0msbhh_yc0000gn/T/tmp474r_1lx' (zeit-on-tolino) hendrikkoch@superair zeit-on-tolino %

Seems hard to debug from my end. Also its not clear to me, why it works on github actions for me and locally for you, but not in github actions for you :man_shrugging:
The error reminds me of the recent migration from geckodriver (firefox) to chromedriver, where downloading files is handled differently.
As a last resort you could consider forking the repo again into a new repo on your side.

an update: I got it working, by adding a user agent string in the chrome options.
As far as i understood running in headless mode adds a headless keyword in the user agent which is blocked by some web sites.
in web.py
options.add_argument("user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36")
The issue with failing locally could be solved by changing the download path to an existing real path:
DOWNLOAD_PATH = '/some/existing/path'

The headless user agent triggers the cloudflare "confirm you are a human" screen.

Hi @superhenne - sorry I'm a bit busy these days.
So to summarize, we see/saw two issues:

Failing locally, because of faulty configured path. Do you see an option to change the existing code (in fgebhart/zeit-on-tolino) so it could potentially work for all users? If yes, I'm happy to review a PR for it.
Running into the "confirm you are a human" issue. Does this happen locally as well or in Github Actions? Do you see a need for a PR? For me things seem still to be working. However, it is in my interest that the repo works for as many users as possible.

On Mac, I used a static local path, that will not work for other users. Unfortunately i don´t know how to handle this universally. Or leave it as configuration option.
The cloudflare human check happens with thalia.de, when the user agent contains "headless", which is the default for selenium chrome driver. This can easily be overriden with this line in web.py, def get_webdriver:
options.add_argument("user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36")

On Mac, I used a static local path, that will not work for other users. Unfortunately i don´t know how to handle this universally. Or leave it as configuration option.
The cloudflare human check happens with thalia.de, when the user agent contains "headless", which is the default for selenium chrome driver. This can easily be overriden with this line in web.py, def get_webdriver:
options.add_argument("user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36")

Just  want to confirm the add_argument fixed the problem with Thalia for me. The periodic sync does work with this. I can't rate the other side effects so I will not make a pull request for it.
Best regards


Add SerializableDataclass

This pr adds SerializableDataclass mix-in, which provides a common interface to serialize/deserialize dataclasses.
For now serialize() and deserialize() functions are protected by @final to let the derived classes follow the common behavior.

@neubig sure, it sounds good idea.


Query with "starts after today" should not list tasks without a start date

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
When I use the filter line "starts after today", tasks without a start date should not occur in the resulting list.
Current behaviour
I have a tasks query that includes the filter line "starts after today". However, the resulting list of tasks includes tasks without a start date.
Steps to reproduce

Open a new note.
Write the content below into the note.
Observe the behavior described above, i.e. the "Test Task" appears in the query.

```tasks
starts after tomorrow
filename includes {{query.file.filename}}
```

- [ ] Test Task

Which Operating Systems are you using?

[ ] Android
[ ] iPhone/iPad
[ ] Linux
[X] macOS
[ ] Windows

Obsidian Version
1.5.12
Tasks Plugin Version
7.4.0
Checks

[X] I have tried it with all other plugins disabled and the error still occurs

Possible solution
No response

When I use the filter line "starts after today", tasks without a start date should not occur in the resulting list.

I understand what you are saying, but the software is behaving exactly as documented.
That functionality was written before I took over maintaining Tasks, and it has been like that for a long time.
The documentation explains the reasoning behind this behaviour, and how to write searches that do what you want:

Making Start Date only find tasks with Start

For your search, it would be:
Either this:
starts after tomorrow
has start date

Or this:
( starts after tomorrow ) AND ( has start date )

Of course it would be a really bad idea to change the behaviour of this search option now, as it would break the existing searches of many thousands of users...

PS thank you for providing text that I could use to reproduce the behaviour - it really, really helps! 👍

Thanks for your quick reply. I apologize for bothering you just because I missed that in the excellent documentation.
Thanks also a lot for maintaining this awesome plugin!

No apologies needed - and thanks for the kind words.

I have the same problem when I query with “starts before ”.  I suggest that It should not count tasks without starts date as default.  Thanks!

@claremacrae  Sorry for missing that in documentation. But it's a bit confused that the start filter behave in that way but schedule date dose not.    Whatever, thanks again.


Error while trying to build NetBricks (#[feature] may not be used on the stable release channel)

Hi,
I am getting following error while trying to build from the current master.
commit 2e30b8e3b701717bc009d3e18a725cbee25f9f92

   Compiling percent-encoding v1.0.0
   Compiling simd v0.1.1 (https://github.com/huonw/simd#0d85d25d)
   Compiling unreachable v1.0.0
   Compiling iovec v0.1.0
   Compiling time v0.1.38
   Compiling num_cpus v1.6.2
error[E0554]: #[feature] may not be used on the stable release channel
  --> /home/gabhijit/.cargo/git/checkouts/simd-a428b8cc9c1d1986/0d85d25/src/lib.rs:19:1

Rust and cargo version
NetBricks$ rustc --version
rustc 1.19.0 (0ade33941 2017-07-17)
NetBricks$ cargo --version
cargo 0.20.0 (a60d185c8 2017-07-13)
NetBricks$

I simply followed - git clone and ./build.sh. I already had rust installed, so didn't install nightly.
Any ideas?
-abhijit

We don't work with stable rust, please use a nightly rust.


Files in a shared project are not copied over

When you have a Shared Project in Visual Studio, and referenced by the web project, the files are not copied when deployed. This does work when using the Visual Studio publish tool.
Reproduction steps:

Create a new ASP.NET web project.
Add a new shared project to the solution
Reference the shared project from the web project
Add some js files to the shared project. Put them under a folder named js
Reference the files in the web project by including a script tag in the index page that references the file locally

<script src="~/js/randomFile.js"></script>

Commit the solution. When the deployment finishes, open fiddler or browser developer tools. Browse to the page. Notice the file is 404. Try to browse to the js file directly, same problem.

Hi
Kudu will continue to run in Azure App Service. However, this repo will no longer be maintained.
If the problem persists and is related to running on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


Snapping/Snap to grid

Any chance of getting snapping added to this? I have tried a few things but nothing seems to work.
It would be nice to have a couple of props such as "snap:true/false" and "snapDistance:10".
Apart from that I find this super useful!

+1


Iterating on Fabric Architecture docs

Working on:

Editing the opening sections to explain "what this doc will tell you and why you might care" a little better (re: adding context that these docs are discussing about the new architecture Fabric and link to the "Fabric Page")
Split up "rendering-implementation" into 3 sections
Added a 1-line summary of each doc

Hmm I'm wondering how to trigger netlify on this, I might close and re-open this PR?

Hmm I'm wondering how to trigger netlify on this, I might close and re-open this PR?

Currently deploy preview is setup only to work on the PRs targeting main branch. I cannot recall why this was setup in that way.
Same problem affects #2882, so maybe we should update the preview deploy workflow?


Add base class for documentation classes

This change is

Coverage decreased (-0.3%) to 95.289% when pulling 801fc288ab568a38133cac18f9dd89f7cf4b88bf on annawzz:a256014122370929_more_tutorials into 902bdcf2a574f5cc6cda879b2b5021156df776c0 on openprocurement:a256014122370929_more_tutorials.


Fix cache initialisation that was some kind of circular reference.

There was no need to initiate the cache right at the beginning.
In fact, it was creating a problem trying to call GetLatestFlags on the cache that was currently trying to be initialized for the first time.

@matthewelwell Here is a tentative fix for a problem on initialization I have using the cache in my code.
Let me know if you have any questions.

@matthewelwell I updated the code and also added a test showing that initializing the cache is now working :)

@matthewelwell Let me know if anything else is required!

@JFCote fix version is here: https://www.nuget.org/packages/Flagsmith/5.2.1


Compiler: fix require relative path resolution

Fixes #7408

Cool, I thought I implemented something wrong but it turned out we had a couple of invalid require that this PR now catches 💪


suitable reference for GO:0000424	micromitophagy ?

GO:0000424	micromitophagy is defined : "Degradation of a mitochondrion by microautophagy".
Definition for the parent term, GO:0016237 microautophagy, includes this:
"The transfer of cytosolic components into the lysosomal compartment by direct invagination of the lysosomal membrane without prior sequestration into an autophagosome" - but this process is not described in the reference used for GO:0000424	micromitophagy, PMID:15798367. Furthermore, in this review, it's stated "old mitochondria disappear by a process of autophagy whereby membranes of endoplasmic reticulum sequester individual mitochondria and deliver them to lysosomes for degradation" - this does not fit with a direct lysosome-mitochondrion interaction.
The only use of the word "micromitophagy" in PUBMED is in two papers - both reviews - one, (PMID:25009776) states:
"Micromitophagy is well characterized in yeast but differs from micromitophagy (Type 3 mitophagy) in mammalian cells in that digestive vacuoles (lysosomes) of yeast engulf whole mitochondria, whereas multivesicular bodies of mammalian cells swallow up small mitochondrial MDV [mitochondria-derived vesicle] fragments".
The yeast case sounds like the definition for the parent term, but the mammalian case sounds quite different.  NOt sure if this means we need taxon constraint for GO:0000424	micromitophagy ?
I need to talk with experts. Perhaps we should save this for next teleconference.

Hi Paul,
It looks like the microautophagic route can exist in mammals as well, see PMID:27003723 . Maybe the best route is to rename GO:0000424 'microautophagy of mitochondrion' and have a broad synonym as micromitophagy. The other pathway sounds more like a MVB pathway to me. What do you think?
-D

Hi David,
This sounds like a good idea.  The "other pathway" that is in this review relates to this:
https://github.com/geneontology/go-ontology/issues/12193
Paul

Renaming and added synonym.


typo

Thank you! Fixed in https://github.com/izahn/workshops/commit/6920cd2c50dc81636c2e7750a4aeb089330c0fa2.


Fix generation of header for digest auth

And including an option for proxy "proxy_after_auth".
This option if it true, enable the proxy only after the challenge auth is done.

Does this solution work? I need some specs before I can merge.

Yes it's work. Nothing change between the old method and my update for digest. Former test should pass but i do not see where is the spec for Digest for check.

There aren't, because the previous implementation didn't work. :)
A good starting point is to use the basic auth tests.

ok, i going to check asap.

Ping? :)

Digest auth was fixed a few releases ago so I'm closing this one. Thanks anyway mate.


Add Gazebo simulation plug-in for IMU and camera modules

This pull request adds IMU and camera simulation modules for the Alphasense. In the process it was necessary to rotate the _optical_frame as it was not oriented correctly (see the images below). The old incorrect frame still exists as _frame:

Before
After

There are still some frame inconsistencies that persist. The links do not have the same name as the ones published by the Alphasense driver. The Alphasense driver publishes camX_sensor_frame where X is an integer while the ones inside the URDF are called cam_front_left, cam_front_right, cam_side_right, ... Similarly for the IMU where the driver publishes imu_sensor_frame but inside the URDF the corresponding link is called alphasense_imu. I do not want to fix these inconsistencies as they might break somebody's URDF that build on them.
The current configuration neglects lens distortion. The reason for this is that the kalibr calibration values I have at hand only output distortion values for the equidistant distortion model (see here) while Gazebo only supports the radial tangential Brown–Conrady (see here). More information about this can be found on several issues on kalibr (e.g. #17 and #226). Somebody posted also a Matlab script for approximating the equidistant distortion model with the Brown-Conrady (RadTan) distortion model.

Thanks for making this as well @2b-t There are many things that are wrong in the alphasense driver (from Sevensense):

It publishes the images to the /alphasense_driver_ros/camX topic (a namespace), without respecting the ROS convention, which should be /alphasense_driver_ros/camX/image
It does not publish the CameraInfo message either
The driver publishes  the optical_frame as X forward, Y left, Z up (which was what you corrected), while the other frame is called helper. However, this is also conceptually wrong since the optical frame should be Z forward, X right, Y down (as the plugin originally publishes), as this is the convention generally used for cameras.
I think we can sit together on Monday and discuss this to see if we should emulate the alphasense driver or follow what's conceptually correct instead.

I agree with @mmattamala. I designed the camera modules for this description and I followed the z-forward convention as it is the standard one for cameras.
The naming for the modules were chosen to clearly identify each camera on the frontier, and not to copy what the alphasense driver does.
A possible approach to solve might be the following:

You keep the camera_front with z-forward as it was before. That frame is directly linked to the IMU via the kalibr configs. The gazebo plugin publishes in this frame
You add a child frame with the same name and orientation as produced by the real driver, with appropriate rotations to use SevenSense's convention.

@2b-t
Keep in mind that a widely used package that depends on this repo and hesai_description is the Phasma description: https://github.com/Hilti-Research/phasma_description
We should either update their README to tell their users to point to a specific tag of hesai_description and alphasense_description, or add a submodule to it.  In this way these two packages can be updated without the fear of breaking someone else's project.


ESBuild builders inconsistent in importing CSS vs SCSS if both files exist

Command
build, serve
Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
When resolving import paths, sass doesn't require the extension to be present. The esbuild builders (application and browser-esbuild) handle these extensions inconsistently, sometimes favouring CSS over Scss if both files exist, and sometimes the other way around.
Minimal Reproduction

Clone https://github.com/bgotink/angular-repro-esbuild-scss-resolution
npm ci
npm exec ng build
cat dist/test/browser/styles-*.css

Note the content of the CSS file is
:root{--file: resolve-test/test.css}:root{--file: local-test.scss}

indicating that for local files, .scss is favoured over .css, while for files imported from packages .css is favoured over .scss.
The webpack builder favours .scss over .css in both scenarios.

No response

Unfortunately, within Sass files there is no defined behavior for deep imports of bare package specifiers.  Packages should ideally specify exports fields with the preferred ordering of usage for consumers. However, the newly introduced pkg: scope does have an algorithm defined within its implementation.  This is not yet available for use within the Angular CLI but implementation is being evaluated. Also of note is that even though the new scope supports deep imports with the Sass discovery logic, it still recommends using the exports fields where possible. For more details please see: https://sass-lang.com/blog/announcing-pkg-importers/

That's for file URLs though.  The concept of resolving a node module package was not part of the spec and technically the package specifier itself should be treat as a relative file but that would be highly prohibitive from a usability perspective since a fixed path to and then inside the node modules directory would need to be used. This could be done now within an application and the behavior would be as expected based on the spec. However, bundlers, as a result of the awkwardness of such a solution, unofficially added behavior beyond the specification to allow JS like imports and in some cases inconsistently (tilde, root relative, partial discovery, exports vs deep import behavior, etc. can vary significantly). The pkg scope is an attempt create a consistent and unified process to handle package resolution.


Search page: everything is misaligned

Hi everyone,
As many screens in the app, the search page is also affected:

A proposal:

Align the magnifying glass to be between the start of the search field and the start of the hint (Rechercher here in French)
Align the search term (eg:<PHONE_NUMBER>298) with the hint for the search
Align the pen with the cross marker

Hey can I work on this issue. I am a new in open source and this could be a good starting point for me

Ok, feel free to create a PR :)
Please don't hesitate to ask any question.

Thanks @g123k. I will get to work right away.

Hey, I have created the PR. Kindly take a look at it. Thanks!


project: use published twilight-model

imo it is pretty much always better to set a major version and then increment it yourself.


Recent snap install v0.13.0 fails to find libclang 7

I was iterating over a VM creation process that installs bpftrace via snap, which was working fine for most of this year (installing v0.12.0).  With the latest snap (v0.13.0) it is unable to find clang.
What reproduces the bug?
On a 18.04 VM
vagrant@vagrant:~$ uname -a
Linux vagrant 5.4.0-58-generic #64~18.04.1-Ubuntu SMP Wed Dec 9 17:11:11 UTC 2020 x86_64 x86_64 x86_64

Installed as root
apt update
apt install -y bpfcc-tools libbpfcc libclang-7-dev python-bpfcc snap snapd
snap install --devmode bpftrace
snap connect bpftrace:system-trace

but invoking the executable in any form fails.
$ bpftrace
/snap/bpftrace/157/usr/local/bin/bpftrace: error while loading shared libraries: libclang-7.so.1: cannot open shared object file: No such file or directory

I am suspicious because the process was working with 0.12.0, and immediately broke when 0.13.0 arrived yesterday.
vagrant@vagrant:~$ snap info bpftrace
name:      bpftrace
summary:   high-level tracing language for Linux eBPF
publisher: Colin King (cking-kernel-tools)
store-url: https://snapcraft.io/bpftrace
license:   unset
description: |
  BPFtrace is a high-level tracing language for Linux enhanced Berkeley Packet Filter available in
  recent Linux kernels. BPFtrace uses LLVM as a backend to compile scripts to BPF-bytecode and makes
  use of BCC for interacting with the Linux BPF system, as well as existing Linux tracing
  capabilities: kernel dynamic tracing, user-level dynamic tracing and tracepoints.

  Install from the command line using:

   sudo snap install bpftrace
   sudo snap connect bpftrace:system-trace

  For more information, visit:

  https://github.com/iovisor/bpftrace/blob/master/docs/reference_guide.md
  https://github.com/iovisor/bpftrace/blob/master/docs/tutorial_one_liners.md
commands:
  - bpftrace
snap-id:      1UFcXKXSBtFK4i91LmQTaAbx7x4nszOn
tracking:     latest/stable
refresh-date: today at 19:19 UTC
channels:
  latest/stable:    20210910-2290-v0.13.0 2021-09-10 (157) 19MB -
  latest/candidate: 20210910-2290-v0.13.0 2021-09-10 (157) 19MB -
  latest/beta:      20210910-2290-v0.13.0 2021-09-10 (157) 19MB -
  latest/edge:      20210911-2290-v0.13.0 2021-09-11 (158) 19MB -
installed:          20210910-2290-v0.13.0            (157) 19MB devmode

The library appears to be present (I added libclang-7-dev after the first error, and recreated the VM), no direct LD_LIBRARY_PATH manipulation was fruitful either.
vagrant@vagrant:~$ sudo ldconfig -p | grep libclang-7.so.1
	libclang-7.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libclang-7.so.1

bpftrace --info 🤷
/snap/bpftrace/157/usr/local/bin/bpftrace: error while loading shared libraries: libclang-7.so.1: cannot open shared object file: No such file or directory

Apologies if this is the wrong place to post, I couldn't find any way to report snap issues directly (besides license infringement or other irrelevancies). @ColinIanKing

Thanks for the report, I'll pick this bug up on monday. Apologies for the breakage.

I've refreshed the snap, it now contains the relevant libraries and the path to these is now set correctly.  I've tested this on a fresh focal virtual machine and it works OK for me. Let me know if this resolves the issue.

Thanks so much for the prompt response!  Friday deploys strike again =D.
I tested (and even apt-purged my local libclang) and things seem to work great.


I offer to collaborate with the Spanish translation

The translation into Spanish requires improvement. There are many untranslated strings, and other strings can be translated better. I'm Spanish native and I offer to collaborate with the Spanish translation of Flick Launcher. I have already collaborated in the translation of Nova, Lawnchair, Evie and Action Launcher, so it is not a new activity for me.

Contact me by email, I will give you instruction!


AWS S3 storage driver (boto3) not found

Hello! I am trying to use clearml-serving to serve my PyTorch pretrained model.
I deploy ClearML Server and using S3 Minio on local network to store artifacts and pretrained weights.
There is no problem with storing and getting models using Input\Output Models. Everything works correctly.
But clearml-serving (particularly the clearml-serving-triton container) don't have opportunity to work with Minio as it has not python module boto3
Using tutorial I add S3 credentials to example.env:
CLEARML_WEB_HOST=http://<IP_ADDRESS>:8080
CLEARML_API_HOST=http://<IP_ADDRESS>:8008
CLEARML_FILES_HOST=http://<IP_ADDRESS>:8081
CLEARML_API_ACCESS_KEY=CLEARML_API_ACCESS_KEY
CLEARML_API_SECRET_KEY=CLEARML_API_SECRET_KEY
CLEARML_SERVING_TASK_ID="ccfed15e442242a19338c20772562df2"
AWS_ACCESS_KEY_ID=AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY=AWS_SECRET_ACCESS_KEY

After that it doesn't work as AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY not be sent to docker-compose. I add those variables to clearml-serving-triton container in the way to solve it:
  clearml-serving-triton:
    image: allegroai/clearml-serving-triton:latest
    container_name: clearml-serving-triton
    restart: unless-stopped
    # optimize perforamnce
    security_opt:
      - seccomp:unconfined
    # ports:
      # - "8001:8001"
    environment:
      CLEARML_WEB_HOST: ${CLEARML_WEB_HOST:-https://app.clear.ml}
      CLEARML_API_HOST: ${CLEARML_API_HOST:-https://api.clear.ml}
      CLEARML_FILES_HOST: ${CLEARML_FILES_HOST:-https://files.clear.ml}
      CLEARML_API_ACCESS_KEY: ${CLEARML_API_ACCESS_KEY}
      CLEARML_API_SECRET_KEY: ${CLEARML_API_SECRET_KEY}
      CLEARML_SERVING_TASK_ID: ${CLEARML_SERVING_TASK_ID:-}
      CLEARML_TRITON_POLL_FREQ: ${CLEARML_TRITON_POLL_FREQ:-1.0}
      CLEARML_TRITON_METRIC_FREQ: ${CLEARML_TRITON_METRIC_FREQ:-1.0}
      AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID:-ACCES_KEY}
      AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY:-SECRET_ACCESS_KEY}

But after that there is an error in this container:
clearml-serving-triton        | 2022-12-15 05:05:45,607 - clearml.storage - ERROR - AWS S3 storage driver (boto3) not found. Please install driver using: pip install "boto3>=1.9"

I guess that it can be fixed adding "boto3>=1.9" to the container requirements.txt here:
https://github.com/allegroai/clearml-serving/blob/main/clearml_serving/engines/triton/requirements.txt
After doing this and building using local docker image I get the following error:
clearml-serving-triton        | 2022-12-15 05:10:54,624 - clearml.storage - ERROR - Could not download s3://<IP_ADDRESS>:9000/models/test/RegNet.b04da49b696a472b94677e26762078d1/models/regnet_y_400MF.pt , err: SSL validation failed for https://<IP_ADDRESS>:9000/models/test/RegNet.b04da49b696a472b94677e26762078d1/models/regnet_y_400MF.pt [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)

And I don't have any ideas how to disable secure connection in this container

We're looking into this!

Hey @vladseve7n, apologies for the long turn around...
You were on the right path:

For providing the access credentials, you should add the environment variables to the docker-compose file for both 'clearml-serving-inference'  and 'clearml-serving-triton'
To Make boto3 available, , you should set CLEARML_EXTRA_PYTHON_PACKAGES="boto3" in the docker-compose file for both 'clearml-serving-inference'  and 'clearml-serving-triton'
To disable SSL transport to your storage service, you should set secure: false in your clearml.conf

Does this work for you?

Hi, I'm facing the same problem.
While testing the given example with the triton-gpu docker compose file, everything is working. I disabled SLL in the clearml.conf file. The exported model gets correctly uploaded to the minIO server. But trying to do inference with the following command:
curl -X POST "http://XXX.XXX.XXX.XXX:8080/serve/test_model_sklearn" -H "accept: application/json" -H "Content-Type: application/json" -d '{"x0": 1, "x1": 2}'

results in the following error:
clearml.storage - WARNING - Failed getting object size: SSLError('SSL validation failed for https://XXX.XXX.XXX.XXX:9000/clearml/serving%20examples/train%20sklearn%20model.a5a017b0c83c49e48d31a56e173030d2/models/sklearn-model.pkl [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)')

clearml.storage - ERROR - Could not download s3://XXX.XXX.XXX.XXX:9000/clearml/serving examples/train sklearn model.a5a017b0c83c49e48d31a56e173030d2/models/sklearn-model.pkl , err: SSL validation failed for https://XXX.XXX.XXX.XXX:9000/clearml/serving%20examples/train%20sklearn%20model.a5a017b0c83c49e48d31a56e173030d2/models/sklearn-model.pkl [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)

My configuration of minIO in the clearml.conf file looks the following:
 aws {
        s3 {
            # S3 credentials, used for read/write access by various SDK elements

            # default, used for any bucket not specified below
            key: ""
            secret: ""
            region: ""
            credentials: [
                {
                    host: "XXX.XXX.XXX.XXX:9000"
                    bucket: "clearml"
                    key: ...
                    secret: ...
                    multipart: false
                    secure: false
                }
            ]
        }
        boto3 {
            pool_connections: 512
            max_multipart_concurrency: 16
        }
    }

@JamesNeumann the clearml.conf file is your local file (on your local machine), right?

@JamesNeumann the clearml.conf file is your local file (on your local machine), right?

Yes, it is the local file on the  machine that is running clearml-serving.

I think you'll need to apply the same setting to the clearml-serving-triton docker-compose service. I think that currently there's no way to specify this setting for the global AWS credentials section, which means you'll need to inject that somehow into the  clearml-serving-triton service. I would try adding a file mount, mounting a clearml.conf file containing your minio configuration section in the format of:
sdk {
  aws {
    s3 {
      ...
    }
  }
}

into /root/clearml.conf inside the container

Mounting the clearml.conf into /root/clearml.conf on the clearml-serving-inference service resolved the issue.
The clearml-serving-triton service does not seem to be needing the file.
Thanks for the quick help @jkhenning!


In RC2 how to update database on product.

The issue
In RC1 when I published a website, it generated a ef.cmd file, I can ran ef database update to update the product database. How can I do it in RC2 when there is no ef.cmd file.

http://ef.readthedocs.io/en/latest/cli/dotnet.html#dotnet-ef-database-update

@chinaq are you using the right-click->Publish... functionality in Visual Studio? If so, there is a checkbox in the wizard to apply migrations to the target database during deployment (new in RC2).

Thanks @rowanmiller. I published by the wizard to apply migrations to the target database, but it comes another problem. Because my website and the repo are in different projects and assembles, it causes
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Publishing.targets(406,5): Error : Your target project 'SofuProdContr.BE.WebApi' doesn't match your migrations assembly 'SofuProdContr.BE.Repo2'. Either change your target project or change your migrations assembly.
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Publishing.targets(406,5): Error : Change your migrations assembly by using DbContextOptionsBuilder. E.g. options.UseSqlServer(connection, b => b.MigrationsAssembly("SofuProdContr.BE.WebApi")). By default, the migrations assembly is the assembly containing the DbContext.
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Publishing.targets(406,5): Error : Change your target project to the migrations project by using the Package Manager Console's Default project drop-down list, or by executing "dotnet ef" from the directory containing the migrations project.

The context is in the repo assemble SofuProdContr.BE.Repo2, and I have to change the target to SofuProdContr.BE.Repo2. But When publishing I can not execute donnet ef manually.
How can I resolve this?Thanks.

You probably have to wait until #5320 will be resolved.

@leak is correct, this is due to #5320 which is a limitation we are working to remove for the next release.
In the meantime, the best workaround is to revert to applying migrations in Startup.cs. You would do that by putting code like this in the Configure(...) method.
using (var context = new MyContext(app.ApplicationServices.GetRequiredService<DbContextOptions<MyContext>>()))
{
    context.Database.Migrate();
}


bug: not immediately highlighting

Did you check docs and existing issues?

[X] I have read all the todo-comments.nvim docs
[X] I have searched the existing issues of todo-comments.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
v0.10.0-dev-1324+gc3d21ad1b-Homebrew
Operating system/version
MacOS 14.0
Describe the bug
When opening a new buffer with Trouble it will not always immediately highlight it.
I have to type something or call :e!. Most of the time nothing is highlighted until I edit something.
Possibly related #61
Steps To Reproduce

Startup vim
Open todo trouble
Open a result
Not highlighted
Type something in the comment
Highlighted

Expected Behavior
It is immediately highlighted whenever I open a buffer.
Repro
{
        "folke/todo-comments.nvim",
        dependencies = { "nvim-lua/plenary.nvim" },
        cmd = { "TodoTrouble", "TodoTelescope" },
        -- NOTE: https://github.com/LazyVim/LazyVim/discussions/1583
        event = "VimEnter",
        opts = {
            highlight = {
                pattern = [[.*<(KEYWORDS)\s*[:@]\s*]] -- vim regex
            },
            search = {
                -- Matches with "TODO: something" and "TODO @PL something"
                pattern = [[\b(KEYWORDS)\s*[:@]\b]], -- ripgrep regex
            }
        },
        keys = {
            {
                "<leader>xt",
                '<CMD>TodoTrouble<CR>',
                desc = "Open todos in Trouble",
                noremap = true,
                silent = true
            },
        },
    }

Sorry for intruding, but shouldn't that < in the vim regex be escaped?

Sorry for intruding, but shouldn't that < in the vim regex be escaped?
I've tested with a similar setup and had the same result, so that wasn't that anyway.

Possibly, not sure. I've been using this pattern for a while now and it seems to work as I intend it to.


Is this a bug in orthogonal edge routing?

When user zoom the graph, orthogonal edge routing will calculate the absolute points of the edge.
but sometimes the route is wrong.
In scale 30%, the route is right:

But in scale 20%, the route is wrong:

This issue will cause the outline is different with graph, because they are different scale.

Can you attach the diagram file please?

Diagram data in draw.io. Please trace it.
<mxfile host="www.draw.io" modified="2019-10-17T07:39:21.076Z" agent="Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0" etag="AAg8-OIUdK4PYmy24gXI" version="12.1.2" type="device" pages="1"><diagram id="B5IUQbCcViYoLn4myiS4" name="Page-1">zZRLT8MwDMc/TY+gPhjbrmwdSIwDmgTjGK1eG5TWVea++PSkq7O2mjbBAYlT8//FTvyo4wSLtH7UIk9eMALl+G5UO8HS8X3fDTzzaUnTEc+dzzsSaxkx68FGfoE1ZFrICA4jQ0JUJPMx3GGWwY5GTGiN1dhsj2p8ay5iOAObnVDn9F1GlHR05k97/gQyTuzN3j3nlwprzJkcEhFhNUBB6AQLjUjdKq0XoNrq2bp0fqsLu6fANGT0E4d9OJu/Ht5Xb+Gm1GW51rB+vrnj2KixCUNk8meJmhKMMRMq7OmDxiKLoD3VNaq3WSPmBnoGfgJRw80UBaFBCaWKd6GWtGX3dv3Rrm/9CctlPdhbNlZkpJvtUHRu04nVvd9RWccuwzati4VjdMBC7+BKtewPKHQMdMXOP7XXDAZgCiYe46dBCZLlOA7BP2h8sut7aBbcxl+0lM8thSr4prMejztYJZJgk4tj6pWZ43G3+DjQBPX1Cp5nbB3mPAP8ClhZ9RPl2TFJhtPk/lGN/P9fo8D7uyIZ2b87x73B8x2E3w==</diagram></mxfile>

Fixed in next release.


Nuxt 3: using plugins

Hello. How can i use  plugins like bouncy.js in docs?

Just pass the plugin as you would an option.


how to use only voice call by agora in react-native app

i don't know how to use voice call by agora

do not call the enableVideo method

Thank you 👍
On Fri, 5 Jun 2020 at 11:46 AM, Arthas<EMAIL_ADDRESS>wrote:

do not call the enableVideo method
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/syanbo/react-native-agora/issues/209#issuecomment-639281600,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMI5TQVQQ5CVKUIPPKSI3TDRVCETXANCNFSM4NTH2M6A
.


HTML attributes - only expand multiline when long

Currently there's a setting for "html.format.wrapAttributes": "force-expand-multiline".
It'd be great if there was a similar setting:  "html.format.wrapAttributes": "force-expand-multiline-long".
The idea being that it would only force expand if html.format.wrapLineLength was exceeded.

Please file this against
We use beautifyjs as the underlying HTML formatter. Would you mind filing this request directly against https://github.com/beautify-web/js-beautify ?


fix: add missing body_type "163"

Fix for https://github.com/wuwentao/midea_ac_lan/issues/341

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 39.89%. Comparing base (c2ebd83) to head (bc8bbec).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #317   +/-   ##
=======================================
  Coverage   39.88%   39.89%
=======================================
  Files          84       84
  Lines        7606     7607    +1
=======================================
+ Hits         3034     3035    +1
  Misses       4572     4572

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


chore: upgrade to protocol 2.4.0

Description

Upgrade the protocol version (pre v2.4.0)
adapt subgraph

modified event OfferCreated (+ keep previous handler as legacy)
add handler for GroupUpdated/GroupUpdatedLegacy events, so that the subgraph is updated when an offer is added to a group. NOTE: subgraph doesn't support removing an Offer from a Group yet (would require an upgrade to graph-ts >= v0.31.0)
add offers in ConditionEntity to keep the list of offers included in a group

packages/common:

add new fields feeLimit/priceType/royaltyInfo in CreateOfferArgs
add new fields priceType/royaltyInfo in OfferStruct

core-sdk

adapt to changes
ensure the new fields are set by default if not provided by client

e2e tests

adapt mocks to new types
change the reversion texts wrt to protocol changes
add missing tests for Orchestration methods

createPremintedOfferWithCondition()
createPremintedOfferAddToGroup()
createSellerAndPremintedOffer()
createSellerAndPremintedOfferWithCondition()

How to test

existing e2e tests
new e2e tests

integrated into PR #674


Add Fedora 30 facts for Facter 3.11

Coverage remained the same at 100.0% when pulling 1bc038fd42aac53344ac1ee9c129cbccf5b5c0aa on syseleven:fedora30-3.11 into 14d1dfca29767e439a3a2dc28d82dafd5bee6001 on camptocamp:master.

@raphink @mcanevet can one of you merge and release this?


Power Apps cache file size

[Enter feedback here]
This article describes the file size for browser data to not exceed 1MB. Is there a nifty way to determine the file size of a collection in a Power Apps application?

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

ID: b7ae4fe7-8801-18c4-7313-af44ffd22f75
Version Independent ID: 32e03bf6-cbe4-70c9-7d4f-54cd2efbc583
Content: SaveData, LoadData, and ClearData functions in Power Apps - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/functions/function-savedata-loaddata.md
Service: powerapps
Sub-service: canvas-maker
GitHub Login: @gregli-msft
Microsoft Alias: gregli

Thank you for reaching out. You can try using Monitor, or any other network capture; though the limit only applies to Teams or web browser.


[Feature Request][Python SDK]: Add image_uri field to the response from GCP Vision API

What would you like to happen?
Currently, the GCP Vision API implemented in python SDK doesn't return the image_uri which makes it difficult to know which image does the response correspond to.
Issue Priority
Priority: 2
Issue Component
Component: sdk-py-core

I have this implemented. I can create a PR.

Please raise a PR for review. Thanks for working on it.

is this solved?

I didn't push an update because what I did what use the response = MessageToDict(response) function and then added the id to the dict. What I think should be done is changing the protos right? I could still help but I'd love if someone would point me to the correct direction. Thank you


Support multiple Rails versions

Background
We have some projects running older Rails versions. The core design system engine supports the last three supported versions of Rails including Rails 6.1.
Changes
Adds support for older versions by:

Increase the version range and update the CI workflow to allow testing against the same supported versions as the design system components themselves.
Updating the library code to support older Rails versions (This requires providing a shim for our use of field_id and field_name which are only available in Rails 7+ but is otherwise already compatible)
Updating the dummy spec application to use configuration available in all supported versions

I've also included a short document demonstrating how to test with older Rails versions locally. When we merge this code with the core design system engine we might want to revisit this approach to use something like Appraisal but this works for now.

No problem at all! I'm going to test this out in a real app before I merge this 🤞

I've now seen this is working in a Rails 6.1 app, thanks to @johnny-m-young for the hard work on that.


(PUP-10597) Remove deprecated held

CLA signed by all contributors.

@Dorin-Pleava we should entirely remove "held" from ensure values, as it was replaced by apt mark: https://github.com/puppetlabs/puppet/pull/7802

Jenkins please test this on debian8-64,debian9-64,debian10-64

Jenkins please test this on debian10-64a,debian8-64a,debian8-32a,debian9-64a,debian9-32a

Jenkins please test this on debian9-64,debian10-64

I believe this works okay, but while testing I found a behavior that's not idempotent (also happens without changes from this PR).
The following will always report changes on Debian 10:
package { 'mc':
    ensure => present,
    mark   => none,
}

/cc @ciprianbadescu

package { 'mc': ensure => present, mark => none, }

Should be solved with bellow change:
--- a/lib/puppet/provider/package/dpkg.rb
+++ b/lib/puppet/provider/package/dpkg.rb
@@ -74,7 +74,7 @@ Puppet::Type.type(:package).provide :dpkg, :parent => Puppet::Provider::Package
       elsif ['config-files', 'half-installed', 'unpacked', 'half-configured'].include?(hash[:status])
         hash[:ensure] = :absent
       end
-      hash[:mark] = :hold if hash[:desired] == 'hold'
+      hash[:mark] = hash[:desired] == 'hold' ? :hold : :none
     else
       Puppet.debug("Failed to match dpkg-query line #{line.inspect}")
     end


LightingTfm fails when used with DataBlock on Siamese tutorial

The context for this issue is the 24_tutorial.siamese notebook, but this bug occurs with all custom types that inherits from Tuple.

How to reproduce:
Add any LightingTfm to the DataBlock created in the notebook, I'm currently doing:
batch_tfms=[Normalize.from_stats(*imagenet_stats), Brightness()]

The dataloader fails with the error (after calling .summary):
Applying batch_tfms to the batch built
  Pipeline: IntToFloatTensor -> LightingTfm -> Normalize
    starting from
      ((TensorImage of size 4x3x224x224, TensorImage of size 4x3x224x224), TensorCategory([0, 1, 0, 1], device='cuda:0'))
    applying IntToFloatTensor gives
      ((TensorImage of size 4x3x224x224, TensorImage of size 4x3x224x224), TensorCategory([0, 1, 0, 1], device='cuda:0'))
    applying LightingTfm failed.
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-87-5964f4e9fd0f> in <module>
----> 1 siamese.summary(path/'images', path=path)

~/git/fastai2/fastai2/data/block.py in summary(self, source, bs, **kwargs)
    186         print("\nApplying batch_tfms to the batch built")
    187         b = to_device(b, dls.device)
--> 188         b = _apply_pipeline(dls.train.after_batch, b)
    189     else: print("\nNo batch_tfms to apply")

~/git/fastai2/fastai2/data/block.py in _apply_pipeline(p, x)
    131         except Exception as e:
    132             print(f"    applying {name} failed.")
--> 133             raise e
    134     return x
    135

~/git/fastai2/fastai2/data/block.py in _apply_pipeline(p, x)
    127         name = f.name
    128         try:
--> 129             x = f(x)
    130             if name != "noop": print(f"    applying {name} gives\n      {_short_repr(x)}")
    131         except Exception as e:

~/git/fastai2/fastai2/vision/augment.py in __call__(self, b, split_idx, **kwargs)
     30
     31     def __call__(self, b, split_idx=None, **kwargs):
---> 32         self.before_call(b, split_idx=split_idx)
     33         return super().__call__(b, split_idx=split_idx, **kwargs) if self.do else b
     34

~/git/fastai2/fastai2/vision/augment.py in before_call(self, b, split_idx)
    641         self.do = True
    642         if isinstance(b, tuple): b = b[0]
--> 643         for t in self.fs: t.before_call(b)
    644
    645     def compose(self, tfm):

~/git/fastai2/fastai2/vision/augment.py in before_call(self, x)
    659
    660     def before_call(self, x):
--> 661         self.change = _draw_mask(x, self._def_draw, draw=self.draw, p=self.p, neutral=0.5, batch=self.batch)
    662
    663     def __call__(self, x): return x.add_(logit(self.change[:,None,None,None]))

~/git/fastai2/fastai2/vision/augment.py in _draw_mask(x, def_draw, draw, p, neutral, batch)
    427 def _draw_mask(x, def_draw, draw=None, p=0.5, neutral=0., batch=False):
    428     if draw is None: draw=def_draw
--> 429     if callable(draw): res=draw(x)
    430     elif is_listy(draw):
    431         test_eq(len(draw), x.size(0))

~/git/fastai2/fastai2/vision/augment.py in _def_draw(self, x)
    655
    656     def _def_draw(self, x):
--> 657         if not self.batch: return x.new(x.size(0)).uniform_(0.5*(1-self.max_lighting), 0.5*(1+self.max_lighting))
    658         return x.new_zeros(x.size(0)) + random.uniform(0.5*(1-self.max_lighting), 0.5*(1+self.max_lighting))
    659

AttributeError: 'ImageTuple' object has no attribute 'new'

It's important to note that the other methods of creating dataloaders in this example did work correctly.
What I realized is that, if I remove the problematic transform and then do:
b = dls.one_batch()
explode_types(b)

It will output:
{tuple: [{__main__.ImageTuple: [fastai2.torch_core.TensorImage,
    fastai2.torch_core.TensorImage]},
  fastai2.torch_core.TensorCategory]}

But for the other ways of creating the DataLoader it will output:
{__main__.SiameseImage: [fastai2.torch_core.TensorImage,
  fastai2.torch_core.TensorImage,
  torch.Tensor]}

So, in the DataLoader case, LightingTfm fails because it's called on the outer tuple, and does not get dispatched further in ImageTuple.
In the later case, LightingTfm correctly gets dispatched to all elements of the tuple.
Maybe we need to do recursive tuple dispatching? xD
Note: I'm saying tuple dispatching here, but I don't know if that is the right terminology, what I mean is that when we have a tuple, fastai applies the transform on each separate element of the tuple.

Fixed the same way affine transforms were fixed before but it still requires the image to be the very first thing in the tuple (even if nested like here). Will make something more general when I have time.


Connecting to ActiveMQ doc only has transport option

Description:
When describing "connecting to ActiveMQ", we have this doc.
[https://ei.docs.wso2.com/en/latest/micro-integrator/setup/brokers/configure-with-
ActiveMQ/#setting-up-the-micro-integrator-with-activemq](https://ei.docs.wso2.com/en/latest/micro-integrator/setup/brokers/configure-with-
ActiveMQ/#setting-up-the-micro-integrator-with-activemq)
but it only describes the transport. We have the inbound option too. We need to re-structure the doc mentioning all options.
Issue is, if someone need to point a doc stating, this is how you need to setup WSO2 EI with ActiveMQ, we cannot point this doc. It does not have all the options.

This is the setup guide, which needs transport level config changes. However, these contents will be removed with the effort https://github.com/wso2/micro-integrator/issues/3592


Bot editor improvements

Removed absolute positioning
Responsive layout
Buttons now have loading state
Fixed "Execute" success toast
Fixed unnecessary React rerenders

Before:

After:
https://github.com/medplum/medplum/assets/749094/010780bb-897f-422d-bb99-90194c5617d0

coverage: 94.315% (+0.001%) from 94.314% when pulling ef3d3679517ac68ca736b223501085dfb88a0d18 on cody-bot-editor-improvements into 5b8cc6b502b6a8a4c7feeb63d991d895b644f3d4 on main.

You didn't mention it in your PR description, but I love the new button icons.
I think global "loading" state makes sense to avoid confusion. If someone presses "execute" while deploying, it's ambiguous which Bot version will actually run.
All the overflow/scrollbar/padding stuff is a huge improvement.
I'm not sure I agree with having the Execute button in a different spot. I see what you're going for (execute this data), but I think it might read better to just have all 3 action buttons grouped, since they are all part of a single process (Save -> Deploy -> Execute)

I think global "loading" state makes sense to avoid confusion. If someone presses "execute" while deploying, it's ambiguous which Bot version will actually run.

K, I'll add.
There will still be some ambiguity.  Unfortunately lambdas take 5-10 seconds to fully propagate after deploying, so there is a period of uncertainty.  We could explore using the lambda "version" feature, but that is out of scope for this PR.

I'm not sure I agree with having the Execute button in a different spot. I see what you're going for (execute this data), but I think it might read better to just have all 3 action buttons grouped, since they are all part of a single process (Save -> Deploy -> Execute)

Yeah... I'm mixed on it.  I can move it back.  It's based on the Pipedream UI, which I really like.

My thinking is that these are not all part of a single process. "Save" and "Deploy" - yes, that's how you change the bot. The "Execute" button is more for testing, experimentation, running -- all of which is separate from change the bot.

Yeah good point, I agree with that logic. Given that, I'm really fine either way - I don't feel strongly about that button placement

There will still be some ambiguity. Unfortunately lambdas take 5-10 seconds to fully propagate after deploying, so there is a period of uncertainty. We could explore using the lambda "version" feature, but that is out of scope for this PR.

ACK. Global seems directionally better, but yeah there's still a delay that's unaccounted for


Using ARCore/Sceneform for drawing image/texture on floor? (Like "floor is lava")

Hi,
is it possible to draw texture/image on the floor with sceneform?
I have a texture for pavement (for example) and I want to go before the house and draw it instead of the current pavement. For a better idea of how it will look.
We have a web version with works only with images:

(you can stretch the image of the pavement)
And we want to do something similar for mobile (with using AR). For iOS there is ARKit and with it, it can be maybe possible to do.
Is it something like it for Android? Do you have some suggestions for it?
Thanks for the tips!

Hi,
Please use discussion for this.


Query: Do you support running multiple versions of FHIR side-by-side on the same server ?.

Do you support running multiple versions of FHIR side-by-side on the same server ?.
Is it possible to configure FHIR server conform to particular version say, STU3 instead of latest R4

@madhub Currently, we only support FHIR R4 (4.0.1).  Our conformance is described at https://ibm.github.io/FHIR/Conformance/ We have no plans to support earlier versions than R4, and will revisit when R5 is released.

Closed as no further followup


Queue stats

Jira link
HOTT-???
What?
I have added/removed/altered:

[x] Moved rake tasks back to lib/tasks
[x] Added a simple background job stats tasks for introspecting counts of queued jobs

Why?
I am doing this because:

We have rake tasks split over two locations, app/lib/tasks and lib/tasks - using lib/tasks  avoids them being in the autoload path and is probably where future developers will expect them to be
It improves visibility of whats happening on the background workers

Output
Queue 'default': 135
  BuildIndexPageWorker: 135
    Section: 1
    SearchReference: 14
    Heading: 3
    Commodity: 117

Queue 'sync': 0

@willfish Yeh, should be well tested - it was just taking what I've been running in rails console anyway and sharing it


Error while running yarn package

MacBook-Pro-2 ts % yarn package
yarn run v1.19.1
warning ../../../../../../package.json: No license field
$ gulp manifest
[20:45:46] Using gulpfile ~/Repo/Teams/Microsoft-Teams-Samples/samples/tab-ui-templates/ts/gulpfile.js
[20:45:46] Starting 'manifest'...
[20:45:46] Starting 'generate-manifest'...
[20:45:46] Finished 'generate-manifest' after 38 ms
[20:45:46] Starting 'schema-validation'...
[20:45:46] Using manifest schema 1.8
[20:45:47] 'schema-validation' errored after 461 ms
[20:45:47] Error in plugin "validate-manifest"
Message:
String does not match pattern ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$:
[20:45:47] 'manifest' errored after 502 ms
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@madhusaragadam1025 - We are looking into the issue.We will let you know.

@madhusaragadam1025 - Could you please confirm if your issue has resolved or still looking for any help?

@madhusaragadam1025 - Could you please confirm if your issue has resolved or are you still facing the issue?

We are closing this issue for now, Please feel free to reopen it, if required.


remove registry.k8s.io/pause:3.4

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

/lgtm

/lgtm


Opacity control?

Let me just say, this asset is fantastic!
Is there any way to make the fog more opaque the further away you are from it? Currently it's the opposite, it gets more opaque the closer you are to it. I'm trying to hide object and terrain pop-in at a distance with this.

After tweaking some of the Lighting and Noise settings, I was able to achieve the look I wanted.

Hi Jon, I'm glad to hear you got the results you wanted, and I apologize for not responding a tad bit earlier. For the record, I designed this asset to target scenarios where you need localized volumes of fog, as I believed that for the goal you described (occluding larger, distant objects) the fog found in the scene lighting settings would work. Because of this most of the default settings try to blend out the fog the further you get away to try smoothly culling the fog earlier as ray-marching can quickly chew away at performance.
If you would like to add a feature request for fog to fade out at further distances, I may be able to get around to it sometime, but it would not be high on my priority list. However, if you are in need of a solution quickly, I would point you to this part of VolumetricFog.hlsl, where you might be able to get your desired result by swapping some shader variables around.


Added Advance-Search

Inspired by (Perplexity.AI)[https://www.perplexity.ai/] and their advance search engine, I implemented advance-search to Cha. It's not as advance as Perplexity's solution but it works pretty well.

Brave API was used to handle search because the pricing is ok and it's very easy to setup compared to setting up Google Search's API and Microsoft's Bing Search API.


[Maintenance]: Migrate NugetRestore@1 to NugetCommand

This change will fix failing pipelines due to:
##[error]Error: This task is deprecated. Please switch to using NuGetCommand@2's 'restore' option https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/nuget-command-v2

/azp run uwp-ci.yml


Support for custom python effects

Feature request
To use LedFX v2 there is a flle for custom python effecs ""UDP RGB Stream Listener"" https://hyperion-project.org/forum/index.php?thread/12082-hyperion-as-udp-listener/&postID=41247#post41247
General idea is to use the microphone from Laptop with LedFX installed that the Leds from HyperHDR (connected in RPi with LibreELEC) will react to the music.
Here it's mentioned that this will not work with HyperHDR due to a lack of custom python effects (for Hyperion.ng it will work).
Therefore please add the posibility to also use that files (or add an seperate soluation for LedFX v2).
What problem does this feature solve?
Sound reactive LED behaviour to music
How should this be implemented in your opinion?
Maybe the files from above could be used.

Hi
But in HyperHDR you don't need to do it that way using effects... BTW additionally using effects and the Python environment as an intermediary will only generate additional unnecessary resource use and possibly delay.
Since HyperHDR v18 (https://github.com/awawa-dev/HyperHDR/commit/5fb1be1c4bdbc84becfd964a08cb106482b6c4e5) there is already built-in native UDP listener so you can test it for you purpose and let me know about the results.

ok, I don't know that. Thanks you very much for your efforts and the explanation. I will try it when I got the hardware (currently I didn't have a system to test).


Use Ruby 2.3's +'' instead of String.new

This is another Rubocop performance cop. Here's their description:
In Ruby 2.3 or later, use unary plus operator to unfreeze a string literal instead of String#dup and String.new. Unary plus operator is faster than String#dup.

Note: String.new (without operator) is not exactly the same as +''. These differ in encoding. String.new.encoding is always ASCII-8BIT. However, (+'').encoding is the same as script encoding(e.g. UTF-8). So, if you expect ASCII-8BIT encoding, disable this cop.

Signed-off-by: Tim Smith<EMAIL_ADDRESS>

I don't think I like this, any perf impact has got to be so tiny as to be moot given the use case and I am overall not a fan of this kind of cryptic code.

Like why can't it just be crontab = ""? I don't think we need any dup behavior here.


Can't initiate a reindex on redmine 3.1.1

On redmine 3.1.1, I have the following trace when trying to initiate a reindex :
[root@redmine redmine]# bundle exec rake redmine_elasticsearch:reindex_all RAILS_ENV=production --trace
Loading Rails environment for Resque
** Invoke redmine_elasticsearch:reindex_all (first_time)
** Invoke redmine_elasticsearch:logged (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine_elasticsearch:logged
** Execute redmine_elasticsearch:reindex_all
Recreate index for all available search types
rake aborted!
RedmineElasticsearch::IndexerError: Can't create index:
{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Mapping definition for [id] has unsupported parameters:  [index_name : project_id] [not_analyzed : true]"}],"type":"mapper_parsing_exception","reason":"mapping [parent_project]","caused_by":{"type":"mapper_parsing_exception","reason":"Mapping definition for [id] has unsupported parameters:  [index_name : project_id] [not_analyzed : true]"}},"status":400}
/home/redmine-3.1.1/plugins/redmine_elasticsearch/lib/redmine_elasticsearch/indexer_service.rb:74:in `create_index'
/home/redmine-3.1.1/plugins/redmine_elasticsearch/lib/redmine_elasticsearch/indexer_service.rb:12:in `recreate_index'
/home/redmine-3.1.1/plugins/redmine_elasticsearch/lib/redmine_elasticsearch/indexer_service.rb:17:in `reindex_all'
/home/redmine-3.1.1/plugins/redmine_elasticsearch/lib/tasks/index.rake:18:in `block (2 levels) in <top (required)>'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.0/bin/rake:23:in `load'
/usr/local/rvm/gems/ruby-2.1.0/bin/rake:23:in `<main>'
/usr/local/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => redmine_elasticsearch:reindex_all

Is this a compatibility problem with the version I am using?
Thanks,

Related to ElasticSearch 2.0. It is working with ElasticSearch 1.7.3.
Probably linked to : https://www.elastic.co/guide/en/elasticsearch/reference/2.0/breaking_20_mapping_changes.html#_literal_index_name_literal_and_literal_path_literal_removed

This has been the case for me as well, on Redmine 3.2.0. Seems to work with Elasticsearch 1.7.4.


Play doesn't work if song wasn't selected beforehand.

Throws null exception in PlayBeatmap method.

Fixed in 910ad5e4b43f017b0eef1a3b8f7ad01827a12e20 .


KYLIN-3556, replace String.intern to avoid unexpected locking collisions

Locking on an interned string can cause unexpected locking collisions with other part of code. A better option is Interner in guava.

Can one of the admins verify this patch?


fix descriptions for schedule.function

changes mcfunction to MCFunction. fixes #70

Merged ! Thanks 😊
Next time, please open a PR on the develop branch, it will allow me to merge faster! 😃


Feature/peripheral documentation

Following changes has happened:

Work on Example app - it's almost finished, needs a little bit polishing & writing to characteristic feature.
Eliminated race conditions in several calls that could happen.
Created documentation for Peripheral class.

Mostly good. Docs are awesome. Check out comments. The biggest issue is that you don't handle disposables properly (I think) in a few places. Take a look at it.

Hi, many thanks for review, great job :-) These comments were really helpful - I handled disposable in a way which we were talking about.


[WIP] Add a submodule for /pkg/apis

This will make the apis easier to consume from outside hive be limiting
the dependencies needed to access them.
Fixes #1279

Currently stuck on this:
17:06:10:~/Source/hive/pkg/apis (submodule *)$ git grep openshift/hive | grep -v pkg/apis
hive/v1/validating-webhooks/clusterdeployment_validating_admission_hook.go:27:	"github.com/openshift/hive/pkg/constants"
hive/v1/validating-webhooks/clusterdeployment_validating_admission_hook.go:28:	"github.com/openshift/hive/pkg/manageddns"
hive/v1/validating-webhooks/clusterdeployment_validating_admission_hook_test.go:25:	"github.com/openshift/hive/pkg/constants"
hive/v1/validating-webhooks/feature_gates.go:15:	"github.com/openshift/hive/pkg/constants"

We can't have a dependency back into the main module of hive.
The only solution I could come up with is moving the constants and manageddns packages into the apis module, but don't have time to try that today.


Rendering CSS in public folder (chapter 5, example htmltemp).

Hi,
I tried to add a css file in public folder as suggested at page 85. Here are the modified the base.html template (templates folder):
`{{define "base"}}

        {{template "head" .}}

{{template "body" .}}

{{end}}`
and the layers.css file:
body {     color: purple;     background-color: #d8da3d }
But the css rendering doesn't work!
Could you please suggest a working code?
Thanks in advance,
Danilo

Hi, the issue is how you served your file..i built something off the example too and this is how i served my css folder:
r := mux.NewRouter().StrictSlash(false)
fs := http.FileServer(http.Dir("templates"))
r.PathPrefix("/css/").Handler(http.StripPrefix("/css/",
http.FileServer(http.Dir("templates/css/"))))
my css file  is placed in a "css" folder which is placed in a "template"  folder(templates/css) and the template folder is the same folder as the main.go file like so:
template
css
file.css
main.go
I hope this helps.

Hi, the issue is how you served your file..i built something off the example too and this is how i served my css folder:
r := mux.NewRouter().StrictSlash(false)
fs := http.FileServer(http.Dir("templates"))
r.PathPrefix("/css/").Handler(http.StripPrefix("/css/",
http.FileServer(http.Dir("templates/css/"))))
my css file is placed in a "css" folder which is placed in a "template" folder(templates/css) and the template folder is the same folder as the main.go file like so:
template/css/file.css
main.go
I hope this helps.

Thanks a lot.


Dash deemed illegal

I use dashed names for my custom types in jsDoc to distinguish them from identifiers in code. jsDoc hs nothing against it. But jsdoctypeparser does:
$ cat <<——— | dox
/**
 * @typedef my-type
 */
———

…/dox/node_modules/jsdoctypeparser/lib/index.js:53
          throw new Lexer.SyntaxError(e.message, typeExp, e.offset);
                ^
TypeLexerSyntaxError: Expected "!", "#", ".", ".<", "<", "=", "?", "[]", "|", "~", [ \t\r\n ], [a-zA-Z0-9_$] or end of input but "-" found.:
y-typ
^

Hmm...
OK, I'm gonna accept - in the identifier token on v2.0.
But, I think - is not good, because a type name identifier should equal to the JavaScript object/variable name and we can not use - as the identifier in JavaScript...
>>> var var-has-hyphen = 'is not accepted';
Uncaught SyntaxError: Unexpected token var

Yeah, I know that – and that’s exactly the reason why I use them :)

to distinguish them from identifiers in code

The feature was released with v2.0.0-alpha.
See online demo.

:+


Newbie here must be missing a step

Hi Vrijraj, I've tried to recreate this website following your README. I have not made any content changes yet but wanted to practice getting everything pulled over and deployed with Firebase since this is well outside my normal expertise. However, once I do firebase deploy it just leads to a page like in the screenshot. Not sure what I've done.

Hi @JessicaRudd
You need to build the app before deploying the website
Use npm run build command


HTML tests: use  for container

Related to #4650.

Changelog Entry

Related to #4650. Added automated accessibility check using axe-core

HTML test: using  for the root container, by @compulim, in PR #4683

Description

In our HTML tests, replace
 with . This is one thing flagged by axe-core.
Design

Specific Changes

Under __tests__/html/, replace-all

 with

[x] I have added tests and executed them locally
[x] I have updated CHANGELOG.md
[x] I have updated documentation

Review Checklist

This section is for contributors to review your work.

[x] Accessibility reviewed (tab order, content readability, alt text, color contrast)
[x] ~Browser and platform compatibilities reviewed~
[x] ~CSS styles reviewed (minimal rules, no z-index)~
[x] ~Documents reviewed (docs, samples, live demo)~
[x] ~Internationalization reviewed (strings, unit formatting)~
[x] ~package.json and package-lock.json reviewed~
[x] ~Security reviewed (no data URIs, check for nonce leak)~
[x] Tests reviewed (coverage, legitimacy)

Closing, should work from upstream.


[FEATURE] Re-create aiohttp.ClientSession after using close() on AsyncOpensearch

Is your feature request related to a problem?
I find it pretty annoying to handle the close() method of AsyncOpensearch. Basically, once closed, the client becomes unusable because every attempt to connect to the Opensearch cluster will yield the error opensearchpy.exceptions.ConnectionError: ConnectionError(Session is closed) caused by: RuntimeError(Session is closed).
What solution would you like?
This happens because close() effectively closes the aiohttp.ClientSession without removing the attribute from AsyncHttpSession. A simple solution would be to write self.session = None right after https://github.com/opensearch-project/opensearch-py/blob/e323ab2435a26ffd21104a2c765f9711b8614c3a/opensearchpy/connection/http_async.py#L279.
What alternatives have you considered?
Re-creating the AsyncOpensearch instance, which bring unecessary overhead?
Do you have any additional context?
How to create a RuntimeError:
import asyncio
from opensearchpy import AsyncOpenSearch
loop = asyncio.get_event_loop()
opensearch = AsyncOpenSearch(...)
async def get_health():
    print(await opensearch.cluster.health())

loop.run_until_complete(get_health())         # Ok
loop.run_until_complete(opensearch.close())   # Closing
loop.run_until_complete(get_health())         # RuntimeError

This is a good catch, definitely a problem. There should be a way to use with for any connection/instance, too. Please contribute!