Optimize table final causes Unknown log entry type: 0 on replicated tables

Trying to execute optimize table table_name final on server 18.12.17 version and it causes error on another replica:
Code: 49. DB::Exception: Received from localhost:9000, <IP_ADDRESS>. DB::Exception: Received from cl-01.fakedomain.org:9000, <IP_ADDRESS>. DB::Exception: Unknown log entry type: 0.

It works on any ReplicatedMergeTree table. Simple otimize table table_name work, but not with final statement in query.

Having the same issue.
OPTIMIZE TABLE fake_table_1d_local_10 FINAL; Received exception from server (version 18.14.9): Code: 49. DB::Exception: Received from localhost:9000, <IP_ADDRESS>. DB::Exception: Received from <remote_replica_host>:9000, <IP_ADDRESS>. DB::Exception: Unknown log entry type: 0.

I can reproduce it with 100% probability.
ClickHouse server version 18.14.18 revision 54409.
not sure is it important or not
ping zoo1
.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=62 time=5.73 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=62 time=5.12 ms

on 2 servers:
CREATE TABLE opt_test(t   Int32)
ENGINE = ReplicatedReplacingMergeTree ('/clickhouse/{cluster}/tables/opt_test','{replica}') order by tuple();
cat test.sql
truncate table opt_test;
insert into dw.opt_test select 999 from numbers(20);
optimize table opt_test final;

execute on non-leader
cat test.sql |clickhouse-client -mn
Received exception from server (version 18.14.18):
Code: 49. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Received from chdw1-1.sde317.mycmdb.net:9000, <IP_ADDRESS>. DB::Exception: Unknown log entry type: 0.

Workaround [sleep(1)]
cat Workaround.sql
truncate table opt_test;
insert into dw.opt_test select 999 from numbers(20);
select sleep(1);
optimize table opt_test final;

Having the same issue.
Clickhouse verision 18.14.13 & 18.14.19.
I can reproduce it with 100% probability.

@den-crane can you reproduce it without final. The only difference I can see here is final will select the only part to merge which might not exist on the leader server. @alexey-milovidov This doesn't look like a  transaction issue as we are still creating only one log entry.

@amosbird everything works fine without final.
And I execute optimize final at the non-leader host localhost and error reports about the leader XXXX
Received from localhost:9000, ::1. DB::Exception: Received from XXXX DB::Exception: Unknown log entry type: 0.
| => cat test_final.sql |clickhouse-client -mn
Received exception from server (version 18.14.18):
Code: 49. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Received from xxxx. DB::Exception: Unknown log entry type: 0.
| => cat test_final.sql |clickhouse-client -mn
Received exception from server (version 18.14.18):
Code: 49. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Received from xxxx. DB::Exception: Unknown log entry type: 0.
| => cat test_final.sql |clickhouse-client -mn
Received exception from server (version 18.14.18):
Code: 49. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Received from xxxx. DB::Exception: Unknown log entry type: 0.

| => cat test_non_final.sql |clickhouse-client -mn
| => cat test_non_final.sql |clickhouse-client -mn
| => cat test_non_final.sql |clickhouse-client -mn

| => cat test_final.sql |clickhouse-client -mn
Received exception from server (version 18.14.18):
Code: 49. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Received from xxxx. DB::Exception: Unknown log entry type: 0.

| => cat test_non_final.sql |clickhouse-client -mn

| => cat test_final.sql |clickhouse-client -mn
Received exception from server (version 18.14.18):
Code: 49. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Received from xxxx. DB::Exception: Unknown log entry type: 0.

can you try doing twice insert to generate two parts?
cat test.sql
truncate table opt_test;
insert into dw.opt_test select 999 from numbers(20);
insert into dw.opt_test select 999 from numbers(20);
optimize table opt_test final;

The same```
| => cat test.sql
truncate table opt_test;
insert into dw.opt_test select 999 from numbers(20);
insert into dw.opt_test select 999 from numbers(20);
optimize table opt_test final;
| => cat test.sql |clickhouse-client -mn
Received exception from server (version 18.14.18):
Code: 49. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Received from  DB::Exception: Unknown log entry type: 0.
| => cat test.sql |clickhouse-client -mn
Received exception from server (version 18.14.18):
Code: 49. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Received from  DB::Exception: Unknown log entry type: 0.
| => cat test.sql |clickhouse-client -mn
Received exception from server (version 18.14.18):
Code: 49. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Received from  DB::Exception: Unknown log entry type: 0.
| => cat test.sql |clickhouse-client -mn
Received exception from server (version 18.14.18):
Code: 49. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Received from  DB::Exception: Unknown log entry type: 0.
| => cat test.sql |clickhouse-client -mn
Received exception from server (version 18.14.18):
Code: 49. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Received from  DB::Exception: Unknown log entry type: 0.

Hm. Magic sleep.
| => cat test.sql
truncate table opt_test;
insert into dw.opt_test select 999 from numbers(20);
select sleep(1);
insert into dw.opt_test select 999 from numbers(20);
optimize table opt_test final;

| => cat test.sql |clickhouse-client -mn
0

| => cat test.sql |clickhouse-client -mn
0

| => cat test.sql |clickhouse-client -mn
0

| => cat test.sql |clickhouse-client -mn
0

| => cat test.sql |clickhouse-client -mn
0

| => cat test.sql
truncate table opt_test;
insert into dw.opt_test select 999 from numbers(20);
select sleep(1);
insert into dw.opt_test select 666 from numbers(2);
optimize table opt_test final;

| => cat test.sql |clickhouse-client -mn
0
| => cat test.sql |clickhouse-client -mn
0

cat test.sql
truncate table opt_test;
select sleep(1);
insert into dw.opt_test select 999 from numbers(20);
optimize table opt_test final;

| => cat test.sql |clickhouse-client -mn
0
Received exception from server (version 18.14.18):
Code: 49. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Received from XXX DB::Exception: Unknown log entry type: 0.

So it seems when the table is initially empty and when the first part gets created and immediately being remerged, the leader get confused of an empty table having a part to merge.

@den-crane can you try this pr  https://github.com/yandex/ClickHouse/pull/4683


ClusterTunnel image changes don't propagate to Deployment

Hello. I've changed the image of cloudflared in ClusterTunnel resource, but the Deployment didn't upgrade.

Duplicate of https://github.com/adyanth/cloudflare-operator/issues/39


x axis labels in line plot as strings

Hi,
I am trying to plot a line graph where my xaxis are times (as strings i.e. '7am'), I have the following code:
new roughViz.Line(   {     element: '#streaming',     data: './static/availability.csv',     title: 'Line Chart',     x: 'time',     y1: '# games',     width: window.innerWidth / 2,   } );
It will render if I remove 'x', but otherwise I can't get it to use strings as the values- possibly because it needs continuous values? If so,  is there a workaround to replace the visible tick labels?
Thanks!

@slevin886 thanks - I've identified the issue and will try and fix this on the airplane tonight!

Thanks, Jared! Great work on the project!
On Tue, Oct 22, 2019 at 5:58 PM Jared Wilber<EMAIL_ADDRESS>wrote:

@slevin886 https://github.com/slevin886 thanks - I've identified the
issue and will try and fix this on the airplane tonight!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jwilber/roughViz/issues/10?email_source=notifications&email_token=ACMY5R7DKTHIA6ITOAJYOY3QP5ZR5A5CNFSM4JDUFTNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB7LGHY#issuecomment-545174303,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACMY5R23AOLMT4LGWYMBISTQP5ZR5ANCNFSM4JDUFTNA
.

@slevin886 just so ya know: I found/fixed the issue! Going to add a few other fixes then release as v 1.0.5 sometime tonight/this week!

Is there any update on this? I'm not having the exact same issues but when specify what to use as the x-axis labels, it splits the string and uses each character as a label point, i.e. for: x: 'cost' the chart gets generated but the x labels are c,o,s,t. Stranger still, if I specify 'costs' I get a graph that curls back on itself...


ValueError: Unsupported ASR engine: faster-whisper

Im getting this error when i try to load this container.   Here are some log files, but they arent very helpful.
==========
== CUDA ==
==========
CUDA Version 11.8.0
Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:
https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license
A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.
Traceback (most recent call last):
  File "/app/.venv/bin/whisper-asr-webservice", line 3, in <module>
    from app.webservice import start
  File "/app/app/webservice.py", line 19, in <module>
    asr_model = ASRModelFactory.create_asr_model()
  File "/app/app/factory/asr_model_factory.py", line 15, in create_asr_model
    raise ValueError(f"Unsupported ASR engine: {CONFIG.ASR_ENGINE}")
ValueError: Unsupported ASR engine: faster-whisper
Container stopped

If I can get anything else you need, please let me know.  It wont start with either faster-whisper or openai-whisper.

There is a typo in your environment variable. Please use faster_whisper instead of faster-whisper.

There is a typo in your environment variable. Please use faster_whisper instead of faster-whisper.

well thats embarrasing, but ill take that over something that cant be fixed for a while anyday!  Thank you for such a fast reply!  Solved!


Test New Snyk Org

Description
Describe what changed in this PR at a high level.
Issue
Add a link to the issue here.  Consider using
closing keywords
if the this PR isn't for a story (stories will be closed through different means).
Checklist

[ ] I have added tests to cover my changes
[ ] I have added logging where useful (with appropriate log level)
[ ] I have added JavaDocs where required
[ ] I have updated the documentation accordingly

Note: You may remove items that are not applicable

Confirmed that the new Snyk org is reviewing PRs.


changelog: fix link to first change

Bug description
At the first release of the crate, the changelog header links to this:
[0.0.1](https://github.com/olivierlacan/keep-a-changelog/compare/v0.0.1...v0.0.1)

Instead, according to keepachangelog, we should have:
[0.0.1](https://github.com/olivierlacan/keep-a-changelog/releases/tag/v0.0.1)

Hi @MarcoIeni,
If I understood this correctly, what we consider the first release is:

The previous tag is the same as the newest tag (in other words, there is no other tag besides the newest one)

So what needs to be changed is just a single method:
https://github.com/MarcoIeni/release-plz/blob/main/crates/release_plz_core/src/repo_url.rs#L46 because we are already selecting the tags correctly.
Right? Or is there another place where we generate the link?

Yes, you are right!
An easy way to test this would be to run release-plz update locally on a new project. The name of the crate shouldn't exist in crates.io, so that release-plz detects it as a first release.

fixed by #450


Fix/search highlight color

The contrast of search highlights within dark mode was too high.
Before:

Result:

I have read the CLA Document and I hereby sign the CLA

recheck


mac m1 velocyto error

i create conda environment and installed velocyto without error.
However, when i tried to run velocyto, it keeps giving this error.
i have checked python info and it is already

does anyone can help me?

@parkjooyoung99 It seems to be related to compilers and there is an old issue about this, https://github.com/velocyto-team/velocyto.py/issues/53. You might want to try the steps suggested by the author.

I have the same issue on my M1 mac. The issue pointed by @michaeleekk does not solve the problem, since velocyto is installed without error. Could you provide some help on this?

I have the same issue on my M1 mac. The issue pointed by @michaeleekk does not solve the problem, since velocyto is installed without error. Could you provide some help on this?

Yes, me too. Any suggestion?

Also having the same issue on an M1 mac despite using arch -x86_64 pip velocyto

me too. is there still no solution or workaround ? help would be greatly appreciated :)


Test script running very slowly

Lately for past few weeks, the testing toolchain execution is quite slow. A lot of time (upwards of 5 minutes) is spent executing run_tests.sh when I run run_tests.py
Any ideas what's causing this?

Marking as a preceding-duplicate (chronological ordering? what's that?) of #8494.


Zooming to cursor is buggy on bigger maps

OS:  Linux
Version:  18.02+
Commit/Build:  9c6ff196c6eddbd4d542a2708b2959df766dea92
The new zooming to cursor functionality, adapted from a similar feature I did for OpenRCT2, appears to be broken for bigger coordinates. Investigation is needed to determine why this is happening. Perhaps it is a simple overflow.
Steps to reproduce:

Generate a Weatherworld map
Zoom in and out

Locomotion does support bigger maps but not that much bigger. 384x384 I believe, this does mean you should not be using uint8 for map positions.

Yeah, we are using uint16_ts.


Sync not working after convert Public to workspace label

Description
I converted Public from the team label to the workspace label in linear, then the sync service started not working on newly added issues.
Steps to Reproduce

setup sync service between linear team A and GitHub repository B
create a label named Public in team settings
convert Public to workspace label
label an issue in A with Public
the issue will not sync to B

To convert a label to a workspace label

Thanks @HenryC-3. While we think of a fix (labels are fetched here), would you be open to keeping per-team Public labels? Curious, how many Linear teams are in your workspace?

Thank you for the response. I created 4 teams, and 2 of them used the synclinear to sync github issues

Thank you. For now, I'm going to close this as an edge, but more than open to a fix PR!

Hi @tedspare
After deleting the workspace Public label, I tried to use per-team Public labels, but the sync still broke. Maybe creating a sync from the scratch would be a better option.
Could you please reset the following repo's records in the DB for a fresh sync? (https://github.com/calcom/synclinear.com/issues/32)

https://github.com/HenryC-3/dotfiles
https://github.com/HenryC-3/linear-sync-with-github-issue

Thank you.

Hey @HenryC-3, I've wiped these two repos and their corresponding Linear teams from the DB - please let me know if there's any trouble re-syncing!


Unable to handle Result Request in Fragments

Current Behavior
The result is delivered to the activity's onActivityResult since the return call is being made to the activity context. Result is not delivered to the fragment's onActivityResult.
Expected Behavior
Call from Fragment delivers the result to the fragment.

Okay. I saw #11 Closing, therefore.

in fragments use rxjava adapter
        new VideoPickerHelper(new VideoPicker.Builder(getActivity())
                .mode(VideoPicker.Mode.CAMERA_AND_GALLERY)
                .directory(VideoPicker.Directory.DEFAULT)
                .extension(VideoPicker.Extension.MP4)
                .enableDebuggingMode(true)

        ).getObservable().subscribe(new Observer<List<String>>() {
            @Override
            public void onSubscribe(Disposable d) {
                Log.d("Upload", "selected : "+d.isDisposed());

            }

            @Override
            public void onNext(List<String> mPaths) {
                Log.d("Upload", "selected : "+mPaths.get(0));
            }

            @Override
            public void onError(Throwable e) {
                Log.d("Upload", "selected : "+e.getMessage());

            }

            @Override
            public void onComplete() {
                Log.d("Upload", "selected :fin ");

            }
        });


set unavailable when bluetooth connection fails

It seems if bluetooth gets disconnected (or fails for another reason), a stale state shows - this should trigger to instead show the mug as "unavailable" in HA

Oh good thinking. I thought it wouldn't actually change the attribute given the UpdateFailed exception, but worth a try.

I added this to 0.4.1 beta 2


Broken links in the docs

"If this is your first skill, choose the Alexa-Hosted backend instructions to get started quickly.
If you want to manage the backend resources in your own AWS account, you can follow the AWS-Hosted instructions.
Developers with the ASK Command Line Interface configured may follow the ASK CLI instructions."
Ask CLI and AWS-Hosted instruction links are broken.

Follow folder "instructions" on root of the folder code, thats is all files with tutoral sequence of learning!

Updated to link.


🎨 Designer Review - round 2

Once all the designer review items are complete - get another review in preparation for go live

Hey @BrookJeynes

BUG - see the ON AIR banner at the top... text is outside the banner area

UI - Make the navigation squares in the carrousel bigger and closer to each other (use current site as reference)

UI -Make "CONSULTING" and "CORE SERVICES" font a bit smaller (use current site as reference)

UI - Improve the "More services..." button style (current site as reference)
Note: Same for "More events"

UI - Remove padding between thumbs (blue) + Add padding on the right (orange)

UI - Change the red text to be black
PS. I know this is coming from the current site, but I don't like the red in there. We can try to improve this area later on

UX - On the new site I can't tell this is a video (we need the play button)

UI - The current site is 1170px wide, the new one is 1120px... any reason to lose the 50px? I would prefer to increase than decrease, but it is safer to keep the same.

9 UI - Footer - Add the separator between the 2 lines + make font bigger (use current site as reference)

BUG - see the ON AIR banner at the top... text is outside the banner area

@tiagov8 already have an issue for this
#184

Hey guys, 1 more... after checking with designers we agreed:

...the text should be center aligned instead of justified on Related Technologies boxes

The following PBIs have been created to cover these responses:

[ ] https://github.com/SSWConsulting/SSW.Website-v3/issues/190
[ ] https://github.com/SSWConsulting/SSW.Website-v3/issues/191
[ ] https://github.com/SSWConsulting/SSW.Website-v3/issues/192
[ ] https://github.com/SSWConsulting/SSW.Website-v3/issues/193
[ ] https://github.com/SSWConsulting/SSW.Website-v3/issues/194
[ ] https://github.com/SSWConsulting/SSW.Website-v3/issues/196
[ ] https://github.com/SSWConsulting/SSW.Website-v3/issues/197
[ ] https://github.com/SSWConsulting/SSW.Website-v3/issues/198
[ ] https://github.com/SSWConsulting/SSW.Website-v3/issues/202
[ ] https://github.com/SSWConsulting/SSW.Website-v3/issues/203
[ ] https://github.com/SSWConsulting/SSW.Website-v3/issues/204
[ ] https://github.com/SSWConsulting/SSW.Website-v3/issues/204
[ ] https://github.com/SSWConsulting/SSW.Website-v3/issues/205

Closing as the feedback tasks have moved to new issues


DO NOT MERGE - CI testing

Hey Alex, I figured out how to update the Azure config yml to get the PR building now.  Thanks for the help!


Create nested routes based on relations

Consider these two tables:
-- Add SQL in this file to create the database tables for your API
CREATE TABLE IF NOT EXISTS movies (
  id INTEGER PRIMARY KEY,
  title TEXT NOT NULL
);
CREATE TABLE IF NOT EXISTS quotes (
  id INTEGER PRIMARY KEY,
  quote TEXT NOT NULL,
  movie_id INTEGER NOT NULL REFERENCES movies(id)
);

Currently we are creating routes for /movies/:id and /quotes/:id, however it would be really nice if we could create /movies/:movideId/quotes and /movies/:movieId/quotes/:id set of routes.

Hi @mcollina. Can't We Use (inner) Join to return the matching id of both the tables ? Can I be Assigned this issue?

Sure thing, take it.
I don't understand why you'd need an inner join for this.


Added comments to improve the readability of code.

As a part of GSSOC open source contribution, i have gone through the code thoroughly and added proper comments, making the code more readable.

hello, @shrawani21 could you please label it under GSSOC'24? so that my contribution can be recognized?
Thank you!

Hello @shrawani21 could you please assign the gssoc label?


Parameter examples?

Would it be possible to add something for this https://swagger.io/docs/specification/adding-examples/#parameters ?

The spec you've linked to is the OpenAPI spec aka Swagger 3.0
As far as I'm aware, Swashbuckle was written against the Swagger 2.0 spec. I don't know if or when Swashbuckle will move to the OpenAPI spec, but when they do then your suggestion will be a good one.
For now, the parameters object in Swagger 2.0 doesn't have an examples property.
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#parameterObject


git-crypt: add runtime dependencies to PATH

In particular, git-crypt won't work if git and git-crypt are not in PATH. This surfaced after dbb8958fefd486a3eb53c8db1af7e2452047a608.
Motivation for this change
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Post a comment when this PR is ready :)

@grahamc it is ready now :)

(I pushed once more for a nicer commit message. Will stop now.)

Thank you!

@grahamc could you also cherry pick this to 17.09 please?


Closure API reference web design

Is there any possible chance you guys would consider bringing back the old design for the closure library docs? I personally find the new one more difficult to use and navigate.

If you can't bring the old design back, then I highly recommend changing the old docs on Google Code so they 301 redirect to the new docs. This is because the old docs are very out of date, yet they still dominate in the search results.

It is no longer possible to modify the Google Code site, we should shut it
down entirely.  The "redesign" of the docs was unintentional and a
side-effect of changing doc generation tools.    Was there something
specific about the old docs that you miss?
On Wed, Mar 2, 2016 at 10:46 AM, Justine Tunney<EMAIL_ADDRESS>wrote:

If you can't bring the old design back, then I highly recommend changing
the old docs on Google Code so they 301 redirect to the new docs. This is
because the old docs are very out of date, yet they still dominate in the
search results.
—
Reply to this email directly or view it on GitHub
https://github.com/google/closure-library/issues/668#issuecomment-191368078
.

The menu being collapsed by default
The shade of blue in the old docs was easier to read.
I found this: "goog.dom.flattenElement(element) ⇒ Element | undefined" more readable than this: "flattenElement(element)"
I'm not feeling the underlines on some of the section tags

Does this new tool give you a choice of design? I would be happy to review them and give you my 2 cents :dancer:
Another example of really readable documentation is this: https://docs.python.org/2/library/datetime.html I think that the tool that makes that is sort of general purpose.

@jart Dossier is the new tool.

I'd bet Jason Leyba would be open to contributions to make the generated documentation easier to read, and we'd certainly welcome any improvements we got here as a result!  I fully agree with your example that explicitly including the namespace and the return type is more readable, FWIW.

I would consider chipping in some 20% time to make Dossier's output look slightly more fabulous. But before doing that, I would like to have a better understanding of what was wrong with the old tool? Why did Closure Library choose to migrate to Dossier? Why is Dossier hosted under Jason's personal account rather than Google?

FWIW, I've been using Dossier on my own project and IT IS FANTASTIC.  Yes,
the choice of output is limited to what Jason has set up now, but I'll bet
that is malleable somehow (perhaps not yet easily).  What is so great about
Dossier is that it works directly with Closure Compiler based code, pretty
much as good as (or better) than the equivalent JavaDoc tools in the Java
world.
Note that the current Dossier outputs a somewhat different style than what
is seen in the Closure Library docs.  I also would like to make some
changes in the output, but that is subsidiary to having a tool that is able
to grok Closure Compiler code.
--ErikN
On Thu, Mar 3, 2016 at 2:25 PM, Justine Tunney<EMAIL_ADDRESS>wrote:

I would consider chipping in some 20% time to make Dossier's output look
slightly more fabulous. But before doing that, I would like to have a
better understanding of what was wrong with the old tool? Why did Closure
Library choose to migrate to Dossier? Why is Dossier hosted under Jason's
personal account rather than Google?
—
Reply to this email directly or view it on GitHub
https://github.com/google/closure-library/issues/668#issuecomment-191994300
.

@jart We migrated away because the old documentation was built by a tool based on the original internal version of Kythe, but when they moved to open-source Kythe it became incompatible and so eventually we were no longer able to regenerate the docs.  The old tool was also completely unmaintained, so there were various bugs and I think it was pretty appealing to move to a tool that was actually being maintained.  I have no idea why it's in Jason's personal account, but presumably he's cleared it through all the appropriate channels (for comparison, Truth used to also be a "moonlighting" project hosted outside of Google).

Well I'm glad I complained. I'm in the process of launching a brand new comprehensive JavaScript build system for Bazel. It's built on the Closure Tools, has cool stuff like PhantomJS testing, and is meant to make The Google Way™ simple and accessible to external developers. (Ping me for a link to the internal staging repo.)
Dossier appears to be well-written and is actively maintained by a Googler. So I'd like to integrate it in the Closure Rules as the recommended documentation generator. But this doesn't appear like it would be a simple thing to do.
Ideally, I would like to be able to download Dossier from Maven as a single jar that includes its dependencies. This is because each external dependency I add to Closure Rules incurs a social cost. Bazel forces the developer to not only maintain his own dependencies, but also the transitive dependencies of everything he uses. If integrating with Dossier carries the cost of twelve additional dependencies, then developers may be less inclined to use the Closure Rules.
I would also like to be able to configure Dossier with flags rather than JSON. Bazel build rules aren't really able to automate writing JSON.
Are these changes you would consider @jleyba?

We're working a lot on Bazel rules for JS internally, and so I'd be very
interested in seeing what you've got.  Once we figure out what we're doing
internally I'm hopeful that we can push some of it out as well.
It doesn't seem like writing JSON should be too hard - IIUC, you can pass
arbitrary dicts and arrays to Bazel macros (though not to rules) and it
should be pretty easy to stringify a reasonable input.  Though command-line
flags could certainly make things easier, too.
On Sat, Mar 5, 2016 at 5:07 PM, Justine Tunney<EMAIL_ADDRESS>wrote:

Well I'm glad I complained. I'm in the process of launching a brand new
comprehensive JavaScript build system for Bazel. It's built on the Closure
Tools, has cool stuff like PhantomJS testing, and is meant to make The
Google Way™ simple and accessible to external developers. (Ping me for a
link to the internal staging repo.)
Dossier appears to be well-written and is actively maintained by a
Googler. So I'd like to integrate it in the Closure Rules as the
recommended documentation generator. But this doesn't appear like it would
be a simple thing to do.
Ideally, I would like to be able to download Dossier from Maven as a
single jar that includes its dependencies. This is because each external
dependency I add to Closure Rules incurs a social cost. Bazel forces the
developer to not only maintain his own dependencies, but also the
transitive dependencies of everything he uses. If integrating with Dossier
carries the cost of twelve additional dependencies, then developers may be
less inclined to use the Closure Rules.
I would also like to be able to configure Dossier with flags rather than
JSON. Bazel build rules aren't really able to automate writing JSON.
Are these changes you would consider @jleyba https://github.com/jleyba?
—
Reply to this email directly or view it on GitHub
https://github.com/google/closure-library/issues/668#issuecomment-192775751
.

The closure API docs are several versions behind on dossier. Here's an example of what the latest version looks like. I'd gladly welcome contributions on the design front. For instance, I need to make the keyboard shortcuts more discoverable (/ focuses the search box, n toggles the nav menu)
I do have an open issue (jleyba/js-dossier#18) for supporting custom templates.
@shicks Dossier isn't a Google project - it has been cleared through the appropriate channels.

I'll work with @jleyba to pick up the latest.

@jleyba That search functionality in the latest version seems to work really well. I like the material design. The only thing that might be problematic is a lot of clicks are required to find libraries when not using the search.
Is there any chance you'd be interested in making a build rule contribution to the https://github.com/bazelbuild/rules_closure project, adding support for Dossier? I think the project could benefit greatly from your documentation generator.

@jart Awhile back I wrote a custom closure compiler Document pass to teach myself the compiler.  Sample output is at https://developer.pubref.org/static/apidoc/global/closure/goog/ui/Component.html.
It does not traverse the type system as faithfully as dossier, but IMHO is easier to grok.  At some point I'll probably work to incorporate the output with dossier, but you're welcome to refer to this output as an alternative rendering.

@pcj Oh your documentation is quite beautiful. I would like it very much if Dossier produced output that looked more more similar to this.

We just use Dossier


Combine workshops: PetClinic + improving MTTR with custom tags

Is your feature request related to a problem? Please describe.
Custom tagging could enrich the existing PetClinic workshop.
Describe the solution you'd like
"improving MTTR with custom tags" to be added to the PetClinic workshop as an optional part.
Describe alternatives you've considered
CSEs find that they often spin up both workshops for adequate coverage.
Additional context
Topic brought up during CSE sync, supported by multiple teammates. CSEs would rather spin up one workshop and have the flexibility to cover all or some of the content, rather than spinning up multiple workshops to cover closely relevant topics.

improving MTTR with custom tags is going to be retired soon. Closing this issue.


fix(icons): changed trophy icon

What is the purpose of this pull request?

[x] Other: Icon update

Description
Arcified icon.
Before Submitting

[x] I've read the Contribution Guidelines.
[ ] I've checked if there was an existing PR that solves the same issue.

+1 for adding the top rounding, but -1 for changing the base.


Another negative example for MMLU tasks.

It seems like the annotators needed one negative example that actually had an incorrect answer, not just an answer with an incorrect format. I couldn't add examples because I lack the knowledge to provide explanations.

I am working on it. (See Discussion #467)


distributed RPC-based speculative evaluation

plan copypasta from https://github.com/ggerganov/llama.cpp/discussions/6853#discussioncomment-9473072:

We might not even need to write too much new code for this, I suppose. Given that models are separate, we can start (main_A + speculative) on instance_A, (main_B + speculative) on instance_B. Then we need to orchestrate the data/logic passing during transition phase:
In the 'middle' of main model processing (A is done with first half), we need to pass activations to B and whatever B speculated so far back to A
At the end of main model processing (B is done with logits) we need to get whatever latest speculation on B is, consolidate it with what we have currently produced on A, pass the 'current approved tokens' to A, start speculating on B.
repeat

Relevant links:

https://github.com/ggerganov/llama.cpp/discussions/6853
https://github.com/ggerganov/llama.cpp/pull/3624
https://github.com/ggerganov/llama.cpp/pull/6829

Devices I can test it on are:

M2 Ultra 192GB
M2 24GB
M1 16GB

Work will be done here: https://github.com/okuvshynov/llama.cpp/tree/duo, as I'll need some changes to llama.cpp itself.


Access the camera's video stream on android

I'm making a face detection app using face.api on Ionic/Angular for android devices and I need to access the video stream for face.api functions to work. This works on on webview as camera preview creates a < video > html entity with an id which i can get with querySelector. However, This does not happen on android platforms.
When I check the html structure of the app with chrome debugger, the < video > object doesn't show up even though there is a video stream happening on the device from the camera, resulting in face.api not being able to retrieve the video information. To reiterate, this works well on web.
It would really help me if there was a way to reach the < video > object so i can detect faces with face.api.
Thanks for the great plug-in btw!

I was testing this plugin for exactly the same purpose, to use it in conjunction with face-api.js.
I did the first tests on the web version and when I went to test on Android I forgot to add the plugin in MainActivity. It was then that the camera was started up normally, however, using the only implementation provided by me, which was the web version.
That way, the <video> tag was used and in your case, just like mine, you can access the video stream via querySelector :)
I hope it helped and good luck with the project!

On native there is no video tag used but native code instead.
If you need a video tag, you don't really need the plugin, Capacitor supporst getUserMedia and using it in a video tag.


Any example codepen apps for react-d3-graph?

Hey Guys,
I'm trying to reproduce an issue to see if its something im doing or if its a bug with react-d3-graph.  Does anyone have a codepen example using react-d3-graph?  I'm having issues pulling that module in to code pen.  Seeing the following error:
Unexpected token 'export'
codepen: https://codepen.io/4kLtPQd96-Y2p1GKmduw/pen/MWjBvNB
Also see errors when i import from skypack:
Uncaught SyntaxError: Cannot use import statement outside a module
at https://cdpn.io/cp/internal/boomboom/pen.js?key=pen.js-6525fd31-6228-8918-322e-ada187124e23:1
Thanks,
Michael

Hi @michaelbdavid ,
I often use codesandbox when it comes to React because I find it easier to use.
I recently created a PR to have available codesandbox links reproducing the react-d3-graph sandbox examples (#417), you could maybe fork this codesandbox to reproduce your issue?

Hi @michaelbdavid ,
I often use codesandbox when it comes to React because I find it easier to use.
I recently created a PR to have available codesandbox links reproducing the react-d3-graph sandbox examples (#417), you could maybe fork this codesandbox to reproduce your issue?

@antoninklopp thank you this is exactly what im looking for.

@antoninklopp thank you this is exactly what im looking for.

Closing with #417


Fixes #2678 - enables training_step to return None

Fixes #2678 - enables training_step to return None

Hello @williamFalcon! Thanks for opening this PR.

In the file tests/trainer/data_flow/test_train_loop_flow_scalar_1_0.py:

Line 218:1: W391 blank line at end of file

Do see the Hitchhiker's guide to code style


Browser is closed before the page is loaded fully in testcafe

On accessing a private url and after login, the expected behavior is landing up in Home page
But browser gets closed before that,
Tried beforeEach(async (), but it ends up in error, "Error in fixture.beforeEach hook - ClientFunction cannot implicitly resolve the test run in context of which it should be executed. If you need to call ClientFunction from the Node.js API callback, pass the test controller manually via Client Functions .with({ boundTestRun: t }) method first. Note that you cannot execute ClientFunction outside the test code."
Kindly help in sorting it out,

On accessing a private url and after login, the expected behavior is landing up in Home page
But browser gets closed before that,

It looks like a bug. Could you please provide us a simple example on which we can reproduce the problem on our side?

Ex:amazon website. Once Home page is been redirected testcafe is closing the browser, but I want to make sure the entire DOM is loaded
sample.docx
, In my case, after login the page should be loaded completely, but it is closed once logged in after 10 seconds. But page load time is greater than 30 seconds. DOM loading is not happening
Can you also some other methods to make sure page loading happens before test is passed, apart from using explicit wait.
Is there any ways to get it done using mocha/chai,
Kindly help me on this.

I am afraid this information is not sufficient to find the cause of the issue.
Feel free to reopen this issue if you can provide an example which we can run on our side.
It's easy to put all necessary files to a separate repository as shown here.


Importing "QCalendarDay" instead of "QCalendar"

Looks like QCalendarDay.esm.js exports QCalendarDay, not QCalendar :)

Thanks for finding this, @ldiebold !


Add glue components

In the file : https://awspolicygen.s3.amazonaws.com/js/policies.js the permission is listed as GetMLTransforms. Looks like you have GetMlTransforms


Is it possible to predict other type of images like png?

Although I am trying to predict png file, the error shows jpg file not found. Any idea?

Thanks in advance

Hi,
I was having the same problem with my png files, and it seems like in the code somewhere it adds .jpg extension to the filename, regardless of the file format.
Although one could change one line of code to make it work for png, I figured it would be faster to convert all the png files to jpgs other than trying to track down the codes that the authors wrote.
I used software called 'Imagemagick' to batch process all images from png to jpg (https://imagemagick.org/index.php):
'sudo apt install imagemagick'
mogrify -monitor Detail -path "OuputFolderName" -format jpg *.png
Please note that above command needs to be run on the folder where you have png images.
It took about 10 minutes to process 2.5G worth of 60,000 images on my laptop, so it doesn't take that long.


Enables true hot loading by moving components into independent jsx files

Devserver was doing an entire page refresh on new modules coming in, rather than simply hot loading. Moving the components into separate JSX files solves this and allows for true hot loading.

Thanks for the PR 👍


PLAT-29678: Create/update Design Principles doc for Enact

Issue Resolved / Feature Added
Added webOS Design Principles doc.
Links
PLAT-29678
Enyo-DCO-1.1-Signed-off-by: Dave Freeman<EMAIL_ADDRESS>

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Dave Freeman seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Dave Freeman seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Fix styling sidebar performance

Description
This fixes a gnarly performance issue when the number of node or edge types is large (roughly over 20). The browser would essentially lock up and be nearly unuseable.
The problem was that the effect that watch for the Input value change was being fired way too often, including the initial render, and the state update is very slow.
The fix was to properly debounce the value change and also compare to previous value. This led to another fix in the usePrevious hook where it didn't always have the correct value.
And finally, I did some cleanup in the SingleEdgeStyling and SingleNodeStyling  components to lean on Recoil selectors to simplify the logic.
Changelog
I accidentally pushed the changelog update to main directly. Since it is a non-destructive change, I'm just going to leave it there rather than revert it and add it to this PR.
https://github.com/aws/graph-explorer/commit/fc0a0e5f2a814a8a8f14d8f45f32525a0274debb
Validation

Tested changing display name in Input in sidebar
Tested changing preferences in customize popup
Tested resetting styles in customize popup

Related Issues

Check List

[x] I confirm that my contribution is made under the terms of the Apache 2.0
license.
[x] I have run pnpm checks to ensure code compiles and meets standards.
[x] I have run pnpm test to check if all tests are passing.
[ ] I have covered new added functionality with unit tests if necessary.
[x] I have added an entry in the Changelog.md.

There are a couple of unit test errors under the usePrevious hooks, be sure to fix/adjust these

Oof.. You are right. Turns out I ran the checks and tests on the main branch too. LOL.
I'll get them fixed up.

There are a couple of unit test errors under the usePrevious hooks, be sure to fix/adjust these

Oof.. You are right. Turns out I ran the checks and tests on the main branch too. LOL.
I'll get them fixed up.

Tests fixed


MaaS: Join Python packages lists

Both lists of Python packages are installed at the same time and
they should be consolidated into one to remove confusion.
Connects rcbops/rpc-openstack#1988

@alextricity25 Since you requested this one. ;)

Added requests, still need to fix the merge conflict. :(

Should be in better shape.


Pin kfp to the latest 2.5.0 release.

Partially fixes: https://issues.redhat.com/browse/RHOAIENG-11623
Description

Pin kfp to the latest 2.5.0 release.
How Has This Been Tested?

Merge criteria:

[ ] The commits are squashed in a cohesive manner and have meaningful messages.
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[ ] The developer has manually tested the changes and verified that the changes work

Working on piplock files system giving me problems

Adding the first part created by @jstourac as ref: https://github.com/opendatahub-io/notebooks/pull/702.
But still not sure if we should or not add this on tensorflows based on https://github.com/opendatahub-io/notebooks/pull/702#issuecomment-2360877775

Thank you for this, @dibryant . Two points:

As Adriana mentioned, I'm not sure whether pinning to 2.5 makes much sense. But maybe we can do it and put some comment with link and explanation why we pin to 2.5 version only on that line.
Is there a reason to do this partially now? I think it makes sense to do it as a complete update to satisfy the https://issues.redhat.com/browse/RHOAIENG-11623 fully; unless I'm missing something.

Working on piplock files system giving me problems

Feel free to share. It works for me:
~/workspace/rhosai/odh/notebooks/jupyter/rocm/tensorflow/ubi9-python-3.11 on  e511fc3f! ⌚ 12:44:38
$ pipenv lock
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
✔ Success!
Locking [dev-packages] dependencies...
Updated Pipfile.lock (58ac513f79c0b63a581d46d2cd8fb401d6382d45c83920b461ff37d76175c438)!

$ pipenv --version
pipenv, version 2024.0.1

$ python --version
Python 3.12.6

Note: runtime images will be probably resolved for the kfp pin via #706.

/approve
/override ci/prow/rocm-notebooks-e2e-tests
/override ci/prow/notebooks-ubi9-e2e-tests
/override ci/prow/notebook-rocm-jupyter-tf-ubi9-python-3-11-pr-image-mirror
/override ci/prow/images


Definition of ELEMENT_INDEX_TABLE_KEYS and ELEMENT_RESULT_NCOMP

Hello,
Would it be possible to add the definition of the variables ELEMENT_INDEX_TABLE_KEYS and ELEMENT_RESULT_NCOMP to the Result class?
class Result(AnsysBinary):
    ELEMENT_INDEX_TABLE_KEYS = ELEMENT_INDEX_TABLE_KEYS
    ELEMENT_RESULT_NCOMP = ELEMENT_RESULT_NCOMP

In this way, they can be accessed from outside the rst.py file.
Thank you
Francesco

Will do.  How soon do you need this released?

That is great, thanks.
As usual, the sooner the better ;o)
It would be good for the end of July.

I can have it by today, it's a trivial fix.  If you want, you can even fork and make a PR if you'd like to contribute (could even use the web interface).
Got a few other fires to put out first.

No hurry.
I can try next week, so I learn how to do it.
On Fri, 25 Jun 2021, 17:43 Alex Kaszynski, @.***> wrote:

I can have it by today, it's a trivial fix. If you want, you can even fork
and make a PR if you'd like to contribute (could even use the web
interface).
Got a few other fires to put out first.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pyansys/pymapdl-reader/issues/49#issuecomment-868642707,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN2NPHGJTKDILXZMCZGHQ2TTUSPZ3ANCNFSM47KB42XQ
.

Closed in this PR.
Thank you!!

Well done with your first PR!


Rename and deprecate old method specifying the profiler signer URL.

The URL used for the signer is very specific to the profiler in that all the configuration stuff uses the word "Profiler" in it, this is not really the case as the signer can be used for anything. So to remove confusion this will be changed to just signer.

Removal is to be done in #181.


Enable Mapping on UserID

What this PR does / why we need it:

this PR add UserId lookup in the RoleMapping for dynamic file
this PR fix the User mapping failure introduced by https://github.com/kubernetes-sigs/aws-iam-authenticator/commit/55005e174cfca7eb5538b5dedfc409cca9be6d1a#diff-4dfc68b8a5ed36d024d6f6626d8aa66132e3c5702e882182396fbbcb1299cf01R40

bug explaination:
https://github.com/kubernetes-sigs/aws-iam-authenticator/commit/55005e174cfca7eb5538b5dedfc409cca9be6d1a#diff-4dfc68b8a5ed36d024d6f6626d8aa66132e3c5702e882182396fbbcb1299cf01R40 didn't update m.UserARN to canonicalizedARN. When it compares the UserARN, it only lower case the m.UserARN, but didn't call canonicalize either. https://github.com/kubernetes-sigs/aws-iam-authenticator/commit/55005e174cfca7eb5538b5dedfc409cca9be6d1a#diff-7f58544dd05343616eb8d9d780c0989085cb17cbd650375495ce8152bc872642R118
This caused lookup failure because the server always pass in canonicalizedARN. https://github.com/kubernetes-sigs/aws-iam-authenticator/blob/master/pkg/server/server.go#L379
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

After discussion, we will limit the flag to affect dynamic file backend mode, with the intention that we can add flags for other backend modes.

I think everything is resolved.
/lgtm
/approve


Add sendAll for Byron endpoints

Issue Number

#1658
Overview

[x] I have added refactored endpoints in ByronMigration family
[x] I have changed swagger
[x] I have changed impl of migrateWallet
[x] I have updated unit tests
[x] I have updated integration tests
[ ] I have added properties for assignMigrationAddresses

Comments

How to run tests :
stack test cardano-wallet-jormungandr:jormungandr-integration --ta '-m "BYRON_MIGRATE_01 -  migrate a big"'

bors try

bors r+

bors r+


Blade components: Passing through props via $attributes breaks x-tag parsing

Laravel Version: 7.25.0
PHP Version: PHP 7.4.2

Description:
When you nest a component like so:
welcome.blade.php
<!DOCTYPE html>
getLocale()) }}">

    <x-foo src="https://festileaks.com/wp-content/uploads/2017/10/Foo-Fighters-press-Brantley-Gutierrez-696x522.jpg"/>

foo.blade.php

    <x-bar {{ $attributes }}/>

bar.blade.php

You end up with an actual <x-bar /> in your html.
Steps To Reproduce:
I've created a minimal reproduction example here: https://github.com/jordyvandomselaar/laravel-components-attributes-bug

You can't pipe through attributes in 7.x like that. In 8.x this is fixed.

Alright but 8.x isn't released yet and according to https://laravel.com/docs/master/releases, Laravel 7 gets bugfixes until September 3rd.
It strikes me as really odd that it won't get fixed in the currently latest version of Laravel.

@jordyvandomselaar this isn't a bug. It's an unsupported feature for 7.x. We can't implement it in 7.x without breaking a whole lot, including the way people might currently be handling attributes in their apps.


Controllers

ref:

https://github.com/scientist-softserv/hykuup_knapsack/issues/85

Closing per Kirk's PR
Controllers were examined and no changes were needed


Box: forward ref

Changes
Allow a ref to be set on <Box />
Why
Increase Box adoption - currently folks are using a regular div whenever they have to set a ref

Ignoring the whitespace changes made it so much easier to review 😅

Yes - for folks that don't know how to do that, you can use ?w=1 in the URL: https://github.com/Cambly/syntax/pull/142/files?w=1


Update Photoprism Error

Hey there :) I just wanted to upgrade my photoprism instance to release 231011-63f708417 but I get following error when running "sudo make upgrade".
(I update golang to the latest 21.1.3 as stated in the latest photoprism release.)
Also sudo make all fails as well afterwards. May you know how to fix that?
photoprism@photoprism:~/photoprism$ sudo make upgrade
(cd frontend && npm --depth 3 update --legacy-peer-deps)
npm WARN update The --depth option no longer has any effect. See RFC0019.
npm WARN update https://github.com/npm/rfcs/blob/latest/implemented/0019-remove-update-depth-option.md

up to date, audited 1281 packages in 6s

262 packages are looking for funding
  run `npm fund` for details

6 vulnerabilities (3 moderate, 1 high, 2 critical)

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
go get -u -t ./...
go: github.com/photoprism/photoprism/internal/classify imports
        github.com/tensorflow/tensorflow/tensorflow/go imports
        github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto: cannot find module providing package github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto
go: warning<EMAIL_ADDRESS>retracted by module author: Accidental; no major changes or features.
go: to switch to the latest unretracted version, run:
        go get github.com/mattn/go-sqlite3@latest
make: *** [Makefile:192: dep-upgrade] Fehler 1
photoprism@photoprism:~/photoprism$ sudo make all
scripts/download-facenet.sh
Installing Facenet model for TensorFlow...
Downloading latest model from https://dl.photoprism.app/tensorflow/facenet.zip?20231013...
--2023-10-13 21:09:49--  https://dl.photoprism.app/tensorflow/facenet.zip?20231013
Auflösen des Hostnamens dl.photoprism.app (dl.photoprism.app)… <IP_ADDRESS>
Verbindungsaufbau zu dl.photoprism.app (dl.photoprism.app)|<IP_ADDRESS>|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 87449984 (83M) [application/zip]
Wird in »/tmp/photoprism/facenet.zip« gespeichert.

/tmp/photoprism/facenet.zip                          100%[===================================================================================================================>]  83,40M  28,3MB/s    in 3,0s

2023-10-13 21:09:52 (28,3 MB/s) - »/tmp/photoprism/facenet.zip« gespeichert [87449984/87449984]

0492eb1d67789108b7eefb274e26633504b059be  /tmp/photoprism/facenet.zip
Creating backup of existing directory: storage/backup/facenet-20231013
Archive:  /tmp/photoprism/facenet.zip
   creating: assets/facenet/
  inflating: assets/facenet/saved_model.pb
Latest Facenet installed.
scripts/download-nasnet.sh
Installing NASNet Mobile model for TensorFlow...
Downloading latest model from https://dl.photoprism.app/tensorflow/nasnet.zip?20231013...
--2023-10-13 21:09:53--  https://dl.photoprism.app/tensorflow/nasnet.zip?20231013
Auflösen des Hostnamens dl.photoprism.app (dl.photoprism.app)… <IP_ADDRESS>
Verbindungsaufbau zu dl.photoprism.app (dl.photoprism.app)|<IP_ADDRESS>|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 20682520 (20M) [application/zip]
Wird in »/tmp/photoprism/nasnet.zip« gespeichert.

/tmp/photoprism/nasnet.zip                           100%[===================================================================================================================>]  19,72M  26,6MB/s    in 0,7s

2023-10-13 21:09:54 (26,6 MB/s) - »/tmp/photoprism/nasnet.zip« gespeichert [20682520/20682520]

f18b801354e95cade497b4f12e8d2537d04c04f6  /tmp/photoprism/nasnet.zip
Creating backup of existing directory: storage/backup/nasnet-20231013
Archive:  /tmp/photoprism/nasnet.zip
   creating: assets/nasnet/
  inflating: assets/nasnet/labels.txt
   creating: assets/nasnet/variables/
  inflating: assets/nasnet/variables/variables.data-00000-of-00001
  inflating: assets/nasnet/variables/variables.index
  inflating: assets/nasnet/saved_model.pb
Latest NASNet Mobile installed.
scripts/download-nsfw.sh
Installing NSFW model for TensorFlow...
Downloading latest model from https://dl.photoprism.app/tensorflow/nsfw.zip?20231013...
--2023-10-13 21:09:54--  https://dl.photoprism.app/tensorflow/nsfw.zip?20231013
Auflösen des Hostnamens dl.photoprism.app (dl.photoprism.app)… <IP_ADDRESS>
Verbindungsaufbau zu dl.photoprism.app (dl.photoprism.app)|<IP_ADDRESS>|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 79188592 (76M) [application/zip]
Wird in »/tmp/photoprism/nsfw.zip« gespeichert.

/tmp/photoprism/nsfw.zip                             100%[===================================================================================================================>]  75,52M  28,2MB/s    in 2,7s

2023-10-13 21:09:57 (28,2 MB/s) - »/tmp/photoprism/nsfw.zip« gespeichert [79188592/79188592]

2e03ad3c6aec27c270c650d0574ff2a6291d992b  /tmp/photoprism/nsfw.zip
Creating backup of existing directory: storage/backup/nsfw-20231013
Archive:  /tmp/photoprism/nsfw.zip
   creating: assets/nsfw/
 extracting: assets/nsfw/labels.txt
   creating: assets/nsfw/variables/
  inflating: assets/nsfw/variables/variables.data-00000-of-00001
  inflating: assets/nsfw/variables/variables.index
  inflating: assets/nsfw/saved_model.pb
Latest NSFW installed.
(cd frontend && npm ci --no-update-notifier --no-audit)
npm ERR! code EUSAGE
npm ERR!
npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm ERR!
npm ERR! Invalid: lock file's<EMAIL_ADDRESS>does not satisfy<EMAIL_ADDRESS>npm ERR! Invalid: lock file's<EMAIL_ADDRESS>does not satisfy<EMAIL_ADDRESS>npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Invalid: lock file's<EMAIL_ADDRESS>does not satisfy<EMAIL_ADDRESS>npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR!
npm ERR! Clean install a project
npm ERR!
npm ERR! Usage:
npm ERR! npm ci
npm ERR!
npm ERR! Options:
npm ERR! [--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
npm ERR! [--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
npm ERR! [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts] [--no-audit]
npm ERR! [--no-bin-links] [--no-fund] [--dry-run]
npm ERR! [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
npm ERR! [-ws|--workspaces] [--include-workspace-root] [--install-links]
npm ERR!
npm ERR! aliases: clean-install, ic, install-clean, isntall-clean
npm ERR!
npm ERR! Run "npm help ci" for more info

npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-10-13T19_09_58_028Z-debug-0.log
make: *** [Makefile:188: dep-js] Fehler 1
photoprism@photoprism:~/photoprism$

Maybe a few more Informations about the environment. It is a Proxmox VM with Linux photoprism 5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64 GNU/Linux.
I updated everything to the latest package available. Only Photoprism is running on it with only the commands from your tutorial.

I'll try and find the time to go through the upgrade process, maybe the Photoprism devs have changed some things again. But as a workaround, you can try deleting the directory where you cloned the Photoprism repo and re-installing, as described in the Troubleshooting section.

Yeah that worked in the end ^^ Thanks
Feel free to close this issue then or maybe after you checked the upgrade process.

Since PhotoPrism now provides Linux packages and manually rebuilding is not necessary, the recommended procedure to update is to simply overwrite the contents of /opt/photoprism with a newer build.


D removing two lines instead of one?

I tried to delete a single blank line and ended up deleting that line and the next one (which had content).  Curiously, I had a hard time reproducing the issue with a small sample file.

I was mistaken, I think there's just an off-by-one error in a hasty change I made to make D work better on VMS

Ah ha, the issue is that window lines != file lines because of long lines wrapping.


Bug: German Umlaut "ä" sometimes becomes "ae", sometimes "a" in the citekey.

Debug log ID
K63JSJVX-refs-euc/6.7.140-6
What happened?
My Citekey gets created as authetal + year.
I have "Universität  Wien" as author and "2023" in two instances (both in the debug log). In one instance the citekey is "UniversitatWien2023", in the other its "UniversitaetWien2023". This is obviously troublesome as it makes them hard to distinguish and thus use in my Latex-documents. The right one would be "UniversitaetWien2023" and "UniversitaetWien2023a", or even better "UniversitätWien2023" and "UniversitätWien2023a", but i dont know if the latter might be not compatible with latex or zotero in general.
Thanks!

In the 100 Jahre Psychologie item, the language is set to de, in the Paul Felix article the language is unset. Different folding rules apply for items that are known-German.
WRT support for unicode in citation keys:

Zotero doesn't care whether there's an ä (it currently doesn't do much of anything with citation keys, and that's unlikely to change once Zotero does add them more broadly)
biblatex can be made to work with non-ASCII characters but I don't know how (but I know there are BBT users who have Chinese characters in their citekeys)
bibtex is unlikely to tolerate them

Thanks for the reply! Thats interesting and very good to know! Is there any benefit to check whether the language is set properly? Because i ignored that setting till now and wonder if i might be able to disable it, as it sounds like something that might lead to problems when i dont remember to change it one day.

You can use either auth.transliterate(minimal) to consistently get a, or auth.transliterate(de) to consistently get ae.

Is there any benefit to check whether the language is set properly?

Absolutely -- see the 2nd paragraph of this text.


Update record types to allow for open and closed record

This splits off a change to record types made as part of partial schema validation

Adds open_attributes to the record type struct. When true, we assume a record with that type may have other attributes. When false it will have exactly the attributes specified in the type.
Record literals and records in schema are now closed.
Update has to match use this new field. A has on a closed record will have type False if the attribute is not present.
Update subtyping and LUB computation

I've update the Dafny Spec (https://github.com/cedar-policy/cedar-spec/pull/44) , but don't have the working proofs (Kesha finished them off for me). Diff testing and PBT passed an overnight run.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This PR and cedar-spec/PR#44 assume that the context and entities are "closed", meaning that they are not allowed to have any extra fields. IIRC this is not what is enforced by schema-based parsing (@cdisselkoen can correct me if I'm wrong).  I think we will want these two to match: that may involve changing the assumptions in this PR, or creating an issue to update schema-based parsing in the future.

this is not what is enforced by schema-based parsing

Actually, it is, since April 6 (internal CR 88757947). Schema-based parsing will error on additional attributes being present, and on required attributes being missing, for both entities and records.  See the errors split out here

As of now, though, the schema-based parsing has no concept of open/closed entities/records, effectively assuming that all entities/records are closed.  Should this PR also adjust schema-based parsing to be aware of the possibility of open records?

Should this PR also adjust schema-based parsing to be aware of the possibility of open records?

Schema format isn't updated with this PR, so no.

So is this comment (and another similar one in entities/json/entities.rs)  out of date?

Yep.  Will fix


services: add PrivateLink

Added PrivateLink metrics from two namespaces: AWS/PrivateLinkEndpoints and AWS/PrivateLinkServices
Closes #533

Thanks @aleslash . When can this be merged?

@thomaspeitz can you take a look?

I implemented this not realizing this PR already exists. The configuration in the PR will not support discovery since the ResourceFilters and DimensionRegexps fields are not defined. Will you add them into your PR? See this commit for reference: https://github.com/jutley/yet-another-cloudwatch-exporter/commit/5b1247c1f979ac7a84b3043340184b02f971f31b

@jutley / @aleslash - Sorry for the late review. - Can we get @jutley change in there as well? :)
Would wait for the newest release, if you can provide it till Monday. I'll merge it.

tks @jutley for the input.
@thomaspeitz, I've just made the change that @jutley suggest.

Awesome will try to release tomorrow :)

Thanks @thomaspeitz . Can we create latest release docker image as well? https://quay.io/repository/invisionag/yet-another-cloudwatch-exporter?tab=tags&tag=latest


Kerberos and ssl/tls support

Hi,
I want to know if the connector support Kerberos and tls/ssl support?

Hi @aashishkumar0102 !
Thanks for bringing up your question. The sink connector supports everything on a protocol / authentication mechanism that the official MongoDB Java Driver supports.

So SSL/TLS yes definitely! You just add the SSL option to the URI connection string in the connector's configuration file.

As for Kerberos it depends :)
AFAIK Kerberos is still on Enterprise only feature. Thus, you have to check which version of mongod process you are running in order to know whether or not Kerberos is available for you. The Java Driver however would have support for it of course.

I'd be more than happy if you share a few insights about you use case of this sink connector. Thanks in advance.

Hi,
Thanks for your quick response !
can you also tell me about how to configure the sink connector for the same like what config parameter to passed in order to change the authentication mechanism from defaults to Kerberos?
can you provide me a detailed configuration doc for both the above as I am not able to get any doc related to that.
Thanks

Hi,
Thanks For the Quick response,
can you tell me about the configuration docs for the same, like what properties to be mention in

Hi @aashishkumar0102
You can find a detailed description how you can configure the connection string in the official mongodb docs. https://docs.mongodb.com/manual/reference/connection-string/ All official drivers including the Java Driver used for the connector should support these configuration options.
Good luck :) Again I'd be happy to learn a bit about your concrete use case for the connector.

Hi,
Our use case is like live data is coming to kafka in different topics and we want each topic to sink data in different collection in mongo also we are using avro based data and defining key and value schema.
and if same data is coming with same key it should update the fields.
so for the above use case can you suggest the appropriate config for your connector?
we want to define _id based on key_schema also.
also what is the benchmark for your connector or can you suggest the connector config if we have to process around 10000 events/s each of size around 100KB?

there is currently no option to support multiple different topic <-> collection mappings with a single connector configuration - it's a planned feature but unfortunately not available yet. in case you have a somewhat limited / reasonable number of topics (e.g. 5-20) you can temporarily workaround this by launching multiple connector instances each handling only a single topic. see also this discussion https://github.com/hpgrahsl/kafka-connect-mongodb/issues/45

if your _id field is derived from the key record or parts thereof you can easily achieve this by configuring a proper DocumentIdAdder strategy which is documented in the README see https://github.com/hpgrahsl/kafka-connect-mongodb#documentidadder-mandatory

the default operation mode of the connector always uses UPSERT semantics based on the resulting _id field. thus, given that you process a new record with the same _id the corresponding mongodb document will get updated accordingly.

as for your benchmark question it is by no means possible to give you reasonable and concrete answer since the final throughput performance is depending on so many different factors :) Also I'm not aware of any (standardized) benchmarks for other specific community supported sink connectors. Feel free to send me some pointers in case you know about any.

Irrespective of that, have you done the quick maths for "10.000 events / sec each being 100KB in size"?
Only by looking at the raw data volume this means 1000 MB = 1 GB throughput per sec. Also is this a peak throughput you want to be able to handle or kind of a constant / average data volume to process. The latter would mean something like 864 Mio events and 86 TB per day which would be huge.
Leaving aside Kafka and the sink connector itself, you would have quite a handful to do in order to be able to handle such a write load/volume database-wise, some sort of "XL sharded mongodb beast cluster" :)

Hi,
Thank you for the quick response.
we have some different scenario like around a million record would populate in a whole day and average size is 10KB only not 100KB(mistake). and in midnight again all the data the client would replicate all together and all data we have to sink in around 5 minutes, that's why I asked roughly for that much throughput.

Ok I see. What you are describing now has indeed almost nothing in common with your original inquiry ;-) just to make sure if I understood you correctly:

you are ingesting about 1 Mio records each having 10KB into Kafka during the day = in total ~10GB data
then you want to process these accumulated records starting at midnight within a 5 min window, meaning that you need a throughput of ~ 2GB / min or  ~ 33 MB / sec, in number of records this would be equivalent to 1 Mio / 5 min = 200k / min = 3333 / sec which should be totally doable given a reasonable HW config and proper parallelism.

however, I'm afraid that the only way to really find out is to try it with your AVRO data in your environment and with your deployment configuration :) I'd be interested to hear back from you after your experiments how it worked out for your particular use case.
Q: why do you not continuously process the data with the connector as it lands in Kafka topics instead of letting it accumulate for a whole day?

Hi,
some data they will continuously sink and for some they cannot do live as the client is a Bank and they can only replicate in maintenance hours only.
We are testing other connectors also right now, will surely let you know after the testing.
Again, Thank you very much for your quick response and support.

Can you also explain little what is CDC tool?


Environment tab shows content of sysnthesis tab when opened first time

Describe the bug
Everytime I open a product and move to environment tab directly for the first time, then it shows the content of synthesis tab. After that, it works fine.

possible duplicate of #3581
I suspect the root cause  is same.

possible duplicate of #3581
I suspect the root cause  is same.

@kartikaysharma01 Okay !

@kartikaysharma01 Okay !


Add basic initial CMakeLists.txt

This does not properly check for enet or angelscript (it just hardcodes them as
libraries).

Updated to build the DarkXL shared lib/dll with the engine. It doesn't run, but it builds easy enough.

Nice work!  Thanks!


Major style update

Major style update including:

updated image files
added a background image
fixed translate toggle button issues
added a glassy text background

Just merging major style update changes.


[WIP] ARROW-4080: [Rust] Improving lengthy build times in Appveyor

This tries to cut the build times by skipping:

build for stable (it doesn't seem too useful).
benchmarks in travis
build for dev profiles in windows CI - now we only build with release
profiles.

The appveyor test failed with a bug in the code. Will fix it in a separate PR.

@kszucs  I haven't got a clean run on appveyor yet. Let me trigger another run.

Hmm.. not sure why appveyor wasn't even triggered this time.

Appveyor can be flaky, if you git commit --amend and force push it will usually trigger

Codecov Report

Merging #3231 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3231      +/-   ##
==========================================
+ Coverage   88.46%   88.47%   +<.01%
==========================================
  Files         539      539
  Lines       72845    72845
==========================================
+ Hits        64444    64446       +2
+ Misses       8294     8292       -2
  Partials      107      107

Impacted Files
Coverage Δ

cpp/src/plasma/thirdparty/ae/ae.c
72.03% <0%> (+0.94%)
:arrow_up:

Continue to review full report at Codecov.

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

Finally both tests succeeded. @wesm @kszucs : let me know if the build time is OK now or we need to further cut it.
Also cc @andygrove @paddyhoran since this skips the builds for stable and dev profile for windows CI - let me know if you think there's good reasons to keep them.


How can I create the configuration for the AWS Batch environment?

Divvy is a wonderful tool. But I cannot find any example of the configuration for the cloud environment, e.g. the AWS Batvh environment. Can you please give me some hints about how to do that or what code I should write to implement that.
Cheers,
Zhen Zhang

I believe this is possible, but I haven't done it.
From what I understand about AWS Batch, you would need to create a template "Job definition" file, that you would use as a divvy template, so you would add a new compute package to your divvy config file, say aws_batch. You'd point this template to an AWS job definition file.  The submission_command would be submit-job using the AWS job definition, so something like:
packages:
  aws_batch:
    submission_template: job_definition_template.txt
    submission_command: "submit-job --job-definition "

I think this would work, but I haven't tried it. Let me know if you need more pointers.


Ensure proper SQL treatment of arithmetic exprs

Ensures that all arithmetic expr types are properly mapped to SQL. Fixes several bugs and introduces a new FLOORDIV type.

This change is


Low-hanging Ember optimizations

Just some micro-optimizations I noticed while working on https://github.com/http4s/http4s/pull/6752.

Actually the optimization I really wanted to make is to this:
https://github.com/http4s/http4s/blob/04b2bbbd1787ac7084f589240ed8a062f38ed584/ember-core/shared/src/main/scala/org/http4s/ember/core/Encoder.scala#L78
I was hoping we could go directly from StringBuilder to Array[Byte] without making an intermediate String. One way to do this is to use CharBuffer.wrap(sb) with the ISO_8859_1 CharsetEncoder. But there is an encoding fast-path for String that is not available for a generic CharBuffer so I'm skeptical if this would improve performance.

Apologies, since this PR is sitting I started committing additional optimizations :) each commit should be individual reviewable.

Anything holding this up from merge?

Oh, when Andrew first reviewed they weren't a maintainer so I couldn't merge. Now I can!


ASN.1 (context) tag fixup for derlib

Rename cont to tag and reword some of the documentation.
Assert that the provided tag value will fit in the single octet that we try to encod it into!

Looks good, I'll taake it as is

At some point, that might develop into taking all sorts of tags, not just context sensitive...  But for now, this is good.


Recalculate offsetX when browser resize

I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
offset x still the same when resizing the window which makes horizontal scroll go over the void.

Expected behavior

recalculate the offset X on window resize
Reproduction of the problem

Go to this link https://swimlane.github.io/ngx-datatable/#horz-vert-scrolling now when you are in desktop mode.. then resize your window.. wait until you see the horizontal scroll.. scroll it horizontally it will go over because the offset X is same as the old one.. but if you refresh its fine but still on small window it will be fine.. my problem is when switching to big and small.. the value that scrollbar follows still thinks that offset X is same as the old one.
What is the motivation/use case for changing the behavior?

I dont know what the hell is this question xD
Please tell us about your environment:

windows 10
visual studio code
npm
node

Table version:

latest

Angular version:

angular 8

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

all

Language: [all | TypeScript X.X | ES6/7 | ES5]
TypeScript 3.6 es5 and 2015

going from big to small it will become like that unless u reload

I found a work around for this! The only way to rebuild the DatatableComponent (as of now, recalculate will NOT work for me either) is to have an *ngIf on your . You then need to have some sort of subscription to listen for when whatever data you are trying to load is actually loaded. So while data is not loading, your variable is false which hides the ngx datatable for the time being. Then once your data is all ready (columns and rows built for the table), then set this loading variable to true. Then, your table will be rebuilt. Ugh, yes quite the work around.
//global variable public isLoaded: Boolean = false;
<ngx-datatable *ngIf="isLoaded" [rows]="rows" [columns]="columns"></ngx-datatable>
Then, whenever your data does load in your data service, set the variable to true. If you are only returning local data, just set it to true when your rows and columns are done.

any updates?

i solved this issue. you can find the code below :
.ngx-datatable .datatable-body-row > div {     transform: translate3d(0, 0px, 0px) !important; }


hive_generator doesn't generate *.g.dart files using super-parameters feature

Steps to Reproduce

Use the latest Dart stable version on project sdk (in my case, 2.17.5)
Run flutter pub run build_runner build or flutter_pub_run build_runner watch
Wait

Running `flutter.bat pub run build_runner build --delete-conflicting-outputs`
Current working folder: `e:\FlutterProjects\Inventario\Inventario.Mobile`

[INFO] Generating build script...
[INFO] Generating build script completed, took 318ms

[INFO] Initializing inputs
[INFO] Reading cached asset graph...
[INFO] Reading cached asset graph completed, took 62ms

[INFO] Checking for updates since last build...
[INFO] Checking for updates since last build completed, took 316ms

[INFO] Running build...
[INFO] Running build completed, took 17ms

[INFO] Caching finalized dependency graph...
[INFO] Caching finalized dependency graph completed, took 36ms

[SEVERE] hive_generator:hive_generator on lib/app/app_widget.dart (cached):

This builder requires Dart inputs without syntax errors.
However, package:inventario_mobile/app/app_widget.dart (or an existing part) contains the following errors.
app_widget.dart:10:20: This requires the 'super-parameters' language feature to be enabled.

Try fixing the errors and re-running the build.

[SEVERE] Failed after 63ms
pub finished with exit code 1

Code sample
flutter pub run build_runner build

Version

Platform: Android (12), Windows 10
Flutter version: 3.0.3
Hive version: 2.2.2

I think this is because you used a feature from Dart 2.17 while your environment’s min version is lower than 2.17.
In your pubspec.yaml On the environment change the min SDK version to 2.17 or 2.17.1
environment:
  sdk: '>=2.17.1 <3.0.0'

I think this is because you used a feature from Dart 2.17 while your environment’s min version is lower than 2.17.
In your pubspec.yaml On the environment change the min SDK version to 2.17 or 2.17.1
environment:
  sdk: '>=2.17.1 <3.0.0'

I've actually changed my environment's min version to 2.17.5. Just forgot to add the print to the issue, sorry. But anyway, here's the print to prove it

I think this is because you used a feature from Dart 2.17 while your environment’s min version is lower than 2.17.
In your pubspec.yaml On the environment change the min SDK version to 2.17 or 2.17.1
environment:
  sdk: '>=2.17.1 <3.0.0'

I've actually changed my environment's min version to 2.17.5. Just forgot to add the print to the issue, sorry. But anyway, here's the print to prove it

Maybe try flutter clean then flutter pub get and generate the files again

I think this is because you used a feature from Dart 2.17 while your environment’s min version is lower than 2.17.
In your pubspec.yaml On the environment change the min SDK version to 2.17 or 2.17.1
environment:
  sdk: '>=2.17.1 <3.0.0'

I've actually changed my environment's min version to 2.17.5. Just forgot to add the print to the issue, sorry. But anyway, here's the print to prove it

Maybe try flutter clean then flutter pub get and generate the files again

Tried it. I tried flutter clean, flutter pub get, flutter pub cache repair, everything related from flutter pub command. No success. My guess is that this error is because of hive_generator using an old version of Dart's sdk, as seen in this print

Hi all, We have the same problem as @GabrielCR99.
None of the cleaning and rebuilding helps, and of course we are at sdk: '>=2.17.1 <3.0.0'

Unfortunately, untill any collaborator see this issue or knows any way to solve it, the way is to not use super-parameters feature, which is kinda sad because this is such an interesting feature and helps to reduce code

I had the same problem, I upgraded my hive and hive_flutter package to the latest version and remove the pubspec.lock file, and then run a flutter pub get. After that, I just run flutter packages pub run build_runner build, and allright!

It seems like deleting pubspeck.lock or even upgrading build_runner on the project's pubspec.yaml solve this issue. I'll close it since I also solved the problem!

It seems like deleting pubspeck.lock or even upgrading build_runner on the project's pubspec.yaml solve this issue. I'll close it since I also solved the problem!

its wierd but atleast it works!


Support relative paths

I use folder notes for my galleries. I would like to be able to generate a gallery from all images in the current folder.
Currently, if I move a folder, I have to manually update the gallery paths.

I would love to see support for relative paths as well.
It would be great to be able to do something like:
path: ./screenshots/
type: vertical

This feature would help me a lot
+1

A second to that. Relative links would be absolute great. Obsidian is still not very good with relative links, but each improvement that eases the pain is welcome.

This is very helpful for long term usage...

if you are still looking for relative path for this I needed it for my vault and got it working well enough.  Here is the changes to the main.ts file in the .obsidian/plugins folder
replace:
settings.path = (0, import_obsidian2.normalizePath)(settingsSrc.path);
with:
const currentFilePath = this.app.workspace.getActiveFile().path;
const currentDir = currentFilePath.substring(0, currentFilePath.lastIndexOf('/'));
settings.path = import_obsidian2.normalizePath(currentDir + "/" + settingsSrc.path);


Version 11.0.0: DeJunk preferences frame cannot be opened

Since the 11.0.0 patch of Tuesday July 24, the preferences for DeJunk cannot be opened (via /dejunk options).
The following error is captured immediately by BugSack (I'm escaping out single quotes so that the markdown for code displays only where it should, but that's my only edit):

1x Blizzard_FrameXML/RestrictedFrames.lua:791: bad lizard
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@Blizzard_FrameXML/RestrictedFrames.lua"]:674: in function <Blizzard_FrameXML/RestrictedFrames.lua:673>
[string "@Blizzard_FrameXML/RestrictedFrames.lua"]:812: in function `CallMethod'
[string "-- ORL_PostClick"]:9: in function <[string "-- ORL_PostClick"]:1>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "@Blizzard_FrameXML/RestrictedExecution.lua"]:483: in function <...aceBlizzard_FrameXML/RestrictedExecution.lua:446>
[string "@Blizzard_FrameXML/RestrictedFrames.lua"]:713: in function `RunFor'
[string "owner:RunFor(self, ORL_PostClick, message)"]:1: in function <[string "owner:RunFor(self, ORL_PostClick, message)"]:1>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "@Blizzard_FrameXML/RestrictedExecution.lua"]:483: in function <...aceBlizzard_FrameXML/RestrictedExecution.lua:446>
[string "=(tail call)"]: ?
[string "@Blizzard_FrameXML/SecureHandlers.lua"]:299: in function <Blizzard_FrameXML/SecureHandlers.lua:279>
[string "=(tail call)"]: ?

Now, I am a dracthyr, but I don't think I'm a bad lizard. ;)
This is the only thing that happens. No chat or error message appears. This error was captured during a session in which I have never been in combat.
I really like DeJunk, so I'm hoping it's not too difficult a fix.

There are no bad lizards, only bad Blizzards.
I can't seem to replicate the error, so I'm going to assume they broke something temporarily with the new patch.

Reopen if you experience the issue again.

Will do. It seems to have been an interaction with another addon. DeJunk works fine for me now with the latest update!


Logging requests

Is there a simple way to log requests ?
For example, when I use the Python requests library:
session = requests.Session()
session.post(URL, headers=headers, params=request_params, data=form_data)

when setting the log to DEBUG I get:
2020-01-11 16:19:39,505 [DEBUG] Starting new HTTPS connection (1):foo.bar.com:443
2020-01-11 16:19:40,595 [DEBUG] https://foo.bar.com:443 "POST /baz HTTP/1.1" 200 None

which is quite useful, and surprisingly low on noise.
OTOH, when using reqwest, setting the log level to debug outputs:
[2020-01-11T15:29:19Z DEBUG hyper::client::connect::dns] resolving host="foo.bar.com"
[2020-01-11T15:29:19Z DEBUG hyper::client::connect::http] connecting to 123.456.789.123:443
[2020-01-11T15:29:19Z DEBUG hyper::client::connect::http] connected to Some(V4(123.456.789.123:443))
[2020-01-11T15:29:19Z DEBUG hyper::proto::h1::io] flushed 269 bytes
[2020-01-11T15:29:19Z DEBUG hyper::proto::h1::io] flushed 556 bytes
[2020-01-11T15:29:19Z DEBUG hyper::proto::h1::io] flushed 73 bytes
[2020-01-11T15:29:20Z DEBUG hyper::proto::h1::io] read 1369 bytes
[2020-01-11T15:29:20Z DEBUG hyper::proto::h1::io] parsed 20 headers
[2020-01-11T15:29:20Z DEBUG hyper::proto::h1::conn] incoming body is chunked encoding
[2020-01-11T15:29:20Z DEBUG hyper::proto::h1::decode] incoming chunked header: 0x29EF (10735 bytes)
[2020-01-11T15:29:20Z DEBUG cookie_store::cookie_store] inserting Set-Cookie 'Cookie { cookie_string: Some("__cfduid=sa7dsa6d86as7sda67ad6; expires=Mon, 10-Feb-20 15:29:19 GMT; path=/; domain=.foo.bar.com; HttpOnly; SameSite=Lax; Secure"), name: Indexed(0, 8), value: Indexed(9, 52), expires: None, max_age: None, domain: Some(Indexed(107, 121)), path: Some(Indexed(96, 97)), secure: Some(true), http_only: Some(true), same_site: Some(Lax) }'
[2020-01-11T15:29:20Z DEBUG cookie_store::cookie_store] inserting Set-Cookie 'Cookie { cookie_string: Some("org.fooframework.web.servlet.i18n.CookieLocaleResolver.LOCALE=en; Path=/"), name: Indexed(0, 64), value: Indexed(65, 67), expires: None, max_age: None, domain: None, path: Some(Indexed(74, 75)), secure: None, http_only: None, same_site: None }'
[2020-01-11T15:29:20Z DEBUG cookie_store::cookie_store] inserting Set-Cookie 'Cookie { cookie_string: Some("STUFF=asdasdas-das-sda-ds-das; Path=/sso/; Secure; HttpOnly"), name: Indexed(0, 7), value: Indexed(8, 44), expires: None, max_age: None, domain: None, path: Some(Indexed(51, 56)), secure: Some(true), http_only: Some(true), same_site: None }'
....dozens or so more cookies....
[2020-01-11T15:29:20Z DEBUG reqwest::async_impl::response] Response: '200 OK' for https://foo.bar.com

which is much noisier and way less useful to me as an application developer since:

it does not really show the kind of request (a POST in this case) - this is pretty much the main information I cared about. The Python requests library puts it upfront, but reqwest does not show it

name: Indexed(0, 8) is not very useful in any kind of logs for the cookies. This might be useful for somebody working on the cookie_store library itself, but it is not useful to me as an application developer.

when bytes are read, flushed, etc. aren't really that relevant for me either, at least, not while debugging my application - they might be relevant if I would be debugging a performance issue, or working on hyper itself (no idea, but it might be worth it to use trace! for this, instead of debug!).

Some of these issues should probably be filled on downstream crates, but the logging history needs to be coherent for an application developer.

If I go down to RUST_LOG=TRACE, then I see the POST request being traced within hyper,
[2020-01-11T16:00:04Z TRACE hyper::proto::h1::role] Client::encode method=POST, body=Some(Unknown)

as long as about 4x as much noise in general, yet I still don't get any information about what the content of the POST actually was :/

If you're using something like env_logger, you can use RUST_LOG=reqwest=debug to ignore the logs from dependencies. In reqwest, we could probably add a couple more useful logs, like around starting connections, requests, if a proxy is used...
To see the contents of the headers and body, you can enable the connection_verbose client builder setting, and then set log level to trace. It's purposefully an additional step to prevent accidental logging of sensitive material (if you'd just turned on all trace logs and didn't know what they could contain).

In reqwest, we could probably add a couple more useful logs, like around starting connections, requests, if a proxy is used...

That would be very helpful.


Not compatible with prettier-plugin-tailwindcss

Describe the bug
Extension errors out with Error: Cannot find module 'prettier-plugin-tailwindcss' when prettier-plugin-tailwindcss is added as a plugin to .prettierrc.js.
To Reproduce
Steps to reproduce the behavior:

npm i prettier-plugin-tailwindcss
Add prettier-plugin-tailwindcss as a plugin to .prettierrc.js
Restart VSCode
Open «Output» section of VSCode and select Prettier ESLint
Format a document
Observer error Error: Cannot find module 'prettier-plugin-tailwindcss'

Expected behavior
Extension should support simple tailwind plugin for class sorting.
Example Prettier Config
/** @type {import("prettier").Config} */
module.exports = {
    tailwindFunctions: ['clsx'],
    plugins: ['prettier-plugin-tailwindcss'],
};

Screenshots

Versions (please complete the following information):

VS Code Prettier ESLint extension v5.1.0
VSCode v1.81.1 (Universal)
Node: 18.12.0
Package Manager pnpm 8.6.12
prettier: 2.8.8
eslint: 8.47.0

System Specifications (please complete the following information):

OS:macOS Ventura 13.4.1 (c) (22F770820d)
Processor: M1 Max
RAM Size: 64GB

@dvakatsiienko If you look closely at your error message, you'll see the error is coming from the esbenp.prettier extension not mine.

Yes, you're right. I've accidentally had two prettiers installed.
After deleting an official one, the same error persists, pointing to this extension.
Error: Cannot find module 'prettier-plugin-tailwindcss'
Require stack:
-<EMAIL_ADDRESS>- /Users/furthur/.vscode/extensions/rvest.vs-code-prettier-eslint-5.1.0/dist/extension.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-amd.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-fork.js
-
Error: Cannot find module 'prettier-plugin-tailwindcss'
Require stack:
-<EMAIL_ADDRESS>- /Users/furthur/.vscode/extensions/rvest.vs-code-prettier-eslint-5.1.0/dist/extension.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-amd.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-fork.js
-
    at Module._resolveFilename (node:internal/modules/cjs/loader:1010:15)
    at Function.s._resolveFilename (node:electron/js2c/utility_init:2:2740)
    at g.resolve (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:709)
    at /Users/furthur/Projects/_anadea/rocky-ui-gitlab/node_modules/.pnpm/prettier@2.8.8/node_modules/prettier/index.js:38119:25
    at Array.map (<anonymous>)
    at Object.load (/Users/furthur/Projects/_anadea/rocky-ui-gitlab/node_modules/.pnpm/prettier@2.8.8/node_modules/prettier/index.js:38114:65)
    at Object.load [as loadPlugins] (/Users/furthur/Projects/_anadea/rocky-ui-gitlab/node_modules/.pnpm/prettier@2.8.8/node_modules/prettier/index.js:16147:23)
    at /Users/furthur/Projects/_anadea/rocky-ui-gitlab/node_modules/.pnpm/prettier@2.8.8/node_modules/prettier/index.js:38181:24
    at Object.format (/Users/furthur/Projects/_anadea/rocky-ui-gitlab/node_modules/.pnpm/prettier@2.8.8/node_modules/prettier/index.js:38197:12)
    at /Users/furthur/.vscode/extensions/rvest.vs-code-prettier-eslint-5.1.0/dist/extension.js:189:131
    at zme (/Users/furthur/.vscode/extensions/rvest.vs-code-prettier-eslint-5.1.0/dist/extension.js:185:1460)

@dvakatsiienko I wonder if the issue is that you are using PNPM as your package manager. Can you use the pretter CLI and see if you get the same error?

@idahogurl I've tried to wipe out pnpm and use yarn with same configuration, it produces same error.

I've had some success with this wrapping the plugins with require.resolve
See https://github.com/prettier/prettier/issues/13276

Works great with https://github.com/francoismassart/eslint-plugin-tailwindcss


ReadTimeoutError: Read timeout on endpoint URL: "https://iam.amazonaws.com/"

Problem
sagemaker.get_execution_role()  fails if there is a firewall, etc blocking the access to iam.amazonaws.com in the public Internet.
/opt/conda/lib/python3.7/site-packages/botocore/endpoint.py in _do_get_response(self, request, operation_model)
    198             http_response = first_non_none_response(responses)
    199             if http_response is None:
--> 200                 http_response = self._send(request)
    201         except HTTPClientError as e:
    202             return (None, e)

/opt/conda/lib/python3.7/site-packages/botocore/endpoint.py in _send(self, request)
    267
    268     def _send(self, request):
--> 269         return self.http_session.send(request)
    270
    271

/opt/conda/lib/python3.7/site-packages/botocore/httpsession.py in send(self, request)
    341             raise ConnectTimeoutError(endpoint_url=request.url, error=e)
    342         except URLLib3ReadTimeoutError as e:
--> 343             raise ReadTimeoutError(endpoint_url=request.url, error=e)
    344         except ProtocolError as e:
    345             raise ConnectionClosedError(

ReadTimeoutError: Read timeout on endpoint URL: "https://iam.amazonaws.com/"

Cause
Not all the AWS services support VPC endpoint inside VPC and need to access the endpoints in the public Internet.

ReadTimeoutError: Read timeout on endpoint URL: "https://iam.amazonaws.com/" #2

Workaround
Allow access to the URL. IP whitelisting to AWS service endpoints would not work as the number of IP addresses will be large and they can change.

good catch.  thanks for the workaround.


Add way to force a particular environment shell

Arch recommends users to keep a bash-compatible shell as default [0]. I'm using the method of execing fish from my .bashrc.
pipenv fails on pipenv shell, apparently because it thinks that the bash activate should be executed
Spawning environment shell (/bin/bash). Use 'exit' to leave.
~/s/tmp  source /home/me/.local/share/virtualenvs/tmp-yq4UYSVl/bin/activate
~/.local/share/virtualenvs/tmp-yq4UYSVl/bin/activate (line 23): Unsupported use of '||'. In fish, please use 'COMMAND; or COMMAND'.
    if [ -n "${BASH-}" ] || [ -n "${ZSH_VERSION-}" ] ; then
                          ^
from sourcing file ~/.local/share/virtualenvs/tmp-yq4UYSVl/bin/activate
	called on standard input

source: Error while reading file “/home/me/.local/share/virtualenvs/tmp-yq4UYSVl/bin/activate”

If I replace activate with activate.fish, the pipenv works as expected.
Could there be a flag or, even better yet, a config option to force the default environment shell?
[0] https://wiki.archlinux.org/index.php/Fish#Not_setting_fish_as_default_shell
Describe you environment

OS Type
Linux tp 4.13.7-1-ARCH #1 SMP PREEMPT Sat Oct 14 20:13:26 CEST 2017 x86_64 GNU/Linux
Python version: $ python -V
Python 3.6.2
Pipenv version: $ pipenv --version
pipenv, version 8.2.7

Huh, maybe an environment variable?  @kennethreitz @nateprewitt or @techalchemy any thoughts?

@kehugter in compat mode your shell is determined by the SHELL environment variable, so you can just export $SHELL in your .bashrc or run the subshell with SHELL=/usr/bin/fish pipenv shell and it should work.  Let me know if this helps

@techalchemy I completely forgot about that, been working on windows too long.....

@techalchemy thanks, that works.
If I understand it correctly, this approach is fine on a local machine but would break the $SHELL env var that Arch expects in remote non-login non-interactive shells:
https://blog.flowblok.id.au/static/images/shell-startup-actual.png
An edge case perhaps worth considering and documenting.

Yes, as with all shell configurations you should include interactive settings in interactive shells only. That information is mentioned in the docs in the context of fish, but as a user who is concerned about edge cases of people trying to run an interactive pipenv shell on a non interactive shell, well that use case isn’t possible so you shouldn’t change the variable. If you want to be safe however you can follow the bash instructions about testing for interactivity before setting the value: see here


Work Package wp-ga.csv

Results of Phase 1
wp-ga-results.csv

Results of Phase 1:
wp-ga-results.csv

Results of Phase 1:
wp-ga-results.csv

Results of Phase 1: wp-ga-results.csv

Results of Phase 2
wp-ga-results.csv
: