[QUESTION] Very high memory usage in warp.sim.ModelBuilder.finalize()

I'm running a simulation which involves thousands of bodies interacting. Each body has ~20 collision spheres. I can add these, albeit slowly, using add_body and add_shape_sphere. However, when calling builder.finalize(), memory usage is untenably high; more than 150 GB for ~2k bodies. I think this is because the list of contact pairs is very long.
Is there a way to optimize finalize() to avoid this quadratic growth? In libraries like Chrono the contact pairs are trimmed intelligently, does warp have similar features? I really like the syntax, docs, and native GPU support Warp provides, so it'd be great to be able to perform many-body sims efficiently.

Hi @knauth,
Just to make sure - are you running your simulation with the most current Warp version? We improved the allocation of contact points last week that improves the memory usage: https://github.com/NVIDIA/warp/commit/95937adcad70d48e38019bf3426afe24984f26e8
We will look into a more efficient broadphase collision detection soon and also aim to reduce the memory usage further for these contact scenarios where all bodies can interact with each other. For now, the number of contacts per environment has been limited via collision groups and filters (which are applied statically for the simulation at the beginning when calling ModelBuilder.finalize()).

Just built the lang from the repo, there was some improvement but it's still quite memory-intensive.
Is there any improvement to be had from transitioning to collision spheres to full-body triangle meshes, or another type of collision shape? We are representing many extended tori for a chainmail simulation.
Warp is really cool but we're probably going to look into PhysX for this simulation since collision detection is much more mature there and still GPU-native. Looking forward to what we see from Warp in the future, though- we run a computational geometry pipeline that's really going to benefit from the ability to compile Python to the GPU. Thanks for the help Eric!

Can you estimate the person-hours that would go into implementing such a broadphase collision algorithm? If we can help with an upstream contribution, my company can probably devote some time to this, although we're not experts in rigid-body problems.

Hey @eric-heiden, we took some time this week to play with things and implemented what was, to us, the most natural functionality change to support many-body sims. By removing the creation of the list of valid cartesian products (which grew quadratically), we removed the massive memory requirements of ModelBuilder.finalize(). To replicate that functionality, we tweaked the broadphase collision detection to operate as a 2D kernel over the list of shapes, with the validity of the collision determined at runtime by the kernel itself. Everything else was untouched.
In our testing, this allowed for ~2k bodies of 20 shapes each in under 5GB of VRAM, with ~11s per 1/60th of a second timestep on a 3060. We observed a ~1-2ms performance hit for smaller sims versus the build-time cartesian method.
Right now this removes support for filters and collision groups, but they could be implemented in the kernel for a performance hit. The code (see our fork) is also a mess; our first goal was to prove the validity of the method. Over the next week we'll be polishing this off and separating the functionality.
This is well suited for our use case, i.e. the following scenario:

Many bodies
No collision groups
No filters (all bodies could collide under certain circumstances, but are unlikely to)

Because it's already slow to simulate so many bodies, we're okay with the broadphase performance hit to make this work.
Would the Warp team be open to a PR adding this functionality? We're going to be developing it on our fork but would like to upstream this feature (once polished and well-integrated) to support similar use cases. We are open to suggestions on architecture; I like the idea of composition/inheritance to support adding, say, a CartesianModelBuilder and RuntimeModelBuilder, with changes to the collision and integration kernels to minimize code duplication there.

Hey @knauth, thank you for these contributions!
The results are very interesting how the 2D broadphase kernel can help in those scenarios.
It would be great to get collision groups supported as well, which should be straightforward by turning the shape_collision_group into a Warp array as member of the Model and adding the collision group logic to the broadphase kernel (which shouldn't incur much overhead). For collision filter pairs I made a quick test on how the shape index pairs could be encoded in a bool array of dimension $O(n\log(n))$:
import warp as wp

shape_count = 5
k = int(wp.log2(float(shape_count + 1)))

@wp.func
def pack_ints(a: int, b: int):
    return (a << k) | b

@wp.kernel
def match_pairs(
    pair_filter: wp.array(dtype=bool),
):
    a, b = wp.tid()
    key = pack_ints(a, b)
    wp.printf("key[%d, %d] = %d\n", a, b, pair_filter[key])

filter_pairs = set([(1, 2), (0, 3), (2, 1), (3, 0)])
capacity = shape_count << k
filter_pairs_array = [False] * capacity
for a, b in filter_pairs:
    filter_pairs_array[pack_ints(a, b)] = True

filter_pairs_array = wp.array(filter_pairs_array, dtype=bool)

wp.launch(match_pairs, dim=(shape_count, shape_count), inputs=[filter_pairs_array])

I think for now you can work with your fork and I can do some testing with adding the collision group and pair-wise filtering to your broadphase approach (since you don't need it right now) to better understand the performance difference to the current broadphase handling for different simulation use cases. If the performance is not impacted significantly this could become the default behavior.

@eric-heiden Sounds good- we're happy with this feature set at the moment. Excited to see how filters and groups play with this strategy. For ground contacts, we've left them as-is with build time generation at the moment, because the list only grows linearly. Depending on performance requirements, the ground could likely be integrated into the list of shapes in the 2D broadphase, which would reduce some of the code complexity.
On the same note- is there a performance issue with calling one kernel from another? I noticed the code in count_contact_points is very similar to the first phase of broadphase_collision_pairs. Is it worth consolidating?


OTE Laptop configuration and Slice Management testing

Required for slice manager 5G testing.
-Awaiting general information for continuating

Done


Docs enhancements

Major overhaul of the swmmio documentation that better organizes the API reference documentation, adds a User Guide with examples (including some silly examples), and provides a more concise introduction. I've also fixed most of the docstrings that were incorrectly formatted (although not all of the docstrings have been standardized).
Draft Docs
You can review the unreleased docs here
Also included is a small new feature that allows us to instantiate a swmmio.Model object with a url to a INP file somewhere on the network. This was handy for quickly testing things and made some of the docs more concise. For example, we can work with a big model hosted in the NCIMM-Black-White-Box repo like this
# url to the raw inp file
URL = 'https://raw.githubusercontent.com/SWMMEnablement/NCIMM-Black-White-Box/25a7dc8fc58f67d15954679f294d09b9061766a4/SWMM5_NCIMM/10070_H_Elements.inp'

# instantiate a model object by passing in the URL
model = swmmio.Model(URL)

This will download the remote INP file to a temp location, then instantiate the Model object as usual.
Closes #233
Closes #171
Closes #236

Adding @karosc for some responses too.  @aerispaha can you drop the link in for the draft built docs?

Also going to add @wraseman here for some thoughts too.  He's a fresh SWMMIO user and it would be good to get his reaction.

@bemcdonnell and team, you can see the draft built documentation on readthedocs, [here](You can review the unreleased docs here).
I see that there is a weird thing going on in the Making art with SWMM guide. I think it's because I have some caching going on. I'll fix that.

@aerispaha, for starters, you've done such a nice job on the documentation overhaul!  I like the focus and the new feel - lighter and cleaner.  The only suggestions I have are for the User Guide.  I think it would be useful to make a sub header section (BOLD) how to "Edit model Parameters."  Get the attention of those who are quickly scrolling through that you can use this to Edit/modify models.  Also, for running models, you might cite PySWMM as the vehicle that is used.  Lastly, maybe consider a separate page for notebooks and add it to the TOC.
We can also provide documentation links from www.pyswmm.org if you'd like!
Keep up the great work on this!  I think it is an asset to the community and so are YOU!

Working through the docs, providing feedback on README.md and the first two sections of Getting Started.
README.md

Image: it isn't clear to me what the figure is supposed to be: docs/_static/img/swmm-zoom-graphic.png. Is it a logo? Is it a swmmio output? Would recommend one of the images in the docs (e.g., Visualizing SWMM Models — swmmio 0.7.4.dev0 documentation)
Version number: there are three different version numbers README.md, swmmio.readthedocs.io, and releases. Which is correct?

Getting Started

Dependencies: need to add requests or from swmmio.tests.data import fails

Getting Started: Edit Model Parameters

The last DataFrame is intended to show how the user can modify the model and write it to a new .inp file. However, none of the modified values (i.e., OutfallType, StageOrTimeseries) are visible in the DataFrame shown in the tutorial.

Getting Started: Building Variations of Model

For climate change scenario, I would have expected the stage to increase from 576 to 581 (5ft rise). But instead, it increases to 628.5 ft.
In the same example, the 'baseline' variable gets overwritten in the loop. Since it is the baseline, shouldn't it remain unchanged? I'd recommend setting another variable, like 'slr'.

Picking up from where I left off on the Getting Started section.
Potential revisions to section navigation:

Getting Started: no change
Working with PySWMM: change to "Analyzing Timeseries Data from SWMM". Although PySWMM is used in this section, working with timeseries data from SWMM models seemed to be a stronger theme in this section.
Visualizing SWMM Models: change to "Geospatial Visualization of SWMM Networks". There are visualizations throughout the User Guide, including NetworkX, GeoPandas, swmmio, and matplotlib. I found that this section was focused on spatial mapping.
Making Art with EPA SWMM: trim down or potentially remove. I found this section fun, but I was surprised by how large it was compared to the other sections, especially because it didn't focus on core features of swmmio.

Getting Started > Nodes and Links

Should 'geopandas' be added as a dependency for swmmio?

Working with PySWMM

Potential name change (see above)
Could use a couple sentences clarifying the difference in scope between PySWMM and swmmio
Modify code for clarity?

Original
# Run Simulation PySWMM
with pyswmm.Simulation(model.inp.path) as sim:

  for i, step in enumerate(sim):

    # store each link's flow in a dictionary
    link_flows[sim.current_time] = {
        link_id: pyswmm.Links(sim)[link_id].flow
        for link_id in model.inp.conduits.index
    }

Proposed
# Run simulation PySWMM
def get_flow(link_id):
  return pyswmm.Links(sim)[link_id].flow

with pyswmm.Simulation(model.inp.path) as sim:

  link_ids = model.inp.conduits.index

  for step in sim:
    # store each link's flow in a dictionary
    link_flows[sim.current_time] = {
	      link_id: get_flow(link_id) for link_id in link_ids
  }

Visualizing SWMM Models

Proposed name change (see above)
More subsections to improve navigation

Network Visualization with swmmio
Network Visualization with geopandas
Example 1: Finding Important Outfalls
Example 2: Highlighting a Sub-Watershed

Add axis labels to the geopandas plots for coordinates and legend for invert elevation.

Proposed
# draw the model links and outfalls
ax = model.links.geodataframe.plot(linewidth=model.links.dataframe['Geom1'], figsize=(10,10))
ax.set_xlabel('X Coordinate')
ax.set_ylabel('Y Coordinate')
outfall_plot = model.nodes.geodataframe.loc[outfalls.index].plot('InvertElev', ax=ax, legend=True,
                                                                 legend_kwds={"label": "Invert Elevation", "orientation": "horizontal"})

In 'Finding Important Outfalls' suggest changing # grab the list of outfalls to # grab dataframe of outfalls
For dataframe, perhaps rename 'anscestors' to 'CountUpstreamNodes' for clarity. I find that the NetworkX terminology (i.e., edge, ancestor) is not intuitive in the context of analyzing SWMM models.

Proposed
# get a count of nodes upstream of each outfall
outfalls['CountUpstreamNodes'] = outfalls.apply(lambda x: len(nx.ancestors(G, x.name)), axis=1)
outfalls.sort_values(by='CountUpstreamNodes', ascending=False).head(n=10)

The Art section should be longer, IMO -   After a hard day of H&H modeling, some of us may need to express ourselve with the other side of our brain.


Is it possible to create properties for inline components?

I had an Inline Components, I would like to create some property. I would like to use property since the component will render different UI based on result from web request every  10 minutes
public VisualNode Card(string title)
        => Component.Render(context =>
        {

        });

You can pass your properties as parameters to the method that creates the inline component no? Like the title parameter in you sample code

Yes I can do that. But can that property update a state change if it value change?

You have to re-render the component every 10 minutes passing a different property value


NEXT theme type improvements

Linked Issue
#2360
Description
Consolidates the preset and custom theme types into a single Theme type. Removes properties_dark and enhancements from the type. Updates the properties to match the current v3 structure.

@AdrianGonz97 @ryceg @Hugos68 tagging you for review on this as you guys are our resident Typescript pros. The changes are fairly simple, so hopefully nothing to egregious here!
Just FYI I do expect us to add a few additional properties between now and launch. But I'll do my best to ensure those are addressed evenly between all v3 themes.
I also have /themes/legacy for our v2 and prior themes. Those are just set aside for the moment while we finalize the v3 theme structure. Then I plan to either port those forward or recreate spiritual successors to take advantage of the additional settings.

Was asleep but looks good 😁


Cannot find module sails-auth

The latest version of sails-permissions results in the following error. To get around this, I reverted to version 1.2.1 which seems to works fine at the moment.
Error: Cannot find module 'sails-permissions/api/hooks/sails-auth'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/*/api/hooks/sails-auth.js:4:18)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)

I can confirm this problem.

Yes same for me too.

:+1:

That commit hasn't made any different to the original issue reported.

OK just found the reason. A previous version of sails-permissions must have installed files in api/hooks, and these need to be removed


cmd/cgo: chokes on quoted defines

What version of Go are you using (go version)?
go version go1.10.1 linux/amd64
Does this issue reproduce with the latest release?
I guess, don't see why it wouldn't :P
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/karalabe/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/work"
GORACE=""
GOROOT="/opt/google/go"
GOTMPDIR=""
GOTOOLDIR="/opt/google/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build670060735=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Some C libraries (e.g. openssl) expect/require macros containing a quoted string. However, CGO chokes on quotes failing with malformed argument errors:
package main

/*
#cgo CFLAGS: -DMYDEFINE='"quotedstring"'
*/
import "C"

func main() {}

What did you expect to see?
I expect this file to build/run successfully.
What did you see instead?
$ go run main.go
package main: [...]/main.go: malformed #cgo argument: -DMYDEFINE="quotedstring"

Note, I can hack around this issue by replacing the CGO preamble statement with a direct define
package main

/*
#define MYDEFINE "quotedstring"
*/
import "C"

func main() {}

but the issue is that I would need to inject this into all CGO enabled Go files, opposed to just having a single CGO preamble file for all the sources.

/cc @ianlancetaylor

We take a cautious approach to the characters permitted in #cgo directives, to avoid any possible security implications.  The current restrictions are implemented in code at https://golang.org/src/go/build/build.go#L1368 .
The #cgo CFLAGS directive only applies to the current package, so it does not seem like an enormous burden to add the #define line to each cgo-using file in a single package.
I'm going to close this as working-as-expected.  Please comment if you disagree.

@ianlancetaylor That seems a reasonable explanation and restriction. Perhaps one suggestion would be to add a note about it to https://golang.org/cmd/cgo/ so people have a means to find this limitation.


use start of the week as dayRef

use start of the week as dayRef for better response caching

fixed in d5f6aeba4634d2fd745cddeb896ba9176ebc47b0


Added form to new user handling in sign up

Added a link to google form when register.error && form.$pristine are true for a users submission.

@dmorina, I updated to include that check.

Don't we need the form open in order to enroll new requesters?

I’d previously thought of pushing the sign up form to a secret link and just making the data collection form link directly from the ‘getting started’ link.
This might be more tricky, but might also make things easier for users in the short term.

@dmorina updated with those changes.

@dmorina, Ok, sure. I've added this and filtered out when it is a 403, to avoid 2 errors appearing.
Not sure if thats the right way to go about it, let me know what you think.


美的立柜式空调 Current Energy Consumption、Total Energy Consumption 实体无数据

HA版本
2023.9.2
集成版本
0.3.22
设备类型及型号
Air Conditioner 22251269 (44204)
使用的App
美的美居 ha
问题详细描述
美的立柜式空调
Current Energy Consumption、Total Energy Consumption 2个实体无数据
在HA中无法监测
The logs
No response

Hi, about energy mearurement/consumption, I still have problems on the measurement even trying all three energy consumption analysis settings {"power_analysis_method": 1}, {"power_analysis_method": 2} or {"power_analysis_method": 3}.
The one that behaves a bit better is {"power_analysis_method": 1}, however it seems measure double or three times the energy consumption (like 10KWh in a night of usage where it should be something around 5KWh), also sometimes spiking to very weird numbers, like 400KWh or -400KWh in a night usage.
Could you please have a look at that?
Thanks!


utilities for async dependency injection (GDEV-845)

- Added a class that extends the `dependency_injector`'s Resource provider
   to support classes with a `construct` method that returns an async
   context manager
- Added a class adds an async context manager interface to the
   `DeclarativeContainer` of the `dependency_injector` framework to handle
   the setup and teardown of resources
- Added a helper function that automatically chooses the correct constructor
   for a given class

Thanks a lot @Cito for the nice review.


target="_blank" in social links on homepage

Is there a way to configure it like the code markdown below?
[[params.social]]
key = 0
name = "github"
url = "https://github.com/gohugoio"
icon = "fa-brands fa-github"
newtabopen = true

So that means, that the visitor opens the link in a new tab instead of leaving the my homepage.

No it's not currently possible but it can be easily implemented. It could work similarly to how rel = "me" works currently. I'll welcome a PR, otherwise I will look at it over the weekend

I've already patch this. I'll do a MR today.


[Bug]: displaying "~value into varible" instead of "~value into variable"

Is there an existing issue for this?

[X] I have searched the existing issues

What is the current behavior?
getting this step: Store current Test... value into runtime varible attribute
What is the expected behavior?
should be: Store current Test... value into runtime variable attribute
Steps To Reproduce

Create/Open any Test Case
search for Store current...

Provided fix on my fork: https://github.com/creek23/testsigma
Version
Testsigma Community Edition

@creek23 Thanks for raising this. I see that you are willing to provide a fix for this.
Please raise a pull request for this issue in order to merge to dev branch. Let us know in case of any issues.

+Amit Savyasachi @.***>
Regards,
Rukmangada(KR)
Founder & CEO | Testsigma
https://testsigma.com
https://mailtrack.io/trace/link/bd365f45991e8c30b9f3e8a688c275625e9eefb8?url=https%3A%2F%2Ftestsigma.com%2F&userId=4655759&signature=498641d6e017a0a6
On Wed, Dec 21, 2022 at 11:08 AM Tarunava @.***> wrote:

@creek23 https://github.com/creek23 Thanks for raising this. I see that
you are willing to provide a fix for this.
Please raise a pull request for this issue in order to merge to dev
branch. Let us know in case of any issues.
—
Reply to this email directly, view it on GitHub
https://github.com/testsigmahq/testsigma/issues/244#issuecomment-1360880016,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVOCK6XYDMSRBUXKUBQUMNDWOKJTVANCNFSM6AAAAAATAF7GOU
.
You are receiving this because you were assigned.Message ID:
@.***>

@creek23 seems like expected and current behavior added is same , will you be able to help with little more details on what exactly the issues is, so that i can try to reproduce.

@amitpersonal007 the word variable was misspelled to varible .

The issue has been resolved


Changelists in VCS

VSCode Version: 1.17.2
OS Version: Windows 10

I would like to be able to work with several changelists (like PhpStorm) in VCS.
Is there any plan to implement this feature?

What is VCS?

@joaomoreno Version control system.

Which VCS do you want this for? Git? TFS? Perforce?

I personally use git, but I think for other VCS it is also necessary

So, in git terms, what is a changelist?

I'm not so strong in English to explain this. Therefore, I give a link to the documentation of PhpStorm https://www.jetbrains.com/help/phpstorm/changelist.html


feat(schematics): replace href with routerLink

I use this schematic very often and always replace href with routerLink, it will be better if we make routerLink default.

I agree with @devversion and @crisbeto. I think this is a tiny enough inconvenience that we don't want to change it right now.

Thank @Splaktar, @jelbourn can you reopen the PR, please?

@santoshyadav198613 you should be able to re-open it, but I suggest that you wait until you push up changes to make this optional.

@santoshyadav198613 you should be able to re-open it, but I suggest that you wait until you push up changes to make this optional.

Thanks @Splaktar will do that.

Hi @Splaktar I am not able to change the status of PR, can you open this again. I pushed some changes which I need to verify.

@santoshyadav198613 GitHub is complaining the the branch was force pushed or recreated, so it wants you to open a new PR. Sorry for the inconvenience.

Sure will do that.


[20.03] pythonPackages.fritzconnection: 0.8.4 -> 1.2.1

Motivation for this change
Backport #83451 to 20.03. There were a couple of conflicts that were easily solved.
The compiled package seems to be working, I've run the code mentioned in the official documentation:
$ python test.py
FRITZ!Box 7530 at http://<IP_ADDRESS>
FRITZ!OS: 7.14

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

seems my maintainer entry isn't yet in 20.03. my first PR was merged Feb14, seems I barely missed it ;) You can include 52ac65c0274016ddddc69dc21e67bbff206db199 in this PR to backport it.
lgtm otherwise :+1:


Fix JS bug in MagnaCharta for stacked charts

What
Improve the error handling for stacked charts when the table source HTML does not include the required table header elements.
Why
Without the error handling, not only will the Chart will not be rendered, but any remaining JavaScript will not be run after the error, leading to further issues with other components in the bundled JS file.
Visual Changes

Before
After

If the table header elements are not present, the chart is not rendered, however the "toggleLink" button is still displayed with misleading text
If the table header elements are not present, the chart and toggleLink button are not rendered

Fixes https://github.com/alphagov/govuk_publishing_components/issues/1968

Resolved merge conflict in CHANGELOG.MD and force-pushed the changes.


[Bug] crash opening reader settings

Device information

Tachiyomi version: 2.5.2
Android phone & version: galaxy tab s6 - android 11

Steps to reproduce

Open a chapter
Press the reader setting button

Expected behavior
Reader settings should open
Actual behavior
App crashes
Other details
Recording:
https://user-images.githubusercontent.com/10052873/124905564-75fe3c00-dfe6-11eb-88a0-23a741ffa8a7.mp4
Logs:
2021-07-08-release.txt

I don't know if it is related or relevant but the app is also always reading from left to right and any change in the general reader settings is ignored. I can't test it in the chapter reader settings since it crashes.
https://user-images.githubusercontent.com/10052873/124906047-f45ade00-dfe6-11eb-9cb2-b20df4ee2a5d.mp4

Thanks for all info will look into for the next release

Believe this is related to theme issue and should be fixed in the next release

fixed in 2.5.3


java.net.SocketTimeoutException: timeout

I'm getting timeout exception when trying to complete card transaction.
lipishaClient = new LipishaClient(API_KEY,API_SIGNATURE,BASE_URL);
lipishaClient.completeCardTransaction(transactionIndex,transReference).execute();

Stack-trace
java.net.SocketTimeoutException: timeout
	at okio.Okio$3.newTimeoutException(Okio.java:212)
	at okio.AsyncTimeout.exit(AsyncTimeout.java:288)
	at okio.AsyncTimeout$2.read(AsyncTimeout.java:242)
	at okio.RealBufferedSource.indexOf(RealBufferedSource.java:325)
	at okio.RealBufferedSource.indexOf(RealBufferedSource.java:314)
	at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:210)
	at okhttp3.internal.http.Http1xStream.readResponse(Http1xStream.java:184)
	at okhttp3.internal.http.Http1xStream.readResponseHeaders(Http1xStream.java:125)
	at okhttp3.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:775)
	at okhttp3.internal.http.HttpEngine.access$200(HttpEngine.java:86)
	at okhttp3.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:760)
	at okhttp3.internal.http.HttpEngine.readResponse(HttpEngine.java:613)
	at okhttp3.RealCall.getResponse(RealCall.java:244)
	at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:201)
	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163)
	at okhttp3.RealCall.execute(RealCall.java:57)
	at retrofit2.OkHttpCall.execute(OkHttpCall.java:174)

I solved by increasing timeout value. Just override the timeout value
On Jan 29, 2018 6:18 PM, "Dmytro"<EMAIL_ADDRESS>wrote:

Same error for me, any solutions?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lipisha/lipisha-java-sdk/issues/4#issuecomment-361277880,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANrpo-JgPhd-Gc8JMrZESkHGTlprG4GEks5tPeFYgaJpZM4OzIVE
.

By the way, it will be great if you will increase retrofit versions,
because it's conflicting for example in my android project.
The problem is that I'm using 2.3.0 and lipisha have 2.0.3 and it's pretty
old
On Feb 2, 2018 8:42 PM, "Edijae Crusar"<EMAIL_ADDRESS>wrote:

I solved by increasing timeout value. Just override the timeout value
On Jan 29, 2018 6:18 PM, "Dmytro"<EMAIL_ADDRESS>wrote:

Same error for me, any solutions?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/lipisha/lipisha-java-sdk/issues/4#
issuecomment-361277880>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANrpo-JgPhd-
Gc8JMrZESkHGTlprG4GEks5tPeFYgaJpZM4OzIVE>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/lipisha/lipisha-java-sdk/issues/4#issuecomment-362660495,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANme49CsXMthqELl2seL6TgUePx7pijfks5tQ075gaJpZM4OzIVE
.

@Edijae how did youoverride the timeout value?

By cloning the project and including it in your project. Then you can
follow the method calls until you get to retrofit instance creation. From
there you can override anything you want
On Jun 29, 2018 8:06 AM, "reenezden"<EMAIL_ADDRESS>wrote:

@Edijae https://github.com/Edijae how did youoverride the timeout value?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lipisha/lipisha-java-sdk/issues/4#issuecomment-401248618,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANrpo_EQ_Q86X8jXzhq1_VMRmuvo9duZks5uBbXCgaJpZM4OzIVE
.


Lottery - Account View

https://docs.google.com/document/d/10Dp6okbEkvZcGTwNT4lJ6yda0oe7ihxiDGezRLJjexA/edit
In order to make it easier for users to see the status of their application, we want to make some updates to the “My applications” account page in Doorway. Through these updates, a user should be able to see the listings they’ve applied to, both a summarized view and a link back to closed listings, and also see an indication of if a lottery was run on the summary view. We should also bring over the ability for property managers to manually upload a PDF lottery results for the applicant to download.

Questions:

@slowbot can we also have mobile designs for this?
Are there any issues with us doing this in core as well?
What sequencing makes sense here?
How do we derive the application statuses listed here?


🐛 [BUG]: Clicking same element with multi-select is not unselecting the element

Is there an existing issue for this?

[X] I have searched the existing issues and this is a new bug.

Current Behavior
When multi select is active and a selected element is clicked again, it is not unselected.
Expected Behavior
A selected element should be unselected when multi select is active.
Steps To Reproduce

Hold multi select key
Select an element
Click it again

Relevant log output
No response
Anything else?
No response

Seems to work correctly after further investigation - seems to have been a hot-reload issue 😅


[Network] Change validator of application-gateway ssl-cert create

Description

https://github.com/Azure/azure-cli/issues/15976
password is not necessary when using self-signed ssl file
Testing Guide

None
History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Network

/azp run

/azp run


Rebuild qt515 0 1 h2ad6a9

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Closes https://github.com/conda-forge/qjson-feedstock/pull/13

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin please rerender

@conda-forge-admin please rerender

@conda-forge/qjson this is ready for review

@conda-forge/core there has been no response from the maintainer here for almost two months, I would be grateful if someone can merge this.


Helmet support for meta tags incorrectly merges OpenGraph meta tags

The Open Graph protocol (https://ogp.me) specifies the use of <meta> tags to provide graph data (it's how Facebook does fancy page metadata for links).
The distinguishing attribute for these is property but deduplication of meta tags in the helmet feature does not use that attribute when keying the tags during merge.
Please could you add property to the set of attributes used for meta tag deduplication?

I think the current deduplication logic is overly complicated.
I intend to switch to the logic used by next/head where the key attribute is used to deduplicate tags.

Is there anything I can do to help with this, or should I leave you to it?

It may still take some time before I can get to this.
If you want to submit a pull request to fix this in the meanwhile, I am more than happy to review it.

I've submitted a PR which adds the relevant attribute to the existing deduplicator since I'm not very good at understanding next-js.  I realise it's not ideal, but it does solve my use-case for now.  if you're not OK to merge/release with that tweak then I understand, I can continue to use my fork for now.


Add sample data files for development

Add sample files for development in https://github.com/abhinav-kumar-thakur/learning_e2e/tree/master/sample_files

https://github.com/abhinav-kumar-thakur/learning_e2e#setting-up-tool-with-the-sameple-files


[Diagnostics] Refactor diagnoseAmbiguityWithFixes.

This change refactors diagnoseAmbiguityWithFixes to have a generalized strategy based on the differences between solutions in order to find the ambiguous overload, or other source of ambiguity. The new strategy will:

Aggregate fixes from all of the solutions, grouping "common" ones based on the FixKind and locator.
Identify the ambiguous overload based on the callee anchor of the overload choice and the anchor of the aggregated fixes.
If there is no ambiguous overload, it will diagnose common fixes that appear in all of the solutions.

This change also introduces a new method on CSFix called diagnoseForAmbiguity. This is called when there is no ambiguous overload, but the fix appears in each of the solutions.
Resolves: rdar://problem/55605863

This will conflict with #29734 once merged

@hborla I have left all of your commits intact (expect for changes related to contextual result vs. operator ref), added diagnoseConflictingGenericArguments which handles situations like min(Int(0), Float(1)). Please take a look.

@swift-ci please smoke test

@swift-ci please smoke test


ci: pin Go version

This PR fixes the issue with the Go cache https://github.com/aquasecurity/trivy-aws/actions/runs/10381795510/job/28743812158?pr=209
Before
Successfully set up Go version 1.22.0
go: downloading go1.22.2 (linux/amd64)
/opt/hostedtoolcache/go/1.22.0/x64/bin/go env GOMODCACHE
/opt/hostedtoolcache/go/1.22.0/x64/bin/go env GOCACHE
/home/runner/go/pkg/mod
/home/runner/.cache/go-build
Received 255852544 of<PHONE_NUMBER> ([21](https://github.com/aquasecurity/trivy-aws/actions/runs/10381795510/job/28743812158?pr=209#step:3:22).8%), 244.0 MBs/sec
Received 524288000 of<PHONE_NUMBER> (44.6%), 250.0 MBs/sec
Received 788529152 of<PHONE_NUMBER> (67.1%), 250.3 MBs/sec
Received<PHONE_NUMBER> of<PHONE_NUMBER> (88.5%), 247.8 MBs/sec
Cache Size: ~11[22](https://github.com/aquasecurity/trivy-aws/actions/runs/10381795510/job/28743812158?pr=209#step:3:23) MB<PHONE_NUMBER> B)
/usr/bin/tar -xf /home/runner/work/_temp/9c71bdc4-df57-4f93-a1f7-be1ee071db2b/cache.tzst -P -C /home/runner/work/trivy-aws/trivy-aws --use-compress-program unzstd
Received<PHONE_NUMBER> of<PHONE_NUMBER> (100.0%), 2[24](https://github.com/aquasecurity/trivy-aws/actions/runs/10381795510/job/28743812158?pr=209#step:3:25).1 MBs/sec
/usr/bin/tar<EMAIL_ADDRESS>Cannot open: File exists
/usr/bin/tar<EMAIL_ADDRESS>Cannot open: File exists
/usr/bin/tar<EMAIL_ADDRESS>Cannot open: File exists
...
/usr/bin/tar: Exiting with failure status due to previous errors
Warning: Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Cache is not found

After
Successfully set up Go version 1.22
/opt/hostedtoolcache/go/1.22.5/x64/bin/go env GOMODCACHE
/opt/hostedtoolcache/go/1.22.5/x64/bin/go env GOCACHE
/home/runner/go/pkg/mod
/home/runner/.cache/go-build
Received [13](https://github.com/aquasecurity/trivy-aws/actions/runs/10382449293/job/28745550572?pr=210#step:3:14)0023424 of<PHONE_NUMBER> (12.5%), 124.0 MBs/sec
Received 32296[14](https://github.com/aquasecurity/trivy-aws/actions/runs/10382449293/job/28745550572?pr=210#step:3:15)08 of<PHONE_NUMBER> (31.0%), 154.0 MBs/sec
Received 507510784 of<PHONE_NUMBER> (48.7%), 161.3 MBs/sec
Received 68367[15](https://github.com/aquasecurity/trivy-aws/actions/runs/10382449293/job/28745550572?pr=210#step:3:16)52 of<PHONE_NUMBER> (65.7%), [16](https://github.com/aquasecurity/trivy-aws/actions/runs/10382449293/job/28745550572?pr=210#step:3:17)3.0 MBs/sec
Received 851443712 of<PHONE_NUMBER> (81.8%), 162.4 MBs/sec
Received<PHONE_NUMBER> of<PHONE_NUMBER> (98.4%), 162.8 MBs/sec
Cache Size: ~993 MB<PHONE_NUMBER> B)
/usr/bin/tar -xf /home/runner/work/_temp/6fc419ec-8336-4f65-bec2-a0c42c38[18](https://github.com/aquasecurity/trivy-aws/actions/runs/10382449293/job/28745550572?pr=210#step:3:19)e9/cache.tzst -P -C /home/runner/work/trivy-aws/trivy-aws --use-compress-program unzstd
Received<PHONE_NUMBER> of<PHONE_NUMBER> (100.0%), 141.8 MBs/sec
Cache restored successfully
Cache restored from key: setup-go-Linux-ubuntu22-go-1.22.5-223a8fa6983d09b6092ef1d59e066159c5e09a12fd679c1389a128fb9[19](https://github.com/aquasecurity/trivy-aws/actions/runs/10382449293/job/28745550572?pr=210#step:3:20)d8198

The cache on windows takes a very long time to load, I created an issue in setup-go.

I've left caching disabled on Windows as it was before until the problem is resolved.

@simar7 Can you take a look?


dotnet: May 2024 upgrade

Description of changes
Upgrade dotnet 6, 7, 8 binaries, and dotnet 8 source build to May 2024 releases.
FYI @NixOS/dotnet

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

  Review would be appreciated.  I'm working on 9.0.0-preview.4 separately, since there source-build problems.


Error 7

First time I see this and now it is in every blog I am trying to download

Most of the pictures are not downloaded anymore because of this. Is it only me or everyone?
Please help

I can confirm the issue, almost 100% of the photos are not downloaded:
Error 1: Image size couldn't be retrieved for a post
Internal error description
Error reading JObject from JsonReader.Path ",line 0, position0.

I can confirm the issue, almost 100% of the photos are not downloaded:
Error 1: Image size couldn't be retrieved for a post
Internal error description Error reading JObject from JsonReader.Path ",line 0, position0.

Just a follow up - on TumbleThree it is an Error 7, just to be exact. )))

These numbers aren't that important. The number just tells you how many errors are currently shown in your error bar.
You can click and remove them one by one, or all at once with Ctrl+Click on the cross.
We'll look at the error in the next days.

fixed in new version

Thanks!


on_server_join

Make beymax respond to the on_server_join event with the same handling as startup.  Beymax should immediately check if a primary server is set:

If it is set and it is not the primary server: post the leave message and leave the server
if it is set and it is the primary server: do nothing
if it is not set: print a debug message, but otherwise do nothing

Also simplify the startup sequence by dispatching on_server_join for each server that beymax is joined to at start

closed 9e92515


Allow to add any field type to media

What if we want to add a Checkbox ?
We want to allow admin to add a watermark using our CDN.

Instead of:
->withCustomFields(
    ['copyright' => __('Copyright')],
    overwrite: false
)

Something like this ?
->withCustomFields([
        Text::make(__('Copyright'), 'copyright')->sortable(),
        Checkbox::make(__('Watermark'), 'watermark')->sortable(),
    ],
    overwrite: false
)

We'd also love to add Relationship with media. For exemple: Tagging people in an image.->withCustomFields([
Text::make(('Copyright'), 'copyright'),
Checkbox::make(('Watermark'), 'watermark'),
Tags::make(__('People'), 'people'),
],
overwrite: false
)

A feature like this is implemented in https://github.com/ebess/advanced-nova-media-library#examples:~:text=Images%3A%3Amake('Gallery')
    ->,bar' %3D> %24api->getNeededData()%2C
    ])%3B


add path.Interpolate(perc) method

as discussed in https://github.com/paulmach/go.geo/issues/42
closes https://github.com/paulmach/go.geo/issues/42

Cool, thank you.


Show the actual verified accounts and twitter blue users status on who to follow

Hi
it looks good so far. But, I hope we can check the status easily from who to follow column

Hi @dtantono, I believe this is working already. Those are verified accounts. You should see the $ icon if they are paid users.

If this is still not working for you please feel free to reopen this issue and thanks for posting!

@wseagar understood, So, the blue checkmark means true verified user. Is that so?


fix: naming of packages in install instructions

Hi Josh,
during manual installation (npm install arri @arri/server @arri/schema), npm gave me this error:
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/@arri%2fschema - Not found
npm error 404
npm error 404  '@arri/schema@*' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.

I think the packages in the docs are misspelled, aren't they?
BR David

Oh that is correct. The correct spelling is @arrirpc/schema all of the packages are scoped behind @arrirpc with the exception of the CLI which is simply arri


How to implement onClick Popup's on markers?

I've placed a Popup component inside of a Marker and now I'd like to trigger the popup whenever I click the marker. Could I get some help in knowing how it is done and I also have a hard time using the offset parameter as well.
Any help is appreciated. Thank you.

@mklopets I want to recreate something like this example here and so I needed some help regarding the same.

Not sure what you specifically need help with. You can use app state to figure out whether or not to display a <Popup> component.


Added Support to Deploy Linux VM based on Image with 2 disks

Adding Support to Deploy Linux VMs with 2 Disks.
Possible use case scenarios to be used:
Terraform 11.
VM Image was created with a specific file system layout.
VM image was created with particular LVM configuration or RAID configurations.

I suggest you company upgrade their terraform to version 12 and use the new module at https://github.com/Terraform-VMWare-Modules/terraform-vsphere-vm


Question: proxywasm.GetHttpRequestHeaders() is returning error code = 6

Describe the bug / error
GetHttpRequestHeaders method is retuning is error = 6, I checked the source code but did not find any documentation and code related to error code 6.
What is your Envoy/Istio version?
1.19.6
What is the SDK version?
v0.22.0
What is your TinyGo version?
golang:1.19.10-buster
URL or snippet of your code including Envoy configuration
Additional context (Optional)
2024-04-10 00:58:38
2024-04-09T16:58:38.711061Z	critical	envoy wasm external/envoy/source/extensions/common/wasm/context.cc:1157
wasm log istio-system.istio-tenant-id-wasm-filter: Failed to get request headers: unknown status code: 6	thread=48

Where did you call GetHttpRequestHeaders?
I used to hit issues when was calling it in the wrong stage that is out of these two stages.
// GetHttpRequestHeader is used for retrieving an HTTP request header value
// for given "key". Only available during types.HttpContext.OnHttpRequestHeaders and
// types.HttpContext.OnHttpStreamDone.

https://github.com/tetratelabs/proxy-wasm-go-sdk/pull/451


Linked some elements

TID

I will try making blueprint of actions and reducers.
we MUST talk about it later. I cant believe myself.

edited all conflicts


*: bump up test Go runtime, etcd versions before 3.2 release

Once merged, we can create a branch release-3.2.

lgtm

TestReleaseUpgrade should use version.Version?

@heyitsanthony  PTAL.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@2a4db43). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #7984   +/-   ##
=========================================
  Coverage          ?   74.97%
=========================================
  Files             ?      340
  Lines             ?    26474
  Branches          ?        0
=========================================
  Hits              ?    19849
  Misses            ?     5176
  Partials          ?     1449

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2a4db43...c3a191b. Read the comment docs.


CreateTableTest fails with newer dynamodb-enhanced:2.20.+ version

The "original createTable will lose indices" unit test will fail if dynamodb-enhanced is upgraded to a newer 2.20.+ version.
> Task :test

CreateTableTest > original createTable will lose indices() FAILED
    java.lang.AssertionError at CreateTableTest.kt:31

57 tests completed, 1 failed

It appears https://github.com/aws/aws-sdk-java-v2/releases/tag/2.20.86 is the exact upstream version that causes the test to break. With 2.20.85 the test passes.

Presumably this commit is the issue? It fixes the bug that DynamoDbTable.createTableWithIndices() works around.

Wow, it looks like the SDK maintainers changed their mind about creating the indices by default.  I'll look into a compatibility fix and document that createTableWithIndices is only necessary prior to 2.20.86

I've upgraded the minimum SDK version to 2.20.86, updated the tests, and deprecated createTableWithIndices.  Upgrading to the new 0.2.3 release shouldn't be necessary (since this issue only affects building), but it's available as an option regardless.


Remove weaveworks/weave-kube publishing from release script

Now that git.io/weave-kube points to the main weave repo.

Fixed in 0792f0717d36862eceed0be086e0abdefe2feee4


Can not open the bash after trying to install powerline fonts!

Hi community,
I have tried to install a powerline font into /usr/share/font which apperantlly has broke my bash.
Steps got taken:

Installed zsh
Installed oh-my-zsh
Tried to install a powerline font
Then restart

Result:
Now by trying to open the Bash on Ubuntu on Windows  --> a windows opens and then closes immediately.
What I have done to fix it:
I have uninstalled the bash from windows features and installed it again. Still the same problem.
Windows build number:
14393

Hm...  Interesting failure mode.  Could you try opening a regular Windows command prompt and typing C:\WINDOWS\System32\bash.exe?  That probably won't fix the problem, but it should print out some details about what's wrong.

No further information in command prompt nor in the event viewer! see the attached dude

@keyvanCh how did you try to install them?
If you did apt-install fonts-powerline, it should have worked, but I bet what you did was downloaded them from your browser, then pasted them into your lxss folder, right?

@fpqc you are right. I tried to install it using apt but I did not get the proper result then I downloaded the font file and tried to copy the font to the /usr/share/font.

No no don't do that.

Thanks for reporting the issue.  Can you please share out detailed steps so we can try to repro locally?  For example, I wasn't sure the of the exact steps for downloading the fonts.

Sure.
I believe I followed the steps which are here. Also I think in some point I downloaded the actual font file, .otf, and tried to move it to  ~/.fonts/ and /usr/share/fonts.
Please let me know if you couldn't reproduce the problem, then I can install a windows on a virtualbox and try to reproduce it myself.

@keyvanCH If you are on Win10, you should use Hyper-V (in optional Windows components) for running Windows.  Much better support for Windows-specific features imo.

@fpqc @keyvanCH IIRC Hyper-V also requires Windows Pro or higher, not Home.  Lots of consumer machines have Home.

@aseering I dunno, I also had problems a few versions ago using vbox on a Win10 insider host, that was the other reason I said it.

At work I use ubuntu, that's why I suggested the virtualbox, actually I have already installed the virtualbox and windows 10 on my machine . But if you prefer the Hyper-V I will follow that.   What do I know?  I just say things that aren't important.  The person you should listen to is @stehufntdev

Finally I managed to solve my problem :)
I uninstalled and installed the Ubuntu completely, using following commands in Command Prompt (can be used in power shell too) :

lxrun /uninstall /full
lxrun /install


Discussion about AI based Lia content

Dear @aneesha,
cool project, from my point of view it was an eye-opener. Only text-based representations of learning content are suitable to be (partially) generated by an AI. Would you feel like discussing further aspects in an online meeting:

possible technical developments ("description for lecture prompt engineering")
concepts for merging didactic goal descriptions with your concepts,
integration of methods for aggregating of images and videos too.
Looking forward to your message.
Best wishes
Sebastian

Hi -- Only looking at issues now -- sorry for the delay. Would love to discuss your ideas?


Right clicking a shot and selecting pin or view no longer sets the "loop range end beats" to duration

Should work when you pull!


Make handling of URI labels more consistent

How labels are handled right now:

By default, try fetching label as title from preflabel.org
Optionally, for the table and pivottable plugin, use the 'mergeLabelsWithUris' option (see http://yasr.yasgui.org/doc/) to merge bindings in the SPARQL resultset together (label with be text, URI will be href value)
Another option (presented here https://github.com/YASGUI/YASQE/issues/61) is to fetch the labels by dereferencing the URI

These options are now configurable per output plugin. To make these options more manageable, we should make the following improvements:

Add these option to the main YASR options object, instead of each plugin independently (and, if users want to change behaviour for one particular output plugin, they can overwrite it for that particular one)
Make the options more genereric, i.e. ideally:

YASR.defaults.options.labels {
    source: [preflabel | labelBinding | dereferenceableUri],
    asText: [true|false]//display label as text instead of the URI, or display label as part of the title tag

One catch: async options (preflabel and dereferenceable URIs) won't work for all plugins, e.g. the google charts
This change would probably not be fully backwards compatible, so we'd need to up the major semversion of YASR for this one

Would that mean that I'd have to choose one mechanism? I'd suppose that oftenly some labels can be obtained from the query, while others may require external lookup. The naming convention for mergeLabelsWithURIs is very nice in this regard, because it gives the query author control on column level. But I have no good idea how this could be achieved for different lookup options ...

@LaurensRietveld Would it be possible to turn this into a configuration option that is a list of functions?  The functions would all try to replace IRIs with labels in the result set.  When functions earlier in the list fail, functions later in the list are tried.  Users could add custom functions.  The following standard functions could be offered:

SPARQL query to the same endpoint.  This would even allow you to match on a language tag.
prefLabel.org lookup
IRI dereference
Take a local name postfix from the IRI (after the last # or after the last /)

I'm a bit mixed WRT functions (2) and (3) BTW.  Their coverage seems to be rather limited.

I agree about the coverage of preflabel and dereferencing. Another thing with dereferencing is that we won't always be able to access the URL due to CORS issues.
In general, I'm not in favor of having this many fallbacks. If you've got 100 distinct literals you'd like to show, it would issue (in the worst case) up to 300 http requests for single view. You could of course optimize this to keep the number down, but it would still be way too much.
Tbh I'm inclined to remove the dependency on preflabel, and simply take the local postfix. Thoughts?

+1 for the local postfix
Longterm somebody™ will create a comprehensive lookup service that can translate 100+ entities instantly against a RocksDB backend in 1 HTTP request.

So, we would have three (or four?) ways of displaying URIs:

label from some other column of the query result (mergeLabelsWithURIs)
postfix as link (per config)
full URI as link (should be possible, too)
local lookup (?? - but: could be also part of the query, and has to be, if e.g. different graphs are involved)

Right?

I'm inclined to go for two options:

Display localname (postfix) of IRIs and the full IRI in the same field. Postfix will have the most prominent visibility, where the full IRI is displayed with less emphasis (e.g. smaller font size). This covers your 2 and 3
A custom 'renderField' function that you can add to your config, so that publishers can decide on how they want to render the field. This covers your 1 and 4. This would mean that mergeLabelsWithURIs would be removed. I'll post a snippet on how to set the renderField function to get the same behaviour

Having just these two options would reduce the dependencies of YASR, make the range of configuration options smaller, and increase the rendering flexibiliy

This feature was dropped in the latest release (https://github.com/TriplyDB/Yasgui)
Still, a useful discussion. When we want to make things more human readable again in the new repo, we should revisit this issue


Endless loading

I installed the panel on the host, connected the database, I go to the site and there is always loading

and in db you have 2 error
time datetime(6) NOT NULL DEFAULT current_timestamp(6),
this and
created_at datetime DEFAULT current_timestamp(),
function current_timestamp() is only for timestamp and function current_timestamp(6) change datetime to timestamp and  current_timestamp(6) to current_timestamp()

Endless loading seems like your problem. No one else had a similar problem.

I don’t know I have all the scripts working stably + the host is not a free problem only with this script

I removed the loading animation and everything works, it's something with animation

and please create api tutorial

and please create api tutorial

You have the SOURCE CODE of the API, it is much easier for you to interpret it.


Undefined index: X-Authorization

Hi,
I have been trying to work out what is going wrong here, I have specified the following in the UserController:

protected $apiMethods = [
        'userLogin' => [
            'keyAuthentication' => false,
        ],
    ];

Yet when I call the api endpoint that is assigned to this finction in the controller, I end up with an error like so:

ErrorException in ApiGuard.php line 196:
Undefined index: X-Authorization

Am I missing something here, or is this a bug? I'm using Laravel 5.2.

I know someone made a change that could have affected the parameter passing to the middleware.  Did you add Auto the middleware or routeMIddleware?

I added it to the routeMiddleware, I found the problematic code, will submit a PR later, i am now getting a blank response with no error. Will post details when I post the PR this evening

Sorted both issues, I have created the PR here: https://github.com/chrisbjr/api-guard/pull/94 hopefully that should fix it.

Merged #94


Builds from master should be versioned for public release

This will instead be done by setting a variable in the official build pipeline, so that it's clear if a build is actually meant for release, regardless of whether it originated from master.


Button Toggle Group does not use a divider between buttons

Feature request
Button Toggle Group does not use a divider between buttons.  I tried using the mat-divider but couldn't figure out exactly where to put it.
What is the expected behavior?
That each button in the toggle group be separated by a divider/line as the
Material Design shows.
What is the current behavior?
The buttons are not separated by any type of border.
What are the steps to reproduce?
StackBlitz
What is the use-case or motivation for changing an existing behavior?
The users are having a hard time accepting this long list of text and not realizing they are separate buttons.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
See StackBlitz

This will be addressed when we switch to the new design in https://github.com/angular/material2/pull/12443.

Sorry...  I searched and searched but evidently didn't search well enough or for the right thing.  Good enough.  I look forward to the new design.


test(gateway): slight refactor of some presentation and add some endpoint registration tests

goals: readability, test coverage
Appreciate that the gateway is v unimportant but is exists. I was starting at the top just looking for places to give a clean up and add some unit test coverage and found this.
Mostly trying to make it cleaner to read, then added some tests, also wanted to add a /status/health endpoint just for ease, i would want this as a node operator if i was running with --gateway for whatever reason
Also took liberty to take some error handling code out of writeError that would never execute. In trying to write a test to trigger the json.Marshal error case, i realized that as err.Error() always returns a string it could never trigger json.Unmarshal to fail without panic before even getting there, so removed that code path.
i might revisit this and give it another refactor at some point soon, unless we're planning to remove this completely?
on to next area

Codecov Report
Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (7f51c59) 50.94% compared to head (dac865c) 51.47%.
Report is 2 commits behind head on main.

Files
Patch %
Lines

api/gateway/health.go
0.00%
7 Missing :warning:

api/gateway/util.go
71.42%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2939      +/-   ##
==========================================
+ Coverage   50.94%   51.47%   +0.52%
==========================================
  Files         176      177       +1
  Lines       11190    11221      +31
==========================================
+ Hits         5701     5776      +75
+ Misses       4986     4947      -39
+ Partials      503      498       -5

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


Fix brow LM indices left/right

I don't know if this is 100% correct, but it seems the brow landmark point indices are mirrored, or at least do not match the pupil side, which messes up the pupils solve because the brows are the bounding box of the pupils.
I don't know if it matters but I'm using holistic latest model.
In my testing I found the pupils math is completely messed up because of this bug -- it is "corrected" by some additional averaging of both eyes, which "fixes" the error but adds a lot of jitter to the pupil tracking. https://github.com/yeemachine/kalidokit/blob/73f202663c32673f7e21c8869bf02f81223bc340/src/FaceSolver/calcEyes.js#L97

IMO once this bug is fixed, the pupils math can be revised to be cleaner and more accurate.

This is the diagram I am referencing, hopefully it is up to date.
https://raw.githubusercontent.com/tensorflow/tfjs-models/master/face-landmarks-detection/mesh_map.jpg

Thanks, I was looking for that. I wish it were greppable though, like an SVG, because I think the brows were flipped when I was visualizing it.

So if there are issues with the pupils, perhaps the points just need to be updated?

Yes, I'll try some more things, since the pupils behave very weird for me.
I still think the brows are flipped in my testing though and this PR fixes the flip.

Thanks! merged.

Actually I think I was wrong on this, the brow was correct but the eye was not. I'll show some samples and make another PR.
Thanks for your work on this!

whoops. rookie mistake of not checking more thoroughly. ive reverted things on my end as well as update the js comments


Preview appinstaller link is broken

Before you start...

[X] Have you refreshed the page? You might be using an old version of the site.
[X] Have you checked for an existing issue on this topic? If there is one, post a comment on it instead.

What browsers are you seeing the problem on?
Firefox, Chrome, Microsoft Edge, Firefox Beta/Dev/Nightly, Chrome Beta/Dev/Canary, Microsoft Edge Beta/Dev/Canary
Description
(https://files.community/appinstallers/Files.preview.appinstaller) points to preview version <IP_ADDRESS> from Oct 5, 2022, not the latest 2.4 announced on Nov 15, 2022.
Steps To Reproduce
No response
Expected behavior
(https://files.community/appinstallers/Files.preview.appinstaller) to point to the latest preview version, whatever that might be. Preferably automatically generated at each preview release.
Relevant Assets
No response

What happens when you open the appinstaller file to install the app, does it install the correct version?

No, it installs version <IP_ADDRESS>.

Hello, I see the issue still hasn't been solved?
Why has the maintainer closed the issue without a proper response?
Since I can't reopen this, I'll be creating a new issue..


Filter within a given date

In previous versions of Prisma we could pass this 2020-01-01 inside a resolver if we had a DateTime type and then use it to query items from database.
I'll provide an example of what I want to be able to do.
So suppose we have many different rows inside our table, which has a createdAt column. There is multiple rows which have the same date of creation but the time is different, like so 2020-01-01T21:00:00, 2020-01-01T00:00:00 and so on. If I'll pass 2020-01-01 I'll get all of those rows which have a 2020-01-01 as a date. Besides that it would be nice to be able to pass an array of dates like so [2020-01-01, 2020-01-02] and use it inside in parameter so it would return all of the rows within those days with all possible time values.
I hope this is a clear explanation. Would like to hear some comments on that.

This is already possible, though not as a string:
  const data = await client.post.findMany({
    where: {
      createdAt: {
        gte: new Date("2020-01-01"),
        lt:  new Date("2020-01-02")
      },
    },
  });

We only support ISO formatted timestamps as string inputs.


use decorator with vite-plugin-electron

vite-plugin-electron can supports compiling code with decorators? If yes, how do I configure it

This feature should be use the corresponding Vite  plugin.


[FEAT] Execute Macro

Is your feature request related to a problem? Please describe.
I use this module as a functional replacement for the macro hotbar. Unlike the hotbar, however, there's currently no way to execute a sidebar macro aside from left-clicking to open the macro editor and then clicking Execute Macro. And even this isn't possible if the player doesn't have owner permissions for the macro.
Describe the solution you'd like
Maybe an option in the settings to override the default left-click functionality so that left-clicking a sidebar macro executes it instead of opening the editor? This would also require adding a context menu option to open the editor, I guess.
Describe alternatives you've considered
Barring that, maybe just adding a right-click context menu option to execute the macro? I've plugged this functionality into my local copy of the module, and it seems to work pretty okay.

If you have the core written, would you be interested in making a PR?
I'm fairly busy so I won't be able to get to this for a few weeks otherwise.

I'm definitely interested in this and I've already briefly brainstormed it actually. I was thinking of replacing the default click, but I like the context menu idea better.

@patrickburk1988 Are you still using Foundry V0.8.x? On V9 I get the following error when I try to use your version of this module
sidebar-macros.js:121 Uncaught TypeError: Cannot read properties of undefined (reading 'data')
[Detected 1 package: sidebar-macros]
    at Object.condition (sidebar-macros.js:121)
    at ContextMenu.render (foundry.js:43494)
    at HTMLLIElement.<anonymous> (foundry.js:43437)
    at HTMLElement.dispatch (jquery.min.js:2)
    at HTMLElement.v.handle (jquery.min.js:2)
condition	@	sidebar-macros.js:121
render	@	foundry.js:43494
(anonymous)	@	foundry.js:43437
dispatch	@	jquery.min.js:2
v.handle	@	jquery.min.js:2

@ravingdragoon I think it's because it needs documentId instead of entityId.

@patrickburk1988 Are you still using Foundry V0.8.x? On V9 I get the following error when I try to use your version of this module

Yeah, I'm still using 0.8.9.

@ravingdragoon I think it's because it needs documentId instead of entityId.

Yeah, that fixed it for me..

Implemented in 9cf9bcf34d47e148d8f743dfd7d7843fd0160715. Thanks for the help with this!


openshift: web console health depends on infra node running

Even though we run the webconsole as part of the master node
FAILED - RETRYING: command (7 retries left).
FAILED - RETRYING: command (6 retries left).
FAILED - RETRYING: command (5 retries left).
FAILED - RETRYING: command (4 retries left).
FAILED - RETRYING: command (3 retries left).
FAILED - RETRYING: command (2 retries left).
FAILED - RETRYING: command (1 retries left).
fatal: [localhost]: FAILED! => {"attempts": 30, "changed": true, "cmd": "/usr/bin/oc get nodes -l \"region=infra\" | wc -l", "delta": "0:00:01.313789", "end": "2018-05-30 18:21:41.381096", "failed": true, "rc": 0, "start": "2018-05-30 18:21:40.067307", "stderr": "No resources found.", "stderr_lines": ["No resources found."], "stdout": "0", "stdout_lines": ["0"]}

PLAY RECAP *********************************************************************
localhost                  : ok=52   changed=25   unreachable=0    failed=1

^C
[root@ocp-master-38049041-0 ~]#  oc get no
NAME                     STATUS    ROLES     AGE       VERSION
ocp-compute-38049041-0   Ready     compute   4m        v1.9.1+a0ce1bc657
ocp-master-38049041-0    Ready     master    7m        v1.9.1+a0ce1bc657
[root@ocp-master-38049041-0 ~]# oc get po --all-namespaces
NAMESPACE               NAME                          READY     STATUS    RESTARTS   AGE
default                 docker-registry-1-deploy      0/1       Pending   0          5m
default                 router-1-deploy               0/1       Pending   0          6m
openshift-infra         bootstrap-autoapprover-0      1/1       Running   0          6m
openshift-web-console   webconsole-84dd4bcb4d-qf76g   1/1       Running   0          5m

@jim-minter @pweil-
/label orchestrator/openshift

looks like strange flake. I think default node selector is infra? no?


add seupervisorLockedError

Connects-To: #20
Change-Type: patch

@MoranF Can you fix the typo in this commit message please?


Tsallis entropy

Tsallis (non-logarithm) entropy.
References
Tsallis, C. (1988). Possible generalization of Boltzmann-Gibbs statistics. Journal of statistical physics, 52(1), 479-487.

I've heard that most people call this "statistical complexity ", maybe we should mention it on the docstring.


Date function doesn't escape sequences

Problem:
The date function should allow for an escape sequence to have text put inside of the output. This is documented in twig from sensio.

To escape words and characters in the date format use \ in front of each character:
{{ post.published_at|date("F jS \\a\\t g:ia") }}

Solution:
Allow for some kind of escape sequence. Even if \\ isn't allowed for some technical reason; find a sequence that can be allowed and document that it is available.

This future work well. You need to use \\ before each character you wont to escape:
{{ "Tue Aug 14 08:52:15 +0000 2007"|date("F jS \\a\\t g:ia") }} -> August 14th at 12:52pm
\\a\\t -> at
Or I misunderstood your question?

Wow. If I try to do that in tests - it works well, but it broken in templates

Yes \\ before a character to escape. As documented in the sensio docs for the filter. This allows us to form more textual date outputs.
On only being broken in templates... perhaps that means the parser of templates is doing something to modify the expected input to the function.

Where exactly are you encountering this issue? I'm not sure what you mean by it being "broken in templates". Please provide a way that the issue can be reproduced.

This works:
it("should escape words and characters in the date format [twig({data})]", function () {
    var template = twig({data: '{{ "Tue Aug 14 08:52:15 +0000 2007"|date("F jS \\a\\t g:ia") }}'});

    template.render().should.equal( "August 14th at 12:52pm" );
});

This fails:
it("should escape words and characters in the date format [twig({ref})", function () {
    twig({
        id: 'escape-date-format',
        path: 'test/templates/escape-date-format.twig',
        async: false
    });

    // Load the template
    twig({ref: 'escape-date-format'}).render({}).should.equal("August 14th at 12:52pm");
});

Hmmm
If I change escape-date-format.twig to
{{ "Tue Aug 14 08:52:15 +0000 2007"|date("F jS \a\t g:ia") }}

Tests pass


Feature/add working directory override

Description

Added a WorkingDirectory option to allow us specify another directory to execute daprd.exe in. The requirement for this is to allow some components use relative file paths.
Updated one of the example projects to start a sidecar earlier in the startup flow in order to be able to use secretstores components during startup to load secrets or configurations from them.

Issue reference
https://github.com/man-group/dapr-sidekick-dotnet/issues/57
https://github.com/man-group/dapr-sidekick-dotnet/issues/58
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Extended the documentation where possible

Many thanks for the contribution! The one thing I'd request is rather than change the default ControllerSample I think the custom secrets/startup example should be in a new sample project, specifically named to indicate it represents a pattern for loading secrets at startup and with a README alongside it. In the future we will look at supporting secrets pre-loading natively in the AddDaprSidekick() method rather than using the builder, as the latter is really intended for non-ASP.NET Core apps.

Many thanks for the contribution! The one thing I'd request is rather than change the default ControllerSample I think the custom secrets/startup example should be in a new sample project, specifically named to indicate it represents a pattern for loading secrets at startup and with a README alongside it. In the future we will look at supporting secrets pre-loading natively in the AddDaprSidekick() method rather than using the builder, as the latter is really intended for non-ASP.NET Core apps.

not a problem at all, ill update it in the next couple of days
as for your suggestion that would be better, however probably a new internal process or component would be required as it needs to happen a lot earlier than the hosted service
regardless ill post back when i update this PR

@badgeratu thanks for approving and merging this
QQ i there a plan for the next release? thanks

It’s released now 😊  https://github.com/man-group/dapr-sidekick-dotnet/releases/tag/v1.2.2
From: Ilias @.>
Sent: Monday, October 9, 2023 10:19 AM
To: man-group/dapr-sidekick-dotnet @.>
Cc: Simon Jones @.>; Mention @.>
Subject: Re: [man-group/dapr-sidekick-dotnet] Feature/add working directory override (PR #59)
@badgeratu https://github.com/badgeratu  thanks for approving and merging this
QQ i there a plan for the next release? thanks
—
Reply to this email directly, view it on GitHub https://github.com/man-group/dapr-sidekick-dotnet/pull/59#issuecomment-1752625729 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABG36I6TVR6QG3GNDSHGWILX6O6OTAVCNFSM6AAAAAA5KCGVOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSGYZDKNZSHE .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/ABG36IZWGYYPGLQJ5PETW43X6O6OTA5CNFSM6AAAAAA5KCGVOCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIO3ZEC.gif Message ID: @.*** @.***> >

It’s released now 😊 https://github.com/man-group/dapr-sidekick-dotnet/releases/tag/v1.2.2 From: Ilias @.> Sent: Monday, October 9, 2023 10:19 AM To: man-group/dapr-sidekick-dotnet @.> Cc: Simon Jones @.>; Mention @.> Subject: Re: [man-group/dapr-sidekick-dotnet] Feature/add working directory override (PR #59) @badgeratu https://github.com/badgeratu thanks for approving and merging this QQ i there a plan for the next release? thanks — Reply to this email directly, view it on GitHub <#59 (comment)> , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABG36I6TVR6QG3GNDSHGWILX6O6OTAVCNFSM6AAAAAA5KCGVOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSGYZDKNZSHE . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ABG36IZWGYYPGLQJ5PETW43X6O6OTA5CNFSM6AAAAAA5KCGVOCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIO3ZEC.gif Message ID: @.*** @.***> >

Legend!
FYI I had a quick look to see if I could relatively easily kick off the svc earlier, didn't go too far, I'll have another look next weekend, otherwise the approach in the sample has been working fine for us for a bout a week or so now


Suggestion: Multiple handleFindAll calls should override the previous mock

In our app, after a sucessfull login, we always get redirected to the same route, let's say /cars.
Due to that, each test that involves being logged in requires us to mock handleFindAll('car', 0), just so it doesn't fail. It would make sense for our standard integration module config to include a handleFindAll('car', 0) in the beforeEach. However, if we do that, then there's no way to mock handleFindAll in tests that require us having actual car data returned.
Because of that, I feel that subsequent "handleFinds" should overwrite the previous calls. It makes sense with handleFindAll but it might also make sense with handleFind if we provide an id and the id is identical to a previous one.
Any thoughts on that?

Well, let's see .. I think what you just said, was that most of the time you don't need cars, so you just stub the find('cars') with  => handleFindAll('cars', 0)   in the beforeEach for all test just to get that covered.
But sometimes, you do want to have cars. So you kind of want to cancel that and do handleFindAll('cars', 2 )
2 and 1/2  thoughts:

You could just do:  handleFindAll('cars', 2 ) for all tests so you always have cars.
You have to be more clever in how you set up your tests to allow you to determine what is setup ( can't use beforeEach for everything if it really is not for everything .. but just a whole lot )
I struggle with this every time I write tests. ( your exact problem comes up often ).
I have done something like get rid of beforeEach call like you have and have a method which does the setup so each test has the exact setup it needs. It seems like this is the best approach ( it's what I do )
2 1/2 .. You could do a mockjax.clear() before that test that needs to do the same call again. then do handleFindAll('cars', 2 ) to get your 2 cars.

I think I have this fixed in the new version 2.3.2
take a look at the last test in this file: users-view-test.js  .. let me know if that does what you want

@danielspaniel Yes, that test seems to do exactly what we would like, so you can consider this closed.


CIT Resewn

Mod name
CIT Resewn
Curseforge link
https://www.curseforge.com/minecraft/mc-mods/cit-resewn
Other links
https://github.com/SHsuperCM/CITResewn/issues
What it does
Adds support for Optifine's custom item textures
Why should it be in the modpack
More Optifine parity, supports Sodium, alternative to #77
Why shouldn't it be in the modpack
"mod receives updates faster and more frequently through modrinth", some features unsupported
Categories
Graphics optimization, Works like Optifine/Bedrock Edition/Forge/etc
Additional details
Tested with https://www.curseforge.com/minecraft/texture-packs/justtimms-custom-additions

@Madis0 What about Custom Entity Models (CEM)?

CIT Resewn provides support for custom items (things in the inventory), CEM provides support for custom entities (mostly mobs).

CIT Resewn provides support for custom items (things in the inventory), CEM provides support for custom entities (mostly mobs).

Ohhhhhh, thank you!


Call sign and frequency highlighting

Hi all,
it seems that syntax highlighting has some problems correctly highlighting call signs and frequencies, e. g.:

For the callsign, it seems that only the digit and the next character are highlighted. With the frequencies, I can't see any pattern. Any idea how to resolve this?

What interesting timing of this issue. I only just noticed it last night when I was looking at some logs. The highlighting with my theme is much more subtle so I missed this in my initial release. I've just pushed 0.0.2 release that should fix this. Let me know how it goes.

The highlighting with my theme is much more subtle so I missed this in my initial release. I've just pushed 0.0.2 release that should fix this. Let me know how it goes.

I can confirm that when an item is highlighted, it is the time of the QSO and no longer parts of the callsign. Thank you!
However, this only works if the time precedes the frequency (1). If the frequency comes first, then no highlighting takes place (2):

However, both sequences are valid notations, which also generate valid logs:

I also noticed that of the header fields, all but one (mypota) of the ones listed here are highlighted:

Would you like to review these two points?

I've also added in date folding in 0.0.3 - would be nice to get your feedback on that as well

I can confirm that date folding works. Nice feature!

Thanks for the feedback! I'll try to get these sorted out

0.0.5 should fix the two issues above.
Ok, that was fun. I've added in callsign syntax highlighting as it was a requirement to work out what was left and what was right of the callsign. I think I'm using roughly the same method as flecli so it should line up but there maybe some edge cases. I've also added gridsquares. there's a few edge cases where that might not work perfectly as well but it should capture most use cases.

Ah this is just an example log from the flicli repo. I'll have a think about the name/@ syntax next release - I'd probably need to install the official client to see how the syntax highlighting works exactly


Does not work with rsolr 2

After upgrading to rsolr 2.0.2, tests on my Jenkins server are failing (yet are succeeding locally). Any test using @search results in
  RSolr::Error::Http - 503 Service Unavailable
  Error: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  <html><head>
  <meta http-equiv="Content-Type" CONTENT="text/html; charset=utf-8">
  <title>ERROR: The requested URL could not be retrieved</title>
  <style type="text/css"><!--
   /*
   Stylesheet for Squid Error pages
   Adapted from design by Free CSS Templates
   http://www.freecsstemplates.org
   Released for free under a Creative Commons Attribution 2.5 License
  */

  URI: http://localhost:8983/solr/test/update?wt=json
  Request Headers: {"Content-Type"=>"application/json"}
  Request Data: "{\"delete\":{\"query\":\"*:*\"}}"

  Backtrace: (eval):2:in `post' (RSolr::Error::Http)
  (eval):2:in `post'

Reverting to rsolr 1.1.2 works. Using the latest from the sunspot_test master branch does not work. solr.log shows no errors, but only shows the requests to /admin/ping.
I have tried clearing out the solr directory and copying from sunspot_solr-2.2.7/solr/solr/. I have also tried patching wait_until_solr_starts to sleep for 5 seconds first.
Here is my solr.log.

This is a problem with rsolr 2 and no_proxy. The ping URL worked because it does go through rsolr 2.
https://github.com/rsolr/rsolr/issues/182


Running Latest Windows Version Causes Forced Restart

Running the Version 1.0 exe on my machine (CPU is an Intel 4790K, I have a GPU but am running the GUI version) consistently causes a forced restart of my device a few moments after clicking "Run Protection". I downloaded the .exe file about fifteen minutes ago, if there is some sort of issue with the current version. I was able to run one of the early versions on the same machine a little over a year ago.

Oh no, I apologize for this. What version of windows are you using?


add criteria for configuring priorities

Could you add content about behaviour of user define configuration file and embed default configuration file.

Note: This document serves as the priority definition for global and specific items, and does not define any other behavior


64-bit integers are not transformed into strings.

In this example [1] I expect both foo and quux to be represented as a string, which is not currently the case.
Checked with serde_json 1.0.17 and on the playground.

Woops, disregard that, was confused.


Component | XYLables: Setting stroke via CSS variables

Fixes #98. Stroke can now be set via CSS variables:
.stackBarLabels g[alert] {
  --vis-xy-label-stroke-color: white;
  --vis-xy-label-stroke-width: 1px;
}

.stackBarLabels g[alert][cluster] {
  --vis-xy-label-stroke-width: 2px;
}

@reb-dev Good point, I was also thinking about it. But I'm planning some additional work for this component soon, so we can cover it then.


Possible bug introduced in previous PR

this build is failing with:
200416-02:16:22,290 nipype.workflow CRITICAL:
	 fMRIPrep failed: Does not support two inline functions in series ('def _pop(inlist):
    if isinstance(inlist, (list, tuple)):
        return inlist[0]
    return inlist
'  and 'def _pop(inlist):
    if isinstance(inlist, (list, tuple)):
        return inlist[0]
    return inlist
'), found when connecting fmriprep_wf.single_subject_100185_wf.anat_preproc_wf.brain_extraction_wf.copy_xform to fmriprep_wf.single_subject_100185_wf.func_preproc_task_machinegame_run_02_wf.inputnode. Please use a Function node.
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.7/site-packages/fmriprep/cli/run.py", line 86, in main
    fmriprep_wf.run(**config.nipype.get_plugin())
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/workflows.py", line 622, in run
    execgraph = generate_expanded_graph(deepcopy(flatgraph))
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 975, in generate_expanded_graph
    graph_in = _remove_nonjoin_identity_nodes(graph_in, keep_iterables=True)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 854, in _remove_nonjoin_identity_nodes
    _remove_identity_node(graph, node)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 881, in _remove_identity_node
    _propagate_internal_output(graph, node, field, connections, portinputs)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 939, in _propagate_internal_output
    "node.".format(src_func, dst_func, srcnode, destnode)
ValueError: Does not support two inline functions in series ('def _pop(inlist):
    if isinstance(inlist, (list, tuple)):
        return inlist[0]
    return inlist
'  and 'def _pop(inlist):
    if isinstance(inlist, (list, tuple)):
        return inlist[0]
    return inlist
'), found when connecting fmriprep_wf.single_subject_100185_wf.anat_preproc_wf.brain_extraction_wf.copy_xform to fmriprep_wf.single_subject_100185_wf.func_preproc_task_machinegame_run_02_wf.inputnode. Please use a Function node.

Potentially introduced by this change in sMRIPrep.
The problem has gone unnoticed because of previously cached results, most likely. It is also possible that this is only happening on my dev branch.

https://github.com/poldracklab/fmriprep/pull/2073 will fix this


Issue with creating Main.unity

Hey! The main.unity file seems to be broken on the docs here? https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/getting-started-with-calling?tabs=uwp&pivots=platform-unity
When I use it get this

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

ID: f4267f1d-40a1-bd0e-3954-0986657f3930
Version Independent ID: ce985f80-0851-4464-d553-4bfb0a2c5424
Content: Quickstart - Add voice calling to your app - An Azure Communication Services quickstart
Content Source: articles/communication-services/quickstarts/voice-video-calling/getting-started-with-calling.md
Service: azure-communication-services
Sub-service: calling
GitHub Login: @tophpalmer
Microsoft Alias: chpalm

Hi @salmanmkc , thanks for bringing this to our attention. I have assigned the issue to the content author to evaluate and update as appropriate.
cc: @tophpalmer

@Grace-MacJones-MSFT can you give an update on this please?


startpos switcher with left/right key

Basically when 4.6.4 version was release, the startpos switcher with left and right key, stop working

now it's the Q/E keys


Maybe fact checking the questions

I found some errors in both audios and questions, so maybe checking for more in the rest for the ones I have missed

Solved with PR #41


Speech is not recognized on HoloLens at random times (SPXERR_START_RECOGNIZING_INVALID_STATE_TRANSITION)

Describe the bug
We are using Speech Recognition in several projects, and starting sometime around August/September (maybe new update of OS, maybe update of library) it started to fail randomly. When calling StartRecognition, following error is given:
"0x13 (SPXERR_START_RECOGNIZING_INVALID_STATE_TRANSITION)"
Reinstalling the application always helps. Restarting the device - not so often. Error also seem to randomly go away after some time. It has been reported on several devices in several different locations. It started popping up without on production version of our store application without any updates by the users.
We also received information that switching audio setting to mono helped to unblock the feature. Changing used microphone by connecting a bluetooth device also fixed the issue.
To Reproduce

Recreate Speech Recognition as in tutorial for Unity.
Call StartRecognition
Exception will be thrown (not always)

It is hard to pinpoint what exactly is producing this issue, because the behavior seemed very random. I also repeat that it started to occur without application update, so it does not seem to be a code error (but it could have started after OS update)
Expected behavior
Start recognition does not throw exception and correctly captures speech.
Version of the Cognitive Services Speech SDK
1.13, but it also happened on earlier versions
Platform, Operating System, and Programming Language

OS: Windows Holographic 10.0.19041.1117, firmware version 119<IP_ADDRESS>609.F
Hardware - HoloLens 2, ARM, built from Unity 2019.4.0f1 using IL2CPP backend
Programming language: C#

Additional context
Here is a stack trace:
Exception with an error code: 0x13 (SPXERR_START_RECOGNIZING_INVALID_STATE_TRANSITION)   at Microsoft.CognitiveServices.Speech.Internal.SpxExceptionThrower.ThrowIfFail (System.IntPtr hr) [0x00000] in <00000000000000000000000000000000>:0 \r\n  at Microsoft.CognitiveServices.Speech.Recognizer.StartContinuousRecognition () [0x00000] in <00000000000000000000000000000000>:0 \r\n  at UnityEngine.Experimental.LowLevel.PlayerLoopSystem+UpdateFunction.Invoke () [0x00000] in <00000000000000000000000000000000>:0 \r\n  at Microsoft.CognitiveServices.Speech.Recognizer.DoAsyncRecognitionAction (System.Action recoImplAction) [0x00000] in <00000000000000000000000000000000>:0 \r\n  at Microsoft.CognitiveServices.Speech.SpeechRecognizer.b__29_0 () [0x00000] in <00000000000000000000000000000000>

Could you collect detailed logs while preproducing this error condition on a device?
Note: I would expect a different error if it was a cert issue, but since you are hitting this is on HL2, I know there is an current issue where some HL2 devices do not trust the new Digicert Baltimore G2 CA out of the box.  The devices will download an updated trusted root CA list eventually, but if you open edge and browse to this https URI, that should force the device to download a current root CA list to validate the root CA that is the parent of the certs azure services have been changing over to.  It wouldn't hurt to try doing this on a device hitting your issue, and see if it resolves the issue. and if you can send us details logs files from your repro case, we can look at what internal state transition is being hit unexpectedly.
Thanks...
https://global-root-g2.chain-demos.digicert.com/info/index.html

@rfurmaniak could you share your Unity script or sample which reproduces the issue ? Are you using streams input with push/pull stream API and Unity's microphone or do you create audio config via default microphone using Speech SDK?

@jhakulin Yes, here is the script that we are using for capturing speech:
`public class AzureSpeechToText : Singleton
{
[SerializeField] [Tooltip("Sets language to match system language. Default language is english")]
private bool autoSetLanguage = true;
    public SpeechRecognizer Recognizer { get; private set; }
    private SpeechConfig _currentConfig;

    //language selection: "en-GB", "en-AU", "en-US", "de-DE", "pl-PL", "hi-IN", "ko-KR", "fr-FR", "es-ES"
    private string _currentLangCode = "en-US";

    private void Start()
    {
        if (autoSetLanguage)
            SetLanguage(CultureInfo.CurrentUICulture.IetfLanguageTag);

        var speechConfig = AppSettings.Instance.SpeechConfig;
        _currentConfig = SpeechConfig.FromSubscription(speechConfig.SubscriptionKey, speechConfig.Region);
        _currentConfig.SpeechRecognitionLanguage = _currentLangCode;
    }

    private void CreateRecognizer()
    {
        if (Recognizer != null)
        {
            Recognizer.Dispose();
            Recognizer = null;
        }

        Recognizer = new SpeechRecognizer(_currentConfig);
    }

    private async void OnDisable()
    {
        if (Recognizer != null)
            await EndRecognizing();
    }

    /// <summary>
    /// Starts speech recognition.
    /// </summary>
    public async Task StartRecognizing()
    {
        CreateRecognizer();
        await Recognize();
    }

    /// <summary>
    /// Finishes speech recognition
    /// </summary>
    public async Task EndRecognizing()
    {
        if (Recognizer == null)
            return;

        await PauseRecognize().ConfigureAwait(false);
        Recognizer.Dispose();
    }

    /// <summary>
    /// Starts recognizer
    /// </summary>
    /// <returns></returns>
    public async Task Recognize()
    {
        await Recognizer.StartContinuousRecognitionAsync();
    }

    /// <summary>
    /// Stops Recognizer
    /// </summary>
    /// <returns></returns>
    public async Task PauseRecognize()
    {
        await Recognizer.StopContinuousRecognitionAsync().ConfigureAwait(false);
    }

    private void SetLanguage(string newLangCode)
    {
        _currentLangCode = newLangCode;
    }
}`

Other script that handles user input only calls StartRecognizing() - and this call will produce the exception.
So, as you can see, we are using default microphone and Speech SDK.
@BrianMouncer thank you for your response, we will pass over this link to our support and incorporate detailed logs in the next test version of our application and try to collect those. I will paste them here once we acquire them.

Additional context: capturing speech always works in Unity Editor.

speech_logs.txt
Here is a detailed speech log

@rfurmaniak The problem based on your log is related to certificate verification. SSL routines:ssl3_get_server_certificate:certificate verify failed
There is quite recent change in Speech SDK certificates used by service and that has caused issues with HL2 devices.
Microsoft is working on updating the required certificate to HL2 OS images. For next steps, could you try following:

Make sure you have the latest OS update done for HL2
Visit https://global-root-g2.chain-demos.digicert.com/info/index.html in Edge of your HL2 device
Try the repro again

@rfurmaniak Is this issue still valid for you or was it resolved by the suggested steps? Please update.

@pankopon It seems that the issue has been resolved. We could not reproduce it for two weeks now. However, I cannot say if it was due to the steps you suggested or not. There have been OS updates on HL2 during this period, which may have also fixed this issue.
Thanks for the help :)

Closed as resolved.


LIME-1287 Added context to audit session item

Proposed changes
Added context to sessionHandler so that IPV_DL_CRI_START Event contains Context Field
What changed

Why did it change

Issue tracking

LIME-1287

Checklists
Environment variables or secrets

[ ] No environment variables or secrets were added or changed

[ ] Documented in the README
[ ] Added to deployment repository
[ ] Added to local startup repository

Other considerations

[ ] Update README with any new instructions or tasks

LGTM


Support CSC logical types

This patch will handle avro logical types coming from an upstream CSC. The following C* types will be handled:

BigDecimal
BigInteger
CqlDuration
UUID (nothing special here, just a string that already worked).

The implementation relies on the ConvertingCodecs from C* (StringTo[BigDecimal|BigInteger|CqlDuration] ConvertingCodecs.
I will follow up with a patch with a flag to disable this conversion from non-CSC users.

In the latest path:

I changed the logical type check to respect the schema and avoid reflection
Update the schemas in the test to use optional logical type schema (i.e. Union with null) to match the upstream CDC
Added a decodeCDCDataTypes flag so the feature is turned of altogether for existing users to reduce regression chances


Mist ver 0.5 / 0.6 / 0.1 not compatible with OSX El Capitan

:beetle: Description
Describe clearly and concisely what is not working.
:clipboard: Steps to Reproduce

Open Mist.app
Click on ...
Wait for ...
Observe error

:white_check_mark: Expected Behaviour
Describe what should be happening (ie. the happy path).
:computer: Environment

Mist version (App menu ⇨ About Mist): VERSION
macOS Version (sw_vers): VERSION BUILD
Hardware (system_profiler SPHardwareDataType):

Model Identifier: MODEL_IDENTIFIER
Chip : CHIP

:camera: Screenshots
If applicable, add screenshots to help explain the bug.
:information_source: Additional context

Is this also a bug in mist-cli? :white_check_mark: / :x:

Provide links to GitHub Issues

Links to 3rd-party tools / references / documentation

https://github.com/ninxsoft/Mist?tab=readme-ov-file#build-requirements

Runs on macOS Monterey 12.0 and later.

You're asking for support for an OS last patched in 2018. 8 major versions behind current. I wouldn't call this a bug, and would close out the issue.

Fixed a bug where macOS Sierra 10.12.6, OS X El Capitan 10.11.6 and OS X Yosemite 10.10.5 would fail to download.

Mist can download those OS versions but not does run on them.

@fuse8fuse jus re-iterating what @nstrauss mentioned, Mist supports the downloading of older versions of macOS, but requires macOS Monterey 12 or later to actually run the app.
Will go ahead and close this ticket, thanks!


Exclude demo files

Reference #63

Good stuff. This deserves a changelog line, please. Thank you!

Ok. It is ready.