[WIP] topics: Add topics locking.

Closes #8041.
UI changes:

Admin now has an option to lock the topic:

Locked topic is indicated by grayed out name and "(locked)" suffix.

Also there appears a divider at the bottom of the page:

This looks great to me!  @graszka22 Can you do a quick sweep for minor things like unnecessary imports?
@timabbott The overall structure of this change seems really solid to me.  Essentially the backend piece is pretty simple--a new model to say which streams are locked and pretty basic guards against updating them.  (It would be nice to have a topics table before we did this, but I digress).
Most of the heavy lifting  is actually on the JS side, and even that's not too painful.

I did a line-by-line review of the JS code, and it looks great!  I had a few comments there.
From an architectural standpoint, I think I found an interesting problem for you to solve before we have @timabbott look at this in too much detail.
Basically, any time an admin locks a topic, you send out the realms's entire list of locked topics to all the active clients.  This is reasonable enough--presumably most realms won't have a ton of locked topics, so performance isn't a huge concern.  The bigger concern is that not all realm users subscribe to all streams.  If we say you can only lock public streams, it would be fine to send the same list to everybody, but I think eventually you'll want to just send each user only the topics that correspond to streams they subscribe to.
So we probably want to go more with an approach that lock/unlock events only send data for a particular stream.  I don't think this will be a big change for you, since your current code is super well organized.  (You also have the simple but tedious task of switching everything from stream names to stream id.)
One subtle change that will happen with sending out data only on a per-stream basis is that your apply_event change will need a bit more logic.

Hi @graszka22 I'm just following up on this to see if you're still working on it.  I think this PR is really good work, so I hope you can do the next round of changes, but I understand if you've gotten busy with other things.  If you plan to get back to it some time in the next couple weeks, we'll wait for you; otherwise, we may have somebody else continue the progress.  Just let us know either way.  Thanks!

@showell as you can see I've done the all changes you asked me and I can continue working on this PR. Sorry for the delay :)


TLS Handshake Failure when Fetching Image from Remote Server

Hello ImgProxy team,
I'm encountering a TLS handshake failure when ImgProxy tries to fetch an image from a remote server. The error occurs consistently for specific URLs, while others seem to work fine.
Here’s the error message:
Can't download source image: Get "https://Ebtekarstore.ir/host/Ebtekaar/2024/8/9944053727288.jpg": remote error: tls: handshake failure

Steps to Reproduce:
http://<IP_ADDRESS>:8080/preset:default/mb:1048576/rs:fit:4096:4096/aHR0cHM6Ly9FYnRla2Fyc3RvcmUuaXIvaG9zdC9FYnRla2Fhci8yMDI0LzgvOTk0NDA1MzcyNzI4OC5qcGc=.jpg

Hey @a-roomana!
I guess that's because the hostname contains a capital E, so the hostname doesn't match the one specified in the certificate and the TLS handshake fails.

On the other hand, I can't reproduce this issue with other source servers. So this may be an issue on ebtekarstore.ir. Anyway, changing the hostname to ebtekarstore.ir solves the issue.

Thank you @DarthSim
Your guess was absolutely correct! The issue was indeed with the capital "E" in the hostname. Once I corrected that, the TLS handshake worked perfectly. I really appreciate your help and quick response. Thanks again for pointing me in the right direction!


download orbit

Borrowing the fetchorbit script from our isce2 stack processor and slightly modifying so that a directory with all safe files can be given as input to loop over and download the orbits for.

@hfattahi thanks a lot for these PR. My major comment is to try to uniform the coding style to pep8 when possible. Also while testing the script, I ran into an issue (solvable, I think by modifying the output path to which the orbits are allocated). Also, I think the script should go into the utils folder as it is a functionality more then a workflow. @LiangJYu and @yunjunz would for sure have an opinion on that.

Since this script could be potentially added to a command-line executable, I like it under src/compass.
For the naming, shall we make it consistent with other scripts, e.g. s1_dload_orbit.py?

For the convenience and flexibility on the user side, it will be great if we could support:

the input SLC path as safe file, in addition to the directory of it.
--start and --end date, without input safe file/dir, as what we have in topsStack/dloadOrbit.py.

I think this code is a better fit in s1-reader given the substantial amount of duplicate functionality in s1_orbit.py. @hfattahi if you agree, I will resubmit PR in s1-reader.

I think this code is a better fit in s1-reader given the substantial amount of duplicate functionality in s1_orbit.py. @hfattahi if you agree, I will resubmit PR in s1-reader.

That is fine. Also I came across this script as well https://github.com/scottstanie/sentineleof . It may does all we need

@hfattahi we have moved the orbit download functionality to a new PR in the s1-reader. If you don't mind, I would be inclined to close this PR and move the conversation to the s1-reader repo. Keep the branch just in case. What do you think?

Closing since functionality has been included in the s1-reader


Fix GPU-CPU tensor manipulation. Small performance boost

There are two fixes:

Greedy and random masks are created on CPU side, but are used on both CPU and GPU sides, particularly it selects logits from GPU (potential performance reduction). After fix there are two pairs of masks on CPU and logits device side, moreover CPU masks are created only if it needs.
Replace res_random = torch.multinomial(probs, 1, True).cpu().numpy()[:, 0] by res_random = torch.multinomial(probs, 1, True)[:, 0].cpu().numpy(). As I understand in the first case we copy the slice from old numpy to new one after copying full tensor from GPU to CPU, but in the second case we get slice view (without memory copying) and copying from GPU to CPU only slice tensor (not full)

Results of benchmark:
MISTRAL (python serve/benchmarks/benchmark_throughput.py --local-id mistral-7b-instruct-q0f16-presharded-1gpu --dataset /opt/models/dataset/ShareGPT_V3_unfiltered_cleaned_split.json --seed 0 --num-prompts 1000)

batch-serving:
Engine Throughput: 49.18 requests/s, 18816.81 tokens/s
Engine Throughput: 48.36 requests/s, 18503.69 tokens/s
Engine Throughput: 48.79 requests/s, 18668.08 tokens/s
AVERAGE: 48.78 requests/s, 18662.86 tokens/s

Fix 1:
Engine Throughput: 48.92 requests/s, 18717.29 tokens/s
Engine Throughput: 49.37 requests/s, 18891.61 tokens/s
Engine Throughput: 48.73 requests/s, 18647.23 tokens/s
AVERAGE: 49.01 requests/s, 18752.04 tokens/s

Fix1 + Fix2:
Engine Throughput: 49.23 requests/s, 18837.64 tokens/s
Engine Throughput: 49.43 requests/s, 18911.63 tokens/s
Engine Throughput: 50.00 requests/s, 19130.03 tokens/s
AVERAGE: 49.55 requests/s, 18959.77 tokens/s

MIXTRAL (python serve/benchmarks/benchmark_throughput.py --local-id mixtral-8x7b-instruct-v0.1-q0f16-presharded-2gpu --dataset /opt/models/dataset/ShareGPT_V3_unfiltered_cleaned_split.json --seed 0 --num-prompts 1000)

batch-serving:
Engine Throughput: 23.71 requests/s, 9073.14 tokens/s
Engine Throughput: 23.62 requests/s, 9038.81 tokens/s
Engine Throughput: 23.44 requests/s, 8970.07 tokens/s
AVERAGE: 23.59 requests/s, 9027.34 tokens/s

Fix1 + Fix2:
Engine Throughput: 23.69 requests/s, 9064.93 tokens/s
Engine Throughput: 23.64 requests/s, 9045.66 tokens/s
Engine Throughput: 23.58 requests/s, 9022.22 tokens/s
AVERAGE: 23.64 requests/s, 9044.27 tokens/s

Note: Fluctuation of time from run to run is big enough (~1-2%) therefore several runs were performed and averaged, possibly measurements should be more careful

cc @masahi

I think the second optimization is not really helping since the output of multinomial has shape (num_tokens, 1). So the number of elements that are copied are the same.


Squishy preview image on mobile

Image itself was distorted but took up the whole area
Image was cut off, so only took up a portion of the area

@mikefantini @barryclark I think I seemed to have narrowed the squishy image issue to happen when a user uploads a portrait image vs a landscape image on mobile. Just something to keep in mind when testing.

awesome thanks! i'll keep this in mind when we have TSG re-test once a fix is in. Also also just make sure in general they test reporting back on mobile.


webconnector should be decoupled from elasticclient

webconnector should be used instead of the built-in connector in elasticrawclient for the sake of SoC

Done. ElasticClient is capable to handle both http and https connection


Update changelog in preparation for 0.13.1

Signed-off-by: Oren Shomron<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 1373

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 70.545%

Totals

Change from base Build 1369:
0.0%

Covered Lines:
12581

Relevant Lines:
17834

💛  - Coveralls


[4.2] [request] [feedback] relative URL modifications

here are changes made to accomplish relative URLs:
https://gist.github.com/tobsn/807b3c722fdc2817283e
this should be better implemented as app config variable absolute = true/false in 4/5

We're open to pull requests to the master branch.


Unclaimed rewards notification badge

Would be super handy to see red notification on top of Wallet menu whenever there is an unclaimed rewards in your wallet.

It could be just a small red dot 8px diameter size and #ff0000 color.

done @fildunsky

Looking awesome! Love it!


caught exception while joining a map

i managed to debug it and the exception results are "Exception thrown at 0x2D866E0D (client.dll) in csgo.exe: 0xC0000005: Access violation reading location 0x00000088." tried to find the location 0x2D866E0D in memory but didn't find anything. if anyone has any idea it would be good to share with each other.

0x2D866E0D is in bounds of mapped client.dll, to obtain crash address and its semantics you would need to look at stack trace and find out where hack pushes incorrect arguments or redirects to invalid eip (might be jmp, call, ret instructions). Also I'd recommend you using VEH debugger (like x64dbg) instead of VS SEH.
Good luck on your further researches, feel free to contribute!

0x2D866E0D is in bounds of mapped client.dll, to obtain crash address and its semantics you would need to look at stack trace and find out where hack pushes incorrect arguments or redirects to invalid eip (might be jmp, call, ret instructions). Also I'd recommend you using VEH debugger (like x64dbg) instead of VS SEH.
Good luck on your further researches, feel free to contribute!

thanks i think i got it : )

@pessiuff how did u fixed it?

@pessiuff how did u fixed it?

i didn't fix it yet i will debug using a veh debugger when i have time and figure out what actually crashes


AgentHost.startMission throws cryptic error when called with invalid 'role'

Running on Windows, with python 2.7, Malmo-0.17
When calling my_agent_host.startMission(my_mission, my_clients, my_mission_record, 1, my_exp_id) and role 1 does not exist in the mission, the agent host segfaults (on windows: Access violation reading location 0xFFFFFFFFFFFFFFFF.). Should provide a more informative error message.

Platform will now throw a runtime exception with a helpful error message.


path tracer has no effect for a metal OBJ material

I have a obj file with a metal material, but looks like it is not correct in path tracer, maybe missing reflection when I setup a quad light.

See also #161.

hi Cshan, I believe this is a duplicate issue to the one Johannes linked to.  Try setting the roughness to 0 for reflectance to take affect, we are actively looking into this.

@carsonbrownlee Sorry, I mean it is not a metal material, it is a OBJMaterial from a obj file, but the OBJMaterial's params is for metal material. I am not sure I describe correctly.

Hi,
can you please post the parameter values you use to set a "metal" OBJ material? And maybe an image or a description what is wrong / what you expect?
Thanks,
Johannes

note that if you have an obj material file and it specifies a "type" parameter, ie
"type Metal" the obj loader will create a "Metal" material, not an OBJMaterial.

Thanks, but looks like Metal material does not support texture?

hi cshan, currently "OBJMaterial" is the only Material type that supports textures in the path tracer.  You can create a metallic look through the OBJMaterial by increasing the reflectance if that works, otherwise if you are comfortable writing code you might create a new material based on "Metal" that supports whatever texture utilization you want.

@carsonbrownlee thank you very much, I using a specular color texture map in the mtl file looks effect is great, but need change the Ks > 0.0, I found these code in OBJ.ispc:
if (reduce_max(Ks) > 0.0f)
MultiBSDF_add(bsdf, Specular_create(ctx, shadingFrame, Ks, Ns), luminance(Ks));


multiple "Set-Cookie" header

How to make a response with multiple Set-Cookie header? Dictionary only allowed to use one key for one value.

How about the following version of Stefan's suggestion?
For any header with multiple entries have:
    typealias Multiheader Dict{String, Any}
    res.headers[my_multiheader]::Multiheader

The type alias distinguishes headers that appear (potentially) multiple times with different values from headers that appear once with a Dict{String, Any} value.
For example, to set multiple cookies:
res.headers["Set-Cookie"] = Multiheader([(cookie_name1, value1), (cookie_name2, value2)])
To set a single cookie:
res.headers["Set-Cookie"] = Multiheader([(cookie_name, value)])
or
res.headers["Set-Cookie"] = Multiheader()
res.headers["Set-Cookie"][cookie_name] = value
or
setcookie(res, cookie_name::String, value::Any)
Then HttpServer.write() needs to be modified to explicitly write headers with type Multiheader, then delete such headers from res.headers, then write the remaining res.headers as is currently done.

I submitted MultiDict PR to DataStructures. As soon as it'll be merged, we'll get multiple header support.

Great.
Question: To modify a value you first must find it. With your Multidict implementation this means searching a vector (one way or another). Would it not be faster to find the desired value via a hash function?

Somewhat off topic, @wildart you seem to be doing some great work on the Julia web stack. Perhaps I can help with documentation? Here's what I have in mind at the moment (see docs/outline.md in particular).

MultiDict will handle duplicate headers, not header values. Regarding to the performance, how many duplicate headers you would expect? As for multiple cookies inside a particular header value, it is up to the developer how to deal with that value.

Re documentation, agreed, most of the interesting stuff happens in the middleware. Note that the purpose of that repo is to enable users to start building web apps. As such it explains how all the parts fit together, starting with server only, then adding templates, middleware, etc. The examples reflect this approach - they are a sequence of applications, each one adding a new feature into the mix. The outline indicates 7 examples, and I have only implemented 4...the other 3 are still to come and I'm sure there will be more after that.
I took the approach of a sequence of examples because it highlights what each part is for, and what it can and can't do. I've found that tutorials for other web stacks/frameworks also add features to an example application in a sequential manner, but maintain only one application rather than the full sequence of applications. By the time I'd added all the features to the application I was forgetting which part did what, and often had features that I didn't need (and was too confused to trim it down to essentials). I hope the sequence of applications provided helps the concepts stick better in the first place and makes it easier to back track when confused.

The Multiheader that I proposed is similar to your Multidict, but has a Dict{String, Any} instead of a vector as the value. I agree that performance is unlikely to be an issue, so it seems the distinction is one of taste. Am I missing anything?

Looks like this is ready to go. Is this correct or is there required MultiDict functionality not yet implemented?
If so then HttpCommon.jl requires the following changes (near as I can tell only Requests.jl uses cookies):
import DataStructures: MultiDict

...

type Response
    status::Int
    headers::Headers
    cookies::MultiDict{UTF8String, Cookie}
    data::Vector{UInt8}
    finished::Bool
    requests::Vector{Request}
end

...

Response(s::Int, h::Headers, d::HttpData) = Response(s, h, MultiDict{UTF8String, Cookie}(), d, false, Request[])

Ugh, my bad.
It's Headers that needs changing, which involves more work.
Apologies. Ignore my last post.

https://github.com/JuliaWeb/HttpServer.jl/pull/68 addresses this by definding a new setcookie!(::Request, name, value, attrs) method. I'm open for comments before merging it in a day or two.

Nice. Great that dependence on DataStructures.jl is not required.


MavenSupport: Treat Subversion tag names as revisions

This is a fixup for 103a3c1.
Signed-off-by: Sebastian Schuberth<EMAIL_ADDRESS>

Merging this without waiting for Travis which currently seems to hang in PubTest as the majority of analyzer tests already passed an AppVeyor did, too.


Android Beta Play Store

Trello
We need to have a production release Android build and then upload this to the Play Store.
This can then be promoted to production in the same way we currently have for iOS.
Example passing Release builds:

Android: https://circleci.com/gh/redbadger/pride-london-app/3388
iOS: https://circleci.com/gh/redbadger/pride-london-app/3377

Pre-flight check-list
Before raising a pull request

[ ] Documentation
[ ] Unit tests

Pre-merge check-list

[ ] Link to Trello ticket/GitHub issue (If applicable)
[ ] Any risky areas identified
[ ] Test plan provided
[ ] Tester approved

Tester check-list

[ ] Tested on multiple devices / OS versions (Test on the physical device(s) you have access to, otherwise use BrowserStack):

[ ] Galaxy S8 (Android 7.0/8.0)
[ ] Galaxy S7 (Android 6.0)
[ ] iPhone X (iOS 11.x)
[ ] iPhone 8 (11.x)
[ ] iPhone 7 (iOS 10.x)

Optional:

[ ] Google Pixel 2
[ ] Galaxy S8 Plus
[ ] Galaxy S7 Edge
[ ] Galaxy S6
[ ] iPhone 7+
[ ] iPhone 6

Accessibility Testing (If applicable)

[ ] Text-to-Voice (Android: Voice Assistant / iOS: Speak Selection)
[ ] Large Text (=<200%)
[ ] Landscape Screen orientation

Weak connection testing (If applicable)

[ ] Airplane mode
[ ] 2G/3G Network Settings

@frigus02 I definitely want to look into this, it’s painful to work with and isn’t dynamic at all.


Public Corpora not clear in Sidekick Tutorial

See here for details https://github.com/adriatic/fixie-logs/issues/2
Need to clarify there are public corpora

Addressed in PR https://github.com/fixie-ai/ai-jsx/pull/453


[Rancher Desktop for Windows] nerdctl cp does not work

Description
unable to copy file in or out of running container
Steps to reproduce the issue
A running container:
$ nerdctl ps
CONTAINER ID    IMAGE                                 COMMAND      CREATED
STATUS    PORTS    NAMES
f7b464d19902    docker.io/library/vlang_web:latest    "/bin/sh"    4 hours ago
Up                 vlang_web-f7b46
Ls into the container:
$ nerdctl exec f7b464d19902 ls -l /opt/vlang/v
-rwxr-xr-x    1 root     root       4107040 Jun 19 09:19 /opt/vlang/v
But copy fails:
$ nerdctl cp f7b464d19902:/opt/vlang/v v
WARN[0000] failed to inspect NetNS                       error="failed to Statfs
"/proc/12486/ns/net": no such file or directory" id=f7b464d1990283fc1437f95db
7e80e9e607a3103d5d5716225fa1cbb0bced098
WARN[0000] "/bin/tar" does not seem GNU tar
FATA[0000] stat /proc/12486/root/opt/vlang/v: no such file or directory
Describe the results you received and expected
File should be copied.
What version of nerdctl are you using?
Rancher Desktop 1.4.1
nerdctl version 0.20.0
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
Rancher Desktop for Windows
Host information
$ nerdctl info
Client:
Namespace:     default
Debug Mode:    false
Server:
Server Version: v1.6.4
Storage Driver: overlayfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Log: json-file
Storage: native overlayfs
Security Options:
seccomp
Profile: default
Kernel Version: <IP_ADDRESS>-microsoft-standard-WSL2
Operating System: Rancher Desktop WSL Distribution
OSType: linux
Architecture: x86_64
CPUs: 12
Total Memory: 12.36GiB
Name: DESKTOP-S0QGM9H
ID: d422bf5e-7fe9-4fda-8582-0765c474a1eb

We are not supporting windows for cp command, how rancher can invoke this on windows platform :/ !?

With cygwin or in a cmd prompt?!
I am using all nerdctl via cygwin under Windows. cp command should work to copy files in and out.

@alfclement are you using rootfull or rooltless mode ?
Does this path exist on the host /proc/12486/root/opt/vlang/v ?
Looks like ir related to permission regarding virtual fs /proc

It seems nerdctl looks on it's own host in /proc ... but maybe it needs to look in WSL2 in /proc for the PID , right?

Could you report to https://github.com/rancher-sandbox/rancher-desktop/issues

@alfclement this is fixed by the PR on rancher, right?

@AkihiroSuda suggesting we close as Rancher fixed it.


Composite Build support for plugins block

The documentation states:

Substituting plugins only works with the buildscript block but not with the plugins block.

It would be nice if this feature was added for users who want to provide samples of the plugin in use and test the sample out using composite builds.
Expected Behavior

When a project uses the plugins syntax and provides --include-build definition for the build, the project should use the included project to resolve Gradle plugins within a plugins block (not just buildscript).
Current Behavior

Composite builds do not resolve plugins within the plugins block. The resolution fails.
Context

The disadvantage right now is that if you want to easily test the samples out, you must use the buildscript syntax which is not nearly as concise as the plugins syntax. I'd prefer samples to be the concise plugins syntax so that users do not have to translate from the buildscript syntax.
Related forum post https://discuss.gradle.org/t/composite-build-support-for-plugins-block/21749

From my experience composite builds works on plugins block, but only when you have uploaded this plugin to repository declared in  pluginRepositories.
My usual workflow, when working on new version of plugin:

ensure that plugin is published to maven repository declared in pluginRepositories
make some changes in plugin
build project using my plugin with --include-build pointing to plugin project location

However when I wanted to bump version of my plugin without uploading bumped version to maven repository, then it wouldn't work

Duplicate of #2528


fix: Use 'snakemake.utils.update_config' instead of 'dict.update'

Description
When merging configs, Snakemake uses dict.update instead of snakemake.utils.update_config which is not recursive.
Nested config options can thus disappear unexpectedly.
QC

[x] The PR contains a test case for the changes or the changes are already covered by an existing test case.
[x] The documentation (docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).

@johanneskoester Any thoughts on this? :-)

Soemthing fails on windows now. Do you have a clue?

Thanks a lot, finally done :-).

Wonderful! Thanks a lot for the debugging as well :-)


Automated cherry pick of #9724: feat(suggestion,apigateway): add analysispredict climc

Cherry pick of #9724 on release/3.6.
#9724: feat(suggestion,apigateway): add analysispredict climc

Codecov Report

Merging #9725 (40c8b54) into release/3.6 (b9d30c0) will increase coverage by 6.16%.
The diff coverage is 1.63%.

@@               Coverage Diff                @@
##           release/3.6    #9725       +/-   ##
================================================
+ Coverage         5.86%   12.02%    +6.16%
================================================
  Files              828      231      -597
  Lines           129133    25623   -103510
================================================
- Hits              7577     3082     -4495
+ Misses          120876    22230    -98646
+ Partials           680      311      -369

Flag
Coverage Δ

aFlag
12.02% <1.63%> (+6.16%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/apigateway/handler/auth.go
0.00% <0.00%> (ø)

pkg/apis/input.go
0.00% <ø> (ø)

pkg/apis/list.go
0.00% <ø> (ø)

pkg/cloudcommon/db/quotas/errors.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/quotas/handler.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/quotas/register.go
11.11% <0.00%> (-2.41%)
:arrow_down:

pkg/cloudcommon/db/quotas/usageworker.go
0.00% <0.00%> (ø)

pkg/compute/guestdrivers/aliyun.go
2.72% <0.00%> (-0.47%)
:arrow_down:

pkg/compute/guestdrivers/apsara.go
13.63% <0.00%> (-0.65%)
:arrow_down:

pkg/compute/guestdrivers/aws.go
2.27% <0.00%> (-0.34%)
:arrow_down:

... and 539 more

Continue to review full report at Codecov.

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


Use JSON5 for parsing tsconfig

This PR replaces JSON.parse, with JSON5.parse using the JSON5 package.
tsconfig uses JSON5 which allows for comments as well as some trailing commas. Prettier, by default, adds trailing commas to tsconfig which causes this cli to break.
Replacing JSON with JSON5 parse fixes the comment issues and makes using the CLI more reliable.

Thanks for the contribution :)
Since I'm in the process of updating the cli anyway this is a welcome addition.


tab2 :: Hover on violin plots

The formatting of the mean value of the violin plots is wrong, too many decimal places
See image below

i think this needs to be changed in hovertemplate

I could not fix the issue. I tried adding:
fig.update_layout(
        hoverlabel=dict(bgcolor="black", namelength=0, font_family="Rockwell")
    )

and it changed the color but not the namelength. I also tried the following, but did not work either"
    fig.add_trace(
        go.Violin(
            x=df["fake_year"],
            y=data_night,
            line_color="#00264d",
            name="Night",
            side="positive",
            hoverinfo="y",
            hoveron="violins",
            hovertemplate="%{y:$.0f}",
        )
    )


Better error when service connect is called with an undefined service name

Current behavior:
$ cci service connect foo
Checking the version!
An update to CumulusCI is available. Use pip install --upgrade cumulusci to update.
Traceback (most recent call last):
  File "/Users/dglick/.pyenv/versions/cci-dev-py27/bin/cci", line 11, in <module>
    load_entry_point('cumulusci', 'console_scripts', 'cci')()
  File "/Users/dglick/.pyenv/versions/2.7.15/envs/cci-dev-py27/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/Users/dglick/.pyenv/versions/2.7.15/envs/cci-dev-py27/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/Users/dglick/.pyenv/versions/2.7.15/envs/cci-dev-py27/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/dglick/.pyenv/versions/2.7.15/envs/cci-dev-py27/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/dglick/.pyenv/versions/2.7.15/envs/cci-dev-py27/lib/python2.7/site-packages/click/core.py", line 1061, in invoke
    cmd_name, cmd, args = self.resolve_command(ctx, args)
  File "/Users/dglick/.pyenv/versions/2.7.15/envs/cci-dev-py27/lib/python2.7/site-packages/click/core.py", line 1100, in resolve_command
    cmd = self.get_command(ctx, cmd_name)
  File "/Users/dglick/Work/CumulusCI/cumulusci/cli/cci.py", line 574, in get_command
    config.project_config, "services__{0}__attributes".format(name)
AttributeError: 'NoneType' object has no attribute 'items'

**lurch: add

@ceiroa I think what we want to do in this situation is raise ServiceNotValid (from cumulusci.core.exceptions) with a more helpful message.


chore(weave): Inline pydantic and dataclass objects on weave.Object

Summary

Inlines pydantic and dataclass objects, keeping the ObjectRecord shape but skipping obj_create (and inlined objects have no refs)
Saves _____ time for (benchmark obj) when saving deeply nested objects
Avoids cluttering the top-level Object space in the UI (and also from the object query)

Resolves

https://wandb.atlassian.net/browse/WB-20357

closing in favour of: https://github.com/wandb/weave/pull/2271


Footer link to sites list is wrong

##Two problems with https://www.stackexchange.com/sites

No HTTPS support for SE.com
No www. prefix

Fixed with https://github.com/StackExchange/blog/commit/8bf5d91f94d476921df7ff25130d490a098ccc1f


publish timer post

@benkutil @hbarrington @bkingbking  check out and publish this.

@tramsay2 here's my comment back to you. I’ll close this pull request, since we didn't make any real changes, but thanks for trying it out!


Remove looker env and rename props

Describe your changes :

env is not being used
username and password were misleading, as we actually require client ID and secret for the API

Type of change :

[x] Bug fix
[x] Improvement
[x] New feature
[] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[] Documentation

Frontend Preview (Screenshots) :
For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

Let's merge this in 0.12


Add embeddings speed

An important factor in choosing embeddings is the speed of embedding.
I suggest adding a "tab" in the evluation called "Speed" and it would be represented in sentences/sec for example (canalso be tokens/sec).
This is a very useful feature of the SBERT site for example:
https://www.sbert.net/docs/pretrained-models/msmarco-v3.html
and efficiency as a parameter is already mentioned in your paper.

It's a great point - unfortunately, since the evaluation is not automatic but each user evaluates individually, it's hard to compare speeds as users may use different CPUs / GPUs / environments.
E.g. it's also very hard to fairly compare speed with the APIs, since you cannot run them locally at all.
If you have a good idea for solving this, would love to add it to the leaderboard, but the best I can think of is doing it manually for each model.

Oh I see. Well the solution is obviously to make the evaluation automatic. We can donate a GPU to run evaluations (24/7) if you want to make an automated script.

Note that we have implemented two speed tasks #848 - they simply need to be run on comparable hardware.

We have in the most recent leaderboard (demo here and expected release in Jan) added this plot, which I believe generally related to embedding speed (though of course not entirely):


Respecting @formatter:on|off

Would it be possible that ktlint respect the @formatter:on|off ?
It could check the content within the tags, but it should not format it.

Do you mean that the running lint should show errors, but running format should not modify it (though still show errors)?

Yes, but only within those blocks, outside the blocks it should work as
usual.
Am Sa., 14. Dez. 2019 um 21:51 Uhr schrieb Yahor Berdnikau <
<EMAIL_ADDRESS>
Do you mean that the running lint should show errors, but running format
should not modify it (though still show errors)?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pinterest/ktlint/issues/670?email_source=notifications&email_token=AAIC3IVSHYT4QRPO4U4EYGTQYVBNLA5CNFSM4J24RSPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG4LCTA#issuecomment-565752140,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIC3IQITUMLFKUTKUDWYLDQYVBNLANCNFSM4J24RSPA
.

If you're using ktlint through Spotless, we just added support for on/off tags in plugin-gradle 5.5.0 (like this) and plugin-maven 2.3.0 (like this).


Cooler zombie moths

About the PR

Zombie moths now say "Clothessss", "Shooooesss" or something similar instead of "Brainsss"
Why / Balance

See this discord forum post. Also it's cool.
Technical details

Adds a new accent called "zombieMoth". In "ZombieSystem.Transform.cs" I changed the accent assignment to use a switch statement based on the targets prototype ID.
Media

https://github.com/space-wizards/space-station-14/assets/63975668/a046b40a-a16c-49c5-9772-207454c01b8c

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl: Simyon

tweak: Moths that are turned into zombies will now prefer cloth instead of brains.

does moth accent changes in 4 commits
me: cargo crate in 14 commits

would be neat if it got merged though


Implement Display trait

[x] refactor and move to_string into Display trait
[x] test new function and getters

I like what's going on here so far. The range checks on the way in are a good development.

Once this PR is merged I will rebase more-cleanups on master and open another PR. These changes do not directly belong in here but lead to better API consistency (transform &Vec<_> to &[_]) and cleaner code (by applying some clippy hints).

We can now eliminate type EncodeResult = Result<String, Error>; in src/lib.rs.
I would also like a len() function that would give me the byte-length in base 256 of the decoded data, to distinguish between scripthash witness programs and pubkeyhash witness programs, but that does not seem appropriate for this PR.
Otherwise ACK.


Mods fail to update

Since the Extinction update to 288.110 my Ark servers will not stay up to date when mod updates are available.
I am using the script:
arkmanager update --update-mods --warn --saveworld @all
I am using crantob to run this every 20 minutes. It is updating 4 servers. Some servers are getting updates correctly but others fail. I need to delete the staging directory every few days to keep the mods updating properly. That defeats the purpose of the staging directory.
I have performed a surface scan on my drives with no issues found. I have tried changing the staging directory. So far I am stumped.
This worked great for several weeks prior to the update to 288.110. Makes me wonder if Steam changed something that requires an update.
Please advise.

I am using ark_GameModIds="to define the mods."
ark_GameModIds="1139371102,895711211,849985437,731604991,764755314,742077869,771393043,646366838,899250777,538827119,889745138,664477965,566887000,821530042,756389708,751991809,741203089,1497827043,1199589888,1440414363,834667662,1404697612,1313029740,558079412"
I copied the mods directory to another directory and did a diff. There was only mod 756389708 was different. Deleting the directory was the only way the server would update everything.

Here is a config from one of the servers with the sensitive info removed.
config environment
arkserverroot="/home/steam/Ark/Lore/CarnioAberration"                                     # path of your ARK #server files (default ~/ARK)
ARK server options - use ark_=
comment out these values if you want to define them
inside your GameUserSettings.ini file
serverMap="Aberration_P"                                               # server map (default TheIsland)
#serverMapModId=""                                         # Uncomment this to specify the Map Mod Id ( in http://steamcommunity.com/sharedfiles/filedetails/?id=)
#ark_TotalConversionMod=""                                 # Uncomment this to specify a total-conversion mod
ark_RCONEnabled="True"                                              # Enable RCON Protocol
ark_RCONPort=""                                                # RCON Port
ark_SessionName="Carnio-Lore-Aberration"                                  # if your session name needs special characters please use the .ini instead
ark_Port="7797"                                                     # ARK server port (default 7778)
ark_QueryPort="27035"                                               # ARK query port (default 27015)
ark_ServerPassword=""                                               # ARK server password, empty: no password required to login
ark_ServerAdminPassword=""                               # ARK server admin password, KEEP IT SAFE!
ark_OverrideOfficialDifficulty=5.0
ark_MaxPlayers="20"
ark_GameModIds=ark_GameModIds="1139371102,895711211,849985437,731604991,764755314,742077869,771393043,646366838,899250777,538827119,889745138,664477965,566887000,821530042,756389708,751991809,741203089,1497827043,1199589888,1440414363,834667662,1404697612,1313029740,558079412"                      # Uncomment to specify additional mods by Mod Id separated by commas
ark_AltSaveDirectoryName="clusters/CarnioLoreCluster/Aberration"                                    # Uncomment to specify a different save directory name
ARK server flags - use arkflag_=true
#arkflag_OnlyAdminRejoinAsSpectator=true                            # Uncomment to only allow admins to rejoin as spectator
#arkflag_DisableDeathSpectator=true                                 # Uncomment to disable players from becoming spectators when they die
ARK server options - i.e. for -optname=val, use arkopt_optname=val
#arkopt_StructureDestructionTag=DestroySwampSnowStructures
#arkflag_PreventDiseases=true
#arkflag_PreventDownloadSurvivors=true
#arkflag_PreventDownloadItems=true
arkflag_PreventDownloadDinos=true
#arkflag_PreventUploadSurvivors=true
#arkflag_PreventUploadItems=true
arkflag_PreventUploadDinos=true
arkflag_PreventOfflinePvP=true
arkopt_MapPlayerLocation=True
arkopt_ServerCrosshair=True
arkopt_AllowThirdPersonPlayer=True
arkopt_ShowFloatingDamageText=True
arkopt_listen=""
arkflag_exclusivejoin=""
arkflag_server=""
arkflag_NoTransferFromFiltering=""
arkopt_clusterid="CarnioLoreCluster"
arkflag_ForceAllowCaveFlyers=""
arkflag_USEALLAVAILABLECORES=""
arkflag_NoBattlEye=""
arkflag_ForceRespawnDinos=""
arkflag_log=""

arkmanager.cfg
arkstChannel="master"                                               # change it to a different branch to get non-stable versions
install_bindir="/usr/local/bin"
install_libexecdir="/usr/local/libexec/arkmanager"
install_datadir="/usr/local/share/arkmanager"
config SteamCMD
steamcmdroot="/home/steam/steamcmd"                                 # path of your steamcmd instance
steamcmdexec="steamcmd.sh"                                          # name of steamcmd executable
steamcmd_user="steam"                                               # name of the system user who own steamcmd folder
steamcmd_appinfocache="/home/steam/Steam/appcache/appinfo.vdf"      # cache of the appinfo command
steamcmd_workshoplog="/home/steam/Steam/logs/workshop_log.txt"      # Steam workshop log
#steamlogin="anonymous"                                             # Uncomment this to specify steam login instead of using anonymous login
config environment
arkserverexec="ShooterGame/Binaries/Linux/ShooterGameServer"        # name of ARK server executable
arkbackupdir="/home/steam/ARK-Backups"                              # path to backup directory
arkwarnminutes="10"                                                 # number of minutes to warn players when using update --warn
arkautorestartfile="ShooterGame/Saved/.autorestart"                 # path to autorestart file
arkAutoUpdateOnStart="false"                                        # set this to true if you want to always update before startup
arkBackupPreUpdate="true"                                          # set this to true if you want to perform a backup before updating
arkStagingDir="/home/steam/Ark/ARK-Staging/"                            # Uncomment to enable updates to be fully downloaded before restarting the server (reduces downtime while updating)
steamdataroot=/home/steam/Ark
Options to automatically remove old backups to keep backup size in check
Each compressed backup is generally about 1-2MB in size.
#arkMaxBackupSizeMB="1024"                                            # Set to automatically remove old backups when size exceeds this limit
arkMaxBackupSizeGB="10"                                             # Uncomment this and comment the above to specify the limit in whole GB
Update warning messages
Modify as desired, putting the %d replacement operator where the number belongs
#msgWarnUpdateMinutes="This ARK server will shutdown for an update in %d minutes"
#msgWarnUpdateSeconds="This ARK server will shutdown for an update in %d seconds"
#msgWarnRestartMinutes="This ARK server will shutdown for a restart in %d minutes"
#msgWarnRestartSeconds="This ARK server will shutdown for a restart in %d seconds"
#msgWarnShutdownMinutes="This ARK server will shutdown in %d minutes"
#msgWarnShutdownSeconds="This ARK server will shutdown in %d seconds"
msgWarnCancelled="Restart cancelled by player request"
msgWarnReason="This ARK server will {reason} in {time}"
msgTimeMinutes="{minutes} minutes"
msgTimeSeconds="{seconds} seconds"
msgReasonUpdateApp="restart for an update to ARK"
msgReasonUpdateMod="restart for an update to mod(s): {modnamesupdated}"
msgReasonUpdateAppMod="restart for an update to the game and an update to mod(s): {modnamesupdated}"
msgReasonRestart="restart"
msgReasonShutdown="shutdown for maintenance"
Notifications
discordWebhookURL="https://discordapp.com/api/webhooks/{webhook.id}/{webhook.token}"
notifyMsgShuttingDown="Shutting down"
notifyMsgStarting="Starting"
notifyMsgServerUp="Server is up"
notifyMsgStoppedListening="Server has stopped listening - restarting"
notifyMsgServerTerminated="Server exited - restarting"
notifyTemplate="Message from instance {instance} on server {server}: {msg}"
noNotifyWarning=true
Restart cancel chat command
chatCommandRestartCancel="/cancel"
ARK server common options - use ark_=
comment out these values if you want to define them
inside your GameUserSettings.ini file
#serverMap="TheIsland"                                               # server map (default TheIsland)
#serverMapModId="469987622"                                         # Uncomment this to specify the Map Mod Id ( in http://steamcommunity.com/sharedfiles/filedetails/?id=)
#ark_TotalConversionMod="496735411"                                 # Uncomment this to specify a total-conversion mod
#ark_RCONEnabled="True"                                              # Enable RCON Protocol
#ark_ServerPassword=""                                               # ARK server password, empty: no password required to login
#ark_ServerAdminPassword="keyboardcat"                               # ARK server admin password, KEEP IT SAFE!
#ark_MaxPlayers="70"
#ark_GameModIds="487516323,487516324,487516325"                     # Uncomment to specify additional mods by Mod Id separated by commas
#ark_AltSaveDirectoryName="SotF"                                    # Uncomment to specify a different save directory name
ARK server flags - use arkflag_=true
#arkflag_OnlyAdminRejoinAsSpectator=true                            # Uncomment to only allow admins to rejoin as spectator
#arkflag_DisableDeathSpectator=true                                 # Uncomment to disable players from becoming spectators when they die
ARK server options - i.e. for -optname=val, use arkopt_optname=val
#arkopt_StructureDestructionTag=DestroySwampSnowStructures
arkflag_serverlog=true
config Service
logdir="/var/log/arktools"                                          # Logs path (default /var/log/arktools)
steamdb specific
appid=376030                                                        # Linux server App ID
mod_appid=346110                                                    # App ID for mods
Mod OS Selection
mod_branch=Windows
Add mod-specific OS selection below:
#mod_branch_496735411=Windows
alternate configs
example for config name "ark1":
#configfile_ark1="/path/to/config/file"
defaultinstance="RodiniaSub"

Be aware that steamcmd stores its data (including mods) in its own directory in the user's home directory.  Running concurrent steamcmd commands under the same user can cause problems.
There is no option that I am aware of to change where steamcmd downloads mods.  The staging directory is used by arkmanager as the download directory for the steamcmd app_update command, and for extracting workshop mods from steamcmd's workshop directory.


Fetching calories data of a meal

Breaking change

Proposed change

Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New integration (thank you!)
[ ] New feature (which adds functionality to an existing integration)
[ ] Deprecation (breaking change to happen in the future)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:
Link to documentation pull request:

Checklist

[ ] The code change is tested and works locally.
[ ] Local tests pass. Your PR cannot be merged unless tests pass
[ ] There is no commented out code in this PR.
[ ] I have followed the development checklist
[ ] I have followed the perfect PR recommendations
[ ] The code has been formatted using Ruff (ruff format homeassistant tests)
[ ] Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated for www.home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] The manifest file has all fields filled out correctly.
Updated and included derived files by running: python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt.
Updated by running python3 -m script.gen_requirements_all.
[ ] For the updated dependencies - a link to the changelog, or at minimum a diff between library versions is added to the PR description.

To help with the load of incoming pull requests:

[ ] I have reviewed two other open pull requests in this repository.

Git hook error:

Code smell:

I like the code you've written. But you can probably remove the Nutrionionix API client.
Also, which card is this commit for?
I know you have a card for sorting and filtering by calories, but I haven't seen a card for fetching calories for a specific recipe id.


Make mongodb operations more generic

Currently, we have some MongoDB operations for specific functionality. But, In future, we will end up of having too many functions doing the same DB operations.

We need to make mongodb.go to be more generic.
eg:-  CreateOperation(), UpdateOperation().

The createOperation() will take up some generic parameters for doing create operation to MongoDB

One research area would be- how to reuse the collection name, as we are creating the collection in DBInit().

Ref- https://github.com/litmuschaos/litmus/blob/litmus-portal/litmus-portal/backend/graphql-server/pkg/database/mongodb/mongodb.go

Closing this issue as there is no need of this.


Icons off centered

css:

* {
    border: none;
    font-family: Iosevka, FontAwesome, Noto Sans CJK, Jetbrains Nerd Font, sans-serif;
    font-size: 16px;
    min-height: 0;
    margin-bottom: 0;
}

window#waybar {
    font-family: Iosevka, FontAwesome, Noto Sans CJK, "JetBrains Mono NerdFont";
    background-color: transparent;
    font-size: 0.8rem;
}

.module {
    background: rgba(5, 1, 13, 0.5);
    border-radius: 8px;
    margin: 3pxS;
}

#custom-launcher {
    color: @BLUE;
    border-radius: 10px;
    padding: 8px 8px 8px 8px;
    /* font-size: 2.5rem; */
}

config:
    "custom/launcher": {
        "format": "󰣇",
        // "on-click": "bash $HOME/.config/rofi/launcher.sh",
        //    "on-click": "wofi --show drun -I -a -n -W 500 -H 376 -s ~/.config/wofi/themes/gruvbox.css",
        // "on-click-right": "bash $HOME/.config/rofi/run.sh"
        //    "on-click-right": "wofi --show run -I -a -n -W 500 -H 376 -s ~/.config/wofi/themes/gruvbox.css"
    },

uncertain if theres other factors that need to be included.
im using waybar from arch extra repo
using hyprland

for some reason     padding-left: 12px; fixes it?

I'm also have trouble with that.
Padding different amounts on left, right etc not always solves for me; Having a space or spaces on the config helps... sometimes.
This "format": " <icon_here> " instead of this "format": "<icon_here>"; and some icons behave differently from other even being from the same source (nerdfonts on my case).

margin: 3pxS;

You have a misspell here that you probably already fixed and wouldn't (probably) make no difference.

i also have this

When I try for example FontAwesome Fedora  icon and Nerd Fonts Fedora  icon on the same custom item, they act differently in the same configuration. Font Awesome stays correctly centered, Nerd Fonts' one acts like is right aligned of if a another space was added to push it to the right.
On the other hand, if I get the Tux/Linux icon (,) they both go slight to the right too. Of course they're different fonts, but still a weird behavior.

I was setting just one font, Inter Variable, as my font with some features enabled and just had some Nerd Fonts Installed Font Awesome 6 (Free and Brands) were also installed. My CSS files had this:
* {
    all: unset;
    font-size: 16px;
    font-family: 'Inter';
    animation-timing-function: steps(12);
    animation-duration: 0.3s;
    transition: all 0.3s cubic-bezier(0.79, 0.33, 0.14, 0.53);
}

Showing just changed/added lines from now on.
I changed to
    font-family: 'Inter Variable';
    font-feature-settings: '"zero", "tnum", "ss01", "ss02", "ss03", "cv01"';

After this
    font-family:'Inter Variable','SpaceMono Nerd Font','JetBrainsMono Nerd Font','Symbols Nerd Font Mono';

One thing I noticed just today, because I never read the README.md, from one of the Nerd Fonts, is that for GUI:

Which font?
TL;DR

Pick your font family:

If you are limited to monospaced fonts (because of your terminal, etc) then pick a font with Nerd Font Mono (or NFM).
If you want to have bigger icons (usually around 1.5 normal letters wide) pick a font without Mono i.e. Nerd Font (or NF). Most terminals support this, but ymmv.
If you work in a proportional context (GUI elements or edit a presentation etc) pick a font with Nerd Font Propo (or NFP).

So now set it to this to test:
font-family:'Inter Variable','Symbols Nerd Font';

Becoming this, at the end
* {
    all: unset;
    font-size: 16px;
    font-family: 'Inter Variable', 'Symbols Nerd Font';
    font-feature-settings: '"zero", "tnum", "ss01", "ss02", "ss03", "cv01"';
    animation-timing-function: steps(12);
    animation-duration: 0.3s;
    transition: all 0.3s cubic-bezier(0.79, 0.33, 0.14, 0.53);
}

I changed completely my configuration and style for Waybar (and Swaync, wlogout et): I don't use PX as a unit anymore. I'm using REM instead, just the main reset have it the PX since REM will be calculated from that. With all my changes I'll have to test it to see if using a non-mono font for symbols solves the misalignment issue. In my current configuration + style I'm not seeing it. I'll test in the old one. Encourage everybody make the changes to a copy of their CSS to test it.

After a lot of tries to fix this, I can confirm  switching to a nerd font which isn't monospaced worked for me. I got the font name with fc-list | grep "nerd symbols" , and put it at the * in my styles.css. Hope you figure it out too, thanks for sharing the docs which I would've never read.

After a lot of tries to fix this, I can confirm switching to a nerd font which isn't monospaced worked for me. I got the font name with fc-list | grep "nerd symbols" , and put it at the * in my styles.css. Hope you figure it out too, thanks for sharing the docs which I would've never read.

After that change I see not problems on my main and other CSSs that I have. Even the ones I'm playing with, I'm not seeing the problem happen.


accuracy reduce during the training

Hi. I just follow the tutorial to train the model with the dataset given here. However, the accuracy is relatively high at epoch 0 and has a sharp decline after that. Does anybody meet the similar problem?
Here is the record:
[ Epoch 0 ]

(Training)   ppl:  69.89619, accuracy: 48.127 %, elapse: 9.800 min
(Validation) ppl:  86.35283, accuracy: 20.530 %, elapse: 3.096 min

[Info] The checkpoint file has been updated.
[ Epoch 1 ]

(Training)   ppl:  135.71178, accuracy: 32.377 %, elapse: 10.807 min
(Validation) ppl:  865.33501, accuracy: 5.777 %, elapse: 3.052 min
[ Epoch 2 ]
(Training)   ppl:  193.38618, accuracy: 27.988 %, elapse: 11.013 min
(Validation) ppl:  949.73713, accuracy: 4.359 %, elapse: 3.093 min

I can confirm this and has sent @jadore801120  an email previously.
This seems to be the general case after the recent commits a few days ago. I have also confirmed on the WMT '14 and '13.

I also get lower performance overall with the new 0.4.1 update. I am only using the Encoder part in my project, however.

I also get lower performance overall with the new 0.4.1 update. I am only using the Encoder part in my project, however.

Hello @ivan-bilan , thanks a lot for point out!
So the bug may exist in encoder part.
I will take a closer look.

Hi @jadore801120 , have you identified the causes of this accuracy issue? Thanks.

I suppose that learning rate is very high and accuracy goes down after warming up steps. And success depends on seed or something. Try to set smaller lr.

I set lr to 0 but haven't got any improvements. Anyone else found a solution?

Hi @jadore801120 Have you fixed the problem? thanks. I'm running my task on your the modification of your model. When number of layer is set to 1, the result is okay. However, when the number of layers is set to 2, the performance drops quickly.


It is better to update the tooltip of 'Select All' to 'Select All in page' in blob explorer

Storage Explorer Version: 1.32.0-dev (93)
Build Number: 20230906.9
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Ventura 13.5 (Apple M1 Pro)
Architecture: x64/x64/x64
How Found: Exploratory testing
Regression From: Previous release (1.30.2)
Steps to Reproduce

Expand one storage account -> Blob Containers.
Open one blob container.
Hove over the 'Select All' button on the toolbar.
Check whether the tooltip is 'Select All in Page'.

Expected Experience
The tooltip is 'Select All in Page'.

Actual Experience
The tooltip is 'Select all items'.

Additional Context
This issue also reproduces for new ADLS Gen2 blob explorer.

Verified this issue on the main build 20230908.4. Fixed on regular/ADLS Gen2 blob explorer.
Reproduce for files explorer.

Fixed for files.

Verified this issue on the main build 20230911.1. Fixed for files.


MC: YAW Mission WP Setting ignored / defaulting to 0°

I tried to fly some missions with a preset YAW Heading - as I used to a few Weeks ago, when this worked perfectly. Tried again yesterday and failed. After Takeoff the Vehicle always turned YAW to North.
Using QGC HEAD:11b8aaf / 2017-05-29 with PX4 1.6.1
Log File: http://logs.px4.io/plot_app?log=650773ef-f5c9-432a-97cb-f7d61249a052
Mission File (Upload from Vehicle):
YAW-Problem.plan.zip
There was a fix for this in QGC and Mavlink: https://github.com/mavlink/qgroundcontrol/issues/4902 which worked until recently. I assume this is not a Mavlink/QGC Issue!?

Followed up in #7194


Prefill Promo code on coupon card from search param + scroll into view

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR introduces functionality for pre-filling a coupon code in the ApplyCouponCard component based on URL search parameters and enhances the user experience by scrolling into view when a coupon code is present.
Detailed summary

Added BadgeContainer for pre-filled coupon code display in ApplyCouponCard.stories.tsx.
Utilized useSearchParams to retrieve the coupon code from the URL in CouponCard.tsx.
Enhanced ApplyCouponCardUI to accept prefillPromoCode and scrollIntoView props.
Implemented scrolling behavior to focus on the form when a coupon code is present.
Wrapped ApplyCouponCard in a Suspense component to manage loading states effectively.

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

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

#4968  👈
#4967
main

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

Join @MananTank and the rest of your teammates on  Graphite


[Core-dev, Backend, Feature] Allow JAX backend in QuantumModel

Currently, the QuantumModel is inheriting from a PyTorch nn.Module. This does not play well with the Jax backend thus it is currently not possible to use the quantum model interface with Jax.

As discussed with @dominikandreasseitz this requires a bit of a rethinking of how the QuantumModel is implemented in Qadence.
Changing the QuantumModel from a torch.nn.Module could also cause compatibility issues with torch CUDA.

@Roland-djee @dominikandreasseitz I would say this is not a priority for the current QuantumModel

@Roland-djee @dominikandreasseitz I would say this is not a priority for the current QuantumModel

Agreed. There is not enough push in that direction company-wise. Though this should be resolved in the next gen.


fix: Fallback to old style search when redisearch isn't available

On v14, redis 3.x is being used which doesn't have inbuilt redisearch package which was added in redis 4.x.
There's no way both of them can be supported. This way at least wiki stays usable in old version with old style website search.

@mergifyio backport version-14


add firebase in-app messaging display pod

This is the firebase in-app messaging display pod, which is the default display implementation for fiam.  It requires firebase in-app messaging of version 0.12.0 or higher.

Please wait for @ryanwilson to review before merging.