[flexible-ipam] Add e2e case for AntreaIPAM Pods

Please ignore commit "[flexible-ipam] Bridging mode and add Pod flows" in this PR.

Codecov Report

Merging #2877 (766dd3c) into feature/flexible-ipam (8f4bbec) will decrease coverage by 21.00%.
The diff coverage is 4.94%.

@@                    Coverage Diff                     @@
##           feature/flexible-ipam    #2877       +/-   ##
==========================================================
- Coverage                  61.59%   40.58%   -21.01%
==========================================================
  Files                        286      158      -128
  Lines                      23585    19880     -3705
==========================================================
- Hits                       14528     8069     -6459
- Misses                      7492    11047     +3555
+ Partials                    1565      764      -801

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
40.58% <4.94%> (-0.49%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/agent/agent.go
21.41% <0.00%> (-30.56%)
:arrow_down:

pkg/agent/agent_linux.go
0.00% <0.00%> (-80.00%)
:arrow_down:

pkg/agent/cniserver/server.go
49.67% <ø> (-19.24%)
:arrow_down:

pkg/agent/openflow/client_other.go
0.00% <0.00%> (-66.67%)
:arrow_down:

pkg/agent/openflow/pipeline_other.go
0.00% <0.00%> (-50.00%)
:arrow_down:

pkg/agent/util/net_linux.go
0.00% <0.00%> (-34.00%)
:arrow_down:

pkg/ovs/openflow/ofctrl_action.go
11.25% <0.00%> (-58.34%)
:arrow_down:

pkg/ovs/openflow/ofctrl_nxfields.go
11.53% <0.00%> (-46.80%)
:arrow_down:

pkg/agent/openflow/pipeline.go
21.48% <15.62%> (-56.98%)
:arrow_down:

pkg/agent/openflow/client.go
23.94% <30.00%> (-34.39%)
:arrow_down:

... and 238 more

/test-all
/test-flexible-ipam-e2e

/test-all
/test-flexible-ipam-e2e

/test-integration

/test-all
/test-flexible-ipam-e2e

/test-integration

/test-integration

/test-all
/test-flexible-ipam-e2e

/test-all
/test-flexible-ipam-e2e


Build creates invalid binaries

As seen in #12 - the build system is creating invalid binaries.
I need to leave my computer for the day, so I am manually fixing it by pushing binaries built on my work computer (M2 Max).
Need to investigate why GitHub Actions are building the binaries incorrectly.

Fixed via #15


feat: add common arguments

This commit adds --teams-webhook-notification-url as a top-level argument and also adds parsing of this flag and the existing --kafka-endpoints argument.
The argument names have also been de-duplicated.
Both will be used by the verification and transfer implementations in later commits.

Thanks for the comments @johnerikhalse, unfortunately, I am unable to make any progress on this PR until at least the middle of next week, so I will move this one to draft until then.

Ready for next round @johnerikhalse

It can be argued that all flags are available through the cmd *cobra.Command argument in the Run/RunE function of every cobra command and subcommand and as such don't need to be put in it's own package as global mutable variables.

Sure, the less global the better. How would you have done it if I might ask?

Ready for next round

It can be argued that all flags are available through the cmd *cobra.Command argument in the Run/RunE function of every cobra command and subcommand and as such don't need to be put in it's own package as global mutable variables.

It can also be argued that every command can set the value of a flag and as such is almost global mutable. With my solution you get guaranteed error handling which I think is more important and it's easier to read.

Ready for next round

Ready for next round


Currency conversion error

The script doesn’t seem to work for me for currencies other than EUR:
Apple Inc.
1 Infinite Loop
Cupertino, CA 95014
U.S.A.

Sales in United States (US)
	Quantity	Product	Amount	Exchange Rate	Amount in EUR
Traceback (most recent call last):
  File "./slicer.py", line 206, in <module>
    print_sales_by_corporation(sales, currencies)
  File "./slicer.py", line 175, in print_sales_by_corporation
    exchange_rate, tax_factor = currency_data[country_currency]
KeyError: 'USD'

What can I do to help?

Could you please provide me with your (anonymized) input files?

@eofster Are you still there?

Sorry, didn’t have to to anonymize the reports yet.

Hmm, my financial_report.csv doesn’t seem to have the exchange rate. It only has 11 elements in each line, not 12 like the script expects.
['Region (Currency)', 'Units Sold', 'Balance', 'Earned', 'Input Tax', 'Adjustments', 'Withholding Tax', 'Total Owed', 'Proceeds', 'Bank Account Currency', ‘']

It seems that I have two kinds of financial_report.csv that differ from the one you have.
For some reason during last several months I had a purchase from India that was being carried forward each month without being paid. So each CSV from that period is different in three ways:

It has 13 elements in each line, not 12 like the script expects.
It has a Balance column at index 2, so all indices that are involved in the exchange rate calculations are shifted by 1.
The purchases being carried forward have an empty string in the Exchange Rate column.

['Region (Currency)', 'Units Sold', 'Balance', 'Earned', 'Pre-Tax Subtotal', 'Input Tax', 'Adjustments', 'Withholding Tax', 'Total Owed', 'Exchange Rate', 'Proceeds', 'Bank Account Currency', ‘']

However, in my last financial report that purchase from India was finally paid, but the report doesn’t have the Exchange Rate column at all.
['Region (Currency)', 'Units Sold', 'Balance', 'Earned', 'Input Tax', 'Adjustments', 'Withholding Tax', 'Total Owed', 'Proceeds', 'Bank Account Currency', ‘’]

My guess is that the reports with the 'Balance' column are those of pending months for which payments have not yet been processed. For example, if you download the reports of February or March right now these are still preliminary figures and it should therefore say so in the bottom line. My script isn't designed to work with estimates, as there is not much sense in filing invoices which rely on these numbers - I have now updated the script accordingly in 7c3d85f07e10333be24b61555caf6ea4c2c6cef1.
Regarding the reports with an empty 'Exchange Rate' column or no such column at all:
Unfortunately, I cannot think of a fix for these as long as Apple doesn't deliver reliable data. Sadly, iTC's financial reports are a mess in general: I cannot even identify columns by their header names because they are localized depending on the user's language settings...
But what's irritating to me is that even those reports contain the 'Balance' column. Can you confirm these are pending reports from February or March, too? If so, they probably will get updated with exchange rates once they are final and should work then.
Thanks for your time!

Closing after 30 days of inactivity. Please open a new issue if the problem persists.

The report without the ‘Exchange Rate’ column was indeed a preliminary one. Later it got updated and the ‘Exchange Rate’ column appeared.
However, the report with the ‘Balance’ column is the final one. It seems to be a case when the earnings from some region were not paid out. I don’t know yet why it happens, I haven’t received the answer yet. But the fact is, this is a final report.
I’ve prepared an anonymized version. The numbers don’t match, but you can see the structure of the report. All fields that were empty in the original report are kept empty in the anonymized one. I also had to change the file extension to ‘txt’ in order to attach it here.
financial_report.txt

I finally received a reply from Apple, why this can happen. There is a threshold of $1.00 equivalent for earnings in some (maybe all) countries.  In my case, earnings from India were below this amount and were carried forward every month. This led to a different financial_report.txt column count with the Balance column present.

Thanks for your follow-up regarding this issue! It seems to me that I can address this by simply ignoring the Balance column if it's there. I addition, the script needs to ignore all lines below the second occurrence of a header line (if there is any) because to my understanding, earnings listed below the second header aren't payed out yet and therefore shouldn't affect the total earnings. Do you agree?

I agree.


Fix make_hirm_schema so that input classes of noisy relations contain only destinations of DAG paths (and base relation input classes)

For example, in the following block from schema_helper_test, test_make_hirm_schema
  BOOST_TEST(tschema.contains("Specialty"));
  T_noisy_relation nr1 = std::get<T_noisy_relation>(tschema["Specialty"]);
  ...
  expected_domains = {"School", "Physician", "City", "Practice", "Record"};
  BOOST_TEST(nr1.domains == expected_domains, tt::per_element());

expected_domains should be {"School", "Physician", "Record"} since the DAG is School -> Physician -> Record <- Practice <- City (and School, Physician are the input classes of the base relation, and Record is the only class that's the destination of a path starting at Physician)

Adding Alex to answer the question of whether we want to make the old behavior optional with a flag.
I ask because it seems like currently the GenDB doc treats clean and noisy relations a bit asymmetrically in terms of what domains they can condition on -- the clean relations get the maximal set of available domains, but the noisy relations get the minimal set.  I was curious as to whether this asymmetry was intentional, and if so whether it was motivated by (a) computational concerns [i.e., there are typically a lot more noisy relations than clean relations], (b) world modelling concerns [i.e., it makes sense that Physician names might vary from state to state, but the typo function applied to the name of the Physician's med school probably doesn't vary much from state to state], (c) compatibility with how PClean did things, or (d) other.


Ingress watching failed unexpectedly

I am getting email as below error
Ingress watching failed unexpectedly
The request was aborted.
at System.Net.Http.Http2Connection.ThrowRequestAborted(Exception innerException)
at System.Net.Http.Http2Connection.Http2Stream.CheckResponseBodyState()
at System.Net.Http.Http2Connection.Http2Stream.TryReadFromBuffer(Span1 buffer, Boolean partOfSyncRead)    at System.Net.Http.Http2Connection.Http2Stream.ReadDataAsync(Memory1 buffer, HttpResponseMessage responseMessage, CancellationToken cancellationToken)
at k8s.LineSeparatedHttpContent.CancelableStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
at System.IO.StreamReader.ReadBufferAsync(CancellationToken cancellationToken)
at System.IO.StreamReader.ReadLineAsyncInternal()
at k8s.Watcher1.<>c.<CreateWatchEventEnumerator>b__21_1[TR](Task1 t)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location ---    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location ---    at k8s.Watcher1.CreateWatchEventEnumerator(Func1 streamReaderCreator, Action1 onError, CancellationToken cancellationToken)+MoveNext()
at k8s.Watcher1.CreateWatchEventEnumerator(Func1 streamReaderCreator, Action1 onError, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()    at KCert.Services.K8sClient.WatchIngressesAsync(Func4 callback, CancellationToken tok) in /build/Services/K8sClient.cs:line 44
at KCert.Services.K8sClient.WatchIngressesAsync(Func`4 callback, CancellationToken tok) in /build/Services/K8sClient.cs:line 44
at KCert.Services.IngressMonitorService.WatchIngressesAsync(CancellationToken tok) in /build/Services/IngressMonitorService.cs:line 53

Hi, two questions:

Are you getting many of these emails, or just one?
Do you get the email as soon as you deploy KCert, or did it happen after it ran for a while?

@nabsul

Many emails
It is happening after a while, Once i get this error, pod becomes unresponsive

Interesting. It sounds like at least one actionable thing is to change KCert to only report the error once, or retry but after a wait time.
But unresponsive is strange. Do you mean the web UI stops works? Or just that it doesn't respond to ingress create/edit operations?
Can you tell me more about your setup? Where are you running Kubernetes? Anything else that might be relevant?

@nabsul :
I am using Kubernetes on Azure with 1.19 version. I Deployed Ingress-nginx 0.14 (old version). After Deploying Kcert it created my certificate but after few minutes it went in un-responsive stage(webUI stopped working as well as it failed to to watch new ingress).
I recently upgraded my Ingress-nginx to 1.1.3 to try again.

Sounds good, let me know how it goes. For reference, I've been running KCert in my DigitalOcean cluster for a couple of months now and have not seen such an error.
That said. I think there is at least one bug fix that we can extract so far from this issue: #45

@nabsul : still same behaviours, I observed one more thing, Once SSL certificate is allocated to me i am not able to open my website on TLS. If i change tls secret to my own generated secret it is working fine, but if I am using secret generated by kcert website goes in hang state.

This is extremely strange and unexpected. Is it possible that Azure is managing your certs, and therefore it blocks/conflicts with KCert?
Maybe I can spot something in your Ingress and Secrets? could you run (but please strip out sensitive data before sharing!) kubectl get -o yaml on your ingress and the two secrets (the one that works and the one that doesn't)?
If you do share this information, be sure to delete the "data" section of your secrets, as well as any metadata that identifies your site/username/etc.

@nabsul  i found out the issue was in my backend as i was using old version of Openssl 1.0.1t and after september 2021 Lets encrypt has changed its root cert which was making my internal call failed and no response was returning to ingress. after upgrading version to 1.1.0 it was fixed.
https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/
Thanks !


Unable to run the application with enableIvy:false after upgrading to angular 12

🐞 Bug report
Command (mark with an x)

[ ] new
[x] build
[x] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Did this behavior use to work in the previous version?
Yes, the previous version in which this bug was not present was: 11.x.x
Description
I have an application which needs to be run with enableIvy and aot set to false. Hence in tsconfig.json, I have set :
"angularCompilerOptions": {
"enableIvy": false
}
and I have set aot to false in angular.json.
The application used to run fine before upgrading to 12. After upgrading to angular 12, while serving the application, it gives a warning saying : Project is attempting to disable the Ivy compiler. Angular versions 12 and higher do not support the deprecated View Engine compiler for applications. The Ivy compiler will be used to build this project.
And in console of the browser :
**Uncaught Error: Angular JIT compilation failed: '@angular/compiler' not loaded!

JIT compilation is discouraged for production use-cases! Consider AOT mode instead.
Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?
Alternatively provide the compiler with 'import "@angular/compiler";' before bootstrapping.**

How to run the applications in angular 12 with Ivy disabled?
🔬 Minimal Reproduction
In an existing application on angular 12,
set enableIvy to false in tsconfig and aot to false in angular.json
run ng serve
Application doesn't get compiled with enableIvy disabled and fails to load
🔥 Exception or Error
🌍 Your Environment

Since version 12, using the deprecated rendering engine, VE instead of Ivy to build your application is no longer possible. Ivy is the only way!
With regards to the errors in the browser, it's hard to tell why, without a reproduction. Can you setup a minimal repro please?
You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.
This might be related to your directory structure so its really important to get an accurate repro to diagnose this.

The errors in the browser disappeared when I enabled aot. Previously aot was set to false. I am able to run the application without any issues now after setting aot to true. Closing the issue


[docs] [update notes] Q4-17-12-27

This commit:

adds updates made during Dec, 12-27 of Q4
replaces ' with - in the files names

This change is

Reviewed 12 of 12 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 12 of 12 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


App closes when dragging files onto the window

Tried to drag a photo into a conversation to send it and the window just closed. The same thing happens no matter what file I drag into the app.
I ran the launcher from the terminal and this was the output
[1681:0102/195447:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
ATTENTION: default value of option force_s3tc_enable overridden by environment.
The program 'Messenger' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAtom (invalid Atom parameter)'.
  (Details: serial 1768 error_code 5 request_code 20 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

System:
Manjaro Linux 15.12 64-bit | KDE 5.5.2 | Qt 5.5.1 | Kernel 4.1.15

Same here Kubuntu 15.10

Can you confirm that its still an issue with the latest beta.
See https://github.com/Aluxian/Facebook-Messenger-Desktop/issues/458


Alt-text and delete buttons may overlap

Attach (recommended) or Link to PDF file here: N/A
Configuration:

Web browser and its version: N/A
Operating system and its version: N/A
PDF.js version: 4.0.242 [3459615ec]
Is a browser extension: N/A

Steps to reproduce the problem:

Open the demo viewer, https://mozilla.github.io/pdf.js/web/viewer.html#locale=en-US
Add a StampAnnotation, e.g. firefox_logo.svg from the test-suite.
Rotate the document once. Edit: It also reproduces without rotating, simply by making the Annotation small enough.

What is the expected behavior? (add screenshot)
That both the alt-text and delete buttons are visible and clickable.
What went wrong? (add screenshot)
The buttons overlap, see

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension): N/A

@calixteman Can you please check with UX how we should handle this situation?

Yep I asked the question yesterday and they were thinking about moving the alt-text button in the new editor toolbar.
That said, it's Thanksgiving in US, so I guess we'll have nothing before next week.


No use of a virtual environment.

It is important to keep Python dependencies separate from each other to prevent clashes with dependencies of other programs. Virtualenv was created to manage this issue easily. This would be a nice enhancement for your repo and would work well with #16 .

I would normally agree, virtualenv should be used however, at least on our windows installation I didn't include it because there are a couple bugs with it in windows environments that I've run into. So while I'm not discouraging it's use, At this point, I'm not encouraging it's use on windows until I'm positive that the end user won't run into any issues with it.
I would like to get it added to our Linux installation instructions but those have not been completed, only started.

A virtualenv installation has been added in the dev branch in the Linux installation instructions.


Flags undefined in tokenize

Hi,
Can't reproduce it properly, but sometimes when using FileHighlighter plugin we get flags undefined in tokenize. Which leads to RegExp exception, it tries undefinedg.
Since I can't reproduce when debugging i propose the following:
var flags = pattern.pattern.toString().match(/[imuy]*$/)[0];
pattern.pattern = RegExp(pattern.pattern.source, flags + "g");

Replaced with:

var flags = pattern.pattern.toString().match(/[imuy]*$/)[0];
pattern.pattern = RegExp(pattern.pattern.source, (flags || "") + "g");

Regards,
Johan

Hi @isglass,
Thanks for reporting this. I cannot see how flags could become undefined. The expression 'anystring'.match(/[imuy]*$/)[0]; returns at least an empty string for any input string.
'xxx'.match(/[imuy]*$/)[0];
''.match(/[imuy]*$/)[0];
RegExp('', '').toString().match(/[imuy]*$/)[0];

And if pattern.pattern.toString() would somehow return undefined, then you would get an error right there.
The following is the only way I can think of, that would cause this bug:
RegExp.prototype.toString = function() {
    return {
        match: function() { return [] }
    }
}

I think we should get to the root of this problem. Could you provide more details for this bug? What browser did you use? Maybe a simple online demo that reproduces it?
Thanks!

For flags to be undefined, match() has to return an empty array, which cannot happen under normal circumstances:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/match

An Array containing the entire match result and any parentheses-captured matched results, or null if there were no matches.

Hi @zeitgeist87 ,
Unfortunately I can't reproduce it, have only noticed it in our "visitor-exception-logs" over the last couple of days. All I have got is their user agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36
And a stack trace:
new RegExp	@ (native):
RegExp	@ (native):
Object._self.Prism.tokenize	@ prism.js:3
Object._self.Prism.highlight	@ prism.js:3
Object._self.Prism.highlightElement	@ prism.js:3
XMLHttpRequest.i.onreadystatechange	@ prism.js:8

And exception message:

Invalid flags supplied to RegExp constructor 'undefinedg'

The user-agent would suggest, that it is a 64bit Linux system running Chromium 47.0.2526.80 which is over a year old now. Do all these users have the same user-agent? Could it be some kind of crawler that uses a fake user-agent?
The only way for flags to become undefined is if you change either the prototype of RegExp or String. At least as far as I can see. I don't think we will add these changes if you cannot reproduce the bug, or show a plausible way how flags can be undefined.
Maybe you could add some debug code to your site that provides more information:
if (flags === undefined) {
    console.log(pattern, pattern.pattern, pattern.pattern.toString(), pattern.pattern.toString().match(/[imuy]*$/));
}

What other scripts are you using? Perhaps one of them is overwriting native methods, and making match() return an empty array?

Please reopen if you can provide more information regarding this issue.


return error StoreNotMatch when store id not match

@disksing @coocood tidb_issue_2294

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Use Env for dynamic expressions.

Use Env in invocations of getPropertyValue to support other dynamic
properties than zoomLevel only.
Open issues

[ ] - how to handle $zoom everywhere

Codecov Report

Merging #1282 into master will decrease coverage by 0.1%.
The diff coverage is 51.85%.

@@            Coverage Diff             @@
##           master    #1282      +/-   ##
==========================================
- Coverage   52.95%   52.84%   -0.11%
==========================================
  Files         260      249      -11
  Lines       23386    23107     -279
  Branches     5176     5117      -59
==========================================
- Hits        12383    12212     -171
+ Misses      11003    10895     -108

Impacted Files
Coverage Δ

@here/harp-mapview/lib/RoadPicker.ts
8.98% <ø> (ø)
:arrow_up:

...here/harp-omv-datasource/lib/OmvDebugLabelsTile.ts
15.74% <0%> (ø)
:arrow_up:

...here/harp-datasource-protocol/lib/TechniqueAttr.ts
63.15% <0%> (+3.15%)
:arrow_up:

@here/harp-mapview/lib/poi/PoiManager.ts
7.37% <0%> (ø)
:arrow_up:

@here/harp-mapview/lib/text/MapViewState.ts
12% <0%> (-1.05%)
:arrow_down:

@here/harp-mapview/lib/text/Placement.ts
83.87% <100%> (ø)
:arrow_up:

@here/harp-mapview/lib/MapView.ts
60.55% <100%> (+0.77%)
:arrow_up:

...e-protocol/lib/operators/InterpolationOperators.ts
93.79% <100%> (ø)
:arrow_up:

@here/harp-mapview/lib/PolarTileDataSource.ts
96.38% <100%> (ø)
:arrow_up:

...here/harp-mapview/lib/text/TextElementsRenderer.ts
66.13% <100%> (ø)
:arrow_up:

... and 48 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 1b31697...e2f28a5. Read the comment docs.

@heremaps-bot retest this please


Anchor Build Errors

Please what version of solana-program and solana-sdk does litesvm support .
Im getting a build error when i run anchor build .
    Failed to obtain package metadata: `cargo metadata` exited with an error:     Updating crates.io index
    error: failed to select a version for `solana-program`.
        ... required by package `litesvm v0.3.0`
        ... which satisfies dependency `litesvm = "^0.3.0"` of package `nonce v0.1.0 (/workspace/Nonce-Protocol/programs/nonce)`
    versions that meet the requirements `~2.0.5` are: 2.0.18, 2.0.17, 2.0.16, 2.0.15, 2.0.14, 2.0.13, 2.0.11, 2.0.10, 2.0.9, 2.0.8, 2.0.7, 2.0.6, 2.0.5

    all possible versions conflict with previously selected packages.

This is my cargo.toml file
[lib]
crate-type = ["cdylib", "lib"]
name = "nonce"

[features]
default = []
cpi = ["no-entrypoint"]
no-entrypoint = []
no-idl = []
no-log-ix-name = []
idl-build = ["anchor-lang/idl-build","anchor-spl/idl-build"]

[dependencies]
anchor-lang = {version="0.30.1",features=["init-if-needed"]}
anchor-spl={version="0.30.1",features=["associated_token"]}
pyth-solana-receiver-sdk = "0.3.2"

[dev-dependencies]
litesvm = "0.3.0"

When I run anchor build I get this error
error: failed to run custom build command for `solana-svm v2.0.18`

Caused by:
  process didn't exit successfully: `/workspace/Nonce-Protocol/target/debug/build/solana-svm-4e39e572dde50176/build-script-build` (exit status: 101)
  --- stdout
  cargo:rustc-cfg=RUSTC_WITH_SPECIALIZATION
  cargo:rerun-if-changed=proto/context.proto
  cargo:rerun-if-changed=proto/invoke.proto
  cargo:rerun-if-changed=proto/sysvar.proto
  cargo:rerun-if-changed=proto/txn.proto

  --- stderr
  thread 'main' panicked at /workspace/.cargo/registry/src/index.crates.io-6f17d22bba15001f/prost-build-0.11.9/src/lib.rs:1457:10:
  Could not find `protoc` installation and this build crate cannot proceed without
      this knowledge. If `protoc` is installed and this crate had trouble finding
      it, you can set the `PROTOC` environment variable with the specific path to your
      installed `protoc` binary.If you're on debian, try `apt-get install protobuf-compiler` or download it from https://github.com/protocolbuffers/protobuf/releases

  For more information: https://docs.rs/prost-build/#sourcing-protoc

  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
Error: Building IDL failed

You need to execute: sudo apt-get install protobuf-compiler
And after you need to use git for now if you want to use 2.1.
`[lib]
crate-type = ["cdylib", "lib"]
name = "nonce"
[features]
default = []
cpi = ["no-entrypoint"]
no-entrypoint = []
no-idl = []
no-log-ix-name = []
idl-build = ["anchor-lang/idl-build","anchor-spl/idl-build"]
[dependencies]
anchor-lang = {version="0.30.1",features=["init-if-needed"]}
anchor-spl={version="0.30.1",features=["associated_token"]}
pyth-solana-receiver-sdk = "0.3.2"
[dev-dependencies]
litesvm = "0.3.0"` #or { git = "https://github.com/LiteSVM/litesvm" }
solana-sdk = "2.0" #or "2.1"

Fixed !!! , Thank You very Much. I love LiteSVM , great work guys. Thank You


Converged my fork to yours master with addition

As per what I said on issue #3 (here), I did refactor my fork to use your new standard ConverterOpts and ObjectOpts  on my proposed of a standard HTTP handler for converting (here and here).
Also, I removed everything that was specific to my fork, things that were hardcoded to work on my fork, and whatnot.
If you think it is not worth to merge it now, that's cool. I'm fine with that.
In any case, thanks for sharing your code over here.
Cheers.

@leandrosilva I think we should not add an HTTP handler inside the library as we cannot provide one that's universal. For example, some users might want to convert multiple web pages or HTML files into a single PDF file. Or their use case might require a different request/response format.
I think an HTML to PDF converter server is more appropriate as an example or as a standalone project, using this package.
That would be a cool project. Maybe something with a GUI or web interface for ease of use.

Okay. Cool.


Remove unused code from pay-leave-for-parents

I came across this unused code while adding regression tests for pay-leave-for-parents.
I think it makes sense to remove it before converting pay-leave-for-parents to a Ruby Smart Answer.

Looks good to me. Well spotted! :smile:

Rebased and force pushed in preparation for merging.


Crashes when using AutoSteamApp with winmm.dll loaded

I'm not 100% sure why it does, but I maintain a version of AutoSteamApp (Github) to keep it working with updates and nothing else, and how the 100% accuracy mode works and really the app as a whole is something I do not understand fully yet.
The best guess given has been due to it reading memory to get the correct sequence, and that causes problems with SharpPluginLoader and thusly causes the game to crash.
It was said as well the Cutscene Skip part of it does not work, but I don't have much info on that one yet, I will update this if/when I get that information and I don't wish for dev time to be used figuring this out when I don't know if it is because of this mod, or another mod.

Seconding the Cutscene Skip issue, it does seem to be from SPL as far as I can tell. Causes a crash anytime a cutscene is skipped, even when not loading any of my SPL plugins. Crashes stop after removing winmm.dll from the game directory (but obviously that's not a solution).

Hmmm, I don't see anything in particular that should cause a crash. As for the cutscene skip, I have no idea since that isn't open source so I can't look at it easily.
If either of you could use the attached plugin (regular Stracker plugin, not SPL) and trigger such a crash that would be helpful. After the crash there should be a crash-dump.txt in your plugins directory, if you could upload that here it would make things a lot easier for me.
To install just put both files inside the zip archive into nativePC\plugins.
mhw-crash-handler.zip

Tried that out, but it isn't generating any crash-dump.txt on these crashes.
Repeatedly tried creating a new character and skipping the opening cutscene and found that the crashes are inconsistent, once in a while it won't crash but usually it does. Also found that the crashing doesn't seem to happen at all when playing fullscreen at 1080p (my monitor's native resolution). So for me this behavior is only when playing windowed/borderless and/or at any lower resolution.
All I had while testing was Stracker's + Perfomance Booster, SPL, and Cutscene Skip, so if this isn't just a personal hardware issue of mine it should be easy to recreate.

@Praedyth-Rey The issue lies in whatever library you're using for sending input events. It's sending invalid events on occasion which results in ImGui not being able to process them properly.
I implemented a (very hacky) fix in aedca7c02062fd40e049d4d045fcbdcaad8df458 which just disables the ImGui overlays entirely while Steamworks is active (will be part of next release). However, this is really something you should be fixing on your end, not mine.

Tried that out, but it isn't generating any crash-dump.txt on these crashes.
Repeatedly tried creating a new character and skipping the opening cutscene and found that the crashes are inconsistent, once in a while it won't crash but usually it does. Also found that the crashing doesn't seem to happen at all when playing fullscreen at 1080p (my monitor's native resolution). So for me this behavior is only when playing windowed/borderless and/or at any lower resolution.
All I had while testing was Stracker's + Perfomance Booster, SPL, and Cutscene Skip, so if this isn't just a personal hardware issue of mine it should be easy to recreate.

Is there any cutscenes in the game I can repeatedly trigger without having to create a new character? Otherwise I really don't feel like testing this.

Is there any cutscenes in the game I can repeatedly trigger without having to create a new character? Otherwise I really don't feel like testing this.

Good point. Looks like all the repeatable cutscenes are already skippable without the cutscene skip plugin so they don't cause any crashes, even the gallery in the main menu. I guess it's not too big of a deal if it works consistently at fullscreen/native res, I'll just give people a disclaimer saying to try that if they have issues. Thanks anyways.

I have had better luck reproducing the crash if x10 mode is enabled in the steamworks. And sometimes I had to leave it running for quite a while until something happened.


Client Side Insert valid callback

Hello,
the documentation suggest to do an Image Insert on the client side.
https://github.com/CollectionFS/Meteor-CollectionFS#using-insert-properly
However the insert callback is called even tho the returned fileObj.url() is undefined.
Is there another callback which ensures that the fileObj.url() is valid?

url should not be used when the file's upload state is not determined.
Use a subscription with an id to subscribe to the uploading file and display it's url when uploaded.
For example:
{{#with uploadingFile}}
  {{#if this.isUploaded}}
    {{this.url}}
  {{/if}}
{{/with}}

Thank you that sounds great! I will try it !

I found a solution based on this post:
https://github.com/CollectionFS/Meteor-CollectionFS/issues/489
	Template.blogList.rendered = function() {
		var template = this;
		$('#summernote').summernote({
		    height: 400,
		    maxHeight:800,
		    minHeight:250,
		    onImageUpload: function(files, editor, $editable) {

		    	Images.insert(files[0], function (err, fileObj) {
					console.log("after insert:", fileObj._id);
					template.autorun(function (c) {
			          fileObj = Images.findOne(fileObj._id);
			          var url = fileObj.url();
			          if (url) {
			          	$("#summernote").summernote("insertImage", fileObj.url(), "Image Title");
			            //editor.insertImage($editable, url);
			            c.stop();
			          }
			        });
				});

		  	}
		});
	}

@Zodiase  Is there a better way ? or is it what you would also suggest ?

Well, try not to use call autorun in an even handler because it will get registered many times... (Maybe there is a mechanism against multiple-registration but I'm not sure)
I think the better way to do is, say you have a upload page/template and assuming you are uploading one file at a time (the upload manager is half broken at the moment anyway). Have a template helper for the uploading file. Something like:
template.helpers
	uploadingFile: () ->
		docs = Files.find(_id: Session.get 'uploadingFileId')
		return if docs.count() > 0
			docs.fetch()[0]
		else
			null

Then just use that helper in the template. When a new file is uploading, update the Session variable uploadingFileId and the template gets updated.

If you'd like to let your code receive the url, after the file is inserted (in the callback), create a cursor for it, and then use cursor.observe to detect changes and watch for file.isUploaded. It's cleaner than using autorun. Don't forget to stop the observer when you are done with it.

Thank you I will try it !
My current quest is to be able to save additional data with teh image, eg simple properties like : isPublic, or isTrash etc
What is the correct place to read about using GridFS in Conjunction with CollectionFS.
I havent found any good documentation about this combination, please.

I don't think the combination matters. The way I understand is that GridFS is just a filesystem that does the real data management work, while CollectionFS has an abstraction over it so you don't need to deal with GridFS yourself. That means you are essentially just playing with Collections in MongoDB. So if you want to add those properties, just add them to the FsFile objects and it should be fine. Although I have not tried this so don't quote this on me. In my application I have a MongoDB collection for the extra information and documents in that collection would reference the files in CollectionFS. For example:
{
  name: foobar,
  isPublic: maybe,
  isTrash: nope,
  file: FsFile._id,
}

But the downside of this is how it complicates things; I need to do multiple inserts. So you probably want to try attaching the data directly to the FsFile object first.

I tried something like this:

				Images.insert(images[0], function (err, fileObj) {
		      		   fileObj.foo = "bar"

but that did not work.
Will the observer work by observing fileObj.url ?
Is fileObj.url reactive ? Or which property would you have an observe on?

You may want to attach those extra properties before inserting.
The reason is that, when you do
fileObj.foo = "bar"

There is nothing telling Meteor that something is changed.
To update the file after inserting, you'd have to use collection.update(_id:***, foo: 'bar').
And yeah what you found there is just adding a namespace so your extra properties won't damage the core functionalities.

Okay...
fileObj is an FS File no?
How do I get that before inserting ?
  $('.froala').on('editable.beforeImageUpload', function (e, editor, images) {
		    	var self = $(this);

                          //images seams to be just an array of file as you get with a regular ajax upload ?

				Images.insert(images[0], function (err, fileObj) {

For using cursors, read here: http://docs.meteor.com/#/full/observe
In your case, to create a cursor and start observing:
cursor = Files.find(_id:*******)
cursor.observeChanges(changed: (id, fields) ->
  if fields.contains('isUploaded') # if `isUploaded` changed, it probably means the file is uploaded.
)

I just read the section about observers again in the Discover Meteor Book and came up with this approach:
Images.findOne(fileObj._id).observe({
						changed: function() {
							console.log('changed');
                                                        //insert image to froala editor here
						}

					});

But when the code reach this position I get this error:
Exception in delivering result of invoking '/cfs.images.filerecord/insert': TypeError: undefined is not a function

Yes the fileObj in the callback is instance of FsFile.
I assume what you have in the images array are all objects instance of File?
Then just do as in the tutorial you found:
var file = images[0];
var fsFile = new FS.File(file);

There you go.

tis gives me teh same error as above:
cursor = Images.findOne(fileObj._id);
					cursor.observeChanges({
						added: function (id, fields) {
							// ...
						}, // Use either added() OR(!) addedBefore()
						addedBefore: function (id, fields, before) {
							// ...
						},
						changed: function (id, fields) {
							console.log("changed!");
							// ...
						},
						movedBefore: function (id, fields) {
							// ...
						},
						removed: function (id) {
							// ...
						}
					});

Note that collection.findOne returns a document or null, never the cursor. To get the cursor, you need to do collection.find.

And again, value information from your side. respect!
Thank you very much !
This is working for me now:
$('.froala').on('editable.beforeImageUpload', function (e, editor, images) {
		    	var self = $(this);
				//console.log(this);
				//console.log(editor);
				//var url ="http://superdevresources.com/images/meteor/meteor-free-ebooks-tutorials.png";
				var file = images[0];

				var fsFile = new FS.File(file);
				    fsFile.foo ="bar";

				Images.insert( fsFile, function (err, fileObj) {
					console.log('id: ',fileObj._id);

					cursor = Images.find(fileObj._id);
					cursor.observeChanges({
						changed: function (id, fields) {
							var url = fileObj.url()
							console.log("changed!", url);
							console.log('File: ',fileObj.foo);
							self.editable('writeImage', url, true);
						}
					});

				});
			});


[Feature/Identity] Prototype Internal IdP

Description
As part of the identity feature branch, this adds a foundation for building an internal IdP inside of core. This PR includes a working prototype of an IdP similar to the one in the security plugin. I'm creating this as a draft to solicit feedback, there is currently no way to interact with the internal realm via actions in OpenSearch.
This branch shows a custom realm built with shiro called the internal realm and uses BCrypt (salt + hash) for authenticating subjects. I had to add a line in security.policy to get the ObjectMapper working for jackson-databind and also needed to add a dependency on slf4j for shiro, but I'd like to see if there are ways not to include this since opensearch uses log4j for logging.
Check List

[X] New functionality includes testing.

[X] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[X] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@peternied Do you think we should consider making the work we're doing a native module of OpenSearch?
https://github.com/opensearch-project/OpenSearch/blob/main/DEVELOPER_GUIDE.md#modules

@peternied Do you think we should consider making the work we're doing a native module of OpenSearch?

We spoke about this briefly offline, recapping from the discussion.  While we could refactor this to reduce the number of default dependencies on OpenSearch, I think we at the minimum need security to be accessible without installing anything else.
I think this is a good motivation to get a pull request into main sooner so we can see the point for or against it.  I might be a good idea to add documentation of any concerns you have in the code so when we do the feature/identity -> main pull request those ideas are surfaced

Codecov Report

:exclamation: No coverage uploaded for pull request base (feature/identity@7a687fd). Click here to learn what that means.
The diff coverage is n/a.

@@                 Coverage Diff                 @@
##             feature/identity    #4659   +/-   ##
===================================================
  Coverage                    ?   70.57%
  Complexity                  ?    57601
===================================================
  Files                       ?     4662
  Lines                       ?   277082
  Branches                    ?    40519
===================================================
  Hits                        ?   195556
  Misses                      ?    65132
  Partials                    ?    16394

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

@cwperks please mention me or re-request a review when you'd like me to take another look, thanks!

@cwperks please mention me or re-request a review when you'd like me to take another look, thanks!

Will do! I am working out some of the details of code organization and plan to address your comments today.

@peternied I wanted to leave an update on this branch. I took the work I was doing in the org.opensearch.identity package and created a new library under sandbox called opensearch-authn with the top level package being org.opensearch.authn to match the library name. I think this is the right place to put this work for now until it can be promoted as a lib or opensearch. It also makes it easy to create a build with native authn included or not by specifying ./gradlew assemble -Dsandbox.enabled=false.
One of the problems I faced in this branch is that the build was failing on ./gradlew dependencyLicenses because server got the new transitive dependencies introduced in opensearch-authn. A lot of the deleted files on this PR were no longer needed since the licenses and jars were already in the opensearch-authn library.
There are currently CI issues with jarHell in bouncy castle >.<
class: org.bouncycastle.LICENSE
jar1: /Users/cwperx/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bc-fips/<IP_ADDRESS>/da62b32cb72591f5b4d322e6ab0ce7de3247b534/bc-fips-<IP_ADDRESS>.jar
jar2: /Users/cwperx/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15on/1.70/4636a0d01f74acaf28082fb62b317f1080118371/bcprov-jdk15on-1.70.jar

Bouncy castle is needed by authn for its BCryptHash capabilities which will not be released in Shiro until 2.0.

There are currently CI issues with jarHell in bouncy castle >.<

How would you feel about disabling jarhell?  We did this in security because of issues with the Kafka test libraries [1], then we can make an issue and circle back.
It might be as easy as adding the following to server/build.gradle
jarHell.enabled = false

[1] https://github.com/opensearch-project/security/blob/main/build.gradle#L103

Note; I saw that you disabled jar hell in the authz plugin, it looks like the failure is coming out in :distribution:tools:plugin-cli:jarHell is it just that one that is causing issues, otherwise we could unregister the gradle tasks for the time being

There are currently CI issues with jarHell in bouncy castle >.<

How would you feel about disabling jarhell? We did this in security because of issues with the Kafka test libraries [1], then we can make an issue and circle back.
It might be as easy as adding the following to server/build.gradle
jarHell.enabled = false

[1] https://github.com/opensearch-project/security/blob/main/build.gradle#L103

Thank you @peternied. I disabled the jar hell check for plugin-cli and would like to revisit to see if there is another solution to resolve the jar hell problem.

@cwperks Note; I am happy to merge so you can address in follow up PRs

@peternied CI is passing again - issues this last time with security policy with jackson-databind and the integration test suite. In a follow-up PR I plan to see if there's another way of transforming yaml -> POJOs to eliminate the dependency on jackson-databind and jackson-annotations for this new library.


fix: Close XML end tags

Closes #1340
There were a few more than reported in that issue

@nschonni : Thanks for your contribution! The author, @gewarren, has been notified to review your proposed change.


NPM conflict, need a new name

parse5-utils is already taken
@justinfagnani recommended dom5, SGTM

dom5 it is!


A2DP-source connection works with "WH1000X-M2" but not with "JBL Clip 3"

I'm trying to set my ESP32-DEVKITC-32D to be a source for multiple speakers. I started by connecting only one at the time and I'm having trouble connecting my JBL Clip 3. I already tried a2dp_source.set_auto_reconnect(false) for preventing connecting to the last headphones but it's still doesn't connect.
They both have the same bluetooth version and support A2DP.
What should I try?
Thank you!

Try to set the debug mode to verbose. Maybe the log might indicate where something goes wrong...

I just merged a correction which might help


Create an SAPUI5 App from the Command Line

Tutorial URL: https://developers.sap.com/tutorials/cp-cf-sapui5-local.html
Step 4: Package the MTA archive:

When executing the command npm run build:mta in the command promt(with Administator privileges) the following error appears:

And no .mtar archive is produced.

Found the problem related with the issue. Had to move the project in separate folder from the system folders in C: and the process worked like charm.


Which license is this released?

I couldn't see the license of this repo; if you have released this work with one, can you make it more clear in the REAME or adding a LICENSE file?
Otherwise it would be good if you decide for one, whichever you want open source or not, and make it clearly visible.

MIT license


Improve unit testing

As developer, I want to add and or increase unit testing coverage so that I can cover more functional code.
Acceptance Criteria

I can see some extra validations on app\src\test
All tests are passing on local and GitHub actions

PR merged: https://github.com/josdem/fruitypedia/pull/86


ROC-2253: macros responseStatusForDefendant and responseStatusForClaimant

@yarpo could you explain why you doing that change? Would be good to have some PR desc.


Probabilistic compile failure on Windows Server 2016 for target i686-pc-windows-msvc

# version:
openssl-src-111.15.0+1.1.1k
run:
cargo build --release --target i686-pc-windows-msvc
may fail report:
{ code: 32, kind: Other, message: "The process cannot access the file because it is being used by another process." }
at
openssl-src-111.15.0+1.1.1k\src\lib.rs:456:40, which is:
fs::remove_dir_all(&inner_dir).unwrap();
detail:
created directoryC:/pipeline-255714-1/target/i686-pc-windows-msvc/release/build/openssl-sys-07fd305febe929f0/out/openssl-build/install/lib'
Copying: libcrypto.lib to C:/pipeline-255714-1/target/i686-pc-windows-msvc/release/build/openssl-sys-07fd305febe929f0/out/openssl-build/install/lib/libcrypto.lib
Copying: libssl.lib to C:/pipeline-255714-1/target/i686-pc-windows-msvc/release/build/openssl-sys-07fd305febe929f0/out/openssl-build/install/lib/libssl.lib
Copying: ossl_static.pdb to C:/pipeline-255714-1/target/i686-pc-windows-msvc/release/build/openssl-sys-07fd305febe929f0/out/openssl-build/install/lib/ossl_static.pdb
--- stderr
Microsoft (R) Program Maintenance Utility Version 14.29.30133.0
Copyright (C) Microsoft Corporation.  All rights reserved.
Microsoft (R) Program Maintenance Utility Version 14.29.30133.0
Copyright (C) Microsoft Corporation.  All rights reserved.
Microsoft (R) Program Maintenance Utility Version 14.29.30133.0
Copyright (C) Microsoft Corporation.  All rights reserved.
Microsoft (R) Program Maintenance Utility Version 14.29.30133.0
Copyright (C) Microsoft Corporation.  All rights reserved.
Microsoft (R) Program Maintenance Utility Version 14.29.30133.0
Copyright (C) Microsoft Corporation.  All rights reserved.
Microsoft (R) Program Maintenance Utility Version 14.29.30133.0
Copyright (C) Microsoft Corporation.  All rights reserved.
thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 32, kind: Other, message: "The process cannot access the file because it is being used by another process." }', C:\Windows\system32\config\systemprofile.cargo\registry\src\github.com-1ecc6299db9ec823\openssl-src-111.15.0+1.1.1k\src\lib.rs:456:40
[2021-09-02 19:22:06]  note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
[2021-09-02 19:22:06]The command "cargo build --release --target i686-pc-windows-msvc" exited with 101. `
Then I add a line before it to print var inner_dir :
panic!("inner_dir {:?}", inner_dir);
 thread 'main' panicked at 'inner_dir "C:\\-pipeline-255714-1\\target\\i686-pc-windows-msvc\\release\\build\\openssl-sys-07fd305febe929f0\\out\\openssl-build\\build\\src"', C:\Users\Administrator\.cargo\registry\src\github.com-1ecc6299db9ec823\openssl-src-111.15.0+1.1.1k\src\lib.rs:456:9   note: run withRUST_BACKTRACE=1 environment variable to display a backtrace
That means program failed during removing build\src dir.
Then I add a line to sleep 1s before rm dir, it seems resolved. # #
std:: thread ::sleep(std::time::Duration::from_millis(1000));

Thanks for the report. While I don't think adding a sleep is the right fix this is a known issue with MSVC's compilers where they'll run things in the background to generate things like debuginfo I believe. I think it should be fine to update the code here to either ignore the error or do something to try to resolve it.

Thanks for the report. While I don't think adding a sleep is the right fix this is a known issue with MSVC's compilers where they'll run things in the background to generate things like debuginfo I believe. I think it should be fine to update the code here to either ignore the error or do something to try to resolve it.

Thank You.
I agree, so I just open this issue, and give my local fix, instead of commit it as a PR.


radix link renders as next link by default use

All Submissions:

[ ] Have you followed the guidelines stated in CONTRIBUTING.md file?
[ ] Have you checked to ensure there aren't any other open Pull Requests for the desired changed?

Type of change
Please delete options that are not relevant.

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

New Feature Submission:

[ ] Does your submission pass the tests?
[ ] Have you linted your code locally prior to submission?

Changes To Core Features:

[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?

After these steps, you're ready to open a pull request.

Radix links are to be rendered as NextLink if they have href to avoid completely refreshing the app for internal navigation

did this actually work? i didn't think radix cared about the as_ prop
actually just testing it, not sure how to test if it's working or not

not sure how to test if it's working or not

make two pages, link between them, check the network inspector and see if the websocket gets reconnected when navigating.
you'll also notice a time discrepency in navigation: using a NextLink for internal navigation will be nearly instant, whereas not using it will be a 250-500ms delay for navigation

i thought i ticked this 🚢 yesterday. thanks for making the change

@masenf no worries. I believe our repo is set to dismiss the approvals when revisions upload


'Input string was not in a correct format.'

BEGIN:VCARD
VERSION:2.1
N:;.;;;
FN:.
END:VCARD
BEGIN:VCARD
VERSION:2.1
N;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:xxxxxxx;;;
FN;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLExxxxxx
TEL;CELL:+70000000000
END:VCARD

I just pushed an update. I ran this sample with the updated library and did not encounter any exceptions.
I would close this, for now, feel free to reopen if the error persists


what privileges should use in log  in the web ui in the port of 8030?

General Question
Hi
I have a question that after install the starrocks cluster, and the cluster is running ok, then I log in the mange page at port 8030, then there is an ui textfield of username and password in the middleup. I have create a new user of dev of cause with password, but it won't work, when I use the root, everything is fine.  Yes I googled and check the document. But I didn't find the right answer.
So my question is how can I log in the manage page use the user other than root?
Thanks

It should work that you login with dev user and its password. However this user can only see what he was allowed.
So could you login with dev user? and could you paste some screenshot after login?

thanks , It's about the privileges, now it's ok

It should work that you login with dev user and its password. However this user can only see what he was allowed. So could you login with dev user? and could you paste some screenshot after login?

thanks , It's about the privileges, now it's ok


Velocity-based Jittering

Jittering presently violates 508 requirements by causing elements to flicker across the screen at seizure-inducing frequencies. We can remediate this by changing our approach to jittering.
The way we currently jitter points is by adding a random number to each of the latitude and longitude (theoretically scaled by the zoom level, though it doesn't work exceptionally well). To fix this issue, we can instead select a random angle (in radians) and a random magnitude. Then, as the user drags the jitter slider, the points recompute their latitude and longitude as the location reached by traveling from their default location at that angle for a distance proportional to the product of the (random) magnitude and the user-set jitter level.

Added to Map View: 0ca8b673f5a49a311455631f9e79f78562ae3e18
Added to Globe View: 8923a50ee21197286b7e9777be5bc6f337179254
See also: https://medium.com/microbetrace-reports/how-to-jitter-well-c5e2462047f9


About ShapeNet55/34 Dataset

Thank you so much for your excellent work. When I run the pre-training code sh scripts/pretrain.sh <GPU> <exp_name>, I get an error，as shown：

[<EMAIL_ADDRESS>global /io/opencv/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_('/media/data/data01/wcs/data/ShapeNet55-34/shapenet_img/02747177-.png'): can't open/read file: check file path/integrity

I'm pretty sure it's a problem with the shapenet55/34 dataset. As you said “the image data is different from the pointcloud data in some samples, you need to update the meta-data "ShapeNet55-34/ShapeNet-55/train.txt & test.txt" from Our Google Drive.”
But i don't know what modification i need to do, can you tell me. Thanks.

Hi, @changshuowang!
We have provided our meta-data in Google Drive(https://drive.google.com/drive/folders/1ScKJpZbHh7VOqv0BebcRhcDc-JpJxJLd). You need to unzip ShapeNet-55.zip and update the original ShapeNet-55/train.txt and ShapeNet-55/test.txt file.

@qizekun Thanks, thanks for your help, the problem has been solved now.


Unstructured Information Extraction

Description
Ragchat cant handle unstructured sentences format like tables, formulas, number etc.
Workflow
1-Implement a function to extract unstructured information.
Acceptance Criteria
Extract unstructured information.

Upadate:
Trying to use fitz build-in 'page.find_tables()' function to detect tables page by page  and get the bbox(table coordinates) of the table with this info we can get the bbox text by 'get_text(clip = bbox)' but this function cant be generalized needs fine tuning or implementing a hand created function to detect the tables.

Update:
Built-in find_tables() can find correctly structured tables. An initial function is intagrated but iy needs to be expanded on.
Development points:
1-Function needs to detect less structured tables.
2-Determine the table extract storage method and type.
3-While getting the extract we need to by pass page's text interaction thus ensure info is not extracted twice.

Can we retrieve table information with using additional llm?
https://www.youtube.com/watch?v=Fb-6K00SUtc
https://huggingface.co/google/tapas-base-finetuned-wtq

Workflow:
1-Detection:

Research and implement a model based table detection logic to find structured or unstructured tables.
2-Extraction:
Extract the table as a whole and keep its meaning and details intact to properly embed the table data.(Here create an new dictionary key)
3-Embeddings:
Embed tabular extracted data.
(Here we can use additional embedding models to embed these tabular data to ensure data is keeping its meaning as a whole with this addition we need to test if different embedding models faiss indexes still works and give meaningful distances.)
4-Intagrate tabular search:
Add the tabular index search to generate response flow. (First search query on headers than in tabular data embeddings than on sentences here we need to also test if query and information embeddings model must be the same ? does it differ when models are different ?)
5-QA:
Ask question to these tabular data and give referances from tabular data as a whole tabular format.

Table extraction logic is implemented fully with using pymupdf find_tables logic.


[nodejs][08.suggested actions] Fix typos and improve formatting

Proposed Changes

Minor changes to typos and minimal structural changes.
Change the section Deploy this bot to Azure linking existing documentation

Closed due to Microsoft#736


[CHORE] Preview images

@minnieoo
yea sure i can do that. do we want them in /images or perhaps a separate folder like /screenshots or /previews? there might be quite a few of them, not sure if it matters if they are mixed up with the current example images and the kibby images but thought i'd ask anyway. also what is the field called? links? would i be doing something like "link": "/images/mod-preview.png" on the mods i take the sc's for?
Originally posted by @minnieoo in https://github.com/aclist/kbin-kes/issues/194#issuecomment-1657036710

should /previews be within /images?

Yeah, definitely. /images/previews/XXX

Duplicate of 204


Works, but cannot be connected to using a public IP.

What the title says. I have copied and slightly modified the code. It works as intended, but I can only connect from the machine it is running on (using localhost:3000 or <IP_ADDRESS>:3000). I have attempted to use port forwarding but it did not help the issue. I'd like to know how I can make the app accessible from another machine, and if it is possible to host the app on GH Pages.

Not so sure about the port forwarding (seems to be a problem on your end) and you won't be able to host the server on gh pages.

I should've closed this...


xorg.xorgproto: 2019.1 -> 2020.1

Motivation for this change
https://lists.x.org/archives/xorg-announce/2019-October/003029.html
https://lists.x.org/archives/xorg-announce/2020-April/003042.html
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS

[x] Fits CONTRIBUTING.md.

Merge after https://github.com/NixOS/nixpkgs/pull/99158 and https://github.com/NixOS/nixpkgs/pull/100378.


trigger pause/play when seeking with keyboard to make analytics work

Please review, because I'm not an JS expert.
This is for issue https://github.com/mediaelement/mediaelement/issues/2737

Coverage remained the same at 74.487% when pulling 94b66d59d3ce18b176d1b334432ba2f8e3ba2bb6 on igorko:master into 464ac0dad233df0dab7e98d5860af6e8a943c730 on mediaelement:master.

Looks like this timeout in 1100 miliseconds can cause issues when seeking by clicking arrow key few times. In some cases (when pressing arrow key with some interval near second) play is triggered (from keyAction), and you still can seek by one keypress (inside keydown event listener). So play event is triggered with outdated time. Probably setting timeout to 0 will fix this, but I am not familiar with all the logic for key events. Could someone look into it?

Nope, setting timeout to 0 makes even worth. Play is not triggered at all after seeking. Please look someone into it.


ENH: remove license_path directive for FreeSurfer

license_path was a remnant from neurodocker pre-refactor. This commit removes references to it and adds examples for adding the FreeSurfer license at container build-time.

Codecov Report

Merging #296 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #296   +/-   ##
=======================================
  Coverage   80.93%   80.93%
=======================================
  Files          33       33
  Lines        1568     1568
  Branches      170      170
=======================================
  Hits         1269     1269
  Misses        218      218
  Partials       81       81

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 f8b5f89...3882e17. Read the comment docs.


Modify Release Action to Bump development versions and create a PR

I'll keep on updating versions in package.json manually then


How to describe the target Unit for phys_unit:conversionFactor?

Hello,
in the AAS Data Specification Physical Unit, we have the attribute - conversionFactor. The screenshot is the example from the Specification, where the unit "1/min" has a conversion factor 1.0/60. However, the target/output unit after applying this conversion factor is not indicated within this template. In other words, how should we express the actual meaning of this conversion factor?

Hello @BirgitBoss, may you have a clue to this question?

I am not really an expert on physical unit and its conversions. Probably the confusion arises from the fact that one additionally needed data specification for quantities is not (yet) offered to completely describe the semantics of a physical unit.
In the example you need to refer to the ECLASS dictionary and Wiki for this missing information.

Thanks for the hint, our customer has a clue to solve it now. We can close this issue.

@changqin26 any insights you could share?

@StenGruener A new attribute of Physical Unit called "targetUnit" will be added and point to the IRDI of the target unit in Eclass or in CDD.


From "http://redux.js.org/docs/basics/Actions.html" -> 'VisibilityFilters'

I think that VisiblityFilters is a constant containing a record of constants and since it isn't a constructor it should be rewritten like this VISIBILITY_FILTERS <-- this is clear to me that it isn't a constructor, it is a constant.
Thank you.

The VisibilityFilters variable isn't an action type constant itself, but a collection of those constants.
Also, keep in mind the const statement in ES2015 isn't like constants in other variables. This is totally valid code:
const thing = { foo: 123 }
thing.foo = 321

The only thing constant is that the variable points to the same thing at all times. It doesn't make those things read-only.

Yeah, if an object contains a list of types which are all UPPERCASED constants, why would it be different?
Sean

On Sep 25, 2016, at 6:25 PM, Tim Dorr<EMAIL_ADDRESS>wrote:
Closed #1983 https://github.com/reactjs/redux/issues/1983.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/reactjs/redux/issues/1983#event-801624072, or mute the thread https://github.com/notifications/unsubscribe-auth/ABUkyu_HMQFNT97VcsEyaNnP8B6_8imUks5qtvTLgaJpZM4KFWH0.

To clarify, the convention is PascalCase for constructors/classes and namespaces (e.g. React). This is a namespace.

Yeah, this isn’t a constructor or a class. It’s an object containing string CONSTANTS.
Sean

On Sep 26, 2016, at 6:29 PM, Frankie Bagnardi<EMAIL_ADDRESS>wrote:
To clarify, the convention is PascalCase for constructors/classes and namespaces (e.g. React). This is a namespace.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/reactjs/redux/issues/1983#issuecomment-249716419, or mute the thread https://github.com/notifications/unsubscribe-auth/ABUkylqz-bTq0hb_HzbMn_i94XOjTEX-ks5quEdSgaJpZM4KFWH0.

For me, it seems odd (and inconsistent) to look at the object which is “camelCase.STRING_CONSTANT”

On Sep 26, 2016, at 6:37 PM, Sean MacIsaac<EMAIL_ADDRESS>wrote:
Yeah, this isn’t a constructor or a class. It’s an object containing string CONSTANTS.
Sean

On Sep 26, 2016, at 6:29 PM, Frankie Bagnardi<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
To clarify, the convention is PascalCase for constructors/classes and namespaces (e.g. React). This is a namespace.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/reactjs/redux/issues/1983#issuecomment-249716419, or mute the thread https://github.com/notifications/unsubscribe-auth/ABUkylqz-bTq0hb_HzbMn_i94XOjTEX-ks5quEdSgaJpZM4KFWH0.


Deprecate/remove MetricsMongoResource and METRICS_MONGOENGINE_ALIAS from code

It's only used in the migrations, and nobody will ever run them again from an old version.

#self-assign


Contribute

PHP, HTML, CSS, Vanilla Js

Here is the latest: PHP taskhttps://github.com/code-relay-io/image/blob/master/README.md
Remember your job is to make incremental progress, break the task into smaller tasks, or finish something in 15 minutes, then pass it along to the next contributor.
No responsibility, only fun.
When you have finished your 15 minutes, add your next task to the readme.md. Then make a pull request to the repo.
Email with questions
Cheers,
Michael

done my first pull request, I'm not really familiar with git (we use svn at work) so it's a simple one. need to get used to it. I've done it from the github interface, but if i understand correctly, from my cli, I should use:
git clone xxx
// make changes
git add files changed
git commit
then git push
Is that it or  am I missing some steps?
anyway that was fun digging in some other code (even If i just updated the readme this time).
waiting for the next one ;)

You are really close, but missing a couple steps. What you described would work for a personal project that you control, but when working with others there are few additional steps.
Most projects use the "Fork and Pull Request Workflow", it's really popular you can look it up.
In general it works like this:

Fork the project (either from the GitHub interface or the Github cli
git clone your-forked-version, not the original. git clone  https://github.com/ akabakass/xxx
make changes
git add files changed or git add -A to add everything
git push (this will push to your forked version)
Make a pull request to the original from your forked version.

I should have your next task in an hour or two.

ok Thanks a lot, will do that for the next one

Here is your next task: https://github.com/code-relay-io/magento-laravel-api/blob/master/README.md


EROFS: read-only file system, mkdir '/var/task//CacheFiles

Describe the bug
When updating the package to the latest version v5.1.2 and deploying to AWS Lambda, the function cannot even start because of this Cache error.
Error Details (Log)
{
    "errorType": "Error",
    "errorMessage": "EROFS: read-only file system, mkdir '/var/task/<directory>/CacheFiles'",
    "code": "EROFS",
    "errno": -30,
    "syscall": "mkdir",
    "path": "/var/task/<directory>/CacheFiles",
    "stack": [
        "Error: EROFS: read-only file system, mkdir '/var/task/<directory>/CacheFiles'",
        "    at Object.mkdirSync (node:fs:1372:26)",
        "    at 40963 (/var/task/<directory>/index.js:73469:23)",
        "    at __webpack_require__ (/var/task/<directory>/index.js:308982:42)",
        "    at 13868 (/var/task/<directory>/index.js:73623:17)",
        "    at __webpack_require__ (/var/task/<directory>/index.js:308982:42)",
        "    at 57530 (/var/task/<directory>/index.js:74312:19)",
        "    at __webpack_require__ (/var/task/<directory>/index.js:308982:42)",
        "    at 62811 (/var/task/<directory>/index.js:72929:16)",
        "    at __webpack_require__ (/var/task/<directory>/index.js:308982:42)",
        "    at 50218 (/var/task/<directory>/index.js:2109:5)"
    ]
}

Environment

Video URL: any URL
@ybd-project/ytdl-core version: 5.1.2
Node.js version: 20
Operating system: AWS Lambda

Thank you, please wait for the release as we will add an option to disable the file cache in v5.1.3.

v5.1.3 has been released. Please check to see if the problem has been fixed.

It worked, thanks for your hard work on this. As a suggestion for a future release. I understand the importance of the cache in this logic. Maybe we can take advantage of the /tmp/ folder in Lambda. We're allowed to write to that folder. And we can verify if the code is actually running in a lambda function by checking one of the default env variables of the lambda runtime.

Thank you. This will be used as a reference for future development.


Fix phonetics for 夫

The concise dictionary has the following phrase with ㄈㄨ˙.
大夫
工夫
功夫
下功夫
下工夫
頂上功夫
箱底功夫
水磨工夫
一盞茶工夫

https://dict.concised.moe.edu.tw/search.jsp?md=1&word=夫&page=1
https://dict.concised.moe.edu.tw/search.jsp?md=1&word=夫&page=2
https://dict.concised.moe.edu.tw/search.jsp?md=1&word=夫&page=3
Also provide both ㄉㄚˋ ㄈㄨ and ㄉㄞˋ ㄈㄨ for 大夫 for fault tolerance.
https://dict.revised.moe.edu.tw/dictView.jsp?ID=40677&q=1&word=大夫#order1

@tianjianjiang I attempted to cover all combinations for fault tolerance, removed  ㄉㄚˋ ㄈㄨ˙ as requested.

@tianjianjiang I attempted to cover all combinations for fault tolerance, removed  ㄉㄚˋ ㄈㄨ˙ as requested.

@xatier Thank you for that! 🙏
BTW, my preference:

If it's possible to pronounce in that way, it's ok to add it even if it's not in good references.
If it's highly unlikely to pronounce in that way, not adding it may keep the syllables informative, e.g., those are actual usages.

Even if something like /ㄉㄚˋ ㄈㄨ˙/ isn't added, if /ㄈㄨ˙/ is actually of a free morpheme, it will be added as a monosyllable (of 夫 for example), and then "combination" will naturally occur. It may cover reasonable "fault tolerance."


[docker] adding clang for validator

Motivation
This is causing an error with https://crates.io/crates/snappy-sys
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
CI testing
Related PRs
None

@bors-libra r+

:pushpin: Commit 08460ed has been approved by bmwill

:hourglass: Testing commit 08460ed478c47dae075a1ad026732ce1536e0561 with merge e895de81ac01e8ecc3033d64a6217cde22361753...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: bmwill
Pushing e895de81ac01e8ecc3033d64a6217cde22361753 to master...


$accessPath not set to a value due to error "drive with the name 'V' does not exist"

Before submitting the bug

[x] Ensure you are able to reproduce it on the latest released version (we release often)
[x] Verified this bug is not already reported in an issue
[x] Verified errors are not related to permissions
[x] Can reproduce in a clean PowerShell session (clean = powershell -NoProfile)

Describe the bug
When creating an Image from my local machine to a remote server, there is a cascading failure due to Line 404 in the New-DcnImage command.
My local machine doesn't have a drive with the name "V", the remove server does. I belive the above line is computing the path on the wrong machine.
To Reproduce
Steps to reproduce the behavior:
$configUserCreds = Get-Credential
$databaseName = "testDb"
$sourceSqlInstance = "RemoteSvr\SQL2016"
$destSqlInstance = "RemoteSvr\SQL2016"
$imageNetworkPath = "\\RemoteSvr\dbaclone-SQL2016$"

New-DcnImage -SourceSqlInstance $sourceSqlInstance `
             -SourceSqlCredential $configUserCreds `
             -DestinationSqlInstance $destSqlInstance `
             -DestinationSqlCredential $configUserCreds `
             -ImageNetworkPath $imageNetworkPath `
             -Database $databaseName `
             -UseLastFullBackup -Verbose

Screenshots
I added some debug code to the command to get the exact fault:

The error:

Line 479 and 480 Are the exact same issue.
line 524 is similar in that the command should be run on the remote instead of local.
Unsure if I should raise this as a new issue or not but Lines 514 - 519 should be moved inside of the $computer.IsLocalHost condition as it runs for remote commands as well.

issue #131 has resolved this issue


[Playground] Share any code feature

Resolves #21978.
In this PR:

Added 'share any code' feature.
Refactored dropdown offset calculation to accommodate the new button.
Refactored color theme handling because the new button did not fit the old theme handling.
Added ExampleModel.sdk because there are now cases when we can't take it anywhere else, and it also feels natural.
Fixed tests, they broke after adding sdk.

Many thanks to @miamihotline who did 70% of the job but was interrupted.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @damondouglas

lgtm!


Add files via upload

Docs Build status updates of commit f1e576f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/commercialize-your-device/MS EULA_Windows 10 IoT Core RS5 .pdf
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Advice for setting schema_extra on primative types

I'm trying to set a format field in the JSON schema on generic elements of array. I think the best way to describe it is with an example; I have a generic model Samples[T], which is currently implemented as:
from types import Generic, List, TypeVar
from pydantic import Field
from pydantic.generics import GenericModel

T = TypeVar("T")

class Samples(GenericModel, Generic[T]):
    samples: List[T] = Field(..., description="Array of samples.")

I can produce the following JSON schema from a concrete type of this (say Samples[str]) which gives:
{
  "title": "Samples[str]",
  "type": "object",
  "properties": {
    "samples": {
      "title": "Samples",
      "description": "Array of samples.",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "samples"
  ]
}

I would like to add a format field into the items element of this schema (giving "items": {"type": "string", "format": "my-format"}) in a generic way. So far I've tried:

Customising the schema by implementing a config on Samples with a schema_extra static function (as per the docs) which targets a specific case (schema["properties"]["samples"]["items"]["format"] = "my-format"), but this doesn't generalise for any T (T may be a nested array of strings which also require specifying format on their elements).
Using a BaseModel with a __root__ element for T and implementing a config with a schema_extra on that. This would be the ideal solution, but it promotes the type of items to object, rather than string (this causes issues with FastAPI either which is my target in this case).

I could create a Pydantic model factory and dynamically create schema_extra functions which do the appropriate changes to each specific model (with the aid of some arguments to the factory), this seems like an ugly solution though. Is there anything else I can try?

Hey @lewisbelcher ,
Have you considered using __modify_schema__ ? Here is an example on the #1562 branch that fixes duplicated field
from typing import Generic, List, TypeVar, Type
from pydantic import Field
from pydantic.generics import GenericModel

T = TypeVar("T")

def with_modified_schema(type_: T, **kwargs) -> Type[T]:
    class WithModifiedSchema(type_):
        @classmethod
        def __modify_schema__(cls, schema):
            schema.update(**kwargs)
    return WithModifiedSchema

class Samples(GenericModel, Generic[T]):
    samples: List[T] = Field(..., description="Array of samples.")

print(Samples[with_modified_schema(str, format='my-string-format')].schema_json(indent=2))

{
  "title": "Samples[WithModifiedSchema]",
  "type": "object",
  "properties": {
    "samples": {
      "title": "Samples",
      "description": "Array of samples.",
      "type": "array",
      "items": {
        "type": "string",
        "format": "my-string-format"
      }
    }
  },
  "required": [
    "samples"
  ]
}

Does it solve your problem?

Yes this looks like exactly what I need @PrettyWood! Thanks!


Storing Bot password (oAuth password)

How to safely store oauth password? When I'm using bot in browser, then every user app can see this.
It's better to gnerate password each time / use user logged password / or making something else?
I'm using bot in browser after app's user log in

I'd recommend asking your question on stackoverflow as it is not an issue with tmi.js.


Syntax error: Missing comma

"regex" : ".{5}", ...

hi mrtoner,
That's not a syntax error, regex is the last key in that dictionary.  I appreciate your looking at the code, though!

Not according to the code posted at http://mikesofaer.github.com/stop_censorship/ -- there's a 'persistent' property following.

Yup, there was.  I was looking at the Readme.  Thank you!


Use strict unmarshalling of rules

Fix #7042
The problem is not only in promtool. Prometheus successfully load broken files now, which happened to me today. It loaded a rule file with annotation and not annotations.
The previous PR #7142 seems to have a larger scope, let's move on with this one and see what's left in #7142.
Signed-off-by: Julien Pivotto<EMAIL_ADDRESS>

This seems like a better approach, there's a test failure though.


adapter forgets password when restarted

I have to restart the adapter daily for it to work properly.
After the restart the the password-field is empty and the adapter does not start

Are you by any chance reading out and modifying the adapter configuration /system/adapter/tahoma, e.g. via JavaScript-adapter? I remember a similar case in the past (user had the idea to trigger adapter restarted by altering online-state in config) where this corrupted the password. The password itself is defined as a protected field, meaning that any attempt to modify the adapter configuration from the outside will corrupt the set password.

you are right, that was the trick.
I restarted the adapter every night because it crashed very often before.
Let's see, how it will work now. :-)
Thanks!


Update Tooltip props to account for new content attribute

Update Tooltip props to account for new content attribute introduced in new react types version.
https://github.com/DefinitelyTyped/DefinitelyTyped/commit/3f5d20608d31363487694535189ef64569043ff9

/release-pr


fix(csharp): unicode codepoints instead of utf 16 units

[x] I own the full rights to my contribution, and agree to release it under the terms of the Creative Commons Zero Public Domain Dedication

(and other code review)

Not too expensive:

Method
Mean
Error
StdDev
Allocated

CompareAll_UTF16
6.312 us
0.1496 us
0.4411 us
-

CompareAll_Runes
7.826 us
0.1584 us
0.4647 us
-


Using new api

Depends on https://github.com/quran/quran.com-api/pull/37

surah pages wont load because of an error referring to line 21 of SurahInfo/index.js saying surah.revelation.place is undefined. the solution is to change the property to revelationPlace

also some errors with the audioplayer, incorrect urls, nulls on changing reciter

good catches. i gotta test the audioplayer more.


Release 0.8.0

4e219d5 Remove necessery registerElements
99792f5 Fix new page wizard element add Component class
a8a8cdd Fix New Page wizard Child Components
66d73a9 Add the Feature usage for Radio button (#470)
0069f19 Fix ruler element
Signed-off-by: Kornelia Kobiela<EMAIL_ADDRESS>

All elements were cleared. It works. CI will not work - we don't have a config for Custom Elements and JSDom doesn't support it by default.

Both urls work now


Issue while building a WSO2 Microgateway project

Description:
Issue while building a WSO2 Microgateway project
Steps to reproduce:

The Microgateway toolkit initialized at a location.
The Microgateway project is initialized and built.
After building the error in the attached log file came.

Affected Versions:
OS, DB, other environment details and versions:
Windows 10
ballerina-internal.log
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

This is a wso2 microgateway issue. I'll transfer the issue to mgw repo

@SushantWankhede Please refer to wso2/product-microgateway#793


[Eval] Get logits output.

overall LGTM. @Duyi-Wang please help to review as it is closely related with the interface.

I think it's better to keep align with transformers to use output_scores=True in generate() instead of forward().
output_scores (bool, optional, defaults to False) — Whether or not to return the prediction scores. See scores under returned tensors for more details.
output_logits (bool, optional) — Whether or not to return the unprocessed prediction logit scores. See logits under returned tensors for more details.
https://huggingface.co/docs/transformers/main_classes/text_generation#transformers.GenerationConfig.output_scores

I think it's better to keep align with transformers to use output_scores=True in generate() instead of forward().
output_scores (bool, optional, defaults to False) — Whether or not to return the prediction scores. See scores under returned tensors for more details. output_logits (bool, optional) — Whether or not to return the unprocessed prediction logit scores. See logits under returned tensors for more details. https://huggingface.co/docs/transformers/main_classes/text_generation#transformers.GenerationConfig.output_scores

This implementation aligns with the approach on Hugging Face, which is merely a model's execution from input (token id) to output (logits), without considering the searcher component.


Python package names do not match with names declared in jupyter-releaser config

Description
We declared Python package names in jupyter-releaser config with "underscores" while the names declared in pyproject.toml have "hypens".
When jupyter-releaser attempts to publish packages to PyPI, it checks if names declared in its config is same as names in Wheel/Sdist. This check will obviously fail and so skip publishing to PyPI.
Reproduce
Try to publish to PyPI using publish.yml workflow.
Expected behavior
Packages published to PyPI.
Possible fix
Rename all the package names in pyproject.toml replacing hypens with underscores.

Rename all the package names in pyproject.toml replacing hypens with underscores.

Would replacing underscores by hyphens in the package.json also work?

Would replacing underscores by hyphens in the package.json also work?

I dont think so as in jupyter-releaser hypens are replaced by underscores before comparison is made

OK thanks.
I guess we could then try that in a PR.
Normally the check_release workflow should publish the packages to a test PyPI server. Looking at a previous run (https://github.com/jupyterlab-contrib/jupyterlab-topbar/actions/runs/7990179602/job/21818416570), it looks like it was not doing that:

So we can check if it correctly publishes the packages on the test PR.

Yes, I can work on that.
Do you think it is worth raising this on jupyter-releaser to emit a warning when wheels and/or sdists found but skipped the publishing? There was no messages in the logs on why published has been skipped.

Do you think it is worth raising this on jupyter-releaser to emit a warning when wheels and/or sdists found but skipped the publishing? There was no messages in the logs on why published has been skipped.

That sounds useful yes. If I remember correctly there was also an issue when publishing on the voici packages (also using the python_packages of the releaser): https://github.com/voila-dashboards/voici/releases/tag/v0.6.0

Opened an issue on jupyter-releaser

Investigating in https://github.com/jupyterlab-contrib/jupyterlab-topbar/pull/119

BTW @mahendrapaipuri I invited you to the repo with the proper rights to also be able to make releases with the releaser, in case you would like to help with the maintenance. Thanks!

Cheers @jtpio !! Sure, would be happy to give you a hand in maintenance!


stripe: Add 'do_initial_upgrade' method to the 'BillingSession' class.

This PR moves a major portion of the initial_upgrade view to a new shared BillingSession.do_initial_upgrade method.

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Merged after noting a follow-up refactor that I think we are now ready for.


Optimize the performance when save segment records or metrics to database.

Support config file to specify the time interval.
Support config file to specify the flush time interval of elasticsearch.
Use timer to scan the segment record or metric in persistence workers and batch insert into the database.

fixed


resolves #155 add support for Font Awesome Solid 5.12.0

I have some concerns about this PR. I do not much care about icons.yml size, we only load it once. I absolutely do not care about shims.yml size, it loads fast. Both .yml and font file were taken from Font Awesome as-is.
What I do care about is that font file takes up 225KB when zipped and we will package that into each book. @mojavelinux what do you think? Is it acceptable?
Also, I didn't perform extensive testing in different readers yet.

KindleGen doesn't like this font for some reason, investigating...

Nice work!


Add Cypress docs to README 'who's using textlint'

Hi, we use textlint to keep Cypress' documentation text use consistent. Thanks for your work!

@jennifer-shehane Thanks for PR!
I've used cypress for testing my application and textlint's playground!


Allow to pass in a filename to use for stdin piping

Currently, you can pipe text into code and a temp file will be created, written to and opened in vscode, this temp file is named stdin-xxxx.txt.
The issue with this is that the name has no meaning, and syntax highlighting does not work for this new file.
Why not create a file yourself, name it whatever you want and open that via the CLI?
Because it would be great to be able to present a file open in vscode to a user with a suggested filename but they get to choose if and where they save it. This would use some of the untitled file/unsaved file logic.
This would be useful for instance, if you wanted to open some sort of log automatically after a script has run. The user then may or may not save it.

Related: https://github.com/microsoft/vscode/issues/62929
Challenge is that stdin might still write after VSCode has opened and we currently have no communication from the process to VSCode (we basically use the temp file and file change events as a solution for that).


stat: Add sequential area output to stat -liberty

Checks to see if a cell is of type ff in the liberty, and keeps track of an additional area value.
   Chip area for module '\addr': 92.280720
   Sequential area for module '\addr': 38.814720

Done.


Redundant entries in Find all references view

Testing #98821

Open My Work notebook
Find all references for $vscode
Rename $vscode to $vscoderepo
clear results in references view
click on refresh action on $vscode entry in references view
clear results again

🐛 Two entries are shown now which are pointing to same

Yeah, not so simple but independent of notebooks. The viewlet doesn't know anything about "anchor symbols" but simply remembers words at certain locations. It would need some de-dupe based on the location


I can't find many files

Hello, Sir:
In the main function, many parameters are missing and cannot be run.
For example, in the Image reconstruction file and def main():
1.Semantic_feature_extraction.py
I can't find LDM_model
1.model_typology = pd.read_csv( '/nfs/diskstation/DataStation/ChangdeDu/luyizhuo/model_typology.csv')
I can't find model_typology.csv
2.n_feats
decoding_target_layers(args.CLIP_feature_decoder_path, args.mask_path, args.val_CLIP_mean_path,
args.val_CLIP_std_path, args.target_layers, 25, 'fastl2',n_feats, args.recons_img_idx)
3.loss_CLIP_weight
loss = MSE_CLIP_mask(masks=feature_masks, target=CLIP_target, generated=CLIP_generated,
weight=loss_CLIP_weight)
4.In the Feature extractor files
parser = argparse.ArgumentParser(description='CLIP text feature extraction')
parser.add_argument('--stable_diffusion_config_path',  default='', type=str)
parser.add_argument('--stable_diffusion_skpt_path',  default='', type=str)
parser.add_argument('--coco_ids_path',  default='', type=str)
parser.add_argument('--stimuli_data_path',  default='', type=str)
parser.add_argument('--feature_saved_path',  default='', type=str)
args = parser.parse_args()
Where are the paths to these files?
5.I can't find coco_ids_path and  stimuli_data_path
Semantic_feature_extraction.py
I can't find LDM_model.
Can you help me  and Can you give me some fully running code ？
Thanks

Sure, you can find ways to run the project quickly here：
https://github.com/ReedOnePeck/MindDiffuser/issues/2#issue-1874693977
If you have any other questions, please feel free to communicate。

2.As for args.target_layers you can find it in the body of the paper, or you can set the layers you want yourself
2. you can set “args.recons_img_idx” you want yourself
4. parser.add_argument('--stimuli_data_path', default='', type=str)
parser.add_argument('--feature_saved_path', default='', type=str)
These two are custom parameters.

I am not sure how to set this up and download

------------------ 原始邮件 ------------------
发件人:                                                                                "ReedOnePeck/MindDiffuser"                                                                                @.>;
发送时间: 2023年9月30日(星期六) 晚上6:42
@.>;
@.>;"State @.>;
主题: Re: [ReedOnePeck/MindDiffuser] I can't find many files (Issue #3)
Sure, you can find ways to run the project quickly here：
#2 (comment)
If you have any other questions, please feel free to communicate。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: @.***>

Which step in this do you not know how to set up. Please be more specific.

In the Semantic_feature_extraction.py file,
     parser.add_argument('--coco_ids_path',  default='./', type=str)
I don't know how to make coco ids path,
I am looking forward to your reply,
Thanks!

------------------ 原始邮件 ------------------
发件人:                                                                                "ReedOnePeck/MindDiffuser"                                                                                @.>;
发送时间: 2023年9月30日(星期六) 晚上9:12
@.>;
@.>;"State @.>;
主题: Re: [ReedOnePeck/MindDiffuser] I can't find many files (Issue #3)
Which step in this do you not know how to set up. Please be more specific.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: @.***>

You can refer to this code  https://github.com/styvesg/nsd

Thank you very much for your guidance！

------------------ 原始邮件 ------------------
发件人:                                                                                "ReedOnePeck/MindDiffuser"                                                                                @.>;
发送时间: 2023年9月30日(星期六) 晚上10:03
@.>;
@.>;"State @.>;
主题: Re: [ReedOnePeck/MindDiffuser] I can't find many files (Issue #3)
You can refer to this code  https://github.com/styvesg/nsd
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: @.***>

1.In the detail_extracttion.py
             '--stim_saved_path', I give 73000 images
2.In the Structural_feature_extraction.py
   '--stim_sub1_trn', Why define 8859 images when I don't see where it is defined.
3.The data I read out was 10,000 images per subject.
 (10000, 3, 425, 425)
I am looking forward to your reply.
Thanks!
------------------ 原始邮件 ------------------
发件人:                                                                                "ReedOnePeck/MindDiffuser"                                                                                @.>;
发送时间: 2023年10月7日(星期六) 凌晨0:20
@.>;
@.>;"State @.>;
主题: Re: [ReedOnePeck/MindDiffuser] I can't find many files (Issue #3)
In the training dataset of NSD, there are 8859 images. To facilitate access, I used the "Image" tool to convert each image into a size of 512x512, and saved them as a .npy file with dimensions 8859x3x512x512.
------------------ 原始邮件 ------------------
发件人:                                                                                "ReedOnePeck/MindDiffuser"                                                                                @.>;
发送时间: 2023年10月6日(星期五) 晚上8:16
@.>;
抄送: "Yizhuo @.>;"State @.>;
主题: Re: [ReedOnePeck/MindDiffuser] I can't find many files (Issue #3)
Hello Sir,
I need your help,
In the detail_extracttion.py
--stim_saved_path, I don't know how to make this file
I am looking forward to your reply.
Thanks!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: @.>