home-manager is severly out of date / unmaintained in nixpkgs

Since home-manager is quite outdated in nixpkgs, it is currently affected by https://github.com/nix-community/home-manager/issues/3342, meaning building a home-manager switch will plainly not work currently if the home-manager modules are taken from nixpkgs (by importing pkgs.home-manager.src + "/nixos").
We should either make an effort to keep home-manager up to date or remove it altogether. The lack of home-manager updates in nixpkgs seems to indicate to me that most people either have a dedicated home-manager channel or use flakes to get home-manager.
I don't use home-manager myself, so it'd be great if an actual home-manager user could step up for this.

https://github.com/NixOS/nixpkgs/pull/197735

Resolved for now, but it'd be nice to have someone dedicated to keeping it somewhat up to date in nixpkgs.


Re-enable generate CI check

The generate CI check was disabled with #25 because of issues surrounding moq. See https://github.com/matryer/moq/issues/84#issuecomment-457872661 for more information.

Fixed by #30


Add Django 1.8 migrations

:+1: thanks for the contribution @astagi !

np @intellectronica :smile:


Fixed Issue #6929 Escape unicode when inspecting a Str

replaces #7389 that automatically was closed when syncing the fork.

Youll need to run cargo test -p test_mono and check in the changes, otherwise lgtm

@ayazhafiz Thanks for the info. Did it 👍

gah you may need to rerun it to solve the merge conflicts

@ayazhafiz I did it 👍


documentation incomplete

https://github.com/fuse-box-contrib/fuse-box-ng-template-plugin/blob/945282f4232008ae1c560daf68dc0a6b4ea65d2d/lib/plugin/NgTemplatePlugin.ts#L24
documentation does not reference this parameter

Yeah, would also need to change
public test: RegExp = /\.html$/;
to make that work


test pull request builder - break python

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Improve protocol check for pre-configured "tls-alpn-01" challenge

For "tls-alpn-01" challenges, mod_md checks whether there is a server
that supports the "acme-tls/1" protocol.
If the challenge "tls-alpn-01" is pre-configured with MDCAChallenges,
the ports of the servers are ignored (see issue #133). If there are
multiple servers matching a domain name, don't just look at the first
server but search one that supports the "acme-tls/1" protocol.
This is a follow-up to https://github.com/icing/mod_md/pull/159 and
https://github.com/icing/mod_md/issues/133

I see.  Not for the faint of heart, though. ;-)
Also, thanks for the check_port name change. Much better.


Folder Depth

I'm attempting to add a large CCI collection to my lithiumX.toml file but the default dash doesn't seem to do a deep enough scan of the folder structure to see the XBE files. Any suggestions?
Example:
F:/Games/USA/Halo2/default.xbe (with accompanying cci)
Also it would be nice to have scrolling inside the XBE launcher. Getting down to games deep into the alphabet manually is tough.

I doesn't do recursive scanning for performance reasons. You'll need to add f:/games/usa add folder path
Scrolling in the xbe browser is a good idea. I'll look into it
Also thanks for reporting that issue with the toml. I'll see why it's doing that.

Also it would be nice to have scrolling inside the XBE launcher
This is now in v0.9.6


feat: log agent version when client is not known

Motivation
For unknown clients, the log keeps saying "Unknown" which is not beneficial for debugging purpose
Jan-17 07:38:21.909[network]       verbose: Req  error method=metadata, version=2, encoding=ssz_snappy, client=Unknown, peer=16...pWVhz9, requestId=403654, code=SSZ_SNAPPY_ERROR_OVER_SSZ_MAX_SIZE, maxSize=17, sszDataLength=24
Error: SSZ_SNAPPY_ERROR_OVER_SSZ_MAX_SIZE

Description

Log: show agent version of unknown client if we have it

Jan-17 08:52:32.078[network]         debug: Req  sending request method=metadata, version=2, encoding=ssz_snappy, client=erigon/caplin, peer=16...UyvV1M, requestId=2180

Or just show "NA" if we event don't have agent version

Jan-17 08:52:30.832[network]         debug: Req  received method=ping, client=NA, peer=16...T6mMb7, requestId=2163

Metric: still track them as "Unknown"

:tada: This PR is included in v1.15.0 :tada:


yfinance ticker.info internally throwing a TypeError exception

Hi, I've recently started encountering an error while retrieving ticker.info for multiple stocks with a script I've been using for a while. I'm using version 0.2.9, my script is limited to a maximum of 0.4 ticker.info requests p/sec, and I am using Endeavor-OS "Kernel: 6.1.9-arch1-1".
The error returned is as follows:
  File "/home/seath/Projects/FlashFire/backtest/pipelines/yfinance_pls.py", line 73, in extract
    [yf.Ticker(self.symbols[i]).info]))
  File "/home/seath/Projects/FlashFire/venv/lib/python3.10/site-packages/yfinance/ticker.py", line 142, in info
    return self.get_info()
  File "/home/seath/Projects/FlashFire/venv/lib/python3.10/site-packages/yfinance/base.py", line 1268, in get_info
    data = self._quote.info
  File "/home/seath/Projects/FlashFire/venv/lib/python3.10/site-packages/yfinance/scrapers/quote.py", line 104, in info
    self._scrape_complementary(self.proxy)
  File "/home/seath/Projects/FlashFire/venv/lib/python3.10/site-packages/yfinance/scrapers/quote.py", line 296, in _scrape_complementary
    key_stats = json_data["timeseries"]["result"][0]
TypeError: 'NoneType' object is not subscriptable

I'm only a newb so my workaround was to just wrap the problem in a try block and set variable "v" to "None" on Exception. This appears to solve the issue but I doubt its an optimal solution.
Is this a known issue? and if so, could someone please provide a fix or point me to an existing thread as I haven't been able to find one. My changes are shown below:
python3.10/site-packages/yfinance/scrapers/quote.py     (Line 296)
            json_data = json.loads(json_str)
            try:
                key_stats = json_data["timeseries"]["result"][0]
                if k not in key_stats:
                    # Yahoo website prints N/A, indicates Yahoo lacks necessary data to calculate
                    v = None
                else:
                    # Select most recent (last) raw value in list:
                    v = key_stats[k][-1]["reportedValue"]["raw"]
            except:
                v = None
            self._info[k] = v

...quote.py", line 296

Unlikely, that file only has 293 lines now. How did you confirm version?

How do we reproduce? How many tickers looped until error?

0.4 p/sec is high for info data, so probably triggering Yahoo spam which then cause Yahoo to return incomplete data.
The fix is fine, submit in a pull request (read #1084).

Thanks for your reply, I should have clarified my script is only capped to 0.4 p/sec, but because I live off Australias NBN, it takes about 7 - 8 sec each request on average. Because of this, I don't think the issue is spam related..
For now the workaround is still working so I'll put in a pull request shortly, thanks.


tvm doesn't support mix-precision inputs for qnn conv2d

I have a tflite model with float32 feature map and int8 weights, when I look into convert_conv() in tflite frontend, I found that _qnn.op.conv2d is constructed only if feature map is int8(uint8) typed. So, I tried to modify code like:

    if (input_tensor.qnn_params or weight_tensor.qnn_params):
        qnn_conv2d_params = dict(params)
        qnn_conv2d_params["input_zero_point"] = input_tensor.qnn_params["zero_point"] if input_tensor.qnn_params else relay.const(0, "int32")
        qnn_conv2d_params["kernel_zero_point"] = weight_tensor.qnn_params["zero_point"] if weight_tensor.qnn_params else relay.const(0, "int32")
        qnn_conv2d_params["out_dtype"] = "int32" if (input_tensor.qnn_params and weight_tensor.qnn_params) else "float32"
        qnn_conv2d_params["input_scale"] = input_tensor.qnn_params["scale"] if input_tensor.qnn_params else relay.const(1, "float32")
        qnn_conv2d_params["kernel_scale"] = weight_tensor.qnn_params["scale"] if weight_tensor.qnn_params else relay.const(1, "float32")
        out = _qnn.op.conv2d(in_expr, weight_expr, **qnn_conv2d_params)
    else:
        out = _op.nn.conv2d(in_expr, weight_expr, **params)

And I found that another check in QnnConv2DRel() has failed: "Expected qnn conv2d type(int8, uint8) for input but was float32".
Is it ok to simply modify code like I mentioned above and is it ok to ignore the ICHECK()? I don't know are there any other inner constraints for the mix-precision issue, and I hope somebody could support this feature officially.

This seems to be a discussion for enhancement, would be great to open a thread on https://discuss.tvm.apache.org/

This seems to be a discussion for enhancement, would be great to open a thread on https://discuss.tvm.apache.org/

My account for discussion is on hold, I won’t be able to reply or create topics until a staff member review the status. Could you please give a help? Thanks.

My account for discussion is on hold, I won’t be able to reply or create topics until a staff member review the status. Could you please give a help? Thanks.


match_parent is not working for menu items

Please give me more detail on this issue.

Here is my xml part
<com.chauthai.swipereveallayout.SwipeRevealLayout
android:id="@+id/swipe_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:mode="normal"
app:dragEdge="right">

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
...
in the RelativeLayout I have image view which can have different height depending on picture I set there. So, everything works fine except that TextView which has just height that equals to text height, but it should be same height as the image has. It seems to me that SwipeRevealLayout doesn't have height at all or it is not measuring itself in a right way. Please help me to get around this issue.

Can you take a screenshot of the UI? I haven't try the layout on menu items yet. The way height works is:
if one of the layout uses match_parent, then SwipeLayout just uses the largest height value it can. Otherwise, it uses the max value of main layout and secondary layout.

see the report button is not is not filling the entire space, but it should. The images has different heights, that's why I need to set wrap_content to SwipeRevealLayout.

I'm able reproduce the error. I'm working to resolve it. Somehow it only affects when the layout is used in list.

I just uploaded a new version with the fix. Can you try compile 'com.chauthai.swipereveallayout:swipe-reveal-layout:1.2.1' and see if it is fixed?


unable to update Firebase due to Geofirestore/Geofire dependencies

I want to update Firebase, so I updated the GeoFirestore podspec dependency to 'Firebase', '> 6.1.0'. However, Geofirestore has a Geofire dependancy which has a Firebase/Database (>5.0) dependency. What can I do to update Firesbase with these dependencies?
[!] CocoaPods could not find compatible versions for pod "Firebase/Database":
  In Podfile:
    Geofirestore (from<EMAIL_ADDRESS>was resolved to 1.0.0, which depends on
      GeoFire (~> 3.0) was resolved to 3.0.0, which depends on
        Firebase/Database (~> 5.0)

Specs satisfying the 'Firebase/Database (~> 5.0)' dependency were found, but they required a higher minimum deployment target.

same

same here. I need to update firebase to take advantage of latest ML and Firestore updates but this dependency is holding everything back.

Right now this is stopping development on the app. Would be great if it could be updated

Are there any plans to update this? We are stuck with this

It would be really great if Firestore would natively support Geo queries or if the problem described here were fixed. Tired of waiting I ended up finding another solution using https://backendless.com/products/geolocation/ I have no affiliation with the service, I am just another frustrated user looking for solutions.

Sorry, currently we don't have much time to maintain the library. Any help though would be appreciated.

Hi Nikhil,
Is there a starting point I can look at? I would love to help.
Regards,
Glactin
On Mon, Jul 29, 2019 at 6:46 PM Nikhil Sridhar<EMAIL_ADDRESS>wrote:

Sorry, currently we don't have much time to maintain the library. Any help
though would be appreciated.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/imperiumlabs/GeoFirestore-iOS/issues/19?email_source=notifications&email_token=AJXSU7FLK53REQORDF2TAV3QB5XMTA5CNFSM4HPVLA42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3CHDDQ#issuecomment-516190606,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJXSU7HBVBZQBTNQZRTA7PDQB5XMTANCNFSM4HPVLA4Q
.

Hey Glactin!
Jumping in here. Imperium Labs is moving on and has several projects in the works, so is currently unable to keep updating the repository. However, outside of versioning requirements, we believe that many of the major bugs have been addressed. To contribute to the repository, please consider submitting a pull request. Only Nikhil and I have access to updating the pod on the CocoaPods repo, and we will update the spec as necessary, but feel free to clone the raw source, install the dependencies, and use it that way if the Pod is out of date.

On Jul 29, 2019, at 5:48 PM, Basement Aspirations - Lower<EMAIL_ADDRESS>wrote:
Hi Nikhil,
Is there a starting point I can look at? I would love to help.
Regards,
Glactin
On Mon, Jul 29, 2019 at 6:46 PM Nikhil Sridhar<EMAIL_ADDRESS>wrote:

Sorry, currently we don't have much time to maintain the library. Any help
though would be appreciated.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/imperiumlabs/GeoFirestore-iOS/issues/19?email_source=notifications&email_token=AJXSU7FLK53REQORDF2TAV3QB5XMTA5CNFSM4HPVLA42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3CHDDQ#issuecomment-516190606,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJXSU7HBVBZQBTNQZRTA7PDQB5XMTANCNFSM4HPVLA4Q
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

You can solve by doing this
  pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git'    pod 'Geofirestore', :git => 'https://github.com/imperiumlabs/GeoFirestore-iOS.git'

I tried @blackwiz4rd 's suggestion but there seems to be another missing piece.
The root cause that dependency couldn't be updated is this:
https://github.com/firebase/geofire-objc/issues/127
So before Firebase guys publish the latest release and fix the CocoaPods distribution, we have to specify the branch like this:
pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git', :branch => 'master'

@scm573 this worked for me - thank you. Been frustrated with this for days so this has finally sorted it after try all sorts of other stuff.


fix and improve types

This touched a lot of things again. I enabled some more tsconfig settings and removed some //@ts-nocheck. The only one left is the simplify_claims test one which seems especially fun to get rid of in the future. I also moved time related stuff into wikibase_time.ts.
@mshd When you have time to review this one it would be nice :)

This is horrible to review… Maybe I should split this up into multiple Pull Requests which can be reviewed and accepted on their own.
I keep this one open and rebase it on top of the current main branch as a "progress" indication and provide Pull Requests for parts. Then I'll wait with more changes until they are merged to prevent a huge clogged up PR like this one. Does that sound good to you @maxlath ?

yes, more atomic PRs would be welcome indeed :sweat_smile:

@EdJoPaTo can we close this PR now that it was taken over in other PRs?

There are still some things left which are not added in their own PR… I scrolled over this PR and found these:

eslint → eslint-with-typescript (probably should be done when there are no other open PR to have less breaking changes
src/queries/get_reverse_claims.ts has improved types
claim DataType as an explicit list rather than derived from existing parsers
simpler types of src/utils/build_url.ts
ts-nocheck is removed on tests/simplify_sitelinks.ts and tests/simplify_sparql_results.ts


fix: add required * indicator to message content/notif method in alert/report modal

SUMMARY

[x] Adds a * to Alert condition schedule, message content and notification method headers in to better communicate that it is a required field for submitting an alert/report

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN
ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #12931 (f945900) into master (742d560) will decrease coverage by 7.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #12931      +/-   ##
==========================================
- Coverage   68.92%   61.84%   -7.09%
==========================================
  Files        1025      536     -489
  Lines       48765    20077   -28688
  Branches     5188     5241      +53
==========================================
- Hits        33612    12416   -21196
+ Misses      15019     7449    -7570
- Partials      134      212      +78

Flag
Coverage Δ

cypress
?

javascript
61.84% <100.00%> (+<0.01%)
:arrow_up:

python
?

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

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


Remove pastebot Cask?

The homepage for the pastebot Cask redirects to here with a link to the non-beta version available only via the MAS.
Thoughts on removal?

Should be removed, yes. I don’t think Tapbots ever sold an app outside the App Stores.


bumped version to 0.1.1

Updated translation to and from StationXML.

Added Experiment, which is the root of an MT exeperiment then Surveys -> Stations -> Runs -> Channels, Surveys -> Filters
Added filter containers for the main types of filters encountered in a StationXML
Added tests to test translation

Codecov Report

Merging #31 (8d4cec9) into main (9be66a4) will decrease coverage by 0.21%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #31      +/-   ##
==========================================
- Coverage   68.75%   68.54%   -0.22%
==========================================
  Files         154      150       -4
  Lines        7863     7810      -53
==========================================
- Hits         5406     5353      -53
  Misses       2457     2457

Impacted Files
Coverage Δ

setup.py
0.00% <ø> (ø)

mt_metadata/timeseries/stationxml/__init__.py

mt_metadata/timeseries/filters/__init__.py

mt_metadata/timeseries/__init__.py

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 9be66a4...8d4cec9. Read the comment docs.


Hacking the member tables on the explore pages to look nicer when few members are selected

I did some hack that forced there to be only one column when there were fewer members selected on a rollcall page. This required making some ad hoc choices about how to set the number of columns given the number of people selected, but I think it looks a lot better.
I'm going to try to do the same for the explore pages.

Happier with where this is now, but ideally it would rely on the size of the user's browser to do this more efficiently.

Yeah, uh,

Found the source of the issue and fixed it. When you modified the column thing, you used validSet.length to check for the number of valid members selected. That was smart, except that validSet.length being exactly 0 means there's no filter and you should show all of them. The show/hide code was respecting that but the column code didn't. Quick fix.


minimum number of swaps required to sort the array

Hi , My Name is Yogesh Yogendra, I am a GSSoC,21 Participant. And also I am a Competitive Programmer and a Full Stack Web Developer. I want to solve this problem in C++.
Please assign me this task.
@tarun26091999  @nakul-19  @rudrakshi99 @plazzy99

Hello, I would like to contribute to this project in c++ language with help of vector.
->with O(nlogn) time complexity
->with O(n) space complexity
I am a GSsoc'21  participant.
waiting for a positive response.

Hey @rudrakshi99 @tarun26091999 @plazzy99
I would like to do it in java.
Please assign me this issue.

Hello @tarun26091999 @dheerajkotwani @esheetaparulekar @anubhavitis @jeelnathani, I think this is an important question and this should definitely be added in the Algo-Tree and I will start working on it as soon as I get assigned!! as I am a part of GSSoC'21, so I would like to implement this in c++.


Switch selector database to sig.eth.samczsun.com

This PR switches the selector database for 4byte, 4byte-decode, and 4byte-event cast commands to use samczsun's new database rather than 4byte.directory. See https://github.com/foundry-rs/foundry/issues/1672 for details
Solution

Updated the 4byte bindings utils to use samczsun's service instead
added few tests ensuring selectors work w/ and w/o 0x prefix

❯ cargo run --bin cast 4byte 0xf637731d
    Blocking waiting for file lock on build directory
   Compiling foundry-cli v0.2.0 (/home/toda/dev/misc/foundry/cli)
    Finished dev [unoptimized] target(s) in 1m 05s
initialize(uint160)
❯ cargo run --bin cast 4byte-decode 0xa9059cbb0000000000000000000000000a2ac0c368dc8ec680a0c98c907656bd970675950000000000000000000000000000000000000000000000000000000767954a79
    Finished dev [unoptimized] target(s) in 0.14s
1) "transfer(address,uint256)"
0x0a2ac0c368dc8ec680a0c98c907656bd97067595
31802608249
❯ cargo run --bin cast 4byte-event 0x7e1db2a1cd12f0506ecd806dba508035b290666b84b096a87af2fd2a1516ede6
    Finished dev [unoptimized] target(s) in 0.14s
updateAuthority(address,uint8)

needs cargo +nightly fmt

merged with https://github.com/foundry-rs/foundry/pull/1676

rebased on master to get clippy / lint fixes

Seems the db API is filtering transfer strangely, causing test failures:
❯ curl https://sig.eth.samczsun.com/api/v1/signatures\?function\=0xa9059cbb
{"ok":true,"result":{"event":{},"function":{"0xa9059cbb":[]}}}
❯ curl https://sig.eth.samczsun.com/api/v1/signatures\?function\=0xa9059cbb\&all\=true
{"ok":true,"result":{"event":{},"function":{"0xa9059cbb":[{"name":"many_msg_babbage(bytes1)","filtered":true},{"name":"transfer(address,uint256)","filtered":false},{"name":"transfer(bytes4[9],bytes5[6],int48[11])","filtered":true},{"name":"func_2093253501(bytes)","filtered":true}]}}}

Fixed now, unit test rerun should be green
running 7 tests
test tests::test_resolve_addr ... ok
test tests::abi2solidity ... ok
test tests::parse_hex_uint_tokens ... ok
test tests::test_linking ... ok
test tests::test_decode_calldata ... ok
test tests::test_decode_selector ... ok
test tests::test_decode_event_topic ... ok

test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.54s

   Doc-tests foundry-utils

running 1 test
test src/lib.rs - pretty_calldata (line 629) - compile ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s


Make sure array keys have data before overwriting defaults with array_get

Caused a particularly hard to find bug in an environment where
$_SERVER['HOSTNAME'] existed but was empty,  breaking the request in
send_query() without any errors.

Thanks!


ci: merge travis matrix, add salt-lint & rubocop to lint job

Semi-automated using https://github.com/myii/ssf-formula/pull/60

:tada: This PR is included in version 0.13.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


ChocolateyGUI won't start due to a revoked certificate on win10

I've installed chocolateyGUI 0.15 just today and had problems executing it from the start menu or by clicking on the exe (even as administrator) due to a revoked certificate.  The only way to execute the GUI was bypassing the UAC test and calling the gui from powershell.
As I think that this is not the desired behaviour here are some more informations about the certificate:

Please contact me if you need more information in order to fix this issue.
Thanks for your work!

Control Panel > Manage Computer Certificates > Trusted Root Certification Authorities > Certificates. Or open MMC and add the snap in.
Do you have DigiCert Assured ID Root CA on this list? If not, do you maintain your own root CA bundles in your environment?

Hey,
I've the digicert root CA on this list - see screenshot:

And no - I do not maintain an own set of root CA bundles . This should be an absolute standard windows10 installation.

I can assure you that the certificate is not revoked. We signed it as a sha256, but maybe we should have signed it with sha1.

I know ;-) I've checked it manually and the certificate is okay - I don't know why one of my pcs is not accepting the certificate/signature

However this is not related to ChocolateyGUI alone - The signature on Choco.exe is also not valid

You need Digicert SHA2 Assured ID Code Signing CA. You can get that from https://www.digicert.com/digicert-root-certificates.htm (search for "Digicert SHA2 Assured ID Code Signing CA") or download directly from https://www.digicert.com/CACerts/DigiCertSHA2AssuredIDCodeSigningCA.crt.

I've installed the certificate - nothing changes.

The digital signature looks fine to me on Windows 10. The DigiCert root CA should be available out-of-the-box on Windows.
@winnieXY Can you try clicking the last tab ("Certification Path" on English versions of Windows) in the certificate details dialog?

It should say "This certificate is OK" for the status at all three levels.

On the pc where it is working the certificaton path is correctly shown - on the other not as shown below:

However according to mmc the certificates are installed

Okay - I'll close this issue. Somehow the Chocolatey Software Certificate was installed as not-trusted. After fixing this everything is working.
If someone else hits the problem: Open mmc -> Add two certificate snap-ins (one for your current account, one for a computer account on the local pc), right-click on both  and search for Chocolatey. The certificate shouldn't pop up! If it pops up in the folder "not-trusted certificates" (translated from german, so wording could be different) - simply delete it. Afterwards it should work


README.md update

Hello,
I noticed that the README.md file in this repository is not up to date. The repository github.com/mochi-co/mqtt/v2 no longer exists, and there is some missing starter code on line 84.
I have a solution for this issue: we can update the README.md file to reflect the current state of the repository and include the missing starter code.
Could you please take a look at this issue and see if it can be resolved?
Thanks in advance for your help!"
I hope this helps! Let me know if you have any other questions.

Hi @BarriBarri20, can you please link to the version of the readme you are looking at? The version in master appears correct to me.
Any references to github.com/mochi-co/mqtt/v2 are for go import statements, which are handled by go mod automatically in order to correctly retrieve the latest v2.x.x version of the repo. Please review https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher

Here are some of the problems Sorry, I'm not very proficient with the go language but I noticed that there are sometimes problems, could you check please?

Good catch, I hadn't noticed that was missing. Fixed in latest v2.1.3 👍🏻
I also recommend checking out the examples folder and cmd/main.go for more ideas. I'll close this issue for now, but please feel free to ask any questions here and I will do my best to help you!

Thank you I appreciate it! I also fixed the mod.go thank you for your help!


Derivative should handle counter wrapping

Derivatives are used to get rates when feeding in counter values. It's common to have these values either wrap to 0 or to get reset to 0 when a host restarts. We should handle this gracefully and compute a rate based on the wrap.

:+1:

+1

+1

Closing this out as it will be resolved in the 0.9.0 release. We're using #1477 to track the implementation of this feature.


Generated thumbnails are rotated

Using the following configuration:
            'photo' => [    // The name of your upload field
                'root' => WWW_ROOT . 'files', // Customise the root upload folder here, or omit to use the default
                'dir' => 'photo_dir',   // The name of the field to store the folder
                'thumbnailSizes' => [ // Declare your thumbnails
                    'square' => [   // Define the prefix of your thumbnail
                        'w' => 100, // Width
                        'h' => 100, // Height
                    ]
                ],
                'thumbnailMethod' => 'gd'
            ]
        ]);

If the image is portrait, the thumbnail that is generated is rotated -90 degrees.
if the image is landscape, it is not rotated.

Is there a known fix for this?

nevermind i came up with a solution, not pretty cuz i have to modify the plugin but by adding chaining the orientate() method to $image->fit() it preserves the orientation

Stoked to see this got added to the plugin. Cheers!

@jaybuddy Yep, I pushed a new release with code which someone kindly added in a pull request.


transpile error message format is different between different node versions

TypeScript Version:  3.6.4

Search Terms:
Error Message Formats
Code
import * as fs from 'fs'
import * as path from 'path'
import * as vm from 'vm'

import ts from 'typescript'

export const resolve = (...args: string[]): string =>
  path.resolve(__dirname, ...args)

export const read = (file: string): string =>
  fs.readFileSync(resolve(file) + '.ts').toString()

export const execute = (file: string, ...args: number[] | string[]) =>
  vm.runInNewContext(ts.transpile(read(file)), { exports: {} })(...args)

Expected behavior:
Error snapshots match for all node versions
Actual behavior:
Matched on node 8.x and 10.x, breaks on 12.x

Playground Link:
GitHub Actions
Plain logs:
Node 8.x
Node 10.x
Node 12.x
Related Issues:

The "Node 12.x" link is broken. Can you paste the text as text in the issue? Thanks!

https://github.com/rx-ts/babel-preset-proposal-typescript/commit/9179dfb5680bdd22950b3a0813e3995cb0af309e/checks/271086718/logs
You can view it from the actions.

Are you sure it's not an exception from Node?

Can't find anything similar in TS sources.

Wow, it should be related to Node itself then. Thanks for your work.


Host: Mute Music Persist

Currently, when muting the music in the lobby, it does not persist; the music starts playing again on the questionnaire page.

Will probably want to make this global in some way - this could come in handy https://stackoverflow.com/questions/69675357/what-is-the-proper-way-to-do-global-state

duplicate!


SimpleConsumer: default consumer_group=None breaks offset manager

If no consumer_group name is passed-in when initing a pykafka.SimpleConsumer, I get a TypeError: object of type 'NoneType' has no len() out of cluster.get_offset_manager(). I'm not immediately clear what the preferred solution is here - I suppose you always want some default to store offsets under, or should an unspecified group imply disabling offset storage?

A None group is supposed to disable offset storage in the SimpleConsumer. I'll find this and just pass if it's not present.

Added a fix in master https://github.com/Parsely/pykafka/commit/edc5e8b143f9e86361debdace60624d408e5750c

Works great - thanks!


Build error on postbash script

I'm trying to build this example, both with the AI Workbench GUI and the nvwb cli binary and am getting the following error:
#20 311.6    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.6/85.6 kB 3.2 MB/s eta 0:00:00
#20 311.6 Downloading pymilvus-2.3.1-py3-none-any.whl (168 kB)
#20 311.6    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 168.9/168.9 kB 8.5 MB/s eta 0:00:00
#20 311.7 Downloading grpcio-1.58.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.3 MB)
#20 311.8    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 37.2 MB/s eta 0:00:00
#20 313.9 Installing collected packages: grpcio, anyio, pymilvus
#20 313.9   Attempting uninstall: grpcio
#20 313.9     Found existing installation: grpcio 1.62.1
#20 313.9     Uninstalling grpcio-1.62.1:
#20 313.9       Successfully uninstalled grpcio-1.62.1
#20 314.3 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
#20 314.3 chromadb 0.4.22 requires fastapi>=0.95.2, which is not installed.
#20 314.3 chromadb 0.4.22 requires onnxruntime>=1.14.1, which is not installed.
#20 314.3 chromadb 0.4.22 requires uvicorn[standard]>=0.18.3, which is not installed.
#20 314.3 grpcio-reflection 1.62.1 requires grpcio>=1.62.1, but you have grpcio 1.58.0 which is incompatible.
#20 314.3 grpcio-status 1.62.1 requires grpcio>=1.62.1, but you have grpcio 1.58.0 which is incompatible.
#20 314.3 text-generation-server 1.4.5 requires typer<0.7.0,>=0.6.1, but you have typer 0.12.0 which is incompatible.
#20 314.3 Successfully installed anyio-4.3.0 grpcio-1.58.0 pymilvus-2.3.1
#20 314.3 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#20 314.6 groupadd: GID '1001' already exists
#20 ERROR: process "/bin/bash /opt/project/build/postBuild.bash" did not complete successfully: exit code: 4
------
 > [16/17] RUN ["/bin/bash", "/opt/project/build/postBuild.bash"]:
314.3 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
314.3 chromadb 0.4.22 requires fastapi>=0.95.2, which is not installed.
314.3 chromadb 0.4.22 requires onnxruntime>=1.14.1, which is not installed.
314.3 chromadb 0.4.22 requires uvicorn[standard]>=0.18.3, which is not installed.
314.3 grpcio-reflection 1.62.1 requires grpcio>=1.62.1, but you have grpcio 1.58.0 which is incompatible.
314.3 grpcio-status 1.62.1 requires grpcio>=1.62.1, but you have grpcio 1.58.0 which is incompatible.
314.3 text-generation-server 1.4.5 requires typer<0.7.0,>=0.6.1, but you have typer 0.12.0 which is incompatible.
314.3 Successfully installed anyio-4.3.0 grpcio-1.58.0 pymilvus-2.3.1
314.3 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
314.6 groupadd: GID '1001' already exists
------
Containerfile:60
--------------------
  58 |     COPY --chown=$NVWB_UID:$NVWB_GID  ["postBuild.bash", "/opt/project/build/"]
  59 |
  60 | >>> RUN ["/bin/bash", "/opt/project/build/postBuild.bash"]
  61 |
  62 |     USER $NVWB_USERNAME
--------------------
ERROR: failed to solve: process "/bin/bash /opt/project/build/postBuild.bash" did not complete successfully: exit code: 4

This is on an NVidia DGX box running the latest release.

I was able to get pass this by modifying the L26-27 on the PostBuild script to:
sudo -E chown workbench /mnt/milvus
sudo -E chown workbench /data

that worked for me / thank you!


Fixes category card category name line breaks, and spacing issues

Description
Corrects category card layout for the home page and platform landing page, and some additional padding issues
Issues Resolved
[List any issues this PR will resolve]
Check List

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

Closing as it is handled in the consolidated conference fast follow PR https://github.com/opensearch-project/project-website/pull/2368


[APP] Vault

Support the installation of Vault for Kuberenetes
Expected Behaviour
arkade install vault would install Vault on Kubernetes with sensible defaults
Possible Solution
Install Vault using the official Helm chart https://github.com/hashicorp/vault-helm
Happy to PR this :)

SGTM - PR #201 should be something you can use as a guide.
Remember that we are using the DCO so you'll need to run git commit -s to sign-off (rather than GPG signing)

I was thinking this would be a CLI download ("arkade get"), but you're right, it's an app to install, so forget about my comment re #201

/msg: template
@nicholasjackson are you still intrested to do a PR?
Also can you fill the issue template please?

/close
Closed in favor of #627


Error: Timeout! All backends are occupied with other tasks. (Could not find TensorRT)

Hello.
Using google colab I get this error when generating an image. It takes a long time and then the error.
Any solution?
I'm using this notebook:
https://colab.research.google.com/github/Stability-AI/StableSwarmUI/blob/master/colab/colab-notebook.ipynb
I'm running the first temporary installation cell, then the third cell, then the fourth cell and I enter the link that appears in the text box, I configure in "ComfyUI (Local)", SDXL 1.0 (Base and Refiner).
Info returned by google colab when I press generate:
14:03:27.394 [Init] Initializing backend #0 - ComfyUI Self-Starting... 14:03:27.410 [Init] Self-Start ComfyUI on port 7820 is loading... 2023-08-09 14:03:43.013439: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT 14:03:47.668 [Init] Self-Start ComfyUI on port 7820 started. 14:05:02.841 [Info] Creating new admin session for <IP_ADDRESS> 14:27:10.268 [Info] [BackendHandler] Backend usage timeout, all backends occupied, giving up after 1200.002 seconds. 14:27:11.782 [Info] [BackendHandler] Backend usage timeout, all backends occupied, giving up after 1200.001 seconds.

For me was enough run !pip install tensorrt

TensorRT message shouldn't be relevant.
Can you try just redoing it again? Might've been a one-off error, or one coincidentally already fixed.


Update renovatebot/github-action action to 34.28.0

This PR contains the following updates:

Package
Type
Update
Change

renovatebot/github-action
action
minor
v34.27.3 -> v34.28.0

Release Notes

renovatebot/github-action
v34.28.0
Compare Source
See the the changelog for changes in all releases.
34.28.0 (2022-11-19)
Bug Fixes

deps: update renovate/renovate docker tag to v34.28.0 (cd993df)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@balena-ci I self-certify!


Improvement request: support whisper mode

Is it possible to implement the new whisper mode?  It would be great to be able to whisper information at night time in response to e.g. a remote button.

Whispering is already possible via the SSML option with a text like this:
<speak>
    <amazon:effect name="whispered">Good Morning.</amazon:effect>
</speak>

Have a look at the SSML examples for other effects!

Thank you!  Sorry to have been a noob!
On Tue, 7 Apr 2020 at 15:39, 586837r<EMAIL_ADDRESS>wrote:

Whispering is already possible via the SSML option with a text like this:

Good Morning.

Have a look at the SSML examples for other effects!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/586837r/node-red-contrib-alexa-remote2/issues/117#issuecomment-610425984,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AENIQ2O6X46QKSGSIT46MILRLM3K3ANCNFSM4MC7HHVQ
.


Files in docs/ directory referenced from README.md are missing

More specifically the following links are all broken in develop.
[docs:wiki]: docs/index.org
[docs:wiki-quickstart]: docs/getting-started.org
[docs:wiki-modules]: docs/modules.org
[docs:wiki-customization]: docs/customize.org
[docs:contributing]: docs/contribute.org
[docs:faq]: docs/faq.org

I see that some of the referenced files match those of the wiki.
Is there anyway I could help with that?

This is a duplicate of #1755, #1856 and #1771. My apologies for the current state of the documentation -- I'm aware of the broken links, but am waiting until I finish the new documentation to fill it out.


[Packaging] Packaging breaking-change and transitioning documentation should be more clear

All of the wiki/readme documentation has been updated; it's now current with respect to packaging, but it's not very clear how developers should migrate their systems.

We should add a section (maybe to the top of the ReadMe) that clearly calls out this significant breaking change, with steps to walk through for the transition to packaging.  We probably need two sets of steps; one for basic SDK users, and another for users who build the SDK locally and therefore need to target local packages.  The steps should include links to the other relevant documentation as needed, and they should also include examples -- command line args to vsimporter, changes to nuget configs, etc.

The packaging documentation could use more examples and links.  Here are a few examples of how things could be more clear:

How do I upgrade to Packaging from an old SDK?

If you are using a prebuilt SDK, download Visual Studio 2017, and re import your app using the latest winobjc-tools command line package (Instructions on README).

This just points to the top of the README; it would be much more helpful to link to explicit instructions on how to reimport.

If you are building the SDK locally, please install Visual Studio 2017, the Nugetizer VSIX (either from the winobjc-tools package or directly as described below), and make sure any local/internal NuGet feeds are configured to pick up latest beta packages if desired.

Links to Nugetizer VSIX, and to the 'directly as described below' sections would be helpful.  An example of how I'd 'make sure any local/internal NuGet feeds are configured to pick up latest beta packages if desired' would also be helpful.

How do I consume packages locally?
NuGet allows using a local directory as a package feed when restoring packages. In order to make this as seamless as possible, the output directories for WinObjC packages have been added to the nuget.config files where feasible (in the samples directory for instance). In cross repository scenarios, please set WINOBJC_SDK_ROOT to your cloned directory and configure the nuget.config to use that.

Which nuget.config?  Do I need to add a nuget.config to my ported app's directory, or are you referring to the one at the root of WINOBJC_SDK_ROOT?  We should also probably call it 'the WINOBJC_SDK_ROOT environment variable' for clarity.

In addition to finding packages, consuming a just produced package locally means updating the consumer to automatically pick up the new version. Luckily by adding winobjc.packagereference.override.targets as an import to your project (an example can be found at bottom of WOCCatalog.vcxproj) the version that the consumer depends on can be swapped out on the fly. Again for cross repo scenarios, it advisable to set WINOBJC_SDK_ROOT.

This doesn't make any mention of using * vs pr etc. for targeting different versions.  Can we make this more clear?*

NOTE: Local packages are always preferred when using the override targets so make sure to not forget about locally produced packages on the machine that may be influencing builds.

Can you clarify?  Does this mean, 'Be sure to clear the nuget package cache on build machines.'?

@jaredhms @andrejo-msft I have updated the wiki at https://github.com/Microsoft/WinObjC/wiki/Packaging let me know if there is still additional information you want captured there.


test: configured Playwright with some initial E2E tests

Description

reconfigured Playwright
chore: removed unnecessary alt text affecting test locators
chore: made content on homepage aside elements and gave them labels
added initial tests for homepage for a logged out user

What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings

Steps to QA

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[ ] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

Confirmed I can get tests to fail on CI. 🥳


comm: P2P data exchange only supports Tensor and Tuple[Tensor] types

Data passed through the P2P comm framework must be a Tensor or tuple of Tensors.  It would be nice if we can support any pickle-able data types, similar to how PyTorch's RPC distributed framework serializes/deserializes Python objects using uint8 Tensors for the data exchange.

Resolved in bf8c551.


Document semconv version weaver is compatible with in codegen docs

Document the earliest semconv version that can be used to generate code with weaver
Document limitations on built-in filters (starting 1.26.0).

We should document this and maintain it in weaver and then link to that note from semconv codegen docs.


Editors - pathsToEditors should ignore folders

There is a scenario in which vscode.dev tries to open an editor with a path that points to a folder instead of a file. This ends up in an error message. Instead of showing an error pathsToEditors() should ignore the path if it points to a folder. This has already been fixed in main with e31a18ea8c6cf53e205e481c98f290e6d8c20460 but I would like to port the change to the next recovery release.

This has been verified with Insiders + insiders.vscode.dev.

@lszomoru While this did show an error notification, it also did select the folder in the explorer view, which was valuable -- imo, we'd ideally suppress the error message instead of ignoring to the folder.

@eamodio, I have filed https://github.com/microsoft/vscode/issues/137301 to track the regression.


iOS SDK - Add new API Call to the root API resource (non-authenticated)

Build is failing. Looks like we missed the RootLink file targets. Approved once build passes.


chore(main): release ripgrep 1.15.4

:robot: I have created a release beep boop
1.15.4 (2024-10-08)
Miscellaneous

main: release fish 1.16.3 (#124) (5799516)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

ripgrep-v1.15.4
:sunflower:


Optimize atomic operations in swarm

A short term fix for the race conditions was merged in PR https://github.com/docker/swarm/pull/545 .
The main operation that requires atomicity is applying filters to a set of nodes and selecting a node form the filtered list according to the scheduler strategy . Once a node selection is atomic then create container operation on that node need node be locked.

Closed by #1261


Updating FINCN-115 to match FINCN115

I believe you intended to use this branch instead of FINCN115 looking at the postgres setup script.
I have also removed Not null from the id because the SERIAL psuedo-types implicitly declare not null

@Izakey those who are testing will be using branch FINCN-115 and I suggest you switch to FINCN-115 and also use it for the PR


Despite block transactions from ChangeBlockEvent.Break are set invalid, they still drop the respective items while not breaking

Hello. I am struggling with a problem with Block transactions from ChangedBlockEvent.Break. I set the transactions to not be valid to prevent the blocks from breaking. However, despite not breaking, the blocks affected by the transactions being set not valid, they still drop their respective items.
This also happens on 7.1.10

This is not an API issue, please open this issue on the respective implementation.


[762] Update working pattern

Trello card URL:
https://trello.com/c/4owuXmAO/762-update-working-pattern-options-so-there-is-more-flexibility-around-types-of-role-reflecting-the-needs-of-jobseekers-schools
Changes in this PR:
Many things!
The high level changes are to:

make working patterns multi-select for hiring staff
add flexible working options to working patterns
make flexible working derive from working patterns
deprecate weekly hours

The changes need to be backwards compatible, so some care went into ensuring the existing vacancies display the same data as before, and allow editing that data. If the data ever matches the derived values, we clear the explicitly set values and use the derived values.
Replaces #838.
Next steps:

[ ] Deploy to edge without running the migration rake task and evaluate whether we're ok with that status during deployment
[ ] Deploy Terraform
[ ] Run the migrate working pattern rake task
[ ] Remove the migrate working pattern rake task
[ ] Remove defunct working_pattern from Vacancy

 Update 'working pattern' options so there is more flexibility around types of role reflecting the needs of jobseekers/schools

Is there a plan for removing the complexity associated with weekly_hours and flexible_working in the future?

No plan as of yet. Because we show expired jobs forever, we need to be mindful of the effect we would have on users e.g. reviewing or copying old vacancies.
I think we can take some steps towards removal by changing the way we copy vacancies so we can clear old data when copying and require the user to reanswer the questions that have changed, but that's out of scope of this change, I think.

Only that last comment on the destructive nature of the migration at the moment, I don't have a solution in mind I'm afraid but happy to dig further.
It was a large PR, so I don't trust my ability to review it fully and would be keen to get @pezholio review too.


SPARKC-161: RDD coalesce() pushdown to cassandra. That simplify RDD p…

…artitions calculations and reduce number of steps.

Superseded by #985


Cannot deploy gcp-vertexai without MLflow

When deploying the gcp-vertexai recipe with "enable_mlflow": false set in values.tfvars.json, I got the following error:
...

Plan: 34 to add, 0 to change, 0 to destroy.

Changes to Outputs:
...

Error: Invalid index

  on outputs.tf line 28, in output "ingress-controller-host":
  28:   value = data.kubernetes_service.mlflow_tracking[0].status.0.load_balancer.0.ingress.0.ip
    ├────────────────
    │ data.kubernetes_service.mlflow_tracking is empty tuple

The given key does not identify an element in this collection value: the collection has no elements.
WARNING:python_terraform:error: None
Error: Error running recipe gcp-vertexai: None

Thanks for reporting the bug. I have pushed a fix here, #43!


German support

Here there are the German support. Hope it is all right :)
Sorry if I mess up the commit history but I synch my repo in the wrong way

It seems everything is fine! I'll merge it and I'll review later in vs code that's more comfortable than watching every diff in the web.
Thanks a lot for helping with the translations! ^^


Allow queries in githubPullRequests.queries to query all repos or specific repos

Currently  githubPullRequests.queries only lets you query against the currently open repos. We could also allow you to query against specific repos or all repos.
Context: https://github.com/microsoft/vscode-pull-request-github/issues/3429#issuecomment-1305701656

Hi!
I would really like it, if the githubPullRequests.queries could somehow show me every PR that are waiting for my review in my Organization (or at least in the open repos) ... but all at once, in a single tree view, without the need to browse every repos trees.
The "same" view as when you go to https://github.com/pulls/review-requested


Subscription section isn't there

Step 6 in Create a directory
Should be "Create a tenant"
And looks like

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

ID: 588fc4d6-0c4d-297d-cfe1-8562728fdc4d
Version Independent ID: cf117c91-90fa-036b-9763-a3c16b398a33
Content: Tutorial - Create an Azure Active Directory B2C tenant
Content Source: articles/active-directory-b2c/tutorial-create-tenant.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@StevenTCramer Thank you for reaching out. At this time we are reviewing the feedback and will provide an update as appropriate.


validator(dm): checkpoint unit-test & fixing some todos

What problem does this PR solve?

Issue Number: close #4770
What is changed and how it works?

add unit test for validator checkpoint
add more statistics infos: pending/error row changes if different kind of row changes
drop validator meta-tables when remove-meta
make downstream query batch size configurable(default to 100)
add startWithSubtask which means validator starts together with subtask, in this case we use the init sync location as our init validate location. and persist immediately if there's no checkpoint now
validator should be stopped when operate-schema
add another layer of synchronization to GetTableInfo/RecreateTables of tracker, to make sure validator doesn't read an intermediate dropped table.
depends on methods of syncer not its fields
if uk of data row is too long, convert it to sha256 digest, to make sure we can put it into dm_meta since it's part of the primary key.

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Code changes

Has exported function/method change
Has exported variable/fields change
Has interface methods change
Has persistent data change

Side effects

Possible performance regression
Increased code complexity
Breaking backward compatibility

Related changes

Need to cherry-pick to the release branch
Need to update the documentation
Need to update key monitor metrics in both TiCDC document and official document

Release note
`None`

/run-verify

/run-dm-integration-test

/cc @buchuitoudegou @lance6716 @Ehco1996

/run-all-tests

ping @lance6716

/run-all-tests

ping @buchuitoudegou

/run-all-tests

/merge

/run-verify
/run-dm-compatibility-test

/run-verify

Codecov Report

Merging #5025 (0e35895) into master (687e248) will decrease coverage by 0.0475%.
The diff coverage is 55.9115%.

Flag
Coverage Δ

cdc
61.2666% <48.8328%> (+0.6679%)
:arrow_up:

dm
51.9458% <87.5000%> (-0.5237%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #5025        +/-   ##
================================================
- Coverage   56.1240%   56.0764%   -0.0476%
================================================
  Files           522        526         +4
  Lines         65325      67556      +2231
================================================
+ Hits          36663      37883      +1220
- Misses        25094      25959       +865
- Partials       3568       3714       +146


NPM Updates

pull in updated packages
primarily for axios/axios-retry, which started to implement "cancelation" handling.
eslint is still a major version behind; airbnb doesn't support > 8 yet.

@shortstuffsushi  Please give v1.5.0 a shot!


Add wise-accounts extension

Description

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi 👋
Thanks for your contribution 🔥
I don't really know that much about wise, but we should maybe consider merging it into the current Wise extension by @HugoLiconV instead and make it a Wise extension so we don't confuse the end users using it?
Does that make sense?

Hi 👋
Thanks for your contribution 🔥
I don't really know that much about wise, but we should maybe consider merging it into the current Wise extension by @HugoLiconV instead and make it a Wise extension so we don't confuse the end users using it?
Does that make sense?

Hi, I did a separate one because the features are not overlapping and his code was not usable for my extension. To me they serve different purpose which is why I made a different one. But lmk your what you think is best

It would be nice to hear what @HugoLiconV thinks; it would be nice with one unified extension for Wise if possible - I guess most users would gain from all commands?

Hi guys! Honestly, I have no idea what's the best approach. As @robsel118 said, both extensions have different purposes:
Current Wise Extension

Get quotes to see the exchange rate and fees Wise offers.
 My only concern is not making any of the extensions harder to use.

So let's keep them separated if that makes sense, thanks for the chip in @HugoLiconV 🙂


Main to next

Hey Sonali, I'm not sure if this will solve typetests failures on build pipelines here, but typetests cleanup has been merged to main.

let me try pulling in the changes and building locally


Add docker version details on the sidebar

Why do we need this ?
Currently, the Docker version details are only visible during the initial application setup. After initialization, this information is not accessible. To ensure better visibility and management, we need a persistent location where the current Docker version in use is displayed. This will also allow us to include a call-to-action (CTA) for updating the version if it becomes outdated.

Acceptance Criteria

[ ] Display the current Docker version prominently within the application interface.
[ ] Ensure the Docker version information is updated in real-time or at regular intervals.
[ ] Include a CTA button or link that guides users to update their Docker version if an update is available.

@amoghjalan  How should I mitigate this ?

@amoghjalan is this about our docker image or docker software version ?

I think I'll close this. This issue was created for demo purposes earlier. Showing the version of the docker CLI in-app doesn't offer much value.


Add unit tests for GUID unmigration

Issue: https://github.com/rancher/rancher/issues/42328
Problem
When we originally merged in the uuid-unmigration, due to active issues, unit test writing was deferred so we could get the fix out more quickly. These are those tests.
Testing
These unit tests cover the various utility functions and identification routines. For this initial round I've focused on tests  that doesn't need to touch external services, excepting LDAP lookups, since this minimizes the amount of required mocks. Most of the interesting decisions are made during identification anyway.
Engineering Testing
Automated Testing

Test types added/modified:

Unit

QA Testing Considerations
For the most part, if drone passes then the tests also passed. No manual testing should be required.

Note: Some review was previously performed in these smaller PRs:
https://github.com/rancher/rancher/pull/42929
https://github.com/rancher/rancher/pull/42911
https://github.com/rancher/rancher/pull/42881


CSS

CSS
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide Website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with shadow

Added CSS to application - dark blue header and footer, and four boxes with shadow around content


Missing Custom JKS and InsecureTrustManagerFactory support for ProxyEndpoint

Greetings,
We are evaluating to use zuul2 as our API gateway. For one of our use-case we observed following and seems this is either a defect or pending implmentation.
Use-case:
We have two backend services. One runs on HTTP and the other on HTTPS(self-signed certificates).
We use consul for service discovery and health. We do not use Eureka.
When we have below configuration in our application.properties for zuul server.
#Instance env settings

environment=dev
eureka.registration.enabled=false

#Loading Filters
zuul.filters.root=src/main/groovy/gateway/filters
zuul.filters.locations=${zuul.filters.root}/endpoint,${zuul.filters.root}/inbound,${zuul.filters.root}outbound
#zuul.filters.packages=com.netflix.zuul.filters.common

eureka.validateInstanceId=false
eureka.shouldFetchRegistry=false

ribbon.NFLoadBalancerClassName=com.netflix.loadbalancer.DynamicServerListLoadBalancer
ribbon.NIWSServerListClassName=com.gateway.discovery.ServerList
ribbon.NFLoadBalancerPingInterval=60
#ribbon.NFLoadBalancerRuleClassName=com.netflix.loadbalancer.WeightedResponseTimeRule

consul.root.path=/config/global
#Override below property to 10, if we want refresh to be quicker
consul.watch.seconds=60
webserver.ribbon.IsSecure=true
#webserver.ribbon.TrustStore=gateway.jks
#webserver.ribbon.TrustStorePassword=changeit
webserver.ribbon.IsHostnameValidationRequired=false
webserver.ribbon.IsClientAuthRequired=false

We observe that the the DefaultOriginChannelInitializer is used to make appropriate API call to the Origin service.
Here we also observe that 'webserver.ribbon.IsSecure=true' is appropriately getting used for adding the SSL handler[file:DefaultOriginChannelInitializer.initChannel()] , but the other properties to use our custom truststore 'webserver.ribbon.TrustStore=gateway.jks' and 'webserver.ribbon.IsHostnameValidationRequired=false' are not getting used to create appropriate SslContext[file:DefaultOriginChannelInitializer.getClientSslContext()]
Issues:

Allow users to specify truststore when using DefaultOriginChannelInitializer to connect to Origin.
If users are having self-signed certificate then using the config 'webserver.ribbon.IsHostnameValidationRequired=false' to let users not specify a truststore and instead hook-up 'InsecureTrustManagerFactory.INSTANCE' so that hostname validation passes.

So enhancement is required in method DefaultOriginChannelInitializer.initChannel(), and if 'webserver.ribbon.IsSecure=true' is set then we read other configs and create SslContext.
Other alternative is when creating 'DefaultOriginChannelInitializer' a third argument of type 'IClientConfig' is added so that the SslContext is created correctly when instantiating the object.
Questions:

Are our above observation valid ?
If not, is there an alternate way to resolve the issues which we mentioned? If yes, what are they ?
Is this due to partial implemenation done in https://github.com/Netflix/zuul/issues/428 (as commented by JacobJohansen on 10 May 2018)?

Thanks.

Hi @shahpankil,
in my opinion your observations are valid. For the same reason (among others) I have opened https://github.com/Netflix/zuul/pull/642 today.
We are trying to realize better configurable origin HTTPS connections by extending some Zuul2 default implementations using inheritance:

Extend com.netflix.zuul.netty.ssl.ClientSslContextFactory or com.netflix.zuul.netty.ssl.BaseSslContextFactory to provide a customized SslContext.
The context is returned from an instance that extends com.netflix.zuul.netty.connectionpool.DefaultOriginChannelInitializer#getClientSslContext(), where it uses the custom factory.
The ChannelInitializer is created and returned by overriding com.netflix.zuul.netty.connectionpool.DefaultClientChannelManager#createChannelInitializer()
Create custom com.netflix.zuul.origins.NettyOrigin and com.netflix.zuul.origins.OriginManager implementations which use the customized ClientChannelManager.
Register the custom OriginManager in the Guice module instead of BasicNettyOriginManager.

All in all this allows for a clean customization, but requires to copy most of BasicNettyOrigin. If our pull request is accepted it would make it more smooth.
Extending/customizing the code directly gives us a lot more control. Especially as Ribbon is not really used under the hood. Instead just parts of the IClientConfig instance are used to create a com.netflix.zuul.netty.connectionpool.ConnectionPoolConfig instance, which is then used by the classes that handle the outbound Netty channels.


Introduce tracing

Signed-off-by: andylokandy<EMAIL_ADDRESS>What is changed and how it works?
Add tracing to TiKV. Prints slow log with spans once the time spent on a request reached the threshold.
config.toml:
[tracing.duration-threshold]
raw-get = "0ms"
raw-put = "0ms"
# other types of request omitted

[tracing]
enable = true

example:
[2022/01/20 15:28:39.589 +08:00] [WARN] [tracing.rs:56] ["[tracing] slow request deteted"] [report="{\"parent_id\":100,\"spans\":[{\"begin_unix_ns\":1642663719582263988,\"duration_ns\":743135,\"event\":\"raw_delete\",\"properties\":{},\"span_id\":393857},{\"begin_unix_ns\":1642663719582268563,\"duration_ns\":10466,\"event\":\"RaftKv::async_write\",\"properties\":{},\"span_id\":393858}],\"trace_id\":1}"]

pretty printed:
{
    "parent_id":100,
    "spans":[
        {
            "begin_unix_ns":1642663719588270568,
            "duration_ns":250956,
            "event":"raw_scan",
            "properties":{

            },
            "span_id":393864
        },
        {
            "begin_unix_ns":1642663719588274905,
            "duration_ns":171954,
            "event":"Storage::raw_scan",
            "properties":{

            },
            "span_id":393865
        },
        {
            "begin_unix_ns":1642663719588370568,
            "duration_ns":25887,
            "event":"RaftKv::async_snapshot",
            "properties":{

            },
            "span_id":852003
        }
    ],
    "trace_id":1
}

Benchmark
sysbench point-select over TiDB:
// baseline
[ 10s ] thds: 10 tps: 29435.82 qps: 29435.82 (r/w/o: 29435.82/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 20s ] thds: 10 tps: 25802.35 qps: 25802.35 (r/w/o: 25802.35/0.00/0.00) lat (ms,95%): 0.70 err/s: 0.00 reconn/s: 0.00
[ 30s ] thds: 10 tps: 28746.01 qps: 28746.01 (r/w/o: 28746.01/0.00/0.00) lat (ms,95%): 0.47 err/s: 0.00 reconn/s: 0.00
[ 40s ] thds: 10 tps: 29052.18 qps: 29052.18 (r/w/o: 29052.18/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 50s ] thds: 10 tps: 29335.44 qps: 29335.44 (r/w/o: 29335.44/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 60s ] thds: 10 tps: 29583.32 qps: 29583.32 (r/w/o: 29583.32/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 70s ] thds: 10 tps: 29696.02 qps: 29696.02 (r/w/o: 29696.02/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 80s ] thds: 10 tps: 29645.40 qps: 29645.40 (r/w/o: 29645.40/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 90s ] thds: 10 tps: 29700.58 qps: 29700.58 (r/w/o: 29700.58/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 100s ] thds: 10 tps: 29681.49 qps: 29681.49 (r/w/o: 29681.49/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 110s ] thds: 10 tps: 29716.48 qps: 29716.48 (r/w/o: 29716.48/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 120s ] thds: 10 tps: 29741.04 qps: 29741.04 (r/w/o: 29741.04/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 130s ] thds: 10 tps: 29853.73 qps: 29853.73 (r/w/o: 29853.73/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 140s ] thds: 10 tps: 29525.14 qps: 29525.14 (r/w/o: 29525.14/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 150s ] thds: 10 tps: 29821.55 qps: 29821.55 (r/w/o: 29821.55/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 160s ] thds: 10 tps: 29645.39 qps: 29645.39 (r/w/o: 29645.39/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 170s ] thds: 10 tps: 29721.57 qps: 29721.57 (r/w/o: 29721.57/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 180s ] thds: 10 tps: 29890.42 qps: 29890.42 (r/w/o: 29890.42/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 190s ] thds: 10 tps: 29665.90 qps: 29665.90 (r/w/o: 29665.90/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 200s ] thds: 10 tps: 29757.76 qps: 29757.76 (r/w/o: 29757.76/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 210s ] thds: 10 tps: 29799.61 qps: 29799.61 (r/w/o: 29799.61/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 220s ] thds: 10 tps: 30497.46 qps: 30497.46 (r/w/o: 30497.46/0.00/0.00) lat (ms,95%): 0.43 err/s: 0.00 reconn/s: 0.00
[ 230s ] thds: 10 tps: 29832.23 qps: 29832.23 (r/w/o: 29832.23/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 240s ] thds: 10 tps: 29569.64 qps: 29569.64 (r/w/o: 29569.64/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00

// tracing
[ 10s ] thds: 10 tps: 29115.54 qps: 29115.54 (r/w/o: 29115.54/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 20s ] thds: 10 tps: 28103.26 qps: 28103.26 (r/w/o: 28103.26/0.00/0.00) lat (ms,95%): 0.48 err/s: 0.00 reconn/s: 0.00
[ 30s ] thds: 10 tps: 28565.58 qps: 28565.58 (r/w/o: 28565.58/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 40s ] thds: 10 tps: 28348.47 qps: 28348.47 (r/w/o: 28348.47/0.00/0.00) lat (ms,95%): 0.47 err/s: 0.00 reconn/s: 0.00
[ 50s ] thds: 10 tps: 28593.25 qps: 28593.25 (r/w/o: 28593.25/0.00/0.00) lat (ms,95%): 0.47 err/s: 0.00 reconn/s: 0.00
[ 60s ] thds: 10 tps: 28879.41 qps: 28879.41 (r/w/o: 28879.41/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 70s ] thds: 10 tps: 29212.52 qps: 29212.52 (r/w/o: 29212.52/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 80s ] thds: 10 tps: 29201.47 qps: 29201.47 (r/w/o: 29201.47/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 90s ] thds: 10 tps: 29043.97 qps: 29043.97 (r/w/o: 29043.97/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 100s ] thds: 10 tps: 28892.06 qps: 28892.06 (r/w/o: 28892.06/0.00/0.00) lat (ms,95%): 0.47 err/s: 0.00 reconn/s: 0.00
[ 110s ] thds: 10 tps: 29254.56 qps: 29254.56 (r/w/o: 29254.56/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 120s ] thds: 10 tps: 29185.45 qps: 29185.45 (r/w/o: 29185.45/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 130s ] thds: 10 tps: 29295.91 qps: 29295.91 (r/w/o: 29295.91/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 140s ] thds: 10 tps: 29121.00 qps: 29121.00 (r/w/o: 29121.00/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 150s ] thds: 10 tps: 29090.66 qps: 29090.66 (r/w/o: 29090.66/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 160s ] thds: 10 tps: 29253.60 qps: 29253.60 (r/w/o: 29253.60/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 170s ] thds: 10 tps: 29272.80 qps: 29272.80 (r/w/o: 29272.80/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 180s ] thds: 10 tps: 29231.05 qps: 29231.05 (r/w/o: 29231.05/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 190s ] thds: 10 tps: 29065.17 qps: 29065.17 (r/w/o: 29065.17/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 200s ] thds: 10 tps: 29050.62 qps: 29050.62 (r/w/o: 29050.62/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00
[ 210s ] thds: 10 tps: 29227.56 qps: 29227.56 (r/w/o: 29227.56/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 220s ] thds: 10 tps: 29289.40 qps: 29289.40 (r/w/o: 29289.40/0.00/0.00) lat (ms,95%): 0.45 err/s: 0.00 reconn/s: 0.00
[ 230s ] thds: 10 tps: 28914.49 qps: 28914.49 (r/w/o: 28914.49/0.00/0.00) lat (ms,95%): 0.47 err/s: 0.00 reconn/s: 0.00
[ 240s ] thds: 10 tps: 29147.77 qps: 29147.77 (r/w/o: 29147.77/0.00/0.00) lat (ms,95%): 0.46 err/s: 0.00 reconn/s: 0.00

Release note
none

/test

/run-test

/run-build

Instead of logging, how about respond the trace information to client and let client to collect and report?

In the previous benchmarks, we observed some notable performance degrade in write payloads. Could you also supply benchmark results for it?

@breeswish The write benchmark result is updated in the description.

@zhongzc @breeswish PTAL

/run-test

@iosmanthus PTAL

@sticnarf I can't figure out a nite way to test tracing in unit test. Do you have any suggestion?

@sticnarf I can't figure out a neat way to test tracing in unit test. Do you have any suggestion?

It'd be better if the output of tracing can be configurable. Now, they are printed to the log and you say it's only temporary. But I think it's sometimes reasonable that the user doesn't want another service like jaeger but only wants it to be in the log.
So, if the tracing "drainer" can be configurable, it can be configured to be a simple channel in Rust. Then, in an integration test inside TiKV, we can simulate a slow request and collect the trace from our customized drainer.

@sticnarf Because we're going to implement pubsub service for tracing very soon, I prefer to add the test on top of pubsub service later on.


Unable to require libquery_engine-debian-openssl-3.0.x.so.node

Bug description
Using Prisma ORM with rage mp server. It's compiling to js file. On windows all works perfect. On ubuntu 22.04 i got:
PrismaClientInitializationError:
Invalid `prisma.service.findMany()` invocation:

Unable to require(`/media/amazon/linux/node_modules/.pnpm/@prisma+client@5.13.0_prisma@5.13.0/node_modules/.prisma/client/libquery_engine-debian-openssl-3.0.x.so.node`).
The Prisma engines do not seem to be compatible with your system. Please refer to the documentation about Prisma's system requirements: https://pris.ly/d/system-requirements

Details: /media/amazon/linux/node_modules/.pnpm/@prisma+client<EMAIL_ADDRESS>undefined symbol: napi_create_promise
    at In.handleRequestError (/media/amazon/linux/packages/server/index.js:31027:19)
    at In.handleAndLogRequestError (/media/amazon/linux/packages/server/index.js:31005:16)
    at In.request (/media/amazon/linux/packages/server/index.js:30996:16)
    at l (/media/amazon/linux/packages/server/index.js:31396:21)
    at loadServices (/media/amazon/linux/packages/server/index.js:95560:20)
    at App.init (/media/amazon/linux/packages/server/index.js:98668:7) {
  clientVersion: '5.13.0',
  errorCode: undefined
}

How to reproduce
Install ubuntu 22.04 jammy.
Install all system requirements as on documentation required.
Build simple typescript project.
Try to run and see error.
Expected behavior
Prisma works as on Windows, bcs on windows it's works perfect with ragemp server.
Prisma information
generator client {
  provider = "prisma-client-js"
  binaryTargets = ["debian-openssl-3.0.x"]
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

generator json {
  provider = "prisma-json-types-generator"
}

import { PrismaClient } from '@prisma/client'

export const prisma = new PrismaClient()

const services = await prisma.service.findMany()

    services.map((serviceLocal, index) => {
        const service = items[serviceLocal.name]
        service.load(
            serviceLocal.position as PositionEx & { radius?: number },
            index,
        )
    })

    logger.success(`Services loaded: ${Object.keys(items).length}`)

Environment & setup

OS: Ubuntu 22.04 jammy
Database: PostgreSQL
Node.js version: v18.20.2

root@amazon-project:/media/amazon# gcc --version
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

root@amazon-project:/media/amazon# openssl version
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)

root@amazon-project:/media/amazon# sudo apt install zlib1g
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
zlib1g is already the newest version (1:1.2.11.dfsg-2ubuntu9.2).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

Prisma Version
Environment variables loaded from .env
prisma                  : 5.13.0
@prisma/client          : 5.13.0
Computed binaryTarget   : debian-openssl-3.0.x
Operating System        : linux
Architecture            : x64
Node.js                 : v18.20.2
Query Engine (Node-API) : libquery-engine b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b (at node_modules/.pnpm/@prisma+engines<EMAIL_ADDRESS>Schema Engine           : schema-engine-cli b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b (at node_modules/.pnpm/@prisma+engines<EMAIL_ADDRESS>Schema Wasm             : @prisma/prisma-schema-wasm 5.13.0-23.b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b
Default Engines Hash    : b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b
Studio                  : 0.500.0

If i will run npx prisma migrate dev/deploy command will be success.

Hi @SashaGoncharov19, could it be that you have several Node.js versions installed in your system, some of which have a different embedded openssl version than the one installed globally in your system?
I see this as the root of the error, from an executable we build via https://github.com/napi-rs/napi-rs:

libquery_engine-debian-openssl-3.0.x.so.node: undefined symbol: napi_create_promise

Please run the following commands and report back with the answers, hopefully we'll understand why this problem is arising:

What's the output of node -e "console.log(process.versions.openssl)"?
What's the output of ldd /media/amazon/linux/node_modules/.pnpm/@prisma+client<EMAIL_ADDRESS>What does which node say?
What about (cd YOUR_PRISMA_PROJECT && which node)?


Unable to proceed with influx 2.0.0 alpha after initial setup

Steps to reproduce:
List the minimal actions needed to reproduce the behavior.

start influxd from scratch, fresh install, no users or anything

influxd --bolt-path /srv/influxdb/influxd.bolt --engine-path /srv/influxdb/engine --log-level debug

go through the web-based initial setup
try to log in

Expected behavior:
I guess I should log in, and be able to do stuff. I've never used influxdb before :(
Actual behavior:
I got an error message on the webui. Nothing in the logs on the server.
Failed to create influxDB 2.0 OSS Metrics Dashboard
Failed to configure InfluxDB Scraper
Subsequent login attempts fail completely.
Environment info:

System info:

root@monitor:~# uname -srm
Linux 5.0.0-36-generic x86_64

InfluxDB version: 2.0.0.alpha-19
Other relevant environment details: Native executable.

@dkowis thanks for opening an issue. I'm not able to reproduce this on my machine. I'm using the latest master branch. Could you try again with Alpha 20 and see if you have the same problem?

I'm closing this for now. If this is still an issue on the latest beta, please reopen.


npm scope rename

Description
Our npm org is @backtrace-labs. Updating this doc accordingly
Types of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x ] Documentation fix (typos, incorrect content, missing content, etc.)

@rick-bt I don't have write access to this repo therefore, I cannot merge it but I applied the changes to the PR and will merge it.


Make -at-age tables MCMC

Need to do during extra-mcmc step and extract medians.

Chris, while you are in there for the base model, can you also get the median (and lower and upper) unfished biomass time series.  Normal MLE SS call would be:
SSplotDynamicB0 <- function(replist,
labels=c("Year",
"Spawning biomass or output"),
relative=TRUE,
flatfish=FALSE,
add=FALSE){
function to plot dynamic B0 from an SS model
shorter name for object of interest
db0 <- replist$Dynamic_Bzero
....
So I think it would just be the base.model$Dynamic_Bzero version but with mcmc's.

For sure!

Turns out that last year Table 20: Estimated exploitation-rate-at-age (catch-at-age divided by biomass-at-age) was not catch-at-age divided by biomass as it says but catch-at-age divided by numbers-at-age. The new one (correct to the caption) is vastly different with large numbers ranging from 20 to 400, instead of 0 to 30. The rest of them have comparable values.
I think I have the table data all done, in the morning I will try to run it on all the iterations (I just did a  test with 10 posteriors during development to save time). I need to wait until the retrospectives are done before I try all of them.

Ignore part of the above comment, I've got the correct calculation now, but it is very different from last year. Previous years tables were wrong.

do you need any input from me anymore?  A couple quick comments:
It shouldn't matter which calculation we do as long as what's in the table matches the caption (i.e., the exploitation rate is calculated using catch and population size in the same units - biomass or numbers).  I personally think biomass is better.  And yes, given the mismatch in previous years it seems logical that numbers would change a bit.  Given that Table 20 (exploitation rate) comes right after tables for catch-at-age in biomass and population size-at-age in biomass, I bet the exploitation was meant to be presented in terms of biomass.  Good find and fix!

I did both ways - catch_at_age_biomass / biomass_at_age and catch_at_age_numbers/ numbers_at_age and had that moment of joy when I saw that they both results were exactly the same.
Is there a reason that the Numbers-at-age table has a plus group when the other ones don't ? I don't see a need to keep it that way unless there is a good reason.

Stock synthesis is setup to track ages up to 20 in the population (population bins) but only 15 in the catch data (data bins), but both act as plus groups.  Given the paucity of hake older than 15, we could just have all these tables show a 15+ group and that way there are not as many columns (?).

Or have all of them just go to 20, but technically the 20 is a plus group too

OK, I will leave them all at 20 for now. It is easy to change this later once we have a look.


feat(users): add create user form

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Document WordArray rule

The Style/WordArray rule and its options were not well documented in the default configuration file.  After doing some digging, I've written some brief documentation for those options.

:+1: Thanks!


trivial: update log error whitelist

Again seeing an error in this build, weird.
https://travis-ci.com/github/lightningnetwork/lnd/jobs/504175799

This error is gone. Will send a PR to fix if it ever pops up again.


[BUG] hybracter install problem

Hi George,
Thank you for such great tool!
 Using existing config file.
[2024:06:06 21:29:03] Updating config file with new values
[2024:06:06 21:29:03] Writing config file to temp/config.yaml
[2024:06:06 21:29:03] ------------------
[2024:06:06 21:29:03] | Runtime config |
[2024:06:06 21:29:03] ------------------
args:
databases: /media/jang/SSD2/databases/hybracter_db
log: temp/hybracter.log
medaka: true
output: temp
qc:
compression: 5
hostRemoveFlagstat: -f 4 -F 3584
minimapIndex: -I 8G
minimapModel: map-ont
resources:
big:
cpu: 16
mem: 32000
time: '23:59:00'
med:
cpu: 8
mem: 16000
time: 08:00:00
sml:
cpu: 1
mem: 4000
time: 00:00:05
[2024:06:06 21:29:03] ---------------------
[2024:06:06 21:29:03] | Snakemake command |
[2024:06:06 21:29:03] ---------------------
snakemake -s /home/jang/miniconda3/envs/hybracter/lib/python3.12/site-packages/hybracter/workflow/install.smk --configfile temp/config.yaml --jobs 1 --use-conda --rerun-incomplete --printshellcmds --nolock --show-failed-logs --conda-frontend mamba
Config file /home/jang/miniconda3/envs/hybracter/lib/python3.12/site-packages/hybracter/workflow/../config/config.yaml is extended by additional config specified via the command line.
Assuming unrestricted shared filesystem usage.
Building DAG of jobs...
Creating conda environment /home/jang/miniconda3/envs/hybracter/lib/python3.12/site-packages/hybracter/workflow/envs/plassembler.yaml...
Downloading and installing remote packages.
CreateCondaEnvironmentException:
Could not create conda environment from /home/jang/miniconda3/envs/hybracter/lib/python3.12/site-packages/hybracter/workflow/envs/plassembler.yaml:
Command:
mamba env create --quiet --no-default-packages --file "/media/jang/SSD2/genome_analysis/test_hybracter/.snakemake/conda/15bfb960cecdaf8262a624235f71c2d6_.yaml" --prefix "/media/jang/SSD2/genome_analysis/test_hybracter/.snakemake/conda/15bfb960cecdaf8262a624235f71c2d6_"
Output:
warning  libmamba Could not parse mod/etag header
warning  libmamba Could not parse mod/etag header
warning  libmamba Could not parse mod/etag header
warning  libmamba Could not parse mod/etag header
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working...
done
ERROR conda.core.link:_execute(952): An error occurred while installing package 'conda-forge::perl-5.32.1-7_hd590300_perl5'.
Rolling back transaction: ...working... done
[Errno 22] Invalid argument: '/media/jang/SSD2/genome_analysis/test_hybracter/.snakemake/conda/15bfb960cecdaf8262a624235f71c2d6_/man/man3/App::Cpan.3'
()
[2024:06:06 21:31:01] ERROR: Snakemake failed
When I tried to run all of the tests using commands:
hybracter test-hybrid
hybracter test-long
everything worked fine.
Any hints?
Bests,
Jan

Hi @gaworj ,
This is a weird error - it looks like perl in the plassembler environment couldn't solve. Never seen it before and doesn't make too much sense as the environment installation must have worked if the tests did.
Do you have access to singularity/docker? I'd recommend the container installation (in the README) as you don't need to install a database.
George

Hi George,
I was working on Ubuntu 16.04 with Conda 4.14.0.  When switched to another workstation witn Ubuntu 20.04 and newest mamba everything worked fine.
OK, I will try to install it on the first system using docker.
Bests,
Jan