Limit the gem native build resources

Addresses issue #9861
When building the native extension make -j can absorb all available
resources on a system.  Implement "reasonable" limits on the number
of compiling jobs when the number of processors can be detected and
use a conservative count when ruby version does not provide detection.
A 1.1.x release containing this would be greatly appreciated.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

I signed it!

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

jenkins: this is ok to test

Test failures here do not look to be related to the PR.  Is there anything I should do here to move this along?
Also, should I change the target branch to v1.1.X?

actually @Op3n4M3 yes I think so, could this please be reopened against v1.1.x

Rebased and target changed here.

A couple of test issues which don't like failures but seem strange (these look like new tests).

"gRPC PR Bazel Basic"

shows "Can't define which status to set" here, but in the log it looks like it succeeds (https://grpc-testing.appspot.com/job/gRPC_pull_requests_asan_cpp/2460/console)

"gRPC_pull_requests_asan_cpp"

shows "Can't define which status to set" here, but in the log it looks like it succeeds
(https://grpc-testing.appspot.com/job/gRPC_pull_requests_Bazel_basic/1576/console)

there are no other test failures here, but from the "Can't define which status to set" errors worried something strange happened to the git history with the rebase/target change.
jenkins: test this please

Is there a release scheduled for 1.1.x to get a new ruby gem with this in it?
Also I noticed https://github.com/grpc/grpc/pull/9983 merged to master in prep for 1.2.0 would be great to see this make already available when 1.2.0 is cut.


Error: Form too large9759838>1048576

I have a document with 870000 records, i try to cluster them
i select all, and hit merge selected and close.
I get this error
Error: Form too large9759838>1048576

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

I propose to increase the default maximum form size (still letting users define their own in refine.ini) and close this.

@tfmorris thanks for the enhancement :) Open Refine is the best thing that i found online for Data Cleaning, thanks for making this happen :)
@wetneb at least from my side, that could be useful, so that less persons end up with this message.

Potentially related to #2235.


Create Search Input For Search Page

💡 Description
Search page needs a search bar. Designs have changed to look like this:

⚔ Parent Epic / Related Tickets
No response

Updated Textfield styles and added variant for search bar in https://github.com/NASA-PDS/wds-react/commit/9c78bfe6152930c5c28b068ede2ea5fc8f6b6dc9

Merged in https://github.com/NASA-PDS/portal-wp-tasks/issues/58


What is the license for Saving and Loading Gluon Models?

Description
(Brief description of the problem in no more than 2 sentences.)
I found this tutorial: https://mxnet.incubator.apache.org/tutorials/gluon/save_load_params.html
What is the license for the code?

All code in mxnet repo, unless otherwise stated, is under apache 2.0.

@mxnet-label-bot [Question]

@rozaliyaeverstova It seems that your question got answered
@sandeep-krishnamurthy Could you please close the issue
@rozaliyaeverstova Please feel free to reopen if closed in error.


Slow API calls - backport #1262, #1258, #1213, #1229 and #1209 (release-1.18)

Backport #1262, #1258, #1213, #1229 and #1209 to get rid of API call measurement flakes due to single slow API calls breaking the latency SLOs.
/sig scalability
/cc jkaniuk
/cc mm4tt
/cc wojtek-t

/lgtm
/approve


Fix - use selector instead of js var when rendering field

When the Select2Widget is rendered it doesn't output the hashedSelector JS var to be used with the select2 function causing JS errors. This fix probably isn't the correct implementation but fixes the issue for me on ModelSelect2Fields.

Hi @destos,
could you provide me with more information regarding the error?
What JS errors do you get, and using which browser?
Thanks,
Joe

fixed in 12b00c108408a98bfe4b9a214d4c94592e1f2b54


output="html" causes unintentional focus

I have a Vue file that iterates over a JSON object and generates a form based on the data (it is nested and has siblings) - the end effect is I have multiple inputs and some use the Quill editor in place of a textarea.
When applying :content="value" (value being my iterated value from my key:value pair) I need to also add output="html" in order to show the value (the value is HTML). The problem is when doing so I am it seems when the Quill editor is rendered it is also getting a focused on. This might seem a bit trivial but I have rather large forms and if after render the last editor is focused on that means the user ends up at the bottom of the page instead of at the top where they started. Additionally some of the form content is hidden and when the focus is trigger is causes a weird positioning in the visible area.
Ultimately I don't see a reason why the Quill editor should get focused on automatically as this type of behavior is not inherent in standard input types.

I have double checked the code and built a sandbox but I can't seem to replicate your issue?
https://codesandbox.io/s/qqr13100y4
Could you have a look at that and tell me if I am missing something?

Ah sorry, I think I figured it out. When mounting a HTML editor, it used the deprecated pasteHtml method which was stealing focus.
I have changed this to set the raw html of the editor instead and published a new pre-release version (v1.5.0-0) for you to try out. I have updated the above sandbox to use this pre-release if you want to test in isolation.

Confirming change is working - I used the pre-release on my local because of the complexity of my specific iteration of the issue.
Thanks!

Ah, seems to be happening on Firefox specifically.

@BrockReece maybe this https://github.com/surmon-china/vue-quill-editor/pull/263 may point you in the right direction?
They also discussing the same issue in the React wrapper https://github.com/zenoamaro/react-quill/issues/317


The request was aborted: Could not create SSL/TLS secure channel.

Hello,
I correctly registered the file that I downloaded from here but when I run the GET query I receive this error:
Msg 6522, Level 16, State 1, Line 2
A .NET Framework error occurred during execution of user-defined routine or aggregate "clr_http_request":
System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
System.Net.WebException:
at System.Net.HttpWebRequest.GetResponse()
at UserDefinedFunctions.clr_http_request(String requestMethod, String url, String parameters, String headers, Int32 timeout, Boolean autoDecompress, Boolean convertResponseToBas64)

I'm on SQL Server 2019, I believe the C# request needs to be updated
I also noticed that on SQLServerCentral the .zip file contains the .DLL , here on GitHub there is no .DLL ?

Hi Francesco,
The DLL you downloaded from SQLServer Central is outdated and does not support TLS.
Please refer to this repository releases page for a compiled DLL:
https://github.com/MadeiraData/ClrHttpRequest/releases/
Let me know if you require further assistance.

You are right, I was using the outdated one.
I now have used the new one but I'm facing problems with the deployment query: Incorrect syntax near...

in fact the deployment query has a lot of troubles:
Msg 102, Level 15, State 1, Line 16
Incorrect syntax near ':'.
Msg 1038, Level 15, State 4, Line 19
An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.
Msg 1038, Level 15, State 4, Line 20
An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.
Msg 102, Level 15, State 1, Line 23
Incorrect syntax near ':'.
Msg 102, Level 15, State 1, Line 30
Incorrect syntax near ':'.
SQLCMD mode must be enabled to successfully execute this script.
Msg 911, Level 16, State 1, Line 57
Database '$(DatabaseName)' does not exist. Make sure that the name is entered correctly.
Msg 911, Level 16, State 1, Line 258
Database '$(DatabaseName)' does not exist. Make sure that the name is entered correctly.

You need to enable SQLCMD mode before executing this script.
For more info:
https://www.sqlshack.com/use-sqlcmd-commands-ssms-query-editor/

Thanks for the link, you teach me something today.
I suggest you to add to the deployment query:

IF  EXISTS (SELECT * FROM sys.server_principals WHERE name = N'lgn_clr_http_request')
    DROP LOGIN [lgn_clr_http_request]
IF  EXISTS (SELECT * FROM sys.asymmetric_keys WHERE name = N'key_clr_http_request')
    DROP LOGIN [key_clr_http_request]

Thanks for the suggestion, Francesco.
Those commands may have only been necessary in your case because you tried to deploy both mine and Eilert's version, so they conflicted with each other (they both have the same encryption key).


Create Welcome “tk.stories”

Automatically generated by Netlify CMS

👷 Deploy Preview for eloquent-brahmagupta-73fcc0 processing.

Name
Link

🔨 Latest commit
c1cdf8f154b4205399f90af6d4d21ff7b4560a91

🔍 Latest deploy log
https://app.netlify.com/sites/eloquent-brahmagupta-73fcc0/deploys/623c9a751844090008cf7c04


Bug: Text element doesn't take the width of the text

Describe the bug
Text elements width doesn't actually represnt what's in them

Noticed that Elements width actually depends on the size of the  text regardless of it's length.


Script for Ubuntu Server 20.04 LTS

Can you make a script for new LTS Ubuntu for RPI-4 64-bit? Thx

Any chance to get "X735 v2.1" board supported with Ubuntu 20.04.1 LTS ?

Any chance of a reply, please?

Any chance of a reply, please?

Could you please tell us, which GPIO-library/application is necessary to run this script?
Maybe there is a simple solution for this problem.
By the way, I am running Xubuntu 20.10 on the Raspberry Pi 4.

Could you please tell us, which GPIO-library/application is necessary to run this script?
Maybe there is a simple solution for this problem.
By the way, I am running Xubuntu 20.10 on the Raspberry Pi 4.

Hey I made a systemd service for the X735 which you should be able to use since Ubuntu uses systemd.
https://github.com/linus307/x735-Systemd-service

Hey I made a systemd service for the X735 which you should be able to use since Ubuntu uses systemd.
https://github.com/linus307/x735-Systemd-service

Thank You @linus307 for your effort. But there is one more thing. Can you fix also reboot command? After "reboot" command the computer not start again. The original script had solution also for reboot. thx

@alikej There is no such issue I'm aware of, with this solution.


Fix HostnameActions aborting request to the Sytem site

Adding a check to check if the request is for the System by matching the http host against user configured default hostname and only abort if it doesn't match

I'm not sure I understand the intent here.  This code is aborting if a Hostname record is found (i.e. associated with a tenant), AND that tenant has force_https set to true, AND the incoming request is not secure (i.e. not using HTTPS).  It seems reasonable to abort in that case.  What does a system hostname have to do with this case?  HostnameActions middleware shouldn't apply to non-tenant requests

Well, the HostnameActions is loaded via the default tenancy.php config under the middleware section [ at least under version 5.6.2 ], so not sure if that is intended for tenants only or including system site.
In my case, the system site has route that uses subdomain like api.system.com, which is a valid subdomain for system callback but not a valid tenant, thus need the fix to check for fqdn and pass it to system and let system decide if it is a valid callback or not.

So do you have a record in websites AND hostnames for api.system.com?

no, there is no record at websites for api.system.com as it is not a "tenants" but a sub domain of "system"

That's why I was asking.  If you don't have a "website" record for it, then it won't be loaded as a tenant and therefore this code shouldn't run.  I think you might have something else going on.  Can you ask in our discord server so we can have a more direct discussion on this?

It wasn't intended to be run as a "tenant", but it should be run as a "system/landlord" but multitenancy will treat it as a tenant thus the middleware is fired.
Maybe I'm missing something? can you show me the code where the middleware is locked to tenants request only?


Strongly type Observable Error

RxJS version<EMAIL_ADDRESS>Code to reproduce: none
Expected behavior: Observable<T,E> should be used for definition where E tell type of error to be expected
Actual behavior: Observable<T> where error is typed as any
Additional information: Typescript 2.3 provide default type for generics using that we can have Observable<T,E=any> for backward compability

I disagree. TypeScript does not have error types.
In Java, thrown error types are part of the interface contract, declared with throws. This does not exist in TypeScript, only the return type is part of the interface contract. The error type could be anything if you call other functions, so you should do runtime type checking, like checking for an error code.
Consequently, Promises don't have an error type, and Observables shouldn't either.

Here is a use case I often run into:
  put<T>(path: string, body = {}): Observable<T> {
    return this.http
      .put<T>(`${environment.apiUrl}${path}`, JSON.stringify(body), {
        headers: this.setHeaders(),
      }).pipe(
        catchError((err: HttpErrorResponse) => throwError(new DomainError(err.error.message)))
      );
  }

In this example code the intention is that I want to translate the HTTP error to my specific domain error.
The caller of the put wrapper can therefore expect either a value of type T or an error of type DomainError. However the error is typed as never/any.
Also note that I had to type the error as HttpErrorResponse otherwise the "HttpClient" from Angular would type it as any even though from the documentation I imagine that the intention was a typed error but they had no way to type it.

Was about to make an issue, but this seems close enough...
It'd be great if throwError accepted a type argument. At present, the first argument of throwError is any.     (Gitter discussion).
Our use case is simple.  A trading platform where an order can either succeed or fail.  If it fails, we want to terminate the stream, update the UI etc.
Consider this example:
// order.service.ts
submitOrder (order) { // implicitly Observable<Order>

  return this.http.post<Order>(order).pipe(

    // switch to stream of order events
    switchMap(orderId => this.orderEvents$.pipe(filterById(orderId)),

    // throw error if order fails
    switchMap(order => order.status === 'error' ? throwError(order) : of(order))
  );
}

// some-component.ts
this.service.submitOrder(order).subscribe(
  successfulOrder => { ... },   // implictly type as `Order`
  failedOrder => { ... }        // typed as `any`
);

Were throwError to accept type arg:
switchMap(order => order.status === 'error' ? throwError<Order>(order) : of(order))

...we would have implicit typing.  Without the need to coerce the type in each case of submitOrders usage.

@kyranjamie Strongly typing throwError still wouldn't allow the error in the subscribe callback to be typed differently. See Felix's comment above. If the type declarations for the error callback in subscribe are to be changed at all, they should be changed to unknown - when that top level type becomes available - because that's what they are.

Btw, the equivalent issue in TypeScript is https://github.com/Microsoft/TypeScript/issues/13219. If we ever get that issue (declarations for exceptions a function can throw), Promise would be changed to have an error type, and then Observable should be changed too. Until then, rxjs should stay consistent with how TypeScript treats synchronous exceptions and Promise rejections (including, the error type should only become unknown if promise.catch() changes any to unknown).

@felixfbecker This is an interesting point, however the developer can assert the type of observable errors and promise rejections, yet cannot specify these assertions as type parameters, while TypeScript could enforce that type contract in subscribers. TS cannot enforce that type on the provider side, but do two wrongs make it right?
I understand that the final error is a union of all possible errors in the chain (whether it's JS stack, Promise chain, Observable operator chain), so probably every then and every operator could convert error type to any, but being able to assert the error type in a final constructed Observable would be absolutely great and it doesn't require syntax additions to TS to specify possible function throws.


Download SNPE model: Name or service not know

🙇
ERROR logs as below:
root@cross-compile:/opt/mobile-ai-bench# python ./tools/benchmark.py --frameworks=SNPE                     [83/99]
Prepare to run models on armeabi-v7a
* Build //aibench/benchmark:model_benchmark with ABI armeabi-v7a
/system/lib/libcdsprpc.so does not exists! Skip DSP.
INFO: Analysed target //aibench/benchmark:model_benchmark (17 packages loaded).
INFO: Found 1 target...
Target //aibench/benchmark:model_benchmark up-to-date:
  bazel-bin/aibench/benchmark/model_benchmark
INFO: Elapsed time: 9.494s, Critical Path: 0.71s
INFO: 3 processes, local.
INFO: Build completed successfully, 5 total actions
Build done!

=====================================================================
Trying to lock device ac516aca
Run on device: ac516aca, sdm660, Mi Note 3
Adjust power to performance mode on ac516aca, sdm660
adbd is already running as root
remount of /system failed: Read-only file system
remount failed
/system/bin/sh: can't create /sys/class/devfreq/1d84000.ufshc/governor: No such file or directory
/system/bin/sh: can't create /sys/class/devfreq/aa00000.qcom,vidc:arm9_bus_ddr/governor: No such file or directory
/system/bin/sh: can't create /sys/class/devfreq/aa00000.qcom,vidc:bus_cnoc/governor: No such file or directory
/system/bin/sh: can't create /sys/class/devfreq/aa00000.qcom,vidc:venus_bus_ddr/governor: No such file or director
y
/system/bin/sh: can't create /sys/class/devfreq/aa00000.qcom,vidc:venus_bus_llcc/governor: No such file or directory
bsnpe_dsp_skel.so                                                                                [27/99]
Equal checksum with bazel-mobile-ai-bench/external/snpe/lib/dsp/libsnpe_dsp_domains_skel.so and /data/local/tmp/ai
bench/libsnpe_dsp_domains_skel.so
Equal checksum with bazel-mobile-ai-bench/external/snpe/lib/arm-android-gcc4.9/libSNPE_G.so and /data/local/tmp/ai
bench/libSNPE_G.so
Equal checksum with bazel-mobile-ai-bench/external/snpe/lib/arm-android-gcc4.9/libsymphony-cpu.so and /data/local/
tmp/aibench/libsymphony-cpu.so
Equal checksum with bazel-mobile-ai-bench/external/snpe/lib/arm-android-gcc4.9/libSNPE.so and /data/local/tmp/aibe
nch/libSNPE.so
Equal checksum with bazel-mobile-ai-bench/external/snpe/lib/arm-android-gcc4.9/libsymphonypower.so and /data/local
/tmp/aibench/libsymphonypower.so
Equal checksum with bazel-mobile-ai-bench/external/snpe/lib/arm-android-gcc4.9/libsnpe_dsp_domains.so and /data/lo
cal/tmp/aibench/libsnpe_dsp_domains.so
Equal checksum with bazel-mobile-ai-bench/external/snpe/lib/arm-android-gcc4.9/libsnpe_adsp.so and /data/local/tmp
/aibench/libsnpe_adsp.so
Equal checksum with /opt/android-ndk-r15c/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libgnustl_shared.so a
nd /data/local/tmp/aibench/libgnustl_shared.so
Equal checksum with /opt/android-ndk-r15c/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libgnustl_shared.so a
nd /data/local/tmp/aibench/libgnustl_shared.so
downloading inception_v3_quantized.dlc...
Traceback (most recent call last):
  File "./tools/benchmark.py", line 225, in <module>
    main(unused_args=[sys.argv[0]] + unparsed)
  File "./tools/benchmark.py", line 217, in main
    frameworks, model_names, runtimes, output_dir=FLAGS.output_dir)
  File "/opt/mobile-ai-bench/tools/sh_commands.py", line 340, in adb_run
    output_dir, frameworks, build_mace)
  File "/opt/mobile-ai-bench/tools/sh_commands.py", line 288, in prepare_all_model_and_input
    device_bin_path, output_dir)
  File "/opt/mobile-ai-bench/tools/sh_commands.py", line 264, in prepare_model_and_input
    download_file(models_inputs, file_name, output_dir)
  File "/opt/mobile-ai-bench/tools/sh_commands.py", line 156, in download_file
    urllib.urlretrieve(url, file_path)
  File "/usr/lib/python2.7/urllib.py", line 98, in urlretrieve
    return opener.retrieve(url, filename, reporthook, data)
  File "/usr/lib/python2.7/urllib.py", line 245, in retrieve
    fp = self.open(url, data)
  File "/usr/lib/python2.7/urllib.py", line 213, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.7/urllib.py", line 443, in open_https
    h.endheaders(data)
  File "/usr/lib/python2.7/httplib.py", line 1053, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 897, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 859, in send
    self.connect()
  File "/usr/lib/python2.7/httplib.py", line 1270, in connect
    HTTPConnection.connect(self)
  File "/usr/lib/python2.7/httplib.py", line 836, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python2.7/socket.py", line 557, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
IOError: [Errno socket error] [Errno -2] Name or service not known

@ysh329 The previous links were broken. They are fixed now and you can pull the latest code to have a try.

@llhe Thanks! bother you again 👍 😆


Add a bit of a gradient to the header and maybe the footer

Currently looks like this:

I've been trying this out on Datasette Cloud for a while and I like it:

Here's the CSS I added to Datasette Cloud to get this:
body header {
    background: linear-gradient(180deg, rgba(96,144,173,1) 0%, rgba(39,104,144,1) 50%);
}
body .nav-menu-inner li {
    padding: 0.3rem 0.5rem;
    border-top: 1px solid #ffffff69;
}
body details .nav-menu-inner {
    top: 2.6rem;
    padding: 0;
}

Now live on https://latest.datasette.io/


Change domain name rustdesk server

Hello,
I used the install script to make my own self hosted server for Rustdesk. During the installation, I defined the domain name but it is not the good. Where I can change it ?
Thanks.
Note: Do you know the difference between rustdesk-1.2.2-x86-sciter.exe and rustdesk-1.2.2-x86_64.exe files ? Do you know the way to use the quick support feature with the client (Windows) ?

The domain only points to the IP so you can just change it.
Sciter is the framework that was used before flutter, it works better on some older machines

@dinger1986: is your rustdesk script create a config file ? where are stored the information during the installation ?
About the two .exe files, I have to choose which one ?  rustdesk-1.2.2-x86_64.exe ?
QuickSupport feature is available since 1.2.0 version.

For now, I only created the self hosted server on Linux. I defined an IP and a domain name for rustdesk server on my local network. I have not yet used client files for WIndows.

ok, so nothing should need to be changed

Ok. ;-)
For the Windows client, I use the  rustdesk-1.2.2-x86_64.exe file ?

yes

I don't need to install it, it can be used as a portable version, isn't it ?

Ok. Thanks for your help and your work.
Regards.


use modern sbt launch script on all nodes not just master

fixes #138

tested in production. for some reason running chef-client on jenkins-master caused behemoth 1 to update its sbt script, but behemoth 2, not. I manually updated behemoth 2 and I'm just going to cross my fingers that it was sunspots.


Scala 3.5.0  -Ykind-projector is deprecated

Option -Ykind-projector is deprecated: Use -Xkind-projector instead

fixed in #227

Hello.
Thanks for this work !
Would it be possible to release a version with this fix?
Best regards

hey, I just created a release for it: https://github.com/typelevel/sbt-tpolecat/releases/tag/v0.5.2 hope it goes through soon 🤞


Added Articulation points in an Undirected Graph

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Added Articulation points in an Undirected Graph code in C++
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#1895

Nice work thanks for your contribution

Nice work thanks for your contribution


Android Workflow

Please make your Android app workflow to the public!

Please discuss such topics on the platform.


Load INC GPTQ checkpoint & rename params

Added load options for different GPTQ checkpoints.
Modified the load params accordingly
Same branch as https://github.com/huggingface/optimum-habana/pull/1364 but for main

@HolyFalafel I'm going to cherry-pick in main all the changes that were merged directly into the v1.14-release. So, if this PR is the same as #1364, it shouldn't be needed.

@HolyFalafel I'm going to cherry-pick in main all the changes that were merged directly into the v1.14-release. So, if this PR is the same as #1364, it shouldn't be needed.

OK, no problem.
Closing.
Thanks!


TPS drop on World Generation.

TPS drops on world generation. (without plugins)
TPS:

Version:

On spongevanilla-1.12.2-7.1.0-BETA-42(latest) TPS dorps too.
Processor:

Boot script:
chcp 65001 title TestHOLDER cls "C:\Program Files\Java\jdk1.8.0_151\bin\java.exe" -Xmx1G -Xms1G -Dfile.encoding=UTF-8 -jar "spongevanilla-1.12.2-7.1.0-BETA-33.jar" pause
OS:
Windows 10
Timings:
https://timings.aikar.co/?id=cf6304e1308046458be0c31d8983cc49

pretty much what @Rasgnarok said, we already have multiple patches that improve generation peformance a bit
but you are still limited in performance due to generation being single threaded like most of this game


Create composable for ui-state.ts

As we have created composable for UI helpers (ref: https://github.com/DivanteLtd/vue-storefront/pull/4853), would be nice to create a composable that handles the UI state (useUiState) that currently is as a separated file ui-state.ts

Proposed API
const {
  isCartSidebarOpen,
  isWishlistSidebarOpen,
  isLoginModalOpen,
  isCategoryGridView,
  isFilterSidebarOpen,
  toggleCartSidebar,
  toggleWishlistSidebar,
  toggleLoginModal,
  toggleCategoryGridView,
  toggleFilterSidebar
} = useUiState()

It should be in theme/composables/useUiState.ts of nuxt theme module


Add "-w" flag to create component action

This -w flag (watch/wait) would block the shell until the component is ready to use, so it'll monitor that the component deployment is active and prevent the user to take any action before. If the flag is not specified, the command should exit as soon as possible, and potentially we can add a status action to tell us if the component is ready to push.

prerequisite: #556

Blocked on #556

Unblocked after merging #622

This should be implemented  similarly to https://github.com/redhat-developer/odo/issues/846

so this means If -w flag is present then show the logs and block the shell. on
odo create python --git https://github.com/openshift/django-ex.git
other wise exit the command without showing the msg Component 'xxxxxx' was created and port xxxx/TCP was opened ?
@kadel @jorgemoralespou

so this means If -w flag is present then show the build logs and block the shell. on
odo create python --git https://github.com/openshift/django-ex.git
other wise exit the command without showing build logs and the msg Component 'xxxxxx' was created and port xxxx/TCP was opened ?

yes

also what does it mean by  status action to tell us if the component is ready to push.?

I think that this is realted to #830.  That is something that we will add later.


Placement of Toast Notification

Is it possible to change the placement of toast notification from bottom to center of screen

No
Use Acr.UserDialogs.  Use the ShowSuccess and ShowError methods (they are only available for iOS and Android at the moment)


Fix test failure of binomial distribution in Windows

numpy.random.binomial requires n to be able to cast to long.
https://github.com/numpy/numpy/blob/v1.15.0/numpy/random/mtrand/mtrand.pyx#L3786
This PR depends on #1757.

Jenkins CI test (for commit fadc01025777c0a9c90fc2f8fa5d564048d6f200, target branch master) succeeded!

Please rebase or merge master.

Rebased.
Jenkins, test this please.

Jenkins CI test (for commit 5839ddd9f14a160fd64b658aa7b732d894fa5aa7, target branch master) succeeded!

LGTM except comment.

Jenkins CI test (for commit 3267ff11b1e112fa5b88ba86919a81808921bcf9, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Test failures are not related to this PR.

LGTM!


Align default login attribute across services

Description
Up to now the builtin lico was using the "username" as the login
attribute, while the proxy (and to some extend the auth-basic) service
tried to uniquely identify users by mail address. This aligns the
default configuration of the services to use the username everywhere.
Related Issue

Fixes https://github.com/owncloud/ocis/issues/4039

:boom: Acceptance test Core-API-Tests-ocis-storage-2 failed. Further test are cancelled...


After "const copy = response.clone();" the variable copy is never used

Looks like a bug: after "const copy = response.clone();" the variable copy is never used.

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

ID: 71d03146-4e21-71cc-6892-bb6d82c9ace3
Version Independent ID: 6d9c64d5-6b34-71ef-9aaf-e038a7382b5b
Content: Offline and network connectivity support in Progressive Web Apps - Microsoft Edge Development
Content Source: microsoft-edge/progressive-web-apps-chromium/how-to/offline.md
Product: microsoft-edge
Technology: pwa
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

Thanks a lot for reporting this. You are right, this is a bug in this particular code snippet.
The issue will be fixed by #2334, which is being reviewed now and should be merged very very soon!


build-fhs-userenv passes through command line args

The motivation for this change is to allow things like the
following derivation, which wraps the debian-packaged
hello binary.
let nixpkgs = import  {};
stdenv = nixpkgs.stdenv;
in rec {
dumb-hello = stdenv.mkDerivation {
name = "dumb-hello";
builder = ./builder.sh;
dpkg = nixpkgs.dpkg;
src = nixpkgs.fetchurl {
url = "http://ftp.us.debian.org/debian/pool/main/h/hello-traditional/hello-traditional_2.9-2_amd64.deb";
md5 = "f5f3c28b65221dae44dda6f242c23316";
};
};
full-hello = nixpkgs.buildFHSUserEnv {
name = "full-hello";
targetPkgs = pkgs: [ dumb-hello ];
multiPkgs = pkgs: [ pkgs.dpkg ];
runScript = "hello";
};
}

For the future, please enclose that code withing the three backticks `.

Also you don't need a builder.sh there:
  unpackPhase = "ar x $src; tar xf data.tar.xz";
  installPhase = "mkdir $out; mv usr/bin $out/";

Looks fine, tested it. Thanks.


fixes old sass var in css config

There was an old sass variable in the config.css file that breaks for css-only setups.

Thanks!


[Bug]: Expected where to have exactly one operator

What happened?
While performing a really simple query like Give me 10 users with chroma db as the vector db backend for our internal tool, we came across the error: Expected where document to have exactly one operator, got {}. Seems like there is a hard check in chroma db where the validate_where function only accepts a dictionary with one parameter present while we are passing None and hence it is failing.
Environment

we tried with two version of python: python3.11 and python3.9.16
ChromaDB as the vector DB
FastAPI based backend which we are using to query LLM models.

Steps to reproduce

Attempt a simple Chroma DB collection query without complex filtering
Observe the Expected where to have exactly one operator error

Workaround
Temporarily removing the validation resolves the immediate issue, but is not recommended as a long-term solution.
Proposed Solution
Update the validate_where function to:

Allow empty or minimal query filters
Provide more flexible validation for query construction

Versions
Chroma v0.5.20, Python3.11.7, Python3.9.16
Relevant log output
ERROR:app.db.chroma_client:Error searching prompts: {"error":"InvalidArgumentError","message":"Expected where document to have exactly one operator, got {}"}
ERROR:app.services.rag_service:Error getting query context: {"error":"InvalidArgumentError","message":"Expected where document to have exactly one operator, got {}"}

@vishutyagi, the issue is likely due to your client version not matching your server version. In 0.5.17 Chroma no longer allows empty where clauses. Have a look here - https://docs.trychroma.com/deployment/migration#v0.5.17
The solution would be to make sure your server and client use the same version.

dang, just encountered this through llama-index vector lib
something as simple as
vector_store = ChromaVectorStore(chroma_collection=chroma_collection)
    index = VectorStoreIndex.from_vector_store(
        vector_store,
    )
    query_engine = index.as_query_engine(chat_mode="best", llm=llm, verbose=True)
    response = query_engine.query("summarize this code")

Hi @epuerta9. The solution is indeed to have both your Chroma client and server with the same version, preferably the latest one. If you use Chroma via LlamaIndex you can still upgrade Chroma and things should work just fine.


Cannot check out PR for Classroom repos

Extension version: 0.1.6
VSCode Version: 1.27.2
OS: Linux Mint Cinnamon 64-bit

Steps to Reproduce:

Create classroom assignment with a starter-code repository.
Students accept assignment, do their work, commit, push and create a PR with me as reviewer.
I download all assignment repositories via Classroom Assistant.
When I check out the PR I get this error:
fatal could not read Username for 'https://github.com'
no such device or address

This error comes from the PR extension.
Screenshot: https://imgur.com/a/9zZzGfD
I am the owner of the classroom and default owner of all repos in the organization connected with the classroom. I verified that I am owner of the repos in question.
I am logged in on GitHub with the PR extension.

Hey @BrianEmilius, thanks for the info. This looks related to https://github.com/Microsoft/vscode-pull-request-github/issues/273. When the extension is trying to check out a PR and the remote doesn't exist locally, it creates one in https format.
Can you take a look at the config file in the .git folder of the repository? Each remote should have a section that looks like
[remote "6A"]
   url = https://github.com/6A/vscode
   fetch = +refs/heads/*:refs/remotes/6A/*
   github-pr-remote = true

As a workaround, you can try changing the url to match the format of [remote "origin"], probably something like git@github.com:<owner>/<repository>.
I'll close this as a duplicate and track this bug in https://github.com/Microsoft/vscode-pull-request-github/issues/273, but please respond here if the workaround doesn't work or you aren't using ssh

I am not exactly sure how the repos are cloned (ssh or otherwise), as I do it through the Classroom Assistant.

The [remote "origin"]section is present in the config file.
However, the URL part includes an accesstoken, which is currently how repos are cloned through the classroom assistant. I suspect this might be what is causing issues (expired tokens).


Nima - WebServer - Add configuration support for EXECUTOR_SHUTDOWN_MILLIS

Environment Details

Helidon Version: 4.0.0-SNAPSHOT
Helidon SE
JDK version: 20
OS: MacOS
Docker version (if applicable): NA

Problem Description
EXECUTOR_SHUTDOWN_MILLIS is hard coded to 500 and instead should be configurable [with a default of 500].
Refer https://github.com/helidon-io/helidon/blob/main/nima/webserver/webserver/src/main/java/io/helidon/nima/webserver/ServerListener.java#L59
Suggested change
Extend ListenerConfiguration to have a new gracefulShutdownMillis configuration property that defaults to 500L but can be set via configuration.
Modify ServerListener to use this gracefulShutdownMillis configuration property rather than the hardcoded 500L.
Alternative suggested change
Use a system property to allow for configuration like:
private static final long EXECUTOR_SHUTDOWN_MILLIS = Long.getLong("nima.gracefulShutdownMillis", 500L);

Reason
Some applications desire to have a graceful shutdown that is longer than the currently hardcoded 500 milliseconds.

This was already fixed by https://github.com/helidon-io/helidon/pull/6955


MB-10739 Ensure we're using the right duty station and report by labels while editing orders

Jira ticket for this change
Summary
This should make sure we're using the right labeling for the date and location fields on the OrdersDetailForm component. While I was in there I also moved the label formatting logic so that it's in a formatter function and added some storybook stories for these order types (also to cover some past work we did where I realized we didn't have that coverage).
Setup to Run Your Code

💻 You will need to use three separate terminals to test this locally.
Terminal 1
Start the Storybook locally.
make storybook

Terminal 2
Start the UI locally.
make client_run

Terminal 3
Start the Go server locally.
make server_run

Additional steps

Access the office app
Login as a services counselor
Edit orders and check to ensure the labels match what's prescribed in the jira task

Verification Steps for Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

Frontend

[ ] User facing changes have been reviewed by design.
[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] There are no new console errors in the browser devtools
[ ] There are no new console errors in the test output
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.

Backend

[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

Screenshots

Messages

:book:
:link: MB-10739

  Generated by :no_entry_sign: dangerJS against c300e7e2da6d4d68c880babbb0492d2b87aa20ac


CarStream not work

My phone has updated itself (via antivirus). AA reported error # 8 (bad data or Google Play Services). AA works only after updating the GPS to the latest version - CS does not work CS. will help

Latest play service update blocked car stream again.
Either roll back the version and freeze the play store to prevent updates or deal with it until someone finds a fix.

it seems we may reload the firmware again on SLDA. I disconnected the 4G still getting same error

I think there will be no more solutions, since play services also blocks the root

which combination of GPS version and AA version is working currently? i have GPS 12.8.72 and its not working. THX

none is working....

I have GPS 12.2.1 but still getting error 8

are you using AA 2.9? that along with GPS 12.2.21 is still working

I have AA 2.9 and GPS 12.2.21 and have issue #8. I think is bloced by phone update.

In other phone I have this same issue

I also have the same issue. Tried everything but still not working. Maybe koran lumar kan help?

Kiran Kumar or IT specialist, help solve the problem. The phone has root installed v AA.3.4.582533, v CS.2.0 and A A mirror plus. The problem is this: when you connect your android 7.1.2 phone to your computer, through the Android sdk everything is displayed. These applications are not present when connected in the car. When you install applications, the phone is fully formatted and reinstalled. Why there is an error number 8 when connecting in the car, if the installation of applications is done on a clean phone in which there is no sim card and the Internet is disconnected, before everything worked (AA 2.9.574923, CS 1.8.3).

But I have AA 2.9, CS 1.8.3 - and the problem whit #8.

the problem occurred when the antivirus updated the phone sdk. From that moment the reset does not help.

I have AA 2.9, CS 1.8.3 - and the problem whit #8. HTC U11

HTC U11 car steam 2
Error in executing command: sql exception:
unable to open database file(code 14); while compiling: PRAGMA jurmal_mode

how i can downgrade the gps?

Since 3 weeks aauto works anymore. If the handy connectet with Ford sync 3 a red display text with Connection error 8 is diplayed.
I use aa 2.9 and GPS 12.2.21
Has everyone a sollution for me please!!

Since 3 weeks aauto works anymore. If the handy is connected with Ford sync 3 a red display text with Connection error 8 is diplayed.
I use aa 2.9 and GPS 12.2.21
Has everyone a sollution for me please!!

Can anyone HELP here...... Since 3 weeks aauto works anymore. If the handy is connected with Ford sync 3 a red display text with Connection error 8 is diplayed.

I'ts no solution, maby eny magic help


Added aspect ratio feature

I added this function because I need it themselves.
Please register your repository in bower, otherwise your example $ bower install mr-image won't work.

Great feature! Thanks a lot for contribuiting.
I have just added the project to bower repository, sorry about that.
I will merge this and then update the demo.
I will put you as contributor (not as author) in the README and create a CONTRIBUTORS file, don't take this as an ofense please.
Thanks a lot!

Now it is in the demo page. I have fixed a problem with the two way binding of the aspectRatio variable. Thanks a lot @rboehme, great feature!

Great! Thanks for your implementation and mention.


Improve RTL in the walkthrough

A few things going on here:

[x] Tooltip placement math ignores RTL
[x] The navigation buttons should support RTL (probably going to switch these to display:flex too)
[x] curtain, curtain-tooltip, and intro-nav-wrap should all be under #id-container, not body, in order to pick up the dir=rtl attribute

curtain, curtain-tooltip, and intro-nav-wrap

[ ] also all comboboxes created by d3.combobox.js should be under #id-container not body


proper routing

Codecov Report

Merging #269 (fd81925) into master (05a2bf3) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #269      +/-   ##
==========================================
- Coverage   82.44%   82.37%   -0.07%
==========================================
  Files          39       39
  Lines        2951     2951
==========================================
- Hits         2433     2431       -2
- Misses        518      520       +2

Impacted Files
Coverage Δ

quetz/frontend.py
51.28% <100.00%> (+2.56%)
:arrow_up:

quetz/database.py
94.73% <0.00%> (-5.27%)
:arrow_down:

quetz/testing/fixtures.py
96.87% <0.00%> (-2.35%)
:arrow_down:

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 05a2bf3...fd81925. Read the comment docs.


Incompatible with Mystical Gears

Just posting for tracking as you continue your updates to resolve these dependencies as you rework the mod.

Latest BETA release should fix all incompatibilities with Mystical Gears. It's approval is currently pending, but here is the link
Please open a new issue if you encounter any errors. :)


Frontend API refactoring + new FE Python bindings

Details:

Frontend API refactoring + new FE Python bindings

Tickets:

52266

Closed as new API was not approved


Client Allocation Request for: Blue Cefa Technology Co., Ltd

Client Allocation Questions
Core Information

Name: Blue Cefa Technology Co., Ltd
Website / Social Media: http://www.bluecefa.com/
Region: Greater China
DataCap Requested: 5TiB
Addresses to be Notarized: f12rbwbf5skcll64tsdh5uyg3w43lc5qqr252msza
Notary Requested: philippbanhardt

Closing this application per https://filecoinproject.slack.com/archives/C01DLAPKDGX/p1612965452101400


Module Does Not Work and is not throwing an error

Describe the bug
Health estimate has stopped working and showing estimates in one of my game worlds. When I open the console I'm not seeing any errors. To further complicate matters, I have another game world which is replicating the exact same modules and settings as the other but Health Estimate is working perfectly well in that one.
Game Specifics:

Game System and version: dnd5e v2.3.1
Foundry v11.311

Was that world created before V11? If it did, could you try resetting the Style Settings?

i've had the same issue since i've updated it last week @mclemente my world was built before V11. i'm not seeing any error in the console it shows as loaded and rendering but nothing displayed on the tokens. i've tried uninstalling and reinstalling the module.

i've had the same issue since i've updated it last week @mclemente my world was built before V11. i'm not seeing any error in the console it shows as loaded and rendering but nothing displayed on the tokens. i've tried uninstalling and reinstalling the module.

I've tried resetting it it sorta works but the text is super tiny inside the health bar (i hide it from my players) and a diffirent font from before i think

Was that world created before V11? If it did, could you try resetting the Style Settings?

This particular world was created before V11 and the other that was working was created after.
I just reset the settings and it's working perfectly now. Thank you!

@cedpat4 have you reset the settings inside the Style Settings menu or just the main Settings Configuration window?
Otherwise, have you tried changing the Font Size setting?

I also had this issue, I reset settings and it fixed it but when I changed the estimations settings (I use different wordage than the default because we came from a home game) it breaks it again. Unsure what the problem could be.

@itsmeitmohthy that's weird. Are you even changing the JS Rules or just the estimations?
Can you send the changes over here?

Had the same error, resetting the Style settings reverted and fixed it. Thank you

@itsmeitmohthy that's weird. Are you even changing the JS Rules or just the estimations? Can you send the changes over here?

It seemed the issue was linked when having both always show Estimates and Show in Combat Only which... ya I guess that makes sense lol but my issues are all resolved thank you!


Package request: VGC

Project description
VGC is an upcoming suite of applications for graphic design and 2D animation, in which the lines and shapes you draw are connected to each others both in space and time, allowing for faster editing and inbetweening.
Metadata

homepage URL: https://www.vgc.io
source URL: https://github.com/vgc/vgc
license: apache 2.0
platforms: linux, darwin

Duplicate of https://github.com/NixOS/nixpkgs/issues/191477

I will keep this and close the old one.

The bug that was blocking @foo-dogsquared 's derivation has been closed. Does that mean it works?

Well, I can test this tonight.

This error still seems to happen. I hope this is a result of me writing the test derivation poorly.
`{ pkgs ? import  { system = builtins.currentSystem; }, stdenv ? pkgs.stdenv, lib ? pkgs.lib, fetchFromGitHub ? pkgs.fetchFromGitHub}:
pkgs.libsForQt5.callPackage ({ mkDerivation }: mkDerivation) {} rec {
name = "vgc";
version = "test";
src = fetchFromGitHub {
owner = "vgc";
repo = "vgc";
rev = "e7db360f27b059c3dfd0e002c6b29f6a558edd47";
sha256 = "sha256-yHQKOMBfMVS9+mwulgTEFOl9bE5CA+psJUaE432YTmo=";
fetchSubmodules = true;
};
nativeBuildInputs = with pkgs; [ cmake harfbuzz ];
buildInputs = with pkgs; [ python3 git freetype libGLU ];

}`

Above error was solved by pinning pkgs to a version where harfbuzz was at 6.0.0 using pkgs = import (builtins.fetchTarball {url = "https://github.com/NixOS/nixpkgs/archive/55070e598e0e03d1d116c49b9eff322ef07c6ac6.tar.gz";}) {};. However, it seems like while VGC was able to build, for some reason cmake did not install the resulting binary.


Fix internal docs links

I noticed that the links I modified yesterday got broken because I didn't link to .md, but left the links with no file extension.
For example:
- [Zone record](shipments#zones)
+ [Zone record](shipments.md#zones)

Seems like GitBook changes
[Zone record](shipments#zones)
to
[Zone record](https://github.com/spree/spree-dev-docs/tree/0628094f68853238d9b13aa3b24d7b1e1b13fca4/internals/shipments/README.md#zones)
(a commit pointing to README, but not even that as it points to README in internals/shipments)
This link seems to be converted correctly, but please check:
[Zone record](shipments.md#zones) => [Zone record](/internals/shipments#zones)
I found out that I need to add .md file extension from links on other docs pages that seem to work. For example:
https://github.com/spree/spree-dev-docs/edit/master/internals/products.md

This has been rebased on top of master now.


Post-4.0 Carthage support

Make sure you can integrate it into a project using either Swift 2.3 or 3.0.

I checked with @jdhealy and he may be able to look into it.

Carthage check is in CI, and looks good!


not downloading how to resolve it

Tidal-Media-Downloader-PRO)
how to resolve the download not working says failed
Describe your question
each time i click on download it says error and failed
Add screenshots
No response

Very poor explanation.
Did you check that 'base' folder (selected in 'Settings' -> 'Path') for downloading exists?


Package hash mismatch with custom pypi under 2023.8.19 and later

Issue description
Installing a package from a custom pypi registry with pipenv 2023.8.19 or later results in a hash mismatch:
[pipenv.exceptions.InstallError]: ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
[pipenv.exceptions.InstallError]:     redactedpackagename==1.2.3 from https://pypi.mycompany.com/packages/redactedpackagename-1.2.3.tar.gz#md5=d3c9c9a68fbe87a4f311ec99c61d97db (from -r /var/folders/6y/1rk0rt4j3l9gv6tjt5nxdzxm00058y/T/pipenv-x3ce9ww3-requirements/pipenv-oimob5k5-hashed-reqs.txt (line 1)):
[pipenv.exceptions.InstallError]:         Expected sha256 82118d948c6a96521a2a817a15ffb79ab88f23bc023b6295d945302013e6c1a7
[pipenv.exceptions.InstallError]:         Expected     or b18af6c93f5841f3471ef4be4f83ec0a002a8a4cf8c5742a6687844c155182f1
[pipenv.exceptions.InstallError]:              Got        93ac3f9c70d025f6ca0ee3d1d85077f28ade3d02a329d418c0c943a9a5b4afdf

I do not have reason to believe the packages have been tampered with, and the packages have not been changed, updated, or republished for well over a year.
Most telling, reverting to pipenv 2023.7.23 fixes the issue. The issue occurs under pipenv 2023.8.19, 2023.8.20, and 2023.8.21.
Expected result
I expected the custom pypi package to install without a hash mismatch.
Actual result
The above error message.
Steps to replicate

Publish a package on a custom/non-pypi registry

Create a Pipfile referencing the package:
[[source]]
url = "https://pypi.mycompany.com/simple"
verify_ssl = true
name = "mycompanypypi"

[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]
arrow = "==1.2.2"
redactedpackagename = {version="==1.2.3", index="mycompanypypi"}

[requires]
python_version = "3.11"

Run pipenv install --dev to lock dependencies and write out Pipfile.lock

After successfully writing out Pipfile.lock, pipenv errors as above

It's unclear to me where pipenv is getting the "Expected" hashes from when there was not a Pipfile.lock on disk until pipenv created it, after which it immediately disagrees with itself about what the hash ought to be. It seems as if the logic that writes Pipfile.lock is doing something incorrectly, and the system that verifies the actual hash is working correctly; For comparison's sake, if I fetch the redactedpackagename archive from mycompanypypi and sha256 it myself, I get the 93ac... hash that pipenv "Got".
Of note:

If I remove the redactedpackagename line from Pipfile and re-run the steps (thus only installing arrow from pypi), everything succeeds.
If I re-add the redactedpackagename line and re-run, it fails again as expected.
If I downgrade pipenv to 2023.7.23 and re-run, everything succeeds. So, it appears there was some change after pipenv 2023.7.2 that resulted in this breakage.

(I've modified this support info a little to redact some company-specific things, but I don't think I've done it in a way that compromises its purpose.)
$ pipenv --support
Pipenv version: '2023.8.21'
Pipenv location: '/Users/callen/.pyenv/versions/3.11.3/lib/python3.11/site-packages/pipenv'
Python location: '/Users/callen/.pyenv/versions/3.11.3/bin/python3.11'
OS Name: 'posix'
User pip version: '23.2.1'
user Python installations found:
PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.11.3',
 'os_name': 'posix',
 'platform_machine': 'arm64',
 'platform_python_implementation': 'CPython',
 'platform_release': '22.6.0',
 'platform_system': 'Darwin',
 'platform_version': 'Darwin Kernel Version 22.6.0: Wed Jul  5 22:21:53 PDT '
                     '2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6020',
 'python_full_version': '3.11.3',
 'python_version': '3.11',
 'sys_platform': 'darwin'}

System environment variables:

SHELL
LSCOLORS
PYENV_HOOK_PATH
PIPENV_VENV_IN_PROJECT
PYENV_SHELL
LESS
XPC_FLAGS
HISTCONTROL
TERM_PROGRAM_VERSION
__CFBundleIdentifier
SSH_AUTH_SOCK
XDG_CONFIG_HOME
TERM_SESSION_ID
PYENV_VIRTUALENV_DISABLE_PROMPT
EDITOR
PYENV_VERSION
PWD
LOGNAME
MANPATH
HOME
LANG
TMPDIR
SSH_CLIENT_USER
PIPENV_IGNORE_VIRTUALENVS
PYENV_DIR
PIPENV_HIDE_EMOJIS
TERM
USER
MANPAGER
SHLVL
GIT_EDITOR
PAGER
XPC_SERVICE_NAME
PYENV_ROOT
PATH
PIPENV_PYTHON
__CF_USER_TEXT_ENCODING
TERM_PROGRAM
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:

PIPENV_VENV_IN_PROJECT: 1
PIPENV_IGNORE_VIRTUALENVS: 1
PIPENV_HIDE_EMOJIS: 1
PIPENV_PYTHON: /Users/callen/.pyenv/shims/python

Debug–specific environment variables:

PATH: /Users/callen/.pyenv/versions/3.10.11/bin:/Users/callen/.pyenv/versions/3.11.3/bin:/Users/callen/.pyenv/versions/3.8.10/bin:/Users/callen/.pyenv/versions/3.11.3/bin:/opt/homebrew/Cellar/pyenv/2.3.22/libexec:/opt/homebrew/Cellar/pyenv/2.3.22/plugins/python-build/bin:/Users/callen/.cargo/bin:/Users/callen/.pyenv/shims:/usr/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/callen/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin
SHELL: /bin/zsh
EDITOR: /usr/local/bin/nova -w
LANG: en_US.UTF-8
PWD: /Users/callen/Desktop/foo

Contents of Pipfile ('/Users/callen/Desktop/foo/Pipfile'):
[[source]]
url = "https://pypi.mycompany.com/simple"
verify_ssl = true
name = "mycompanypypi"

[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]
arrow = "==1.2.2"
redactedpackagename = {version="==1.2.3", index="mycompanypypi"}

[requires]
python_version = "3.11"

Contents of Pipfile.lock ('/Users/callen/Desktop/foo/Pipfile.lock'):
{
    "_meta": {
        "hash": {
            "sha256": "60b108214c501bf12ef91090ead2b13524adbb60333222b450f88390a093909d"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.11"
        },
        "sources": [
            {
                "name": "mycompanypypi",
                "url": "https://pypi.mycompany.com/simple",
                "verify_ssl": true
            },
            {
                "name": "pypi",
                "url": "https://pypi.python.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "arrow": {
            "hashes": [
                "sha256:05caf1fd3d9a11a1135b2b6f09887421153b94558e5ef4d090b567b47173ac2b",
                "sha256:d622c46ca681b5b3e3574fcb60a04e5cc81b9625112d5fb2b44220c36c892177"
            ],
            "index": "mycompanypypi",
            "markers": "python_version >= '3.6'",
            "version": "==1.2.2"
        },
        "python-dateutil": {
            "hashes": [
                "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86",
                "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"
            ],
            "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'",
            "version": "==2.8.2"
        },
        "redactedpackagename": {
            "hashes": [
                "sha256:82118d948c6a96521a2a817a15ffb79ab88f23bc023b6295d945302013e6c1a7",
                "sha256:b18af6c93f5841f3471ef4be4f83ec0a002a8a4cf8c5742a6687844c155182f1"
            ],
            "index": "mycompanypypi",
            "version": "==1.3.3"
        },
        "six": {
            "hashes": [
                "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926",
                "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"
            ],
            "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'",
            "version": "==1.16.0"
        }
    },
    "develop": {}
}

Thank you for taking the time to look at this issue, and for continuing to work on pipenv ❤

This seems noteworhty:
Digging through the pipenv 2023.8.21 source and adding some logging to understand how it works, I noticed that get_file_hash in project.py was downloading archives from https://pypi.mycompany.com/simple/packages/... to produce hashes of the wheel and tgz archives. The correct URL for archives is just https://pypi.mycompany.com/packages/..., though the index does have a simple index page at /simple.
What was actually being hashed by get_file_hash was the contents of the unique 404 web page for each archive. Those hashes of HTML content were then being compared against the hash of the correct wheel archive bytes, resulting in the mismatch.
Removing /simple from the Pipfile makes everything install correctly under pipenv 2023.8.21:
[[source]]
url = "https://pypi.mycompany.com"
verify_ssl = true
name = "mycompanypypi"

Did something change between 2023.7.23 and 2023.8.19 regarding downloading of packages? Maybe the previous implementation was omitting /simple from custom pypi index URLs and the new one doesn't?

I've had this issue, my pypi has tokens in its URL, the index url is  https://pypi.company.com/pypi/abcdef1234 and the package URLs are like https://pypi.company.com/pypi/abcdef1234/package. This page generates content with absolute URL in links (https://bucket.amazon.com/package/package-version.whl).
With the previous version 2023.7.23 it follows the URL with the usual resolve rules. But with 2023.8.19 and later it appends the path to the current page, meaning the actual download is https://pypi.company.com/pypi/abcdef1234https://bucket.amazon.com/package/package-version.whl.
I tried to generate an URL relative to the root /redirect/abcdef1234/package/package-version.whl that does a redirect but alas it also appends and the dowload URL is https://pypi.company.com/pypi/abcdef1234/redirect/abcdef1234/package/package-version.whl

What was actually being hashed by get_file_hash was the contents of the unique 404 web page for each archive.

Oh wow ...  🤦♂
Some backstory here -- I originally added the code path to start checking private pypis to speed up locking -- and this will be a big deal with something like pytorch once the work backing https://github.com/pytorch/builder/pull/1433 gets completed because instead of downloading 8x 3.5 GB wheels to get the hashes, it will just get them from the index URLs.
That being said, clearly I introduced some edge cases that I didn't foresee.   Totally open to PRs to help clean those up, I can guarantee I won't be able to look at this immediately.

With the previous version 2023.7.23 it follows the URL with the usual resolve rules. But with 2023.8.19 and later it appends the path to the current page, meaning the actual download is

This also surprises me, but seems possible -- from my perspective of what I was seeing in my testing that lead to me changing that is we were calling to get the hash with just the trailing /simple/uri.whatever without the root domain of the test pypi server so it wasn't gathering the hashes correctly in my test example.  🤦 🤦

I think I got to the bottom of this issue (I hope for all cases), could you check out if https://github.com/pypa/pipenv/pull/5866 resolves the issue for your case?

Thank you! I’ll give the patch a run through today and report back.

Success! The change works great, and so does release 2023.8.25. Thank you for resolving this!


kindle-screensaver showing different information to /lovelace?kiosk

Hi, I've got a really weird bug where the information that the kindle-screensaver shows is slightly different to what the actual link for /lovelace?kiosk is displaying and I have no idea why, or how to fix it?
/lovelace?kiosk

kindle-screensaver

all of the modules seem to display correctly except the weather one, which seems to show the names of the days incorrectly? The scraper for the weather is the wunderground addon from https://github.com/cytech/Home-Assistant-wundergroundpws so I don't know if it's a bug on their end, or this one...

That's indeed a very interesting issue. My initial thought was that it could be a timing issue but the date and time are displayed equally in the other component.
Could you please try adding another weather provider and check if it's the same issue there?
I could imagine it will be the same problem then, which might indicate that it's rather an issue of the weather lovelace component.

It looks like the default weather module shows the correct labels on both of the views... which is kind of odd...
/lovelace?kiosk

kindle-screensaver

I have the same issue when using my standard forecast and it causes an issue with both Hourly and Daily levels. The Ecobee forecast does not see the same error. There is something wrong but unsure where to go next to diagnose. The issue is on Image creation though. It is not an exact replica of the Weather section either.

Thank you for the hardwork. Looking forward to repurposing the Kindle :-)

Looking at other issues in the list I believe its a TimeZone issue. Will try with that and see if it resolves it.

Confirmed. Adding the TimeZone environment variable resolved the issue. My suggestion/Request - Add the TZ env variable to the instructions to support the install and close this issue. Thanks!!!


Get tests working without special flag

Currently tests only work with cargo test --test-threads 1. This is due to the last fetched time being shared between tests running in parallel. Check to see if switching to integration tests fix this. If not then integrate some way of allowing multiple tests to be run concurrently. Maybe a mutex lock for the tests with a fixture to set it up?

Fixed in ddd24aeb110225f8d402c494f69f75d90409208d with the help of serial_test


getContacts don't returns contact updates

Hi,
To receive user contacts I use "getContacts Class Reference". It works perfect, but if I change some contact info (first name or last name) from the native app, getContacts returns contact without changes. Why?

This depends on a lot of factors. Generally, you can't count upon immediate change of the user name on all other devices.

@levlam It must take some time?

It depends. But you definitely should receive actual names in 1-2 days.

@sergeydi

iPhoneから送信

2020/09/24 19:39、Sergey Di<EMAIL_ADDRESS>
Hi,
To receive user contacts I use "getContacts Class Reference". It works perfect, but if I change some contact info (first name or last name) from the native app, getContacts returns contact without changes. Why?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Also, I still don't received updates using getContacts. May be I need some additional command to update/import changes?

@sergeydi How do you update contacts list?
You can also manually update information about given user by calling getUserFullInfo.

@levlam I used importContacts() but updateUser response returns the old one FirstName and LastName.

You can also manually update information about a given user by calling getUserFullInfo.
Hot to update or receive all contacts in actual state?

You can manually update information about a given user by calling getUserFullInfo. There are no other ways.

How can I be notified that user info was changed or every time I need to receive a contact list I must execute getUserFullInfo for each contact?
I mean what is the correct way to receive a contact list with actual user information?

The correct way is to call getContacts. The rest is assured by TDLib and Telegram servers in the best possible way, but it is sometimes possible that the data will be outdated.

Thank you so much.

Just a few minutes ago I received over getContacts an actual FirstName and LastName.


[C++] GCC complains about redundant move

Describe the bug, including details regarding any error messages, version, and platform.
OS: Ubuntu 22.04
GCC: 11.4.0
GCC complains about redundant move when -Wall, -Wextra, and -Werror are enabled, on the following line for example. Does anybody have the same issue?
https://github.com/apache/arrow/blob/eb5de184a7e5d02f98526332ace54250417bd232/cpp/src/arrow/array/builder_base.h#L334
Component(s)
C++

Could you show full build log?

Sorry, it turns out there's a problem on our build setup. Closed the issue. Thank you for your quick response!


Is the creation of RL model Limited to JAX?

Hi,
so I understand that the physics simulation in the mujoco <IP_ADDRESS> is done on the GPU and is more faster, does that use the mujoco-mjx for this simulation.
From what I understand the MJX uses JAX. Is this use of JAX only for the RL part or is the simulation itself been done on this?
I use Pytorch for the suppose of the creating RL models and it'll be some what time consuming to create the entire model using JAX since I'm not entirely familiar with it.
Or can I use the MJX just for simulation of the Physics and create the model in Pytorch??

Hi @coder-rakeshpaul
There are 2 modes: [1] MuJoCo, [2] MJX whose entry point is putting a MuJoCo MjModel and MjData on device
MJX is a jax clone of MuJoCo with a limited feature set, see https://mujoco.readthedocs.io/en/stable/mjx.html#feature-parity
You can create an environment in MJX and interface with pytorch, although the only example we have is doing this with Brax. Check out https://colab.sandbox.google.com/github/google/brax/blob/main/notebooks/training_torch.ipynb#scrollTo=D3y5o7-oSBm-
Hope that helps for now

Thank you.
In case in the absence of a dedicated GPU will mujoco use the CPU for the calculations by default??

Hi @coder-rakeshpaul , MuJoCo runs on CPU, MJX runs on CPU/GPU/TPU depending on the device you have available. If you'd like to run on CPU, we strongly suggest you use MuJoCo

Hi @btaba Thank you.


Environment AppSettings

Hi,
Would be possible to generate different AppSettings for dev and production based on the gulp task?
Thanks,
Bruno

You could add envify to the Browserify transforms to inject a specified environment into anywhere in your code that references process.env.NODE_ENV, then have conditionals like so in your app settings:
const AppSettings = {
  appTitle: 'Example Application',
  apiUrl: process.env.NODE_ENV === 'production' ? '/api/v1' : 'localhost:3000/api/'
};

export default AppSettings;

If I understand it right, it would work if I'm running o nodejs, right? But what if I'm hosting a static website in AWS S3 for example?

Since envify would be a browserify transform executed during the build step, it converts all instances of process.env.NODE_ENV into a string literal determined by the NODE_ENV option you pass to envify:
b.transform(envify({
  NODE_ENV: 'development'
}))

This means it would work just fine on a static site, since all references to the actual environment variable are removed.

Many thanks I will give it a try.


Display how many components are generated in the attribution with the default template

Display how many components are generated in the attribution with the default template

Since the Jinja2 template can do filtering, number of about object passing to the template doesn't mean the same number of component information will be generated in the attribution. As a result, this can only be done with the default_html.template which we have control of the file and we know what's the output format, and therefore we can read the output to determine the number of generated component.


Add LICENSE file (Apache 2.0)

This PR adds a missing LICENSE file to match the main rook/rook repo.  The license is Apache 2.0.

I think actually this repo should be dual licensed, the source code should be Apache 2, but the documentation should have the CC-BY-4.0 license as declared on the rook.io website:

Documentation distributed under CC-BY-4.0.

I think actually this repo should be dual licensed, the source code should be Apache 2, but the documentation should have the CC-BY-4.0 license as declared on the rook.io website:

Documentation distributed under CC-BY-4.0.

I've updated this PR to include both licenses and updated the README to clarify between the two.
@travisn @galexrt this is ready for review :)

I've updated this PR to include both licenses and updated the README to clarify between the two.
@travisn @galexrt this is ready for review :)


Why don't publish it?

Why don't publish this library to https://registry.npmjs.org?

Why not try to publish by @scope ?

I think you should publish this package by @scope, and name it '@xn-02f/md5'.


fix: fix websocket disconnect errors

Codecov Report
Attention: Patch coverage is 54.54545% with 5 lines in your changes missing coverage. Please review.

Project coverage is 88.96%. Comparing base (8c59d07) to head (50ae423).

Files
Patch %
Lines

gischat/app.py
54.54%
4 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #28      +/-   ##
==========================================
- Coverage   92.02%   88.96%   -3.07%
==========================================
  Files           4        4
  Lines         138      145       +7
  Branches       15       16       +1
==========================================
+ Hits          127      129       +2
- Misses          7       11       +4
- Partials        4        5       +1

Flag
Coverage Δ

unittests
88.96% <54.54%> (-3.07%)
:arrow_down:

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

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


Feature Request: Get popular and new books

On the nHentai home page you can see the currently popular and new uploads. It would be great if such a feature existed in in this library, an easy way to get the new and popular books

You can search for * and provide sort (popular today).

Yes, I see it now! Thanks a lot! :)


Do not create an issue here!

This project was moved to http://github.com/js-cookie/js-cookie.
If you want to upgrade to the new API while maintaining backwards compatibility with $.cookie, use the new version 1.5.1.
Otherwise, if you want to upgrade to the latest version, check the latest release in the releases page.
If you have support questions, please use StackOverflow under the tag js-cookie.

https://github.com/blog/2460-archiving-repositories 🎉
@FagnerMartinsBrack I'd like to archive this repository right away, any objections as to why not?

No objections, as long as the issues and Pull Requests are still linkable from the js-cookie repo :)

Let‘s try!


[BUG] fiftyone app launch terminates instantly in v1.0.0

Describe the problem
In v0.25.2 I used to start fiftyone by doing: fiftyone app launch and everything worked fine.
I upgraded to v1.0.0, but now executing the same command doesn't work like it used to (see "Code to reproduce issue" below).
Current work-around is to start the server directly:
python $(python -c "from fiftyone.server import main; print(main.__file__)") --port 4545

As a side-note, is it possible to downgrade (temporarily) ? It seems the app won't let me re-use v0.25.2 now that it migrated to v1.0.0.
Code to reproduce issue
(.venv) laurent@laptop:~/fiftyone_data$ fiftyone app launch --port 4545
App launched. Point your web browser to http://localhost:4545

To exit, close the App or press ctrl + c
# the server terminates instantly here, without any error message

System information

OS Platform and Distribution: Ubuntu 24.04 LTS
Python version: Python 3.10.14
FiftyOne version: FiftyOne v1.0.0
FiftyOne installed from: rye (which uses uv)

Willingness to contribute

[ ] Yes. I can contribute a fix for this bug independently
[x] Yes. I would be willing to contribute a fix for this bug with from the FiftyOne community
[ ] No. I cannot contribute a bug fix at this time

Apologies, this is fixed by https://github.com/voxel51/fiftyone/pull/4888 and will be released as part of fiftyone=1.0.1.
In the meantime, on fiftyone==1.0.0 you'll need launch the App via launch_app() in Python.


Exceptions in metadata API, especially verify()

I've just tried verifying metadata using the new API. I wanted to do this:
if md.verify(key):
    print("yay")

but it looks like I'll end up with
from securesystemslib import exceptions as sslib_exceptions
from tuf import exceptions
from tuf.api import serialization

try:
    if md.verify(key):
        print("yay")
except (
    exceptions.Error,
    sslib_exceptions.FormatError,
    serialization.SerializationError,
    sslib_exceptions.CryptoError,
    sslib_exceptions.UnsupportedAlgorithmError
):
    # 🤷
    pass

It feels like we could do better.
This issue is about exceptions handling in general but I'm fine if the solutions are case-by-case (like maybe verify specifically just does not need to throw at all).
Some specific issues:

It feels like in most cases bleeding these securesystemslib errors through the API is wrong: I don't really want to handle them in my client code and I don't think we should expect client developers to know how to do that
why are serialization errors defined in a different place than other errors? should serialization errors at least derive from generic exceptions.Error so I could pass all TUF errors with a single line if I want to (like I think makes sense with verify())

I think a way forward is to just review all case individually and afterwards try to come up with generic rules.
I think there are cases where we do want to throw but do not want to document it: these are "internal  error" cases that should not happen and that users cannot realistically prepare for. These should be documented in code though
The other group of errors here are the ones that are a result of malformed or unexpected metadata: I think these should all fall under one top-level exception so at least clients can handle that by outright refusing to handle the metadata.

SerializationError:

should not require me to import a file I don't otherwise need but maybe that's fine because ...
I think this is an internal error of the Serializer (as in we do not know of a case where it should happen). Maybe we should not list this in verify() documentation
Proposal: Remove mentions from Metadata API docs as internal errors

Error:

this happens if zero signatures were found for key. Is this an error? I feel like this is just return false -- or at least similar to the case where none of the signatures match (in which case we return false)
this also happens if there are multiple keyids but that would mean spec violation...
Proposal:

zero signatures for keyid should result in return false
we should file an issue if Metadata does not enforce keyid uniqueness.
we should consider multiple keyids case in verify() an internal error: throw but don't document?

CryptoError,

SSLib throws this if keyid does not match the one in signature. In Metadata.verify() this would be an internal error
Proposal: internal error, let it get raised but don't document as exception to handle

FormatError

SSLib throws if keydict or signature are not properly formatted
Metadata should ensure keydict is valid but I'm not sure it can validate signature (without actually running verify on loading the metadata)
keydict validity would be an internal error. If signature is not properly formatted should that just mean return false -- this feels a bit wrong though?
Proposal: throw a tuf.exceptions.FormatError : there's something unexpected in the data we got

UnsupportedAlgorithmError

SSLib throws if the keydict is unsupported. SSLib could provide a cheap function to check this on Metadata creation but I'm not sure it's worth it
Proposal: throw a tuf.exceptions.FormatError : there's something unexpected in the data we got (it could also be an installation error with missing deps -- but we can't know so can only report the message)

I'm limiting this more to verify() for now -- we should be more conscious about the errors in general but... one issue at a time I guess?


Import 791625b22f: Removed Statics from ShouldPuff check (by Caity)

This is an automated proposal to look at a commit made by Caity and import it into Overte

Commit:
791625b22f54816e8eaf70baa4ed9b4ebb224cdb

Author:
Caity

Date:
Thu, 13 Feb 2020 22:03

Removed Statics from ShouldPuff check

Stats:

Filename
Stats
Lines
Added
Removed
Lines in blame

libraries/entities/src/EntityItem.cpp

1
1
0
⚠ 0

1 files
-
1
1
0
0

To work on this, please assign the issue to yourself, then look at the commit and decide whether this would be a good addition to Overte.

If the commit is useful, tag it with "Tivoli: Keep", and keep it open until it's merged.
If the commit is not useful, tag it with "Tivoli: Discard", and close it.
If the commit is not useful right now, but might be later, tag it with "Tivoli: Maybe later", and close it.
If it's hard to decide, tag it with "Tivoli: Discuss", and keep it open.

Useful commits should be submitted as a PR against Overte. Tag this issue in PR, so that it's automatically closed once the PR is merged.
You can cherry-pick this issue with this command:
git cherry-pick 791625b22f54816e8eaf70baa4ed9b4ebb224cdb

Not in blame


forge: keep fuzz snapshots behind a flag

Closes https://github.com/gakonst/foundry/issues/1081

we might want a corresponding config option for --include-fuzz-test-gas... but could use a little help figuring out how to do that while still keeping compatibility with the flag 😅

also if anyone has comments on a better/shorter flag than 	--include-fuzz-test-gas pls chime in!


lan743x backport from linux vanilla kernel commit e20a471

Incorperate many bug fixes from upstream kernel to fix hangs occurred at customer site with moducop enp5s0
add moducop ignition kernel module

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


Write to rotating ContentReWriter in transformer chain

This commit adds the interface ContentReWriter in the tranformer chain.
This is backed by two pooled byte buffers, alternating between being the reader or the writer.
This keeps the performance characteristic of the old implementation, but in a thread safe way.
Fixes #911
Benchmark old vs new:
benchmark              old ns/op     new ns/op     delta
BenchmarkAbsURL        17614         17384         -1.31%
BenchmarkXMLAbsURL     9431          9248          -1.94%

benchmark              old allocs     new allocs     delta
BenchmarkAbsURL        24             28             +16.67%
BenchmarkXMLAbsURL     12             14             +16.67%

benchmark              old bytes     new bytes     delta
BenchmarkAbsURL        3295          3424          +3.92%
BenchmarkXMLAbsURL     1954          1987          +1.69%

Merged 98ee69b


Reselect component after refresh and HMR

If you select a component in the dev tools and refresh the page, the tree stays open (which is great!) but it would be even better if the last selected component can be reselected automatically. That way if you're testing a component (for example, to see how it responds to an ajax request every time you refresh), you can quickly see it's properties without having to move your mouse there.
This seems to happen on page refresh but HMR also.

It's probably not possible to detect which should be the selected component when we refresh the page though.
I'm not sure if it's feasible for HMR either.
Would it be cool? yes, definitely

+1
You should by able to do it by just grabbing the selected position in the hierarchy (when a component is clicked) and storing that in the extension storage, no?

Yes, I think it is possible to implement it. It would be wonderful.

Added auto-expand in the tree in 6 beta 8. If anyone has issues with component not re-inspecting after page refresh or HMR, please open an issue. Thanks!


Add RUS translate for "Locked Master" level

Added Russian translation with slight design changes.
PS It was a good practical lesson :)))

Awesome! Every bit helps :)


Live

test PR

Docs Build status updates of commit 492749f:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Test PR


Svelte 5 support

Hey,
do plan to move the Library to Svelte 5 soon?

See this issue: https://github.com/threlte/threlte/issues/973

See this issue: #973
You can use the next release now. We'll likely promote the next branch to Threlte 8 soon after Svelte 5 is ready. We won't migrate any of Threlte's hooks to runes for now to allow people to slowly migrate.

oh thanks, i use svelte 5 currently this will make it easier

See this issue: #973
You can use the next release now. We'll likely promote the next branch to Threlte 8 soon after Svelte 5 is ready. We won't migrate any of Threlte's hooks to runes for now to allow people to slowly migrate.

You migth need runes since the system don't really works with out them anymore.


Define and demonstrate data transform types within documentation

Description
This PR adds further clarification surrounding the use of data transformation terminology within CytoTable to resolve #13 . While these were developed, I noticed that HTML tables required CSS styling, resulting in the CSS modifications.
Thanks for any thoughts or feedback you may have!
What is the nature of your change?

[ ] Bug fix (fixes an issue).
[x] Enhancement (adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[x] This change requires a documentation update.

Checklist
Please ensure that all boxes are checked before indicating that a pull request is ready for review.

[x] I have read the CONTRIBUTING.md guidelines.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] New and existing unit tests pass locally with my changes.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] I have deleted all non-relevant text in this pull request template.

Thanks @gwaybio for your review! Made some updates based on your comments and going to merge now.


Using git cliff --init github generates an entire changelog, rather than grouping by tags / releases.

Describe the bug
Running git cliff --init github then any command, outputs the entire git changelog.
The only way I've found around this, is to do git cliff MY_LAST_TAG..HEAD --tag MY_NEXT_TAG
To reproduce
Testing on my own repo:
cargo install --git https://github.com/orhun/git-cliff
git clone https://github.com/dessalines/thumb-key
cd thumb-key
git cliff --init github
git cliff

Expected behavior
It should be grouped by tag, or limited by unreleased.
Software information
main branch

Operating system: Arch linux
Rust version: Rust 1.75.0
Project version: main

Hey, it looks like your tags does not start with v which causes git-cliff to skip them. I upstreamed a patch here: https://github.com/dessalines/thumb-key/pull/781


Plugin doesn't display the full name of the items.

(Required) What is your Quests version / build number (do not say "latest") 3.2.7?
(Required) Please describe the problem and how to replicate it. Any console errors?
If I add an item with a double ID (5: 3), it displays only the main name, not "jungle wood", which means that the player doesn't know what to bring.

Same problem. If this is important, then on 3.2.0 everything displays normally.

@Ziomkeee Provide an example quest? I'm curious why you mention IDs when they aren't supported.

@FlyingPikachu

name-1:amount-64:data-5

It only displays that it's stone.

That's wrong and should be
name-STONE:amount-64:data-5
since item IDs are not allowed. Marking as duplicate of #346


Trusted Web Activity Bubblewrap with PostMessage

Is your feature request related to a problem? Please describe.
I am currently working on a project where I need to manage the sending of post messages to the browser. I have successfully overridden the getCustomTabsCallback method in the LauncherActivity class to return a custom class extended from the QualityEnforcer class. This extended class contains the logic of CustomTabsCallback as described in the documentation. However, to do this, I need access to the session created in the onCustomTabsServiceConnected method of the TwaCustomTabsServiceConnection subclass in the TwaLauncher class.
Describe the solution you’d like
I would like to have a getter method or some other way to access the mSession property from the TwaLauncher class. Currently, this property is private and there is no getter method to retrieve it.
Describe alternatives you’ve considered
As an alternative, I've tried overriding the createTwaLauncher method in the LauncherActivity class to return an extended custom class from the TwaLauncher class to access the mSession property of CustomTabsSession, or overriding the TwaCustomTabsServiceConnection subclass. However, they are still private, so this requires modifying the library's source code, which isn't ideal.
Additional context
I have successfully made postal messages work based on the twa-post-message demo and the documentation without any problem where I was able to communicate between the TWA application and my Web app. The thing is, I use Bubblewrap to generate the project and the structure has nothing to do with that of the demo. I would simply like to add a new class to the project generated by Bubblewrap without having to modify the entire project structure and having to maintain it with each new update of the “android-browser-helper” repo.
If it is possible to find a solution to use post messages in a project generated by Bubblewrap without having to make hacks, it would be greatly appreciated.

hi, @UnknownRoboto i have the exact same problem how did you solve it ?


'Error! Your device is currently not supported, or the app is out of date. Please update to the latest version

'Error! Your device is currently not supported, or the app is out of date. Please update to the latest version

change deviceId


Use M-s prefix and search-map bindings when using ctrlf

Hi,
I really want to like this package, especially because of this design principle:

re-use the flow and keybindings of Isearch

I could never stick with swiper et. al. because, as an old Emacs user, all the semantics of isearch and search-map are embedded in my fingers.
The first thing I noticed was that I had a ctrlf search going, and then wanted to pull up my Occur buffer (to go use the handy occur-edit-mode). From an ongoing isearch, this is just M-s o:

M-s o runs the command isearch-occur (found in overriding-terminal-local-map)

Which runs occur from isearch. Outside of an isearch, this same binding just runs occur.
A lot of the toggles listed under the core keybindings I think ought to exist under the (overriden) search-map bindings, to really uphold the stated design principle. Right now, M-s runs the command next-matching-history-element, which is completely unexpected as Emacs/isearch user when running a search.
Some others I can think of:

M-s o to switch to occur (as above)
M-s r to toggle regexp/literal (currently on C-M-s and C-M-r, which are fine to keep too, but also on C-o s which isn't Emacsy)
M-s . runs the command isearch-forward-symbol-at-point (this works both in and out of an isearch), should run ctrlf with the symbol at point (currently on M-n, which also seems fine, but different from isearch)
M-s c toggles case sensitivity (currently on C-o c which also isn't Emacsy)
M-s e doesn't need to exist, since it enters isearch edit mode, but ctrlf appears to always be editable

It seems like adding the prefix C-o was just a choice made during development, but it's inconsistent with the design principle of re-using the flow and keybindings of isearch. The search-map is really handy, and already bound to M-s, which a lot of Old Emacs Users already use (and some of us add a lot of other things to the normal search-map, like bindings to rgrep and equivalents).
Anyway, ctrlf looks really promising, thanks for the work on it. I just found the lack of M-s very jarring as an isearch user.

Heh:

C-w runs the command isearch-yank-word-or-char

Hit this one too. I think it would be ideal if ctrlf were as close as a drop-in upgrade to isearch as possible.

Yep. Great suggestions, thanks.

I'm also in full support of this, the lack of C-w tripped me up.

Thanks a lot for a nice package, I like it very much! I just wanted to add 1 for C-w, which I use often, too. :-)

Hmmm... actually, not sure I can totally support C-w as a top-level binding. Maybe we can put it under M-s or something, and we can certainly make the keymap customizable so you could add it yourself, but one of the goals of CTRLF is that the search input behaves normally. So you'd expect C-w to kill the region. I suppose I wouldn't be opposed to installing by default a special command that will delegate to isearch-yank-word-or-char behavior if and only if there is no active region.

Good idea, making it depend on the active region. I tried a simple conditional which checks for active mark, but simply calling isearch-yank-word-or-char caused an error. I couldn't find out what caused it. There's some implicit dependence in the code I couldn't figure out. I also tried to explicitly set the text buffer current before calling isearch...., no luck. So I came up with this solution, which is at least a first workaround:
  (defun ctrlf-c-w (begin end)
    "Kill region if active, else yank symbol at point."
    (interactive "r")
    (if mark-active
	(kill-region begin end)
      (ctrlf-forward-symbol-at-point)))

This works. If you have any ideas how to delegate it to isearch, I'd add this. But as I said, simply calling isearch-yank-word-or-char, either with the text buffer explicitly set as current buffer or not, does not work.

Well, looking at the source for isearch-yank-internal, I'd say the problem is Isearch keeps point in the actual buffer being searched, while CTRLF keeps it in the minibuffer. Thus buffer-substring-no-properties has entirely the wrong effect. Furthermore, isearch-yank-word-or-char operates by setting a bunch of Isearch variables and calling some Isearch functions, not by just inserting text into the minibuffer. The whole thing would need to be redone for CTRLF.
Protip: there is a function use-region-p you can use instead of checking the mark-active variable.


GUI element that shows whether layer thumbnail previews are up-to-date

🚀 Feature
The following is a low priority (from my perspective) feature request. However, I just wanted to capture the idea:
It would be nice to add a small, unobstrusive indicator to the layer thumbnails to indicate whether the preview image is up-to-date. One possible implementation would be using a small coloured dot in the corner of a preview thumbnail, e.g. green dot meaning up-to-date, red dot means out of sync (similar to social media sites indicating that there are new messages). Another closely related implementation would be similar to the dropbox synced/not synced symbols on files in Windows Exlporer or the Mac finder.
Motivation
Updating the previews images can be quite time consuming. E.g. if the actual data is linked to a dask delayed object or if the data changes in a layer that is currently invisible.
This recent pull request mentions that the preview thumbnails will be out of sync if updating invisible layers is disabled.
https://github.com/napari/napari/pull/776
An unobstrusive UI element that indicates whether the thumbnail is out sync with the actual data would signal this condition to the user.

Thanks for capturing @VolkerH. The concept of "not up to date" thumbnails will be introduced in #776 - I don't think it can happen right now. We should see how that looks / feels. I think I know how I'd implement it (intercepting the "refresh" method #776 will introduce) and it should be pretty straight forward.

Thanks, PR #776 is what gave me the idea (a bit buried in my original post above.


garmin jr

is it possible to connect to a garmin connect jr. watch? accounts for those are under an adults account and dont have a seperate login for them and i dont see them on list of active sensors under my account

I'm afraid not, mind you the Garmin API is closed, so all needs to be done by reverse engineering.

@zymex22 I am in the same situation. Have you tried making a GDPR request using your Right to Data Portability?
https://ico.org.uk/for-organisations/guide-to-data-protection/guide-to-the-general-data-protection-regulation-gdpr/individual-rights/right-to-data-portability/


Exclusive scan uses always 0 as identity

Hello,
If you try to use joint_exclusive_scan without providing the initial value, hipSYCL will use 0 as a default. In case you're using sycl::multiplies<T> the function call will always return 0. It might be a bug, but I think the best would be not to allow to call joint_exclusive_scan without an initial value, as the C++ standard does. What do you think?
Here's the code I'm referring to: https://github.com/illuhad/hipSYCL/blob/7a309b8081eca03102033fa84075f7b90e212a6e/include/hipSYCL/sycl/libkernel/host/group_functions.hpp#L300
Maybe It could use sycl::known_identity ?

It might be related to https://github.com/illuhad/hipSYCL/pull/578

The current specification has both the init and no-init version, but asks for the identity.
Currently sycl::known_identity is not yet implemented in hipSYCL, The version I am currently working on doesn't handle sycl::vec yet, once I get it working I will update the affected group-algorithms.

The current specification has both the init and no-init version, but asks for the identity.
Currently sycl::known_identity is not yet implemented in hipSYCL, The version I am currently working on doesn't handle sycl::vec yet, once I get it working I will update the affected group-algorithms.

Thanks for looking into that, for now I will use the init version with the values from https://github.com/KhronosGroup/SYCL-Docs/issues/163


Error

How Can I Solve It? Traceback (most recent call last):
File "/home/kali/Crunchyroll-Account-Checker/main.py", line 19, in
from tls_client import Session
ModuleNotFoundError: No module named 'tls_client'

Very weird
Try this
pip install tls-client