Update gotk3 to the latest version to avoid build failures

It's me again :smile:
FYI, I might be opening up a bunch of similar PRs going forward. miracle-wm is a sway-like Wayland compositor that I've been working on in my spare time. We have approval for an official Fedora 41 spin, and we're using nwg-shell to power it

Hi,
Yes, yesterday I realized it was you. :) Nice to see you here. I haven't yet tried what you're working on, but surely will do soon. Hearing that you will be using my stuff is a big and pleasant surprise.
Fell free to submit whatever PR you need, but I can't promise to release right away. In the morning I'm leaving for the lake and I'm going to fish and drink beer for a week :palm_tree: :fishing_pole_and_fish: :beer: . I really need a reset, as after four months with a new boss I feel old and burnt out. I'll definitely miss coding after this week. :D

Hi,
Yes, yesterday I realized it was you. :) Nice to see you here. I haven't yet tried what you're working on, but surely will do soon. Hearing that you will be using my stuff is a big and pleasant surprise.
Fell free to submit whatever PR you need, but I can't promise to release right away. In the morning I'm leaving for the lake and I'm going to fish and drink beer for a week 🌴 🎣 🍺 . I really need a reset, as after four months with a new boss I feel old and burnt out. I'll definitely miss coding after this week. :D

No worries at all! I'll be fixing some minor things in the meantime, so you'll get to come back to a (hopefully) working miracle spin. Have a great & relaxing vacation :smile: :beers:

Thank you very much!


HW using TPS2061 for power distribution switch FW Needs to disable on OC

Reported by  @DuganY
On HW using TPS2061 for power distribution switch, FW needs to disable part if OC is detected.
A BQ24315 will disable output voltage after 15 tries (short off pulses) on a single charge cycle, then leave part off until power or enable is cycled.  In contrast a TPS2061 will current limit part at ~1.5A indefinitely or until thermal shutdown occurs.

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 30 days. Feel free to reopen this issue if you deem it appropriate.
(This is an automated comment from GitMate.io.)

Also check AP2301/AP2311 to see if it needs the same treatment.


Unfulfilled records show most recent game

Players with a record that they haven't completed yet (e.g. purchased rapier) seem to show their most recent match.
See https://www.opendota.com/players/1900588/records

@howardchung Would this need a backend change?

Don't think so:
https://api.opendota.com/api/players/1900588/records
If the match given for that record has a null value for that field, just don't display it.

Hi, is it alright if I work on this issue?

Go for it!


Missing Ubuntu 20 (focal) packages

Documentation feedback

Page title: Run CrateDB on Ubuntu
Page URL: https://crate.io/docs/crate/howtos/en/latest/deployment/linux/ubuntu.html
Source: https://github.com/crate/crate-howtos/blob/master/docs/deployment/linux/ubuntu.rst

Documentation says that packages for focal are available, however they aren't.
see also https://community.crate.io/t/crate-on-ubuntu-focal-fossa-20-04/449

this has been resolved (focal is now available)


Session management

In this pull request, we have enhanced the session management and event recording functionalities within the AgentOps framework. These improvements aim to provide more robust and flexible session handling, including session expiration and better management of session-related events. Below is a detailed breakdown of the changes made:
Session Expiration:
Added an expiration_time attribute to the Session class to track session expiration.
Implemented the is_expired property in the Session class to check if a session has expired based on the current time.
Session Video Recording:
Added the set_session_video method to the Session class to set a URL for the video recording of the session.
Enhanced Session Handling in Client:
Updated the start_session method to initialize the session expiration time.
Updated the end_session method to handle ending a session with an optional video URL.
Improved _handle_unclean_exits to ensure sessions are properly ended even if the process exits unexpectedly.
Improved LLM Tracking:
Enhanced LlmTracker to track function calls and manage events more effectively.
Improved the handling of streaming and async responses in _handle_response_v0_openai, _handle_response_v1_openai, and _handle_response_cohere methods.
Test Script
python
Copy code
import unittest
from uuid import uuid4
from agentops.client import Client
from agentops.session import Session
from agentops.helpers import get_ISO_time
from time import sleep
class TestAgentOpsEnhancements(unittest.TestCase):
def setUp(self):
    self.client = Client(api_key="test_api_key")
    self.session_id = uuid4()

def test_session_creation_and_expiration(self):
    session = Session(session_id=self.session_id, tags=["test_tag"])
    self.assertFalse(session.has_ended)
    self.assertFalse(session.is_expired)

    # Simulate session expiration
    session.expiration_time = get_ISO_time() - 1
    self.assertTrue(session.is_expired)

def test_set_session_video(self):
    session = Session(session_id=self.session_id, tags=["test_tag"])
    session.set_session_video("http://example.com/video.mp4")
    self.assertEqual(session.video, "http://example.com/video.mp4")

def test_start_and_end_session(self):
    self.client.start_session(tags=["test_start_end"])
    self.assertIsNotNone(self.client.current_session_id)

    self.client.end_session("Success", "Test end session", "http://example.com/video.mp4")
    self.assertIsNone(self.client.current_session_id)

def test_unclean_exit_handling(self):
    session = Session(session_id=self.session_id, tags=["unclean_exit_test"])
    self.client._session = session
    self.client._worker = unittest.mock.Mock()

    # Simulate unclean exit
    self.client._handle_unclean_exits()
    atexit._run_exitfuncs()
    self.client._worker.end_session.assert_called_once()

if name == "main":
unittest.main()
Explanation of the Test Script
test_session_creation_and_expiration:
Creates a session and checks that it has not ended and is not expired initially.
Simulates session expiration and checks that the session is marked as expired.
test_set_session_video:
Creates a session, sets the session video URL, and verifies that the video URL is correctly set.
test_start_and_end_session:
Starts a session using the client and verifies that a session ID is set.
Ends the session and verifies that the session ID is cleared.
test_unclean_exit_handling:
Simulates an unclean exit scenario and verifies that the session end method is called to handle the unclean exit.

Hi @sarath59! Thanks for the contribution, but what problem does this change aim to solve?
Enhanced LlmTracker to track function calls and manage events more effectively -> You only removed comments?
What is an expired session?
Our backend doesn't have metadata field, so it wouldn't understand it.
Was this AI generated?

Hi @sarath59! Thanks for the contribution, but what problem does this change aim to solve? Enhanced LlmTracker to track function calls and manage events more effectively -> You only removed comments? What is an expired session? Our backend doesn't have metadata field, so it wouldn't understand it.
Was this AI generated?

Hey @siyangqiu , Thanks for reviewing my contribution. My motive was to make minor changes to session management and not to make huge changes. I just want to start with this for contributing.
Coming to the expired session the goal was to add functionality to detect and handle these expired sessions to ensure they are managed appropriately and do not cause issues in the system.
I may have pushed the wrong file but my intention was to make above changes to session management. I can push changes again with correct files.
My idea was to start small with contributions and see how it goes. I thought there could be better session management as the whole functionality resides between the sessions.
Coming to the AI generated question. I have drafted the above description based on my thoughts to make it professional but nothing from the code.
Also I would love if you could review the notifications feature i proposed and let me know if you would be interested in me doing that.
thanks

Implemented the is_expired property in the Session class to check if a session has expired based on the current time.

i may be blind, but i dont see where this code is in this PR

thank you for your contribution!! i think there may be some more work here needed for this PR to be ready to merge. we also need to discuss a bit more on the metadata feature and decide if that's something we want to support.
I've left some comments on the code if you want to respond to those :)

Closing due to inactivity


luci-mod-admin-full: modified dependencies

libubus-lua needed here (not really by luci-base)
libiwinfo-lua needed to show wifi information
Due to changed LUCI_DEPENDS the PKG_BUILD_DEPENDS could be removed
Signed-off-by: Christian Schoenebeck<EMAIL_ADDRESS>

NAK on the libiwinfo-lua dependency for base, it is not required on devices without wifi (e.g. sheevaplug).
The libiwinfo-lua package is selected by the default "luci" and "luci-ssl" collections, I'd like to keep it this way.

I personal never used a collection. I select module by module because never need ppp and all the dependent packages.
The collection should select base, admin, etc. as today but never other dependencies.
Each package should only depends on it's minimum.
So if collection selects admin-full then admin-full will pull it's depends incl. base with it's depends.
Whats about Freifunk they are also not using collections.
If you install base only with it's depends (libubus-lua not needed for base) you can use whatever "root node" you like.
If you only install base and a theme of your choice luci comes up without "Bad Gateway" and tell you:
No root node was registered, this usually happens if no module was installed.
Install luci-mod-admin-full and retry. If the module is already installed, try removing the /tmp/luci-indexcache file.

What do you think ?

I'm not quite sure what you want to imply. I'm fine with adding whatever depends are needed for admin-full except libiwinfo-lua because that is optional, it is also handled specially in a way that makes luci not crash when its missing but display a warning popup.

OK admin-full without libiwinfo-lua and
base without +libubus-lua
Should I create a new pull ?

Yes - exactly. I'd appreciate a new PR


[Feature Request]: Let users defind state_image or state_filter for image

What happened?
I would like to define an entity and then use state filters to have the image b&w or color based on if that entity is on or off. Similar to how the picture glance card works.
Card Version
1.1.16
HomeAssistant Version
2023.4.5
Relevant log output
No response

@djexplode6 I believe you can use card-mod for custom css like that.


make viewport units plugin handle multi-unit styles

The previous behavior fixed the first value but stripped out all additional values. It took something like margin: 10vw 5vh; and replaced it with something like margin: 75px; when it should have been  margin: 75px 100px;.

Thanks!


As a user, I want to know how many notifications may be waiting for my review from a plugin.

Implement via a new Grid plugin event, implemented in grid-ui and nano.
plugin.setUnreadCount(int) - 0 to hide
To be used with Clef for number of pending requests, so the user knows that he needs to go to the Clef App to act on it. Ideally, a follow-up ticket could include an onClick to direct to a predefined app. If no app is defined, then would clear the unread count on switching to terminal.
Also, marc noted that the error icon in nano was not clearing on using grid-ui, we could implement a plugin.clearError() event that grid-ui could use to communicate to nano.

🛳'd


wip

Please read contributing guidelines and remove this line.

#5283  👈
master

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

Join @fcarreiro and the rest of your teammates on  Graphite

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit a26d9685 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
5,668
18,820
36,356

l1_rollup_calldata_gas
66,352
238,924
469,868

l1_rollup_execution_gas
647,450
929,282
1,306,048

l2_block_processing_time_in_ms
1,312 (+1%)
4,808 (+1%)
9,467 (+3%)

note_successful_decrypting_time_in_ms
186
509 (-4%)
955 (-2%)

note_trial_decrypting_time_in_ms
87.5 (-5%)
30.3 (-38%)
86.1 (-19%)

l2_block_building_time_in_ms
18,254 (+1%)
68,706 (+1%)
136,394 (-1%)

l2_block_rollup_simulation_time_in_ms
8,222 (+2%)
28,861 (+1%)
56,794

l2_block_public_tx_process_time_in_ms
10,009 (+1%)
39,786 (+1%)
79,501 (-1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
14,175 (+1%)
26,993 (+2%)

note_history_successful_decrypting_time_in_ms
1,243 (-4%)
2,431 (+1%)

note_history_trial_decrypting_time_in_ms
68.6 (-48%)
119 (+3%)

node_database_size_in_bytes
19,066,960
35,725,392

pxe_database_size_in_bytes
29,859
59,414

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
280
44,366
28,244

private-kernel-ordering
213 (-1%)
52,868
14,326

base-parity
1,797 (-5%)
128
311

base-rollup
721
165,787
925

root-parity
1,571 (+8%)
1,244
311

root-rollup
62.9
4,487
789

private-kernel-inner
639
73,771
28,244

public-kernel-app-logic
442 (-1%)
35,260
28,215

public-kernel-tail
173 (+1%)
40,926
28,215

merge-rollup
8.31
2,696
925

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
9.99
16.0
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.6
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.582
0.494
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
45.9
72.3
230
444 (-1%)
877 (-1%)
1,724
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
96.0
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.471
0.446
0.420
0.415 (-1%)
0.416 (-1%)
0.412
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
54.4 (-2%)
107
336 (+1%)
659
1,310
2,608
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
104
207
691
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.484 (-2%)
0.481
0.457
0.453
0.454
0.454
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
61.0

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
109

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.533

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes

tx_size_in_bytes
22,012

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes

tx_pxe_processing_time_ms
3,211 (+1%)
1,744

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
11.2 (-3%)
1,236 (-1%)


wpsoffice: bold text rendering issue due to incompatiblility with newer freetype

Describe the bug
Bold font rendered abnormally unless scaled large enough. (e.g. For font size 12, only normal after document scaled to 440%). I'm using wpsoffice chinese version.
Note that some font are not affected. On my machine Source Han Sans is rendered normally but Noto Sans is not.
WPS community members have located the issue related to freetype >2.13.0 (wpsoffice on nixpkgs is at 2.13.2), see additional context below.
Steps To Reproduce
Steps to reproduce the behavior:

Create a document/slideshow/... in WPS Office.
Type in some text and set it bold.
Change to Noto Sans font and see how it "glitched".

Expected behavior
Correct rendering of bold font.
Screenshots

Expected:

Additional context
Community discussion in Chinese WPS forum.
An archlinux fix package on AUR
Corresponding AUR PKGBUILD with some patches
Notify maintainers

@Ninlives @Th0rgal @wineee
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.1-zen1, NixOS, 23.11 (Tapir), 23.11.20240105.c1be43e`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/etc/nix/path/nixpkgs`

Add a :+1: reaction to issues you find important.

@wineee Unrelated the the original issue, I'm having trouble building the wps package due to HTTP 403 Forbidden when WPS package was being fetched. Their official website still works though. I did some quick test and it seems that they have some referrer restriction?
Here's AUR's fix landed yesterday: https://aur.archlinux.org/cgit/aur.git/commit/?h=wps-office-cn&id=b0863db4c9a3acea861f50d70c48ef6762f9c0d5
# With referred: working
❯ curl https://wps-linux-personal.wpscdn.cn/wps/download/ep/Linux2019/11711/wps-office_<IP_ADDRESS>11_amd64.deb -e https://linux.wps.cn
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: <FILE>" to save to a file.

# W/o referrer: 403
❯ curl https://wps-linux-personal.wpscdn.cn/wps/download/ep/Linux2019/11711/wps-office_<IP_ADDRESS>11_amd64.deb

<title>403 Forbidden</title>

403 Forbidden

kngx/1.10.2

@wineee WPS released new version <IP_ADDRESS>19. But their changelog (zh) (en) didn't mention fixing this font issue, and I haven't tested the new vresion.
Also as per comments in AUR, there seemed to be enhanced signature check on download links (some hash/timestamp bullshit I think).
Header trick I mentioned in previous comments are no longer working.
AUR package bypassed it using a script to dynamically generate download link which, AFAIK, is Nix-unfriendly? (Hashed won't change of course but you'll need to generate urls on the fly. Will that break reproducibility or caching or something?)

There is a new pull request to update wps：https://github.com/NixOS/nixpkgs/pull/291081

So sad that this issue still exits in current version.

Still not working!

@66Leo66
I encountered the same issue and found a solution. Here's what worked for me:
In my case , i have downloaded the pptx online and i don't have the font so it create the bold rendering issue but I Just Download the Required Font that my pptx or word use and It works fine .

My best guess is that in Bold cases the fallback font function will not work properly.
In regular fonts, if the system do not have a font, the system will try to display the fallback font. In bold cases however, the fallback option is absurdly bold. That makes the problem.

the last version of WPS has fix the issue


Settings sync disable and delete data command

There should be some command that allows users to turn off and delete their data.

We should have this command also to cause other machines of the user to disable sync. I think we could do this by turning sync off when an unexpected 0 etag shows up as that means that the server went from some records to zero records.

/duplicate
This will be covered as part of settings sync ux - #85216

Reconsidered to handle this separately.

@Tyriar Does the server supports indicating that sync is turned off everywhere? I think eTag 0 is already used for no resource. May be we can use a different predefined eTag for this scenario?

@sandy081 if you delete all data from the server, an etag of 0 will be sent back as the latest as you say. So if a client tries to sync with a non-0 etag and it gets back 0, it then knows that all sync data has been deleted and turned off.


Connection to the message server instead of dialog instance

Hi
Could you please check if it is possible to add the message server connection, instead of the direct connection to the dialog instance?
The reason for that to have statistics independently if one of the dialog instances will be unavailable, for example from the maintenance or other perspectives.

Alright, here you go:
https://github.com/aws-samples/amazon-cloudwatch-monitor-for-sap-netweaver/blob/master/docs/Message_Server.md


Add security checks in GitHub action

Is your feature request related to a problem? Please describe.
We don't have automated security checks
Describe the solution you'd like

Get useful libraries like bandit and the similar
Create special GitHub action to check python code for vulnerabilities

Describe alternatives you've considered

Use GitHub tools like dependabot

Done


[Torch] 1 lua_State per Operator instance to fix GC issues

This PR is a potential resolution to #1413.
The original issue is due to the serialization improperly managing references causing memory issues when certain objects get garbage collected. This PR removes the serialization in favour of lua references and dedicated lua_State per operator. This should hopefully make things more transparent as well.
I have tested this with the code in #1413 (with my hack to torch to introduce more GC calls), my original net that was having issues, and examples/torch/*.py.
There is one potential race that could occur with this implementation that I don't think is possible but I want to note it down somewhere anyhow:
Certain torch nn modules store data computed in the forward pass for use in the backward pass on them. These make the assumption that the calls to forward and backward will be alternating and never called concurrently. I am not sure if I should put in a mutex to ensure this condition is upheld. If backward and forward are called concurrently in this implementation a CHECK_EQ(lua_gettop(L), 0);  will most likely fail.

Thanks! I made a few comments.
Have you confirmed if this solves your random segfault problem?

@piiswrong updated with changes. Let me know if there is anything else.

@lukemetz looks good. Just verify that the demo in examples folder still works and we can merge.

@piiswrong : Both are running. Also my test that was failing is still segfault free 11 hours later.

Great! Could you do an update so I can merge?

@piiswrong merged and squashed.


000webhost as Server Mysql

Hey! im having problem using Fluent-NHibernate configuration Im always getting an error of An invalid or incomplete configuration was used while creating a SessionFactory. Check PotentialReasons collection, and InnerException for more detail.
private static void InitializeSessionFactory()
{
_sessionFactory = Fluently.Configure()
.Database(MySQLConfiguration.Standard.ConnectionString("Server=mysql8.000webhost.com; Database=a8347166_love; Uid=xxxx; Pwd=xxxx;"))
.Mappings(m => m.FluentMappings.AddFromAssembly(Assembly.GetExecutingAssembly()))
.BuildSessionFactory();
}

So what does inner exceptions say?

Could not create the driver from NHibernate.Driver.MySqlDataDriver, NHibernate, Version=<IP_ADDRESS>00, Culture=neutral, PublicKeyToken=aa95f207798dfdb4.
Im trying to connect to Database (MySQL) from my remote host is this possible? to used online hosting as database server?

Of course it's possible, people do it all the time - host their app on
computer A and their db on computer C.
Please send me the code the sets up an ISession (without the connection
string) - I'll have a look. If not on Github, you know my email.
But I can't promise fast response - two days at least.
2015-08-13 8:01 GMT+03:00 johnjake<EMAIL_ADDRESS>
Could not create the driver from NHibernate.Driver.MySqlDataDriver,
NHibernate, Version=<IP_ADDRESS>00, Culture=neutral,
PublicKeyToken=aa95f207798dfdb4.
Im trying to connect to Database (MySQL) from my remote host is this
possible? to used online hosting as database server?
—
Reply to this email directly or view it on GitHub
https://github.com/jagregory/fluent-nhibernate/issues/317#issuecomment-130536298
.

--
Yours faithfully,
Gleb

It more seems a missing dll problem to me.Please make sure that you are
using Nhibernate <IP_ADDRESS>00. You should check the version of Nhibernate.dll
in your bin directory. Sometimes it is possible that you are referencing
different versions of NHibernate in different projects and thus a wrong
version is copied into bin directory.
On Thu, Aug 13, 2015 at 12:17 PM, Gleb Chermennov<EMAIL_ADDRESS>wrote:

Of course it's possible, people do it all the time - host their app on
computer A and their db on computer C.
Please send me the code the sets up an ISession (without the connection
string) - I'll have a look. If not on Github, you know my email.
But I can't promise fast response - two days at least.
2015-08-13 8:01 GMT+03:00 johnjake<EMAIL_ADDRESS>
Could not create the driver from NHibernate.Driver.MySqlDataDriver,
NHibernate, Version=<IP_ADDRESS>00, Culture=neutral,
PublicKeyToken=aa95f207798dfdb4.
Im trying to connect to Database (MySQL) from my remote host is this
possible? to used online hosting as database server?
—
Reply to this email directly or view it on GitHub
<
https://github.com/jagregory/fluent-nhibernate/issues/317#issuecomment-130536298
.

--
Yours faithfully,
Gleb
—
Reply to this email directly or view it on GitHub
https://github.com/jagregory/fluent-nhibernate/issues/317#issuecomment-130567100
.

That's another opportunity, yes. Because I always run tests before
releasing on latest NHibernate version and never had such problems.
2015-08-13 11:20 GMT+03:00 Beatles1692<EMAIL_ADDRESS>
It more seems a missing dll problem to me.Please make sure that you are
using Nhibernate <IP_ADDRESS>00. You should check the version of Nhibernate.dll
in your bin directory. Sometimes it is possible that you are referencing
different versions of NHibernate in different projects and thus a wrong
version is copied into bin directory.
On Thu, Aug 13, 2015 at 12:17 PM, Gleb Chermennov <
<EMAIL_ADDRESS>wrote:

Of course it's possible, people do it all the time - host their app on
computer A and their db on computer C.
Please send me the code the sets up an ISession (without the connection
string) - I'll have a look. If not on Github, you know my email.
But I can't promise fast response - two days at least.
2015-08-13 8:01 GMT+03:00 johnjake<EMAIL_ADDRESS>
Could not create the driver from NHibernate.Driver.MySqlDataDriver,
NHibernate, Version=<IP_ADDRESS>00, Culture=neutral,
PublicKeyToken=aa95f207798dfdb4.
Im trying to connect to Database (MySQL) from my remote host is this
possible? to used online hosting as database server?
—
Reply to this email directly or view it on GitHub
<

https://github.com/jagregory/fluent-nhibernate/issues/317#issuecomment-130536298

.

--
Yours faithfully,
Gleb
—
Reply to this email directly or view it on GitHub
<
https://github.com/jagregory/fluent-nhibernate/issues/317#issuecomment-130567100
.

—
Reply to this email directly or view it on GitHub
https://github.com/jagregory/fluent-nhibernate/issues/317#issuecomment-130572313
.

--
Yours faithfully,
Gleb

using FluentNHibernate.Cfg;
using FluentNHibernate.Cfg.Db;
using MySql.Data.MySqlClient;
using NHibernate;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace EMS
{
public class NHibernateHelper
{
private static ISessionFactory _sessionFactory;
private static readonly object factorylock = new object();
public static ISessionFactory SessionFactory
{
get
{
if (_sessionFactory == null)
InitializeSessionFactory();
return _sessionFactory;
}
}
private static void InitializeSessionFactory()
{
_sessionFactory = Fluently.Configure()
.Database(MySQLConfiguration.Standard.ConnectionString("Server=mysql8.000webhost.com; Database=a8347166_love; Uid=a8347166_love; Pwd=livelove_2000;"))
.Mappings(m => m.FluentMappings.AddFromAssembly(Assembly.GetExecutingAssembly()))
.BuildSessionFactory();
}
    public ISession OpenSession()
    {
        return SessionFactory.OpenSession();
    }
    public bool SessionStatus()
    {
        if (SessionFactory.IsClosed)
        {
            return false;
        }
        else { return true; }
    }
}

}

@Beatles1692  I works perfectly using MS-SQL Server 2012, and I have DO (Digital Ocean) account so I was wondering if it support using mysql VPN. The version that I been using is from Visual Studio NuGet

There is one other possibility that you should download and use MySQL ado.net data connector: https://dev.mysql.com/downloads/connector/net/
-----Original Message-----
From: "johnjake"<EMAIL_ADDRESS>Sent: 14/08/2015 03:16
To: "jagregory/fluent-nhibernate"<EMAIL_ADDRESS>Cc: "Beatles1692"<EMAIL_ADDRESS>Subject: Re: [fluent-nhibernate] 000webhost as Server Mysql (#317)
@Beatles1692 I works perfectly using MS-SQL Server 2012, and I have DO (Digital Ocean) account so I was wondering if it support using mysql VPN. The version that I been using is from Visual Studio NuGet
—
Reply to this email directly or view it on GitHub.

@Beatles1692 actually I already installed it. and attach the dll reference to my project

@Beatles1692  actually I tried other server and it works the problem was the 000webhost.com host restriction.

So problem solved then?
2015-08-14 9:01 GMT+03:00 johnjake<EMAIL_ADDRESS>
@Beatles1692 https://github.com/Beatles1692 actually I tried other
server and it works the problem was the 000webhost.com host restriction.
—
Reply to this email directly or view it on GitHub
https://github.com/jagregory/fluent-nhibernate/issues/317#issuecomment-130983129
.

--
Yours faithfully,
Gleb

@chester89 yap thanks a lot :D I really appreciate it, I dont get much help for C# Fluent Nhibernate at stackoverflow. I really love fluent than NHibernate as I hate, I always code for xml, thank you for your efforts and contribution hope the fluent community support will grow. Thanks a lot man :D


WIP: Timestamp stacks

Don't merge before sls is tagged and go.mod is updated

@nwb-adir could you please change timestamp to something more indicative? like function-name-suffix .
It can cause some confusion, and maybe even collision in the future, I see the --timestamp is already available for one of the serverless commands:
https://serverless.com/framework/docs/providers/aws/cli-reference/rollback/

@nwb-ilan I changed timestamp to simply suffix, I'd rather not have something verbose like function-name-suffix in long and repetitive ymls


POC: Slice rows into Table

This changes the semantics of array slicing to return a Table, being consistent with the notion of a Table consisting of multiple Rows.

Here's the analogous NumPy slicing operation:
In [1]: z = np.array([[1, 2, 3], [4, 5, 6]])

In [2]: z[0]
Out[2]: array([1, 2, 3])

In [3]: z[:2]
Out[3]:
array([[1, 2, 3],
       [4, 5, 6]])

In [4]: z[0].shape
Out[4]: (3,)

In [5]: z[:2].shape
Out[5]: (2, 3)

If you'd rather leave the row semantics alone, another option would be to change .take to be a special object (still supporting it's current invocation), but also adding
t.take[:10]

Closing this in favor of #120.


feat: metrics port command

@jackfrancis okay!
i already did the pr for the chart 🙂

https://github.com/kubereboot/charts/pull/41


Fix issue #158

When failing, fn.length equals 1 but fn.toString() returns an empty string

@gztomas, thanks for that one. This works great for me.
✨

@gztomas I have Lodash exposed via $rootScope and this commit fixes the problem, thanks a lot!
Please, include this PR ;)

ping. how about this pull request?


feat: adding in and array-contains-any operators support

Fix for #171
Added support for missing Firestore operators:

in  alias whereIn
array-contains-any alias whereArrayContainsAny

@wovalle Please check this out, it blocks me with my side project. Thanks in advance

This is super nice! Before merging to master (and releasing a new version) there are two things that are still missing:

Documentation
Integration tests

I'll take care of those and merge ASAP 🙌🏼


test

/merging

/merging

/cancel-merge

/merging

/cancel-merge

/merging

/cancel-merge

/merging

/cancel-merge


📝 Local Install (with Cypress 🧪) Instructions

Changes

Updated Dockerfile
Added some instructions to the fullstack/v1/README.md on how to get things set up locally

Note: In order to get the cypress tests to work, I needed to add its dependencies to the Dockerfile.

nice! i don't remember what the steps were for uploading to coursera labs - but I think it was just the docker files basically - might be worth adding those instructions in as i did it once but completely forget!

I think I may have just fouund out how to upload the image to Coursera Labs. I'll try that and if it goes well, I'll update the instructions too.


Authoring

This PR adds a new page available at ?authoring. It lets authors customize URL for an activity.
Sidebar panel is now configurable too.
Also, I've started using css-modules, so I guess we could slowly switch to that and maybe refactor other components while working on them. Actualy, sometimes it's the only way to theme react-toolbox components, so that's why I had to use it. But I think it's a nice pattern in general.

@ekosmin, good catch, thanks! I was testing with localhost:8080/ but ofc it didn't work with index.html. Fixed now.
I had to force push again and merge master into authoring branch again. Not sure how you merged changes, but it looked strange and you force pushed your changes, so I got in a state where I couldn't push my changes at all. Not sure why, but it wasn't worth more investigation. Nice way to do it is to merge master into topic branch, so they no force pushing is necessary. Github website has pretty nice UI for it actually, so there's even no need to do it locally.

Sorry about the forced changes, I've never used the Github merge tools before, but I'll give them a try next time! I think this looks good now - I had to change the default value of modelId since otherwise there was a NPE from a missing constructor. Do we want to be able to accept null defaults in config? Either way, I'm going to go ahead and merge this.


cargo-bitbake: Add an option to trust lockfiles

Description
I was surprised to see that cargo-bitbake doesn't just read from the lockfile and instead attempts to perform resolution. I can see why that would be helpful if you weren't checking in lockfiles, but given we are, it just seems like a waste of computation. This adds a flag to just parse what's in the lockfile, and uses that as the source of truth.
This would mean that Lockfiles would officially matter, so we should probably also couple rolling this out with enforcing them in CI: https://github.com/spanio/device/pull/1100
That being said we can use this option after it lands.
Test Plan
Run it on all of our services and see if it is any different than what's in dunfell
I'm not really sure what happened with backup-client and why cargo-bitbake thinks I need to add a newline 🤷
Show the homies the commits you're working with
brendondaugherty@C6W2M6LRF4 device % git rev-parse HEAD
036ca989795ff034a58683282379614379aecbad
brendondaugherty@C6W2M6LRF4 device % git rev-parse --abbrev-ref HEAD
main
brendondaugherty@C6W2M6LRF4 device % cd ~/dev/meta-span
brendondaugherty@C6W2M6LRF4 meta-span % git status
On branch dunfell
Your branch is up to date with 'origin/dunfell'.

nothing to commit, working tree clean

Back on device, show the homies the jank script you use to run bitbakes whenever you change a library
brendondaugherty@C6W2M6LRF4 device % cat ../cargo_bitbaker.sh
#!/bin/bash

set -ue

SERVICE_NAME=$1
SERVICE_LOCATION=$2
DESTINATION=$3

cd ~/dev/device/gateway/services/$2
cargo bitbake >/dev/null
mv "${SERVICE_NAME}"_*.inc "${SERVICE_NAME}.inc"
echo "generated" `readlink -f "./${SERVICE_NAME}.inc"`

# Move to destination
mv "${SERVICE_NAME}.inc" ~/dev/meta-span/$DESTINATION
echo "Moved ${SERVICE_NAME}.inc to ~/dev/meta-span/$DESTINATION"

# Cleanup
rm ./${SERVICE_NAME}*.bb
echo "Removing temporary file ${SERVICE_NAME}.bb"

Show that cargo_bitbaker and cargo_bitbaker_with_my_flag only have one difference
brendondaugherty@C6W2M6LRF4 device % diff ../cargo_bitbaker.sh ../cargo_bitbaker_with_my_flag.sh
10c10
< cargo bitbake >/dev/null
---
> cargo bitbake --use-lockfile >/dev/null

Show what I'm using to define "all of our services"
brendondaugherty@C6W2M6LRF4 meta-span % cat ../bitbakess.txt
backup_client backup_client recipes-services/backup-client/backup-client.inc
ems ems/ems recipes-services/ems/ems.inc
eve eve recipes-services/eve/eve.inc
fleet-control fleet-control/fleet-control recipes-services/fleet-control/fleet-control.inc
hardware_configurator hardware_configurator/hardware_configurator recipes-services/hardware-configurator/hardware-configurator.inc
panel_cli panel_interface/panel_cli recipes-devtools/panel_cli/panel-cli.inc
panel_interface panel_interface/panel_interface recipes-services/panel-interface/panel-interface.inc
power-up power-up recipes-services/power-up/power-up.inc
traits-bridge traits-bridge recipes-services/traits-bridge/traits-bridge.inc
sbx_ctl sbx/sbx-ctl recipes-services/sbx/sbx-ctl.inc
sbx_seriald sbx/sbx-seriald recipes-services/sbx/sbx-seriald.inc
web_api_frontend web_api_frontend/web_api_frontend recipes-services/web-api-frontend/web-api-frontend.inc

Run it on all of our services without the flag
brendondaugherty@C6W2M6LRF4 device % cat ../bitbakess.txt | xargs -n 3 bash -c '../cargo_bitbaker.sh "$0" "$1" "$2"'
generated /Users/brendondaugherty/dev/device/gateway/services/backup_client/backup_client.inc
Moved backup_client.inc to ~/dev/meta-span/recipes-services/backup-client/backup-client.inc
Removing temporary file backup_client.bb
generated /Users/brendondaugherty/dev/device/gateway/services/ems/ems/ems.inc
Moved ems.inc to ~/dev/meta-span/recipes-services/ems/ems.inc
Removing temporary file ems.bb
generated /Users/brendondaugherty/dev/device/gateway/services/eve/eve.inc
Moved eve.inc to ~/dev/meta-span/recipes-services/eve/eve.inc
Removing temporary file eve.bb
generated /Users/brendondaugherty/dev/device/gateway/services/fleet-control/fleet-control/fleet-control.inc
Moved fleet-control.inc to ~/dev/meta-span/recipes-services/fleet-control/fleet-control.inc
Removing temporary file fleet-control.bb
generated /Users/brendondaugherty/dev/device/gateway/services/hardware_configurator/hardware_configurator/hardware_configurator.inc
Moved hardware_configurator.inc to ~/dev/meta-span/recipes-services/hardware-configurator/hardware-configurator.inc
Removing temporary file hardware_configurator.bb
generated /Users/brendondaugherty/dev/device/gateway/services/panel_interface/panel_cli/panel_cli.inc
Moved panel_cli.inc to ~/dev/meta-span/recipes-devtools/panel_cli/panel-cli.inc
Removing temporary file panel_cli.bb
generated /Users/brendondaugherty/dev/device/gateway/services/panel_interface/panel_interface/panel_interface.inc
Moved panel_interface.inc to ~/dev/meta-span/recipes-services/panel-interface/panel-interface.inc
Removing temporary file panel_interface.bb
generated /Users/brendondaugherty/dev/device/gateway/services/power-up/power-up.inc
Moved power-up.inc to ~/dev/meta-span/recipes-services/power-up/power-up.inc
Removing temporary file power-up.bb
generated /Users/brendondaugherty/dev/device/gateway/services/traits-bridge/traits-bridge.inc
Moved traits-bridge.inc to ~/dev/meta-span/recipes-services/traits-bridge/traits-bridge.inc
Removing temporary file traits-bridge.bb
generated /Users/brendondaugherty/dev/device/gateway/services/sbx/sbx-ctl/sbx_ctl.inc
Moved sbx_ctl.inc to ~/dev/meta-span/recipes-services/sbx/sbx-ctl.inc
Removing temporary file sbx_ctl.bb
generated /Users/brendondaugherty/dev/device/gateway/services/sbx/sbx-seriald/sbx_seriald.inc
Moved sbx_seriald.inc to ~/dev/meta-span/recipes-services/sbx/sbx-seriald.inc
Removing temporary file sbx_seriald.bb
generated /Users/brendondaugherty/dev/device/gateway/services/web_api_frontend/web_api_frontend/web_api_frontend.inc
Moved web_api_frontend.inc to ~/dev/meta-span/recipes-services/web-api-frontend/web-api-frontend.inc
Removing temporary file web_api_frontend.bb

Show that there are no changes to meta-span except for this backup-client newline.
brendondaugherty@C6W2M6LRF4 device % cd ~/dev/meta-span
brendondaugherty@C6W2M6LRF4 meta-span % git status
On branch dunfell
Your branch is up to date with 'origin/dunfell'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   recipes-services/backup-client/backup-client.inc

no changes added to commit (use "git add" and/or "git commit -a")
brendondaugherty@C6W2M6LRF4 meta-span % git diff
diff --git a/recipes-services/backup-client/backup-client.inc b/recipes-services/backup-client/backup-client.inc
index 137ede2..b3bf644 100644
--- a/recipes-services/backup-client/backup-client.inc
+++ b/recipes-services/backup-client/backup-client.inc
@@ -143,4 +143,4 @@ SRC_URI += " \
     crate://crates.io/windows_x86_64_gnullvm/0.48.0 \
     crate://crates.io/windows_x86_64_msvc/0.42.2 \
     crate://crates.io/windows_x86_64_msvc/0.48.0 \
-"
\ No newline at end of file
+"
brendondaugherty@C6W2M6LRF4 meta-span % git restore recipes-services/backup-client/backup-client.inc

Head back to device and run it with my flag
brendondaugherty@C6W2M6LRF4 meta-span % cd ../device
brendondaugherty@C6W2M6LRF4 device % cat ../bitbakess.txt | xargs -n 3 bash -c '../cargo_bitbaker_with_my_flag.sh "$0" "$1" "$2"'
generated /Users/brendondaugherty/dev/device/gateway/services/backup_client/backup_client.inc
Moved backup_client.inc to ~/dev/meta-span/recipes-services/backup-client/backup-client.inc
Removing temporary file backup_client.bb
generated /Users/brendondaugherty/dev/device/gateway/services/ems/ems/ems.inc
Moved ems.inc to ~/dev/meta-span/recipes-services/ems/ems.inc
Removing temporary file ems.bb
generated /Users/brendondaugherty/dev/device/gateway/services/eve/eve.inc
Moved eve.inc to ~/dev/meta-span/recipes-services/eve/eve.inc
Removing temporary file eve.bb
generated /Users/brendondaugherty/dev/device/gateway/services/fleet-control/fleet-control/fleet-control.inc
Moved fleet-control.inc to ~/dev/meta-span/recipes-services/fleet-control/fleet-control.inc
Removing temporary file fleet-control.bb
generated /Users/brendondaugherty/dev/device/gateway/services/hardware_configurator/hardware_configurator/hardware_configurator.inc
Moved hardware_configurator.inc to ~/dev/meta-span/recipes-services/hardware-configurator/hardware-configurator.inc
Removing temporary file hardware_configurator.bb
generated /Users/brendondaugherty/dev/device/gateway/services/panel_interface/panel_cli/panel_cli.inc
Moved panel_cli.inc to ~/dev/meta-span/recipes-devtools/panel_cli/panel-cli.inc
Removing temporary file panel_cli.bb
generated /Users/brendondaugherty/dev/device/gateway/services/panel_interface/panel_interface/panel_interface.inc
Moved panel_interface.inc to ~/dev/meta-span/recipes-services/panel-interface/panel-interface.inc
Removing temporary file panel_interface.bb
generated /Users/brendondaugherty/dev/device/gateway/services/power-up/power-up.inc
Moved power-up.inc to ~/dev/meta-span/recipes-services/power-up/power-up.inc
Removing temporary file power-up.bb
generated /Users/brendondaugherty/dev/device/gateway/services/traits-bridge/traits-bridge.inc
Moved traits-bridge.inc to ~/dev/meta-span/recipes-services/traits-bridge/traits-bridge.inc
Removing temporary file traits-bridge.bb
generated /Users/brendondaugherty/dev/device/gateway/services/sbx/sbx-ctl/sbx_ctl.inc
Moved sbx_ctl.inc to ~/dev/meta-span/recipes-services/sbx/sbx-ctl.inc
Removing temporary file sbx_ctl.bb
generated /Users/brendondaugherty/dev/device/gateway/services/sbx/sbx-seriald/sbx_seriald.inc
Moved sbx_seriald.inc to ~/dev/meta-span/recipes-services/sbx/sbx-seriald.inc
Removing temporary file sbx_seriald.bb
generated /Users/brendondaugherty/dev/device/gateway/services/web_api_frontend/web_api_frontend/web_api_frontend.inc
Moved web_api_frontend.inc to ~/dev/meta-span/recipes-services/web-api-frontend/web-api-frontend.inc
Removing temporary file web_api_frontend.bb

Again show that there are "no changes".
brendondaugherty@C6W2M6LRF4 device % cd ~/dev/meta-span
brendondaugherty@C6W2M6LRF4 meta-span % git status
On branch dunfell
Your branch is up to date with 'origin/dunfell'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   recipes-services/backup-client/backup-client.inc

no changes added to commit (use "git add" and/or "git commit -a")
brendondaugherty@C6W2M6LRF4 meta-span % git diff
diff --git a/recipes-services/backup-client/backup-client.inc b/recipes-services/backup-client/backup-client.inc
index 137ede2..b3bf644 100644
--- a/recipes-services/backup-client/backup-client.inc
+++ b/recipes-services/backup-client/backup-client.inc
@@ -143,4 +143,4 @@ SRC_URI += " \
     crate://crates.io/windows_x86_64_gnullvm/0.48.0 \
     crate://crates.io/windows_x86_64_msvc/0.42.2 \
     crate://crates.io/windows_x86_64_msvc/0.48.0 \
-"
\ No newline at end of file
+"
brendondaugherty@C6W2M6LRF4 meta-span % git restore recipes-services/backup-client/backup-client.inc

Notably this does not handle virtual manifests correctly. That being said, this tool doesn't handle workspaces correctly anwyays so... 🤷

Associated PR for upstream: https://github.com/meta-rust/cargo-bitbake/pull/71


Various builders [Long term work]

Intro:
Due to the increasing data driven nature of Minecraft, builders or systems that would highly benefit from builders are becoming increasingly common, as well as in other libraries such as QSL. With Kotlin's [builder type inference] and DSL capabilities, builders can be made easy to use and construct for cleaner generation.
Existing work:

At this time I am unable to locate existing work on such an API

I think #9 covered this

Most likely, but I suppose the question is if we should leave this open as a tracking issue/reminder or close it


fix(deps): Updating helia-coord and helia

:tada: This PR is included in version 5.1.10 :tada:
Your semantic-release bot :package::rocket:


[ERROR] TCPStore ：RuntimeError: Connection reset by peer when I run ./scripts/run_finetune_with_lora.sh with llama-7b-hf

[2023-04-09 16:14:08,583] [WARNING] [runner.py:186:fetch_hostfile] Unable to find hostfile, will proceed with training with local resources only.
Detected CUDA_VISIBLE_DEVICES=0: setting --include=localhost:0
[2023-04-09 16:14:08,597] [INFO] [runner.py:550:main] cmd = /data/backup/LMFlow/lmflow_venv/bin/python -u -m deepspeed.launcher.launch --world_info=eyJsb2NhbGhvc3QiOiBbMF19 --master_addr=<IP_ADDRESS> --master_port=11000 --enable_each_rank_log=None examples/finetune.py --model_name_or_path /data/backup/llama_checkpoint/7B --dataset_path /data/backup/LMFlow/data/alpaca/train --output_dir /data/backup/LMFlow/output_models/finetune_with_lora --overwrite_output_dir --num_train_epochs 0.01 --learning_rate 1e-4 --block_size 512 --per_device_train_batch_size 1 --use_lora 1 --lora_r 8 --deepspeed configs/ds_config_zero3.json --bf16 --run_name finetune_with_lora --validation_split_percentage 0 --logging_steps 20 --do_train --ddp_timeout 72000 --save_steps 5000 --dataloader_num_workers 1
[2023-04-09 16:14:10,472] [INFO] [launch.py:142:main] WORLD INFO DICT: {'localhost': [0]}
[2023-04-09 16:14:10,472] [INFO] [launch.py:148:main] nnodes=1, num_local_procs=1, node_rank=0
[2023-04-09 16:14:10,472] [INFO] [launch.py:161:main] global_rank_mapping=defaultdict(<class 'list'>, {'localhost': [0]})
[2023-04-09 16:14:10,472] [INFO] [launch.py:162:main] dist_world_size=1
[2023-04-09 16:14:10,472] [INFO] [launch.py:164:main] Setting CUDA_VISIBLE_DEVICES=0
[2023-04-09 16:14:13,826] [INFO] [comm.py:652:init_distributed] Initializing TorchBackend in DeepSpeed with backend nccl
Traceback (most recent call last):
File "examples/finetune.py", line 70, in
main()
File "examples/finetune.py", line 43, in main
model_args, data_args, pipeline_args = parser.parse_args_into_dataclasses()
File "/data/backup/LMFlow/lmflow_venv/lib/python3.8/site-packages/transformers/hf_argparser.py", line 332, in parse_args_into_dataclasses
obj = dtype(**inputs)
File "", line 109, in init
File "/data/backup/LMFlow/lmflow_venv/lib/python3.8/site-packages/transformers/training_args.py", line 1227, in post_init
and (self.device.type != "cuda")
File "/data/backup/LMFlow/lmflow_venv/lib/python3.8/site-packages/transformers/training_args.py", line 1662, in device
return self._setup_devices
File "/data/backup/LMFlow/lmflow_venv/lib/python3.8/site-packages/transformers/utils/generic.py", line 54, in get
cached = self.fget(obj)
File "/data/backup/LMFlow/lmflow_venv/lib/python3.8/site-packages/transformers/training_args.py", line 1594, in _setup_devices
deepspeed.init_distributed(timeout=timedelta(seconds=self.ddp_timeout))
File "/data/backup/LMFlow/lmflow_venv/lib/python3.8/site-packages/deepspeed/comm/comm.py", line 656, in init_distributed
cdb = TorchBackend(dist_backend, timeout, init_method, rank, world_size)
File "/data/backup/LMFlow/lmflow_venv/lib/python3.8/site-packages/deepspeed/comm/torch.py", line 36, in init
self.init_process_group(backend, timeout, init_method, rank, world_size)
File "/data/backup/LMFlow/lmflow_venv/lib/python3.8/site-packages/deepspeed/comm/torch.py", line 40, in init_process_group
torch.distributed.init_process_group(backend,
File "/data/backup/LMFlow/lmflow_venv/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 888, in init_process_group
store, rank, world_size = next(rendezvous_iterator)
File "/data/backup/LMFlow/lmflow_venv/lib/python3.8/site-packages/torch/distributed/rendezvous.py", line 245, in _env_rendezvous_handler
store = _create_c10d_store(master_addr, master_port, rank, world_size, timeout)
File "/data/backup/LMFlow/lmflow_venv/lib/python3.8/site-packages/torch/distributed/rendezvous.py", line 176, in _create_c10d_store
return TCPStore(
RuntimeError: Connection reset by peer
[2023-04-09 16:14:15,490] [INFO] [launch.py:318:sigkill_handler] Killing subprocess 2899724
[2023-04-09 16:14:15,491] [ERROR] [launch.py:324:sigkill_handler] ['/data/backup/LMFlow/lmflow_venv/bin/python', '-u', 'examples/finetune.py', '--local_rank=0', '--model_name_or_path', '/data/backup/llama_checkpoint/7B', '--dataset_path', '/data/backup/LMFlow/data/alpaca/train', '--output_dir', '/data/backup/LMFlow/output_models/finetune_with_lora', '--overwrite_output_dir', '--num_train_epochs', '0.01', '--learning_rate', '1e-4', '--block_size', '512', '--per_device_train_batch_size', '1', '--use_lora', '1', '--lora_r', '8', '--deepspeed', 'configs/ds_config_zero3.json', '--bf16', '--run_name', 'finetune_with_lora', '--validation_split_percentage', '0', '--logging_steps', '20', '--do_train', '--ddp_timeout', '72000', '--save_steps', '5000', '--dataloader_num_workers', '1'] exits with return code = 1
RuntimeError: Connection reset by peer
I can not find good method to solve this problem.

Thanks for your interest in LMFlow! Seems like the problem is caused torch distributed TCP problem. Could you please check your torch version pip show torch? Thanks 😄

This issue has been marked as stale because it has not had recent activity. If you think this still needs to be addressed please feel free to reopen this issue. Thanks


Web page is not being navigated sequentially with the Tab key at Navigation screen.

Describe the bug
Web page is not being navigated sequentially with the Tab key at Navigation screen. The sequence of focus is unordered.
To Reproduce
Steps to reproduce the behavior:

Go to Navigation screen.
Use Tab key to focus on different components of the screen.
Focus is not moving in sequence and is not going to "Delete Site", "Copy Site", "Move Section" buttons, etc.

Expected behavior
Web page should be navigated sequentially with the Tab key.
Additional context
Navigate all the options available for similar issue and fix.

@natechadwick
Hi Nate, I analyzed it and it seems that for  perclisteditorwidget.js we can't  have same  tabindex sequencing.

We have to set the tabindex=0 for this screen.


feat: Evaluate missing splits

Fixes #1260

Based on https://github.com/embeddings-benchmark/mteb/pull/1268 and addresses most of the comments
Once run, the returned result will contain the missing splits as well as the already run splits
Requires overwrite=True to work
Changed tests to use the same MTEB object instead of a new one

Example Usage
from mteb import MTEB, get_tasks, get_model

tasks = get_tasks(tasks=["Banking77Classification"])
model = get_model("sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2")

# Runs only one split
evaluation = MTEB(tasks=tasks)
results = evaluation.run(
    model,
    eval_splits=["val"],
    output_folder=str(tmp_path / "testcase2"),
    verbosity=2,
)

# Will run the missing split and return results of both splits.
results2 = evaluation.run(
    model,
    eval_splits=["val", "test"],
    output_folder=str(tmp_path / "testcase2"),
    verbosity=2,
    overwrite_results=True,
)

Checklist

[x] Run tests locally to make sure nothing is broken using make test.
[x] Run the formatter to format the code using make lint.

Thanks @Samoed and @KennethEnevoldsen for reviewing, and @thivyanth for the initial iteration! Merging now.


CONTRIBUTIONS.md

Need to make instructions on how to contribute new datasets.

[ ] Creating the spreadsheet
[ ] Need to do a quality check by themselves.  Submit quality check metrics.

[ ] Need to have quality checks listed
[ ] Need to have thresholds listed
[ ] A checkbox for whether it passed

[ ] Making a pull request
[ ] A note about CI testing - full dataset needs to pass CI

Created branch contributions.  Please send any feedback here and I'll merge later this week or next week.


Add includes options to be able add extra fields

I'm using Devise and I need to insert the model User with a given password and password_confirmation, since it is not dumped from record.attributes.
With this options I can add extra fields like that one.

@rroblak any chance to review and merge it?

@rroblak Do you have the intention to accept this PR?


[Bug]: vllm v0.6.2 is crashed on multiple GPU

Your current environment

The output of `python collect_env.py`
Your output of `python collect_env.py` here

Model Input Dumps
No response
🐛 Describe the bug
INFO:     Started server process [11912]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
ERROR:    [Errno 98] error while attempting to bind on address ('<IP_ADDRESS>', 8080): address already in use
INFO:     Waiting for application shutdown.
INFO:     Application shutdown complete.
My command to start vllm:
python3 -m vllm.entrypoints.openai.api_server --model hugging-quants/Meta-Llama-3.1-70B-Instruct-AWQ-INT4 \
        --host <IP_ADDRESS> --port 8080  --seed 42 --trust-remote-code --disable-frontend-multiprocessing \
        --enable-chunked-prefill --tensor-parallel-size 2 --max-model-len 98304 >> "$LOG_FILE" 2>&1 &

If I change tensor-parallel-size from 2 to 1, no such issue.
docker image in use is "vllm/vllm-openai:v0.6.2".
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

ERROR: [Errno 98] error while attempting to bind on address ('<IP_ADDRESS>', 8080): address already in use

Make sure you don't have an existing process using this address.

I just tried without "--disable-frontend-multiprocessing", it works on v0.6.2. Thanks!
Will have a try with following main later:
ttps://vllm-wheels.s3.us-west-2.amazonaws.com/nightly/vllm-1.0.0.dev-cp38-abi3-manylinux1_x86_64.whl

Hi @DarkLight1337
for me these error not related to --disable-frontend-multiprocessing params , I'm using v0.6.2 without this params and pod restart automatically with "OSError: [Errno 98] Address already in use" error.
If I am correct, fix related to this issue already merged, It would be great if you push latest image to fix this issue

Hi @DarkLight1337
for me these error not related to --disable-frontend-multiprocessing params , I'm using v0.6.2 without this params and pod restart automatically with "OSError: [Errno 98] Address already in use" error.
If I am correct, fix related to this issue already merged, It would be great if you push latest image to fix this issue

You can download images for specific commits as described here.


SMA Daily_Yield not showing any value

Home Assistant release with the issue:
0.96.5
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Hassbian running on Pi - virtualenv
Component/platform:
SMA Solar webconnect - https://www.home-assistant.io/components/sma/
Description of problem:
Sensor daily_yield not showing any value
Sensor 6400_00262200: Not found in {'6400_0046C300': {'1': [{'val': 208997}]}, '6100_0046C200': {'1': [{'val': None}]}}
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
SMA Sensor

platform: sma
host: IP
ssl: true
verify_ssl: false
password: Password
sensors:
pv_power:
pv_gen_meter:
daily_yield:

Additional information:
Tried adding a custom sensor with key ID 6400_00262200, still not showing any value,

Additional Info:
Sunny Boy 3.6 with firmware 1.1.29.R

Not all values are available from the inverter (you can play around with custom props to achieve this, but I have not succeeded on my Sunnyboy 1.5)
Please use the utility_meter, my setup as an example:
sensor:
  - platform: sma
    host: <IP_ADDRESS>
    password: !secret sma_password
    scan_interval: 10
    sensors:
      current_consumption:
      grid_power:
      total_consumption:
      total_yield:

utility_meter:
  daily_consumption:
    source: sensor.total_consumption
    cycle: daily
  daily_yield:
    source: sensor.total_yield
    cycle: daily
  monthly_consumption:
    source: sensor.total_consumption
    cycle: monthly
  monthly_yield:
    source: sensor.total_yield
    cycle: monthly


Tests on test_next_version.py don't run in parallel with pytest-xdist

The problem
Despite the xdist_sort_hack, when running pytest locally (on Windows), I get error because the order of tests picked up by the workers is not deterministic
Expected behavior
Running pytest should work as it is.
Environment
Windows 10
python --version 3.11
pip --version 23.2.1
semantic-release --version `master`
pip freeze
annotated-types==0.5.0
black==23.9.1
cachetools==5.3.1
certifi==2023.7.22
cfgv==3.4.0
chardet==5.2.0
charset-normalizer==3.2.0
click==8.1.7
colorama==0.4.6
coverage==7.3.1
distlib==0.3.7
dotty-dict==1.3.1
exceptiongroup==1.1.3
execnet==2.0.2
filelock==3.12.4
gitdb==4.0.10
GitPython==3.1.37
identify==2.5.29
idna==3.4
importlib-resources==5.13.0
iniconfig==2.0.0
Jinja2==3.1.2
markdown-it-py==3.0.0
MarkupSafe==2.1.3
mdurl==0.1.2
mypy==1.5.1
mypy-extensions==1.0.0
nodeenv==1.8.0
packaging==23.1
pathspec==0.11.2
platformdirs==3.10.0
pluggy==1.3.0
pre-commit==3.4.0
pydantic==2.4.2
pydantic_core==2.10.1
Pygments==2.16.1
pyproject-api==1.6.1
pytest==7.4.2
pytest-cov==4.1.0
pytest-lazy-fixture==0.6.3
pytest-mock==3.11.1
pytest-pretty==1.2.0
pytest-xdist==3.3.1
python-gitlab==3.15.0
PyYAML==6.0.1
requests==2.31.0
requests-mock==1.11.0
requests-toolbelt==1.0.0
responses==0.23.3
rich==13.5.3
ruff==0.0.290
shellingham==1.5.3
six==1.16.0
smmap==5.0.1
tomli==2.0.1
tomlkit==0.12.1
tox==4.11.3
types-pytest-lazy-fixture==<IP_ADDRESS>
types-PyYAML==<IP_ADDRESS>
types-requests==<IP_ADDRESS>
types-urllib3==<IP_ADDRESS>
typing_extensions==4.8.0
urllib3==2.0.5
virtualenv==20.24.5

Please also indicate which Python build tool(s) you are using (e.g. pip, build,
poetry, etc.), including the version number too.
Configuration
Please add your semantic-release configuration, and if applicable also provide
your build-system configuration from pyproject.toml.
Logs
___________________________________________________________________________________________________________________________________________________________ ERROR collecting gw10 ____________________________________________________________________________________________________________________________________________________________
Different tests were collected between gw0 and gw10. The difference is:
--- gw0

If using GitHub actions, ensure the root_options contains the -vv flag
for verbosity, and attach your workflow definition.
Additional context
Add any other information that could be useful, such as a link to your project
(if public), links to a failing GitHub Action, or an example commit.

can confirm this is an issue on Mac as well, I've started narrowing down this issue but still no reliable fix. It seems to be a race-condition for when the parameterized of parameterized functions resolve. Ie if you pull apart the diff, the lazy_fixture example_git_ssh_url is resolved by pytest faster by the 1st worker before the other workers derive all the test names so the test name has this value in different places.
You are also correct that the xdist_sort_hack is not valid, I changed it to one that works but xdist still fails due to the above race-condition.
If you modify the tool.pytest.ini_options.addopts[0] in pyproject.toml to be -n1 or -n2 it might work for you but just slower.  Mine fails where N in -n N is >2.

Hi both,
Have you tried setting PYTHONHASHSEED? E.g. tox config
I believe because pytest-xdist is trying to farm subsets of the test suite off to other processes, without seeding random-number generation the subset of tests that get selected is non-deterministic. PYTHONHASHSEED makes the RNG reproducible.

The primary tests in question that cause all my errors are test_algorithm_no_zero_dot_versions_scipy and the other test_algorithm_with_zero_dot_versions_scipy. @relekang you can comment these out and it all runs.
@bernardcooke53, I will try that and let you know, Thanks!

Ah! It works! I would have never thought of that. Thanks!

Hi both,
Have you tried setting PYTHONHASHSEED? E.g. tox config
I believe because pytest-xdist is trying to farm subsets of the test suite off to other processes, without seeding random-number generation the subset of tests that get selected is non-deterministic. PYTHONHASHSEED makes the RNG reproducible.

It's honestly a bit weird the need to set this env var. I think the tests should work by design without setting the seed (and that is done parametrizing tests and fixture with a sorted list of tests).
I feel this is a hack. I think the tests should be refactored avoid the use of lazy_fixture and allow to parametrize them.

I feel this is a hack. I think the tests should be refactored avoid the use of lazy_fixture and allow to parametrize them.

Oh, I don't think anyone is denying it's a hack, I mean the functions name says it's a hack. At least with tox and now pytest regular have this env set by default which means the tests will work out of the box.
By all means, if you have time for the massive test refactor which gets it to use xdist normally to work, have at it.

It's honestly a bit weird the need to set this env var. I think the tests should work by design without setting the seed (and that is done parametrizing tests and fixture with a sorted list of tests).
I feel this is a hack. I think the tests should be refactored avoid the use of lazy_fixture and allow to parametrize them.

I can only feel pride in response to this 😅 I agree, it's extremely non-obvious why the env var needs to be set at all. @codejedi365's change to use pytest-env and remove the need for tox makes it significantly cleaner. I would say it's generally a good practice to seed Python's RNG for testing purposes, though, as you need to be able to reproduce test failures and it's impossible to do if a test only fails with a certain random number that you can't recover. Even if you run tests in CI and set PYTHONHASHSEED=$RANDOM, echoing out the seed so you can use it locally for debugging can be a life-saver!
To give some context, I really wanted to test the hell out of the versioning algorithm for multibranch releases since I found it pretty complex to implement, and wanted it to work for a variety of different workflows (hence all the example_project fixtures) - but that had the downside of exploding the volume of tests that were being run and it was taking upwards of 10 minutes to crawl through each run of the test suite.
I was able to run specific parts of the test suite with xdist enabled, and after enough sitting around I got frustrated enough to figure out the hack you see to make xdist work on the files that it complained about previously. Every time I run the tests I save like 8-10 minutes so it's probably in my top 3 favourite hacks to ever introduce 😁.
Still, I'm 100% open to ripping it out if you have a better approach in mind!


Add [cycle] tag to allow for cycling between different custom colours

The [rainbow] effect cycles the blend colour of a specific portion of text through the entire hue-space.
Sometimes, however, it's useful to cycle through a specific selection of colours. The [cycle] tag should take a variable number of arguments (up to some maximum e.g. 8) and then pass this data to the shader. Each argument is a value from 0 - 255 and describes a hue. The shader then cycles between these hues by interpolating through RGB space.

...could also interpolate through YUV space?

I foresee using this to make text of the default color flash to red or blue or something periodically. This should be interesting.

Implemented for v6.0.8


Unused value in utee macro

Hello,
I was looking through the code and saw that in the ta_destroy macro definition there's a boolean value that's ignored.
https://github.com/mesalock-linux/rust-optee-trustzone-sdk/blob/master/optee-utee/macros/src/lib.rs#L230
I think the outcome is that you're not checking the return type at compile time.

Fixed. Thank you so much!


Keep more track members in registers in example19

Adds a lambda function to mark a tracks survival more explicit. Then keeps more track state in local registers.
example19 -batch 1000 -gdml_file ../examples/Example14/macros/testEm3.gdml, 5 time average:
master + #225:
Mean: 0.200212
Stddev: 0.00043419
with this PR:
Mean: 0.18434
Stddev: 0.000701656
Depends on:

[x] #224

The first commit is the same as https://github.com/apt-sim/AdePT/pull/209, right? The second looks similar to https://github.com/apt-sim/AdePT/pull/213 which unexpectedly changed results - was this ever understood?

The first commit is the same as #209, right?

Yes, at least similar in spirit!

The second looks similar to #213 which unexpectedly changed results - was this ever understood?

Yes it is the same refactoring. Unfortunately, I still don't understand why it makes a difference in #213 :/

The second looks similar to #213 which unexpectedly changed results - was this ever understood?

Yes it is the same refactoring. Unfortunately, I still don't understand why it makes a difference in #213 :/

Hm, I'm feeling a bit uneasy merging something which gives different results when applied to a different example. I think we really must make an effort to understand what's going on there before we proceed with changing other examples...

Also causes differences when activating magnetic field, cf https://github.com/apt-sim/AdePT/pull/213#issuecomment-1298313937

I am starting to believe there is a compiler bug involved. When computing the safety in TransportElectrons, it makes a difference whether the argument is provided from a local variable or a reference to global memory:
    double safety = 0;
    if (!navState.IsOnBoundary()) {
      const auto localPos = currentTrack.pos;
      const double safety1 = BVHNavigator::ComputeSafety(localPos, navState);
      const double safety2 = BVHNavigator::ComputeSafety(currentTrack.pos, navState);
      if (safety1 != safety2) {
        printf("safety: %.20f vs.\nsafety: %.20f\n", safety1, safety2);
        printf("pos: %.20f %.20f %.20f vs.\npos: %.20f %.20f %.20f\n", localPos.x(), localPos.y(), localPos.z(), currentTrack.pos.x(),
               currentTrack.pos.y(), currentTrack.pos.z());
        __trap();
      }
      safety = safety2;
    }

The kernel traps and produces the following output:
safety: 0.21831958555947394984 vs.
safety: 0.21831958555947403311
safety: 0.01544092245763720173 vs.
safety: 0.01544092245763728499
safety: 0.06332618586926033744 vs.
safety: 0.06332618586926039295
pos: 28.70628184657631720711 0.08269122271328140095 -0.00006273496558749841 vs.
pos: 28.70628184657631720711 0.08269122271328140095 -0.00006273496558749841
pos: 28.49718803731910909960 0.08297612356319541971 0.00014061084553511203 vs.
pos: 28.49718803731910909960 0.08297612356319541971 0.00014061084553511203
pos: 28.54689026516190963889 0.08430407572358261659 0.00013250864783830081 vs.
pos: 28.54689026516190963889 0.08430407572358261659 0.00013250864783830081

You can see that the inputs are (obviously) identical, but the result computed by ComputeSafety has a tiny difference.
@hahnjo do you have any idea on what we could do here? The result is marginally affected by this difference, as you observed.

Okay, that's not a compiler bug but a feature / more optimizations happening. I can get identical results before / with only the first commit by building with --fmad=false. I'm obviously fine if different rounding of individual floating point operations changes the result, but we need to verify the same for the other examples touched by https://github.com/apt-sim/AdePT/pull/213.
And same question as there: Do you want to merge the changes in this PR into https://github.com/apt-sim/AdePT/pull/213 because they are essentially the same modification?

Wow, that is awesome! Thx for finding that out! How did you discover the difference comes from fma?

Do you want to merge the changes in this PR into https://github.com/apt-sim/AdePT/pull/213 because they are essentially the same modification?

I split off the changes for example19 on purpose, because I needed the change for my LLAMA heatmaps to be more accurate and I needed the change for my ACAT22 presentation. So I hoped by just aiming in example19 I could get them in faster. Now that ACAT22 is in the past, I don't mind to combine both of them. But since you now tested that the changeset is fine, I would like to remove my workaround commit and have it merged sooner, if that is fine for you!

Do you want to merge the changes in this PR into #213 because they are essentially the same modification?

I split off the changes for example19 on purpose, because I needed the change for my LLAMA heatmaps to be more accurate and I needed the change for my ACAT22 presentation. So I hoped by just aiming in example19 I could get them in faster. Now that ACAT22 is in the past, I don't mind to combine both of them. But since you now tested that the changeset is fine, I would like to remove my workaround commit and have it merged sooner, if that is fine for you!

No no, that's not how I want to do this. I will test all examples before merging any of this, there's no "overtaking on the right" for a single example...

No no, that's not how I want to do this. I will test all examples before merging any of this, there's no "overtaking on the right" for a single example...

In that case, I can merge the PRs.


Multi- GPU  Support

Hi Experiencor,
I was waiting for YOLOV3. Thanks for posting.
As you know TF.Estimators are on the way, If possible please add multiple gpu training. Its take too much time to train even on Single GPU.

This would be really helpful!

Please include this.I am having a hard time implementing Yolo with multi GPU support.

For me it`s taking like a day for 100000 images(2 epochs) it will be really helpful if i can get support for multi GPU.

If you have time, please implement it for multiple GPU's. It will be really helpful for us :)

@Yashnitrr @jashshopin @mohitshopin @ayushmaan Multi-GPU training is working now.


set http/https proxy through command line.

Http/https proxy is set through environment at
docker daemon starts, and can't be modified.
In current statuation, i need set special proxy for pull/push
action. so i hope i can set proxy server through cli pull/push
command.

Well the daemon is what sets up the server, where we need the proxy command so resetting it would take restarting the daemon iirc, why can you not set the variable on daemon start?

In Mainland China, docker hub is hard to access directly.
In my network environment, i need set differents proxies for access
docker hub and other docker image services which located in China.
I need often restart the docker deamon to change http proxy. it's very boring.
so i hope the feature, I can set the real proxy through client command line.

don't need this proxy, use docker mirror can resolve it.  more details describe see here: https://github.com/docker/docker/blob/master/docs/sources/articles/registry_mirror.md

Yes, Docker registry mirror is good solution for enterprise level user.
But for personal user, it is a little complex.

hey is, it doesn't make sense. what is complex? in china region,  i found a site:  daocloud.io provide a registry mirror service, have a try. it is very easy usage for user.

I know the daocloud.io, It has 10G monthly quota limit.

@xiaods @is I can see tips like that being valuable for people that have to deal with the GFW. Although I'm not sure if there's a good place for that somewhere in the documentation (an article? a mention in the FAQ?) could one of you write up something (e.g. "Using Docker behind the GFW")?
I'm not a docs maintainer, so it might be best to create a "proposal" issue first and see what the docs maintainers think of it, but again, it might be useful. :smile:

so it not have progress for work with GFW ? only have to use VPN ?

@is @HackToday please, feel free to open a Pull Request with the code changes necessary to make this happen. We will be glad to assist you with guidance if you need help, but you might have more luck seeing this happening if you start a discussion with some code.
This might be as easier as adding the right options to the pull command and the push command

@calavera To extend options on commandline client side is straightforward.
The operations is running on backend actually. docker's proxy suppoert
is based on golang runtime. I don't known where i can start.
I'm sorry that I am not familiar on golang network programing.

#dibs

I have done some work for adding proxy flag on pull a month ago https://github.com/coolljt0725/docker/tree/add_proxy_to_pull
it can work,
docker pull --proxy http://<IP_ADDRESS>:3128 ubuntu
but it's not ready for opening a PR and I'm busy since then and have no much time to continue.
@marccampbell  You can take a look at my branch if you are interested -:)

@coolljt0725 thanks!

I think that daemon now respects environment variables. Feel free to open new issue if not.


WIP: DOC: convert hyperlinks to interlinks

Work in progress.
This PR converts numpy.org and scipy.org hyperlinks to interlinks wherever possible in all reST files found in /doc and its subdirectories.

I would be happy to review if you want to finish this @brandondavid


Adds Secure Gateway User Doc

Adds a user doc for configuring Gateway TLS termination.
Signed-off-by: danehans<EMAIL_ADDRESS>

/hold until v0.2.0 tag is cut.

Codecov Report

Merging #542 (d6c5d41) into main (3ec7db1) will decrease coverage by 2.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #542      +/-   ##
==========================================
- Coverage   62.72%   60.56%   -2.17%
==========================================
  Files          42       45       +3
  Lines        4513     5582    +1069
==========================================
+ Hits         2831     3381     +550
- Misses       1536     1995     +459
- Partials      146      206      +60

Impacted Files
Coverage Δ

internal/message/types.go
75.00% <0.00%> (-25.00%)
:arrow_down:

internal/provider/kubernetes/gateway.go
50.76% <0.00%> (-22.35%)
:arrow_down:

internal/provider/kubernetes/kubernetes.go
48.00% <0.00%> (-9.50%)
:arrow_down:

internal/gatewayapi/translator.go
85.75% <0.00%> (-5.39%)
:arrow_down:

internal/ir/xds.go
81.86% <0.00%> (-3.85%)
:arrow_down:

internal/provider/kubernetes/httproute.go
59.13% <0.00%> (-3.71%)
:arrow_down:

internal/xds/translator/translator.go
72.04% <0.00%> (-2.65%)
:arrow_down:

internal/provider/kubernetes/gatewayclass.go
71.73% <0.00%> (-2.18%)
:arrow_down:

internal/gatewayapi/sort.go
75.60% <0.00%> (-1.14%)
:arrow_down:

internal/xds/translator/listener.go
85.81% <0.00%> (-0.71%)
:arrow_down:

... and 10 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Removing "Draft" since https://github.com/envoyproxy/gateway/pull/571 adds .md support.

CI failure is due to Codecov upload, rerunning.

Commit 813d589 is a rebase since #571 added markdown linting.

Moving to v0.3.0-rc.1 since docs can be added post-v0.2.0.


The primary colours used throughout the pages should match the icons on the how it works section

used colour picker - does match


[Bug]: World on a server shows different blocks than that they actually are

What happened?
Whenever I join a server, doesn't matter which one, the blocks are rendered as different blocks.
Screenshots

Logs
No response
Mod Version
0.9.1
Minecraft Version

[ ] 1.18.2
[ ] 1.19.x
[ ] 1.19.3
[X] 1.20.x

Hi, thanks for the report. Are those servers vanilla?

 Also while I'm looking at the mod, the boat with the furnace doesn't float on water.

I believe those issues are caused by a registry de-sync. Can you disable the Incubator, restart and check again?

It doesn't fix the issue

This is caused by "Cactus Bottle Filling" (cactusBottleFilling). It adds a new blockstate to cacti and is required and both client and server. I'll disable it by default in the next update. Thanks, again, for the report.


traincarts drive into each other

####r# BkCommonLib version:
TrainCarts version:
Spigot version: 12.1

Problem or bug: if train did a round on my rollercoaster and get back in the station they all drive into each other! is there a way they nicely line up next to each other?

Yea we don't understand what you're trying to say here at all, can you give more information, like images or videos to explain it?


GEODE-9324: Remove ACE_Task refereces

Removed all references to ACE_Task

Hi @pdxcodemonkey, among others interested
I think this is ready to continue reviewing. Will be glad to hear any feedback :)


refactor(core): custom protocol URL uses the app identifier

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] New Binding Issue #___
[ ] Code style update
[x] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes. Issue #___
[ ] No

The PR fulfills these requirements:

[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix: #xxx[,#xxx], where "xxx" is the issue number)
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

Could we add functionality to automatically replace tauri:// with the proper protocol? This would make it easier for people who want to navigate to local pages or open secondary windows with different URLs.

What do you mean? messing with window.location.replace?

Maybe just the tauri.conf.json and navigation from the Rust side. In JS the protocol doesn't need to be set because it is already there.


Make envoy user part of the tty group instead of chown stderr/stdout …

Commit Message: Make envoy user part of the tty group instead of chown stderr/stdout
Additional Description: Back porting https://github.com/envoyproxy/envoy/pull/34830 to v1.27

@phlax friendly ping


My blog page

Pls @Abdulwaarith the share your thought section, the input field should be black.
And the first picture is wrong

Noted, will make corrections as soon as possible


updated java (1.8.0_72-b15)

Thank you for the contribution. It was merged directly as 36d2115334e080f5bab8504630a27e6f73eb591e to keep commit history cleaner. Your contribution is still credited to you.


European time format

Instead of the AM/PM time format in the status bar (where the actual letter count and date is shown in grey), European users should see the date in an "European" format like 23:14 or 07:12.

I have already made some modification on the time format. Have you tried the new version?

Yes, it looks great now, thanks!
BTW, it would be really cool, if you could have a look on the immersive mode issue, if time and resources permit it. Thanks in advance!


Ensure worker processes show full trace?

I think when I changed to using an IOContext option, it caused worker processes to start using the compact code.
Although the full trace can be retrieved, it may be deemed too risky for losing information.
Also, worker processes don't seem to store Module information in their stack frames, which complicates the abbreviated display even if we wanted to.
Code executed headless (e.g. ./julia --eval) is not affected.

Overrode showerror for RemoteException to set compacttrace to false.


Rewrote Spawn and Scene managment

Codecov Report

Merging #172 into master will increase coverage by 0.11%.
The diff coverage is 1.16%.

@@            Coverage Diff            @@
##           master    #172      +/-   ##
=========================================
+ Coverage    5.97%   6.09%   +0.11%
=========================================
  Files          53      53
  Lines       11780   11624     -156
  Branches     1860    1822      -38
=========================================
+ Hits          704     708       +4
+ Misses      10979   10819     -160
  Partials       97      97

Impacted Files
Coverage Δ

MLAPI/Data/SceneSwitchProgress.cs
0% <ø> (ø)
:arrow_up:

...rComponents/Core/InternalMessageHandler.Receive.cs
0% <0%> (ø)
:arrow_up:

MLAPI/Data/NetworkedPrefab.cs
0% <0%> (ø)
:arrow_up:

MLAPI/Data/NetworkConfig.cs
0% <0%> (ø)
:arrow_up:

...PI/NetworkingManagerComponents/Binary/BitReader.cs
35.21% <0%> (ø)
:arrow_up:

MLAPI/MonoBehaviours/Core/NetworkedObject.cs
0% <0%> (ø)
:arrow_up:

...rkingManagerComponents/Core/NetworkSceneManager.cs
0% <0%> (ø)
:arrow_up:

...PI/NetworkingManagerComponents/Binary/BitWriter.cs
34.17% <0%> (ø)
:arrow_up:

MLAPI/MonoBehaviours/Core/NetworkedBehaviour.cs
0% <0%> (ø)
:arrow_up:

...I/NetworkingManagerComponents/Core/SpawnManager.cs
0% <0%> (ø)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


Enable support for GridFS with MongoDB

More details are available at
http://docs.mongodb.org/manual/core/gridfs/
-Vivek

Fixed with Kundera -2.17 release.


#127 Update Scripts Dockerfile to Support Connection to Oracle [WIP DO NOT MERGE]

Dockerfile is done
Driver is added to the repo
Database file

Problems:

Tests failing
DB startup very slow
Driver file not found

I plan to take over this PR, shouldn‘t be too much addituonal work

This branch has conflicts


Please include link to release notes or change log on the install page.

File: themes/default/content/docs/install/_index.md
The warning on the cli about a new version says click here for instructions and release notes. But the page doesn't show any release notes nor any obvious link to them.
warning: A new version of Pulumi is available. To upgrade from version '3.96.2' to '3.97.0', run
   $ curl -sSL https://get.pulumi.com | sh
or visit https://pulumi.com/docs/install/ for manual instructions and release notes.

Thanks for reporting this issue to us.
While we investigate this further, note that you can find release notes via our blog posts and a more technical version of pulumi itself in the change log:
https://www.pulumi.com/blog/tag/pulumi-releases/
https://github.com/pulumi/pulumi/blob/master/CHANGELOG.md

This PR updates the install page to include a link to the changelog.


RuntimeException: java.lang.NoclassDefFounderror: com/github/sarxos/webcam/WebcamPanel

Thanks for the good work! I am a java newbie. I want to use the API to display webcam image on a jsp page using java applet, before snapping it.
Once it tries to display the applet picture, it throws an exception RuntimeException:
java.lang.NoclassDefFounderror: com/github/sarxos/webcam/WebcamPanel.
Please, any idea what I should do will be appreciated,.
Olafimihan

hi, sarxos i attempt your code of webcam-capture in java applet example, first i get exceptionininitializer error this error is solve by signing all jars then after signing now i get this error RuntimeException: java.lang.NoclassDefFounderror: com/github/sarxos/webcam/WebcamPanel...!!
i am making my degree project live video streaming is my project module, please help me for solving this error, i read your all above comments, but i do not solve this error...
my applet tag is:

and all three jars are in same directory where i have html page...!!
Thanks please help me :(

Hi,You could use some javascripts and java code to achieve this. That is what I did eventuaslly.
 Dele Olafimihan
Managing Programmers,
Delaf Systems Coy & Ryte Business Solutions,
Lagos: Suite 6, T&B Plaza,
28, Charity Rd. Abule Egba Lagos.
Abuja: Flat 2, house 13,
IBB rd, Maitama,
Abuja.
 On Saturday, April 18, 2015 3:25 PM, afzaalhussain50<EMAIL_ADDRESS>wrote:

hi, sarxos i attempt your code of webcam-capture in java applet example, first i get exceptionininitializer error this error is solve by signing all jars then after signing now i get this error RuntimeException: java.lang.NoclassDefFounderror: com/github/sarxos/webcam/WebcamPanel...!!
i am making my degree project live video streaming is my project module, please help me for solving this error, i read your all above comments, but i do not solve this error...my applet tag is:
and all three jars are in same directory where i have html page...!!Thanks please help me :(—
Reply to this email directly or view it on GitHub.

thanks for your fast response, can you guide me how i can achieve this, my project module is that a teacher can give online live video lecture using his webcam and multiple students then attend that lecture?
Thanks

@afzaalhussain50,
IMHO the best option for you will be to pack all these JARs together (webcamStream.jar,webcam-capture-0.3.10.jar,bridj-0.6.2.jar,slf4j-api-1.6.4.jar) in a single archive (aka "shaded" JAR).
Here is a good tutorial of how to shade your code (webcamStream.jar) with the required dependencies (webcam-capture-0.3.10.jar,bridj-0.6.2.jar,slf4j-api-1.6.4.jar):
http://www.mkyong.com/maven/create-a-fat-jar-file-maven-shade-plugin

@sarxos  thanks for your response, i am not using maven application, can you tell me another best way to create shaded jar with all dependencies , i am using simple java web application in netbeans...!!
Thanks

All the options when you have to shade JARs manually are really not best ways.
In regards to your issue with NoClassDefFoundError, I suppose this is because of the incorrect applet configuration/structure. There is no magic here - Java is telling you that it is not able to locate this specific class in the JARs you pointed out (because of the various reasons - one may be missing, have incorrectly spelled name, etc - all these small things matter).
You wrote:

all three jars are in same directory where i have html page

But there should be four JARs for your applet, not three.

thanks @sarxos  i solve my problem by creating single shaded jar :+1:
can you explain this project how i run this project??
because its video streaming is working but audio is not working?
https://github.com/ryancheu/webcam-capture/blob/4bd6b8e18cc7b19e8f6776ad2f5f4163053deff8/webcam-capture-examples/webcam-capture-live-streaming/README.md
Thanks

@afzaalhussain50, please find my answer in #335.

I faced the same issue this morning. Solved it exporting my project
menu export/java/Runnable JAR file
(under eclipse oxygen).
The worked out jar file can be launch with no problem using
java -jar my-project.jar


closeAllContextMenus not possible with ngx-contextmenu after Version 7

Describe the bug
We have multiple contextmenus on our page.
There are some actions that should trigger the contextmenu to close. We can not know which contextmenu is open at any time. Therefore we need a way to make sure all contextmenus get closed.
The main problem is that closeAllContextMenus and getLastAttachedOverlay are not in the API after Version 7.0.0

Hi @timonkrebs,
Good point. As I already said in another issue https://github.com/PerfectMemory/ngx-contextmenu/issues/8#issuecomment-1173741278 I cleaned up the API between 7 and 8 because there were too many exposed public APIs. It was a bit hard to maintain. In particular I thought that using the service was an advanced case.
I think your use case might be valid. But before digging into some implementation I need to know more. Could you tell me more about those "actions" you mentioned that should close the submenus ? What are they ? Would it be of interest to take them into account directly in the lib ?

The main problem is that we have custom shortcuts (eg. Shift+Y ...) where we can change modes of the page. When the mode changes we need to close all existing contextmenus. But there are other usecases  where we would like to be able to ensure that all contextmenus get closed.

Thanks @timonkrebs ! I know better understand your reason. IMHO while it is a very legitimate case, it is a edge case. I am hesitant to reintroduce the global service because it adds another primitive to this simple library and increases its complexity. What I could do is just add a close method to the ContextMenuDirective. You then would be able to call it on all instances of the directive on any event (via a custom service of yours for example).
With the suggestion I did on the other issue  https://github.com/PerfectMemory/ngx-contextmenu/issues/8#issuecomment-1214179437, you even could do something like:
<div
  #ngxContextMenu="ngxContextMenu"
  (window:keydown.shift.Y)="ngxContextMenu.close()"
></div>

What do you think ?

I see your point and i think this should work. But then we would need to track which contextmenus are open and close them manually if there are open ones. Then i would need to store the instances of the open contextmenus. This feels like internal knowledge of the lib. Don't you think?

Or would i be better to have the functionality to get all open contextmenues from the service. Then closing them could be done by the consumer of the lib.

Actually you could call close on all contexmenus whatever their state. No need to keep track of open menus. When calling close, if the contextmenu is open then it closes obviously but if it is already closed then nothing would happen.

Good to know. But we have a lot of contextmenus and they are not all available at the same time. There are contextmenus for the different modes etc. We would still ned to have all the contextmenus in one list. And thats not that easy, since we do load some components lazily. Therefore we do not have all the contextmenues that could be open in the future.

Can you elaborate on why you would need to maintain a list of contextmenus ? As I understand it, you would need it to close them all but with my suggestion not any more. You would only need a service with a subject emitting a close event. You would inject the service wherever you instantiate a contextmenu and call close on it when the service emits. Then you can bind your change mode or any other event to emitting a close event on the service.

You are right. That would work. I think i did not think of that because it also feels like unnecessary boilerplate. But on the other hand this would give much more control to the consumer of the contextmenu.
I am also not sure about performance if there are a lot (>10'000) of contextmenus on the page?

10 000  is not that a big number and usually the DOM is slow but we won't touch it if menus are closed. I would not be to much concerned about performance before implementation.
Question would you like to implement it and make a pull request ? If no, no problem. If yes I will write a separate issue for the specs and I'll guide you.

I will do it if it is not already done until i find the time for it.

I implemented open and close methods on the ContextMenuDirective. I consider that it closes this issue. If you think this is not the case, please open another issue.


Some MFA API Answer can not be decoded

Describe the bug
Apple MFA API returns different JSON for different users.  Some fails to be parsed and causes the app to crash
To Reproduce
I do not know what Apple Developer Account are returning more or less JSON keys in the API response.
Here is one that fails with v0.4
{
  "trustedPhoneNumbers" : [ {
    "numberWithDialCode" : "+44 ••••• ••••24",
    "pushMode" : "sms",
    "lastTwoDigits" : "24",
    "obfuscatedNumber" : "••••• ••••24",
    "id" : 1
  } ],
  "securityCode" : {
    "length" : 6,
    "tooManyCodesSent" : false,
    "tooManyCodesValidated" : false,
    "securityCodeLocked" : false,
    "securityCodeCooldown" : false
  },
  "authenticationType" : "hsa2",
  "recoveryUrl" : "https://iforgot.apple.com/phone/add?prs_account_nm=ricsue%40amazon.co.uk&autoSubmitAccount=true&appId=142",
  "cantUsePhoneNumberUrl" : "https://iforgot.apple.com/iforgot/phone/add?context=cantuse&prs_account_nm=ricsue%40amazon.co.uk&autoSubmitAccount=true&appId=142",
  "recoveryWebUrl" : "https://iforgot.apple.com/password/verify/appleid?prs_account_nm=ricsue%40amazon.co.uk&autoSubmitAccount=true&appId=142",
  "repairPhoneNumberUrl" : "https://gsa.apple.com/appleid/account/manage/repair/verify/phone",
  "repairPhoneNumberWebUrl" : "https://appleid.apple.com/widget/account/repair?#!repair",
  "aboutTwoFactorAuthenticationUrl" : "https://support.apple.com/kb/HT204921",
  "autoVerified" : false,
  "showAutoVerificationUI" : false,
  "supportsCustodianRecovery" : false,
  "hideSendSMSCodeOption" : false,
  "supervisedChangePasswordFlow" : false,
  "trustedPhoneNumber" : {
    "numberWithDialCode" : "+44 ••••• ••••24",
    "pushMode" : "sms",
    "lastTwoDigits" : "24",
    "obfuscatedNumber" : "••••• ••••24",
    "id" : 1
  },
  "hsa2Account" : true,
  "restrictedAccount" : false,
  "supportsRecovery" : true,
  "managedAccount" : false
}

It fails because properties like twoFactorVerificationSupportUrl, hasRecoveryKey are not present.
https://github.com/sebsto/xcodeinstall/blob/main/Sources/xcodeinstall/API/AuthenticationMFA.swift#L89

I will make many / most field optional to allow the parsing to be more flexible with different JSON

fixed by https://github.com/sebsto/xcodeinstall/commit/aba78e0eb730d60efb4aef3a86af8e5f0650f594


App breaks if token has been regenerated/is no longer valid

Description
I recently rotated the token I used for the catalog manager and when I went back to the app I get the "Oops, something went wrong" page. I'm assuming it's running into an error because of the swap but I can't delete/replace my token to fix it.
Steps to Reproduce
Regenerate the token you use for the manager, witness a broken app 😭
Expected Behaviour
Some kind of error messaging and the ability to reset my token
Relevant Logs / Console output
TypeError: Cannot read property 'filter' of undefined
Your Environment

NR1 CLI version used: N/A, using the published app
Browser name and version: Chrome 89.0.4389.90
Operating System and version: macOS/Catalina 10.15.7

@jpvajda would be nice to get resolved one of these days since it's a simple yet destructive bug 🎉

@LizBaker totally, curious how did you get around this problem?


Create Usability Questions - Task List - 03/24/2022

Complete all code and deployment prior to 03/24/2022.
Meet to compile Usability Questions by 03/24/2022.
Conduct Usability interviews between 03/24/2022 - 03/31/2022 -- Be prepared to do usability workshop day of class.

Completed.


Fix frab import

Events created by frab import do not have a mail address. This makes the import crash. The speaker mail addresses are also set the "name@localhost". Sending mails is therefore pretty useless right now anyway. Even if there were proper email addresses, I'm not so sure about generating mails for imported talks.
This just disables sending emails during import. It also adds a very simple frab import test.
  File "/home/luto/c3w/pretalx/venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
  File "/home/luto/c3w/pretalx/venv/lib/python3.6/site-packages/django/db/backends/sqlite3/base.py", line 328, in execute
    return Database.Cursor.execute(self, query, params)
django.db.utils.IntegrityError: NOT NULL constraint failed: mail_queuedmail.reply_to

Uh, nice! :pizza:

🍕👍 😁


[5.4] Execute queries with lock only in write database

As in PR #17317 but with the better solution and I added the test as a bug proof.
/cc @JoostK, @GrahamCampbell

I have no idea why StyleCI can't analysis this PR :/