@kubb-swagger-form

Create a form that is generated based on the scheme defined in the Swagger.

Data-driven-forms with React https://github.com/data-driven-forms/react-forms
React hook form with React https://github.com/react-hook-form/react-hook-form
Ant-design Form with React https://github.com/ant-design/ant-design

I recommend form-render to you. You can see if it's worth using, but it doesn't provide documentation in English.
form-render with React, a component of XRender 2.0: https://github.com/alibaba/x-render

A first version(in beta) has been released: https://www.kubb.dev/plugins/swagger-form
pnpm i -D<EMAIL_ADDRESS>

not sure if it's useful for this project or not but this one is similar and supports a number of UI libs: https://github.com/rjsf-team/react-jsonschema-form

I'm thinking about moving this to its own project and doing some extra research to see if it would be possible to create one package that can convert to data-driven-form, ant-forms, ...


MSP-3261: add apparmor profile

Add an AppArmor profile to prevent the modification of libnvidia libraries to versions not installed by the NVIDIA operator.

Lets bump version to 1.15.1?


30 - Implement About Page

Issue Number
#30
Figma Mockup: About
(This PR is a dependent of the PR #29 and was created based on the branch nozomione/29-implement-landing-page)
Purpose/Implementation Notes

Add the necessary components and implement them on the about page.

Implemented the about page using the global components.

Files related to this PR

[ ] UI review w/ @dvenprasad - please review the UI here, thank you!

(After passing the UI review, @davidsmejia will be added to the reviewers.)
Types of changes
What types of changes does your code introduce?

New feature (non-breaking change which adds functionality)

Checklist

[x] Lint and unit tests pass locally with my changes

All of the components, font sizes looks good! I have layout comment
There's two margins, the outer one which is the bounds of the navigation bar and an inner one which is for the content:

In this case, the page content will be shifted more to the right side. Or do you prefer it to be centered of the page? Please let me know!

Let's center the content

Let's center the content

@dvenprasad, the UI is ready for your review, thank you!


Edit isolated objects

Edit objects isolated
Description

Add the ability to edit isolated objects
Will be useful to edit objects stored as resources

Platform

Web Version [X]
Windows [X]
Linux [X]

Implemented, its now possible to edit an isolated object!


how to plot figures of different projects in different workspaces?

Currently, there are all showing in one page, which makes it look really crowed.
Thanks!

Each plotting function has an env input variable, which specifies the
environment ("workspace") in which the plot gets added. You can use the
dropdown menu in the top bar to select the environment you're viewing.
Note that you may have to reload your page whenever you add a new
environment in visdom.
On Tue, May 30, 2017 at 1:47 PM, Yuanpu Xie<EMAIL_ADDRESS>wrote:

Currently, there are all showing in one page, which makes it look really
crowed.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/facebookresearch/visdom/issues/88, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABHSrnmJ4eQ8ADpA2yeVCNhJnWVMZmt4ks5r_FYlgaJpZM4NqoEo
.


mock.GetRateLimits returns nothing

I am trying to mock the request which should return an amount of remaining requests
mockedHTTPClient := mock.NewMockedHTTPClient(
	mock.WithRequestMatch(
		mock.GetRateLimit,
		github.RateLimits{
			Core: &github.Rate{
				Limit:     *github.Int(1),
				Remaining: 1,
				Reset:     github.Timestamp{},
			},
			Search: &github.Rate{},
		},
	),
)
c := github.NewClient(mockedHTTPClient)
ctx := context.Background()

limits, response, err := c.RateLimits(ctx)

if err != nil {
	log.Fatal(err)
}
fmt.Println(response, limits, err)

For some reason my output looks like this
github.Rate{Limit:0, Remaining:0, Reset:github.Timestamp{0001-01-01 00:00:00 +0000 UTC}} <nil> <nil>

I was trying to return just a github.Rate, github.RateLimits. I've swapped values with github.Int. Still nothing. Use of WithRequestMatchHandler also did nothing. Am I missing something? Other requests I was trying to mock are working as expected and returns proper values.

Hi @kalgurn , see if this example works for you. I just had to adapt a couple of things:
mockedHTTPClient := NewMockedHTTPClient(
	WithRequestMatch(
		GetRateLimit,
		struct {
			Resources *github.RateLimits
		}{
			Resources: &github.RateLimits{
				Core: &github.Rate{
					Limit:     *github.Int(1),
					Remaining: 10,
					Reset:     github.Timestamp{},
				},
				Search: &github.Rate{},
			},
		},
	),
)
c := github.NewClient(mockedHTTPClient)
ctx := context.Background()

limits, response, err := c.RateLimits(ctx)

if err != nil {
	log.Fatal(err)
}
fmt.Println(response, limits, err)

For some reason, the upstream response for the rate limits endpoints doesn't seem to match what is defined in the OpenAPI definition for the API itself. Even go-github seems to hack a struct when reading the response from the API. See: https://github.com/google/go-github/blob/master/github/github.go#L1107

It actually does, thank you @migueleliasweb ! I did noticed this line before, but didn't give a much thought to it :(
The response is a bit strange,
github.Response: github.Rate{Limit:0, Remaining:0, Reset:github.Timestamp{0001-01-01 00:00:00 +0000 UTC}}
github.RateLimits: github.RateLimits{Core:github.Rate{Limit:1, Remaining:10, Reset:github.Timestamp{0001-01-01 00:00:00 +0000 UTC}}, Search:github.Rate{Limit:0, Remaining:0, Reset:github.Timestamp{0001-01-01 00:00:00 +0000 UTC}}}
err: <nil>

but I don't actually care about the github.Response, only about github.RateLimits which are now working.
I think this issue can be closed


Update API docs for Link#to

The <Link> API has been updated in 2.0 (see this).
The library informs the user via console messages when deprecated attributes are used:
This PR updates the API docs for <Link> to reflect these changes.

I'll merge as-is and update the doc. Thanks, @Gpx!


FormBuilderDateTimePicker onChanged sending year 1970 on flutter_form_builder: ^5.0.0-alpha.1

flutter_form_builder: ^5.0.0-alpha.1
When changing the date on FormBuilderDateTimePicker you will receive an onChanged event with the correct date.  And then you will receive multiple additional onChanged events with the correct month and day, but the year will be 1970.

This still an issue?


GO:0072588     box H/ACA RNP complex

GO:0072588     box H/ACA RNP complex
I have used this historically for the  "box H/ACA RNP complex"
I.e the   pseudouridylate synthase and snRNA containing complex.
At some point it changed meaning and the  pseudouridylase complex is now represented by
GO:0031429    box H/ACA snoRNP complex
box H/ACA snoRNP pseudouridylase complex
it took me a while to figure this out, so can
the synonym "box H/ACA snoRNP pseudouridylase complex" be made the term name.
Also for all these terms, the nomenclature used  is yeast  nomenclature not human. Human used Yeast nomenclature. These complexes were first identified in yeast. You can call it universal nomenclature  if you like.... but not human

Also, the def doesn't mention pseudouridylate synthase the activity it performs...
the def is:
A box H/ACA RNP complex that is located in the nucleolus.

@krchristie  can you comment on this; you are more up on this I think

Actually, based on the term creation dates (and I think I've even looked at the older versions of the GO:0031429 term in an older file when I was researching this ticket: https://github.com/geneontology/go-ontology/issues/11686) the term: GO:0031429 box H/ACA snoRNP complex is the original term, which originally was appropriate for annotation of ANY box H/ACA snoRNP complex.
In February 2011, these two terms were created
GO:0072588 box H/ACA RNP complex
GO:0072589 box H/ACA scaRNP complex
Several years ater, in Sept 2015, this term was created:
GO:0090661 box H/ACA telomerase RNP complex
It may have been a mistake to make the GO:0031429 box H/ACA snoRNP complex specific to the nucleolar complexes because I think it may have made some of the original annotations incorrect. However, it's been so long now that I think it needs to stay as what it is now.
However, it would be incorrect to change the name of GO:0031429 box H/ACA snoRNP complex because not ALL of the nucleolar box H/ACA snoRNP complexes are pseudouridylation complexes. Some are RNA cleavage guides that do not guide any pseudouridylation at all.
In the box C/D ticket I spent quite a bit of time looking into (https://github.com/geneontology/go-ontology/issues/11686), I was proposing a structure like this. A similar structure would be equally appropriate for the box H/ACA RNP complexes.
-- box C/D RNP complex (GO:new)
--- box C/D methylation guide RNP complex (GO:new) [for Archaea, euk of unknown location]
---- box C/D methylation guide scaRNP complex (GO:new)
---- box C/D methylation guide snoRNP complex (GO:0031428)
--- box C/D pre-rRNA cleavage RNP complex (GO:new) [appropriate for U3, U8, U13 RNPs]
Term Stanzas:
[Term]
id: GO:0031429
name: box H/ACA snoRNP complex
namespace: cellular_component
def: "A box H/ACA RNP complex that is located in the nucleolus." [GOC:vw, ISBN:0879695897, PMID:17284456, PMID:20227365]
synonym: "box H/ACA small nucleolar ribonucleoprotein complex" EXACT [GOC:cjm]
synonym: "box H/ACA snoRNP pseudouridylase complex" EXACT [GOC:mah, GOC:vw, PMID:17284456]
is_a: GO:0044452 ! nucleolar part
is_a: GO:0072588 ! box H/ACA RNP complex
relationship: capable_of GO:0009982 ! pseudouridine synthase activity
[Term]
id: GO:0072588
name: box H/ACA RNP complex
namespace: cellular_component
def: "A ribonucleoprotein complex that contains an RNA of the box H/ACA type and the four core proteins dyskerin, NOP10, NHP2, and GAR1 (human protein nomenclature). RNA pseudouridylation (isomerization of uridine to pseudouridine) is the major, and most likely the ancestral, function of H/ACA RNPs. Pseudouridylation targets include both large and small ribosomal RNAs (rRNAs), and small nuclear RNA (U2 snRNA). In addition to these catalytic H/ACA RNPs, a less abundant but more diverse class of structural H/ACA RNPs exists, which does not have pseudouridylation activity. These include the vertebrate telomerase RNP complex." [GOC:BHF, GOC:BHF_telomerase, GOC:jbu, GOC:mah, GOC:vw, PMID:17284456, PMID:20227365]
synonym: "box H/ACA snoRNP pseudouridylase complex" RELATED [GOC:mah]
synonym: "sRNP complex" NARROW [GOC:mah, PMID:17284456, PMID:20227365]
is_a: GO:0005732 ! small nucleolar ribonucleoprotein complex
created_by: midori
creation_date: 2011-02-10T01:43:37Z
[Term]
id: GO:0072589
name: box H/ACA scaRNP complex
namespace: cellular_component
def: "A box H/ACA RNP complex that is located in the Cajal body of the nucleoplasm. In highereukaryotes, box H/ACA RNP located in Cajal bodies mediate pseudouridylation of spliceosomal snRNAs."  Cajal body
created_by: midori
creation_date: 2011-02-10T02:47:17Z
[Term]
id: GO:0090661
name: box H/ACA telomerase RNP complex
namespace: cellular_component
def: "A box H/ACA ribonucleoprotein complex that contains the RNA component of vertebrate
telomerase, the enzyme essential for the replication of chromosome termini in most eukaryotes. This ribonucleoprotein complex is a structural box H/ACA RNP, which does not have the catalytic pseudouridylation function shared by the majority of H/ACA RNPs present in the cell." [GOC:BHF, GOC:BHF_telomere, GOC:jbu, PMID:22527283]
is_a: GO:0072588 ! box H/ACA RNP complex
relationship: capable_of_part_of GO:0032212 ! positive regulation of telomere maintenance via telomerase
relationship: part_of GO:0005697 ! telomerase holoenzyme complex
created_by: tanyaberardini
creation_date: 2015-09-21T14:46:16Z

I am going to close this ticket because I think this suggestion can not be implemented as is, and this ticket is somewhat redundant with other previously opened tickets.
If you have any other comments on this, please add them to one of the other open tickets:

your previous ticket:  GO:0072588 box H/ACA RNP complex #15918
my box C/D ticket:  NTR & issues with GO:0031428 "box C/D snoRNP complex" #11686


stdlib

Is the idea of this PR to introduce a standardlibrary across different backends?

@b-studios Yes, but I could not get the master's JS backend to find it.

The backends are all so different that we decided not to share anything between them. They basically describe different languages where (most of) the details are "implementation defined". Henceforth all attempts to unify the stdlib across backends have been abandoned.
It is even not so simple with programs that can be entirely written in Effekt. Maybe numerics work differently on different backends? Maybe some features are not yet implemented and thus prevent the stdlib from being typechecked / compiled.
I would be very happy if we could have a better approach to our (more or less non-existing) stdlib. But a solution somehow needs to address the above concerns.

Yes, but I could not get the master's JS backend to find it.

That is strange, adding the path of the stdlib to --includes should "just" work.

Ref. https://github.com/effekt-lang/effekt/pull/138


Backporting fixes to properly work with Xamarin linker

Backporting fixes to properly work with Xamarin linker: https://github.com/Azure/azure-mobile-apps-net-client/pull/9
Resolves #855

@paulbatum / @phvannor this is the same work done in #855 , backported to Mobile Services.


deviceToken is Empty - Installation class

We are trying to set the deviceToken (Android app) in Installation class so then we can send push notifications using OneSignal as follows:
ParseInstallation installation = ParseInstallation.getCurrentInstallation();
installation.put("GCMSenderId",senderId);
installation.put("pushType","gcm");
installation.put("deviceToken",token);
Once we try to save, we get an exception:
Cannot modify deviceToken property of an _Installation object. android
Any advice on how/where to set the "deviceToken" in Installation class?

Yeah. Same here. Device token is empty pushes are not delivered

The deviceToken will be set automatically by parse-server. The issue I had was that I was changing the serverURL of my app between the localURL and the online server. All I did was to uninstall the app and install the new one and it started working.

This is unrelated to this adapter, please open on parse-server or on the Android-SDK repository


RISC-V Cryptography Extensions?

There is https://github.com/riscv/riscv-crypto, which defines a lot of useful primitives that would accelerate typical blockchain operations with generic RISC-V code instead of custom host functions.
I'm wondering if this is something that is considered to be supported?
I wasn't sure what is the best place to ask or discuss such questions would be, feel free to point me elsewhere if topics like this are not welcome here.

Currently there are no plans, and we want to finalize the instruction set soon-ish.

Makes perfect sense to me.

e.g. an extension to the instruction set which calculates SHA-2 is pointless, since you can do it with a host function, and you can special-case that host function in the VM to be fast even without a dedicated instruction

I'll respectfully disagree with this. Having support for standardized instructions for things like SHA-2 and AES means a lot of crates out there will be able to take advantage of them without being aware of the custom host functions of a particular VM instance.
All that would be needed to take advantage of hardware acceleration is just to compile code with -C target-feature=+zknh and call RISC-V intrinsics or use corresponding inline assembly if standard library doesn't provide such intrinsics yet. In fact sha2 already supports this for RISC-V (unstably).
I my eyes it'd be nice to not require host functions for cryptography at all, just use off-the-shelf crates as is, it reduces the barrier to entry. I understand that it is an explicit non-goal and it makes sense for current stage of the VM to have a simpler instruction set implementation to get off the ground.

What would be the best place to ask random unstructured questions? I might be experimenting with polkavm in the near future and documentation is not that extensive at the moment, especially for those without experience writing VMs from scratch or even using them directly.

Be that as it may, since the PolkaVM instruction set must be synchronized with the Graypaper, and there are currently ~34 other teams implementing this instruction set, any extra additions have a very high bar of entry.

What would be the best place to ask random unstructured questions?

I've enabled discussions on the repo; feel free to post there:
https://github.com/paritytech/polkavm/discussions

any extra additions have a very high bar of entry

This issue is more opportunistic, I certainly don't expect it to be implemented in short term or before 1.0 or even be mandatory for implementation. That said I do think it would be valuable to support it eventually, especially if it is possible to map these to native x86-64/aarch64 instructions directly.
One other reason is that Subspace consensus has proof-of-time component based on AES-CBC iteration (heavily optimized in x86-64 hardware for many years with bounded theoretical improvement possible with an ASIC). On aarch64 it is over 50x slower in "software" than with hardware intrinsics.
Being able to verify (re-execute) AES under VM absolutely means support for acceleration in some form and Rust already happens to have intrinsics for this, we just need to plug them into aes crate (that we're using for verification) and we'll be in a good shape.
AES is also a primitive to some hash functions and other cryptographic constructions in the wild.
Anyway, feel free to close this issue if it doesn't make sense to keep it open, but I hope the rationale makes some sense.

Is it possible to map these to native x86-64/aarch64 instructions directly?
AES diserves discussion, because its faster on the hardware we actually use, but I've mostly pushed people towards chacha anyways.
Also..
These elliptic curve host functions linked from https://github.com/polkadot-fellows/RFCs/pull/113#issuecomment-2293674448 have multi-threading baked in, which reduces their latency, especially for larger MSMs and pairings.
If you compare the single-threaded curve25519-dalek vs any other ed25519 on https://zka.lc/ then you'll notice curve25519-dalek is much faster for small MSMs, but much slower for really large ones.  I think curve25519-dalek has much better optimizations than anything else, but the multi-threading always wins in a big MSM.
We should discuss if hostcalls should use multi-threading under the hood, because this obviously creates weight-like issues, and maybe it wastes total CPU time if polkadot were fully loaded, but anyways this requires actual discussion.

any extra additions have a very high bar of entry

This issue is more opportunistic, I certainly don't expect it to be implemented in short term or before 1.0 or even be mandatory for implementation. That said I do think it would be valuable to support it eventually, especially if it is possible to map these to native x86-64/aarch64 instructions directly.

I don't think the two of you disagree here. It is a high bar. AES might meet the bar. It still needs somebody to proof that.

Is it possible to map these to native x86-64/aarch64 instructions directly?

The RISC-V AES instructions (K extension) are more fine grained than the x86 AES-NI instructions as far as I remember. That could make it difficult to translate them.

I just checked and I think you're right, RISC-V scalar crypto is lower-level than AES-NI. Vector AES extension (Zvkned) is high-level though and can technically be exploited for scalar values, may map better onto AES-NI/VAES and while more wasteful for single values should still be significantly faster than software implementation under VM. Aarch64 seems to be closer to AES-NI, but a bit lower-level than that (doesn't have *last variants).

I think anything we add needs to have a mapping to x86 and ARM instructions. Otherwise it is kind of useless. We might determine that we need AES, the official extensions don't map and a host function is not sufficient.
A custom extension that maps well would probably the way to go.  But it has the same drawback that a host function has: The software (like the aes) crate needs to be aware of it to use it. The only reason to add it over a host function would be performance then.

I agree, but with a bit of effort it should also be possible to convert a typical pattern of a set of scalar AES instructions into functionally equivalent set of x86-64/aarch64 instructions even if it is not exactly 1:1 mapping instruction to instruction.
I'm also hoping for desktop-grade RISC-V hardware in the next few years :roll_eyes:

I've suggested this approach for symetric cryptography like hashing before:
We've some lightweight pure host function (LPFH) which avoids a context switch, but still uses native code, and enforces jump correctness somehow, including callbacks being banned.  We then fork the rustcrypto crate for symetric crypto function, pull out the inner loop into a LPFH, and provide the forked crate as sub-blake3 or sub-aes or whatever.  AES could employ the native nstruction within its LPFH.
This is similar to our elliptic curve scheme, incuring a similar maintenance burden, due to arkworks or rustcrypto evolving.  Yet, this should be simpler than maintaining some special instruction because K extension doesn't map to AES-NI.


Flickering when bundled via Pyinstaller in windows 7

I have created executable in windows 10 using pyinstaller using the command below:
pyinstaller.exe --clean --windowed --noconsole --hidden-import "clr" main.py --add-data "C:\Users\User\AppData\Local\Programs\Python\Python36\Lib\site-packages\webview\lib\WebBrowserInterop.x64.dll;./" --add-data "C:\Users\User\AppData\Local\Programs\Python\Python36\Lib\site-packages\webview\lib\WebBrowserInterop.x86.dll;./" --add-data "res;./res/"
In the code i am starting remi some thing like this
if __name__ == "__main__":
    start(NetworkTester, standalone=True,
          width=300, height=300, resizable=False, title='Network Tester')

However when i open the program in windows 7 its just keep refreshing and its just unusable. I cannot type or click button it just keep flicking / refreshing? Any suggestions?

Try using it with standalone=False. Let me know if the problem disappear .

Hi yes - when i open in the IE 11 it has the same problem.
It's giving me InvalidStateError. On Line: 123, Column : 25
Which is javascript code:
if(pendingSendMessages.length<1000){
ws.send(message);
}
which is under the function called sendCallbackParam

@FaizRasool try the same with a most modern browser (Firefox or Chrome) .
Your browser seems to not support (or not completely) websockets.

Also for some reason i am unable to start pywebview in cef so i have to do this to support older os
# start for windows
def start_browser_legacy_windows():
    start(NetworkTester, title='Network Tester', port=8023, start_browser=False, update_interval=999)

def start_legacy_windows():
    from threading import Thread, Lock
    import sys
    from cefpython3 import cefpython as cef  # import the cef python
    server_lock = Lock()
    browser_thread = Thread(target=start_browser_legacy_windows)
    browser_thread.daemon = True
    browser_thread.start()
    sys.excepthook = cef.ExceptHook  # To shutdown all CEF processes on error
    cef.Initialize()
    windowInfo = cef.WindowInfo()
    windowInfo.SetAsChild(0, [0, 0, 300, 300])
    pb = cef.CreateBrowserSync(windowInfo=windowInfo, browserSettings={}, navigateUrl='http://<IP_ADDRESS>:8023',
                               window_title='Network Tester')
    cef.MessageLoop()
    cef.Shutdown()

# starts the web server
if __name__ == "__main__":
    if "Windows-7" in system_info.get():
        start_legacy_windows()
    else:
        start(NetworkTester, standalone=True,
              width=300, height=300, resizable=False, title='Network Tester')

pywebview is based on different libraries. You might update Qt libraries and pywin32 .
Does it works with standalone=False and Chrome?


Get prescribing metadata from new source

Coverage remained the same at 71.031% when pulling a2d2dc155cb66cd3a2c64d82b4cbf92739fef46f on get-prescribing-metadata-from-new-source into c524a90b00989605d9e13fc0397556f615233abb on master.


fix: add retry logic for readrows v1beta2

Codecov Report

Merging #5 into master will decrease coverage by 5.63%.
The diff coverage is 81.45%.

@@             Coverage Diff              @@
##             master       #5      +/-   ##
============================================
- Coverage     74.87%   69.23%   -5.64%
- Complexity      411      413       +2
============================================
  Files            48       51       +3
  Lines          2754     2165     -589
  Branches        126      118       -8
============================================
- Hits           2062     1499     -563
+ Misses          622      583      -39
- Partials         70       83      +13

Impacted Files
Coverage Δ
Complexity Δ

...v1beta2/stub/readrows/ApiResultRetryAlgorithm.java
75.00% <75.00%> (ø)
9.00 <9.00> (?)

...v1beta2/stub/readrows/ReadRowsAttemptCallable.java
78.09% <78.09%> (ø)
16.00 <16.00> (?)

...storage/v1beta2/stub/EnhancedBigQueryReadStub.java
77.14% <93.33%> (-5.79%)
6.00 <2.00> (-1.00)

...1beta2/stub/readrows/ReadRowsRetryingCallable.java
94.73% <94.73%> (ø)
2.00 <2.00> (?)

...rage/v1beta1/stub/EnhancedBigQueryStorageStub.java
74.07% <0.00%> (-12.21%)
8.00% <0.00%> (-1.00%)

...uery/storage/v1/stub/EnhancedBigQueryReadStub.java
77.14% <0.00%> (-10.92%)
6.00% <0.00%> (-2.00%)

...uery/storage/v1/stub/BigQueryReadStubSettings.java
75.36% <0.00%> (-9.32%)
12.00% <0.00%> (ø%)

...storage/v1beta2/stub/BigQueryReadStubSettings.java
75.36% <0.00%> (-9.32%)
12.00% <0.00%> (ø%)

...rage/v1beta1/stub/BigQueryStorageStubSettings.java
76.54% <0.00%> (-8.18%)
14.00% <0.00%> (ø%)

... and 34 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 00ddddd...7cbd7bd. Read the comment docs.


Minor updates

@devianl2 Please release latest update as current version throw stream crash.
error: Call to undefined method League\\Flysystem\\Filesystem::putStream()
Thanks in advance!


verify:  Update documentation to indicate that --certificate-fingerprint only applies to a primary signature

verify command's --certificate-fingerprint option only applies to a primary signature, not a primary signature timestamp, repository countersignature, or repository countersignature timestamp.  See [the code](https://github.com/NuGet/NuGet.Client/blob/7ad6fcc9c56c960975c37b2416c7eae1d53ba3fd/src/NuGet.Core/NuGet.Commands/VerifyCommand/VerifyCommandRunner.cs#L55-L61.
Docs for both NuGet.exe and dotnet nuget should be explicit about this.

So dotnet nuget verify .\microsoft.analysisservices.netcore.retail.amd<IP_ADDRESS>.nupkg --certificate-fingerprint 1F4B311D9ACC115C8DC8018B5A49E00FCE6DA8E2855F9F014CA6F34570BC482D -v d will fail, but dotnet nuget verify .\microsoft.analysisservices.netcore.retail.amd<IP_ADDRESS>.nupkg --certificate-fingerprint 566A31882BE208BE4422F7CFD66ED09F5D4524A5994F50CCC8B05EC0528C1353 -v d will succeed, because MS packages are signed with author and repository certificates and former one is primary signature for author signed package, not the repository signature.


EthStorage Devs Meeting #49 Agenda

Meeting Info

Sep 19, 2023, 10:00 UTC+8
Duration: 60 minutes
Meeting link
Anyone can comment on the agenda where they would like this to be discussed.

Agenda

Protocol/App/Research progress
@syntrust will share his summary of attending the hackathon hosted by SevenX

Gave a presentation on EthStorage and Web3URL at World Supercomputer Community Day in Singapore
Portal network investigation
Grant preparation for BLOB tx support in ethers.js

Done:

Storage contract update
Mining part # 3.8

Being reviewed:

https://github.com/ethstorage/go-ethstorage/pull/61
https://github.com/ethstorage/go-ethstorage/pull/51

In progress

EthStorage node integration test - miner debug
EthStorage node Docker

Others

Nitro Demo Day as judge

output op-geth preimages as witness https://github.com/ethereum-optimism/optimism/commit/b86e6165535c8cd385e84c33e8e0eee38cc57cac and feed it to zkWasm as private inputs https://github.com/DelphinusLab/zkWasm/commit/d008a1f3331a801e35e7ac7f73a474b3e3811ff0 -- Done
Halo2 learning & engineering code

Created a tool for sending blobs, SendEIP4844Tx, and submitted it to npm. At the same time, the encode and decode of blob are integrated.
https://www.npmjs.com/package/send-4844-tx
https://github.com/ethstorage/send-eip4844-tx

EthStorage -- sync

implementation: done
unit test (done)
Smoke Test and fix issues (fix issue 72, and investigate issue 95)
Performance test (running test)

https://galileo.web3q.io/ maintain

write a new grant for EthStorage L2 implementation following EF's response.
learn halo2

Fraud Proof

TInygo debug --- issues in compiler(parser) and interpreter
Go - WASM compilation process
zkWASM ---- try to add a hostio, still debugging

Recording: https://drive.google.com/file/d/1kMGISlUmeVNz1R9EqU8BT7TmbZ8pIGyz/view?usp=drive_link


Bump codecov action to 1.4.1

Version 1.4.0 is broken and cannot be used anymore, since it breaks the build due to a checksum mismatch error.
https://github.com/codecov/codecov-action/issues/289

bors r+


Avoid translating some words

Q
A

Bug report?
[ ]

Feature request?
[ ]

Support request?
[x ]

Hello,
I asked on stackoverflow but I'd like not to translate certain brand for eg : "North Dice"
So I found that I should o this :
Syntax:
<mstrans:dictionary translation=”translation of phrase”>phrase</mstrans:dictionary>
Example: en-de:
Source input: The word <mstrans:dictionary translation="wordomatic">word or phrase</mstrans:dictionary> is a dictionary entry.

But where ? I tried to put some files in their translation sysmtem without success
Is there a Json file in cocorico where to add this? I try to find it ...
Also Azure is in V3 now. V2 is deprecated.
Thank you

I found this in order to do it :
https://cognitive.uservoice.com/knowledgebase/articles/1166938-hub-building-a-custom-system-using-a-dictionary-o
it take several days to deploy so I'll let you know if it doesn't work

Hi,
The MS Azure translation functionality in Cocorico is implemented here : \Cocorico\CoreBundle\Model\Manager\TranslateManager::getTranslation
If MS azure allow to not translate some words you should look there.


[MM-28727] UX changes for Cloud onboarding flow

Summary
This PR contains a bunch of flow changes for cloud onboarding flow. Highlight of what's changed:
If a user has the ‘Getting Started’ item visible in the LHS and they click the 'x' icon in it, the modal shows letting the user know they can get back to “Getting Started” through the Main Menu

“Getting Started” is removed from the LHS if they confirm to remove it in the modal

Main Menu should remain “Getting Started”

If a user has the 'Getting Started' section active and clicks “Skip Getting Started”, this transitions to become “Tips & Next Steps” and there is now no way back to the Getting Started Steps since the user has explicitly chosen to skip it

LHS Menu Item changes to “Tips & Next Steps”

Main Menu changes from “Getting Started” to “Tips & Next Steps”

If a user has “Tips & Next Steps” item in the LHS and they click the 'x' icon on it, the modal shows letting the user know then can get back to “Tips & Next Steps” through the Main Menu

“Tips & Next Steps” is removed from the LHS if they confirm to remove it in the modal

Main Menu shows “Tips & Next Steps”

Various conditional changes are included in this PR to allow the concept of showing next steps, or next step tips depending on state.
Ticket Link
https://mattermost.atlassian.net/browse/MM-28727
Related Pull Requests
n/a
Screenshots
n/a

/cherry-pick cloud-beta

Cherry pick is scheduled.

Error trying doing the automated Cherry picking. Please do this manually
+++ Updating remotes...
Fetching upstream
Failed to add the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts (/app/.ssh/known_hosts).
From github.com:mattermost/mattermost-webapp
 + 1b22119d2...d598cac28 MM-22161     -> upstream/MM-22161  (forced update)
   41b5aeff2..901b6c1cc  MM-27556-system-roles-ui -> upstream/MM-27556-system-roles-ui
   c6157a08f..45413152f  MM-28262     -> upstream/MM-28262
   3c8b13fae..b66593b5f  MM-28290     -> upstream/MM-28290
 * [new branch]          MM-28361     -> upstream/MM-28361
 * [new branch]          MM-28806     -> upstream/MM-28806
   d2af6d68d..499233092  master       -> upstream/master
   ecc095e9d..51fed9c37  release-5.28 -> upstream/release-5.28
Fetching origin
Failed to add the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts (/app/.ssh/known_hosts).
+++ Updating remotes done...
+++ Creating local branch automated-cherry-pick-of-mattermost-webapp-#6497-upstream-cloud-beta-1600717981
Switched to a new branch 'automated-cherry-pick-of-mattermost-webapp-#6497-upstream-cloud-beta-1600717981'
Branch 'automated-cherry-pick-of-mattermost-webapp-#6497-upstream-cloud-beta-1600717981' set up to track remote branch 'cloud-beta' from 'upstream'.

+++ About to attempt cherry pick of PR #6497 with merge commit<PHONE_NUMBER>e32659c1988ff4c61183f6b4b86d47.

error: could not apply 499233092... [MM-28727] UX changes for Cloud onboarding flow (#6497)
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'

+++ Conflicts detected:

UU components/next_steps_view/next_steps_view.tsx
Aborting.

+++ Aborting in-progress git cherry-pick.

+++ Returning you to the master branch and cleaning up.


OpenXRay is feature complete for S.T.A.L.K.E.R.: Call of Pripyat

Hi there!
Is it possible to mark the OpenXRay engine as feature complete for Call of Pripyat? (it always was, we don't need to update the package to a new engine version)
Clear Sky support implementation is not finished, though, so for this game it's not feature complete.

@Xottab-DUTY Thanks for the issue and sure, I can do that! I'll update the issue once that's completed.

@Xottab-DUTY The change should be live now. You may need to clear cache to see it.

@d10sfan thanks :)

It seems that OpenXRay is down? https://old.reddit.com/r/stalker/comments/191za99/gsc_has_issued_dmca_takedowns_for_all/

Looks like it may be a false claim https://www.reddit.com/r/stalker/comments/192271z/gsc_twitter_confirms_open_xray_dmca_was_false/?utm_source=reddit&utm_medium=usertext&utm_name=stalker&utm_content=t1_kgzhqf3


Add missing weeks properties to momentInput interface #6044

As explained in #6044 the MomentInput interface was missing the properties for weeks.

thanks mate!


Consider thread_local isl::ctx object

Essentially, isl::ctx is used as a "global" state for thread-safety reasons.  We may want to declare one thread_local isl::ctx and use it implicitly in all functions that require a context.

How much clutter is remaining inside the isl_ctx one all object have been freed? If that does not create any memory leak that seems fine. Note that this means that an isl object from a thread cannot be transferred to an other thread.

We could add a method to isl::ctx called:
static isl::ctx getThreadDefaultCtx()
which is a singleton and then expand the code generator to generate two versions of each constructor. One with an isl_ctx argument and one which uses this method to get an isl::ctx.
We probably need one or two more methods alla freeThreadDefaultCtx and setThreadDefaultCtx
Tobias

Being able to free the thread-default ctx looks like an overly easy way
to shoot yourself in the leg.  Maybe it's better to be able to swap it
with a different, non-null context.
AFAIK, you cannot use the context (or objects referring to it) in
multiple threads simultaneously.  If you move a context into a different
thread, objects that reference it should no longer be used in the
previous thread.  How we handle object movement between threads seems to
be the key design consideration here.
On 06/08/17 13:06, Tobias Grosser wrote:

We could add a method to isl::ctx called:
static isl::ctx getThreadDefaultCtx()
which is a singleton and then expand the code generator to generate
two versions of each constructor. One with an isl_ctx argument and one
which uses this method to get an isl::ctx.
We probably need one or two more methods alla freeThreadDefaultCtx and
setThreadDefaultCtx
Tobias
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PollyLabs/isl/issues/14#issuecomment-320500096,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABcTawpYa94VA4j1MuxZv9NS2JpKfMt2ks5sVZ4igaJpZM4OuQR5.

Indeed, maybe freeing the default context is not a good idea. We could e.g. assume there is always a single default context. Resetting (freeing and creating a new one) makes sense however, to check for memory leaks, e.g.. I just thought about it a little and wanted to share my thoughts as code. Feel free to advance them (or do something entirely different).

The only safe way I see to transfer object between threads is to have a temporary context in which the source thread transfer the object. Transfer the temporary context. Then the destination thread transfer the object to it's context.
Quite cumbersome.

If getThreadDefaultCtx reallocate a context if it has been freed, that should be fine, no? Swapping contexts is fine to me too.
Do we add a: isFromThreadDefaultCtx method to all objects too?

Swapping context would also be fine for me.
I would not add an extra method to each object. However, we can expose the get_ctx() methods and add a function isThreadDefaultCtx() to isl::ctx, I assume.
I am not sure we actually want to solve the inter thread transfer issue in this discussion. :(

The inter-thread management comes into play as soon as we say the default context is thread_local.  We can just make it globally shared, wrapped in a singleton and say it is not thread-safe.
Well, there is no way to move an object into a different context in the C API... The ugly way I would do it is to serialize the object to a string, pass a string between threads and reconstruct the object in the other side's context.  The ugliness can be compensated by the fact that this would also work in a distributed environment.
Using a special context that could be passed between threads is not always an option since the objects allocated within one context cannot be used in a function with objects from a different context (maybe add an assert in C++ interface for this?).
For the same reason, implicitly reallocating the default context seems dangerous.  You may end up mixing previously allocated objects with news ones from new context in function calls, which is forbidden.

There was discussions with Sven about the fact that C string serialization does not always produce valid output that can be parsed back (if you name any id: "lb" or "min" or "exists"). Also, it loses any "user" data and associated destructor.
As for using objects from different contexts, this will be a problem indeed, and we could either check that does not happen (with an assert or an actual test), or have automatic context transfer (but I think that is not possible even if we had a way to transfer objects between contexts).
That being said, I don't think there is a risk with implicitly reallocating the default context (when it is non existent anymore) as there cannot be any remaining objects from any previously freed context still alive.

On 09/08/17 14:48, Alexandre Isoard wrote:

There was discussions with Sven about the fact that C string
serialization does not always produce valid output that can be parsed
back (if you name any id: "lb" or "min" or "exists").

This probably means isl needs a full parser instead of what it uses now.

Also, it loses any "user" data and associated destructor.

That's a good point.

As for using objects from different contexts, this will be a problem
indeed, and we could either check that does not happen (with an assert
or an actual test), or have automatic context transfer (but I think
that is not possible even if we had a way to transfer objects between
contexts).
That being said, I don't think there is a risk with implicitly
reallocating the default context (when it is non existent anymore) as
there cannot be any remaining objects from any previously freed
context still alive.

There are not supposed to be any live objects referring to that
context.  But we cannot clean them up magically, and that's the
potential danger.
auto s = isl::set("{:}");  // allocate using current default context
isl::move_default_context_to_other_thread();   // reallocates the
default context;
s.toString();   // context is not in this thread anymore, but s is!
auto s2 = isl::set("{:}");    // allocate using the newly re-allocated
default context
s2 = s2.unite(s);    // using different contexts!    even worse if the
other thread decided to free ctx, we can get an tricky error due to
undefined behavior.

So the library user should know when the default context was
reallocated, which kind of contradicts the idea of default context
making life easier.  IMHO, if they want movable objects, they should
just explicitly create a movable context.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PollyLabs/isl/issues/14#issuecomment-321245207,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABcTawioBjUAIdwDsoNFSAvFjG80FWBvks5sWaqcgaJpZM4OuQR5.

This probably means isl needs a full parser instead of what it uses now.

I am not sure that would help (but would probably clean-up the parser). This is the printing stage which is faulty, it should en-quote "conflicting" identifiers.

So the library user should know when the default context was
reallocated, which kind of contradicts the idea of default context
making life easier.  IMHO, if they want movable objects, they should
just explicitly create a movable context.

So, would you prefer the default context to be non-movable (but still reset-able)?


Option to add parameters to Gw2 exe call

Actually you can add parameters to the GW2 exe via shortcut. But using the "Launch at close" option, you cannot configure the parameters to call the .exe of the game.
The solution should be add a checkbox with the avaliable parameters or just a zone where user can type it.
I'm actually using these:
"-clientport 6112 -autologin -maploadinfo"
Thanks in advance!!

That would be nice to have.
But right now there is a workaround:
Win+R -> %APPDATA%\Guild Wars 2 -> create file Settings.json with content:
{
     "arguments": [ "-clientport 6112", "-autologin", "-mapLoadinfo" ]
}

More info at https://wiki.guildwars2.com/wiki/Command_line_arguments


its not working, i make a prompt and there is code there but its showing nothing on the preview window hopeless site

Describe the bug
its not working, i make a prompt and there is code there but its showing nothing on the preview window hopeless site
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-xljwkf
Steps to reproduce
its not working, i make a prompt and there is code there but its showing nothing on the preview window hopeless site
Expected behavior
its not working, i make a prompt and there is code there but its showing nothing on the preview window hopeless site
Screen Recording / Screenshot
its not working, i make a prompt and there is code there but its showing nothing on the preview window hopeless site
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 74831277,
  "usedJSHeapSize": 53031773,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = rookie7312
Chat ID = 8cdf847d9195
```its not working, i make a prompt and there is code there but its showing nothing on the preview window hopeless site

### Additional context

its not working, i make a prompt and there is code there but its showing nothing on the preview window hopeless site

Appreciate the feedback! We are aware of this issue and are tracking it here: #1791. You can also try typing “npm run dev” in the Bolt console to see if that resolves the issue. We appreciate your patience as improvements continue to be made!


Add a debugging tip to README

For folks new to the C world this tip can be helpful.

there is also -Og that optimizes a little bit, but in a way that is supposed to work well with debugging (-g and -Ox are not mutually exclusive options)
if we are going to add such a section, CUDA_LAUNCH_BLOCKING might also be something to tell people about.

Also, I've had to disable Cuda debugging at times to get things to work. You will get the "too many resources" error. Be a helpful tip to add.

Very happy to add these tips! Will merge this one for now but happy to add anything else related too.


Changed rulesLayout to a RCV with cardViews

Description
Changed rules layout, adding recycler view with each separat item added when two line breaks \n are encounterd. I used cardView for item views whose background color, shadows, elevation, padding, etc can be changed according to need.

no it looks great.
Moreover, the just the following minor changes. and then it would be ready to be merged.

in item_rules.xml file we can directly have cardView as the parent and not ConstraintLayout. take reference from event_card.xml file and make sure it gives some shadow behind.
use this attribute app:cardBackgroundColor="@color/white" in cardView and  android:textColor="@color/black"  in TextView  in the item_rules.xml file to make it compatible with light and dark mode.

I changed the files, but i don't know what happened with google-services.json, although its present on my local machine, it shows that there is a build failure, because of absence of this file. Moreover i think that these changes could be made even after merging, as these are minor changes.

I am merging your pull request.
@kartik-pant-23 don't worry about that.
Actually i have started integrating github actions today. and it is searching for the file on main branch in remote origin and it is not present there. will update it soon.
and thanks for Contributing


fix: handle nested objects when skipping unused fields

Hopefully this is a fairly straightforward bug fix.
There is a small bug in the flattener when skipping the remaining fields of an event after all nodes/fields in supplied patterns have been evaluated. In the case where one of the additional fields is an object (or an object inside an array), the flattener will exit early at the first } it encounters.
If there are additional fields to match, the flattener will attempt to continue processing the event. However, the event index will be incorrectly pointed at the end of the next object it encounters, rather than the end of the object currently being processed.
Take the following event and paths, for example:
{ "nested": { "value": "something", "bad": {} } }

[ "nested\nvalue", "anotherField" ]

When the flattener finishes processing nested.value, it will determine that there aren't any more fields to process inside of nested and will skip to the end. However, the flattener currently looks for the first } it encounters, which, in this case, is the closing } of the sub-object bad. It will then return the error: garbage char '}' after top-level object
This updates the flattener to instead look for the closing } of the current object, handling arrays and objects within the current object.

Codecov Report
Patch coverage: 70.00% and project coverage change: -0.13 :warning:

Comparison is base (8de3b25) 96.31% compared to head (a314f23) 96.19%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #214      +/-   ##
==========================================
- Coverage   96.31%   96.19%   -0.13%
==========================================
  Files          17       17
  Lines        2119     2126       +7
==========================================
+ Hits         2041     2045       +4
- Misses         52       54       +2
- Partials       26       27       +1

Impacted Files
Coverage Δ

flatten_json.go
95.03% <70.00%> (-0.42%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Hey @yosiat looks good to me at initial glance, but I'd be happier if you had a look at it too, this is your territory.


RHO-LOSS step 1: fetch rho pipeline id

Close this relative PR because https://github.com/eth-easl/modyn/pull/454 is merged


OP-1807: adding CARGO_FLAGS to cargo-test

Sets CARGO_FLAGS=--release for the cargo-test step.
https://casperlabs.atlassian.net/browse/OP-1807

bors r+


jax.numpy.linspace() does not faithfully recover endpoints

Example:
>>> import numpy as np
>>> import jax.numpy as jnp
>>> a, b = -2.3328583, 2.8459014
>>> np.linspace(a, b, 10)[-1] == b
True
>>> jnp.linspace(a, b, 10)[-1] == b
DeviceArray(False, dtype=bool)

Looks to be due to float32 roundoff error:
>>> b - a, float32(b) - float32(a)
(5.1787598, 5.1787596)

...and numpy side-steps this by doing all computation in 64-bit, even if input and output dtypes are 32-bit: https://github.com/numpy/numpy/blob/fc1f196584ff6dd530982febba2322679317c632/numpy/core/function_base.py#L120-L121

I think we could address this by factoring out operations to prevent loss of precision; e.g.
def linspace_bad(a, b, N):
  a, b = np.float32(a), np.float32(b)
  return a + (b - a) * np.arange(N, dtype=np.float32)

def linspace_good(a, b, N):
  a, b = np.float32(a), np.float32(b)
  step = np.arange(N, dtype=np.float32) / (N - 1)
  return a * (1 - step) + b * step

print(linspace_bad(-2.3328583, 2.8459015, 2))
print(linspace_good(-2.3328583, 2.8459015, 2))

[-2.3328583  2.8459013]
[-2.3328583  2.8459015]

Wow, amazing find!


Alexa Cookie request repeats continous

Hi,
i Fading an issue since a while...
if i use /home/pi/ as FilePath in the Config Node, i get an error:
"EISDIR: illegal operation on a directory, read"
If i let the Filepath blank, it works and i get asked to open the Authentication site. after logon i receive:
Amazon Alexa Cookie successfully retrieved. You can close the browser.
but the Initialize Node still shows up with "open ... in your browser"

I already checked permissions on /home/pi/ and it is 0777 for user/group pi...
Using NodeRed v2.2.2 on Raspberry PI with node-red-contrib-alexa-remote2-applestrudel v5.0.49
Any ideas?

Put a path to an empty file, not a directory. Then it'll work.
Something like this:

facepalm so sorry mate... Thank you. This fix the issue with the "EISDIR: illegal operation on a directory, read" error...
Unfortunatly i get this now:
"failed to load smarthome devices: "Timeout""
"failed to load smarthome devices: "Timeout""
"Initialisation was aborted!"
Source of all 3 is the config node. The Init Node says: "Init with Proxy" and the On Device Activity says "listening", but nothing happens.
i watching the whole Message Object of the Dev Activity Node with an Debug node and no commands from any Alexa device are sending
Thank you for you support


Change Databricks zone [skip ci]

Change Databricks zone to us-west-2c, as these are not sufficient g4dn.2xlarge capacity in the Zone us-west-2a.
If we set the zone_id to us-west-2a,  it reports below error during creating DB clusters, saying not g4dn.2xlarge resource available.
This should be DB service provider issue, guess it reduced or removed the 2xlarge instances in .us-west-2a
Don't know how to check how many GPU instances in every zone, but found only zone us-west-2c has sufficient 2xlarge instance.
We currently do not have sufficient g4dn.2xlarge capacity in the Availability Zone you requested (us-west-2a). Our system will be working on provisioning additional capacity. You can currently get g4dn.2xlarge capacity by not specifying an Availability Zone in your request or choosing us-west-2b, us-west-2c
Signed-off-by: Tim Liu<EMAIL_ADDRESS>

@tgravescs, we'd better add a parameter for the zone_id, to dynamically set it, then if the DB service provider reduces its GPU instances in one zone, we can change to run DB in another zone.

build

Not for this PR, but wondering if we can make the Jenkins job automatically probe for instances, i.e.: iterate through a list of zones trying to create the cluster until it either can launch a cluster or exhausts the list of zones to try.

Yes, this is solution to probe the available instances on the zone. We can consider applying this way.


Display "Metas Solved" list in user's current timezone

Currently, the graph on the stats page is displayed in the user's current timezone, but the Metas Solved list is given in ET, no matter where the user is. This is inconsistent and should be amended.
Fixing this using Django is doable but highly annoying.

I think the main difficulty here is just getting the timezone the person is in to begin with. Normally I think this would be a user setting (#203 ) so we might want to add that concept first before fixing this

I think the main difficulty here is just getting the timezone the person is in to begin with. Normally I think this would be a user setting (#203 ) so we might want to add that concept first before fixing this


Pyinstaller doesn't find the module.

As soon I create with "Pyinstaller/auto-py-to-exe" an ".exe" file from my script, it stops working.
The module is not found it says:
Traceback (most recent call last):
  File "tktooltip\version.py", line 6, in <module>
  File "importlib\metadata.py", line 531, in version
  File "importlib\metadata.py", line 504, in distribution
  File "importlib\metadata.py", line 177, in from_name
importlib.metadata.PackageNotFoundError: tkinter-tooltip

I checked it, the module is definitely there under "\Lib\site-packages".
I tried adding it as "--hidden-import", didn't help.
I tried adding additional "path", didn't help.

So how are you installing tkinter-tooltip and what version of python are you using?

Python 3.10.1 on Windows 10
The following way:
ToolTip(nameofthebutton, msg="My message comes here.", follow=True)
It works perfectly as long as I don't create an .exe file from it.
Then the exe crashes.
I see that when I create the exe file pyinstaller does not find the module even though it's there.

I meant are you installing it from source or with pip?
Basically, you are missing setuptools_scm see the pyproject.toml. These are the build dependencies of the tooltip.
If you are using pip you should have to worry about them and the tooltip should just work.

I'm using pip.
I have "setuptools_scm".

I had another look at the error message being thrown and I don't think it's related to tkinter-tooltip. If you can go into a Python interpreter and print the tktooltip.__version__ that means that there is something wrong with auto-py-to-exe.
tkinter-tooltip uses scm and scm_git for builds and source builds respectively.

I seem to be having somewhat related issues. I'm using Pycharm, CustomTkinter, along with tktooltip. I first get a message stating that setuptools_scm is missing, then packaging is missing, then errors out on unable to find version of my project.
tktooltip has been compiling inside the IDE without issue, without setuptools_scm and packaging.
I am a novice, so the usage of tktooltip is out of my depth if it doesn't work with just including the package path in pyinstaller with --add-data.
Is there any direction that you could possibly give me to get tktooltip to work with pyinstaller? All versions are the latest.

From the looks of it, this is external to this project. I have updated to the latest setuptools_scm in release 2.2.0 but other than that there is not much else I can do from my side.


DLIP-047 DEVCONNECT[IST] allowance for three core contributors [ 3000 USDC ]

Abstract:
Devconnect is a week-long gathering of independent Ethereum events to learn, share, and make progress together.
It is a good chance for our community to show and connect with other international Ethereum community.
I formally request a 3000 USDC allowance for the core contirbutors 0xstan, Paco and Yan, who have represented the community to attend this event.
The grant will be used to partly cover expenses of accommodation in Istanbul.

Agree


[FEATURE] Upgrade: Do not fail pre-drain or post-drain jobs

Is your feature request related to a problem? Please describe.

Failing pre-drain or post-drain jobs is not a good idea at this moment because:

Job pods' log might be deleted. It's hard to debug and provide support.
Cluster is in provisioning (provisioningv2), and it's hard for users to "resume" an upgrade.

Describe the solution you'd like

Do not fail the jobs by:

Either set a very big BackoffLimit (not recommended because logs might be missing).
Wrap the script with a wrapper.
Other methods.

Describe alternatives you've considered

Additional context

Question: when we have such a wrapper, i.e. do_upgrade_node.sh, is it still necessary/adequate to implement endless retry mechanisms inside the real upgrade scripts like bringing up the repo VM or downloading files using curl?

Verified fixed on master-5a18d059-head (11/08). Close this issue.
Result
When we set the first node to fail in post-drain according to the steps in https://github.com/harvester/harvester/pull/3102#issuecomment-1303769203
Then we check the post-drain job of the first node, it will continuously prompt the log of retrying in 10 minutes.
Which make the upgrade dashboard of node1 post-drain don't display Reach the backoff limit error message
Test Information

Test Environment: 4 nodes Harvester bare machines
Harvester version: master-5a18d059-head (11/08)

Verify Steps

Prepare a 4 nodes v1.0.3 Harvester cluster
Enable network on available NIC
Create two available VLANs
Upgrade from v1.0.3 to master-5a18d059-head
After the harvester upgraded in apply-manifest stage, the server-version is changed
Make the first post-drain failed by running

node-0:~ # touch /tmp/elemental
node-0:~ # mount --bind /tmp/elemental /usr/bin/elemental

Wait for upgrade proceed to first node in pre-drain and post-drain status
Check the post-drain job log
Check the upgrade dashboard status of the first node


[Event Request] Codeunit 5632 FA Jnl . -Post Line "OnFAJnlPostLinePostSalvageValue"

Can we please get the following event?
local procedure PostSalvageValue(FALedgEntry: Record "FA Ledger Entry")
    begin
        if (SalvageValue = 0) or (FAPostingType <> FAPostingType::"Acquisition Cost") then
            exit;
        with FALedgEntry do begin
            "Entry No." := 0;
            "Automatic Entry" := true;
            Amount := SalvageValue;
            "FA Posting Type" := "FA Posting Type"::"Salvage Value";
       ```
         // Event Request Begin
            OnFAJnlPostLinePostSalvageValue();
         // Event Request End

        FAInsertLedgEntry.InsertFA(FALedgEntry);
    end;
end;

[IntegrationEvent(false, false)]
local procedure OnFAJnlPostLinePostSalvageValue()
begin
end;

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


UUPS implementation contract not verifyable

when I try to verify on etherescan goerli, i get the following error
Failed to verify implementation contract at 0x28fC21D4dda286F3E7212Aa7Aa7e3e611ccDB434: The contract verification failed.
Reason: Fail - Unable to verify
Verifying proxy: 0xF98a52Bc70680247B7c1C7F53C75bA24F5cefd9C
Contract at 0xF98a52Bc70680247B7c1C7F53C75bA24F5cefd9C already verified.
Linking proxy 0xF98a52Bc70680247B7c1C7F53C75bA24F5cefd9C with implementation
Failed to link proxy 0xF98a52Bc70680247B7c1C7F53C75bA24F5cefd9C with its implementation. Reason: A corresponding implementation contract was unfortunately not detected for the proxy address.
Error: Verification completed with the following errors.

Error 1: Failed to verify implementation contract at 0x28fC21D4dda286F3E7212Aa7Aa7e3e611ccDB434: The contract verification failed.
Reason: Fail - Unable to verify

Error 2: Failed to link proxy 0xF98a52Bc70680247B7c1C7F53C75bA24F5cefd9C with its implementation. Reason: A corresponding implementation contract was unfortunately not detected for the proxy address.

I tried verifying both proxy and imp contract with something like this: npx hardhat verify --network goerli *imp/proxy address*
This ticket said to create a transaction, which I did! i sent erc20 tokens from one address to another and still I cannot verify (ref: https://github.com/OpenZeppelin/openzeppelin-upgrades/issues/533). Can someone assist?

my transaction: https://goerli.etherscan.io/tx/0x06477971a7d07f6dad2cfd378738eb92d2dd8de3af90887ec9b5534ba95f2f43

my dependencies
    "@nomicfoundation/hardhat-toolbox": "^2.0.0",
    "@nomiclabs/hardhat-etherscan": "^3.1.3",
    "@openzeppelin/contracts-upgradeable": "^4.8.0",
    "@openzeppelin/hardhat-upgrades": "^1.21.0",
    "dotenv": "^16.0.3",
    "hardhat": "^2.12.3"

here is my deploy file
import { ethers, upgrades, run } from "hardhat";
async function main() {
  const MyTokenV1 = await ethers.getContractFactory("MyTokenV1");
  const myToken = await upgrades.deployProxy(MyTokenV1, { kind: "uups" });

  const resp = await myToken.deployed();

}

main()

here is my code
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>
contract MyTokenV1 is Initializable, ERC20Upgradeable, UUPSUpgradeable, OwnableUpgradeable {
    function initialize() initializer public {
      __ERC20_init("MyToken", "MTK2");
      __Ownable_init();
      __UUPSUpgradeable_init();
      _mint(msg.sender, 1000 * 10 ** decimals());
    }

    function _authorizeUpgrade(address) internal override onlyOwner {}
}

Are you still getting the issue posted above?

Yes

Are you still getting the issue posted above?

do you think you can ask Solana for assistance?

do you think you can ask Solana for assistance?

What does Solana have to do with UUPS, solidity and etherscan?

Sorry, blocked the other user as suspected spam.

We are fairly confident that verification works. Are you sure you didn't modify the contract after you deployed it? That would be a reason why it may not verify.
If that was not the case, please provide a script to reproduce the issue that deploys a contract to Goerli and fails to verify it immediately after.


fix cli --stub

Fixes #796
Changes proposed in this pull request:

bugfix cli.py --stub functionality

:+1:


docs: example on Vision API (image to ad copy)

This pull request adds the .DS_Store file to the .gitignore file to prevent it from being tracked in the repository. It also includes an example on how to use the GPT-4 Vision API and the Chat API to automatically generate advertising copy from product images.

Summary by CodeRabbit
The existing bullet-point list is still valid.

Can you include the example output the same way I'd did in the vision post?

the images don't look like i see a desert and water, not the products

the images don't look like i see a desert and water, not the products

Oh yes, I didn't upload the actual image links because I thought there would be some sort of licensing restrictions.


Upgrade CA root cert to 10 years

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: wattli
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

security/OWNERS [wattli]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@wattli: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
84aa439f9adabce287ae4fd34a2d0d876f2d8323
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@wattli: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
84aa439f9adabce287ae4fd34a2d0d876f2d8323
link
/test istio-unit-tests

prow/e2e-mixer-no_auth.sh
84aa439f9adabce287ae4fd34a2d0d876f2d8323
link
/test e2e-mixer-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@linsun: changing LGTM is restricted to assignees, and assigning you to the PR failed.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: linsun, wattli
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

security/OWNERS [linsun,wattli]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@duderino ping for merging

/test e2e-mixer-no_auth
/test istio-unit-tests

@wattli: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth.sh
84aa439f9adabce287ae4fd34a2d0d876f2d8323
link
/test e2e-mixer-no_auth

prow/istio-unit-tests.sh
84aa439f9adabce287ae4fd34a2d0d876f2d8323
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@wattli: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
84aa439f9adabce287ae4fd34a2d0d876f2d8323
link
/test istio-unit-tests

prow/e2e-mixer-no_auth.sh
84aa439f9adabce287ae4fd34a2d0d876f2d8323
link
/test e2e-mixer-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

non of the above errors seem related @duderino anything we can do here?

Boskos resource was overloaded, that's why the prow test failed. I think it should be good now.
/test e2e-mixer-no_auth

@wattli: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
84aa439f9adabce287ae4fd34a2d0d876f2d8323
link
/test istio-unit-tests

prow/e2e-mixer-no_auth.sh
84aa439f9adabce287ae4fd34a2d0d876f2d8323
link
/test e2e-mixer-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

I'm merging this but will get all the required tests fixed on the 1.0 branch asap


Install torch with cuda 8 on ubuntu 16.04

I try to install torch on ubuntu 16.04 with cuda 8 and got fails with "./install.sh"
detail:
Found CUDA on your machine. Installing CUDA packages
Warning: unmatched variable LUALIB
cmake -E make_directory build && cd build && cmake .. -DLUALIB= -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/lucky/Workspace/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/lucky/Workspace/torch/install/lib/luarocks/rocks/cutorch/scm-1" && make -j$(getconf _NPROCESSORS_ONLN) install
-- Found Torch7 in /home/lucky/Workspace/torch/install
-- MAGMA not found. Compiling without MAGMA support
-- Autodetected CUDA architecture(s):
-- got cuda version 8.0
-- Found CUDA with FP16 support, compiling with torch.CudaHalfTensor
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lucky/Workspace/torch/extra/cutorch/build
[  2%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCReduceApplyUtils.cu.o
[  5%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCHalf.cu.o
[  7%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorage.cu.o
[ 10%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCBlas.cu.o
[ 12%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath.cu.o
[ 15%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorageCopy.cu.o
[ 17%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorCopy.cu.o
[ 20%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensor.cu.o
In file included from /usr/local/cuda-8.0/include/cuda_runtime.h:78:0,
from :0:
/usr/local/cuda-8.0/include/host_config.h:114:2: error: #error -- unsupported GNU version! gcc versions later than 5.3 are not supported!
#error -- unsupported GNU version! gcc versions later than 5.3 are not supported!
^
In file included from /usr/local/cuda-8.0/include/cuda_runtime.h:78:0,
from :0:
/usr/local/cuda-8.0/include/host_config.h:114:2: error: #error -- unsupported GNU version! gcc versions later than 5.3 are not supported!
#error -- unsupported GNU version! gcc versions later than 5.3 are not supported!
^
In file included from /usr/local/cuda-8.0/include/cuda_runtime.h:78:0,
from :0:
Does anyone have solutions ?

Please read the error message.

#error -- unsupported GNU version! gcc versions later than 5.3 are not supported!

I always edit out that line in /usr/local/cuda-8.0/include/host_config.h and replace
 #error -- unsupported GNU version! gcc versions later than 5.3 are not supported!
with
 #warning -- unsupported GNU version! gcc versions later than 5.3 are not supported!
It's a ugly hack but has always worked well for me. I have been using Fedora and kept my gcc version the latest always.

hi @codevui ,
were you finally able to install torch with cuda 8?

@atique81 Official cuda 8 has been released, and work with torch without extra jobs.


Kitematic Not working with this.... any ideas?

When you run kitematic you get this screen - and opening the weblink doesn't work

it just generates this page:

This may be a relevant issue - however it might be down to someone in the community who knows about Kitematic and Docker more that can make a relevant suggestion to help this project support Kitematic:
docker/kitematic#550

Since this isn't a bug report but rather a support request, please post your question to stackoverflow instead http://stackoverflow.com/questions/tagged/docker
This repo just supports CLI, though other methods should work just fine.


Force quit on missing ACL

If email isn't found in survey ACLs:
android.view.InflateException: Binary XML file line #39 in com.google.android.ground:layout/home_screen_frag: Binary XML file line #39 in com.google.android.ground:layout/home_screen_frag: Error inflating class androidx.fragment.app.FragmentContainerView
                 Caused by: android.view.InflateException: Binary XML file line #39 in com.google.android.ground:layout/home_screen_frag: Error inflating class androidx.fragment.app.FragmentContainerView
                 Caused by: java.lang.IllegalStateException: ACL not found for email  in survey Demo survey
                 	at com.google.android.ground.model.Survey.getRole(Survey.kt:40)
                 	at com.google.android.ground.repository.UserRepository.canUserSubmitData(UserRepository.kt:70)
                 	at com.google.android.ground.ui.home.mapcontainer.HomeScreenMapContainerFragment.onCreate(HomeScreenMapContainerFragment.kt:77)

The issue seems to be that the current user email is blank, which seems strange. Looking deeper now.

So we do fallback to empty email when converting from FirebaseUser to local model


recovery passwords in korean can't entered properly in recovery mode

the recovery function has three problems if the phone is configured to use Korean language.

the words in resource file (breadwallet\Resources\BIP39Words\ko.lproj\BIP39Words.plist) are not correct in grammatically. For example the word at line 114 is "ㄱㅖㅎㅚㄱ" (means plan in english), but we do not spell it such a way. we write the word as "계획".

let assume that the app choose to use "ㄱㅖㅎㅚㄱ" as one of twenty recovery words, surprisingly it display the words correctly as   "계획". but the word "계획" is not listed any of source files. Any way it is a matter of display it may be not a big problem.

after that, in recovery mode, I can't enter the recovery word "ㄱㅖㅎㅚㄱ". the app can't read it as "ㄱㅖㅎㅚㄱ" nor "계획". it just read as "ㄱㅖㅎㅗㅣㄱ" and the recovery failed.

there're many such case exists, below is some examples, each line consists of three information.
word in source file, at line number in .plist file, correct spelling
"ㄱㅖㅎㅚㄱ", 1114, "계획"
"ㄱㅚㄹㅗㅇㅜㅁ", 174, "괴로움"
"ㄱㅚㅇㅈㅏㅇㅎㅣ, 175, "굉장히"
"ㄱㅛㄱㅘㅅㅓ", 176, "교과서"
"ㄱㅛㅎㅘㄴ", 185, "교환"

Same for Japanese kana. It’s possiblw to fill the fields out by copy pasting each word, but the app complains some of the fields are wrong.


How to encrypt basic_auth password/password_file in prometheus.yml file?

Proposal
When scratching jenkins http api metrics using basic auth, prometheus is working fine when filling in plain password text  using password/password_file, but it is not secure to use plain password text in a config file, so are there any good ways to encrypt passwd text in config file?
Bug Report
Environment

System information:
CentOS 7.4 Linux 3.10.0-693.2.2.el7.x86_64 x86_64

Prometheus version:
prometheus, version 2.11.1 (branch: HEAD, revision: e5b22494857deca4b806f74f6e3a6ee30c251763)
build user:       root@d94406f2bb6f
build date:       20190710-13:51:17
go version:       go1.12.7

``
insert configuration here (if relevant to the issue)
  - job_name: 'jenkins'
    metrics_path: /prometheus
    scheme: https
    basic_auth:
      username: "xxxx"
      password_file: "/var/lib/passwd"
    static_configs:
    - targets: ['xxxxxx']

It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.


MobileView Ignored

On a view, when setting MobileView="TRUE" MobileDefaultView="True", both are ignored when creating a new library.

Hi,
Thanks for your feedback. However, this issue is more engine related, rather than schema related. Thus, I will close this item and I will refer it with a new issue in the PnP-Sites-Core repository.


alpaca: 1.1.1 -> 2.0.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for alpaca is: Ollama client made with GTK4 and Adwaita
meta.homepage for alpaca is: https://jeffser.com/alpaca
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.0.2 with grep in /nix/store/gqrsn8v42fjzlx1g206lsywlawrkm3dd-alpaca-2.0.2
found 2.0.2 in filename of file in /nix/store/gqrsn8v42fjzlx1g206lsywlawrkm3dd-alpaca-2.0.2

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

alpaca

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/gqrsn8v42fjzlx1g206lsywlawrkm3dd-alpaca-2.0.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A alpaca https://github.com/r-ryantm/nixpkgs/archive/d6e14935fc81ee7b858320930cbae3496ecd5679.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/d6e14935fc81ee7b858320930cbae3496ecd5679#alpaca

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/gqrsn8v42fjzlx1g206lsywlawrkm3dd-alpaca-2.0.2
ls -la /nix/store/gqrsn8v42fjzlx1g206lsywlawrkm3dd-alpaca-2.0.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

alpaca

Maintainer pings
cc @Aleksanaa for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Traceback (most recent call last):
  File "/nix/store/gqrsn8v42fjzlx1g206lsywlawrkm3dd-alpaca-2.0.2/share/Alpaca/alpaca/dialogs.py", line 328, in <lambda>
    file_dialog.open(self, None, lambda file_dialog, result: attach_file_response(self, file_dialog, result))
                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/gqrsn8v42fjzlx1g206lsywlawrkm3dd-alpaca-2.0.2/share/Alpaca/alpaca/dialogs.py", line 321, in attach_file_response
    if file_type == 'image' and not self.verify_if_image_can_be_used():
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'AlpacaWindow' object has no attribute 'verify_if_image_can_be_used'

When trying to upload a file. This version should be skipped.

Seems https://github.com/Jeffser/Alpaca/issues/300


Add FRP

FRP will be used to proxy some non-net connected services from within Doofnet out and available on dimension.sh. This change installs frps and a basic authenticated configuration.

No longer required


imp: make Arg::validator more flexible

Makes the validator functions more flexible by changing the return type from Result<(), String> to Result<O, E> where O is anything and E is anything convertible to a String.
This allows, for example, using the same function for validating and parsing your argument.
Breaking change (albeit tiny) due to function signature change.

This change is

I like it and yeah we could roll the OsString->String change into this. I do however want to wait for 3.x to merge this.  Going to redo the 3x branch here soon based on some design choices I've recently learned. Once I do that we can just merge this onto that brach.

Cool. Excited for new stuff!


VirusTotal detects Trojan

False positive?

False positive. AutoHotKey is pretty mighty and usually triggers stuff.
If you want to be sure, you can run the script or compile it yourself :)

From: Famienn @.***>
Sent: Wednesday, 14 August 2024 20:40
To: Robert-K/company-of-wasd
Cc: Subscribed
Subject: [Robert-K/company-of-wasd] VirusTotal detects Trojan (Issue #2)
False positive?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


remove /status from url since that tab no longer exists

related issue: https://github.com/open-cluster-management/backlog/issues/16581
Signed-off-by<EMAIL_ADDRESS><EMAIL_ADDRESS>

/retest

/lgtm

/unhold


On the Grid usage

Good day ,
Is it possible to view the Grid usage compared to the current solar Usage?

No, my system doesn't support any load numbers, just solar production.
Also I stopped using this as of1/1/2023 and now use the Home Assistant SunnyBoy support as it supports multiple inverters and allows me to integrate my load data.  I recommend you check it out.

Thanks does it support sma inverters?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Rick @.>
Sent: Monday, April 3, 2023 5:30:15 PM
To: sillygoose/multisma2 @.>
Cc: tunavis @.>; Author @.>
Subject: Re: [sillygoose/multisma2] On the Grid usage (Issue #2)
No, my system doesn't support any load numbers, just solar production.
Also I stopped using this as of1/1/2023 and now use the Home Assistant SunnyBoy support as it supports multiple inverters and allows me to integrate my load data. I recommend you check it out.
—
Reply to this email directly, view it on GitHubhttps://github.com/sillygoose/multisma2/issues/2#issuecomment-1494539740, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB5PBKHLRKI6QBQGFIMTD6TW7LUIPANCNFSM6AAAAAAWQ7LSE4.
You are receiving this because you authored the thread.Message ID: @.***>

Yes


Include "branch-by-abstraction" #171

Here's a short writeup of the branch by abstraction pattern and some minor, unrelated fixes.

thanx Johannes for contributing, I really appreciate the time you invested!


Pydantic type hints for parse_obj_as don't pass mypy strict validation

Initial Checks

[X] I have searched GitHub for a duplicate issue and I'm sure this is something new
[X] I have searched Google & StackOverflow for a solution and couldn't find anything
[X] I have read and followed the docs and still think this is a bug
[X] I am confident that the issue is with pydantic (not my code, or another library in the ecosystem like FastAPI or mypy)

Description
Our team is using pydantic extensively and I'm working on enabling mypy strict validations.
We have code that calls the parse_obj_as generic function, however due to how its type hinted mypy infers it returns Any instead of the type T it is given. If I make mypy "skip" pydantic then it treats the return type as Any and not T as desired.
For your information, I've opened this originally as issue on the mypy team, they insist it should be solved on pydantic's end and they reject the idea of implementing a feature that allows mypy to trust an imported package's type hints as is.
To re-produce the issue, run mypy on below code with the following settings:

Mypy version used: 0.971
Mypy command-line flags: N/A
Mypy configuration options from pyproject.toml:

[tool.mypy]
follow_imports = "normal"
ignore_errors = false
implicit_reexport = false
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
disallow_untyped_defs = true
check_untyped_defs = true
allow_redefinition = false
local_partial_types = true
strict_optional = true
strict_equality = true
warn_unused_configs = true
warn_unreachable = true
warn_no_return = true
no_implicit_optional = true
strict = true

Python version used: 3.10.4
Operating system and version: Windows 11

Example Code
from pydantic import AnyHttpUrl, parse_obj_as

def get_url() -> AnyHttpUrl:
    return parse_obj_as(AnyHttpUrl, "https://contoso.com")

Python, Pydantic & OS Version
pydantic version: 1.10.2
pydantic compiled: True
install path: <installed in my project's venv, path omitted for privacy>
python version: 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)]
platform: Windows-10-10.0.22000-SP0
optional deps. installed: ['email-validator', 'typing-extensions']

Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .dict() and .json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - construct(), pickling, private attributes, ORM mode
[X] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

Ye, in v2 we could probably return T.

This should be fixed in v2 since we no longer have a @no_type_check on anything in v2 that is related to types (and AnyUrl has changed a bit more significantly, so shouldn't have this issue).


[docs] global style overrides: rule name, global class or a mixture of both?

Duplicates

[X] I have searched the existing issues

Related page
https://mui.com/material-ui/customization/theme-components/#global-style-overrides
Kind of issue
Unclear explanations
Issue description
While trying to change the colors for active/completed StepIcon elements inside a stepper, I interpreted the documentation as suggesting you could use the global style overrides in your theme by referring to the API name of the object and the rule name.
However, after failing to obtain any results and after perusing past issues on GitHub, I managed to get it working with a mixture of both elements, i.e. referring to "root" and then to the global class name inside.
Here's the working code:
  components: {
    // Name of the component
    MuiStepIcon: {
      styleOverrides: {
        root: {
          "&.Mui-active": {
            color: "#ffccee"
          },
          "&.Mui-completed": {
            color: "#D97EA8"
          }
        },
        text: {
          fill: "black"
        }
      }
    }
  }

By reading the documentation, though, I don't get why it is required to refer to the global classes and not just:
active: {
  color: "#ffccee"
},
completed: {
  color: "#D97EA8"
},

Can anybody shed some light?
Thanks
Context 🔦
Clarify whether both rule and class name are required in a custom theme.

It is recommended to increase CSS specificity when you customize the styles related to state, so that those styles are not replaced by other initial styles.
This is common in CSS:
.component {
  …
}
.component.Mui-active {
  font-weight: bold;
}

// this will not override the `active` styles.
.component {
  font-weight: normal
}

However, it is not mandatory if you are more comfortable with not using the global state classes. At the end, it is the developer's preference.


ReferenceError: WebSocket is not defined

I've tried running the "Client usage with Apollo" example from the README.md under Node.
Expected Behaviour

it works...

Actual Behaviour
ReferenceError: WebSocket is not defined
    at connect (.../node_modules/graphql-transport-ws/lib/client.js:126:24)
    at .../node_modules/graphql-transport-ws/lib/client.js:220:67
    at Object.createClient (.../node_modules/graphql-transport-ws/lib/client.js:244:11)
    ...

Further Information
subscriptions-transport-ws offers an optional webSocketImpl param on the client constructor (https://github.com/apollographql/subscriptions-transport-ws#constructorurl-options-websocketimpl) - any plans to do something similar?

Hey @sparcs360, thanks reporting this issue!
Seems like you're trying to use a client in a non-browser environment or the browser is very outdated (doesn't support WebSockets), is this true? I am asking because I want to understand your use-case better.
On the other hand, I've made an issue for supporting custom implementations here: #17.

:tada: This issue has been resolved in version 1.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


add hr stats

First PR here, just adding in a couple stats / updating docs.
Adds the ability to query the following:

READ_HEART_RATE
READ_RESTING_HEART_RATE
READ_HRV
READ_STAND_TIME

Updates to docs as well / ran formatting for some additional changes

That's awesome! Thank you so much. I will try to look into this in more detail next week.
Have you tested the plugin on a real device with your changes?
What about the Android implementation? Are you only familiar with Swift, or can you add Android as well? If not, it's not such a big problem. I can do the Android implementation, but I don't have an Android phone with that type of Health Connect data.

@mley we have a big project that requires health data from both apple / android health, and all the other packages look outdated so appreciate you picking this up.
I don't have an android device/only working on apple health at the moment, I will have access to one once we're done with our apple health integration.  Still learning swift + kotlin but the project we're using is ionic/capcitor.. so learning.
Something I thought was nice when looking at flutter, which could make this somewhat more iterative, is creating a data type table like they have here https://pub.dev/packages/health - shows what you can connect with.
I also don't know the vision you have with this, but happy to contribute in any way i can.
As for testing, i did need to use a new querySameple since those (hrv/stand/resting) do not aggregate


/usr/local/bin/git-identity: line 295: [: missing `]'

just downloaded the git-identity, symlinked it and run git identity --define <identity name> <user name> <user email> [<ssh-file>]
got the error above

Thanks, fixed by #11 ! :)


wip editor config

Created a new one here: https://github.com/inveniosoftware/invenio-app-ils/pull/180


Generate and execute tests from CCTV vectors

We're not doing too hot on here, with 40 of 114 tests failing currently.
Changing the fail-fast for armor to a pass instead brings that down considerably to 11/114 failing, so I guess supporting armor is a low-hanging fruit that will have a large impact on our conformance.
Edit: I've updated the implementation to skip all armor tests which changes the status to 11 6 3 19 of 85 tests failing.

We're down to 3 failed tests

I added a missing assertion at the end that ensures the test is passing only when it's expected to and it surfaced a bunch more broken things

Do you have the output of the failing tests? Is it running on ci somewhere?

Do you have the output of the failing tests? Is it running on ci somewhere?

It is running in CI but Gradle seems to not output the names of the test vector files on there, you can run the UpstreamTestSuite class test from IntelliJ IDEA and see the failing test vector names then match them to files from here

hm. I cant seem to run it:
assertDoesNotThrow("failed to parse ${path.fileName}") { TestSuite.parse(contents) }

This is just parsing the files, not running the suite? At least I dont see anything running, just the parsing.

sorry, I missed that this isn't in main yet, running from this branch now

ok, this is not as bad as I thought, it's mostly a case of matching our exceptions to the expected error names used by age.go. There are maybe 2 tests which are more tricky though, will try to find some time to work on this.

@simao I'm already working on this locally, I guess you can focus on the armor stuff for now. Will let you know if I need help on this one.

@Skrilltrax :+1: great!

@simao I've updated the logic to detect failing tests. However, we still have one failing test
hmac_bad: This is failing because currently our IncorrectHMACException maps to HeaderFailure instead of HMACFailure. Basically the HMAC check throws exception in 3 tests 	hmac_bad, hmac_garbage, and hmac_truncated. The upstream tests throw HMACFailure for hmac_bad and HeaderFailure for the other two.

@Skrilltrax Thanks for that!
I pushed a new commit and all tests are green! except armor, still disabled, but progress!


Roomba Remote Client: Unknown disconnection error: ID=16

I am regularly getting a warning saying "Unexpectedly disconnected from Roomba xxx.xxx.xxx.xxx, code The connection was lost" which I usually ignore.
But today I got this warning asking to create a new issue. So here it is. Thanks
Logger: roombapy.remote_client
Source: /usr/local/lib/python3.12/site-packages/roombapy/remote_client.py:172
First occurred: 01:05:37 (1 occurrences)
Last logged: 01:05:37

Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new

Getting the same error but only since a few days.
Logger: roombapy.remote_client
Bron: /usr/local/lib/python3.12/site-packages/roombapy/remote_client.py:172
Eerst voorgekomen: 17:01:02 (6 gebeurtenissen)
Laatst gelogd: 18:18:10
Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new

I got this error ID yesterday when my Roomba's battery died after getting stuck

Yeah i took my robot out of it's dock and back in and+reset HA, didn't have the error since.

@Pastaloverzzz What do you mean by "reset HA" ? Do you mean restarting HA? I did that but I am still getting the error.

@snowmangh Yes i meant a reboot. In my case the iRobot app wouldn't connect either so i think he was trying to connect to another router than the one closest to him. Could it be that the docking station isn't in a good wifi spot? If you get this error every day you could put it closer to a router and see if you keep getting the error then..

@Pastaloverzzz Interesting. I do have a mesh network at home and wondering if that could be the reason I get the error. I do have devices that for some reasons do switch between the mesh point and the actual router which is probably enough to trigger a disconnect.

@snowmangh Well, i suspect on the day i got the error that my router closest to the docking station was down. So chances are you found the culprit 🙂

@Pastaloverzzz Looks like it. Maybe the error handling should account for a short disconnect before throwing this warning. 🙂


Filter stats by Global Filter Tag

Test failure doesn't look related to this change. Could you address it in a separate PR?


docs(style-guide): create a route redirection

Without one, you get some nice errors.

@Foxandxss I have also notice it in a demo application that I am working on. I do not know if we mean the same error but I suppose so.When I add a router-outlet in the main component, I get an error stating that I have not declare a default route.If I add a redirect in my routes, the error is gone.Is that reasonable?

Different thing I guess.

Ok, sorry about the irrelevance of the topic.