SyncReadMem should generate a register to register data rather than address

Type of issue: other enhancement
version: 3.2-SNAPSHOT
OS: Ubuntu 16.04

I want to create a true double-port RAM in Chisel and synthesis the Verilog code in Vivado 2018.3. Here is my Chisel code:
class DoublePortsRAM extends Module {
  val io = IO(new Bundle {
    val addr1 = Input(UInt(10.W))
    val dataIn1 = Input(UInt(32.W))
    val en1 = Input(Bool())
    val we1 = Input(Bool())
    val dataOut1 = Output(UInt(32.W))
    val clk2 = Input(Clock())
    val reset2 = Input(Bool())
    val addr2 = Input(UInt(10.W))
    val dataIn2 = Input(UInt(32.W))
    val en2 = Input(Bool())
    val we2 = Input(Bool())
    val dataOut2 = Output(UInt(32.W))
  })

  val syncRAM = SyncReadMem(1024, UInt(32.W))

  when(io.en1) {
    when(io.we1) {
      syncRAM.write(io.addr1, io.dataIn1)
      io.dataOut1 := DontCare
    } .otherwise {
      io.dataOut1 := syncRAM.read(io.addr1)
    }
  } .otherwise {
    io.dataOut1 := DontCare
  }

  withClockAndReset(io.clk2, io.reset2) {
    when(io.en2) {
      when(io.we2) {
        syncRAM.write(io.addr2, io.dataIn2)
        io.dataOut2 := DontCare
      } .otherwise {
        io.dataOut2 := syncRAM.read(io.addr2)
      }
    } .otherwise {
      io.dataOut2 := DontCare
    }
  }
}

After compiling it, the Verilog code of reading data like these:
always @(posedge clock) begin
...
  if (_GEN_36) begin
    syncRAM__T_1_addr_pipe_0 <= io_addr1;
  end
end
...
assign syncRAM__T_1_addr = syncRAM__T_1_addr_pipe_0;
assign syncRAM__T_1_data = syncRAM[syncRAM__T_1_addr];
assign io_dataOut1 = syncRAM__T_1_data;
...

However, the Vivado reports that it can't infer the pattern of the RAM. I must modify the Verilog code manually to these:
always @(posedge clock) begin
    ...
    if (_GEN_36) begin
      syncRAM__T_1_addr_pipe_0 <= syncRAM[io_addr1];
    end
  end
...
  assign io_dataOut1 = syncRAM__T_1_addr_pipe_0;
...

In other words, the Synchronous Read RAM shouldn't use a register to store the reading address. On the contrary, it is OK to store the reading data. In addition, Vivado can synthesis the single-port RAM without modifying the Verilog. What's wrong with it?
I think we just need to change the behavior of reading data when generating FIRRTL. I have read the Verilog templates of RAM that provided by Vivado, and all of them use a register to store reading data rather than reading address.

Impact: no functional change
Development Phase: request

For situations where SyncReadMems get mapped to flops, this change would have a significant impact on how pipeline stages are balanced (moving all of the read delay onto the address side).  That has the potential to be a disruptive change for some users.
You might consider using the ReplSeqMem pass so you can emit custom Verilog that's Vivado-friendly, as we do here: https://github.com/freechipsproject/rocket-chip/blob/master/scripts/vlsi_mem_gen

For situations where SyncReadMems get mapped to flops, this change would have a significant impact on how pipeline stages are balanced (moving all of the read delay onto the address side). That has the potential to be a disruptive change for some users.
You might consider using the ReplSeqMem pass so you can emit custom Verilog that's Vivado-friendly, as we do here: https://github.com/freechipsproject/rocket-chip/blob/master/scripts/vlsi_mem_gen

Do you mean that I need a custom script to emit custom Verilog?

This is now supported as the Verilog emission pattern when the read-under-write parameter is explicitly set to read-first.

Supported in #1183


Diyeats-command-history

Provides ability to show previous commands entered by user in the order they were entered as well as ability to clear user command history (in case it becomes too long or large). Closes #75.

Looks Great!


close #307 by removing logic which adds duplicate anchors to local tasks

ProcessTasks does more than just add the anchor step.

Why are the other operations done ProcessTassk ok to skip?
Why wasn't this bug caught by tests?
And why is this change not tested to prevent future issues like this?
Why isn't the solution to make the addAnchor* helpers idempotent?

fixed all of these, also made the add env vars idempotent


Unsafe encryption & decryption

Using a cryptographically random and unique initialization vector for each message is absolutely essential. The library should not let users encrypt without one: preferably, don't let the user choose at all and generate a new IV for them every time.
In addition, encrypted messages are not authenticated at all.
The encryption & decryption scheme provided by this library is very dangerous and should not be released in this state. Please take a look at something like Fernet on how to implement this securely, and only provide a higher level API to users.

Hi @veeti, I 100% agree with your statement, thus why this module has not been published to npm yet. This module was adopted by crypto-utils to give it life, but there hasn't been a lot of time. I think it would be most helpful if you could provide pull requests to fix the behavior, or at least outline the specific changes you want. This issue doesn't really help explain any more than how I already feel about the current code, so I'm not sure what you are specifically looking for.
You'll find the existing published version does not have any encypt/decrypt functionality.

Hey @dougwilson, I can certainly work on a pull request. Let's make sure we're on the same page. Here's what I would do:

First, remove the capability to change the underlying cipher at all. Every cipher and mode has its own requirements for safe usage, so it's not realistic to provide this functionality. AES-256-CBC is a sane default as long as it is properly used. (AES-GCM would be ideal, but I don't think older versions of OpenSSL or Node support it).

Add documentation for secure key generation (for example, a command-line oneliner).

Run all input key material through PBKDF2. This ensures that whatever the user provides as keys, we get proper 32 byte keys out of them. Since the user's inputs are expected to be already cryptographically secure and not weak passwords, a practically instant iteration count (1000?) and static salt are sufficient. This is like using PBKDF2 as a standard library alternative to something like HKDF.

Last, rewrite the encryption and decryption logic by adding random IV generation and ciphertext authentication.

Let me know what you think.

preferably, don't let the user choose at all and generate a new IV for them every time.

AES-256-CBC is a sane default as long as it is properly used. (AES-GCM would be ideal, but I don't think older versions of OpenSSL or Node support it).

these sound good to me. i was struggling with understanding how that all works, and making them optional just made the API more convoluted.

@veeti would you like to make a PR?

https://github.com/csquared/fernet.js looks good to me, except it has all this fluff for browser usage that wouldn't be applicable to us

Sorry, I forgot all about this. I could work on a PR soon.

Any news on this after 2+ years?

The encryption and decryption was never published to npm and does not exist in the code base.


deps: bump deployer to v0.17.3

trivial dep bump to consume fixes and enhancements

/retest

/lgtm


Use indices in search in disk

For the on-disk storage, we should include an index structure, update it on create, update, del, and use it for search.

Replaced by e14n/databank-disk#3


docs(common-lisp): add a README

This PR adds a README to the common-lisp module. I intended to bump the sly pin too but Big H beat me to it.

LGTM. Thanks again!


Return latest volume after KubernetesStatus wait

This PR modifies the wait_volume_kubernetes_status method that is defined in common.py to return the latest version of the Volume being waited on for use in testing, similar to how other similar methods such as wait_for_volume_detached or wait_for_volume_healthy work.
This one line change was accidentally dropped from #168 and is the reason why test_backup_kubernetes_status_pod is currently failing in the nightly integration tests.

Closing in favor of the fix in #171.


Template alias full and partial specialization improvements.

This doesn't completely fix #251, but fixes other related problems.
r? @fitzgen

Ok, I fixed the regression explicitly looking for TypeRefs. I'll try to land a patch in libclang to expose the specialized template parameters.

Libclang patch to eventually fix this hackery: https://reviews.llvm.org/D26663

@bors-servo r=fitzgen

:pushpin: Commit 2003f9c has been approved by fitzgen

:zap: Test exempted - status


@Alximm

https://github.com/users/github-product-roadmap/achievements/quickdraw

Please submit the correct information, invalid information will cause the issue to close


hotfix for #37

Coverage remained the same at 100.0% when pulling 2a853906b97a6cc4de66a3ae510d4817e6e3c8ea on tsfmtfix into a26ca2ed0ce31de94cc79fd0680b9e64a52c1699 on master.


Calendar template doesn't check for month when highlighting current day

In the calendar template, a current day is shown in each month (eg, on 22 June, the 22 August, September, October etc have the class 'current'.)
Quick fix is to add this before line 54 in calendar.html.twig: {% set month = "now"|date("F") %}
and add a check to line 58: {% if (day == calendar.currentDay) and (month == calendar.date|date("F")) %}

I've added and tested your contribution. I'll push it with the next release. Thanks!


flyctl: 0.0.377 -> 0.0.383

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/flyctl/versions.
meta.description for flyctl is: "Command line tools for fly.io services"
meta.homepage for flyctl is: "https://fly.io/"
meta.changelog for flyctl is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.0.383 with grep in /nix/store/w06hrzj0hi41qkb1gdzgsk5r7gcwm6rc-flyctl-0.0.383
found 0.0.383 in filename of file in /nix/store/w06hrzj0hi41qkb1gdzgsk5r7gcwm6rc-flyctl-0.0.383

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
flyctl

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/w06hrzj0hi41qkb1gdzgsk5r7gcwm6rc-flyctl-0.0.383 \
  --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 flyctl https://github.com/r-ryantm/nixpkgs/archive/dc61912099b6bfe4b9b8e88ae1b56d3b79f3772e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/w06hrzj0hi41qkb1gdzgsk5r7gcwm6rc-flyctl-0.0.383
ls -la /nix/store/w06hrzj0hi41qkb1gdzgsk5r7gcwm6rc-flyctl-0.0.383/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:

flyctl

Maintainer pings
cc @aaronjanse @jsierles @techknowlogick @viraptor for testing.

Result of nixpkgs-review pr 188607 run on x86_64-linux 1

1 package built:

flyctl


Issue with calling useColorMode outside the ColorModeProvider for Docusaurus 3.0.1

Hi Rohit, thank you for your diligence in maintaining redocusaurus. I have recently updated docusaurus to 3.0.1, and thus upgraded redocusaurus to 2.0.1, the latest release as of now.
After performing this upgrade, any singular instance of <ApiSchema> incurs these two identical errors seen below.
After searching, I've seen this same error logged as an issue here more than a year ago, but was apparently resolved since then. Has this issue regressed? I've made no other changes to my previously-working configuration, but if you have any ideas to help understand the issue, I'm happy to help.
Hook useColorMode is called outside the <ColorModeProvider>. Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.
ReactContextError
    at useColorMode (webpack-internal:///./node_modules/@docusaurus/theme-common/lib/contexts/colorMode.js:28:1533)
    at useSpecOptions (webpack-internal:///./node_modules/docusaurus-theme-redoc/dist-jsx/utils/useSpecOptions.js:18:243)
    at Redoc (webpack-internal:///./node_modules/docusaurus-theme-redoc/dist-jsx/theme/Redoc/Redoc.jsx:20:178)
    at renderWithHooks (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:16306:18)
    at mountIndeterminateComponent (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:20070:13)
    at beginWork (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:21583:16)
    at HTMLUnknownElement.callCallback (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:4165:14)
    at Object.invokeGuardedCallbackDev (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:4214:16)
    at invokeGuardedCallback (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:4278:31)
    at beginWork$1 (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:27447:7)

ERROR
Hook useColorMode is called outside the <ColorModeProvider>. Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.
ReactContextError
    at useColorMode (webpack-internal:///./node_modules/@docusaurus/theme-common/lib/contexts/colorMode.js:28:1533)
    at useSpecOptions (webpack-internal:///./node_modules/docusaurus-theme-redoc/dist-jsx/utils/useSpecOptions.js:18:243)
    at Redoc (webpack-internal:///./node_modules/docusaurus-theme-redoc/dist-jsx/theme/Redoc/Redoc.jsx:20:178)
    at renderWithHooks (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:16306:18)
    at mountIndeterminateComponent (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:20070:13)
    at beginWork (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:21583:16)
    at HTMLUnknownElement.callCallback (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:4165:14)
    at Object.invokeGuardedCallbackDev (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:4214:16)
    at invokeGuardedCallback (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:4278:31)
    at beginWork$1 (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:27447:7)

Could you share how you are using ?

I had this problem too, but upgrading all @docusaurus packages to 3.1.1 solved the problem for me.

I had this problem too, but upgrading all @docusaurus packages to 3.1.1 solved the problem for me.
I had been putting off that version bump due to the typical instabilities, but after upgrading to 3.1.1 it is working again 👍. One noteworthy additional dependency bump was styled-components. 5.x.x => 6.x.x to resolve a redoc-specific issue.

Could you share how you are using <ApiSchema> and <Redoc>?

Sure, although I have no concern if you decide it isn't worth trying to remediate.
In my index.js, I have an exported component wrapping a container with <Layout>:
function Home() {
	const context = useDocusaurusContext();
	const { siteConfig = {} } = context;
  	const [isSearchBarExpanded, setIsSearchBarExpanded] = useState(false);

	return (

			<Layout
				description={`${siteConfig.description}`}
			>

					<div className={`container ${styles.homepageTitle}`}>

							{siteConfig.customFields.displayTitle.titleLine1}

{siteConfig.customFields.displayTitle.body}

						<SearchBar className='homepage-search'
							handleSearchBarToggle={setIsSearchBarExpanded}
							isSearchBarExpanded={isSearchBarExpanded}
						/>

					{features && features.length && (

									{features.map((props, idx) => (
										<Feature key={idx} {...props} />
									))}

					)}

			</Layout>

	);
}

export default Home;

And within an .md document, I reference a schema example.
<ApiSchema id="enterprise-remote" example pointer="#/components/schemas/MyRequest" />;

I think if upgrading to 3.1.1 fixes then we can close it. If it resurfaces again then will take a look.

I just had this issue after upgrading to Docusaurus 3.2 and bumped on this thread, seems like this resurfaced in 3.2 @rohit-gohri

Hello,
I just had this problem again after upgrading @docusaurus/core (and all related peerDependencies) to version 3.5.2

There must be a mismatch of versions that's causing context mismatch. Please open a new issue with a reproducible example if it's still happening


Simon/watch variable/1

Closes https://github.com/farre/rrcfg-tools/issues/29
(Partly) fixes https://github.com/farre/rrcfg-tools/issues/18

Merged in #31


API Documentation link broken on several connectors

Description:
API Documentation link is broken and gives 404 on many connectors in central.ballerina.io
Notice in at least on these (in addition to MySQL and PostgreSQL),

https://central.ballerina.io/ballerinax/jaeger
https://central.ballerina.io/ballerinax/choreo

The docs are not displayed as there are no public APIs available in these packages.

@anuruddhal If there are no public APIs available in these packages, then why are we even showing these to the user? It's very confusing to the user. We should only show packages that have a public API. Don't you agree?


Fix the exit code for test failures

The script was always exiting with 0, which would not make CI fail.

see https://travis-ci.org/github/babel-preset-github/builds/454470466 for a past CI build which was reporting the tests as passing while the output was showing a failed test.


Updates after first run of viwi

Made a few changes to documentation and index.spec.ts.
Addressed review comments.

Thank you very much!


DASH Streams Died

It appears that the dash streams that are being used in the demo are not working anymore. It looks like Youtube is returning "403 Forbidden" responses to video urls in the app. Am I missing
I have tested on multiple devices, across networks. Hopefully, this isn't just me?
Thanks!

Hmm, it's possible. I'll see if we can get some replacement streams.

Closing this out due to age.


Update readme

Codecov Report

Merging #40 (df89d18) into main (c9e0b3d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #40   +/-   ##
=======================================
  Coverage   97.42%   97.42%
=======================================
  Files           9        9
  Lines         349      349
  Branches       41       41
=======================================
  Hits          340      340
  Misses          9        9

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 c9e0b3d...df89d18. Read the comment docs.

Codecov Report

Merging #40 (df89d18) into main (c9e0b3d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #40   +/-   ##
=======================================
  Coverage   97.42%   97.42%
=======================================
  Files           9        9
  Lines         349      349
  Branches       41       41
=======================================
  Hits          340      340
  Misses          9        9

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 c9e0b3d...df89d18. Read the comment docs.


Updated texts, added missing things

P.S.: Also, in connection with recent events, I plan to migrate to GitLab and move Evolution of Trust to GitLab Pages. What do you think about that?

Any updates? :no_mouth:


Re-order decklist navigation items.

Andrej had some valid feedback on stream this week, so i re-ordered these items.


Fix deploy errors on react-query upgrade pr #1816

https://github.com/OlympusDAO/olympus-frontend/pull/1816

fixed in #1816 branch


App icons uploaded via dashboard not visible in API

What App Center service does this affect?
API.
Describe the bug
When adding an App Icon from dashboard to an appcenter App without any builds, the app_icon in the api remains "null".
To Reproduce
Steps to reproduce the behavior:

Choose an app
Go to settings
Edit App Details
Pic an Icon for the app
click Save
call API for app details
app_icon field is still null

Expected behavior
Url to added app_icon is filled in in app_icon
Desktop (please complete the following information):

OS: macOS
Browser: safari, chrome

Thanks for your report, we will look into this issue as soon as possible!

Hi,
do you have any new information about this issue?
Kind regards.

We have a team looking into this - I'll let you know once this is fixed!

Ok, thank you 👍

This should be totally fixed now. Let us know if you still run into issues. Thanks!


Bulk publishing

As a business user I would like a simple way to publish large amounts of content.

From a folder (and subfolders)
From a site or page (and all sub pages)
From a collection

I would also like options to control how publishing happens

Skip already-published content or republish all
ACL handling options
Replication options (sync/async, update publish time, replication queue selection vs. default replication)
Possibly other options like SCD?

I would also like:

the resource selection to be (optionally) query based
the conditional replication mechanism to be pluggable, so I can easily develop my own conditions and select them.

Ideally the "OOTB" options are just implementations against this pluggable interface

I would like to see:

to perform dry runs (to validate that my query will deliver the nodes I'm expecting)
to choose which replication agent(s) will participate
to schedule event to happen at a future time
to pause or cancel an active event

Heck since we're throwing the kitchen sink in I also want other stuff but I'm going to make a separate story for those things because this is already getting to be a long list. :)

@davidjgonzalez Does this mean we include the query builder component as this feature?

Also would the pluggable options be via a factory/whiteboard pattern?  How would that implementation need to look?

@badvision

@davidjgonzalez Does this mean we include the query builder component as this feature?

Yes!

Also would the pluggable options be via a factory/whiteboard pattern? How would that implementation need to look?

I would be happy w an OSGi Service Interface that multiple impl's can be coded against, and the MCP Tool would have a multi-field of dropdowns, and the dropdowns are powered by a DataSource that simply lists all implementations of said OSGi service interface. The tool would in turn simply run through each service impl (probably in the order specified in the tool) and accept/reject based on that.


JSON decode on run_sh output

What's your CLI version?
0.89.3
Description & steps to reproduce
By running that plan:
def run(plan):
    x = plan.run_sh(
        run="""
        echo '{"key":"value"}'
        """
    )
    a = x.output
    plan.print(a)
    plan.print(a[:])
    plan.print(a[0:-1])
    plan.print(a[0:-1]+a[-1])

I get these outputs:
{"key":"value"}
{"key":"value"}
{{kurtosis:b0597720154d47fc9701d3bec6c15dc2:output.runtime_value}
{"key":"value"}

Specially surprised with the 4th result not being like the 3rf tbh ':--o
When trying to decode json output like this:
def run(plan):
    x = plan.run_sh(
        run="""
        echo '{"key":"value"}'
        """
    )
    a = x.output
    json.decode(a)

I get an error:
Evaluation error: json.decode: at offset 2, unexpected character 'k'
For some reason when trying to decode it's using that internal reference instead of the resulting string.
Desired behavior
To decode the output string instead of the internal object reference.
What is the severity of this bug?
Painful; this is causing significant friction in my workflow.
What area of the product does this pertain to?
CLI: the Command Line Interface

@tedim52 explained to me that Starlark cannot interpret string slices.  All the print commands operate on the full a output except the third one so the result is expected.

A future reference cannot be decoded so the exact output will have to be returned as part of plan.run_sh with the help of jq for example.

We are aware that future reference / string manipulation is not great today.  Adding a similar issue for reference: #2049 .

Duplicate of #2049


Remove: get_document_locations function and docs related

It seems that get_document_locations is not available anymore. Here is the result when calling the method:
project.get_document_locations() Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "/usr/lib/python3.11/site-packages/pylero/project.py", line 218, in get_document_locations     return self.session.tracker_client.service.getDocumentLocations(self.project_id)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3.11/site-packages/suds/client.py", line 327, in __getattr__     return getattr(port, name)            ^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3.11/site-packages/suds/client.py", line 441, in __getattr__     return getattr(m, name)            ^^^^^^^^^^^^^^^^   File "/usr/lib/python3.11/site-packages/suds/client.py", line 540, in __getattr__     return self[name]            ~~~~^^^^^^   File "/usr/lib/python3.11/site-packages/suds/client.py", line 555, in __getitem__     raise MethodNotFound(qn) suds.MethodNotFound: Method not found: 'TrackerWebServiceService.TrackerWebService.getDocumentLocations'
Additionally, I checked here: https://almdemo.polarion.com/polarion/ws/services/TrackerWebService?wsdl, and I couldn't find any getDocumentLocations().

@JaneSoo Thanks, merged


Fix the whitelist log and add ping health check

Whitelist log: Fixes an issue with the whitelist log generation, ensuring accurate records.
Ping health check feature: Adds a ping health check using the provided PING_URL secret for proactive monitoring.

curl looks nicer :)

Thanks for the contribution!


Timesheet - 13/04/2021 - Mr. K

Task 1
Landing Page - HiFi Design
Proof of Work

https://www.figma.com/file/JCGeIX9fFrrpZiqE0XzH9s/Homepage?node-id=3%3A0

Time Spent
5.5 hours

Account Number
c93ee24b89991a1438b45444cf06e5bb167ed1796d54a800174def4480f98ed0

Approved

Approved


:four_leaf_clover: Proposal: refactor plugin install method

What Would You Like to Add? Why Is This Needed?
We have many plugin install methods listed below currently

Install method
plugin

Helm
argocd, hashicorpvault, jenkins, kubeprometheus, openldap,tekton

Kubectl
argocdapp,devlake

Docker
gitlabcedocker

Github Client
githubactions, jiragithub, reposcaffolding, trellogithub

Trello Client
trello, trellogithub

GoClient
zentao

The install method's code is separate in a different package, which makes it difficult to manage and extend the install method, we can extract these methods' code into a standalone package, like plugininstaller?
Design

put the Install method  all in the same package like  plugininstaller
define installerOption func

// this func input operation params and output operation and error
 type InstallerlOperation func (operation Operation) (Operation, error)

define plugin install step

func Create(options map[string]interface{}) (map[string]interface{}, error) {
	// 1. decode options
	var opts Options
        var retErr error
	if err := mapstructure.Decode(options, &opts); err != nil {
		return nil, err
	}
        // 2. define installOperator to install this plugin
	installers := []plugininstaller.InstallerOperation{
                // if func run normal, err is nil and these func will run by order
                // else interrupt execute and return err. just like kubernetes's admission controller logic
		plugininstaller.helm.ValidateBasic,
		plugininstaller.kubeClient.CreateNameSpace,
		plugininstaller.helm.InstallOrUpdate,
	}

        // 3. run opt with installOperator list
       retErr = plugininstaller.Execute(opts, installers)

        // 4. get installed status
  	retMap := GetStaticState().ToStringInterfaceMap()
	log.Debugf("Return map: %v", retMap)

	return retMap, nil

Maybe a todo list is needed here so that we can know the progress of the refactoring. @steinliber


Bookworm install working but drawing blank graph

Hi
I have written up the installation procedure which I followed (excuse the mess, it is a living document < https://www.gitbook.com/book/tpmccallum/harvesting-pdf-files-from-the-web-for-use-in-book >
I am happy with the installation but there must be an issue because I am getting back an empty JSON object when hitting the following URL
http://<IP_ADDRESS>/cgi-bin/dbbindings.py?query={"groups"%3A["date_year"]%2C"counttype"%3A"WordsPerMillion"%2C"words_collation"%3A"Case_Sensitive"%2C"database"%3A"mccallum"%2C"search_limits"%3A[{"word"%3A["test"]%2C"date_year"%3A{"%24gte"%3A2012%2C"%24lte"%3A2023}}]%2C"method"%3A"return_json"}
Do you have any advice?
Very happy to give you the Amazon EC2 credential so that you can take a look at the setup.
Kind regards
Tim

I see that the query

http://<IP_ADDRESS>/cgi-bin/dbbindings.py?queryTerms={"database":"mccallum","method":"returnPossibleFields"} returns

[
{
name: "uni",
tablename: "uniLookup",
dbname: "uni",
type: "character",
anchor: "bookid",
description: ""
},
{
name: "date_year",
tablename: "fastcat",
dbname: "date_year",
type: "integer",
anchor: "bookid",
description: ""
}
]

However I get this result from the MySQL
mysql> select * from fastcat;
Empty set (0.00 sec)

mysql> select * from uniLookup;
Empty set (0.00 sec)

Ben had actually helped me with this issue:
After a restart, it's possible that the memory tables haven't been repopulated. The way to test that is to run
  SELECT COUNT(*) FROM fastcat;

in MySQL. On a modern Bookworm build, that is fixed by running
  python OneClick.py reloadAllMemory

and the whole server will refresh. On the older bookworms, you would need to find the SQL table create code that the OneClick process used to dump out and execute it in MySQL (generally saved as a create_table.SQL).
I'm guessing the former method should solve the issue.

Hi,
Thank you again so much for your help, I will add that to my documentation, again really appreciate you assisting with this using your valuable time.
I ended up figuring out what was wrong ... when I ran the
make all databaseName=asdf ...

The users did not have database privileges, these issues were resolved here
https://github.com/Bookworm-project/BookwormDB/issues/52

I decided to re-run the make command and it all works :)
Chat soon
Tim


add ability to pass in custom image for mev-builder and mev-boost

currently both are hardcoded one in parse_input.star and the other in mev_boost_launcher.star
bchain99 asked for this.

@bharath-123 is interested in this, can you plus one the issue? I can't assign you just yet!!

please do assign to me!


Erebus 2.7B not availble in drop down menu in GPU Colab

Tried with koboldAI I tried to add it manually by typing its name in the drop menu but it handed me upon completion this error at the end:
OSError: Erebus is not a local folder and is not a valid model identifier listed
on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to
this repo with use_auth_token or log in with huggingface-cli login and pass
use_auth_token=True.

i think you type it wrong, i tried to do it manually and it work fine for me


Now we can specify which field to use in WHERE IN

Now we can specify which field to use in WHERE IN. So we can update
models by custom field.
Use case:
User has some external resources and these resources are loaded into django database more than once. But related data like analytics should be stored once as it is ONE resource, which has TWO instances in our DB - like m2m.
So, we should be able to update all resources at once by one query. For example, we have 1 resource with EXT_RES1, but we have 2 instances in our DB: OUR_RES1(EXT_RES_ID=1), OUR_RES2(EXT_RES_ID=1).
So we should be able to throw a query like UPDATE ... WHERE EXT_RES_ID in (1 ... ).
With this commit we can specify which field to use instead of PK, so we can use EXT_RES_ID and it will do the trick.

Thanks.


Add Cuda Vector Types

This is the initial introduction of cuda vector types. This PR adds support to vector type creation and readouts. Note that not only vector types can be constructed a number of primitive types, but also with all valid combinations of vector type and primitives. Such as:
f3 = float32x3(float32(1.0), float32x2(float32(2.0), float32(3.0)))
u4 = uint32x4(uint32x2(4, 3), uint32x2(2, 1))

Contributes to #7943 .

gpuci run tests

Can we support casting between vectors that are essentially the same?

To clarify - int32 happens to be the base type for both intx and longx, are you asking that for the vector types that has the same base type and number of elements should be recognized as the same type? Not asking for conversion rules such as intx -> longx?

Do we need the once decorator in vector_types.py?

It's called twice in target.py. Once for impl and once for decl. Since I believe the order with which decl and impl are called is an implementation detail, the once guard is set to prevent the vector types being initialized twice.

Can we support casting between vectors that are essentially the same?

@gmarkall and I discussed offline on this and there are two solutions: one is to implement the same integer types as aliases and the other is to implement the casting rules. We favored implemented as aliases; it aligns more with how numba types are implemented. The main cons of this solutions are that the kernels won't be portable across platforms. For example int and long are aliased as the same type on one platform but could be different on another so the example given in @gmarkall 's comment above cannot compile for some platforms.
To address this concern - we plan to define the vector type for python kernels with a new set of names more aligned with numpy's naming conventions: it would look like int32x4 for 32 bit vectors with 4 elements. This makes bitwidth of the base type unambiguous. Developers who writes new kernels in numba cuda is encouraged to follow this convention.
In addition, all names from native CUDA will be aliased on this new naming convention (based on machine definition of int and long). This is for convenience for people who want to transcribe their cuda kernel to python easily. And since there isn't a casting rule in native cuda between intx in longx, we don't expect this aliasing should break during these migration.

gpuci run tests

gpuci run tests

gpuci run tests

gpuci run tests

@esc / @stuartarchibald Could this have a CUDA buildfarm smoketest please?

@esc / @stuartarchibald Could this have a CUDA buildfarm smoketest please?

Build numba_smoketest_cuda_yaml_131 has started

@esc / @stuartarchibald Could this have a CUDA buildfarm smoketest please?

Build numba_smoketest_cuda_yaml_131 has started

Thanks @esc, this passed.

Thanks for the buildfarm run @esc / @stuartarchibald.
From OOB discussion, there was some concern about the length of time the Windows builders in the buildfarm took - however, I tested this on my machine locally (Win11, RTX 6000, Xeon 6128, 96GB RAM) and the increase in test time on Windows was negligible on a modern quiescent machine - it is likely that what was observed was just the general slowness of the Windows buildfarm machines.


remote signer: fix SignOutputRaw RPC for incomplete key info, fix healthcheck connection leak

Change Description
Fixes the remote signing setup for Loop and Pool (partially fixes https://github.com/lightninglabs/loop/issues/457):
The SignOutputRaw allows signing with a key descriptor that only contains the public key or only the key family and index. In the remote signing setup that information is not sufficient for the remote signing node and we need to make sure we always send both the public key and the full derivation info over the signing RPC.
Fixes https://github.com/lightningnetwork/lnd/issues/6329.
Steps to Test
Set up a remote signing node pair and connect the Loop or Pool client to it.
TODO:

Actually run a full manual test suite of using a remote signing node pair for the Loop and Pool clients (and servers).

Re the existing TODO, is the plan to leverage the existing litd integrations and effectively lift some of the code here to that project so we can exercise a similar scenario?

No, I meant just locally run a regtest based remote signing pair and then test hooking up loop/pool (clients and servers) to it and make sure everything works. Didn't get to that yet, will do that first thing tomorrow.
An integration test setup would probably be too involved (but very helpful) and a project of its own.

I ran a full manual test suite with a remote signing pair on regtest:

Remote signing pair as backend for Pool server: :heavy_check_mark:
Remote signing pair as backend for Pool client: :heavy_check_mark:
Remote signing pair as backend for Loop server: :warning: Found a bug in the server code itself that made it fail. After changing the server code, everything worked. So this PR doesn't need a change (the RPC was called incorrectly in the first place), I'll open a PR in the server repo.
Remote signing pair as backend for Loop client: :warning: This was expected to not work because of https://github.com/lightninglabs/loop/issues/457, but I was able to confirm that everything works once https://github.com/lightninglabs/loop/issues/457 is fixed. Going to open a PR for that soon.

So this PR does fix remote signing in all four cases, we just need to make sure the RPCs are called correctly. All 4 test cases were successful once the callers were fixed.
I think we can proceed with reviewing and merging this fix.

Mainly missing a release notes update at this point.


Powershell script does not return values

Agent Mode:

[x] Pull Model (openITCOCKPIT Server request data from Agent)
[ ] Push Model (Agent send data to openITCOCKPIT)

Versions

openITCOKPIT Server Version: 4.2.3
openITCOCKPIT Monitoring Agent Version: 3.0.7 (3.0.6 too)

Operating system
Please provide detailed operating system description (please do not just say "windows" or "linux"), installed antivirus, anything else that could be helpful information

Windows Server 2012, 2016, 2019 (actively tested)
no AV
reproducable in all versions

Describe the bug
I have an issue, that a script to check exchange values (https://github.com/yosbit/nagios-plugins/blob/master/README/README_check_exchange.md) does not work with the agent in version 3. It did work fine in version 2. Other powershell scripts do return values.

the script works directely from powershell command.
the script works when started as same user as the agent is running
the script did work in version 2
the script does work wir powershell 32bit and 64 bit
the script did work on several exchange servers, and now works on none of them
I cannot be 100% sure if it stopped working after the upgrade to version 3 or if maybe a windows update broke the script.

To Reproduce
Steps to reproduce the behavior:

Download script https://github.com/yosbit/nagios-plugins/blob/master/README/README_check_exchange.md

Set as custom check with
'
[check_exchange_DB]
command = powershell.exe -file "C:\scripts\oitc\check_exchange.ps1" -CheckType DBStatus
interval = 1800
timeout = 120
enabled = true
'

Return in agent is
'
"customchecks": {
"check_exchange_db": {
"stdout": "UNKNOWN:  \n",
"rc": 0,
"execution_unix_timestamp_sec":<PHONE_NUMBER>
'

Return in powershell is
'
OK: All Exchange DB are mounted, Databases: Mailbox Database<PHONE_NUMBER> Total: 1
'

Since Agent version 3 it is possible to define the shell the Agent should use for the execution.
I would recommend you to set shell = powershell:
[check_exchange_DB]
command = "C:\scripts\oitc\check_exchange.ps1 -CheckType DBStatus"
# Maybe command = "C:\scripts\oitc\check_exchange.ps1" -CheckType DBStatus
shell = powershell
interval = 1800
timeout = 120
enabled = true

More examples can be found in the example config for custom checks: https://github.com/it-novum/openitcockpit-agent-go/blob/main/example/customchecks_example.ini
Hope this helps

Thank you for your answer. Unfortunatelly this did not solve my problem. After some testing I was able to make it work again, so I want to share the solution.
Somehow the script does not work when executed from the OITC agent. The solution was to simply remove the
begin {...}
process{...}
end{...}
bracets. Then it worked again.
I still cant tell if it was the version change from OITC or a Windows Update.

The docs of PowerShell 7.1 claims that this is still a thing: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_functions_cmdletbindingattribute?view=powershell-7.1
How ever I have nearly zero experience with powershell soo - as long as it works :)


add dependencies badge on readme

change build badge to link to master branch and changed it to svg (nicer on retina)

Thanks!


Remove required property from optional ClearMLTask attributes

All of these properties are technically optional according to the docs. Should we make them all not required? It seems like we might want to avoid processing tasks that, for example, don't have an ID (And I'm not sure how that would ever happen anyways).

This change is

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

Project coverage is 66.52%. Comparing base (6f3ebf1) to head (3790e06).

Files
Patch %
Lines

src/SIL.Machine.AspNetCore/Models/ClearMLTask.cs
0.00%
4 Missing :warning:

...chine.AspNetCore/Services/ClearMLMonitorService.cs
0.00%
2 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #176   +/-   ##
=======================================
  Coverage   66.52%   66.52%
=======================================
  Files         437      437
  Lines       34233    34233
  Branches     4583     4583
=======================================
  Hits        22775    22775
  Misses      10368    10368
  Partials     1090     1090

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


Add an option to disable Flatcar auto-upgrades

What this PR does / why we need it:
This PR adds an option to the example Terraform configs for AWS, OpenStack, and vSphere to disable Flatcar auto-upgrades, as documented here: https://www.flatcar.org/docs/latest/setup/releases/update-strategies/#disable-automatic-updates
This option already exists for Azure, but it's only applied on MachineDeployments, now it has been extended to Terraform-managed nodes as well.
The option is called disable_auto_update and it's disabled by default, but explicitly enabled in our E2E tests.
Which issue(s) this PR fixes:
xref #2320
(to be closed once TODOs are resolved)
What type of PR is this?
/kind flake
Special notes for your reviewer:
TODO:

Backport this PR to the previous release branch
Apply it to Equinix Metal

This PR has been tested manually and it works well.
Does this PR introduce a user-facing change? Then add your Release Note here:
Add `disable_auto_update` option to example Terraform configs for AWS, Azure, OpenStack, and vSphere, used to disable automatic updates for all Flatcar nodes

Documentation:
NONE

/assign @kron4eg

nice!
/lgtm
/approve


Fixed #9932

Issue Reference

#9932
Description

Resolved the issue where error messages are not displayed correctly

Branch Selection

[X] Target Branch: master

Checked the PR in multilocale and found the translation added properly.
Please check the screenshot for reference.


iox::function claims to support moving functions, but doesn't

Required information
In the docstring for the iox::function interface, it is claimed that
///        In contrast to iox::function_ref iox::function objects own everything needed
///        to invoke the underlying callable and can be safely stored.
///        They also support copy and move semantics in natural way
///        by copying or moving the underlying callable.

However in the actual implementation docstring this is contradicted:
Furthermore, the storable_functor stores a copy
    // which avoids implicit misbehaviors or ownership problems caused by implicit conversion.

And indeed if you attempt to wrap a lambda with a move capture, such as
  auto unique_int = std::make_unique<int>(42);
  auto do_stuff = [unique_int = std::move(unique_int)]{++(*unique_int);};
  iox::function<void(void)> do_stuff_wrapper(std::move(do_stuff));
  do_stuff_wrapper();

You'll get a compile error:
external/iceoryx/iceoryx_hoofs/functional/include/iox/detail/storable_function.inl:207:22: error: call to implicitly-deleted copy constructor of 'StoredType' (aka '(lambda at <redacted>main.cc:29:19)')
    new (m_callable) StoredType(functor);
                     ^          ~~~~~~~
external/iceoryx/iceoryx_hoofs/functional/include/iox/detail/storable_function.inl:32:5: note: in instantiation of function template specialization 'iox::storable_function<128, void ()>::storeFunctor<(lambda at <redacted>/main.cc:29:19), void>' requested here
    storeFunctor(functor);
    ^
<redacted>/main.cc:30:29: note: in instantiation of function template specialization 'iox::storable_function<128, void ()>::storable_function<(lambda at <redacted>/main.cc:29:19), void>' requested here
  iox::function<void(void)> do_stuff_wrapper(std::move(do_stuff));
                            ^
<redacted>/main.cc:29:20: note: copy constructor of '' is implicitly deleted because field '' has a deleted copy constructor
  auto do_stuff = [unique_int = std::move(unique_int)]{++(*unique_int);};
                   ^
<redacted>/usr/include/c++/11.2.0/bits/unique_ptr.h:468:7: note: 'unique_ptr' has been explicitly marked deleted here
      unique_ptr(const unique_ptr&) = delete;
      ^
In file included from <redacted>/main.cc:8:
In file included from <redacted>:
In file included from <redacted>:
In file included from external/iceoryx/iceoryx_posh/include/iceoryx_posh/internal/mepoo/segment_manager.hpp:21:
In file included from external/iceoryx/iceoryx_posh/include/iceoryx_posh/iceoryx_posh_config.hpp:19:
In file included from external/iceoryx/iceoryx_posh/include/iceoryx_posh/mepoo/segment_config.hpp:21:
In file included from external/iceoryx/iceoryx_posh/include/iceoryx_posh/mepoo/mepoo_config.hpp:19:
In file included from external/iceoryx/iceoryx_posh/include/iceoryx_posh/iceoryx_posh_types.hpp:24:
In file included from external/iceoryx/iceoryx_hoofs/functional/include/iox/function.hpp:20:
In file included from external/iceoryx/iceoryx_hoofs/functional/include/iox/detail/storable_function.hpp:208:
external/iceoryx/iceoryx_hoofs/functional/include/iox/detail/storable_function.inl:229:27: error: call to implicitly-deleted copy constructor of '(lambda at <redacted>/main.cc:29:19)'
    new (dest.m_callable) CallableType(*obj);
                          ^            ~~~~
external/iceoryx/iceoryx_hoofs/functional/include/iox/detail/storable_function.inl:210:34: note: in instantiation of function template specialization 'iox::storable_function<128, void ()>::copy<(lambda at <redacted>/main.cc:29:19)>' requested here
    m_operations.copyFunction = &copy<StoredType>;
                                 ^
external/iceoryx/iceoryx_hoofs/functional/include/iox/detail/storable_function.inl:32:5: note: in instantiation of function template specialization 'iox::storable_function<128, void ()>::storeFunctor<(lambda at <redacted>/main.cc:29:19), void>' requested here
    storeFunctor(functor);
    ^
<redacted>/main.cc:30:29: note: in instantiation of function template specialization 'iox::storable_function<128, void ()>::storable_function<(lambda at <redacted>/main.cc:29:19), void>' requested here
  iox::function<void(void)> do_stuff_wrapper(std::move(do_stuff));
                            ^
<redacted>/main.cc:29:20: note: copy constructor of '' is implicitly deleted because field '' has a deleted copy constructor
  auto do_stuff = [unique_int = std::move(unique_int)]{++(*unique_int);};
                   ^
<redacted>/usr/include/c++/11.2.0/bits/unique_ptr.h:468:7: note: 'unique_ptr' has been explicitly marked deleted here
      unique_ptr(const unique_ptr&) = delete;

Operating system:
E.g. Ubuntu 20.04 LTS
Compiler version:
E.g. GCC 9.4.0
Eclipse iceoryx version:
On an older checkout of main, but should apply to main as well.
Observed result or behaviour:
iox::function does not support move-only functors
Expected result or behaviour:
It should support move-only functors, as documented in the API.
Conditions where it occurred / Performed steps:
Try to wrap a lambda with a move-capture.
Additional helpful information

@gpalmer-latai how big of an issue is this right now? We are currently quite busy with the iceoryx2 C and C++ bindings and I would look into this once we are done with them.

It's not a super huge priority. There are workarounds like using a shared_ptr or just using std::function or something instead. I mostly wanted to make sure to document the issue in the off chance someone did have a few free cycles or came across the same issue.

I marked it as good first issue ... let's hope it's not a bottomless pit once someone has a closer look at it

Haha yeah. I mean, on the one hand maybe overloading that function with a signature allowing rvalue references is enough.
On the other hand, I've seen several C++ weekly videos by Jason Turner where he basically explains implementing std::function correctly is notoriously hard and a great exercise to learn about a lot of advanced C++ features.

So a great good first issue :)


Can't import png

This is where my sample image located.

Importing it to home screen

Here's the error in nextjs.

I think the problem is with the file extension.
When the file was compiled/bundle, the extension was changed to uppercase.

Interesting...does it work on native?

In native, no problem

It’s possible that expo next adapter is doing something to image imports. Will have to look into that.

I think upgrading expo next adapter might fix this.

I tried that and it is still not working, but I found this in stack overflow.
https://stackoverflow.com/questions/73142566/images-not-showing-with-expo-react-native-and-next
in next.config.js
just disable static image

Oh wait, I think it’s because of next-image in the next config. What if you remove that?
Your method will work too, but it will disable the optimizations.

Nice!
Removing next-images works!

Okay cool. I’m going to leave this open until it’s documented better.


How to use flt2plyEncode and ply2fltDecode

Can you produce a tutorial on how to use these functions with HElib. Whenever I try to use them I get this error:
test_x: PAlgebra.cpp:464: void PAlgebraModDerived::embedInSlots(PAlgebraModDerived::RX&, const std::vector&, const MappingData&) const [with type = PA_GF2; PAlgebraModDerived::RX = NTL::GF2X; typename type::RX = NTL::GF2X]: Assertion `deg(alphas[i]) < mappingData.degG' failed.
Aborted (core dumped)
This is a snippet from my code:
   //Scheme initialized up here

   vector <ZZX> ptxt1;
   vector <ZZX> ptxt2;

   for(int i = 0; i < nslots; i++) {
    double x = 5.3442234;
    double dum;
    long dumL;
    ZZX z;
    flt2plyEncode(z, dumL, dum, x, 52, -1, 3, m, 0);
    ptxt1.push_back(z);

    ZZX z2;
    double y = 4.5554;
    flt2plyEncode(z2, dumL, dum, y, 52, -1, 3, m, 0);
    ptxt2.push_back(z2);

   }
   Ctxt ctxt1(publicKey);
   ea.encrypt(ctxt1, publicKey, ptxt1);

   Ctxt ctxt2(publicKey);
   ea.encrypt(ctxt2, publicKey, ptxt2);

   ctxt1 += (ctxt2);

   vector <ZZX> res;
   ea.decrypt(ctxt1, secretKey, res);
   double xr, dumL ;
   ply2fltDecode(xr, res[0], dumL, 3, m, m, 0);
   cout << xr << endl;

Sorry for a late reply! We are preparing a small document essentially by compiling the comments in the API code. Regarding the bug, note that the fixed point encode and decode routines are not yet meant to work with slots. Currently, encryptFixedpt() and decryptFixedpt() routines provide interface only to the primitive publicKey.Encrypt() and publicKey.Decrypt() routines, respectively.


Error Importing CM Driver Package

Does anyone know how to fix the below error? DAT throws the below error when trying to import the driver package into SCCM.
I tried googling but I couldn't find anything related to this error.
I'm using version 7.2.3 with the patched DriverAutomationTool.exe.
======== Error(s) Occurred ========	DriverAutomationTool	4/3/2024 10:42:32 AM	6424 (0x1918)
[Error] - Not found , property = SDMPackageXML	DriverAutomationTool	4/3/2024 10:42:32 AM	6424 (0x1918)

Any update to this? I am having the same issue with specific packages. Some work some don't.

Unfortunately no updates 😐

You guys probably have SQL Server 2022 and need to set the compatibility of the database to SQL Server 2019 with this query:
ALTER DATABASE database_name
SET COMPATIBILITY_LEVEL = 150


bug in overlap and/or dipole moment matrix

The oscillator strengths go banana, even for small system.
It might be also a problem of unit conversion as the values along x, y, z seems to be ok-ish, but too large

The libint2 library expects the molecular geometies in Angstroms and I was passing au


Add progress callback on the start of the upload (#86)

Handles callback(0) made after the upload request was successfully created.
Tested with master and progress-bar (Tigge/openant#5) branches of openant.
Should be merged before the Tigge/openant#5.

Looks good! It needs to be rebased now with the python 3 work though, do you mind, or should I?

I'll do it.

done

Thanks!


feature: support temporary security credentials

this includes support for using temporary key credentials for AWS resources. exposes the sessionToken param, which is needed for this case.
see:
https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#temporary-access-keys
and:
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html

Thanks for contributing @atifali! I think this sounds like a nice addition to the Keys and secret auth, but let me run this through our contact person at AWS before moving forward with this.

@sunker any word on this yet?

I'll have an update later this week @atifali

I'll have an update later this week @atifali

Still waiting for feedback from AWS in this matter. Hopefully they'll get back to me in the next two weeks.

I was holding my review until I got confirmation from the AWS folks.
This PR only adds support to SIGV4 auth. It assume it needs to be added also to the normal auth flow? @atifali can you please open a new PR and add the session token args to this line of code?


xhr: {withCredentials: true} is not work on v.0.93  but work on v.0.7.4

xhr: {withCredentials: true} is not work on v.0.93  but work on v0.7.4

The option has changed, now its just {credentials: true}

@steffans
Although i use the latest API to turn on the credentials option, it still can not transfer CORS cookie.
Using JQ, I can transfer that. So it's not my CORS cookie setting problem.
If you can do that in v0.9.3?

@steffans btw, I have reset the default header within the 'POST' method, avoiding using OPTION method.

@Rockergmail  you can use
Vue.http.options.xhr = {credentials: true} in global

@lh8725473 when using v0.9.3 API, can you transfer the CORS cookies ?

@Rockergmail  yes

@lh8725473 there's only one setting in https://github.com/vuejs/vue-resource/blob/2f951df7261a5bd940438addf83b2a13de06c873/src/http/client/xhr.js#L39,
and, after trying I don't think Vue.http.options.xhr = {credentials: true} is useful.

wow, after use
Vue.http.options.credentials = true;

It's works well!

That option doesnt work on 0.9.3
var createCORSRequest = function(method, url) {
  var xhr = new XMLHttpRequest();
  if ("withCredentials" in xhr) {
    // Most browsers.
    xhr.open(method, url, true);
  } else if (typeof XDomainRequest != "undefined") {
    // IE8 & IE9
    xhr = new XDomainRequest();
    xhr.open(method, url);
  } else {
    // CORS not supported.
    xhr = null;
  }
  return xhr;
};

var url = 'CORS URL HERE';
var method = 'POST';
var xhr = createCORSRequest(method, url);

xhr.onload = function() {
  // Success code goes here.
};

xhr.onerror = function() {
  // Error code goes here.
};

xhr.withCredentials = true;
xhr.send();

that code working - instead of vue-resource


Error: RPCError 420: FLOOD_PREMIUM_WAIT_3 (caused by SaveBigFilePartRequest)

Hello
I have been using fasttelethon since 8 days and I'm facing below issue since last 4 days
Error: RPCError 420: FLOOD_PREMIUM_WAIT_3 (caused by SaveBigFilePartRequest)
code - 1
from FastTelethonhelper import fast_upload
client = TelegramClient(session_name, api_id, api_hash)
await client.connect()

result = await fast_upload(client, file_path)
await client.send_file(group_username, result)
...

code - 2
from FastTelethonhelper import download_file, upload_file
client = TelegramClient(session_name, api_id, api_hash)
await client.connect()

with open(file_path, "rb") as out:
         result = await upload_file(client, out,name=file_path)
...

(maybe both codes are same)
using windows 10, uploaded nearly 9-10GB (each file around 500MB to 1GB) using this method and then it started hurting me
Looking at FLOOD_PREMIUM_WAIT_3, I thought I had to wait for 3 seconds, but didn't work, 3 hours wait didn't work
It's been 3 days and I'm still receiving this error
please help
Day 6 : less than 100MB uploads worked with fast upload
Day 7 : 100MB also error now, less than 50MB working with fast upload

The error is Telegram's shitty way of promoting premium evasively.
telethon.errors.rpc_errors_re += (('FLOOD_PREMIUM_WAIT_(\\d+)', telethon.errors.FloodWaitError),)
add this to the top of your main file to hotfix this issue. untill its fixed from telethon or telegrams side


[UWP][Accessibility] Text in a select action should display as button text in high contrast mode

Platform
What platform is your issue or question related to? (Delete other platforms).

UWP

Details
The expected behavior is that text in a select action would display as if it were in a button in high contrast mode (overriding colors set by the card author). The current behavior in high contrast mode is that all text is displayed using the text colors.
Using the below card and the following high contrast settings:

The current result is as follows:

The text in the upper container should display in white rather than yellow, because white is the button text color.
Json:
{
	"type": "AdaptiveCard",
	"version": "1.0",
	"body": [
		{
			"type": "TextBlock",
			"text": "Container _WITH_ a select action. Text should show be in color specified in the card in non-HighContrast, and the High Contrast _BUTTON_ color in HighContrast.",
			"wrap": true,
			"weight": "Bolder"
		},
		{
			"type": "Container",
			"items": [
				{
					"type": "TextBlock",
					"text": "TextBlock with Accent color",
					"color": "Accent"
				},
				{
					"type": "TextBlock",
					"text": "TextBlock with Good color",
					"color": "Good"
				},
				{
					"type": "TextBlock",
					"text": "TextBlock with Warning color",
					"color": "Warning"
				},
				{
					"type": "TextBlock",
					"text": "TextBlock with Attention color",
					"color": "Attention"
				},
				{
					"type": "RichTextBlock",
					"inlines": [
						{
							"type": "TextRun",
							"text": "Rich Text Block: "
						},
						{
							"type": "TextRun",
							"text": "Accent, ",
							"color": "Accent"
						},
						{
							"type": "TextRun",
							"text": "Good, ",
							"color": "Good"
						},
						{
							"type": "TextRun",
							"text": "Warning, ",
							"color": "Warning"
						},
						{
							"type": "TextRun",
							"text": "Attention.",
							"color": "Attention"
						}
					]
				},
				{
					"type": "TextBlock",
					"text": "Fact set:"
				},
				{
					"type": "FactSet",
					"facts": [
						{
							"title": "Fact 1",
							"value": "Value 1"
						},
						{
							"title": "Fact 2",
							"value": "Value 2"
						}
					]
				}
			],
			"selectAction": {
				"type": "Action.Submit",
				"title": "ContainerSelect"
			}
		},
		{
			"type": "TextBlock",
			"text": "Container _WITHOUT_ a select action. Text should show be in color specified in the card in non-HighContrast, and the High Contrast _TEXT_ color in HighContrast.",
			"wrap": true,
			"weight": "Bolder",
			"separator": true
		},
		{
			"type": "Container",
			"items": [
				{
					"type": "TextBlock",
					"text": "TextBlock with Accent color",
					"color": "Accent"
				},
				{
					"type": "TextBlock",
					"text": "TextBlock with Good color",
					"color": "Good"
				},
				{
					"type": "TextBlock",
					"text": "TextBlock with Warning color",
					"color": "Warning"
				},
				{
					"type": "TextBlock",
					"text": "TextBlock with Attention color",
					"color": "Attention"
				},
				{
					"type": "RichTextBlock",
					"inlines": [
						{
							"type": "TextRun",
							"text": "Rich Text Block: "
						},
						{
							"type": "TextRun",
							"text": "Accent, ",
							"color": "Accent"
						},
						{
							"type": "TextRun",
							"text": "Good, ",
							"color": "Good"
						},
						{
							"type": "TextRun",
							"text": "Warning, ",
							"color": "Warning"
						},
						{
							"type": "TextRun",
							"text": "Attention.",
							"color": "Attention"
						}
					]
				},
				{
					"type": "TextBlock",
					"text": "Fact set:"
				},
				{
					"type": "FactSet",
					"facts": [
						{
							"title": "Fact 1",
							"value": "Value 1"
						},
						{
							"title": "Fact 2",
							"value": "Value 2"
						}
					]
				}
			]
		}
	],
	"$schema": "http://adaptivecards.io/schemas/adaptive-card.json"
}

This has affected a few skills over on Cortana.. Would lkely be medium priority (to revisit once we get a handle on the Priority-Urgent ones. @paulcam206 FYI

Corresponding ADO bug 24797295: [Accessibility][Supporting the Platform- Create a timer]: At high contrast modes the Links are not look like a Links in high contrast modes.


[SPARK-41309][SQL] Reuse INVALID_SCHEMA.NON_STRING_LITERAL instead of  _LEGACY_ERROR_TEMP_1093

What changes were proposed in this pull request?
This pr aims reuse INVALID_SCHEMA.NON_STRING_LITERAL instead of _LEGACY_ERROR_TEMP_1093.
Why are the changes needed?
Proper names of error classes to improve user experience with Spark SQL.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass GitHub Actions

Test first

381a5fb change the tests use checkError()

[error] /home/runner/work/spark/spark/connector/connect/src/test/scala/org/apache/spark/sql/connect/planner/SparkConnectPlannerSuite.scala:441:67: value setI32 is not a member of org.apache.spark.connect.proto.Expression.Literal.Builder
[error]                   .setLiteral(proto.Expression.Literal.newBuilder.setI32(32))))
[error]                                                                   ^
[error] /home/runner/work/spark/spark/connector/connect/src/test/scala/org/apache/spark/sql/connect/planner/SparkConnectPlannerSuite.scala:446:67: value setI32 is not a member of org.apache.spark.connect.proto.Expression.Literal.Builder
[error]                   .setLiteral(proto.Expression.Literal.newBuilder.setI32(32)))))
[error]                                                                   ^
[error] /home/runner/work/spark/spark/connector/connect/src/test/scala/org/apache/spark/sql/connect/planner/SparkConnectPlannerSuite.scala:466:69: value setI32 is not a member of org.apache.spark.connect.proto.Expression.Literal.Builder
[error]                     .setLiteral(proto.Expression.Literal.newBuilder.setI32(32)))))
[error]                                                                     ^
[error] three errors found

Seems the compile error not related to this pr

rebase to fix compile error

+1, LGTM. Merging to master.
Thank you, @LuciferYang.


Failed to load command: arkana

Hello! Whenever I run arkana, I'm seeing errors with Ruby 3.3.0. Does this look familiar? Anything other logs I could provide?
bundler: failed to load command: arkana (/opt/homebrew/lib/ruby/gems/3.3.0/bin/arkana)
/opt/homebrew/lib/ruby/gems/3.3.0/gems/arkana-2.1.1/lib/arkana.rb:3:in `require_relative': cannot load such file -- /opt/homebrew/lib/ruby/gems/3.3.0/gems/arkana-2.1.1/lib/arkana/config_parser (LoadError)
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/arkana-2.1.1/lib/arkana.rb:3:in `<top (required)>'
	from /opt/homebrew/Cellar/ruby/3.3.3/lib/ruby/3.3.0/bundled_gems.rb:74:in `require'
	from /opt/homebrew/Cellar/ruby/3.3.3/lib/ruby/3.3.0/bundled_gems.rb:74:in `block (2 levels) in replace_require'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/arkana-2.1.1/bin/arkana:4:in `<top (required)>'
	from /opt/homebrew/lib/ruby/gems/3.3.0/bin/arkana:25:in `load'
	from /opt/homebrew/lib/ruby/gems/3.3.0/bin/arkana:25:in `<top (required)>'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/cli/exec.rb:58:in `load'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/cli/exec.rb:58:in `kernel_load'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/cli/exec.rb:23:in `run'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/cli.rb:455:in `exec'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/cli.rb:35:in `dispatch'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/cli.rb:29:in `start'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/exe/bundle:28:in `block in <top (required)>'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/exe/bundle:20:in `<top (required)>'
	from /opt/homebrew/lib/ruby/gems/3.3.0/bin/bundle:25:in `load'
	from /opt/homebrew/lib/ruby/gems/3.3.0/bin/bundle:25:in `<main>'

Thanks in advance!

Hi @metasidd 👋
Have you tried installing via bundler? You can do so by adding arkana to your Gemfile and then running it via bundle exec arkana.
Let me know if that solves it! 🙏

Getting a similar error!
bundler: failed to load command: arkana (/opt/homebrew/lib/ruby/gems/3.3.0/bin/arkana)
/opt/homebrew/lib/ruby/gems/3.3.0/gems/arkana-2.1.1/lib/arkana.rb:3:in `require_relative': cannot load such file -- /opt/homebrew/lib/ruby/gems/3.3.0/gems/arkana-2.1.1/lib/arkana/config_parser (LoadError)
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/arkana-2.1.1/lib/arkana.rb:3:in `<top (required)>'
	from /opt/homebrew/Cellar/ruby/3.3.3/lib/ruby/3.3.0/bundled_gems.rb:74:in `require'
	from /opt/homebrew/Cellar/ruby/3.3.3/lib/ruby/3.3.0/bundled_gems.rb:74:in `block (2 levels) in replace_require'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/arkana-2.1.1/bin/arkana:4:in `<top (required)>'
	from /opt/homebrew/lib/ruby/gems/3.3.0/bin/arkana:25:in `load'
	from /opt/homebrew/lib/ruby/gems/3.3.0/bin/arkana:25:in `<top (required)>'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/cli/exec.rb:58:in `load'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/cli/exec.rb:58:in `kernel_load'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/cli/exec.rb:23:in `run'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/cli.rb:455:in `exec'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/cli.rb:35:in `dispatch'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/cli.rb:29:in `start'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/exe/bundle:28:in `block in <top (required)>'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
	from /opt/homebrew/lib/ruby/gems/3.3.0/gems/bundler-2.5.13/exe/bundle:20:in `<top (required)>'
	from /opt/homebrew/lib/ruby/gems/3.3.0/bin/bundle:25:in `load'
	from /opt/homebrew/lib/ruby/gems/3.3.0/bin/bundle:25:in `<main>'

which arkana gives...
/opt/homebrew/lib/ruby/gems/3.3.0/bin/arkana

bundler -v gives..
Bundler version 2.5.13

Some more information from gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 3.5.11
  - RUBY VERSION: 3.3.3 (2024-06-12 patchlevel 89) [arm64-darwin23]
  - INSTALLATION DIRECTORY: /opt/homebrew/lib/ruby/gems/3.3.0
  - USER INSTALLATION DIRECTORY: /Users/[username]/.gem/ruby/3.3.0
  - RUBY EXECUTABLE: /opt/homebrew/opt/ruby/bin/ruby
  - GIT EXECUTABLE: /usr/bin/git
  - EXECUTABLE DIRECTORY: /opt/homebrew/lib/ruby/gems/3.3.0/bin
  - SPEC CACHE DIRECTORY: /Users/[username]/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /opt/homebrew/Cellar/ruby/3.3.3/etc
  - RUBYGEMS PLATFORMS:
     - ruby
     - arm64-darwin-23
  - GEM PATHS:
     - /opt/homebrew/lib/ruby/gems/3.3.0
     - /Users/[username]/.gem/ruby/3.3.0
     - /opt/homebrew/Cellar/ruby/3.3.3/lib/ruby/gems/3.3.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => true
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /opt/homebrew/lib/ruby/gems/3.3.0/bin
     - /opt/homebrew/opt/ruby/bin
     - /opt/homebrew/bin
     - /usr/local/bin
     - /Users/[username]/Downloads/google-cloud-sdk/bin
     - /Users/[username]/Downloads/google-cloud-sdk/bin
     - /usr/local/bin
     - /System/Cryptexes/App/usr/bin
     - /usr/bin
     - /bin
     - /usr/sbin
     - /sbin
     - /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin
     - /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin
     - /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin
     - /Library/Apple/usr/bin
     - /Users/[username]/.rvm/bin

So weird, this seems to have done the trick.
sudo chmod -R 755 /opt/homebrew/lib/ruby/gems/3.3.0/gems/arkana-2.1.1/


Prevent pictures from overflowing the comment box

An issue regarding big pictures in comments was noticed by SirRucTheRandom (see one of the last comments).
A little CSS tweak fixed it:

Thanks for the fix. That did the trick.


proof_pietrzak Iterations

May I ask why in https://github.com/poanetwork/vdf/blob/master/vdf/src/proof_pietrzak.rs#L45-L58
the iteration number has to be even and >=66?  I couldn't find evidence for it in:

https://eprint.iacr.org/2018/627.pdf
https://eprint.iacr.org/2018/712.pdf

Good question.

We've figured it out.

the iteration number has to be even

https://eprint.iacr.org/2018/627.pdf 's idea is to keep halving, so the teration number has to be even

the iteration number has to be >=66

delta is 8 by defalut.

https://github.com/poanetwork/vdf/blob/c740ef3b9a4b4663b672ada93bb1c9ba0c80a965/vdf/src/proof_pietrzak.rs#L169

in generate_proof, when calculate_final_t, the last delta elements will be removed from the !Vec[.... 64, 32, 16, 8, 4, 2, 1], so iterations > 64

https://github.com/poanetwork/vdf/blob/c740ef3b9a4b4663b672ada93bb1c9ba0c80a965/vdf/src/proof_pietrzak.rs#L242

about delta
this is related to an optimization technique discussed in https://eprint.iacr.org/2018/627.pdf.
See section 6.2 Efficiency of the VDF's A minor efficiency improvement


Improve get state

Now it will correctly highlight active buttons also for headers, images and links.
I also added public getter for getState for example for external toolbars (my use case)
https://jsfiddle.net/adam187/tv89ns7r/

:+1:

Perfect, thanks!


feat(rpc): implement Filecoin.StateSectorPreCommitInfo

Summary of changes

Changes introduced in this pull request:

Implement RPC method Filecoin.StateSectorPreCommitInfo with tests

| RPC Method                             | Forest              | Lotus       |
|----------------------------------------|---------------------|-------------|
| Filecoin.StateSectorPreCommitInfo (13) | Valid               | Valid       |

Reference issue to close (if applicable)

Closes https://github.com/ChainSafe/forest/issues/4211
Other information and links

Change checklist

[x] I have performed a self-review of my own code,
[x] I have made corresponding changes to the documentation,
[x] I have added tests that prove my fix is effective or that my feature works (if possible),
[x] I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

Discussed TODOs in slack


Not working on IRCTC after home page

Describe the bug
I have successfully created a configuration to search train from IRCTC home page
To Reproduce
Steps to reproduce the behavior:

Import this configuration Search trains config.zip
Go to 'https://www.irctc.co.in/nget/train-search'
After it search for trains, I can't do any anything, I think the url change without DOM load event
Even another config with train list url don"t work

Expected behavior
It should work regardless of any user intraction, weaather the DOM is fully loaded or not (when triggered with hotkeys)
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop:

OS: Windows 10 2004
Chrome
Version 96.0.4664.110

it works on home page

https://youtu.be/IbfcO4ndgIw


Add c# 12 test project

I took the liberty of adding a test project for c# 12. I assume that this will have to wait until your test changes are done @sharwell , but this can be rebased or re-done easily. It was mostly mechanical work anyway. 4 (?) test cases failed on c# 12, so I updated those.

It may be possible to split the test executions into separate jobs that run in parallel, and then merge the result in a cleanup step. For now I just hit retry on the build.


Add function to disable cursor

For things like First-Person games, the cursor should be locked to the window, so moving too far left or right out of the window doesn't stop the gameplay.

I assume you are talking about desktop, right? FWIIW, I accomplished this by doing this (I do have a "game" using engo that requires the behavior you describe):
         // Disable cursor.
	if engo.CurrentBackEnd == engo.BackEndGLFW ||
		engo.CurrentBackEnd == engo.BackEndVulkan {
		glfw.GetCurrentContext().SetInputMode(glfw.CursorMode,
			glfw.CursorDisabled)
	} else {
		panic("Backend does not seem to support mouse capture.")
	}

https://github.com/brunoga/robomaster-control/blob/c6764bc8fee10ad3c8fa50899809f175ad0c068a/scenes/robomaster.go#L59


Sharing with tile

can you please add this to the browser
screens from safari

and add things action

Can you please elaborate more?

in ddg when i click "add to things" i get

i would like like that "new to-do" was prefilled with page title

Thanks for clarify, will try to fix that.

@awaan05 If this is still open I can take this up, I wanted to contribute to this project and don't see any other issue or bug to pick

@vonProteus does this works when you do the same action from safari?

@vonProteus does this works when you do the same action from safari?

Yes

@vonProteus I looked around, seems like solution to this problem is conforming Link to UIActivityItemSource and then it will take care of providing title from activityViewControllerLinkMetadata method, lmk if you want me to work on this.
thanks

@adityarajpt sure!


BUG - HTML file not detecting CSS code

HTML file not detecting CSS code
User Story
As the lead developer, I would like to ensure the html file reads the css file for stylings so that we can add custom styling to the tool.
Requirements

html site uses the css styling code

Bug fixed, site now looks as the following as proof:


Reduce docker test images

This PR changes all of our integration test images to use much leaner Dockerfiles. I also combined some test images to reduce number of pulls, where it was possible.

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

Comparison is base (cfbd80c) 80.02% compared to head (6763a6d) 42.15%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #364       +/-   ##
===========================================
- Coverage   80.02%   42.15%   -37.87%
===========================================
  Files          51       49        -2
  Lines        3999     3879      -120
===========================================
- Hits         3200     1635     -1565
- Misses        619     2138     +1519
+ Partials      180      106       -74

Flag
Coverage Δ

integration-test
?

unittests
42.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 37 files with indirect coverage changes

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

Thanks Mario!


Corrigindo CI workflow

Coverage remained the same at 98.95% when pulling 14d057d51945f101b01073383d519c5238efe44f on dev into 5bcdd3cf555846f97908a7fbee207acb871618eb on master.


add --confdir switch to security-secrets-setup

Signed-off-by: Enobong Udoko<EMAIL_ADDRESS>

@jim-wang-intel

brief history for this PR: the confdir flag was removed as part of the common bootstrap refactor. This is adding that option back for security-secrets-setup.

Codecov Report

Merging #1893 into master will increase coverage by <.01%.
The diff coverage is 25%.

@@            Coverage Diff             @@
##           master    #1893      +/-   ##
==========================================
+ Coverage   43.12%   43.12%   +<.01%
==========================================
  Files         184      184
  Lines       11738    11739       +1
==========================================
+ Hits         5062     5063       +1
  Misses       6389     6389
  Partials      287      287

Impacted Files
Coverage Δ

internal/security/setup/init.go
0% <0%> (ø)
:arrow_up:

cmd/security-secrets-setup/main.go
80.82% <50%> (+0.26%)
:arrow_up:

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 612c42d...4c25f13. Read the comment docs.


editing existing (or dropped) link - “OK“ is not clickable

on version 1.4.0 .NET 6.0

fixed in 1.4.1


SetupIntent API

In addition to the currently worked-on PRs for PaymentIntent & PaymentMethods, it would be great to have support for the SetupIntent object.
It is very similar to PaymentIntent but simpler.

I've already got SetupIntent working on a fork. I'll submit a pull request adding support for it as soon as PaymentMethods (#623) gets merged, since Confirming a SetupIntent expects a PaymentMethod.


[BUG] Can't Open Play Roblox because New Roblox Update

Acknowledgement of preliminary instructions

[x] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
I was just playing normally, and I saw there's a Roblox update, so I updated it, and after that, I couldn't open Play Roblox anymore, I actually could, and it shows in Task Manager, but it shows nothing. Hopefully you understand me. English isn't my first Language. Like everything seems to work fine except that it shows Roblox or anything. I can still change Bloxstrap Settings and open Bloxstrap Menu. Actually, I forgot to mention that the Normal Roblox still Opens. So yea...
I hope you guys can help me!

ye cant play roblox and keep crashing

ye cant play roblox and keep crashing

This is a Roblox error, 85% not related to bloxstrap

ye cant play roblox and keep crashing

Uhh, That's totally different from I had, I didn't crash, but it doesn't matter because It's not really even related to bloxstrap because it is just a normal Roblox error screen 💀

I hope this is going to get some knowledge soon.

Did you read https://github.com/pizzaboxer/bloxstrap/wiki/Roblox-crashes-or-does-not-launch

Are you using Vulkan?

Are you using Vulkan?

Yes I do.

Dude, I littearly switched it to something else, and it started working again 💀

wait i think it might be i need to update my uhh, you know

imma see if i have updates

idk why but vulkan doesnt work for me anymore, it used to, but not anymore. i had updates but it did absouletuly nothing.

i guess imma just use Automatic for now.

I didn't link you to the wiki article for no reason, mind you.

Thank you for the Help!


feat: enable chat completions

This commit enables chat completions endpoints
in the openai plugin

Thanks for the PR! I think the system prompt change will be nice but can be a follow-up enhancement. Merging!


documentation: add go mod vendor command

this fixes operator-sdk build errors as a result of missing vendor modules.
Fixes #1409
Description of the change:
Adds go vendor mod command to readme, so that operator-sdk build will succeed a few steps later. Otherwise the user will get a cannot load error missing vendor modules.
Motivation for the change:
Further fixes issue #1409

Thanks for your PR but we do not require the vendor directory anymore. I just tested this locally using master. See https://github.com/operator-framework/operator-sdk/issues/1564#issuecomment-504361320
Did you run into problems like this using master and needing the vendor directory?

hey @LiliC negative, I ran into this issue using 0.8.1. If the issue is fixed in master source code, but not in the latest binary release, we should update the https://github.com/operator-framework/operator-sdk/blob/master/doc/user/install-operator-sdk.md to instruct users on how to build the operator-sdk themselves, and possibly mention the curl method for getting binary releases if they want to use a specific version. Do you agree?
Because right now, following the README on master isnt working, and that is a bug.

@Jmainguy We do have build instructions for master at the bottom of the page. https://github.com/operator-framework/operator-sdk/blob/master/doc/user/install-operator-sdk.md#compile-and-install-from-master
We could put a mention somewhere to always look at docs for specific versions, but not sure where this would live.

@LiliC makes sense, updated PR, what do you think about putting a note there and wordsmithing it a bit?

/ok-to-test

/approve
/lgtm


Support for interpreter argument in console_scripts.

Originally reported by: nilp0inter (Bitbucket: nilp0inter, GitHub: nilp0inter)

HI
Is there any way of adding custom arguments to the shebang of the console_scripts generated?
If it's not possible, I'd like to propose the addition of such feature.
We are experiencing problems using some libraries (like wsgiref) that are doing "assert" internally. It is impossible to desactive them unless you use the "-O" parameter in the interpreter.
Thank you.

Bitbucket: https://bitbucket.org/pypa/setuptools/issue/204

Since the Python package ecosystem has moved towards standardisation in the last years, I think it would be better to discuss this proposals in https://discuss.python.org/c/packaging.
It would probably need a PEP, because it requires changing existing standards (https://packaging.python.org/en/latest/specifications/entry-points/).
I think the best would be closing this issue in the context of setuptools, for the time being.
If the community reaches consensus in the packaging forum I would be glad to continue with this conversation in a future proof of concept or PR 😄


iOS: App crash on init mixpanel sdk

ios platform: 14.5
Version: "mixpanel-react-native": "^2.0.0",
Device: Emulator
Issue:
on mixpanel.init() throwing an exception
"Exception 'initialize:optOutTrackingByDefault:properties:resolver:rejecter: is not a recognized Objective-C method.' was thrown while invoking initialize on target MixpanelReactNative with params?

@bharatbrovitech a fix has been published in v2.0.1

@jaredmixpanel It's fixed. Thanks 👍


File not Found.!

I was running the code through Colab but have faced a FileNotFoundError. Can you please help me with the issue. Below is the error message from colab.
`FileNotFoundError                         Traceback (most recent call last)
 in ()
6
7 train_data, train_table, dev_data, dev_table, train_loader, dev_loader = load_data.get_data(path_wikisql, batch_size = BATCH_SIZE)
----> 8 test_data,test_table,test_loader = load_data.get_test_data(path_wikisql, batch_size = BATCH_SIZE)
9 zero_data,zero_table,zero_loader = load_data.get_zero_data(path_wikisql, batch_size = BATCH_SIZE)    # Data to test Zero Shot Learning
/content/RoBERTa-NL2SQL/load_data.py in get_test_data(file_path, batch_size)
71     test_table = {}
72
---> 73     with open(file_path + '/test_knowledge.jsonl') as test_data_file:
74         for idx, line in enumerate(test_data_file):
75             current_line = json.loads(line.strip())
FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/MyDrive/NL2SQL/test_knowledge.jsonl'`

Did you do the first step in the Readme file?

Somehow the file got deleted. I added it again. It should work now.

I do not find the file in the drive link. Can you please check once.

So a lot of the files got deleted in a drive cleanup. I restored the data files. But the model checkpoints are gone unfortunately. I'm retraining the models and will save them, but it might take some time.
The scripts will work, but if you want to use the model, unfortunately you have to train it yourself for now.

Can you help me with the code for generating the test_knowlwdge file using the database table. So that I can work on different test sets.

I will help you with that, just give me a few days. I just got back to
India from an internship in the states so I'm just trying to get back on
track. I'll send you the code within a few days.
[image: Mailtrack]
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&
Sender
notified by
Mailtrack
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&
07/19/22,
12:38:31 PM
On Sun, 17 Jul 2022 at 20:42, StanlyBabu @.***> wrote:

Can you help me with the code for generating the test_knowlwdge file using
the database table. So that I can work on different test sets.
—
Reply to this email directly, view it on GitHub
https://github.com/DebadityaPal/RoBERTa-NL2SQL/issues/3#issuecomment-1186545224,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL2ZFXRNRP2KRC6DHSLBSWTVUQPGBANCNFSM53HXKIIA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Thank you. Does the model work for multiple columns retrieval.
Ex: SELECT ID,Name FROM Students WHERE Marks>90;
for a sentence "Display id and names of students who got marks above 90?".

The model cannot retrieve multiple columns.  That is a drawback, we even mentioned that in the future scope of our paper.

This colab contains the code to preprocess.
https://colab.research.google.com/drive/1QqD_zrbu6qa4BwmS2hv-si-Wbh-iCQJk?usp=sharing
You need the tables file and the query files to create the knowledge file which is what the model uses.

No worries. Are you able to access the colab notebook?

Yes. Thank you. Is Seq2Sql approach better or Roberta?

We found RoBERTa to be better.


Filter labels: make "Sort" the same font as "Filters".

Pulled from #38.

This actually appears complicated.
The sort by function was built as a "filter." So it has Filter as its parent just like any of the other options in the filter form, and what we see is the form that is generated.
To get the requested change is doable, but will take quite a bit of work. Is the time investment vs benefit tipped the right way? I don't think so.


🐞 - Link editor's issues

Code Example URL
https://stackblitz.com/edit/angular-yqhfns-d8j69b?file=src%2Fmain.ts
Description
I have found a couple of issues in the latest version of the link editor.

A trivial one: PR #1397 broke link editor's input autofocus. There is no more need to provide custom selector since [contenteditable] has been added upstream to the default query. So, this could be fixed by simply removing the new provider.
A tricky one to reproduce and debug. If you provide Angular animations using the provideAnimationsAsync() introduced in Angular 17, link edit dropdown closes unexpectedly when trying to edit the link.

To reproduce the second issue I have provided stackblitz demo:

add a link to some text
try to edit the link using the link editor
the link editor's dropdown closes unexpectedly

This issue might be upstream Taiga UI issue. Let me know if I should open a bug report there.
Also, the issue is only reproducible on Chrome, Firefox doesn't seem to have the issue.
Taiga UI version
4.8.1
Browser Used
Chrome
OS Used
Windows

If you can reproduce it with other Taiga UI dropdowns please file it for Taiga. We do reach out to animation engine inside ActiveZone directive so that might be related.

The code seems to just use simple [tuiDropdown]="dropdown". By "other dropdowns" do you mean you need even more simplified test case or sth else?
https://github.com/taiga-family/editor/blob/dbb5c51907edabbb66724781d82a97b6ef7b4167/projects/editor/components/editor/editor.component.html#L52
I have already debugged the code there and there is nothing there that explicitly closes the dropdown when you press the edit button.

Opening/closing is controlled with this directive:
https://github.com/taiga-family/editor/blob/main/projects/editor/components/editor/dropdown/dropdown-toolbar.directive.ts
So that could be editor issue, not Taiga UI issue. But if you face it with other Taiga UI dropdowns, please let us know.

Ok, I'll try to simplify the test case and see if I can reproduce it without the tuiToolbarDropdown.

@hakimio thank you very much!

Tried to reproduce using tuiDropdownSelection directive but that seems to work fine. So, it might be an issue with tuiToolbarDropdown:
Stackblitz demo
BTW, found another issue while looking at the link editor component: button tooltips have copy-pasted "Insert link" text:
https://github.com/taiga-family/editor/blob/6c8c4fc4ed44ee2639dad989ed2835421715bbb6/projects/editor/components/edit-link/edit-link.template.html#L33

@splincode the issue seems to be with TuiEditorDropdownToolbar. So, I don't think this should be moved to taiga ui repo.


⚠ Processors has degraded performance

In ebc5ee5, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 91 ms

Resolved: Processors performance has improved in 9b0dfd6.


Use ItemGroup for copying playwright.ps1

which copies files correctly when using publish.

CopyRuntimeConfigToOutput is no longer needed as there is no runtime config for netstandard2.0. (It was needed for NET 3.1/5/6 etc.)
PlaywrightBuildCleanup is no longer needed because Content files are automatically part of the clean target.
PlaywrightPlatform does not affect playwright.ps1.

Fixes #2098

Thank you @campersau!


Fix three of the prominent code typos

Two are harvester related

@WuJun2016 Could you take a quick look at these? I'm most concerned about the fix to owners. From what I can tell this works with metadata.ownerReferences which is only used in Harvester land. I couldn't get it to fire though with the Harvester i have running locally. Could you validate this and the other fix works?

One is v1 legacy chart related

@richard-cox  Because the owner function uses this.$rootGetters['cluster/schema'](kind),  so we don't use the owners in the resource-class file in the harvester, so this part of the change has no effect on harvester, and I tested it correctly.


Disable set of dates

I am using materialdatetimepicker to customise my calendar. My requirement is I want to disable all dates from today and next 31 days.
What I have tried.
1 - Set the minimum date to Today - datePickerDialog.setMinDate(now);
2 - Maximum date to 31 days from today. - datePickerDialog.setMaxDate(cal);
3 - Disabled the dates in between. datePickerDialog.setDisabledDays(otherCalendars);
When I do step 1 2 and 3 together, the Calendar is not opened at all and app freezes.
When I do the steps (1,2) and 3 seperately I get the correct results. But I only want to display next 31days from now and disable them all.
Here is the code which I have tried.
Where am I getting this wrong? any help is much appreciated.
        private DatePickerDialog datePickerDialog;

        DateTime startDateTime = new DateTime();
        DateTime endDateTime = new DateTime();
        endDateTime = endDateTime.plusDays(31);

        List<DateTime> otherDays = new ArrayList<>();
        while (startDateTime.isBefore(endDateTime)) {
            otherDays.add(startDateTime);
            startDateTime = startDateTime.plusDays(1);
        }

        Calendar[] otherCalendars = new Calendar[otherDays.size()];
                for (int count = 0; count < otherDays.size(); count++) {
                    otherCalendars[count] = otherDays.get(count).toGregorianCalendar();
                }

         datePickerDialog.setMinDate(now);
         Calendar cal = Calendar.getInstance();
         Date ddd = endDateTime.toDate();
         cal.setTime(ddd);
         datePickerDialog.setMaxDate(cal);
         datePickerDialog.setDisabledDays(otherCalendars);

Thanks R

You are effectively disabling all dates. When you perform all 3 steps there are no acceptable selections the user can make. The behaviour of the picker is undefined in this case.
What do you expect to happen in this case?
If the purpose is not that the user selects a date, you should probably be using a calendar widget rather than these pickers.


Challenge Test Broken = All test case correct using strict equality, still fails

Challenge Comparison with the Strict Equality Operator has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
var myVal = 7;
// Setup
function testStrict(val) {
  if (val === myVal) { // Change this line
    return "Equal";
  }
  return "Not Equal";
}

// Change this value to test
testStrict(10);
testStrict(7);
testStrict("7");

Issue appears to be in the fourth test case:  "assert(code.match(/(val\s*===\s*\d+)|(\d+\s*===\s*val)/g).length > 0, 'message: You should use the === operator');"

@shanethughes thanks for the issue. The challenge is trying to prompt you to do the (direct) comparison within the if statement, rather than compare to a variable. The comment is even pointing // Change this line. Closing as not an issue with the site. Happy coding!

Thank you erictleung, you are correct. The confusion was caused from how similar it is to the previous challenge Comparison with the Equality Operator , where it is almost identical except in this case it appears to not require the extra step of placing it in a variable.

The function names should be changed to testStrict7, testNotStrict17, testEqual12 etc.  if we students are expected to use a magic number in the function's body.

change ur 7's to a 12  and it will work i just had same issue and thats all i did was make the bottom two 12's and my var =12 and  also u notice u got === only suppose to be == and it should pass

change the (val ===myval) to (val === 7) it will pass


Can we have a more robust isEthers6Signer than instanceof ethers6.AbstractSigner?

https://github.com/oasisprotocol/sapphire-paratime/blob/cc2d765dfe08fcca4c51ddff5b4f655b3cf56dd2/clients/js/src/compat.ts#L342-L348
Currently isEthers6Signer and isEthers6Provider are very error prone. For it to work, the end project needs to install the exact same version of ethers6 and their package manager must deduplicate it and their bundler must import the same import the same output format ethers6/dist/ vs ethers6/lib.esm/ vs ethers6/lib.commonjs/ (and our library must not bundle dependencies or be served from CDN). If it isn't the same runtime instance then projectEthers6.6.2AbstractSigner instanceof compatEthers6.6.1AbstractSigner returns false

I agree this is a very brittle implementation, and a better method is necessary which doesn't use instanceof.

This has been implemented now

https://github.com/oasisprotocol/sapphire-paratime/pull/261


Remaining i18n on .vue files only

For #127

I'm going to squash these commits during the merge because it looks like something weird happened during a rebase.


Install Travis

https://github.com/nus-cs2103-AY1617S1/addressbook-level4/blob/master/docs/LearningOutcomes.md#use-continuous-integration-lo-continuousintegration

done on 20 Oct


Improve containers types to use iterable objects

Q
A

Is bugfix?
✔

New feature?
✔

Breaks BC?
❌

Fixed issues

Added ability to use iterable parameters.
For example, now you cannot use Generator as tags values.

@xepozz need a line for CHANGELOG. Also, it looks like BC-breaking change.

@xepozz need a line for CHANGELOG. Also, it looks like BC-breaking change.

Done. I can keep it for 2.0