BigInt versions of library functions & operations

Suggestion
TODO:
publish BigInt versions of all relevant library functions & operations
Context
say, you want to run Shor's algorithm, in the incarnation of the QDK sample "Quantum/samples/algorithms/integer-factorization" against the Resource-Estimator, to get a feeling about the resources you would need..
all library functions that are used in the sample, like "DrawRandomInt", "IsCoPrime" and operations like "EstimatePeriod" all use Int64 types.
that restricts you to factor only 'small' integers with max 19 decimal digits....
what if you want to check for an RSA 2048 bit key?
Affidavit (please fill out)
Please add ticks by placing a cross in the box:

[x] I have searched both open and closed suggestions and proposals on this site and believe this is not a duplicate.
[x] I believe that the spirit of this suggestion is aligned with the design principles and general vision for Q#.

Please tick all that apply:

[x] This is not a breaking change to the Q# language design
[ ] I or my organization would be willing to help implement and/or test this

Correction
Just saw, that for some libraries like Microsoft.Quantum.Math there have ben BitInt versions published as of Sept 1st :)
Furthermore operation "EstimatePeriod" is an user defined operation and not a Q# library function.
sorry for the noise

Correction
Just saw, that for some libraries like Microsoft.Quantum.Math there have ben BitInt versions published as of Sept 1st :)
Furthermore operation "EstimatePeriod" is a user defined operation from


KYLIN-4818 Check lookup table duplicate key when building job

Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to Kylin?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have create an issue on Kylin's jira, and have described the bug/feature there in detail
[ ] Commit messages in my PR start with the related jira ID, like "KYLIN-0000 Make Kylin project open-source"
[ ] Compiling and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If this change need a document change, I will prepare another pr against the document branch
[ ] Any dependent changes have been merged

Further comments
If this is a relatively large or complex change, kick off the discussion at user@kylin or dev@kylin by explaining why you chose the solution you did and what alternatives you considered, etc...

Codecov Report

:exclamation: No coverage uploaded for pull request base (kylin-on-parquet-v2@959edeb). Click here to learn what that means.
The diff coverage is n/a.

@@                  Coverage Diff                   @@
##             kylin-on-parquet-v2    #1514   +/-   ##
======================================================
  Coverage                       ?   24.31%
  Complexity                     ?     4619
======================================================
  Files                          ?     1138
  Lines                          ?    64434
  Branches                       ?     9511
======================================================
  Hits                           ?    15669
  Misses                         ?    47129
  Partials                       ?     1636

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 959edeb...76f8929. Read the comment docs.


feat: use torch2 implemented flash attn

Current flash_attn only allows some GPUs (e.g. A100) to use it (https://github.com/haotian-liu/LLaVA/issues/153),
and using torch 2.0 implemented flash attention allows other GPUs like A6000.

Hi @wade3han
Thank you for your contribution!  I tried this on RTX 3090s, and it does not seem to be giving me memory savings/speed ups when using this, compared with using the train.py.
Can you please share the statistics on your side: (1) memory savings; (2) speedups?
Thank you!

@wade3han any updates?


Confidence discounting for small clusters

See https://github.com/e-mission/e-mission-docs/issues/663 for an explanation of the problem and the solution. This should be ready to merge; I'll run some final tests to make sure everything is working smoothly in the next few minutes.

Ran into error
Traceback (most recent call last):
  File "/Users/kshankar/e-mission/gis_branch_tests/emission/analysis/classification/inference/labels/pipeline.py", line 34, in infer_labels
    lip.run_prediction_pipeline(user_id, time_query)
  File "/Users/kshankar/e-mission/gis_branch_tests/emission/analysis/classification/inference/labels/pipeline.py", line 64, in run_prediction_pipeline
    results = self.compute_and_save_algorithms(inferred_trip)
  File "/Users/kshankar/e-mission/gis_branch_tests/emission/analysis/classification/inference/labels/pipeline.py", line 81, in compute_and_save_algorithms
    prediction = algorithm_fn(trip)
  File "/Users/kshankar/e-mission/gis_branch_tests/emission/analysis/classification/inference/labels/inferrers.py", line 143, in predict_cluster_confidence_discounting
    labels, n = lp.predict_labels_with_n(trip)
  File "/Users/kshankar/e-mission/gis_branch_tests/emission/analysis/modelling/tour_model_first_only/load_predict.py", line 90, in predict_labels_with_n
    return [], -1

I think this will fix it.
diff --git a/emission/analysis/modelling/tour_model_first_only/load_predict.py b/emission/analysis/modelling/tour_model_first_only/load_predict.py
index f3039f04..a20e51ea 100644
--- a/emission/analysis/modelling/tour_model_first_only/load_predict.py
+++ b/emission/analysis/modelling/tour_model_first_only/load_predict.py
@@ -85,14 +85,13 @@ def predict_labels_with_n(trip):
         # e.g. {'0': [{'1': [{'labels': {'mode_confirm': 'shared_ride', 'purpose_confirm': 'home', 'replaced_mode': 'drove_alone'}}]}]}
         user_labels = loadModelStage('user_labels_first_round_' + str(user))

-        # Get the number of trips in each cluster from the number of locations in each bin
-        # This is a bit hacky; in the future, we might want the model stage to save a metadata file with this and potentially other information
-        cluster_sizes = {k: len(bin_locations[k]) for k in bin_locations}
-
     except IOError as e:
         logging.info(f"No models found for {user}, no prediction")
         return [], -1

+    # Get the number of trips in each cluster from the number of locations in each bin
+    # This is a bit hacky; in the future, we might want the model stage to save a metadata file with this and potentially other information
+    cluster_sizes = {k: len(bin_locations[k]) for k in bin_locations}

will test and fix as part of my pending changes

Actually, that was because of some uncommitted changes to the build stage that was saving "null" values. If the file is not found, we will go directly to the except block and not run the cluster trip calculation.


如果不需要docker和istore应该怎么配置？ What if you don't need  docker and the istore?

因功能太多，导致R68s无法稳定运行，希望去除docker和istore，应该怎么配置？ 非常感谢
R68s cannot run stably due to too many functions. I want to remove docker and istore. How should I configure it? Thank you very much
Sat Jul 27 13:50:54 2024 daemon.notice procd: /etc/rc.d/S45nfs: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Sat Jul 27 13:50:54 2024 daemon.notice procd: /etc/rc.d/S45nfs: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Sat Jul 27 13:50:54 2024 daemon.notice procd: /etc/rc.d/S45nfs: exportfs: can't lock /var/lib/nfs/etab for writing
Sat Jul 27 13:50:54 2024 daemon.notice procd: /etc/rc.d/S50autoreboot: Command failed: ubus call service delete { "name": "cron" } (Not found)
Sat Jul 27 13:50:54 2024 daemon.notice procd: /etc/rc.d/S50autoreboot: Auto REBOOT has started.

在编译的配置文件中注释或删除不需要的luci_app重新编译就行。


Unable to deserialize response: pickle data was truncated

I'm getting an error when I run the most basic "fear_and_greed.get()" command. I've tried uninstalling and reinstalling these packages with no different results:

fear_and_greed
requests
requests_cache

Environment details:
Python 3.10.11
Ubuntu
Here are the error details from the  Apache Airflow logs:
[2023-08-28, 00:00:07 UTC] {base.py:427} ERROR - Unable to deserialize response: pickle data was truncated
[2023-08-28, 00:00:07 UTC] {taskinstance.py:1824} ERROR - Task failed with exception
Traceback (most recent call last):
  File "/home/bradl/.local/lib/python3.10/site-packages/airflow/decorators/base.py", line 220, in execute
    return_value = super().execute(context)
  File "/home/bradl/.local/lib/python3.10/site-packages/airflow/operators/python.py", line 181, in execute
    return_value = self.execute_callable()
  File "/home/bradl/.local/lib/python3.10/site-packages/airflow/operators/python.py", line 198, in execute_callable
    return self.python_callable(*self.op_args, **self.op_kwargs)
  File "/c/Users/bradl/Dropbox/Python/airflow_home/dags/dag_scrape_fear_and_greed.py", line 49, in get_fear_and_greed
    fear_and_greed = fear_and_greed.get()
  File "/home/bradl/.local/lib/python3.10/site-packages/fear_and_greed/cnn.py", line 59, in get
    response = fetcher()["fear_and_greed"]
  File "/home/bradl/.local/lib/python3.10/site-packages/fear_and_greed/cnn.py", line 48, in __call__
    r = requests.get(URL, headers=headers)
  File "/home/bradl/.local/lib/python3.10/site-packages/requests/api.py", line 73, in get
    return request("get", url, params=params, **kwargs)
  File "/home/bradl/.local/lib/python3.10/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/bradl/.local/lib/python3.10/site-packages/requests_cache/session.py", line 158, in request
    return super().request(method, url, *args, headers=headers, **kwargs)  # type: ignore
  File "/home/bradl/.local/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/bradl/.local/lib/python3.10/site-packages/requests_cache/session.py", line 205, in send
    response = self._send_and_cache(request, actions, cached_response, **kwargs)
  File "/home/bradl/.local/lib/python3.10/site-packages/requests_cache/session.py", line 233, in _send_and_cache
    self.cache.save_response(response, actions.cache_key, actions.expires)
  File "/home/bradl/.local/lib/python3.10/site-packages/requests_cache/backends/base.py", line 91, in save_response
    self.responses[cache_key] = cached_response
  File "/home/bradl/.local/lib/python3.10/site-packages/requests_cache/backends/sqlite.py", line 309, in __setitem__
    self._write(key, value)
  File "/home/bradl/.local/lib/python3.10/site-packages/requests_cache/backends/sqlite.py", line 331, in _write
    con.execute(
sqlite3.DatabaseError: database disk image is malformed

Looks like a problem with the requests-cache file-based cache.
fear-and-greed uses for the cache a filed named cnn_cache stored in a temporary directory.
What's the output of...
❯ python3 -c 'import os.path; import tempfile; print(os.path.join(tempfile.gettempdir(), "cnn_cache"))'

... ? Can you try deleting that file?

The output of that was "/tmp/cnn_cache" (I'm using WSL V1).

I did find and delete that file, and then I uninstalled and re-installed the fear and greed package.
That did result in a new error, now the "fear_and_greed.get()" command returns this error:

"no such table: responses."

Very strange...
"cnn_cache.sqlite" is re-created by the way, but it's completely empty.

That's indeed strange. It seems we should run into that error only if the cache file is deleted while the application is running — which is not the case here. I don't know what's happening here but it seems to be a requests-cache issue (perhaps related to the fact you're using WSL V1?).
In order to unblock you: would it help if I add to fear_and_greed.get() an option to disable caching?

You know what? I tried it again today, and it's working now. It suddenly started working yesterday, for some reason. I didn't change anything. Very strange.
I guess deleting the cache eventually caused it to rebuild correctly...? Who knows.
In any case, I'm in business, thank you very much for your help. :)

Happy to hear! Please reopen if this ever becomes an issue again.


run script to perform computation on extracted values

Working on an extractor for the networking.wireguard module of NixOS, there is something that I don't quite know how to do:
I would like to be able to extract each networking.wireguard.interfaces public key. I was hoping to be able to somehow run the following script cat ${interface.privateKeyFile} | ${getExe pkgs.wg} pubkey, but it's unclear how, or even if nix-topology currently permits something like this.

Running a script wouldn't be a problem, for that you can use pkgs.runCommand. But you will run into a much more siginificant problem before, since privateKeyFile is a secret file. It's probably just a string that only contains the path to the secret value when running on the actual system. The value will always be a runtime path like "/run/secrets/mywgsecret.priv" and so it will be impossible to infer where the content of the file originally comes from.
This is a general problem with values loaded at runtime, not even specific to nix-topology. You just generally cannot access runtime values at evaluation time.

Ugh, yeah right :facepalm:


Bug: Unison Share UI doesn't render rich documentation

As shown in the following screenshot, when I go through the base types (e.g. Map), it doesn't show the documentation for the type when I click on the type, and when I go find the doc element, it just renders the raw data and doesn't give me the experience that docs .base.Map does from inside ucm

Neither the website nor ucm pay any heed to the markdown header indicators (e.g. the ## Constructing maps line), but at least ucm follows the include links and gives me a single unified document.

We could either add support in codebase-ui for Doc.Deprecated, or update Map.doc to not be Doc.Deprecated. Maybe a function Doc.Deprecated -> Doc that gets called before evaluating the Doc for rendering?

@autodidaddict thanks for reporting. This was a deliberate decision, to not support the old version of docs, but we certainly need to—as Arya suggests—migrate the docs of base or have a function called when constructing the JSON response.

It's probably best to just rewrite them

Closing this. We've done a lot of work to rewrite docs in base.


reproxy: Update to go 1.17

Contains a vendor folder - no hash update needed

Motivation for this change
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This is failing for two platforms on hydra: https://hydra.nixos.org/jobset/nixpkgs/trunk/jobs-tab?filter=reproxy

Hmm - Different test fail on aarch64-linux and x86_64-darwin.

Are you planning to do anything further with this and https://github.com/NixOS/nixpkgs/pull/158207 or should I revert them for now so the aren't broken on hydra?

@zowoq - Do whatever the standard procedure is (revert / mark broken) - It's a little concerning that the breakages didn't show up at PR time - but that's something I can follow up on later. I can repro one locally, so I might be able to fix that, but I expect I won't ever be able to fix darwin.

They are both building fine on all platforms now on hydra ... don't know what the problem was.
https://hydra.nixos.org/jobset/nixpkgs/trunk/jobs-tab?filter=reproxy
https://hydra.nixos.org/jobset/nixpkgs/nixpkgs-unstable-aarch64-darwin/jobs-tab?filter=reproxy
https://hydra.nixos.org/jobset/nixpkgs/trunk/jobs-tab?filter=victoriametrics


WiP util: add new class to represent optional strings with significantly less overhead compared to std::string

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@yurykats and @yanavlasov : I'd like your opinion about this approach.
The main benefit of this PR is that it could shrink the footprint of an absl::optional<std::string> from 32 bytes (aligned 24 + 1 bytes) to 8 bytes (single pointer), in cases where the optional string does not need to be incrementally built, and it represents an optional string-setting which is often not provided.

Yes, I would love to have this for config data structures!


created local copies of css and images

Updated css files to reflect what GCMRC is serving out.  Changed image references in css and jsps to be relative to the application.  Changed css references in jsps to be relative to the application.

This seems to work just fine for me locally. :) :+1:


Multiple PDB structures of a single sequence

Hello,
I could not find the information how were - in the training of AlphaFold2 - treated the multiple different structures, which are available in the PDB for several proteins. Could you please provide details how you tackled this ambiguity of the labels?
Thanks in advance!
Petr

Hi Petr,
If I understand correctly, your question is answered by the "Training regimen" section of the paper. In particular:
"Chains are sampled in inverse proportion to cluster size of a 40% sequence identity clustering."
Meaning that multiple structures of the same sequence are clustered together.
Tim


Add Category UI/UX Tools

What feature?
Hello, Vishal Saraiwal this side I am a React Developer and a UI/Ux Designer
Can we add UI/UX category to separate UI/UX Tools as I have a lot of UI/UX Tools and helpful UI Kits.
So As a Part of GSSoc Contributor, can you assign this to me ?? @johnsonAyo @Fiddler46 @shobhitexe @jaydeepkhatri @sangdeepganvir @
Thanks  let me know
Add screenshots

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@kritriv  Yes, you can add it, but the category should contain more than 8 tools. Only then can we consider it as a category.


Unable to install the component

Hello,
I've just tried to install the pirateweather component but got no entities after installing.
In the log file I have the following error message:
Logger: homeassistant.setup
Source: setup.py:379
Unable to prepare setup for platform pirateweather.weather: Platform not found (cannot import name 'WeatherEntityFeature' from 'homeassistant.components.weather' (/***/homeassistant/lib/python3.10/site-packages/homeassistant/components/weather/init.py)).
Anybody knows a fix for this problem?
Thank you very much.

I'll tag @alexander0042 so he can take a look at this but some helpful information to know is:
Which version of the integration are installing and what version of HA are you running?

Hello,
Home Assistant Version: 2023.7.3
Pirate-Weather: Version 1.3.2

Hi, thanks for opening this issue, and apologies for the issue here. The hiccup is that you're running the pre-release version of Pirate Weather, but your version of HA is tool old.
However, HACS should be able to prevent this, so let me take a look at the manifest to see what went wrong here!

Argh, just realized I've installed HA Core - will this even work in core?

The pre-release version of the integration requires HA version 2023.10 so you'd need to update your version of HA to run that version. The release version 1.2.3 will work with your HA version so have you tried installing that and seeing if it works?
I'm not a HA expert but I'll tag @alexander0042 again as he might know more information on if the integration would work in Core.

I've updated HA to the latest version and it's working - thanks!

Glad you were able to get it working. Since this issue has been solved I'm going to close this issue.


Cutadapt can now demultiplex and remove adapters simultaneously.

Per the latest version, cutadapt can now demultiplex samples and remove adapters at the same time, with multithreading https://cutadapt.readthedocs.io/en/stable/guide.html#demultiplexing. It appears to be able to handle both 5' and 3' barcodes. Perhaps adapter removal and demultiplexing can be done in one step with this.

A short test is as follows, if you make this file of reads which has a 5nt barcode followed by a polyC adapter
echo ">read1
AGCTACTCGTGTATCTTGACTCGTAGTAGCTATAAAAACCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
>read2
AGCATGCTATCTGATATATTAGCGCTATAGCTAGGGGGCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
>read3
AGCTATTAGATCTAAAGCTCAAGCTATTCGATGTTTTTCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC">testreads.fa

And this barcodes file, which has "adapters" that are the sample barcode and adapter pushed together with AAAAA and GGGGG being real samples and TTTTT being a non-matching read.
echo ">s1
AAAAACCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
>s2
GGGGGCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC">barcodes.fa

Then run cutadapt -a file:barcodes.fa -o {name}.fa testreads.fa , it will remove both the adapter and barcode and send each read to a correct file dictated by the barcodes fasta.


ActionView::Template::Error (undefined method `i18n_scope' for Geocoder::Store::ActiveRecord:Module):

This is more of a heads up, because I imagine the cause is elsewhere based on some comments I found trying to sort this out.
Expected behavior
Page loads
Actual behavior
Error showing up at Heroku in logs and page doesn't load.
ActionView::Template::Error (undefined method i18n_scope' for Geocoder::Store::ActiveRecord:Module):`
Steps to reproduce
Nothing to do with geocoder on the page and other pages load. I had a similar error for simple_form and had to add   config.i18n_scope = 'simple_form' to config (well I just had to uncomment it. A SWAG since that was where I found config.i18n_scope
Environment info

Geocoder version:  geocoder (1.7.5)
Rails version:  rails (<IP_ADDRESS>)
Database (if applicable): pg
Lookup (if applicable):

@MtnBiker did you ever figure out the cause of this error?


"Could not initialize libusb. Check that your system has a usb controller." on Travis CI

For some reason I get that error only when running inside a Travis CI job.
I tracked down the error to libusb_init (http://libusb.sourceforge.net/api-1.0/group__lib.html#ga9517c37281bba0b51cc62eba728be48b). Do you have any clues about why that's failing, and how we can at least workaround it?

We run our builds inside Docker, so maybe that's the issue?

Got same error on VPS too, i think  because it hasn't usb controller.
BTW, Is there any way to catch error... ?

Why does this module throw this error here usb.js#L11 this means that every code that requires this module needs to guard it is self against this (bug I think) even if it is not going to use the USB, and just wants go require it in the top of the js file and then later on do some feature detection.
Since the property INIT_ERROR is already on the module it should be enough to silently ignore this and allow the user of the module to decide how he want's to handle this scenario.
Would you accept a pull request that removes this check and adds the available function a simple and clean API to check if USB has been detected?
usb.available = () => !usb.INIT_ERROR;

@agirorn If you want to make a PR removing this throw, I think the better API would be to check whether initialization failed in getDeviceList and anything else that can be called without a device, and make those functions throw an exception.

I'd be happy for feedback on the way @kevinmehall described implemented in #260


rule proposal: don't rename "props" on functional components

Just had an issue on our team with someone missing their curlies to destructure props, eg:
const ProductsTable = (products) => (
...
);

instead of:
const ProductsTable = ({ products }) => (
...
);

It would be nice to have a rule that catches that... if a function is a component, the first arg should either be destructured or named props.

This rule should also probably include naming the second argument context for the same reasons. It should also likely apply to React Component class constructors.

What should this be named? sfc-argument-names?

No, because it should also apply to class-based component constructors.
Maybe react-component-argument-names or react-component-props-context-argument-names?

I like react-component-argument-names.
react-component-props-context-argument-names seems very wordy and don't know if adds that much value. The error given will tell you what the argument should be named.


chore: update create-neutron-genesis script to use branch instead of main, add v2 version in docker

TYSM


[Event Request] codeunit 12 "Gen. Jnl.-Post Line" - multiple publishers

Describe the request
// Post the application
CustLedgEntry.CalcFields(
  Amount, "Amount (LCY)", "Remaining Amount", "Remaining Amt. (LCY)",
  "Original Amount", "Original Amt. (LCY)");
OnCustPostApplyCustLedgEntryOnBeforeCopyFromCustLedgEntry(GenJnlLine, CVLedgEntryBuf, CustLedgEntry);
CVLedgEntryBuf.CopyFromCustLedgEntry(CustLedgEntry);
OnCustPostApplyCustLedgEntryOnBeforeApplication(CustLedgEntry); //CustPub
ApplyCustLedgEntry(CVLedgEntryBuf, TempDtldCVLedgEntryBuf, GenJnlLine, Cust);
OnCustPostApplyCustLedgEntryOnAfterApplyCustLedgEntry(GenJnlLine, TempDtldCVLedgEntryBuf);
CustLedgEntry.CopyFromCVLedgEntryBuffer(CVLedgEntryBuf);
OnCustPostApplyCustLedgEntryOnAfterApplication(CVLedgEntryBuf); //CustPub
CustLedgEntry.Modify();

[IntegrationEvent(false, false)]
local procedure OnCustPostApplyCustLedgEntryOnBeforeApplication(var CustLedgerEntry: Record "Cust. Ledger Entry") //CustPub
begin
end;

[IntegrationEvent(false, false)]
local procedure OnCustPostApplyCustLedgEntryOnAfterApplication(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer") //CustPub
begin
end;

Additional context
Publisher request marked with //CustPub tag.Internal work item: AB#494255

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 14819.


Description for Domain and Forest changes

Hi,
the article says:
"Undo Skype for Business Server Active Directory Domain forest-level changes by running the following Skype for Business Server PowerShell cmdlet: Disable-CsAdDomain"
However, my understanding this command will not undo the forest-level. Instead it will undo Skype for Business Server Active Directory Domain level change
Also:
"Undo Skype for Business Server Active Directory Domain schema changes by running the following Skype for Business Server PowerShell cmdlet: Disable-CsAdForest"
However, my understanding is that the Schema itself will not be changed. Instead it will undo Skype for Business Server Active Directory forest-level change
Thanks,
Thomas

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

ID: 809826d2-e82d-0b31-0c8b-c475db0efbb8
Version Independent ID: b4e15a5f-8096-21db-c120-63e99d601328
Content: Decommission Skype for Business Server - Skype for Business Hybrid
Content Source: Skype/SfbHybrid/hybrid/decommission-remove-on-prem.md
Product: skype-for-business-itpro
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

Thank you for submitting feedback and contributing to the docs. We are currently investigating this.


YAPF:✓ shows no matter what

The YAPF: ✓ shows at all times in the status bar, no matter what file or if no files are open. Can you change it to only show when a python file is opened? (Im using MagicPython instead of the built in language-python, I dont know if this is messing with anything)
EDIT: Only shows the YAPF: ✓ after running YAPF, upon opening a new atom window it is not there

@LordZane you can thank @lexicalunit for this!


Custom recipe time/power settings are handled wrong.

For the default Cutting Machine recipes...
Circuit stuff 7 seconds slash 140 ticks,
and 200 rf per tick.
Logs 2 seconds slash 40 ticks,
and 20 rf per tick.
But when I set the CuttingMachine.xml to this,
The time it takes is halved and the power it takes is doubled from what I set it.
In order to get an identical result I have to set the CuttingMachine.xml to this.
P.S. The defult recipes for the Cutting Machine don't include Dark Oak, nor AR's alien trees.

Your second config is consistant with the default values.  Although I halve measured time being halfed and power being doubled for everything.  This is leading me to beleive it's a much deeper issue than loading configs.  It  seems more like the machine is ticking twice or something.  So I'll look into that.
On the subject of the dark oak and alien trees, I'll add dark oak for next build, alien trees do not yet have a plank form so I cannot really add that as of yet.  When I get around to actually adding a few new trees and woods I'll probably circle back to that though.

Confirmed, both TileMultiblockMachine and TileMultiPowerConsumer are having their update method called for each machine resulting in double ticking.

I can't wait until this bug fix is released...on curse.
I look forward to it.


Fix the not exist case in $toInt and $toDecimal

It's the fix for the bug I mentioned in the last PR.
First, I thought it was a serious bug in _Parse function, so I haven't fix it in the last PR. Now, I believe it only affect the operators in the $addField operator. So, I fix them in this PR with UTs.
The case is, when we try to add a field from a field which is not exist, Mongo will return the new field with the value of None.
Now, the $toInt and $toDecimal operators will return the original query now. So I return None when the KeyError raised in these operators.
If you're convenient, please review and merge it.
Cheers!

I am working on another PR about $sum. I may finish it at this weekend. Looking forward your code review, thanks!

OK, I will add this info in the next PR. Thanks!


#[31] My

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

Project coverage is 0.00%. Comparing base (2327722) to head (f4c1694).
Report is 29 commits behind head on main.

Files
Patch %
Lines

crates/framework/src/features/my.rs
0.00%
50 Missing :warning:

...ork/src/structs/chats/chat_administrator_rights.rs
0.00%
39 Missing :warning:

crates/framework/src/structs/my/bot_description.rs
0.00%
6 Missing :warning:

.../framework/src/structs/my/bot_short_description.rs
0.00%
6 Missing :warning:

crates/framework/src/structs/my/bot_name.rs
0.00%
4 Missing :warning:

Additional details and impacted files

Files
Coverage Δ

crates/framework/src/structs/my/bot_name.rs
0.00% <0.00%> (ø)

crates/framework/src/structs/my/bot_description.rs
0.00% <0.00%> (ø)

.../framework/src/structs/my/bot_short_description.rs
0.00% <0.00%> (ø)

...ork/src/structs/chats/chat_administrator_rights.rs
0.00% <0.00%> (ø)

crates/framework/src/features/my.rs
0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes


add missing dependency between steps

follows #2577
also: add two missing tests

cc @polinaeterna for viz, we forgot this change in #2577

argh again i forgot it, thank you!


Reimplemented getSubscriptions() function.

getSubscriptions() was commented out during refactorings between v0.11 and 0.12.
Resolved TODO and reimplemented getSubscriptions() function.

This is not acceptable PR because, ISubscriptionRepository is intend to be used internally by the broker, especially from ISubscirptionDirectory, so at least this method should contact ISubscriptionDirectory.
I commented it to re-implement in something smarter, because it could potentially load many subscriptions. I prefere a listener approach for the client library, the client library should register no be notified about subscription changes, I don't have a valid use case to expose the full list of subcriptions


Create PoET block verifier unit tests for wait certificates.

Adds unit test to verify proper PoET block verifier behavior when:

the block is a non-PoET block (i.e., the block header consensus field does not contain a serialized wait certificate)
the wait certificate is not valid

Signed-off-by: Jamie Jason<EMAIL_ADDRESS>

Addressed @ojalatodd comments

Rebase before merge


Preserve the style settings of matplotlib for pyplot

#350

For this to be adopted in siibra-explorer, the current plot_profile will need to be accessible via plot method, since siibra-api only access the plot method.
proposal: add kwarg region. If defined, will plot profile, rather than matrix.

Codecov Report

Merging #429 (f37b17a) into main (5a0e6b3) will increase coverage by 0.13%.
Report is 64 commits behind head on main.
The diff coverage is 26.56%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #429      +/-   ##
==========================================
+ Coverage   36.81%   36.95%   +0.13%
==========================================
  Files          61       61
  Lines        5421     5507      +86
==========================================
+ Hits         1996     2035      +39
- Misses       3425     3472      +47

Files Changed
Coverage Δ

siibra/configuration/configuration.py
42.35% <ø> (ø)

siibra/configuration/factory.py
22.22% <0.00%> (+0.24%)
:arrow_up:

siibra/core/concept.py
76.40% <ø> (ø)

...a/features/connectivity/functional_connectivity.py
55.55% <0.00%> (ø)

siibra/locations/boundingbox.py
19.88% <ø> (ø)

siibra/volumes/neuroglancer.py
21.42% <0.00%> (ø)

siibra/volumes/volume.py
50.29% <0.00%> (ø)

siibra/features/tabular/tabular.py
23.68% <3.70%> (-6.32%)
:arrow_down:

...a/features/tabular/receptor_density_fingerprint.py
26.19% <4.54%> (-2.02%)
:arrow_down:

siibra/features/tabular/cortical_profile.py
29.87% <5.88%> (-0.80%)
:arrow_down:

... and 16 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

For this to be adopted in siibra-explorer, the current plot_profile will need to be accessible via plot method, since siibra-api only access the plot method.
proposal: add kwarg region. If defined, will plot profile, rather than matrix.

I think this makes sense. However, since it is a breaking change, I propose that we leave the renaming certain plot functions to plot for v0.5. What do you think?


#9 Add Esri Global Nav to head

Fix #9
Test URLs:

Original: https://www.esri.com/en-us/about/about-esri/overview
Before: https://main--esri--aemsites.hlx.live/en-us/about/about-esri/overview
After: https://tim-white-esri-issue9--esri--aemsites.hlx.live/en-us/about/about-esri/overview

It looks like there's a CORS error loading on this site, is this a policy you could update at the CDN level? Otherwise i'd suggest just downloading the script for now and serving it directly from the repo.


Remove old workaround form doc

I think this piece of doc is outdated as described by @andreabedini here

Grazie Alberto :relaxed:


timing: fix timing_stop() ref counting

When there are more timing_stop() calls then timing_start(),
the reference counter will go negative, resulting in the next
timing_start() call not starting the timer. Without timer
running, getting cycles elasped would not work. So fix
the ref counting so it won't dip below zero.
Fixes #30397

This fixes the issue.


Fixes #840 DOC: improve documentation for teaching purposes

Fixes #840, but I had a few issues:  :hand:
I got this error when running the nosetests so the tests did not pass...  you can deny me.  It's okay, I understand...  just trying to learn here!  Thanks!
"ImportError: No module named _ssw_wrapper"

Also, I noticed that there was a pep8 error in _trie.py so I fixed that too but didn't make an issue for it since it was just pep8.

Coverage remained the same at 98.98% when pulling 32a51131a7f0778fb2fbbfe87d60ce7e02b83f93 on JTFouquier:issue840 into 202c6359c71c37a0a890ddd89f90d8afcaab8da7 on biocore:master.

Coverage remained the same at 98.98% when pulling 32a51131a7f0778fb2fbbfe87d60ce7e02b83f93 on JTFouquier:issue840 into 202c6359c71c37a0a890ddd89f90d8afcaab8da7 on biocore:master.

Thanks @JTFouquier! Note that the import error you're getting is probably because you don't have the SSW wrapper built locally. If you install with pip (e.g., pip install -e . in your virtualenv) I think that should fix it. That's not necessary for this pull request as the travis tests pass and you didn't touch the SSW code.

@gregcaporaso, yes that works!!  I got the tests to pass locally.  Different venvs.  Thanks!!

Great!
On Thu, Feb 19, 2015 at 8:08 AM, Jennifer Fouquier<EMAIL_ADDRESS>
wrote:

@gregcaporaso https://github.com/gregcaporaso, yes that works!! I got
the tests to pass locally. Different venvs. Thanks!!
--
Reply to this email directly or view it on GitHub
https://github.com/biocore/scikit-bio/pull/854#issuecomment-75067165.

Thanks @JTFouquier! FYI the pep8/flake8 error you were getting locally was fixed upstream in #852.


Extend dispatcher cache flush rules to flush pages that reference "shared" content

When there is content that is referenced/included by a number of pages elsewhere on site (e.g. AEM forms, content fragments), those referencing pages are not automatically flushed from cache when the shared content is updated.
The dispatcher cache flush rules allow flushing of one group of pages when content under another path is updated, but it is not always possible to know what is referencing the shared content.
Would you consider accepting an change to the dispatcher cache flush rules feature so that when pages under a certain path are updated, a flush could be triggered for other pages that reference those pages?

@cpilsworth Sure, but it should be build in a pluggable manner, so any one can development custom extensions that perform custom logic and flush as needed. You could provide the one you describe as the "first" impl of this hook.

@davidjgonzalez That sounds like a good idea.  Does this sound ok:
Create a DispatcherFlushActionFactoryImpl Preprocessor configuration factory similar to DispatcherFlushRulesImpl that would allow configuration of :

replication action type (e.g. invalidate etc)
path pattern (e.g. /content/forms/*)
action name (e.g. class name?)

The actions could be references to instances of a DispatcherFlushAction type component loaded using whiteboard pattern.  Calls to Preprocessor.preprocess would be delegated to the action, which could then (in the example) find references and flush those resources.

@cpilsworth i think so -- more i think about it, the more i like moving everything over to this pluggable framework and eventually ditching the FlushRules entirely.
Is the following ~ what you had in mind?

Few other thoughts since were rethinking this a bit...

Does action order matter?
Can/should actions be able to indicate prior state to the downstream?

Ex. should actions collect and return a list of all paths they flush?

Double-check Replication action type and/or paths are the domain of the Factory vs the individual FlushActions.

@davidjgonzalez that's pretty much what I had in mind.  I'm kinda split on the role of the action here:
1) Resource gathering action
I was thinking of an action as something that would just gather candidates for flushing (2) that may have been impacted by the modification of some other resource.  The existing dispatcher cache flush rules implementation has a "if this is flushed then flush that".   was thinking of something that would gather the "that" information. The replication action type and source path managed in the PathBaseFlushAction (3).
With this in mind, it could make it more difficult to configure if the source/destination paths are split from between an ActionFactory configuration and a child Action configuration for the existing PathBaseFlushAction use case.
2) Flush executing action
However.... perhaps a better alternative is for the ActionFactory just to provide the "hook" into the flush event mechanism and for both the original and secondary resource flushes to be managed the action.  That potentially gives the action more flexibility on the flush parameters (e.g.  recache).  So in this case actions would not just collect paths (2), they would then go on to execute the flush on those and the replication action type is defined at the action level (3).
I'm not sure the order matters in either (1).
I think I'm favouring the latter as the action has more flexibility and the configuration is in one place.

@cpilsworth
I like the idea of keeping the Flushing in the ActionFactory; it would let us add some efficiencies like tracking what has been flushed so we don't double-flush, prevent cyclic flushing, put guards in (100 flush -> INFO, 1000 -> WARN, 10000 -> ERROR).
Maybe the FlushActions could returns a List of FlushActionItem objs that gold the path to flush, and override-able replication options (which are used for that particular flush).
I think keeping the minimum behavior of the FlushActions themselves simple (~ collect and return a bunch of paths) is key.
Im a bit torn at what level the configuration should exist .. I tried to straw-man the configs out..

ActionFactory ~= A Tenant in AEM
FlushActions ~= Collection of use-cases for said tenant

ActionFactory.siteA
paths=[/content/site-a/,/content/dam/,/conf/site-a] <- Not sure if this is even needed?
flushActions=[...(name=siteA.products)|(name=siteA.contentFragments)|(name=siteA.conf)]

PathAction.products
paths=[/etc/products=/content/site-a/products]
type=hierarchy

ReferencedAssetsAction.contentFragments
/* If the original replicated resource exists under the left-side of paths is in 'assetTypes' then flush any pages that contain it under the right side of paths */
paths=[/content/dam=/content/site-a]
assetTypes=[contentFragment]
type=resource-only

PathAction.conf
paths=[/conf/site-a=/content/site-a]
type=hierarchy

we'd have to be careful wrt to tenant overlap as /content/dam -> would likely effect many tenants. Maybe we need a service 1 level above the ActionFactory that implements preprocessor than can de-dupe flush requests across everything ? the alternative would be to pull out the common actions into a "shared tenant" config (which requires more coordination between teams)
This turned out to be a lot harder than i initially thought :)

@davidjgonzalez my specific requirement for this functionality has subsided.  Also, not sure if this functionality will be covered by ootb AEM for content/experience fragments.  Happy to close this, unless you see a reason to keep it open.

@cpilsworth @davidjgonzalez Do you know what is the default behavior when publishing an Experience Fragment? Does the pages that have a reference to it get flushed as well? Thanks.

XF does not “auto-flush” referencing resources; you’d want to set up your own rules to handle this

Does ACS provide the dispatcher flush facility such that, If any image update, the all the pages in which that image is referenced, gets automatically flushed?

@vivekdhiman - unfortunately we don’t have any real intelligent lookup for what needs flushing .. it’s all have to be general path based flush schemes

Hi Team,
Recent was facing a issue related to the Adaptive Forms update on pages after publishing the changes in the Adaptive form.
The Problem Scenario is as following :

We are making changes to the Adaptive Forms.
Publishing the Forms.
On Publishing the Form, the form changes are not reflecting on the Pages on which the form is Authored in the Website.

Need a solution where the Dispatcher Flush Automatically invalidates the pages where the Adaptive forms is Authored on Publishing the Adaptive Form itself.
Is there any dispatcher configuration or a way we can achieve the above.


Allow running e2e tests for azure

This change makes the platform used during e2e tests configurable
(defaulting to AWS for compatibility) and adds additional flags so they
can be executed against Azure.
Ref https://issues.redhat.com/browse/HOSTEDCP-243

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/lgtm


clFFT examples not building  when using the static library

This effects Windows and Linux. The problem does not seem to appear on OSX.
The link error for windows can be seen here:
https://gist.github.com/shehzan10/40126b46e111c4e2db62
The link error for Linux can be seen here:
[ 67%] /usr/bin/ld: ../library/libclFFT.a(lifetime.cpp.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/lib/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
examples/CMakeFiles/example_examples_fft3d.dir/build.make:87: recipe for target 'examples/examples/fft3d' failed
make[2]: *** [examples/examples/fft3d] Error 1
CMakeFiles/Makefile2:400: recipe for target 'examples/CMakeFiles/example_examples_fft3d.dir/all' failed
make[1]: *** [examples/CMakeFiles/example_examples_fft3d.dir/all] Error 2

This needs to be fixed before https://github.com/arrayfire/arrayfire/pull/454 can make it into our repo.

Tests are also failing to compile for clFFT. Adding -ldl solves the issue on the command line.


Heading should be "amd64" not" x86_64"

File: engine/installation/linux/docker-ce/debian.md, CC @mstanleyjones
Hello,
The heading above the following command currently is x86_64 and it should amd64:
$ sudo add-apt-repository
"deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")
$(lsb_release -cs)
stable"
I'm linking to this page from another doc set which requires amd64, and this will make it hard for users to find the right command.
Thanks,
Nancy

I believe that amd64 is a subset of x86_64 and these packages work on all X86 64-bit hardware. I don't think this is something we should change. We did have other users who were confused about whether we supported non-AMD X86 hardware.
cc/ @andrewhsu in case I'm wrong, but I'm inclined to close this. You can always clarify for your users on the page where you are linking from.

In the debian world, they specify amd64 as the architecture so I would suggest we stick to that in the documentation: https://wiki.debian.org/DebianAMD64Faq
As a side note, debian labels the power architecture ppc64el instead of ppc64le: https://lists.debian.org/debian-powerpc/2014/08/msg00042.html
I wish architecture names were more standardized across linux distros.

Ugh. SHould we call it amd64 everywhere or just in Debian / Ubuntu? We have quite a bit of content reuse that will be annoying to maintain if we diverge.

Hi,
Just want to say that I really appreciate the quick response on this issue.
Perhaps you've already seen it, but In the Ubuntu section
https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/#install-using-the-repository,
the heading is already "amd64" above the command:
sudo add-apt-repository
"deb [arch=amd64] ...
That's why I was confused when the similar command in the Debian section
had x86_64 as the heading.
In my docs, we used to have the Docker commands to install Docker on a
Debian VM instance, but they were never quite right. I think it's better to
link to your docs. This is what I've added:
Follow the steps in the Docker Docs
https://docs.docker.com/engine/installation/linux/docker-ce/debian/#install-using-the-repository
to
set up the Docker repository for amd64 and install Docker CE on the
instance.
The Docker Docs list several sudo add-apt-repository commands. Make sure
you run the one for amd64:
$ sudo add-apt-repository
"deb [arch=amd64] https://download.docker.com/linux/$(.
/etc/os-release; echo "$ID")
$(lsb_release -cs)
stable"
So I'm hoping that's clear enough for our users.
Thanks again,
Nancy
On Thu, Oct 5, 2017 at 5:27 PM Misty Stanley-Jones<EMAIL_ADDRESS>wrote:

Ugh. SHould we call it amd64 everywhere or just in Debian / Ubuntu? We
have quite a bit of content reuse that will be annoying to maintain if we
diverge.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/docker/docker.github.io/issues/4803#issuecomment-334627557,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVlBebFsg2NrH8RqKZDPumCYHSiRQLU9ks5spXPlgaJpZM4Pua1Z
.

You're most welcome! For the record, my "ugh" response was not to you. It was just annoyance at the fact that we just standardized on x86_64 a few weeks ago after a lot of back-and-forth. Still not sure which way to go, but I'm pondering it.

Hi,
I've got a link to your docs in my docs:
https://cloud.google.com/endpoints/docs/openapi/get-started-compute-engine-docker#install_docker_on_the_vm_instance
I hate linking to another doc set in a procedure. Do you think Docker CE
installation is fairly stable? It would be better to have the exact steps
for Debian in my procedure, and then a "for more information, see the
Docker documentation."
Thanks
Nancy
On Wed, Oct 11, 2017 at 10:16 AM, Misty Stanley-Jones <
<EMAIL_ADDRESS>wrote:

You're most welcome! For the record, my "ugh" response was not to you. It
was just annoyance at the fact that we just standardized on x86_64 a few
weeks ago after a lot of back-and-forth. Still not sure which way to go,
but I'm pondering it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/docker/docker.github.io/issues/4803#issuecomment-335882224,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVlBeXDFi-LtWkYngwaUfQkenSHtMtbRks5srPf6gaJpZM4Pua1Z
.

The steps should be pretty stable, yep. We revamped the installation procedures several months ago to make them less error-prone. For Docker CE you could also consider just having them use the convenience script: https://docs.docker.com/engine/installation/linux/docker-ce/debian/#install-using-the-convenience-script (noting the caveats)

Thanks for the tip about the script. I’ll definitely add that. I think I’ll
go ahead and add the steps for installing Docker CE back to our docs, with
a link to the convenience script.
On Mon, Oct 23, 2017 at 11:34 AM Misty Stanley-Jones <
<EMAIL_ADDRESS>wrote:

The steps should be pretty stable, yep. We revamped the installation
procedures several months ago to make them less error-prone. For Docker CE
you could also consider just having them use the convenience script:
https://docs.docker.com/engine/installation/linux/docker-ce/debian/#install-using-the-convenience-script
(noting the caveats)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/docker/docker.github.io/issues/4803#issuecomment-338754892,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVlBecdo2TXXIHuk8JB5d20Dvsrv29Bfks5svNwRgaJpZM4Pua1Z
.


build: rewrote Dockerfile

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.76%. Comparing base (ad202b0) to head (367fa58).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #101   +/-   ##
=======================================
  Coverage   80.76%   80.76%
=======================================
  Files          42       42
  Lines        2745     2745
=======================================
  Hits         2217     2217
  Misses        528      528

Flag
Coverage Δ

anthropic
79.48% <100.00%> (ø)

openai
79.01% <100.00%> (ø)

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.


Capacitor stuck output mode with tesseract

Capacitor will stay on input with a tesseract attached.  When you cycle through the mode (input,output disabled etc)  once on input and stop it switches back to output only
versions:
forge: tried version 1230 through to 1286
EnderIO-1.7.10-<IP_ADDRESS>7
CoFHCore-[1.7.10]3.0.0B9-40
ThermalExpansion-[1.7.10]4.0.0B8-23
ThermalFoundation-[1.7.10]1.0.0RC1-13
No other mods installed

downgrade EIO , the current version uses a new RF API that most mods doesn't even have it
also EIO has it's own version of tesseract called dimensional transceiver try it out

@6210classick please stop suggesting people downgrade. It's not helpful and it doesn't solve the issue.

@tterrag1098 i apologize for that but it's really one of the few solution that works because mods don't get updated as fast as EIO so the problem isn't coming from it but rather TE isn't updated again i apologize

I do have it working with latest Enderio now but with a specifc version of TE.
CoFHCore-[1.7.10]3.0.0B9-40
ThermalExpansion-[1.7.10]4.0.0B6-16
ThermalFoundation-[1.7.10]1.0.0B3-8


Character Offset on Load with VR Character

Hi Steve,
Thanks for the Plugin. I just started implementing it into a Project based on the VR Expansion Plugin (https://github.com/mordentral/VRExpansionPlugin). Adding the interface to the VRCharacter (which I think uses a custom VRMovementComponent) results in a positional offset of ~1m to the right after loading compared to the position on save (also resulting in falling down after saving on an edge). I wondered if you know any possible reasons before I start to dig into it myself?

Sorry, I can't think of anything off hand. SPUD just teleports the character back to its previously reported location and resets velocity on standard movement controllers, but won't know about any custom ones, perhaps that's the place to start looking.

Is there a way to a to quickly retrieve the saved data from a save? E.g. to print the saved transforms when clicking "save game"?

You can debug USpudState::WriteCoreActorData and USpudState::RestoreCoreActorData or add some UE_LOG entries to them.

So it seems like the transform is restored correctly but changes only a Frame after Restore for unknown reasons. Disabling the Velocity restore (only time the MovementComponent is needed?) doesnt change the behavior either.

I asked the VRE Developer and this might be a general VR Problem as the Position of the VR HMD/Camera is Offset from the Actor itself. Setting the Position manually on the Restore Custom Data Event works.

There are quite a lot of things that can take a frame to sync up after major changes, I'd recommend keeping your loading screen up for a second or so more than should be strictly necessary to hide them. Also applies to hiding things like texture streaming as well.
I'll mark this closed then?


use puppy

no dll dependence, no need ship ssl certificate

dunno what's the best way add optional dependency.

looks like nimble doesnt support optional dependencies still, but it does support define(windows). so make puppy windows only.


[stable/heapster] Target new secure kubelet port

Is this a request for help?:
No
-->
Version of Helm and Kubernetes:
Using Terraform helm provider:
provider "helm" {
  version        = "~> 0.7.0"
  install_tiller = true

EKS cluster v1.11
Which chart:
stable/heapster
What happened:
Heapster no longer works on EKS, because the kubelet on the new AMI no longer listens on theon --read-ony-port 10255, which had disabled in the latest AMI release as per the K8s upstream stream project's hardening changes.
https://github.com/kubernetes/kubeadm/issues/732
https://github.com/kubernetes/kubernetes/pull/59666
Tried the solution described here:
https://github.com/awslabs/amazon-eks-ami/issues/128
What you expected to happen:
Heapster is deployed succesfully.
How to reproduce it (as minimally and precisely as possible):
resource "helm_release" "heapster" {
      name     = "heapster"
      chart    = "stable/heapster"
      namespace = "kube-system"
      # Heapster needs permissions to access the cluster
      set {
        name   = "rbac.create"
        value  = "true"
      }
      # Readonly port was disabled by AMI maintainers in adhering to k8s hardening guidelines, so we need to target the new secure port here
      # https://github.com/awslabs/amazon-eks-ami/issues/128
      set {
        name   = "command"
        value  = "/heapster --source=kubernetes:kubernetes:https://kubernetes.default?useServiceAccount=true&kubeletHttps=true&kubeletPort=10250&insecure=true"
      }
}

terraform apply
Error: Error applying plan:

1 error(s) occurred:

module.monitoring.helm_release.heapster: 1 error(s) occurred:

helm_release.heapster: rpc error: code = Unknown desc = render error in "heapster/templates/deployment.yaml": template: heapster/templates/deployment.yaml:53:27: executing "heapster/templates/deployment.yaml" at <.Values.command>: range can't iterate over /heapster --source=kubernetes:kubernetes:https://kubernetes.default?useServiceAccount=true&kubeletHttps=true&kubeletPort=10250&insecure=true

**Anything else we need to know**:

You're passing in a string where a list is needed (hence "range can't iterate over etc.") Try:
value  = "{/heapster,--source=kubernetes:kubernetes:https://kubernetes.default?useServiceAccount=true&kubeletHttps=true&kubeletPort=10250&insecure=true}"

Seems to work now, thanks for your help!


Fix selection stuck after saving scene

Fixes #96574

The notification NOTIFICATION_WM_WINDOW_FOCUS_OUT was not processed in CanvasItemEditor to reset the selection.
The same issue was present in Node3DEditorViewport but in this editor, the selection was never resetted even on NOTIFICATION_APPLICATION_FOCUS_OUT.

Thanks!


Evaluation stops after about 30 rows of data

I'm running evaluation on a dataset using GPT 3.5 from Azure. It works well with a sample of the data, but when I try to pass a dataset with about 200 rows, the process never finishes and the progress bar freezes.
So I tried to split the data into chunks to avoid this problem. Yesterday it was working but today the evaluation is stoping in the second chunk (after around 30 - 40 rows). Does anyone know what could be going on?
No erros, it just freezes.
Code for chunking:
for _, chunk in df.groupby(chunks):
print(f"Chunk {chunk}")
print(f"-------------------------------")
try:
dataset_abi = Dataset.from_pandas(chunk)
result_abi = evaluate(
dataset_abi, metrics=metrics, llm=azure_model, embeddings=azure_embeddings)
df_resultados_item = result_abi.to_pandas()
resultado_df = pd.concat([resultado_df, df_resultados_item])
resultado_df.to_excel(args.output_path, index=False)
print('DF salved')
except Exception as e:
print(f"Erro {e}, item {chunk}")
pass
print('End')

Have you checked your key? Is there a limit on the number of requests?

I managed to resolve the issue by inserting a 'time.sleep(60)' between the chunks. There is a limit on API requests that I was not aware of. Thank you!


Add draft directory

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


Make search filters case insensitive

LGTM, :+1:
(do we have any tests for that? :P)

Now we do :P

:+1:

👍


Xcode 10.2, Swift 5 cleanup

Various minor changes, source code already works.

Hey @radianttap, thanks for the effort!


run harlequin --no-download-tzdata on windows Cmder abnormal

Describe the bug
at first, I  input select version(), but the run query button is not exsits, after press Ctrl+J, the run query button is displayed, but the sql input disappeared,
To Reproduce
run harlequin --no-download-tzdata on windows Cmder
Expected behavior
it always shows the sql editor and the  run query button
Actual behavior
at first, I  input select version(), but the run query button is not exsits, after press Ctrl+J, the run query button is displayed, but the sql input disappeared,

Additional context
What is the output of harlequin --version?
harlequin, version 1.15.0

Installed Adapters:
  - duckdb, version 1.15.0
  - sqlite, version 1.15.0

What database adapter are you using with Harlequin? (Default is DuckDB)
DuckDB
Can you tell us more about your system?

Shell:
Terminal:Cmder
OS of the shell:Windows 7
OS of the terminal (if different from the shell):Windows 7

For example, for my system, these are:

Bash
Windows Terminal
Ubuntu 22.04 / WSL2
Windows 11

Windows 7 was EOL 4 years ago; I'm sorry but you're on your own for this one. I did briefly try cmder on Windows 11, but it doesn't really work; it doesn't resize the windows properly, mouse input isn't accepted, etc. I recommend upgrading to Windows 10+ and using Windows Terminal.


Ensure all spo list roleinheritance commands have all available list options

Noticed some sort of inconsistency regarding list options. To reference a list, you could use 3 ways: title, id or URL.
Below is a summary of all commands with their missing option(s).

Command
Options to add

spo list roleinheritance break
--listUrl

spo list roleinheritance reset
--listUrl

@milanholemans I could work on this :-)

All yours @MathijsVerbeeck !


React UI: Issue with long labels

Bug Report
What did you do?
Run a query with long labels in react ui graph
label_join(label_join(label_join(label_join(label_join(label_replace(vector(1),"Lorem","Lorem_ipsum_dolor_sit_amet__consectetur","",""),"Lipsum","","Lorem"),"Xipsum","","Lorem"),"Yipsum","","Lorem"),"Zipsum","","Lorem"),"Bipsum","","Lorem")

What did you expect to see?
metrics appear in one line
What did you see instead? Under which circumstances?
metrics appear in multi line with line breaks in the middle.

How valid is such a long set of labels?
Eventually, the container can wrap the content but this means more than one line.

There is no limit on the number or size of labels.

More than one line is fine. While I provided a test query, I have actually seen it on prod with real metrics.


cmd/go: add support for GitHub Enterprise import path

For now, go get does not fetch packages hosted on GitHub Enterprise  correctly without any workarounds.
$ go get -v ghe.in.my.company/user/repo/sub
Fetching ghe.in.my.company/user/repo/sub?go-get=1
Parsing meta tags from https://ghe.in.my.company/user/repo/sub?go-get=1 (status code 404)
package ghe.in.my.company/user/repo/sub: unrecognized import path "ghe.in.my.company/user/repo/sub" (parse https://ghe.in.my.company/user/repo/sub?go-get=1: no go-import meta tags)

When I execute go get, it issues an HTTP request to find go-import meta-tags.
But GHE does not return any meta-tag because ghe.in.my.company/user/repo/sub is 404 for GHE ( ghe.in.my.company/user/repo/tree/master/sub would work fine).
So, in order to use golang with GHE, we have to

a) Use import path with .vcs. ex) ghe.in.my.company/user/repo.git/sub
b) or use a redirect server that attach go-import meta-tags.

But, a) would be a error prone especially for newbies. Many people at first download repo into ghe.in.my.company/user/repo but, after that, go get would download it's sub packages into ghe.in.my.company/user.git/repo. I think this would make people confused.
b) This would work fine, but I think managing a server only for dependency resolution is not very efficient.
So, I think it would be great if cmd/go natively support GitHub Enterprise.

My patch is here. Could anybody please review this?
https://go-review.googlesource.com/#/c/33171/

Hi, @bradfitz. As go cmd had a major refactoring, I've abandoned the previous CL and created new one which is rebased on Go1.8 with some cleanup.
I'd appreciate you if you could review my new one.

It sounds like maybe the solution should be to support ?go-get=1 in the GHE 404 page, but we'd have to write down exactly what that would mean before approaching GitHub (or suggesting that their paying customers do that).

Here is the Gitlab implementation, for reference. It seems that there was a similar issue with Golang subpackages for it as well.

ok 1.9 is out and disappointed that it still doesn't work with GitHub Enterprise over ssh as-is.
git clone git@ghe.mycompany.com:org/repo.git does not create a .git directory but go decided not to allow any git url schemes and not to use the standard git cloning convention and create a directory with .git suffix which provides a confusing experience for everyone involved...

@jijojv I encourage you to send a patch, so that this can be fixed for 1.10.

@ianlancetaylor sorry just a lowly github admin, but i can in python if it'll get accepted.   Looks like someone attempted above, so shouldn't be too hard for a real go user/fan.

@rsc Hi, my colleague asked Github Enterprise team about this issue.
They said that they respond <meta> tag from repository page but do not respond from 404 page intentionally due to preventing to leak private repos.Also they suggest a) adding .git into import path, b) using git clone instead of go get or c) using some proxy.

I think their intention is reasonable. And as I mentioned in the description of this issue, all of the suggested way are painful a little. So I'd like to propose adding support for Github Enterprise in go get.

@matope, our team is getting 200 response (via git config --global<EMAIL_ADDRESS>"https://my.ghe.domain/"), but since our repo is private, GitHub Enterprise doesn't return the meta tag unless you're authenticated. Is there a separate issue that needs to be created for this, or is there a workaround other than the options (a - c) that you suggested above? Thanks

@poeia As far as I've tested briefly, my patch works for private repositories too.
The CL I sent regards any domains as github instance if the servers return "Server: GitHub.com" header. And because Github Eenterprise (probably) returns the header from every pages, my CL could treat private repos well too.
# go1.8
$ go get -v my.ghe.domain/matope/private-repo
Fetching https://my.ghe.domain/matope/private-repo?go-get=1
Parsing meta tags from https://my.ghe.domain/matope/private-repo?go-get=1 (status code 404)
package my.ghe.domain/matope/private-repo: unrecognized import path "my.ghe.domain/matope/private-repo" (parse https://my.ghe.domain/matope/private-repo?go-get=1: no go-import meta tags ())

# go1.8 with CL37176
$ ./git/go/bin/go get -v my.ghe.domain/matope/private-repo
Fetching https://my.ghe.domain/matope/private-repo?go-get=1
Parsing meta tags from https://my.ghe.domain/matope/private-repo?go-get=1 (status code 404)
my.ghe.domain/matope/private-repo (download)
my.ghe.domain/matope/private-repo/sub2
my.ghe.domain/matope/private-repo/sub
my.ghe.domain/matope/private-repo

Note that I'm using not tokens but certificates to authenticate.

@matope, my concern was specifically for a 200 response, and whether or not it is linked with the same issue the 404 response gives. Do they both send you to the login page for private repos? I'm wondering if there is a way to bypass the login without the options (a-c) that you provided, or if we will have to wait for this patch. Just curious. Hope this patch gets implemented into 1.10!

Moving to Go 1.11. I hope we'll have a more comprehensive story around company repos then.

we had to use b) or use a redirect server that attach go-import meta-tags. for years.  I'd love to see a way for go get to work with GHE "directly" but not sure how the thorny issue of GHE authentication can be worked out: vgo would need to be able to pick the "ambient" credentials such as from ssh-agent,  would be very interested in any suggestions or experiences.  (I'll subscribe to the issue, would be happy to test if this comes to any changes or PoC).

With the GitHub Enterprise 2.13 release, on-premises GitHub Enterprise instances will now send the <meta> tags expected by go get for private instances and all repositories.
For instances that are in private mode, you will still need to manage authentication for the git pull phase of go get, but there are easy workarounds such as putting an authentication token in your .netrc or the insteadOf technique to force SSH as mentioned above.

Calling this fixed. Thanks so much @cjs.

@cjs Our team confirmed that it works. Thank you very much!


Sync change from mono-repo:

Support zipped tarballs in docker_image.FromTarball.

cc @selgamal

cc @sharifelgamal


addTagOn triggers on russian «б» character because its the same key on keyboard

Version

Vue version: 3

Description
I want to add tags with comma character: ,
I add it to addTagOn property of <Multiselect> component
:add-tag-on=`['enter', ',']`

And it works,
but
when I write in Russian locale, I cannot type character «б» because it adds tag instead of typing the character
its the same key on my keyboard:

It's because , and б has the same 188 keyCode in keyup event. But different key field.
Multiselect uses switch by keyCode in handleKeydown function:
https://github.com/vueform/multiselect/blob/main/src/composables/useKeyboard.js#L37
I think it should switch by key string which more specific

🤦♂

Got fixed in 2.3.0 with your proposal, which also needed a follow up with tests. Thanks for the effort anyways!

🤦♂

Please keep it cool, I'm doing my best.

it was my reaction to bot actions, not your work. VueForm is good OSS anyway


Consider renaming some methods for clarity.

glyph.removeOverlap -> glyph.removeContourOverlap
glyph.decompose -> glyph.decomposeComponents
glyph.correctDirection -> glyph.autoContourDirection

Why? I think they are clear enough. The suggested ones are simply more verbose but don't add much information.

A lot of it has to do with consistency. We have glyph.autoUnicodes, glyph.autoContourOrder, glyph.auto* and then we have glyph.correctDirection. I'm trying to make everything very consistent in fontParts. Backwards compatibility isn't going to be an issue so this is my chance to change the things that have bugged me for the last 13 years.

I see. Let's do it then. But let's try to keep the new names short as well as clear.

Still.. I see the point about the auto* stuff; but "removeOverlap" cannot not be about contours; similarly, one can only "decompose" components. So I'd say the first two suggested changes are a bit redundant.
Though I don't mind if you decide to rename them anyway.

removeContourOverlap sounds fishy tbh... and I think it's glyph.removeOverlap() in robofont too.

removeContourOverlap

I find this confusing as well.  With removeOverlap, I expect that it would remove all kinds of overlaps.  With removeContourOverlap, it's not clear whether it removes self-intersections within contours, or merges overlapping contours, or both.

I've had experience with scripters wondering why "removeOverlap" didn't fix overlapping components.

This. I teach a lot of beginning robofab and this does confuse folks. You'll find a lot of designers using overlapping components, making this more specific is good, removeContourOverlap, or perhaps, removeOverlappingContours is less confusing.

glyph.contours.removeOverlap? :wink:

Huh. Maybe tell them about decompose components or have removeOverlap(decomposeComponents=False)

removeOverlap(decomposeComponents=False)

That would require some very complex intersection evaluation. As far as I know, we don't have anything that does that easily and/or readily available.
I'm thinking of expanding the possibilities beyond a simple union of the contours:
glyph.unionContours()
glyph.intersectContours()
glyph.subtractContours()
glyph.excludeContours()

# or

glyph.removeContourOverlap(mode="union")
glyph.removeContourOverlap(mode="intersect")
glyph.removeContourOverlap(mode="subtract")
glyph.removeContourOverlap(mode="exclude")

# plus

glyph.whatever(onlySelected=False)

(Random peek-a-boo) Re students: you're not going to fix a conceptual misunderstanding by renaming a method.

I'm going to close this because the ship seems to have sailed. :)


Put #[inline] behind a cfg, off by default

Most people care way more about compile time than they care about performance. I'd like to see what this would do to Rusoto compile times.
See also #286.

It compiles 20% slower without any #[inline] so this definitely does not help.


CDC SVI Index: Additions to data-pipeline and comparison tool

Addresses #236
To replicate:

poetry run python3 data_pipeline/application.py etl-run --dataset cdc_svi_index
poetry run python3 data_pipeline/application.py score-run
In the comparison tool Jupyter notebook run the entire notebook to generate scores for CDC SVI Index based on the percentile rank of 90

Thanks for the assist with the markdown links @lucasmbrown-usds!


Make "Test multi grid support" support margins around grids

Since the extended search margin is needed for the inverse cases anyway, we might as well implement them now.
This adds another parameter to the contains and interpolation methods, the margin given in grid cell units.
The grid search stuff has been enriched with another nested loop, making the search run first with no margin, then with a half-cell margin. It may later show that this should actually be one half and one (due to the grid-vs.-image, point-vs.-block support stuff).
I hope I have this PR organized the right way round - the intention is that @Rennzie  should accept this one, which would update your PR against my repo, we will run the tests, they will succeed, and I will merge

Oops - this went towards your main branch. Trying again in a moment...

@busstoptaktik not to worry. I can change the base here.


Update CRDT-lib and protocol buffer interface

updated CRDT library (also includes #229)
updated protocol buffer library
clock in start_transaction is now optional, omitting the value is equivalent to ignore (this required a few changes in antidote_pb_txn.erl)
some new protocol buffer system tests
some protocol buffer system tests were changed: the new pb-client version only allows to store binary values in sets/registers

@peterzeller If you don't need this branch anymore, please delete!


chore(deps): change dependabot interval to monthly

Proposed Changes
Changed dependabot interval to monthly. The security updates aren't affected by this change.
Checklist

[x] Rebased/mergeable
[x] pub run test completes successfully
[x] Commit messages are in semantic format
[x] Sign CLA (if not already signed)

Codecov Report
Patch and project coverage have no change.

Comparison is base (2581ea0) 21.00% compared to head (5bbb15c) 21.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #129   +/-   ##
=======================================
  Coverage   21.00%   21.00%
=======================================
  Files         117      117
  Lines        7552     7552
=======================================
  Hits         1586     1586
  Misses       5966     5966

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


Async functions support

Hi! This is a nice crate.
But it doesn't support async functions. Is it hard to add support?

Hi!
I did experiment with async function support and didnt find a super easy way to do it (compared to sync functions)
Once async closures are stable it will become easy to implement. Until then feel free to raise a PR!

For anything that are not methods this approach should work: https://github.com/yoshuawuyts/context-attribute/blob/master/src/lib.rs
Async methods are harder :(


[ISSUE 3585] [Part F] eliminate regex match in topic/group name check

use bit map to replace regex.

Coverage decreased (-0.06%) to 55.093% when pulling 53a6a2528f4565927aea616238317e90c214b1c3 on shuangchengsun:492-f into 4daade3c1ac4ad0650b6e77430cd93ed9eeba0a7 on apache:develop.

Codecov Report

Merging #3594 (03668ea) into develop (4d49551) will increase coverage by 0.07%.
The diff coverage is 88.00%.

@@              Coverage Diff              @@
##             develop    #3594      +/-   ##
=============================================
+ Coverage      48.71%   48.79%   +0.07%
- Complexity      4638     4651      +13
=============================================
  Files            555      555
  Lines          36733    36737       +4
  Branches        4836     4841       +5
=============================================
+ Hits           17893    17924      +31
+ Misses         16596    16570      -26
+ Partials        2244     2243       -1

Impacted Files
Coverage Δ

...in/java/org/apache/rocketmq/client/Validators.java
55.55% <50.00%> (+5.55%)
:arrow_up:

...g/apache/rocketmq/common/topic/TopicValidator.java
96.77% <95.23%> (+3.02%)
:arrow_up:

...tmq/logappender/log4j2/RocketmqLog4j2Appender.java
35.00% <0.00%> (-10.00%)
:arrow_down:

...org/apache/rocketmq/store/ha/WaitNotifyObject.java
66.07% <0.00%> (-5.36%)
:arrow_down:

...a/org/apache/rocketmq/filter/util/BloomFilter.java
59.13% <0.00%> (-2.16%)
:arrow_down:

...n/java/org/apache/rocketmq/store/ha/HAService.java
71.28% <0.00%> (-0.67%)
:arrow_down:

...ent/impl/consumer/DefaultLitePullConsumerImpl.java
67.99% <0.00%> (-0.52%)
:arrow_down:

...ketmq/client/impl/consumer/PullMessageService.java
75.55% <0.00%> (ø)

...etmq/client/latency/LatencyFaultToleranceImpl.java
50.00% <0.00%> (ø)

...lient/impl/consumer/DefaultMQPushConsumerImpl.java
40.17% <0.00%> (+0.52%)
:arrow_up:

... and 9 more

Continue to review full report at Codecov.

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


pixel 8 pro (husky) modem.img or modem.bin file not recognized by shannon_loader.py

I downloaded modem_a.img and modem_a.bin from the device (pixel 8 pro) and added them to ida 8.3, but during the full loading phase, shannon_loader.py did not appear (not show loader). It appeared as a binary file.
When I extracted the modem.img file from the husky factory images and loaded it into the program, the installer did not appear in the same way.
There was a modem.bin file for s10e, when I tried it, it showed the ida pro shannon_load.py file directly while loading, and it extracted it nicely and functionally.

You need the modem.bin file, the 'img' is a disc image and it will contain the bin file. You first need to extract the modem from the disc image.
In case of Husky, this file is in fastboot package format:
xxd radio-husky-g5300i-230815-230825-b-10713889.img | head
00000000: 4642 504b 0100 0000 6735 3330 3069 2d32  FBPK....g5300i-2
00000010: 3330 3831 352d 3233 3038 3235 2d4d 2d31  30815-230825-M-1
00000020: 3037 3133 3838 3900 0000 0000 0000 0000  0713889.........
00000030: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000040: 0000 0000 0000 0000 0000 0000 0100 0000  ................
00000050: 8c60 3a06 0100 0000 6d6f 6465 6d00 0000  .`:.....modem...
00000060: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000070: 0000 0000 0000 0000 0000 0000 0060 3a06  .............`:.
00000080: 0000 0000 9060 3a06 30e2 0b68 6735 3330  .....`:.0..hg530
00000090: 3069 2d32 3330 3831 352d 3233 3038 3235  0i-230815-230825

Can you please check the header of your image which format it has?

Here is a wiki article I quickly put together on how to extract the image:
https://github.com/alexander-pick/shannon_modem_loader/wiki/Extract-Google-Pixel-Modem-Images-(FBPK---Fastboot-Package-Image-Format)

Thank you very much for your quick reply. work this!

@alexander-pick Sorry for the inconvenience, but I don't know who else can help you me.
I have been trying to extract the tensor modem.bin file for 1.5 days. I am using ida 9.0, it was very fast at first, but it slowed down in less than an hour and has been trying to extract slowly for about 1.5 days, my processor is i7 11th generation, I have 32 gb ram. But I could not solve the problem, it usually uses 40% cpu. When extracting without a script, it was completed in 30 minutes. It took a long time with shannon_load.py. Is this normal?

What do yo mean by extract, load it into IDA?

What do yo mean by extract, load it into IDA?

I open the normal ida program, I select the modem.bin file from the open file option (for pixel 8 pro, the modem.bin file is extracted as in your wiki) then the shannon_load.py file appears, I select it, and the program starts processing, I may not have real written this for you exactly because I am using translation.

Looks as if it is working, but why are you on hex view? Pixel images are bigger as they contain more code but it shouldnt be that slow (1,5 days) unless the computer is very old.

Looks as if it is working, but why are you on hex view? Pixel images are bigger as they contain more code but it shouldnt be that slow (1,5 days) unless the computer is very old.

maybe the graphic viewer was slowing it down, i closed it while ida was processing and left it only in hex view.
Then 12 hours ago, i loaded ida to an imac m1 processor device and processed the modem.bin file just like on the other i7 11.gen device,
The first 15 minutes were incredibly fast, then when the line in the function reached around 87500
it started to slow down just like on my i7 processor windows device, and i have been running it for 12 hours, now it is still very slow and  litte litte freezes,
I wonder if shannon_load.py will work better on linux device?
If there is no solution, will this process be completed within 1 week? The device has been working non-stop for 2 days, but now it is still in the 87852 line (the complete slowdown started at 87850 on both m1 mac and i7 11th gen Windows

Do you have the opportunity to try it on your own device modem.bin on ida? Will the slowdown start in the same area? The slowdown becomes apparent after about 30 minutes

I tested the file and it is slow for me as well. CPU power doesn't mater much here as IDA Pro's auto analysis is single core only anyways. This is also not an issue of the loader, the auto analysis is turning circles. I am currently checking if I can pin it down.

I tested the file and it is slow for me as well. CPU power doesn't mater much here as IDA Pro's auto analysis is single core only anyways. This is also not an issue of the loader, the auto analysis is turning circles. I am currently checking if I can pin it down.

finally! now it's done!
my purpose in doing this: when i change the imei in devinfo or change the place of the existing 2 imei and upload the devinfo.img file back to the phone, the imei's become<PHONE_NUMBER>000 due to the imei verification mechanism, for this reason i need to fix my device by finding the imei verification mechanism in modem.bin, do you have any information about this, how to find/fix the verification mechanism


Update README.md with copyright year updated

My understanding is:
Traditionally, this needed to be the year the content was published.
Nowadays, due to changes in copyright law (at least in the US) the year actually doesn't matter.
In any case, I'm going to leave it as-is.
I do appreciate the PR, though! If you see anything else that needs improvement, please feel free to send another one!


Cancel concurrent jobs with the exception of merged PRs

We always want merged PRs to queue up and complete in order or versioning will break.
Change-type: patch
Signed-off-by: Kyle Harding<EMAIL_ADDRESS>Resolves: https://github.com/product-os/flowzone/issues/419

I self-certify!


[Feature Request] Allow copying url links from notes

You can try this app for workaround:
https://f-droid.org/packages/com.intrications.android.sharebrowser


[improvment] Ignore the case of column name, when do the stream load in json format

Proposed changes
Issue Number: close #8070
Problem Summary:
stream load in json format is case sensitive, In order to be consistent with sql standard, change it to  case insensitive
Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

I have two question:

this solution is only for simple json, and other json would cause different behavior?
it seems that if user not use fuzzy_parse for optimization that would cause different result?


[Enhancement] Add system table be_cloud_native_compactions

StarRocks> select * from information_schema.be_cloud_native_compactions;
+-------+--------+-----------+---------+---------+------+---------------------+---------------------+----------+--------+
| BE_ID | TXN_ID | TABLET_ID | VERSION | SKIPPED | RUNS | START_TIME          | FINISH_TIME         | PROGRESS | STATUS |
+-------+--------+-----------+---------+---------+------+---------------------+---------------------+----------+--------+
| 12021 |  18045 |     25021 |      97 |       0 |    1 | 2023-04-13 17:27:15 | 2023-04-13 17:27:15 |      100 | OK     |
| 12021 |  18045 |     25022 |      97 |       0 |    2 | 2023-04-13 17:27:15 | NULL                |       25 | OK     |
| 12021 |  18045 |     25023 |      97 |       0 |    2 | 2023-04-13 17:27:15 | 2023-04-13 17:27:20 |      100 | OK     |
| 12021 |  18045 |     25024 |      97 |       0 |    1 | 2023-04-13 17:27:15 | NULL                |        0 | OK     |
| 12021 |  18045 |     25025 |      97 |       0 |    2 | 2023-04-13 17:27:15 | 2023-04-13 17:27:20 |      100 | OK     |
| 12021 |  18045 |     25026 |      97 |       0 |    2 | 2023-04-13 17:27:15 | 2023-04-13 17:27:20 |      100 | OK     |
| 12021 |  18045 |     25027 |      97 |       0 |    2 | 2023-04-13 17:27:15 | 2023-04-13 17:27:20 |      100 | OK     |
| 12021 |  18045 |     25028 |      97 |       0 |    2 | 2023-04-13 17:27:15 | 2023-04-13 17:27:20 |      100 | OK     |
| 12021 |  18045 |     25029 |      97 |       0 |    1 | 2023-04-13 17:27:15 | NULL                |       33 | OK     |
| 12021 |  18045 |     25030 |      97 |       0 |    1 | 2023-04-13 17:27:15 | NULL                |        0 | OK     |
| 12021 |  18045 |     25031 |      97 |       0 |    2 | 2023-04-13 17:27:15 | 2023-04-13 17:27:20 |      100 | OK     |
| 12021 |  18045 |     25032 |      97 |       0 |    2 | 2023-04-13 17:27:15 | 2023-04-13 17:27:20 |      100 | OK     |
| 12021 |  18045 |     25033 |      97 |       0 |    2 | 2023-04-13 17:27:15 | 2023-04-13 17:27:20 |      100 | OK     |
| 12021 |  18045 |     25034 |      97 |       0 |    2 | 2023-04-13 17:27:15 | 2023-04-13 17:27:20 |      100 | OK     |
+-------+--------+-----------+---------+---------+------+---------------------+---------------------+----------+--------+

What type of PR is this：

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:heart_eyes: pass : 15 / 15 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/SchemaTable.java
15
15
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 15 / 15 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/SchemaTable.java
15
15
100.00%
[]

@Mergifyio backport branch-3.0


Add a sankey example

Coverage increased (+0.7%) to 66.088% when pulling 48210d5275f02fa10ba807b9716de78aa42dc219 on sankey into 5be7b03ba4fb5094f64f9cc5aff0100abeee673a on master.


Kotlin: Add option to encode enums as value classes

Changes
Add an enumEncodingStyle option to allow the user to generate either an enum class or value class using the Kotlin backend.
Background
We currently have some fairly complicated serialization machinery to deal with "unknown" enum cases:

Massage MoatData to include an additional unknown case.
On the Android side, a custom serializer which falls back to this unknown case for unrecognized case names in the JSON.
Generate instances of this serializer for each enum type, because Kotlin enum classes are completely static, so we must inform the serializer of each field we should recognize.

An example of the resulting Kotlin code:
@Serializable(with = TransactionStatusSerializer::class)
@Parcelize
enum class TransactionStatus : Parcelable {
    pending,
    created,
    sent,
    cancelled,
    failed,
    alertFailed,
    deleted,
    holdReleased,
    pendingApproval,
    unknown,
}

internal object TransactionStatusSerializer : EnumSerializer<TransactionStatus>(
    TransactionStatus::class,
    listOf(
        TransactionStatus.pending,
        TransactionStatus.created,
        TransactionStatus.sent,
        TransactionStatus.cancelled,
        TransactionStatus.failed,
        TransactionStatus.alertFailed,
        TransactionStatus.deleted,
        TransactionStatus.holdReleased,
        TransactionStatus.pendingApproval,
    ),
    TransactionStatus.unknown
)

Pretty much all of this can be removed if we generated "value classes" (the Kotlin equivalent of newtype) instead. For example:
@Parcelize
@Serializable
@JvmInline
value class TransactionStatus(val value: String) : Parcelable {
    companion object {
        val Pending: TransactionStatus = TransactionStatus("pending")
        val Created: TransactionStatus = TransactionStatus("created")
        // ...

        val entries: List<TransactionStatus> = listOf(
            Pending,
            Created,
            // ...
        )
    }
}

This construct retains the positive qualities of enum classes:

"exhaustive when" behavior, by replacing unknown -> with else ->
enumeration of known cases (via the generated entries field)

But it has the advantage of being decodable by the default serialization config while implicitly handling unknown case names.

LGTM!


LITE-20832 Malformed RQL select query is correctly handled

Also restored coverage to 100%

Codecov Report

Merging #26 (cddf474) into master (0852140) will increase coverage by 0.13%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           master       #26      +/-   ##
===========================================
+ Coverage   99.86%   100.00%   +0.13%
===========================================
  Files          18        18
  Lines        1499      1505       +6
  Branches      260       261       +1
===========================================
+ Hits         1497      1505       +8
+ Misses          1         0       -1
+ Partials        1         0       -1

Impacted Files
Coverage Δ

dj_rql/drf/compat.py
100.00% <100.00%> (ø)

dj_rql/exceptions.py
100.00% <100.00%> (ø)

dj_rql/filter_cls.py
100.00% <100.00%> (+0.29%)
:arrow_up:

dj_rql/parser.py
100.00% <100.00%> (ø)

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 0852140...cddf474. Read the comment docs.


New fixed Launchers and KOR support

Also fix the touch input of CHN console

#75 can be closed now, lol


Update find command

Resolves #37
We can now do partial matching for the name, phone, and address fields of a person!

Examples:

Product of find rc4 (searching by address)

Product of `find 123` (searching by phone number)

Product of `find mi` (partial name matching)


Runtime dependency on sass

The Rails 3.1 default application template now includes sass-rails in the assets group, which is not loaded in the production web process, only during the precompile step.
I'm not exactly sure what the sass dependency is for, but since I believe the activeadmin resources are being precompiled, it would be best to eliminate it.
If not, you'll at least want some documentation that specifies you have to move sass-rails around in the Gemfile from its default location.

+1
This dependency is also the problem in #447, but I don't think that moving "sass-rails" out of the :assets group is a solution.

Moving sass-rails outside of the :assets group is no longer referenced in the README as an installation step, but it's still required as a runtime dependency in v0.4.2.


Feature: Autocompletion

[x] basic snippets has been implemented.
[x] Company Coq (currently in a branch until license stuff is sorted out)
[ ] module names

closing in favor of  #76


Fix the CLR type issue in PostgreSQL

#195
for all ids in query should be used WithEnvelopeIds

@aliseyedali I had just barely managed to track that down and added a test for the specific fix you made. Really with I'd checked the PR tab first:-).


Update README

Update docs with new way of using getXXX mappers and add section about define helpers.

Done in v1.4.0


improve eval by strategy and pawn structures ?

hi,
i successfully compiled your v0.1 into a Linux binary and it runs fine in CuteChess !
btw. your previous Trappist asset binary did NOT run, i couldn't use it ..
Blaze plays rather weak (still) .. i played a game with the White pieces, using a typical pawn structure setup in the opening and Blaze seemed confused by it, and (even) blundered a piece :

the analyses is on LiChess : their quick SF 14 eval.
here's my own explanation, HTH.
maybe you can tune eval parameters
to make Blaze understand strategical ideas and square relations ?
[Event "human vs engine"]
[Site "Holland @ https://lichess.org/DqYa6kbM "]
[Date "2023.02.19"]
[Round "?"]
[White "Roelof Berkepeis"]
[Black "Blaze v0.1"]
[Result "*"]
[ECO "A06"]
[Opening "Reti"]
[Termination "adjudication"]
[Variation "Nimzovich-Larsen attack"]

1.Nf3 d5
2.b3 ...

with this opening White claims square e5, an important black centre square,
maybe Black should aim for f7-f6 to claim e5 himself,
but other setups are possible also.

2...Nf6
3.Bb2 e6
4.e3 Nc6?

Black should aim for the normal c7-c5, now the Knight disrupts this pawn push.

5.c4 Bb4?

this is not check, on b4 the Bishop is an easy target for White to improve his position :

6.a3 Bd6
7.d4 b6
8.Qc2 dxc4
9.Bxc4 O-O
10.e4 Na5??

a blunder .. now White wins a piece with a simple fork combination :

11.e5 Nxc4
12.bxc4 Be7
13.exf6 Bxf6

*

i see you implemented bitboards into the dev-version .. at which moment your master will be updated ?  Are you still testing / implementing the bitboards ?

@tissatussa It's really unclear actually, i'm trying to do it patiently but i guess it's just hard.
i'm trying to add unit tests but i'm mainly just testing locally for now. but hopefully when we have a working bitboard implementation we will start updating master

any progress with your bitboard implementation ?

I did manage to have a working quad-bitboards implementation after experimenting with different bitboards, but i won't be able to push these changes yet as i have to do more testing and sort things out.

Hi @tissatussa,
I wanted to let you know that i've been pushing a lot of changes to the new refactor of Blaze in the dev branch.
At this point it's almost (i need a bit more testing) catching up to main, but with significantly speedier backend implementation.
I'm also focusing mainly on functionality for now, but i want to make the code also idiomatic and readable later on.

@tissatussa That would be awesome!
I use fastchess and ordo.
I will let you know when i push the jupyter notebook i use for testing with all the commands needed

https://gist.github.com/antaz/5d8e0599c0a5331485f8c748b836fe70
You can use this notebook for now to automate testing of different versions, or feel free to adjust or setup your own testing environment.


The NYUDv2 dataset problem

Hi, thanks for the release of the modified NYUDv2 dataset, it saves me a lot of time. But I have noticed that the rgb images in NUYD_v2_img directory have a name format of  *-6.png, however, the name format of the label images in NYUD_v2_sem_gt directory  is *-20.png. Further more, I have also noticed that  the *-20.png in NYUD_v2_seq dir is the same as the *-6.png in NYUD_v2_img directory.
Now I am a little confused, could u help me explain the problem above? Thank u very much!

Hi, yes. "-6.png" in NUYD_v2_img corresponds to "-20.png"  in NYUD_v2_seq and NYUD_v2_sem_gt.
In our task, we only use video clips so I didn't change the name of files in NUYD_v2_img.

Thank u very much.