Remove coding system from UserComment sequence only if it is valid

Behavior is similar like in exiftool package (https://github.com/exiftool/exiftool/blob/master/lib/Image/ExifTool/Exif.pm#L5025) if coding system is not valid, show warning but pass all sequnce further

Thanks for the PR. I recently pushed a fix to develop for the failing build. Can you rebase develop onto this branch? Thanks you.


Kube config file can't use.

I try to create a keycloak-proxy in kubernetes by the yaml file your provided in the kube directory, but it does not work.
First I created a secret named config by using config_sample.yml file.
My secret shows as follow:
Name:		config
Namespace:	sync
Labels:
Annotations:
Type:	Opaque
Data
forwarding.yml:	3439 bytes
Then I create a keycloak by the yaml file with the latest image, but I get the error shows as follows:
[error] invalid options, flag provided but not defined: -config /etc/secrets/forwarding.yml
flag provided but not defined: -config /etc/secrets/forwarding.yml
@gambol99

You need
--config

instead of
-config

Yes, I already used --config, but it not work.

No idea. Maybe --config=/etc/secrets/forwarding.yml -> try to add that "=".
BTW: you have published full config of your IdP client.

hi @Frank-auckland ... was issue resolved? ... can i close the ticket

I give up, it still doesn't work, by our team change to another solution. So you can close it. If our team come back to this and there still have the problem, could I reopen it?


Wasm import causes library to break with Vite

When using this library with Vite it crashes stating [vite] Internal server error: "ESM integration proposal for Wasm" is not supported currently. Use vite-plugin-wasm or other community plugins to handle this.
The problematic line is: https://github.com/CodinGame/monaco-vscode-api/blob/4ab2407733597b8a543331c4f6687650b57ce241/src/service-override/textmate.ts#L11
Vite interprets this as a WASM ESM module and throws an error. Attempting to install vite-plugin-wasm results in errors about unresolved imports as the WASM file is not an ESM module. Appending a ?url to the link causes the import to instead resolve to the URL when using Vite (docs) and the library works as intended.
I'm not sure how you would want to handle Vite, but as far as I can tell there isn't any other way to fix this other than appending a ?url. At this point I have to add it manually in my node_modules which is really annoying.
This is a really useful library and I'm looking forward to using it in my Vite projects!

Fyi, the demo here uses vite as well.
You need to add assetsInclude: ['**/*.wasm'] un you config

Thanks! I guess I need to look at the vite documentation again :)

You're right, it's not mentionned! :) feel free to contribute to the documentation ;)


Create github pages to visualize reports

Acceptance Criteria

Create github pages to visualize the generated reports in HTML and other images.

Connected to https://github.com/ros-realtime/reference-system/issues/75
FYI @flynneva

@LanderU I used the following tool to generate HTML file indexes: https://github.com/libthinkpad/apindex
After installing it you simply run the following command in the project root: apindex .. It generates HTML files for the git directories too but I'm excluding them from git.

@LanderU This is how it works so far:

A github pages project is created with Jekyll and slate theme
I edited the default index.markdown with all the markdown links and info we want to add
I added the index.html for the benchmark_results
In order to update the benchmark_results indexes you can run apindex benchmark_result from the root directory

@LanderU To generate the indexes use the fork (fork of a fork of a fork)  I created here https://github.com/carlossvg/apindex-v3
It includes a script to install the tool a yml file to automatically generate the indexes and update the github pages.

@LanderU Completed! Thanks for your support!!


Is this module abandonware?

No updates since August 2016. :( 9 PRs, and 9 issues. I would be happy to help the maintainer if I can. It seems to be the most featureful implementation of logrotate in Ansible-land, but newer Ansible versions have differing ways of using roles with changed syntax and YAML-isms.

Thanks for the nudge @boldandbusted, I've updated the README and have one PR(#26) that's almost ready to merge. If you have a specific questions or issue feel free to open this back up and let me know.


hg_request_wait does not wait for specific request

When 2 RPCs are posted simultaneously with 2 different request objects on a same context and request_wait is called such as:
    hg_request_wait(request2, HG_MAX_IDLE_TIME, NULL);
    hg_request_wait(request1, HG_MAX_IDLE_TIME, NULL);

the callback from request1 may be called in the first statement instead of the second statement as it would normally be expected. This happens because request1 and request2 are used with the same context so when request_wait is called, it simply triggers a callback that is associated to that context without any way of telling HG_Trigger which callback corresponds to the request passed.

We could either associate one context per request? seems overkill. Or we could simply have another trigger function that can look for a specific callback in the completion queue?

IMO that sounds like acceptable behavior. Requests are doing their own matching through the hg_request_complete call, so it's not like the wait on request2 will return when the callback corresponding to request1 is triggered. Or am I misunderstanding the problem?

hmm ok yes so maybe that's not a problem, somehow I suddenly thought we should enforce execution order...

The only issue I can think of is if the requests are being launched/watched on the same context but different OS threads, but then it would make more sense to use a context per thread...

Right. OK no problem then :) I just got diverted I think... thanks :)

No problem, I like when I prevent work :).

;)


why  report TypeError?

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
..
Error Message and Stack Trace (if applicable)
No response
Description
hi,
I had an error running the following code ：
add_routes(
    app,
    chat_model,
    path="/chat",
)
uvicorn.run(app, host="", port=8005)

chat_chain = RemoteRunnable("http://:8005/chat/")

prompt=ChatPromptTemplate.from_template("写一段关于超人的故事")

chain= prompt | RunnableMap(
    {
        "chat":chat_chain
    }
)
print(chain.invoke(prompt))

it report:  Expected mapping type as input to ChatPromptTemplate. Received <class 'langchain_core.prompts.chat.ChatPromptTemplate'>.
is ChatPromptTemplate different from langchain_core.prompts.chat.ChatPromptTemplate
System Info
langchain                     0.1.13
langchain-community           0.0.29
langchain-core                0.1.33
langchain-experimental        0.0.55
langchain-text-splitters      0.0.1
langcodes                     3.3.0
langserve                     0.0.51
langsmith                     0.1.31

Let me see.

Expected mapping type as input to ChatPromptTemplate

i think the param should be the input of ChatPromptTemplate? like this:
chat_chain = RemoteRunnable("http://:8005/chat/")
prompt=ChatPromptTemplate.from_template("写一段关于{input}的故事")
chain= prompt | RunnableMap(
{
"chat":chat_chain
}
)
print(chain.invoke({"input":"超人"}))

Expected mapping type as input to ChatPromptTemplate

i think the param should be the input of ChatPromptTemplate? like this:
chat_chain = RemoteRunnable("http://:8005/chat/") prompt=ChatPromptTemplate.from_template("写一段关于{input}的故事")
chain= prompt | RunnableMap( { "chat":chat_chain } ) print(chain.invoke({"input":"超人"}))

hi,
Your code works, but it limits prompt. I want to implement a free conversation, which means prompt can be any text.

Expected mapping type as input to ChatPromptTemplate

i think the param should be the input of ChatPromptTemplate? like this:
chat_chain = RemoteRunnable("http://:8005/chat/") prompt=ChatPromptTemplate.from_template("写一段关于{input}的故事")
chain= prompt | RunnableMap( { "chat":chat_chain } ) print(chain.invoke({"input":"超人"}))

hi, Your code works, but it limits prompt. I want to implement a free conversation, which means prompt can be any text.

Refer to https://python.langchain.com/docs/modules/model_io/prompts/quick_start#chatprompttemplate


Files and Directories shows wrong

Hello,
im testing goofys vs s3fs and the access to directories and listing is so much faster, i need faster acces to listing diretories because my bucket contain more than 300thousand of dirs.. but i have a lot of problems with the names containing # ! and characters non alphanumeric. It showns like:
Real -> folder#1#
Shows -> folder%231%23
and when i enter in folder%231%23 the dir is empty.
Does anyone have the same problem?
how can i solve it..
Thanks!

I mount the bucket with this command:
goofys --region eu-west-1 bucket-name:/remotedir localdir

Can anybody help me with this?

This was a regression on the unreleased goofys on master, but thanks for catching it!

Hello kahing,
we have the same problem.
In this case, we can also not use the rm command in bash and ProFTPd have also problems deleting files.
Currently we blocking now special chars like space, umlaute ...
But this is not a good user experience for our customers.
Sample:
Hello World.jpg is seen with goofys as Hello+World.jpg
but rm Hello+World.jpg not works.
rm "Hello World.jpg" works.
How to get a new version with your fix?
go get github.com/kahing/goofys
go install github.com/kahing/goofys
return the old one!
Thanks in advance,
best
Ricardo

go get -u github.com/kahing/goofys

I am closing this since I believe master resolves the problem.


Simplify default exception handler

I didn't track all of the historic of the I18n::ExceptionHandler but some of the code seems to have fallen out of touch with the current code logic.
The description refer to:

All exceptions except for MissingTranslationData exceptions are re-thrown

Where in reality MissingTranslationData would get re-raised and MissingTranslation would not.
According to what I see, only 2 code paths can trigger this code path:
https://github.com/svenfuchs/i18n/blob/274ed8accd53a573d839617de2dd16b1b01d864b/lib/i18n.rb#L174 (MissingTranslation)
https://github.com/svenfuchs/i18n/blob/274ed8accd53a573d839617de2dd16b1b01d864b/lib/i18n.rb#L251 (I18n::ArgumentError)
MissingTranslation being a I18n::ArgumentError, the order need to be for MissingTranslation to be processed first.
throw :exception, exception would be a dead code path?

I believe you're right :) This code is much simpler. Thank you.


[WIP] Extract healing processing to different goroutine

Description
Creates a special goroutine for the healing processing.
Motivation and Context
At the moment, all healing processing starts from the model / monitoring event listeners. It freezes processing subsequent events and leads to huge non-readable stacktrace in case of error.
Now there is a special goroutine to perform all healing processing. Listeners only send events to start healing.
How Has This Been Tested?

[x] Covered by existing integration testing
[ ] Added integration testing to cover
[x] Tested locally
[ ] Have not tested

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Depends on #1189.


trouble with certificate

please help, how do I create a test certificate

To create a new test certificate, double click "Package.appxmanifest" in the solution explorer on the right, then go to the "Packaging" tab, click "Choose Certificate...", open the "Configure Certificate..." drop down menu and select "Create test certificate...". Press "OK", "OK" then "Yes".

That's where it is thanks for the detailed description.

No worries!


[BUG] Cannot install AutoGluon in Anaconda

I tried conda install autogluon, conda install -c autogluon and got it:
PackagesNotFoundError: The following packages are not available from current channels:

autogluon

Current channels:

https://conda.anaconda.org/anaconda/linux-64
https://conda.anaconda.org/anaconda/noarch
https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch

Neither the github nor the official website states that you can install autogluon via conda. It's also not listed in conda-forge, so you will have to install either via source or pip.


Create video tutorial for setting up the project using docker

Description: Create a tutorial video that guides users through the process of setting up the MotorEase project using Docker, ensuring they can successfully deploy and run the tool in a containerized environment.
User Story: #3 Tutorial Video
Estimated effort:  hours
Dependency: N/A
Acceptance criteria:

[ ] Brief overview of MotorEase and benefits of Docker for setup
[x] List all prerequisites (WSL & Docker)
[ ] Show how to pull the appropriate Docker image
[x] Run the Docker container
[x] Execute the MotorEase Python script MotorEase.py and explain the output4
[x] Show how to access results
[x] Ensure clear video and audio quality

NOTE: while recording the video, go back and forth to the README and refer to the corresponding instructions for each step

https://drive.google.com/file/d/1FKK-Hn-CGmNpBthx0Z-T0SHbMVoSUvEp/view


Add tests to device_manager

Codecov Report

Merging #12 (e42bdda) into main (0a7c3b4) will increase coverage by 11.08%.
The diff coverage is 80.00%.

@@             Coverage Diff             @@
##             main      #12       +/-   ##
===========================================
+ Coverage   38.14%   49.23%   +11.08%
===========================================
  Files          15       15
  Lines        1101     1107        +6
===========================================
+ Hits          420      545      +125
+ Misses        681      562      -119

Impacted Files
Coverage Δ

pykdeconnect/client.py
0.00% <0.00%> (ø)

pykdeconnect/protocols.py
32.14% <0.00%> (ø)

pykdeconnect/device_manager.py
100.00% <100.00%> (+100.00%)
:arrow_up:

pykdeconnect/storage.py
44.36% <0.00%> (+44.36%)
: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 0a7c3b4...e42bdda. Read the comment docs.


Downgrade to API version 33

Hello!
Even though I get a warning and a recommnedation that I should compile against version 34, the documentation of google play says that maximum version for wear os app has to be 33
https://developer.android.com/google/play/requirements/target-sdk

anybody had any issue submitting the app to the play console? In the past i've been blocked due to this

This issue can be closed as they changed the minimum version to wear os app


Create group with Assigned PDL

Create a group with a specified PDL from the SPO Admin Center.

@nenonix @JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@AdwoodMicrosoft - please merge the commit on the copy/edit review done by JohanFreelancer9  or make the necessary changes on the PR following the suggestions made. Thank you.

@AdwoodMicrosoft - We would like to follow up. Please merge the commit on the copy/edit review done by JohanFreelancer9 or make the necessary changes on the PR following the suggestions made. Thank you.

@MikePlumleyMSFT - PR has been copy/edited and there are just some minor edits but we got no response from AdwoodMicrosoft to merge the commits so we leave it to your discretion whether or not to merge this PR.
Thank you.
cc: @kenwith


smtp-motion causes crash of homebridge

Hi guys!
I'm running homebridge on a MacMini (late 2012) with only 2 Plugins:

homebridge-camera-ffmpeg  (running fine since 2 years)
homebridge-smtp-motion (since some month)

All version are latest minus 1...
Since installing and using "smtp-motion" my 2 cameras are randomly "not reachable". I'll take a look into the logs, but I guess there was nothing to see. I suspect, when emails from the cams coming at "high" frequency... but I  think that the frequency is not too high or like Spam. I would say after frequency raise up to round about 10 mails per minute.
edit: todays evening I'll deliver precise version numbers
Greetz!

Update
My given info that "homebrigde" crashes isn't correct. Only the cam are not reachable in the Home App. Right before the disappearance of the cams, 11 Mails in 6 minutes were received (log file, no other messages). In my opinion, every time this happens, "some more" Mails were received right before. Without smtp-motion the cams running fine over weeks/month.
Homebridge v 1.4.1
homebridge-config-ui-x v4.50.1
homebridge-smtp-motion v1.2.1
homebridge-camera-ffmpeg v3.1.3
That's my current installation on the macmini. I tested some version arround, but thought that's the best. Now it crashes in this config like other combination of version (e.g. all on latest).


Add package repo tooling to validate the main README list

We don't always remember to update the top-level README.md table when we add packages to the repository; we should have a step in the repo tooling that validates it so it's not subject to human error. (Ideally we should also validate that there's not anything in the list that's not in the repo, so that we don't forget to remove things, but that's not been an issue in practice.)

This was implemented.


Link to System.Text.Json overview in DataContractSerializer docs

Partially addresses #15024

Perhaps add a title suffix to the entire WCF path using WCF?
Do you mean append something like "using WCF" or "- WCF" to the title of everything under the WCF folder? How would we do that?

I meant to paste a link, sorry.
Similar to this: https://github.com/dotnet/docs/blob/master/docfx.json#L339
Apply to /docs/framework/wcf/**/**.md


grpc node server failed to bind to port

What version of gRPC and what language are you using?
1.14.1 nodejs
What operating system (Linux, Windows, …) and version?
Linux 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 17:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
What runtime / compiler are you using (e.g. python version or version of gcc)
gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)
What did you do?
If possible, provide a recipe for reproducing the error. Try being specific and include code snippets if helpful.
start grpc server
What did you expect to see?
server bind to port
What did you see instead?
server could not bind to port.
Without GRPC_VERBOSITY=DEBUG
E0816 16:42:01.733381380   16045 server_chttp2.cc:40]        {"created":"@1534408921.733338610","description":"No address added out of total 1 resolved","file":"../deps/grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc","file_line":307,"referenced_errors":[{"created":"@1534408921.733333730","description":"Failed to add port to server","file":"../deps/grpc/src/core/lib/iomgr/tcp_server_custom.cc","file_line":402,"referenced_errors":[{"created":"@1534408921.733332167","description":"Failed to bind to port","file":"../deps/grpc/src/core/lib/iomgr/tcp_uv.cc","file_line":73,"grpc_status":14,"os_error":"invalid argument"}]}]}

With GRPC_VERBOSITY=DEBUG
D0816 16:39:10.144184522   14303 dns_resolver.cc:339]        Using native dns resolver
I0816 16:39:10.144395423   14303 init.cc:155]                grpc_init(void)
I0816 16:39:10.145084936   14303 completion_queue.cc:433]    grpc_completion_queue_create_internal(completion_type=0, polling_type=0)
I0816 16:39:10.183374758   14303 server.cc:944]              grpc_server_create((nil), (nil))
I0816 16:39:10.183416437   14303 server.cc:930]              grpc_server_register_completion_queue(server=0x41bdf40, cq=0x4117c20, reserved=(nil))
is development enveloment ?  false
I0816 16:39:10.641768520   14303 server_chttp2.cc:34]        grpc_server_add_insecure_http2_port(server=0x41bdf40, addr=<IP_ADDRESS>:25)
I0816 16:39:10.641876142   14303 tcp_server_custom.cc:380]   SERVER 0x4269e70 add_port [::ffff:<IP_ADDRESS>]:25 error="No Error"
Segmentation fault

Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
Anything else we should know about your project / environment?
The code runs fine in testing and developing environment but only fails on this production machine.

Would it be possible to run node in gdb in order to get a stacktrace of the segmentation fault? Or a core dump?

This error happens across all grpc-node versions.
docker container that runs fine elsewhere would run into this error on this perticular machine

I will try to grab a stacktrace tomorrow.

Managed to solve this. After I turned on ipv6 module in modprobe everything worked.


Call returned 0x when placing bid

don't have much other info here, account activation succeeded

GSN issue probably with fees / gas calculation -- not seeing on 2.1-beta


Thoughts on PAM environment variables

First of all thanks for making this library, it has made creating a Display Manager more enjoyable.
As you know it's kinda difficult to get any good information on how to make DMs, but I've managed to get to a point where I can comfortably use mine and I thought I'd share some of what I have learned. I made a fork of this project here with some changes I needed to get everything to work properly w.r.t. logind/systemd.

pam_systemd.so - which is needed to get logind working - reads some PAM environment variables. So the user should have a way of setting the PAM vars propably. These also needs to be set before pam_open_session is called.
As I understand it setting the process' actual environment variables could be confusing, especially if a single process is managing multiple PAM sessions. The better way imo is using Command::envs to set all of the PAM environment in the child process. For example like I have done in my DM.
The PATH environment variable is probably better left to pam_env.so so that individual users or distributions can set the PATH variable in /etc/environment or ~/.pam_environment.

Hey thanks so much for your comment and links! I'll check them out later today or this week! I also got my DM to the point of "barely working" and recently got motivated again to work on it, so I'm looking forward to check out your progress.
With regards to pam, I think we could discuss which variables should be set unconditionally and which maybe could be set via optional arguments to open_session or something.

Depending on how general this library wants to be passing in those as arguments to open_session could work. I don't really know pam that well so afaik open_session could be used in other contexts than DMs?
In any case I think it would be difficult but not impossible to have an exhaustive list of arguments to open_session. Another idea could be to have a Logind struct with Logind::open_session that sets the arguments for pam_systemd.so before calling Authenticator::open_session. That way it would be easier to add support for different pam modules arguments without breaking the API. I also think that it's awkward how coupled everything is to the /etc/pam.d/service-name config file. If the user of this library has not configured pam_systemd.so there nothing would work. So I feel like good documentation is needed around logind if that usecase is to be supported.
In order to make the logind session work(so that it is assigned a seat etc) I needed to set these variables(even though I think I read somewhere that pam_systemd should figure out some of these by itself it didn't):
$XDG_SESSION_TYPE="x11"
$XDG_SESSION_CLASS="user"
$XDG_VTNR=[vtnr]
$XDG_SEAT="seat0"

I get this logind session with my DM:
~ > loginctl show-session $XDG_SESSION_ID
Id=1
User=1000
Name=alan
Timestamp=Wed 2019-05-22 09:30:21 CEST
TimestampMonotonic=9991632
VTNr=7
Seat=seat0
Remote=no
Service=webdm
Scope=session-1.scope
Leader=588
Audit=1
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
LockedHint=no

$XDG_SESSION_DESKTOP is also mentioned by the pam_systemd.so documentation so it would be nice to have that parameter as well.

Depending on how general this library wants to be passing in those as arguments to open_session could work.

Since the crate is called pam I think we want to be as general as possible and not only support DMs. ;)
I took a rough look at the changes in your fork and I would be happy to merge most of it (especially the changes to make the environment struct an Iterator and the renaming of the handler methods). Could you open a PR for that?

I wanted to comment on this issue, since I've also been writing my own toy desktop/login manager in rust recently, and I've been digging into what constitutes a valid logind session and all this. I've read over most of the code in this library, as well as some of @regiontog's fork and his WebDM project. It seems to me that the code in initialize_environment is totally correct except for the PATH variable. And it might indeed be better to return an environment to apply rather than setting it for the current process, but this is a minor complaint. I don't know which distro @regiontog is using, and I also don't know which PAM configuration his WebDM is using(the code just says to use the "webdm" file, but there's no such file tracked in the git repo). But on my distro(Arch Linux), when using the correct PAM config file, I do indeed get all the $XDG_* variables set, as well as some Systemd related dbus stuff. And I get a valid session with logind. Indeed, my environment after initialize_session() is identical to the one I get after using the default tty login program, except for randomly generated identifiers for dbus etc. In my case I used the file /etc/pam.d/login, which the one used by the tty login screen. The contents are as follows:
login:
#%PAM-1.0

auth       required     pam_securetty.so
auth       requisite    pam_nologin.so
auth       include      system-local-login
account    include      system-local-login
session    include      system-local-login

system-local-login:
#%PAM-1.0
auth      include   system-login
account   include   system-login
password  include   system-login
session   include   system-login

system-login:
#%PAM-1.0

auth       required   pam_tally2.so        onerr=succeed file=/var/log/tallylog
auth       required   pam_shells.so
auth       requisite  pam_nologin.so
auth       include    system-auth

account    required   pam_tally2.so
account    required   pam_access.so
account    required   pam_nologin.so
account    include    system-auth

password   include    system-auth

session    optional   pam_loginuid.so
session    optional   pam_keyinit.so       force revoke
session    include    system-auth
session    optional   pam_motd.so          motd=/etc/motd
session    optional   pam_mail.so          dir=/var/spool/mail standard quiet
-session   optional   pam_systemd.so
session    required   pam_env.so

system-auth
#%PAM-1.0
auth      required  pam_unix.so     try_first_pass nullok
auth      optional  pam_permit.so
auth      required  pam_env.so

account   required  pam_unix.so
account   optional  pam_permit.so
account   required  pam_time.so

password  required  pam_unix.so     try_first_pass nullok sha512 shadow
password  optional  pam_permit.so

session   required  pam_limits.so
session   required  pam_unix.so
session   optional  pam_permit.so

As you can see pam_systemd.so is only included in the system-login file, not system-auth(which is the file referenced in the examples for this library). If you invoke system-auth, only the absolute minimal checking against /etc/passwd will be performed. using system-local-login should ensure the correct env variables are set up my pam_env.
Of course, the organisation of pam.d differs from distro to distro, and a quick look at my debian box reveals a completely different setup. Generally though you should refer to your distro's documentation to find out which pam file to invoke, or which ones you need to include from your custom pam files to stay secure and compatible.
Now, I've read some of the systemd-logind documentation, and it specifically says to not talk to logind directly, but let pam_systemd do it. Talking to systemd, setting specific environment variables or calling into specific pam modules shouldn't be the responsibility of this library as it exists now, which is mainly as a wrapper around the PAM conversation API for clients.
The only real bug I found in it was this line
self.set_env("PATH", "$PATH:/usr/local/sbin:/usr/local/bin:/usr/bin")?;
this leads to the following PATH variable on arch linux:
$ grep PATH badenv
PATH=/home/mtl/.cargo/bin:$PATH:/usr/local/sbin:/usr/local/bin:/usr/bin

Note that the .cargo part is from my local shell .zprofile.
As you can see, this code just inserts the literal '$PATH' into the variable. This is probably not what was intended. Either way, this library shouldn't initialize PATH. This is either done by pam_env or by the shell when started with -l(to start a login shell).
I also want to say thanks for developing this library and pam-sys. They've made my life a lot easier writing my own DM in rust. I hope my insights from banging my head against the wall for 3 days will be helpful somehow :D

Hey @mtlll this is very useful information indeed! I am quite impressed that you got a valid systemd session using pam! That is more than I can say for myself (and I'm also on Arch) ;)
Some thoughts (in no specific order of importance):

Great to know, that we should not talk directly to logind. That simplifies the library a lot and I was very hesitant to add logind-specific stuff to a library that is supposed to wrap PAM.
The $PATH thing is just plain wrong. I am not sure, if we don't need to set it at all (have not yet fully understood pam_env yet), but literal $PATH has to go. I'll try to change that in the next days.
Returning the environment may be better, I have to think about this some more.

Thanks for your insights! I may have a closer look at yalm to see how you managed to get a session going ;)

I think $PATH should also be handled by pam_env. It can also be initialised by the shell when given the -l option(to start as a login shell).
Again, I didn't really do anything special to get the env set properly. All I did was use the right pam service file(in my case I used login because my login manager is TUI-based and it made sense, more generally system-local-login is probably what you want).
You're welcome to look at yalm, but keep in mind it's still a work in progress, and I'm writing yalm mainly as a project to learn rust, so the code is a bit of a mess right now :)


PubMedQA JSON Decoder Error

The first pic is the error I got. The second pic is the run_specs I used. The third pic is the command I used. If you need more information, please let me know.

This is likely because the https://worksheets.codalab.org/ was down for the last few days. Could you try again and let me know if this still fails?

See: https://github.com/codalab/codalab-worksheets/issues/4511

pubmed_qa is working again now that CodaLab is back up.


Add support for raw txn messages in search options

Adds functionality to the search feature to recognize and handle base64 encoded raw transaction messages. When a valid base64 encoded transaction message is entered in the search, it now resolves to the transaction inspector path.

Hey this is an awesome PR! Thanks for sending. Will try out later today!

@sahilkakwani9 is this now ready for review again?

@sahilkakwani9 is this now ready for review again?

Yes ser


TileMap 1D array

Using a 1D array means fewer allocations, and less fragmented memory.
Data is organized so adjacent X coordinates are next to each other in memory. That roughly matches the previous order. It also means access is most efficient when iterating though x in inner loops. Adjacent Z data is furthest from each other, which makes sense since you only view a single plane at a time.

I've found learning to work with a 1D array and having to translate into 2D coordinates is easier than dealing with multi-dimensional arrays. Although admittedly I don't have experience with the z dimension.

This was ultimately the goal. At the time I used a multi-dimensional array to make sure that the map structure was correct.
Thanks for taking care of this!


Events

Is there a way to respond to events, e.g. do something when an image was uploaded or when it was cropped?

Which you using version of widget?

Verson 4.1.1

Since 4.0.0 yii2-widget-cropbox is wrapper of https://github.com/bupy7/jquery-cropbox. All questions about JS need to write to jquery-cropbox.
Answering your question: No events any. If you want you can added ones to the plugin.


Error handling using futures.

I am not sure if this type of error handling and abstraction is done in a wrong way.
Future<void> _refresh() {
  return Future(() => throw someError)
       .catchError((error) {
              // maybe do something here
             throw abstractedError; //or even the same error
      });

Being able in another place to use it accordingly:
// in a widget/another place

void doSomething() {
   _refresh()
     .then((_) => bla())
     .catchError((error) {
      //showSomeAlert() or handleSomething()
  });
}

My issue comes when using mokito along with this pattern and it leads me to suspect that I have a wrong understanding for this.

We have in the flutter framework the description for the catch function:

Handles errors emitted by this [Future].
This is the asynchronous equivalent of a "catch" block.
...
Future catchError(Function onError, {bool test(Object error)});

When chaining futures I would advise against of using:
`throw error;
and instead use:
return Future.error(SecondError());
This is because if you chain a future and expect to catch the error on the catcherror function you will have the following problem.
Future<void> _refresh() {
  return throw Exception("Exception");
}

void main() {
    _refresh().then((_) => print("bla"))
    .catchError(() => print("not able to be reached"));
}

And you will get an error Uncaught exception: Exception: Exception.
This is similar when using RX (in general) and instead of throwing you send down the chain a Sigle.error (or any other observable with error).
TLDR:
When working with Futures and chaining them (including catchError) use Future.error(Exception("Exception")) to handle errors.
If you are using throw make sure or surround with try catch or Future(() -> throw ... )


Update machine to 3.5.1 and small bug

Fix Async stream write bug for S3 buckets

This change is

Codecov Report
Attention: Patch coverage is 95.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 57.05%. Comparing base (1df752c) to head (0e96e57).

Files with missing lines
Patch %
Lines

...rval.Machine.Shared/Services/PreprocessBuildJob.cs
95.00%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #546      +/-   ##
==========================================
+ Coverage   57.03%   57.05%   +0.01%
==========================================
  Files         302      302
  Lines       15605    15614       +9
  Branches     2151     2152       +1
==========================================
+ Hits         8900     8908       +8
  Misses       6063     6063
- Partials      642      643       +1

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

src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs line 97 at r1 (raw file):
Previously, Enkidu93 (Eli C. Lowry) wrote…
What exactly is prompting this change?

Much crashing - it's trying to call Write on the S3StreamWriter (NotImplementedException).

src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs line 116 at r3 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
WriteLineAsync uses the OS-specific newline characters. I would prefer that we revert to the previous behavior where it always uses \n, so that the behavior is consistent across platforms.

Done.

src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs line 126 at r3 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
We could flush every time 4096 (or something like that) bytes are pending.

No we can't - the S3Writer itself breaks up the parts and has to upload everything in one go - otherwise we get a:
Amazon.S3.AmazonS3Exception: The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.

src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs line 126 at r3 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
I'm confused. The S3WriteStream is specifically designed to upload in chunks. If we are receiving an exception from writing to the stream multiple times, then it sounds like a bug. @Enkidu93 Do you have any idea what is going on here?

I remember working on this about 6 months ago. The S3 bucket interface was finicky. They really want you to have the whole file ready before you start writing anything. You can break it into pieces, but all of the pieces need to be the predefined size. We could implement double buffering, but that would add more complexity.

src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs line 126 at r3 (raw file):
Previously, johnml1135 (John Lambert) wrote…
I remember working on this about 6 months ago. The S3 bucket interface was finicky. They really want you to have the whole file ready before you start writing anything. You can break it into pieces, but all of the pieces need to be the predefined size. We could implement double buffering, but that would add more complexity.

I think I know how I would do it. I will implement the double buffering in the S3 writer.

src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs line 126 at r3 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
It is more likely that we are simply calling the S3 API incorrectly.

I updated S3Writer - now it will break any stream written to it into parts of MaxUploadSize, while keeping the internal stream size also capped.

src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs line 126 at r3 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
I think I understand what is going on. S3 has a minimum part size of 5MB, unless it is the last part of the file, so we need to buffer the stream until we have 5MB of data to send a part. Is that correct?

Yes - https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html


[fdk-aac-freeworld] Error while loading shared libraries

Related to https://bugzilla.rpmfusion.org/show_bug.cgi?id=5298
Hello
I have this message:
$ error while loading shared libraries: libfdk-aac.so.2: cannot open shared object file: No such file or directory
In /usr/lib64/fdk-aac-freeworld
total 2304
drwxr-xr-x.   2 root root    4096 Jun 27 23:29 .
dr-xr-xr-x. 258 root root  258048 Jun 27 23:29 ..
lrwxrwxrwx.   1 root root      19 Jun 25 00:50 libfdk-aac.so.2 -> libfdk-aac.so.2.0.0
-rwxr-xr-x.   1 root root 2091536 Jun 25 00:50 libfdk-aac.so.2.0.0
Package fdk-aac-2.0.0-4.fc30.x86_64.rpm

Related to https://github.com/UnitedRPMs/fdk-aac/commit/50aa043c1e5d77bda8b680ec7476310972b0aa7d

@Kcchouette Hi, reading bug reports from fragmented and forget repository; the solution is simple...
dnf clean all && dnf -y update
dnf -y install fdk-aac-free
Please avoid mixing Rpmfusion with UnitedRPMs...


Error: non_null_sites

Inside analysis/clustering.jl time_series_clustering we filter off sites without corals:
non_null_sites = result_set.site_data.k .> 0.0
filtered_data = data[:, non_null_sites]

# Apply time series cluster for filtered data
clusters = time_series_clustering(filtered_data, n_clusters)

But now this seems not to be working anymore. When I run this I get the error:
ERROR: ArgumentError: Distance matrix should be symmetric.
Stacktrace:
 [1] assertdistancematrix
   @ C:\Users\pribeiro\.julia\packages\Clustering\yuxBr\src\hclust.jl:48 [inlined]
 [2] hclust(d::Matrix{Float64}; linkage::Symbol, uplo::Nothing, branchorder::Symbol)
   @ Clustering C:\Users\pribeiro\.julia\packages\Clustering\yuxBr\src\hclust.jl:757
 [3] hclust
   @ C:\Users\pribeiro\.julia\packages\Clustering\yuxBr\src\hclust.jl:752 [inlined]
 [4] time_series_clustering(data::NamedDims.NamedDimsArray{(:timesteps, :sites), Float32, 2, AxisKeys.KeyedArray{Float32, 2, Matrix{Float32},
Tuple{Vector{Any}, Vector{Any}}}}, n_clusters::Int64)
   @ ADRIA.analysis C:\Users\pribeiro\AIMS\Code\ADRIA.jl\src\analysis\clustering.jl:120
 ...

That is caused by the existence of series with all values equals 0.

Can you confirm there are series with a constant value in filtered_data?
If so, could you identify which location it is?

I reckon we can use the complexity factors to help us with this. And, actually, I think a good approach would be to change the time_series_clustering function to filter off those series with null complexity factors because this is the "real" source of the problem.
But to answer your question, when I run
constant_entries = ADRIA.analysis.complexity(m_tac) .== 0
count(x -> x==1, constant_entries)

I find that 35 (of 216) series are constant, and when I run
null_sites = rs.site_data.k .== 0.0
count(x -> x==1, null_sites)

I find 14 (of 216) entries are null. When I run count(x->x==0, constant_entries .== null_sites) I get 21, which makes sense! So, in order to get the location of those series that are constant but not null you can simply run (right?):
findall(x -> x==1, constant_entries .!= null_sites)

And the output is:
21-element Vector{Int64}:
   1
   2
   3
   5
   6
   7
   ⋮
 113
 114
 115
 117
 118

For example, when I look at rs.site_data, the first element corresponds to Briggs_BR_C_1 and k is equals to 79.9. When I look at m_tac the first column is also Briggs_BR_C_1 and all entries are equal 0. Apparently all entries of the first column of every matrix of tac are zeroes so... either:

This is actually right, but we need to filter off by complexity instead of by the value of k
There is something wrong with ADRIA.metrics.total_absolute_cover(rs)
There is something wrong with the data..?

What do you think?

@Rosejoycrocker I think there is something wrong with the data here.

Hi @ConnectedSystems , I'll check this out

Hi both, this seems to be due to a mistake in the ID for Briggs (which is split into 16-044a and 16-044b in ReefMod instead of just 16-044. I've re-created the file with this amended and put it on the datastore in the Moore_2023_08_17 file.


Unifi device_tracker integration fails - ValueError

Home Assistant release with the issue:

0.100.2
Last working Home Assistant release (if known):
0.99.3
Operating environment (Hass.io/Docker/Windows/etc.):

Docker on CentOS
image: homeassistant/home-assistant:0.100.2
Integration:

Device Tracker https://www.home-assistant.io/integrations/device_tracker/
Unifi https://www.home-assistant.io/integrations/unifi/
Description of problem:
  File "/usr/src/homeassistant/homeassistant/setup.py", line 167, in _async_setup_component
    hass, processed_config
  File "/usr/src/homeassistant/homeassistant/components/device_tracker/__init__.py", line 142, in async_setup
    legacy_platforms = await setup.async_extract_config(hass, config)
  File "/usr/src/homeassistant/homeassistant/components/device_tracker/setup.py", line 114, in async_extract_config
    platform.name, platform.type
ValueError: Unable to determine type for unifi: None

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
unifi:
  controllers:
    - host: unifi
      site: site.net
      block_client:
        - 30:e3:7b:1a:61:1d
        - fc:18:3b:7a:b0:f5
        - c0:7c:d3:ff:45:f4
      ssid_filter:
        - 'wireless'

device_tracker:
  - platform: unifi
    new_device_defaults:
      track_new_devices: false
      hide_if_away: true

Traceback (if applicable):

Additional information:
This all worked on 0.99.3. I upgraded to 0.100.2, found the error, then tried 0.100.1 and error still exists.
Running a check_config doesn't find any errors in the config.

As communicated previously support for unifi configuration through device_tracker is removed from release 0.100. See release notes of 0.99.

It would be nice to see a link and the docs updated.


Rectify bugs found

Closes #110
Closes #109

If possible maybe add like a general overview/issue cos bug fix is quite generic and the reviewer needs to figure out what bugs specifically you are fixing


"Handshake exceeds 1000 characters"

Users are unable to connect to the network through the proxy, but it does block direct connections to the backend servers.
The following errors are repeated for all users trying to connect:
[19:59:57] [Netty Epoll Server IO #1/WARN]: [BungeeGuard] Denying connection from handshake exceeds 1000 characters - reason: INVALID_HANDSHAKE (Spigot server error)
22:05:44 [INFO] [*********] disconnected with: Kicked whilst connecting to lobby: Unable to authenticate - no data was forwarded by the proxy. (Proxy error)

Tested on our production server as well as a home-hosted network.

Also tested using a clean install of the proxy and backend server (no other plugins installed, just BungeeGuard).

Confirmed that the token is the same between the proxy and backend server, also tried using a new token by BungeeGuard.

Proxy jar (tested with both): Waterfall and Bungeecord
Backend jar (tested with both): Purpur and Paper
(Latest builds for both)

Which plugins do you have on your proxy side?

On the live proxy there are a few plugins but we tested it with a clean
install of bungee cord and waterfall on the home network (no other plugins).
On Tue, 16 Mar 2021, 6:46 am Stijn Bannink, @.***>
wrote:

Which plugins do you have on your proxy side?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lucko/BungeeGuard/issues/48#issuecomment-800000070,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP4XMGFWPCSZZX3XI4ZLSCDTD35EZANCNFSM4ZHK5SIA
.

Hey I'm getting this too now. My proxy is Velocity.

Should be fixed in the latest release.


Added HOP governance subgraph

Title
Added HOP governance subgraph
Description
This subgraph interacts with the HOPGovernor contract and HOPToken contract to track proposals, delegates, and votes. Entities and schema are a clone of ENS governance #414
Subgraph Link
https://thegraph.com/hosted-service/subgraph/messari/hop-governance

LGTM! Would you also update this: https://github.com/messari/subgraphs#development-status?


Tree expansion/compression should be slider instead of buttons

Continually tapping expand and compress can be a bit cumbersome. A slider seems to be more appropriate since the value is continuous and does not require accuracy.

Since we're reorienting example usage to ObservableHQ, implementing sliders can be done outside of the library itself, and easily done in a notebook.


Can the videos play in Preview mode?

I'm aware that they can play in the sandbox, while you're designing, but when you're in the preview mode, can the videos play there as well?
I've also seen on the forums somewhere that if the system doesn't have gifme and there's a video attached to the sketch document, it just shows a still snapshot of the video.
Can someone let me know if having the video play in preview mode is possible? I've managed to get the video to play in design mode, trying to get it to play in preview mode.
Forgive my apparent repetitiveness, I'm recovering from a client request.

This is a very good feature request that I've heard from a few others as well. Honestly not sure if this is technically feasible but I'll do a little digging. Open to PR's if you have an idea as to how to accomplish it!

try exporting everything it into principle. (you can insert videos there) and then export everything as an app.


gc_crawler is missing

The tool gc_crawler is missing. From the document
https://github.com/dod-advana/gamechanger-data/blob/dev/dataPipelines/README.md
The many sub packages in <repo>/dataPipelines/gc_crawler/ are used to obtain raw data from web crawlers. - The process is broken up into figuring out which files to download (that's stuff in gc_crawler) and actually downloading them (using /repo/dataPipelines/gc_downloader/)

There is no directory named gc_crawler in /dataPipelines.
CC: @jram930 @drospond

The crawler(s) reside in [gamechanger-crawlers][0].
Closing this. The document needs to be updated to reflect this.


Firmware Update

Hi @Yahyaaddailam,
It's unclear why this issue has been opened. Could you please add some details of the issue you are having.
We typically update the supported firmware every few releases. #70 will update the supported firmware to 0.83.1.


Admin cannot delete ads and new listings not displayed

Q
A

Bug report?
?

Feature request?
no

Support request?
yes

Hello

I'm  having trouble with my install : I've noticed that when I put a new as it isn't displayed anymore in the latest listings "high rank.twig".

ALSO WHEN I try to delete an ad through the admin panel it doesn't get deleted...

What can it possibly be

?

Thank you

I init again mongodb and it was fine

hello
I always have to restart mongodb in order to have the high rank section updated...
how can it be automatic?
thank you

Hello,
When New listings are added they are not showed in the "high_rank" section ; I have to manually re init mongo...
I changed parameters.yml   #Is new listing published by default (0 or 1)
cocorico.listing_new_is_published: 1
but When I put it back to 0 I still need to validate the listings...
What can I do to have high rank updated automatically?
Thank you

Hello,
cocorico.listing_new_is_published: 1 means your listings are automatically published, 0 means listings are not published by default and admin have to change their status to published.
Before using cocorico ensure that mongo is running by running bin/start-mongodb [your path to mongo data folder] in linux.
To have listings in high_rank section your listings have to be published. See \Cocorico\CoreBundle\Controller\Frontend\HomeController::indexAction.
Listings can not be deleted through admin, you can change their status to deleted instead or delete them though DB.


A period seems to be missing in swiper-bundle.min.css.

A period seems to be missing in swiper-bundle.min.css.

This is the 1st time for me to post an issue on GitHub. Please forgive me if I am rude.

It is not, it is declaration for web component

Thanks a lot. I didn't know web component. Sorry for taking up your time.


cat启动出现[ERROR] [TcpSocketSender] Netty write buffer is full! Attempts: 1

启动tomcat[ERROR] [TcpSocketSender] Netty write buffer is full! Attempts: 1

启动一次没关系的，后续会重试。


Incapable of loading a tf v1 model

Issue type
Support
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.16.1
Custom code
Yes
OS platform and distribution
Windows 10
Mobile device
No response
Python version
3.12
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I expected tf to load the model (it is a v1 model, but in theory this is houw you should load them?).
Model in question: https://drive.google.com/file/d/1TnN1j34owIPMyi7gRZJO3UAwZhNtXQ9i/view?usp=drive_link
Standalone code to reproduce the issue
import tensorflow as tf
import os

# Define the path to the directory
directory_path = r"D:\Admin\Documents\Universitat\UdG\TFM\Modelos\trn-_cnn_random__random_sp_gpu-cnn_for_random_pfam-5356760"

# Print the contents of the directory
print("Contents of the directory:")
for item in os.listdir(directory_path):
    print(item)

# Define the correct path to the SavedModel directory
saved_model_path = r"D:\Admin\Documents\Universitat\UdG\TFM\Modelos\trn-_cnn_random__random_sp_gpu-cnn_for_random_pfam-5356760\saved_model.pb"

# Load the SavedModel
loaded_model = tf.saved_model.load(saved_model_path)

Relevant log output
C:\Python312\python.exe C:\Users\Admin\AppData\Roaming\JetBrains\PyCharmCE2024.1\scratches\scratch.py
2024-04-17 18:44:10.129957: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2024-04-17 18:44:11.239742: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
Contents of the directory:
saved_model.pb
variables
Traceback (most recent call last):
  File "C:\Users\Admin\AppData\Roaming\JetBrains\PyCharmCE2024.1\scratches\scratch.py", line 16, in <module>
    loaded_model = tf.saved_model.load(saved_model_path)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\site-packages\tensorflow\python\saved_model\load.py", line 912, in load
    result = load_partial(export_dir, None, tags, options)["root"]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\site-packages\tensorflow\python\saved_model\load.py", line 1016, in load_partial
    loader_impl.parse_saved_model_with_debug_info(export_dir))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\site-packages\tensorflow\python\saved_model\loader_impl.py", line 59, in parse_saved_model_with_debug_info
    saved_model = parse_saved_model(export_dir)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\site-packages\tensorflow\python\saved_model\loader_impl.py", line 119, in parse_saved_model
    raise IOError(
OSError: SavedModel file does not exist at: D:\Admin\Documents\Universitat\UdG\TFM\Modelos\trn-_cnn_random__random_sp_gpu-cnn_for_random_pfam-5356760\saved_model.pb\{saved_model.pbtxt|saved_model.pb}

Process finished with exit code 1

@Afganitia Could you please consider upgrading your TF v1 model to TF2 format. Please refer to this guide for migration.
Thank you!


Non compilable with GHC 7.2

Safe Haskell issues, see https://hackage.haskell.org/package/transformers-base-0.4.4/revisions/
ping @bergmark

Same problem with ghc-7.8.4.
See also  https://github.com/basvandijk/lifted-base/issues/33


Agenda for DIG May 2021

possible breakouts in addition to below:
data.ices.dk
ocean format
Tuesday

DISCUSSION PLENARY: Recommendations to DIG
DISCUSSION PLENARY: Review of DIG Actions actions on board
INFORMATION POINT: Update on accreditation @pcrjoana and @neil-ices-dk
INFORMATION POINT: DSTSG highlights from SG chair (@jensr how long will you need on the DIG agenda for this?)
DISCUSSION PLENARY (TUESDAY): Filtering granularity of vocab.ices.dk (themes or datasets by dataset) see discussion
BREAKOUT (TUESDAY): Framework for data/products outside of normal data management flow #5 (@jensr)

Wednesday

INFORMATION POINT: progress on master reference change management vocab.ices.dk management (@Osanna123 and @neil-ices-dk)
INFORMATION POINT: AIMS (@mehdiabbasi),
INFORMATION POINT: data.ices.dk (@mehdiabbasi and @cmspinto)
INFORMATION POINT: Data policy/licence #2 and #3 (@sjurl or @neil-ices-dk)
INFORMATION POINT: Ocean format: awaiting some info from Hjalte, see #23

Thursday

DISCUSSION PLENARY (THURSDAY): World Data System membership; @pcrjoana
BREAKOUT (THURSDAY): data preservation plan #34

Friday

BREAKOUT (FRIDAY): feedback and test data.ices.dk

@neil-ices-dk Thanks for heads-up I reckon 10-15 minutes should be adequate for DSTSG update.


New version: kubewall.kubewall 0.0.10

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

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

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

Automated with GoReleaser
Microsoft Reviewers: Open in CodeFlow

Why failed 🤔, the last couple of releases went smoothly with the same process.

Manual Validation ended with:

2024-12-16 12:50:27.358 [FAIL] Installer failed security check. Url: https://github.com/kubewall/kubewall/releases/download/v0.0.10/kubewall_Windows_x86_64.zip Result: 0x80004005

(Automated response - build 904.)

@wingetbot run


Fix retrieval of private registry metadata from the Job definition

Fixes a bug introduced in #6810
The modified code in this PR attempted to retrieve the credential-metadata using the wrong key name by confuting the pre- and post-standardisation use of kebab- and snake-case respectively, i.e. credential_metadata instead.
This change reverts to the original call order to ensure that the retrieval happens after standardisation to guard against any future changes to key manipulation leaving the credential_metadata clause out of alignment with the rest of the payload.

This match does not seem to have fully solved the issue, taking another look at it now


Can I change container name?

I have two projects.
One /home/app1/source and /home/app2/source.
And both containers have same name source_web_1, and after fig up start only one of them.
How to fix it?

@kcmerrill unfortunately, at this stage, this is not possible. Fig relies on the projectname_servicename_xx convention to find which containers belong to a project. It's a "hack" and the maintainers are well aware of that. Work is in progress "upstream" in docker to add meta-data to containers, which will allow more flexible naming.
Having said that, I think the original question was answered and this issue can be closed, @dnephin ?

Yup, you can use -p or FIG_PROJECT_NAME to set a project name.
#652 is the issue for explicit names, so I agree we can close.


Layout

This looks great!
We can have a few changes and merge the code

we could use either "brandname-03.png" or "brandname-01.png" for the institute logo
the marquee and links could be centered

the footer can be equalled spaced cols


Keras 3 support

Does SciKeras work with Keras 3, which was released recently? https://keras.io/keras_3/
Are there any changes that might need to be made to SciKeras? https://keras.io/guides/migrating_to_keras_3/

Don't think it's working with keras 3, getting the following error with keras==3.0.5 scikeras==0.12.0 scikit-learn==1.4.1.post1 tensorflow==2.16.1
Expected: No Exception to be thrown
  But was:  <Python.Runtime.PythonException: Could not interpret metric identifier: loss
  File "/opt/miniconda3/lib/python3.11/site-packages/keras/src/metrics/__init__.py", line 204, in get
    raise ValueError(f"Could not interpret metric identifier: {identifier}")
  File "/opt/miniconda3/lib/python3.11/site-packages/scikeras/utils/__init__.py", line 111, in metric_name
    fn_or_cls = keras_metric_get(metric)
                ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/lib/python3.11/site-packages/scikeras/wrappers.py", line 531, in _fit_keras_model
    key = metric_name(key)
          ^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/lib/python3.11/site-packages/scikeras/wrappers.py", line 536, in _fit_keras_model
    raise e
  File "/opt/miniconda3/lib/python3.11/site-packages/scikeras/wrappers.py", line 928, in _fit
    self._fit_keras_model(
  File "/opt/miniconda3/lib/python3.11/site-packages/scikeras/wrappers.py", line 760, in fit
    self._fit(
  File "/opt/miniconda3/lib/python3.11/site-packages/scikeras/wrappers.py", line 1491, in fit
    super().fit(X=X, y=y, sample_weight=sample_weight, **kwargs)

It is not compatible right now but I think getting it compatible with Keras v3 (and doing cleanup along the way) would be a good milestone.

That would be great. Keras 3 should increase interest in Keras again, so it would be a great help to have this.

I started working on this: https://github.com/keras-team/keras/pull/19352

Since multiple backends are supported by Keras 3, will you drop the Tensorflow dependency? (Not sure if this is as simple as replacing tensorflow.keras with keras... )

Could you please try #317 (pip install -U 'git+https://github.com/adriangb/scikeras.git@keras-3') and see if it fixes your problem? Thanks!

This should be fixed now. Please let me know if this is still not fixed with SciKeras 0.13.0. Thanks!


AttributeError: 'MideaC3Climate' object has no attribute '_modes'

HA core version
2024.6.4
Integration version
0.4.3
Device type and model
C3 - Heat Pump Wi-Fi Controller 171H120F
Used App
SmartHome
The description of problem
After updating to version 0.4.3, the error message appears in the log:
AttributeError: 'MideaC3Climate' object has no attribute '_modes'
The logs
_homeassistant_logs.txt

Thx for reporting. We are looking at it right now.

Downgrading to 0.4.1 has made it functional again.

After adding the section following # Defining _modes attribute in the file climate.py (0.4.3) in the class MideaC3Climate(MideaClimate) it works for me again:
class MideaC3Climate(MideaClimate):
    """Midea C3 Climate Entries."""

    _device: MideaC3Device

    _powers: ClassVar[list[C3Attributes]] = [
        C3Attributes.zone1_power,
        C3Attributes.zone2_power,
    ]

    def __init__(self, device: MideaC3Device, entity_key: str, zone: int) -> None:
        """Midea C3 Climate entity init."""
        super().__init__(device, entity_key)
        self._zone = zone
        self._attr_hvac_modes = [
            HVACMode.OFF,
            HVACMode.AUTO,
            HVACMode.COOL,
            HVACMode.HEAT,
        ]
        self._power_attr = MideaC3Climate._powers[zone]

        # Defining _modes attribute
        self._modes = {
            0: HVACMode.OFF,
            1: HVACMode.AUTO,
            2: HVACMode.COOL,
            3: HVACMode.HEAT,
        }

    # Rest of the class remains unchanged

However, the source code should still be checked.


No html inline css syntax highlighting - build 3114

Have just moved over to ST3 and straight back in with Spacegrey (used with ST2 fine) but it appears there is no styling on inline CSS within HTML files.

It is indeed syntax-highlighted, it takes the colours directly from the css:

The real problem is that in css the property name and vales have the same colour, an enhancement would be to color the property differently, for example:


Multi year charts: changing slider settings does not work

Changing slider settings in the MYC front-end does not work.
MYC for a random French scenario: setting the sliders in the MYC tool does not work.

I also made link to MYC for previously made scenario's. Remarkably I find that in this case I can change sliders through the MYC front-end.
MYC for a mix of self-made scenario's: setting the sliders in the MYC tool does work.

Oh darn! This is because of https://github.com/quintel/etengine/issues/1209, where protected scenarios were made to be read-only. MYC scenarios are marked as protected when we create them, and this results in being unable to move the sliders.
I'll discuss this with Chael and Nora in our sprint meeting on Monday (it's not urgent IMO since practically no one uses this feature).


Added popover functionality

Add popover functionality.  Taken from http://ryanlanciaux.github.io/blog/2013/10/16/fake-popovers-for-angular-xeditable/
Updated ui-select test
Updated editable-form documentation to include note about e-required
Removed e-required from editable-row example
Updated radiolist demo to use one-way binding to reduce number of watchers
This could close #210, #146, #81

@ckosloski, please resolve the conflicts

Merge conflict is fixed.  I was unable to squash all the commits correctly.

Great stuff. Working fine! Just came across and missed that feature. Thx guys!


add more metrics to sync

@y0sher not sure my usage is correct i want to get avg times, also i want to add visualisations for these new metrics, can you link an example for the visualisations you've already done ?

bors merge


Fixed initialization

IGNOREFILE variable no longer exists which resulted in calling "vcs_add " command adding all untracked files when blackbox_initialize is called

LGTM