Depend on all packages < 1.0.0, bump to 0.7.5

Changed all dependencies to use '^' instead of '>=', so bower does not
go searching for 1.0.0 packages and their dependencies.
Also bumped version to 0.7.5, so this can go on to bower soon,
hopefully.
(I finally read:
https://github.com/npm/node-semverhttps://github.com/npm/node-semver
).
It looks like the build (and a local install) failed because one of our
dependencies' dependencies does not yet exist in the right version.
Separate minor version, so things that depend on this (two of my
packages) that can't yet be upgraded because not all their (transitive)
dependencies exist in the right version yet.
I guess upgrading to all 1.0.0+ dependencies should be done in a version
of purescript-spec that is also 1.0.0?

Travis failures was:
bower resolved      https://github.com/purescript/purescript-math.git#0.2.0
bower ECONFLICT     Unable to find suitable version for purescript-exceptions
The command "bower install" failed and exited with 1 during .
Your build has been stopped.

:-( More build errors, on travis I don't know how to fix this one (related to npm install).
Suggestions?
quoting travis:
$ npm install
npm WARN deprecated<EMAIL_ADDRESS>'native-or-bluebird' is deprecated. Please use 'any-promise' instead.

<EMAIL_ADDRESS>install /home/travis/build/mostalive/purescript-firebase/node_modules/bufferutil

node-gyp rebuild

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
make: Entering directory `/home/travis/build/mostalive/purescript-firebase/node_modules/bufferutil/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h:43:3: error: #error This version of node/NAN/v8 requires a C++11 compiler
In file included from ../src/bufferutil.cc:7:0:
/home/travis/.node-gyp/6.1.0/include/node/v8.h:341:1: error: expected unqualified-id before ‘using’
/home/travis/.node-gyp/6.1.0/include/node/v8.h:477:1: error: expected unqualified-id before ‘using’
/home/travis/.node-gyp/6.1.0/include/node/v8.h:871:1: error: expected unqualified-id before ‘using’
In file included from ../../nan/nan.h:196:0,
             from ../src/bufferutil.cc:16:

Seems there is a problem with purescript on node 6, it might work on node 5. just came across this:
https://github.com/alexmingoia/pux-starter-app/issues/18

Thanks for reporting! I'll take a look at this ASAP. Been away on vacation, sorry for the delay.

No worries!
I noticed there are some other branches in the network (without pull
requests it seems, I didn't have time to look into it so far) working on
similar things, there is one with a similar version fix, and another
long-running branch with travis changes, which might be useful to fix the
NPM version.
Thanks for looking in to it, I hope you had a great holiday!
On Sun, Jun 12, 2016 at 1:48 PM, Oskar Wickström<EMAIL_ADDRESS>wrote:

Thanks for reporting! I'll take a look at this ASAP. Been away on
vacation, sorry for the delay.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/owickstrom/purescript-spec/pull/26#issuecomment-225430584,
or mute the thread
https://github.com/notifications/unsubscribe/AAK7uKTJjWrHoxqpsWnVEw1ztAfXXL41ks5qLAANgaJpZM4IyzeS
.

As many packages are moving to 1.0.0 and PureScript 0.9.1 is out I bumped our dependency versions to 1.0.0, which works well with PureScript 0.9.1 now.
As for the Node 5/6 thing, it seems there's nothing we can do here to fix it.
Thank you for the pull request!


Update to match upstream modifications

@plehegar Can you contact<EMAIL_ADDRESS>to get the latest version of the media files mentioned at README.md for upload to <media.w3.org>. The links to the files uploaded at <media.w3.org> should be listed directly at README.md (instead of the .URL files).


add configs with their models

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


jenkins: fix cleanup permission issue

Don't run commands as root so cleanup can take place.
Fixes #17

@halkyon I wanted to suggest you as reviewer but you're not in the storj-thirdparty org


Unable to register new User, server returns 500

Add labels appropriate to the issue
Describe the expected behaviour and the actual behaviour
Describe steps to reproduce the problem

I also meet the same problem on one Linux PC, but not in another on WSL2 on Windows PC.
There could be more than one case causing Internal Server Error 500 while registering a user:

This demo doesn't process user registrations with duplicate usernames.
The backend pods are not ready while registering a new user.

I suggest anyone to use k8s dashboard to check POD logs for investigating Internal Server Error 500.

Ya i tried to register using curl its not working , but when i tried to register using browser for a new user its working fine
i tried to register using api from https://microservices-demo.github.io/api/index?url=https://raw.githubusercontent.com/microservices-demo/user/master/apispec/user.json#!/default/Set_User
but this is the output :
% curl -H "Content-Type: application/json" -X POST -d '{username: "user012", password: "pass012", email<EMAIL_ADDRESS>firstName: "", lastName: ""}' -v  'http://a0dcfbe3094ff4d028b145a51f87ce17-e2d93e298df59a87.elb.us-east-1.amazonaws.com/register'
Note: Unnecessary use of -X or --request, POST is already inferred.
*   Trying <IP_ADDRESS>:80...
* Connected to a0dcfbe3094ff4d028b145a51f87ce17-e2d93e298df59a87.elb.us-east-1.amazonaws.com (<IP_ADDRESS>) port 80 (#0)
> POST /register HTTP/1.1
> Host: a0dcfbe3094ff4d028b145a51f87ce17-e2d93e298df59a87.elb.us-east-1.amazonaws.com
> User-Agent: curl/7.79.1
> Accept: */*
> Content-Type: application/json
> Content-Length: 96
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 500 Internal Server Error
< x-powered-by: Express
< content-type: application/json; charset=utf-8
< content-length: 70
< etag: W/"46-sLPzVo5PhDd2vj7iteBnTSCofbc"
< set-cookie: md.sid=s%3A0MHOixWjgJunVkezJfcKq6323kMpAnRY.qOZzLkDFBNu99SxbgkYdIG0nx5hwrBCT%2BKvNIJ39Lng; Path=/; HttpOnly
< date: Mon, 13 Jun 2022 16:07:40 GMT
< x-envoy-upstream-service-time: 5
< server: istio-envoy
<
* Connection #0 to host a0dcfbe3094ff4d028b145a51f87ce17-e2d93e298df59a87.elb.us-east-1.amazonaws.com left intact
{"message":"Cannot read property 'logged_in' of undefined","error":{}}

Steps to recreate :

have a Sock-shop micro service running
Register new user by

curl -H "Content-Type: application/json" -X POST -d '{username: "user012", password: "pass012", email<EMAIL_ADDRESS>firstName: "", lastName: ""}' -v  'http://<sock-shop-ip>/register'

it should give a 2XX  response


fix seed content registration bugs

Description
This PR fixes #
Notes for Reviewers

Panic due to meshkit error conversion
Improves logic to read recursively through directories so that the new ServiceMeshCon patterns could be readed and registered too.

ERRO[0000] read /home/rudraksh/.meshery/seed_content/patterns/servicemeshcon-na-2021: is a directory

Signed commits

[x] Yes, I signed my commits.

Fixing failing backend build. Its due to a fucntion that was moved from a package to another.


Review Filesystem requirements and design

We should take a look at what we really need from the Filesystem component, and if the current design meets those well.
One consideration is that some aspects of the Filesystem interface seem tied to exposing specifics of the current PhysFS implementation, rather than any particular high level interface. Others may be in contrast with common practice in other libraries such as <filesystem>, and may be worth looking into why.
One aspect mentioned by @cugone is the extension method, which returns extensions without the leading ".". This means there is no way to distinguish between the following two cases:
extension("file.");  // Currently "", perhaps should be "."
extension("file");  // Currently "", perhaps should be ""

We may also want to handle extensions used in directory names:
extension("DirName.ext/");  // Currently "ext/", perhaps should be ".ext"

One thought I had, is perhaps splitting out virtual filesystem methods from real filesystem methods. An example of a virtual filesystem concern is to restrict writing to a specific data folder, or finding static game assets packaged with the executable file. An example of a real filesystem concern is finding the user folder, or the app specific write folder, which would then be used as a mount point for the virtual filesystem.

Tagging Issue #175 as related, and PR #176 as related.
Edit: Tagging Issue #118 as related.

The original intention of the Filesystem object was to provide a platform independent way of reading from archive files that was transparent to the end user of NAS2D. Basically ,it allowed packing all data assets into a ZIP file (or similar) and reading from that. This was especially important at the time that NAS2D/The Legend of Mazzeroth was being developed (circa early 2008) as C++ had not really been updated, it was messy when dealing with filesystem code, etc.
With the recent updates to C++, filesystem operations are basically built into the language (with macOS continuing to be difficult). It basically means that using an external C-based library for filesystem operations is no longer necessary. Reading out of archive files is getting less and less important so at this point it's more about providing a consistent interface. But, seeing as C++17 effectively solved that problem the Filesystem object may now be superfluous.
The only advantage at this point is seamlessly reading from zip archives. Still though, that's more of a 'nice to have' type of deal and seems like it would be better for the end user to make said decisions to use the library. By not using it it would remove yet another dependency (zlib).
So I can be persuaded either way. Filesystem did what it needed to do until C++ caught up and provided a standard way to deal with the native filesystem. Pulling it would mean that all NAS2D based projects would need to deal with files directly but I don't really see that as a problem. At the same time, having the filesystem object does provide a simpler interface at the cost of overhead and unnecessary hand holding.

Any thoughts on this?
As a side note, this would require some internal changes to some of the asset loading as it does depend on the Filesystem object, so it's a bit of a project.

You make a good point in that our need for this layer has been greatly reduced, and can be reduced further.
I do like being able to use built in C++ language features whenever possible. In this case, the lag with MacOS support is a bit annoying though. I'd be tempted to leave in a small compatibility layer until that catches up.

What about features such as having a virtual filesystem? That's something the built in filesystem library doesn't attempt to address. We don't really need this, but some aspects of it may be nice. Some aspects of the asset loading currently depend on this in small and not particularly important ways.
Determining a platforms specific user write folder is another thing which isn't handled by the built in filesystem library. We do need that, for things like saved games, and it is rather fundamental to cross platform game development.
Perhaps the previous code can be replaced / broken up into smaller new components with a tighter focus.

@ldicker83
@DanRStevens
Good news! Apple Clang finally has actual <filesystem> support for Xcode 11.1/macOS 10.15 and up.
https://developer.apple.com/documentation/xcode_release_notes/xcode_11_release_notes

Clang now supports the C++17 <filesystem> library for iOS 13, macOS 10.15, watchOS 6, and tvOS 13. (50988273)

AND CircleCI has up-to-date support! https://circleci.com/docs/2.0/testing-ios/#supported-xcode-versions
This means that the process of migrating towards universal <filesystem> use with a replacement for the old PhysFS can begin!

That's very good news. I'd love to be able to use <filesystem> much more freely.
Just a quick reminder though that <filesystem> is not a complete replacement for everything the old Filesystem class handled. In particular, the platform specific write folders (issue #212) is not handled by <filesystem>, and so we'd need a small bit of custom code to manage that. We should write that code first, so the transition can be done smoothly.
There are also some virtual filesystem semantics handled by the old Filesystem class. That feature maps fixed resource names to static data distributed alongside the exe or packed into archives. We could either re-implement the support without PhysFS, or transition to not use virtual filesystem semantics. If we transition to not use virtual filesystem semantics, that will affect downstream projects, and so they'll need some kind of update, and it'll dump more responsibility on them. I remain a little uncertain how we would do that smoothly. My gut feeling is that retaining some degree of virtual filesystem semantics would be a smoother transition path. I don't believe it would be a whole lot of code to maintain virtual filesystem semantics, and I do think that would ease the burden on downstream projects.
I guess what I envision is that we'll still have a Filesystem class, but it will be implemented internally based on <filesystem> instead of PhysFS. Do that will require a bit of custom code to handle platform specific write folders, and abstracting away the actual filesystem location and reading data from either disk or archive files.

At the very least keeping the original interface and then just converting the implementation to use <filesystem> as much as possible as well as not deleting functions, only adding, would be a start and downstream projects wouldn't even know the difference.

I agree. That's probably a good way to start.
I'm sort of hoping that can be done through a series of small changes. I kind of want to keep change sets down to about one screen of code until we get a bit more momentum going again.


[fbxctest] Fix tiny documentation typos

Removed a superfluous backtick; "Framework" needn't be capitalized.

@facebook-github-bot shipit

Thanks for importing.If you are an FB employee go to Phabricator to review internal test results.


Leave Max Bid

I believe @katarinabatina has mocks for these. We need to:

[ ] Determine the API mechanism for leaving a max bid
[ ] Show button for leaving max bid or for opening auction (if it's open)

@ashfurrow so discussed this with @devangt and it looks like we have a minor snag. For Live, the bid increments will need to be predetermined which means an open form field will not be plausible for users wanting to enter a max bid. Instead they should be able to "Select a max bid" from pre-determined increments (working on a sketch to reflect this now)

These increments should be fed from whatever API determines our increments today for online only auctions

If there's a small number of values, maybe a stepper works better? like we did for the watch. Easier to navigate.
[ - ]  $45,000 [ + ]

@orta :+1:

@katarinabatina I think this is specific to the https://github.com/artsy/eigen/issues/1081 – I opened this issue for the "auction hasn't opened but I want to leave a max bid" flow.

@ashfurrow this applies to any lot in a live auction that has yet to go live.

@ashfurrow a video that shows 1. bidding on a lot on the block, 2. bidding on an upcoming lot, 3. bidding on an upcoming lot and getting outbid http://cl.ly/3q1u330c3O0z

full flow here

think this guy could work for the loading state https://cocoapods.org/pods/CPLoadingView

This is multiple view controllers, and a bunch of tricky networking things that I've seen in Eidolon. A conservative estimate puts it at 4 days.

And we've come full circle in this issue, back we go to the scrolly picker!

#1614


Classes not in "master" branch now shown in tree

In a project I have develop (primary) and master branches. I generate documentation for both at the same time and class, that is added only in develop branch is never shown in left navigation tree:

The interesting part is that if I search for that class using search box on the left, then class is found.

I bet this is caching related issues where left navigation tree is generated once and then reused for each branch.

When I generate docs for 1 branch only (the develop) then tree content is correct.

I have the same problem.  Looks like it's the same thing as described in #62 .
No problem when using --only-version= with branch or tag, but then you lose the version switcher also.

fixed now


React Quill removing all formatting and html tags from values when using used from a reopened modal

I am unable to provide code that replicates this, but here are the instructions:

In a Next.js project, create a modal using the Headless UI "Dialogue" component
dynamically import React Quill to be used within that modal for the inputs of a form.
Store the form value states in a React component using useState() and pass in the form values to Quill inputs as the defaultValue.
Set the state of the value using React Quill's onChange prop.
In localhost, type something into react quill (anything with formatting, e.g., a list)
close and reopen the modal
all formatting will be gone, and a console.log of the value will show that all html tags have been removed.

Speculation about the cause: It might have something to do with some race condition when we dynamically import the ReactQuill input into the modal. However, this is just speculation.
Hacky workaround: if I have a "firstRender" state, set it to true initially, set it to false using useEffect(..., []), but then render null on the first render by checking if "firstRender" is true, then the bug will no longer occur.

same :(

the same bug, The value auto remove some tags html.

@Johnrobmiller thanks for providing this workaround.

Something similar to this happens to me using CRA and Ant Design in a Modal component: react-quill was removing tags from the initial value that I passed to it. The workaround proposed here worked well for me. thanks @Johnrobmiller

@jjavierdguezas Comment works for CRA and Ant Design in a Modal. I have debugged it, and I am not sure why it is like this when the component gets mounted and we are assigning some predefined HTML code to the Quill editor value the onChange function gets triggered automatically, but when the value reaches to first time onChange function it already has stripped some of the HTML tags from it. Below code I have added in my example from @jjavierdguezas code which actually works for me.
`
const DescriptionModal = (props) => {
const { html } = props;
const [isInitialRender, setIsInitialRender] = useState(true);
const [emailBodyValue, setEmailBodyValue] = useState('');
const setHtml = (content, delta, source, editor) => {
if(source === "user") {
setEmailBodyValue(editor.getHTML());
}
};
return (
<Modal      {...modalProps}
>
{!isInitialRender && (
<>
{...}
<ReactQuill {...} value={html} onChange={setHtml} />
{...}
</>
)}

);
};
export default DescriptionModal;
`

const [isInitialRender, setIsInitialRender] = useState(true);

Not sure this question still actual, but I found that for CRA and Ant Design in a Modal destroyOnClose={true} cause this issue.

This bug is not fixed yet
A coworker found it in an Ant Design Modal.  @jjavierdguezas  solution works, but it's unclean

i am using Ant Design and and next.js 14 and the bug is not fixed yet 😫😫

Got the same problem. @McleanWorkshield's solution worked.


feat: manually import the IERC165 #97

Hello @0xneves,
I manually imported IERC165 into the 'interfaces' directory and then imported IERC165 on 'Swaplace.sol'
#97
This PR is ready for review

Hey @blackbeard002, thank you for the contribution!
Could you remove your custom 'package-lock.json' and 'yarn.lock' from the commit please?

Hey @0xneves I've removed my custom 'package-lock.json' and 'yarn.lock' from the commit

Hey @0xneves I've added back 'yarn.lock'. is this alright or should I do something else? sorry for the mess. I'm just getting used to git and opensource.

You are good my friend, welcome onboard :D


New serial command output

A serial command to request the actual output state is missing.
I have created a patch to solve that issue and some other issues with the serial communication.
But I'm not able to upload my diff file here... Can I send my diff to your notdot e-amil address, Nick?

Thanks for the contribution! It would be best if you could use Github's fork-and-pull-request process: https://help.github.com/articles/using-pull-requests/

Just created a fork and a pull request :)


lnd crash while synchronizing bitcoind with blockchain

I had the following problem with LND - it was running while bitcoind was updating database.
lnderrors.txt
command line:
./lnd --bitcoin.active --debuglevel=debug --bitcoin.node=bitcoind --bitcoind.rpcuser=*** --bitcoind.rpcpass=*** --bitcoind.zmqpath=tcp://<IP_ADDRESS>:29332 --tor.socks=9050 --tor.dns=nodes.lightning.directory --bitcoin.mainnet

Depending on your dbcache parameters for bitcoind it may have actually consumed all the available RAM not leaving any for lnd to continue its catch up.

Ok. If the problem appear again I will check bitcoid also. Thank you.

Please reopen if the issue persists


Update yolo_io.py

Can you explain why this was done? What issue does this resolve?

first of all, I use Ubuntu for only a few month so I still have a lot to
learn about this OS.
A few days ago, I found this project and I want to try it on my pc. so, I
followed your instructions there and when I tried to run it, it shows
errors saying something like can't import etree from lxml. I keep getting
that kind of error message no matter how many times I tried reinstalling my
lxml. when I searched about this message error, I found out that etree is
not imported from lxml but it is imported from xml. so I tried changing
lxml to xml and it worked on my pc.
that's why I proposed that change. as I said before, I'm still a newbie to
this OS so I don't really know if this case is only on my system or not so
I apologize if there's something wrong with that proposal.
On Tue, Jul 31, 2018, 08:41 vdalv<EMAIL_ADDRESS>wrote:

Can you explain why this was done? What issue does this resolve?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tzutalin/labelImg/pull/336#issuecomment-409065881,
or mute the thread
https://github.com/notifications/unsubscribe-auth/An6wxLSANJ2V-A84JTM8t3Db-Fm4raSTks5uL7XPgaJpZM4VlWt3
.

I had a similar or the same problem that lead to this pull request.
I think the problem should be solved differently and this pull request should not be applied.
On Ubuntu 20.04:
Error:
$ python3 labelImg.py
Traceback (most recent call last):
File "labelImg.py", line 40, in
from libs.labelFile import LabelFile, LabelFileError
File "/home/siegel/ai/labelImg/libs/labelFile.py", line 10, in
from libs.pascal_voc_io import PascalVocWriter
File "/home/siegel/ai/labelImg/libs/pascal_voc_io.py", line 6, in
from lxml import etree
ModuleNotFoundError: No module named 'lxml'
I had to install lxml:
$ sudo apt install python3-lxml
This solved the problem.


Record::is_owner: Replace Affine comparison with x coord comparison

Address is a wrapper for an Affine which is a valid point on Environment's curve. Previously we computed the 'x' coordinate from the Record's ciphertext and the ViewKey and tried to create a valid Address from it. This basically tries to compute the point on the curve which all parameters are fixed (only 'x' and 'y' are varying). That means that for each x from the domain there exist at least one solution and computing the Address can be understood as checking if this x belongs to domain of our Environments curve.
However since we are about to comparie it to the provided (already correct) Address we don't need to care about all of that as we can just compare the computed x coordinate to the provided one. If there exists an address for given x, then it's been already proven that it's possible to compute the point from this x so it must belong to the domain.
For 2000 transactions
ViewKey 1 is_owner - took 1470ms
ViewKey 2 is_owner - took 1460ms
ViewKey 3 is_owner - took 1426ms
ViewKey 4 is_owner - took 1459ms
For 2000 transactions
ViewKey 1 is_owner - took 1016ms
ViewKey 2 is_owner - took 983ms
ViewKey 3 is_owner - took 979ms
ViewKey 4 is_owner - took 995ms
-31.7%

closing as the change was already upstreamed


Install Apache Tomcat 7

https://www.webucator.com/article/how-to-install-and-configure-apache-tomcat-windows/

https://github.com/loftuxab/alfresco-ubuntu-install/issues/65
https://www.webucator.com/article/how-to-start-and-stop-apache-tomcat-from-the-comma/


feat(rules): add jsx-props-no-spread-multi

Please see notes in code.
I think this rule has value in catching some niche bugs, I personally only saw this ~3-4 times throughout my career.

No hard feelings if it's not merged, I understand it's more of a niche thing, worst case I will port it over to my own plugin :)

@ljharb do you have any suggestions where I could sample this rule against a larger set of JSX code in the wild? Github search hasn't been particularly helpful due to the lack of ast node search.
I ran this rule again some internal code bases and found 2 more violations which is still not statistically significant but an indicator that this may be more wide-spread than I thought.

Any interest/thoughts on this? If not I will close this PR eow and move into a separate library.

@SimonSchick we use https://www.npmjs.com/package/eslint-remote-tester to test things weekly, that might be worth looking into?

Updated, but CI seems to be wonky, I rebased ontop of upstream (this repo).

@ljharb ty for your time and including this!


Include bin_dir when patching helm tiller with kubectl

When helm is enabled kubectl patch deployment tiller-deploy fails because kubectl is not in the default PATH on CentOS 7. Other tasks in this repository invoke {{bin_dir}}/kubectl instead of kubectl. This PR adds the missing {{bin_dir}}
Closes https://github.com/kubernetes-incubator/kubespray/issues/1761

ci check this

CI passed, but didn't report back. Merging.


SyntaxError: Invalid regular expression:

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.32.2
Wrapper Library
MSAL React (@azure/msal-react)
Wrapper Library Version
1.5.0
Public or Confidential Client?
Public
Description
Cannot load<EMAIL_ADDRESS>due to access control checks.
Error Message
Cannot load<EMAIL_ADDRESS>due to access control checks.
SyntaxError: Invalid regular expression: invalid group specifier name —
Msal Logs
NA
MSAL Configuration
his.msalConfig =
{
	auth :
	{
		clientId     : env.AUTH_APP_ID,
		authority    : `https://login.microsoftonline.com/${ env.AUTH_TENANT_ID }/`,
				clientSecret : env.AUTH_CLIENT_SECRET,
	},
	system :
	{
		loggerOptions :
		{
			loggerCallback    : this.log,
			piiLoggingEnabled : true,
			logLevel          : msal.LogLevel.Verbose
		}
	}
};

Relevant Code Snippets
import PropTypes from "prop-types";
import React, { useContext } from "react";
import { connect } from "react-redux";

import LangContext from "../../localization/LangContext";
import { selectCurrentWorkspace } from "../../redux/selectors/workspaces";

function WSDetail(props) {
  const { strings } = useContext(LangContext);
  const {
    description,
    businessRegion,
    properties,
    workspaceType,
    licenseType,
  } = props.currentWorkspace;

  return (

          {strings.workspaceDashbaord.workspaceInfo}

                {strings.workspace.description}
                {":"}

              {description}

                {strings.workspace.region}
                {":"}

              {businessRegion}

                {strings.workspace.address.label}
                {":"}

                {properties ? properties.address : " - "}

            {workspaceType ? (

                  {strings.workspace.workspaceType}
                  {":"}

                {workspaceType}

            ) : null}
            {licenseType ? (

                  {strings.workspace.licenceType}
                  {":"}

                {licenseType}

            ) : null}

  );
}

WSDetail.propTypes = {
  currentWorkspace: PropTypes.object.isRequired,
};

function mapStateToProps(state) {
  const current = selectCurrentWorkspace(state);
  return {
    currentWorkspace: current,
  };
}
export default connect(mapStateToProps, null)(WSDetail);

Reproduction Steps
1.hit the application link, it will throw the error
Expected Behavior
Login into application
Identity Provider
Azure AD / MSA
Browsers Affected (Select all that apply)
Safari
Regression
2.32.2
Source
Internal (Microsoft)

Has someone fixed it?

@adamblok Do you have any more information on where the bug is happening?

@ralphtheninja Unfortunately I wasn't able to debug this and by steps by steps I've found that the problem is in 9.0.2. I think it's related to this PR https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/5484/files since it contains a new REGEX pattern.

@adamblok Thats my guess aswell, if I understand correctly iOS does not support lookbehind so the regex fails.

@Weschk Yes, you're right. This pattern doesn't work, since Safari doesn't support lookbehind in regex patterns as https://caniuse.com/js-regexp-lookbehind says.

I believe this was addressed in #5551

Can confirm having same issue on iOS/Chrome.

Closing as duplicate of #5548

@hectormmg since both issues are closed, and PR with fix is merged, is there any rough plan on releasing new version (with PR fix included)?


Website

[ ] don't need to be fancy. just like http://fuwei.us
[ ] select /docs in pages
[ ] maybe add .nojekyll file (empty) to directory

don't need to be fancy. just like http://fuwei.us
select /ddocs in pages
add .nojekyll file (empty) to directory

http://github.com/ai-se/se4cs


Audio not working on iOS devices

Description:
I've basically created a music web app using Flet and deployed it on Replit.
The issue lies with the most important function of the app - the audio - for iOS devices. The audio plays perfectly well on a Linux laptop (Brave Browser), MacBook (Safari) and Andriod phone (Chrome).
But I cannot hear any audio when I try to play any music on an iPhone and iPad (Safari and Firefox).

Is audio not supported on iOS?
I thought it's got to something with the auto-play feature, but disabling that also fails.
Or is it something to do with how Replit handles audio?

Just checked your app. That was really hard to spot a search box! :)
Indeed, the audio doesn't work in a mobile Safari, though it works on macOS in both Safari and Chrome. I'll try to investigate.

Could you drop a few links to audio files you are trying to play?

Oops, there is an open issue (without a solution/workaround 😟): https://github.com/bluefireteam/audioplayers/issues/813

https://pub.dev/packages/just_audio could be an alternative. Will investigate.

Thanks for the response!

Oops, there is an open issue (without a solution/workaround worried): https://github.com/bluefireteam/audioplayers/issues/813

Well, that's unfortunate.

https://pub.dev/packages/just_audio could be an alternative. Will investigate.

I believe a user commented on the linked issue that just_audio works just fine. So it looks promising.
Moreover, the same issue exists on Chrome as well. I'll let you know about that too.

Yep, it doesn't work on Chrome as well (iPhone & iPad tested).

Issue should be moved to Flet main repo, I think.


Is there any way to use fresh with Delve debug?

I'm wanting to use delve and fresh on a docker container to build and debug my project even when i alter some file. Anyone know how to do it?

I have created a similar project based on fresh. It allows you to to switch modes from rebuild to debug. https://github.com/kolah/runner


Config Validation For Generic Matching

With introduction of generic matching API,  data input and the input matcher can be types other than std::string.
data_input and input_matcher are self_validated to valid proto by configuration validation, but the check missing here is that we need to make sure input and matcher are matched. Invalid configs, for example: int input +  string matcher; string input + int matcher,  int input + CEL matcher.
We just reject those invalid configuration

/assign @tyxia


Intel PVC GPU + vLLM

I currently see a prerequisite of CUDA for vLLM models. We currently have a cluster with Intel PVC GPUs. I would like to know if there are plans on abstracting vllm to use our pre-trained models so that it can run without CUDA.

Hi @atanikan, thanks for your interest in vLLM. We are definitely interested in supporting more diverse hardware backends. However, currently we don't have expertise on Intel PVC GPUs and don't even have access to them. Therefore, we won't be able to do it by ourselves, while we'd love to help if someone works on integration.

hi @atanikan, I open a PR(#3814 ) to support Intel PVC + vLLM, Please take a try.


[hlslpp] Add new port

[x] Changes comply with the maintainer guide.
[x] The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines.
[x] Optional dependencies are resolved in exactly one way. For example, if the component is built with CMake, all find_package calls are REQUIRED, are satisfied by vcpkg.json's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx.
[x] The versioning scheme in vcpkg.json matches what upstream says.
[x] The license declaration in vcpkg.json matches what upstream says.
[x] The installed as the "copyright" file matches what upstream says.
[x] The source code of the component installed comes from an authoritative source.
[x] The generated "usage text" is accurate. See adding-usage for context.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is in the new port's versions file.
[x] Only one version is added to each modified port's versions file.

@microsoft-github-policy-service agree [company="default"]
Sent from Outlook for iOShttps://aka.ms/o0ukef

From: microsoft-github-policy-service[bot] @.>
Sent: Sunday, August 11, 2024 7:14:36 PM
To: microsoft/vcpkg @.>
Cc: Pantelis Lekakis @.>; Mention @.>
Subject: Re: [microsoft/vcpkg] Hlslpp port (hlsl++ from https://github.com/redorav/hlslpp) (PR #40400)
@plekakishttps://github.com/plekakis please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement
Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft and offered under a license
approved by the Open Source Initiative (www.opensource.orghttp://www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions is entirely Your original work.
Should You wish to Submit materials that are not Your original work, You may Submit them separately
to the Project if You (a) retain all copyright and license information that was in the materials as You
received them, (b) in the description accompanying Your Submission, include the phrase “Submission
containing materials of a third party:” followed by the names of the third party and any licenses or other
restrictions of which You are aware, and (c) follow any other instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which
You later become aware that would make Your representations in this Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.

—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vcpkg/pull/40400#issuecomment-2282844342, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABL7J5ISY5NMZCGOEW5V6STZQ6SYZAVCNFSM6AAAAABMK6L4VWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBSHA2DIMZUGI.
You are receiving this because you were mentioned.Message ID: @.***>

@microsoft-github-policy-service agree
Sent from Outlook for iOShttps://aka.ms/o0ukef

From: microsoft-github-policy-service[bot] @.>
Sent: Sunday, August 11, 2024 7:29:20 PM
To: microsoft/vcpkg @.>
Cc: Pantelis Lekakis @.>; Mention @.>
Subject: Re: [microsoft/vcpkg] Hlslpp port (hlsl++ from https://github.com/redorav/hlslpp) (PR #40400)
@plekakishttps://github.com/plekakis the command you issued was incorrect. Please try again.
Examples are:
@microsoft-github-policy-service agree
and
@microsoft-github-policy-service agree company="your company"
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vcpkg/pull/40400#issuecomment-2282847899, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABL7J5PJ2ZPSJF3IAAZZT6TZQ6UQBAVCNFSM6AAAAABMK6L4VWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBSHA2DOOBZHE.
You are receiving this because you were mentioned.Message ID: @.***>

Note: I will be converting your PR to draft status. The above suggested changes are only recommendations. If you are willing to adopt them, please click "ready for review" after making the modifications. If you do not wish to make any changes, please click "ready for review" directly. That way, I can be aware that you've responded since you can't modify the tags.

Apologies for all the above, this is my first vcpkg contribution and I am learning still.
I'm talking to the author of hlslpp and doing this in his place instead, so I would still like this to be an official port - bear with me and will sort it all out properly.

Usage test pass with following triplet:
x64-windows


Use tags.synced to decide whether content is pushed

It was discovered recently that the simulations don't use the correct logic to decide when a chunk is pushed. Right now, simulations consider a chunk pushed whenever we get back the hash, but a chunk is only pushed whenever we get back a receipt (in the meantime, the chunk is in the pusher queue).
I suggest to update the logic:

Create a tag manually
Push the chunk
Watch the tags endpoint and consider a chunk synced whenever tags say it is synced

Please note that for content that the tags may not work 100% due to internal logic errors (tags always has been a bit of an issue). Furthermore, it may be the case that, while no receipt is returned, the content is available in the network. For these reasons, it would be optimal that the node tries to retrieve the content even if the tags is not at 100% after a certain timeout and log this success rate separately from the success rate of content that have tags at 100%.
Further reading on tags: https://docs.ethswarm.org/docs/access-the-swarm/syncing/

https://github.com/ethersphere/beekeeper/pull/180


Getting a "Bad Authentication" in console (v3)

Hi, I'm using the snippet from remixed glitch project on my site and I'm getting this:

Hey @littlefengers. I just walked through the glitch remix too and it's working as expected for me. Can you confirm you've added your unique Client ID and Client Secret to .env in the Glitch project?
If you have and you're still running into trouble, can you provide a bit more detail about what you're attempting. Also, if you've remixed the glitch project, can you share a link to it? Either of those would help diagnose this issue you're hitting.


Limited implementation on WebSocket tester

Implementations

Implement basic UI components (RFC / WIP)
Implement WebSocket Service
Implement WebSocket Limited Section

Improvements

Reorganize directories in order to use one directory for all the source code

RFC

Shape of WebSocket messages:

How are we going to standarize messages?
Are we going to implement JSON and Text or only one?

You need to update launch.json file (vscode debugger) and set the new main.js path

Are we going to implement JSON and Text or only one?
I'd say just JSON

How are we going to standarize messages?
It's too early to answer this, i have no idea


Docs: fixing an error when running kpt pkg update from outside local git repo

Had an error when tried to run kpt pkg update<EMAIL_ADDRESS>--strategy=resource-merge from outside the local git repo using the folder name "helloworld", to make this work had to move inside the helloworld directory, where i performed git init before, and use . as path.
Propose to change the content to match the above instructions.

Thanks!


File variables stored as Strings are lost when entering a scatter block

Because of the way that dxWDL implements Scatter blocks (as a separate app from the workflow block), a filepath stored as a String will be passed into the scatter block as a String, and then try to be converted to a File when running the task, but at this point the file is not present. Consider this (simplified) WDL:
workflow mutect2 {
  Array[File] tumourSamples
  Array[File] normalSamples
  File genomeReference
  Array[File] genomeIndices

  # Array of sample data, in the format [id, read1, read2] (because dxWDL doesn't support Map[])
  Array[Array[String]] samples = [["tumour", tumourSamples[0], tumourSamples[1]], ["normal", normalSamples[0], normalSamples[1]]]

  scatter (sample in samples){
    call align {input: read1=sample[1], read2=sample[2], sampleName=sample[0], reference=genomeReference, referenceIndices=genomeIndices}
  }
}

task align {
  File read1
  File read2
  String sampleName
  File reference
  Array[File] referenceIndices

  command {
    bwa mem ${reference} ${read1} ${read2} -R "@RG\tID:${sampleName}\tSM:${sampleName}" > ${sampleName}.bam
  }

  output{
    File bam = "${sampleName}.bam"
  }
}

This code compiles to two applets, the first of which succeeds, the second of which fails:

This second applet failed with the following error:
envWithIterItem= Map(samples -> WdlVarLinks(WdlMaybeEmptyArrayType(WdlMaybeEmptyArrayType(WdlStringType)),DxlComplexValue([["tumour","/home/dnanexus/execution/inputs/HG002_L1_R1.fastq.gz","/home/dnanexus/execution/inputs/HG002_L1_R2.fastq.gz"],["normal","/home/dnanexus/execution/inputs/HG003_L1_R1.fastq.gz","/home/dnanexus/execution/inputs/HG003_L1_R2.fastq.gz"]],Vector())), genomeReference -> WdlVarLinks(WdlFileType,DxlJsValue({"$dnanexus_link":"file-B6qq93v2J35fB53gZ5G0007K"})), genomeIndices -> WdlVarLinks(WdlMaybeEmptyArrayType(WdlFileType),DxlJsValue([{"$dnanexus_link":"file-B6qq26v2J35bKZyfjZYQ0016"},{"$dnanexus_link":"file-B6qq53v2J35Qyg04XxG0000V"},{"$dnanexus_link":"file-B6qq6z42J35zJ6VJYbG0002f"},{"$dnanexus_link":"file-F2pJvF80Vzx54f69K4J8K5xy"},{"$dnanexus_link":"file-F2fYbF001473K5y08y11825F"},{"$dnanexus_link":"file-B6qqBkv2J35fB53gZ5G000Bv"}])), sample -> WdlVarLinks(WdlMaybeEmptyArrayType(WdlStringType),DxlComplexValue(["tumour","/home/dnanexus/execution/inputs/HG002_L1_R1.fastq.gz","/home/dnanexus/execution/inputs/HG002_L1_R2.fastq.gz"],Vector())))
dxWDL.AppInternalException: java.lang.RuntimeException: Output file /home/dnanexus/execution/inputs/HG002_L1_R1.fastq.gz is missing
	at dxWDL.Utils$.uploadFile(Utils.scala:454)
	at dxWDL.WdlVarLinks$.uploadFile$1(WdlVarLinks.scala:213)
	at dxWDL.WdlVarLinks$.jsOfComplexWdlValue(WdlVarLinks.scala:224)
	at dxWDL.WdlVarLinks$.apply(WdlVarLinks.scala:257)
	at dxWDL.RunnerEval$.evalDecl$1(RunnerEval.scala:89)
	at dxWDL.RunnerEval$.$anonfun$evalDeclarations$3(RunnerEval.scala:99)
	at dxWDL.RunnerEval$$$Lambda$187/253011924.apply(Unknown Source)
	at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:234)
	at scala.collection.TraversableLike$$Lambda$26/1007309018.apply(Unknown Source)
	at scala.collection.immutable.List.foreach(List.scala:378)
	at scala.collection.TraversableLike.map(TraversableLike.scala:234)
	at scala.collection.TraversableLike.map$(TraversableLike.scala:227)
	at scala.collection.immutable.List.map(List.scala:284)
	at dxWDL.RunnerEval$.evalDeclarations(RunnerEval.scala:98)
	at dxWDL.RunnerScatter$.$anonfun$evalScatter$1(RunnerScatter.scala:260)
	at dxWDL.RunnerScatter$.$anonfun$evalScatter$1$adapted(RunnerScatter.scala:254)
	at dxWDL.RunnerScatter$$$Lambda$195/1482246673.apply(Unknown Source)
	at scala.collection.Iterator.foreach(Iterator.scala:929)
	at scala.collection.Iterator.foreach$(Iterator.scala:929)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1406)
	at scala.collection.IterableLike.foreach(IterableLike.scala:71)
	at scala.collection.IterableLike.foreach$(IterableLike.scala:70)
	at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
	at dxWDL.RunnerScatter$.evalScatter(RunnerScatter.scala:254)
	at dxWDL.RunnerScatter$.apply(RunnerScatter.scala:366)
	at dxWDL.Main$.appletAction(Main.scala:243)
	at dxWDL.Main$.dispatchCommand(Main.scala:275)
	at dxWDL.Main$.delayedEndpoint$dxWDL$Main$1(Main.scala:327)
	at dxWDL.Main$delayedInit$body.apply(Main.scala:14)
	at scala.Function0.apply$mcV$sp(Function0.scala:34)
	at scala.Function0.apply$mcV$sp$(Function0.scala:34)
	at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
	at scala.App.$anonfun$main$1$adapted(App.scala:76)
	at scala.App$$Lambda$5/2111991224.apply(Unknown Source)
	at scala.collection.immutable.List.foreach(List.scala:378)
	at scala.App.main(App.scala:76)
	at scala.App.main$(App.scala:74)
	at dxWDL.Main$.main(Main.scala:14)
	at dxWDL.Main.main(Main.scala)
Caused by: java.lang.RuntimeException: Output file /home/dnanexus/execution/inputs/HG002_L1_R1.fastq.gz is missing
	at dxWDL.AppInternalException.<init>(Utils.scala:26)
	... 39 more
failure running LaunchScatter

The short answer, is that the strings need to be defined as Files, so that dxWDL will know to pass them as such.
In this particular case, however, you had to use an Array[Array[String]] to get around a type limitation. If you don't want to wait for maps to be implemented, you can separate the structure into an Array[String], and an Array[Array[File]], like this:
Array[String] sampleNames= ["tumour", "normal"]
Array[Array[File]] sample = [[tumourSamples[0], tumourSamples[1]], [normalSamples[0], normalSamples[1]]]

Then, the iteration can be:
scatter (i in length(sampleNames)) {
     Array[String] row = sample[i]
     call align {input: read1=row[0], read2=row[1], sampleName=sampleNames[i], reference=genomeReference, referenceIndices=genomeIndices}
}

Thanks, that's a nice workaround (although it should be scatter (i in range(length(sampleNames)), I think).
I suspect, because of this limitation (filepaths having to be Files, not Strings), I won't be able to use Map even when it's implemented, because I need a mix of String and File types. So separate arrays may be how I do it (at least until WDL creates structs/strongly typed objects)

@TMiguelT, can this issue be closed?

I wonder if this should be documented somewhere, since it doesn't work the same as ordinary WDL.

Agreed; this is surprising. I will document it in the readme file.

This problem has been fixed on master branch through the use of type coercion.


form.disable() for Reactive Form (v9) only partially applies disable style to input group

Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-9-reactive-form-disabled-input-issue
Steps to reproduce

Create a Reactive Form using API available in Angular 9.
Use NG-ZORRO's input component with icon prefix (via nz-input-group).
Call FormGroup's form.disable().

What is expected?
The whole nz-input-group styled as disabled.
What is actually happening?
Only raw input text input area gets disabled style.

Environment
Info

ng-zorro-antd
9.0.2

Browser
Firefox Developer Edition 76.0b8 (64-bit)

fixed by #5082

This issue still seems present in v9.1.2. Here is the same reproducible app in v9.1.2: https://stackblitz.com/edit/ng-zorro-antd-9-reactive-form-disabled-input-issue-duhe6n
And here is the same issue presented in more complex scenario that we are experiencing after migration to v9:
v9.1.1: https://stackblitz.com/edit/ng-zorro-antd-9-reactive-form-disabled-input-issue-swxhev
v8.5.1 (issue not present): https://stackblitz.com/edit/angular-puqhtc


Timeline for sunsetting Python 2 support

Python 2 support will end officially in January 1, 2020.
Many projects, most notably Numpy, which is a dependency of opencv-python, will start dropping Python 2 support gradually a bit earlier: https://www.numpy.org/neps/nep-0014-dropping-python2.7-proposal.html
Some other projects which are dropping Python 2 support: https://python3statement.org/
I'm currently planning to continue providing opencv-python builds for Python 2.7 until the end of 2019.
This issue is a heads up for those who are still using Python 2. I highly recommend to start migrating into Python 3 as soon as possible.
https://www.python.org/doc/sunset-python-2/

https://www.python.org/doc/sunset-python-2/ Python 2 sunset notice.
Python 3.4 is also already in EOL phase. I will remove both Python 2.7 and 3.4 from the build matrices soon.

Python 2.7 support has officially ended. ⚰🕊

Yeah, upcoming 4.2.0 / 3.9.0 opencv-python release will be the last release which includes Python 2.7 builds.

@skvark  I'm building opencv3.4.9 and contrib3.4.9 for python2.7. But, no matter what I do in cmake, xfeatures2d is always in both To be built list and Unavailable list, I don't know why:
OpenCV modules:
--     To be built:                 aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dpm face features2d flann fuzzy hfs highgui img_hash imgcodecs imgproc line_descriptor ml objdetect optflow phase_unwrapping photo plot python2 reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab xfeatures2d ximgproc xobjdetect xphoto
--     Disabled:                    world
--     Disabled by dependency:      -
--     Unavailable:                 cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv freetype hdf java js matlab ovis python3 sfm viz xfeatures2d
--     Applications:                tests perf_tests examples apps
--     Documentation:               NO
--     Non-free algorithms:         YES
make and make install goes well, and I can use xfeatures2d in c++ but not in python. I'm using MacOS 10.15.3, I know it is better using python3 now, but I failed to build cv2.so for my python3.7 built in Xcode too. cv2.so did build for python2.7 but when I run this code:
sift = cv2.xfeatures2d.SIFT_create()
I get this message: AttributeError: 'module' object has no attribute 'xfeatures2d'
Thanks for your help.

Problem Solved!!!✌, @skvark  sorry to disturb you. It is because that xfeatures2d requires boostdesc_bgm.i etc, and I have a bad internet connection, so I download them manually, and changed the download link in download_boostdesc.cmake to my local filesystem. However, this causes hash mismatch for those files, so cmake print out warnings and make xfeatures2d unavailable automatically. Everything goes well after I remove that statement that disables xfeatures2d for hash mismatch.

This is a issue tracker. Please do not hijack it for own purposes. Stack Overflow and https://answers.opencv.org/questions/ are the correct place for this kind of questions.

@skvark oh, Ah..sorry, I will delete my comments right now.

Including these two.

Python 2.7 as well as 3.4 has been removed from the build matrix.


clarify "A JSON object MUST be at the root of every JSON API response."

The statement here conflicts with the inability to send a body with a 204 No Content response. I interpret a 204 as still falling under the category of a "JSON API response," though it is one without a document.
This is a stab at rewording, but feel free to tweak or clarify in your own way.
Also from RFC 7231: "A 204 response is terminated by the first empty line after the header fields because it cannot contain a message body."

I agree that this is nice to call out. Thank you!


The datadog base check should include most of the core agent deps

What does this PR do?
We want the datadog base check to include the core agent deps.
Open Questions
Should it include the ones that require gcc?

@ofek I can add it but why is that a blocking issue?

Thanks! I only asked because that is also a common dependency.


WebPlatform Logo optimized

I optimized the WebPlatform.org logo, 897 bytes.
https://raw.githubusercontent.com/watersb/watersb.github.io/master/img/svg/logos/WebPlatform Logo.svg

hello!
Thanks for the link but I'm not really worried about file size for the logos in this repo.
You could use a tool like svgo if you really need to optimize any of these in your build process.
[s]


Bookmarks features and changes for issue #40

Resolving issue #2, #39 and #40

Test comment 22. Nov.


Fix label support in PDB.cpp

I forgot to add trim() function when reading label.

Some spacing was missing in the PDB output, neither Pymol or VMD could read coordinates properly. I also added a default resName "RES" to each atom.
Checking each atom for its residue seems quite inefficient, but since Residue objects are so optional (topologies may completely lack residues, have all its atoms grouped in residues or they may even have only some of its atoms in residues), I couldn't figure an elegant workaround.
I overextended in the initial intention of this pull request, so please let me know if you find these changes appropriate.

Checking each atom for its residue seems quite inefficient, but since Residue objects are so optional (topologies may completely lack residues, have all its atoms grouped in residues or they may even have only some of its atoms in residues), I couldn't figure an elegant workaround.

Checking atom for residue should not be too expensive: it is only a lookup in a map.
I usually prefer making the software correct first, and fast later. In this case, I do not think the performance penalty is too high, and I prefer having a better PDB output.

Some spacing was missing in the PDB output, neither Pymol or VMD could read coordinates properly.

Let me just check the standard about that, and then let's merge this PR!

Let me just check the standard about that, and then let's merge this PR!

I misread the standard when writing this code, sorry about that.
Could you modify the code to use the real residue name/id when available? I feel like this is the better and less surprising thing to do.

I misread the standard when writing this code, sorry about that.

It's quite annoying to read and understand, it took me a while to get it righ

Could you modify the code to use the real residue name/id when available? I feel like this is the better and less surprising thing to do.

Yes, this chunk of code handles that.
 +        std::string resname;
 +        size_t resid;
 +        if (auto resopt = frame.topology().residue(i)) {
 +            resname = resopt->name();
 +            resid = resopt->id();
 +        }
 +        else {
 +            resname = "RES";
 +            resid = i;
 +        }

This is a line I got with a residue I named "ANA" and an atom named "N3"
HETATM   11   N3 ANA X   3     -21.423  27.921 -23.949  0.00  0.00           N

Sorry, I missed that.


Allows more generic inputs from users

Tests are failing because I moved stuff around to create utils. Will open an issue to improve it and fix it =)


attractive footer #440 issue resolved

i committed some changes to enhance footer look .... changing some colors
adding some styling
hovering effect
many much enhance future

Description

Related Issues

Closes #

Type of PR

[ ] ()

Screenshots / videos (if applicable)

Checklist

[x] I have gone through the contributing guide
[x] I have updated my branch and synced it with project main branch before making this PR
[x] I have performed a self-review of my code
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Additional context:

@Anjaliavv51 kindly close the issue #440

hey @Anjaliavv51 kindly merge the pr


Multiline string after heredoc isn’t matching properly

If the string on the second or one of the next lines has more than one word, i.e. separated with spaces, it starts to mess everything

The lines that should be matched as a string, match only source.shell at the beginning of line, and source.shell > meta.reset.color after a space, if it’s present.

Thanks. This should be fixed in 34d9a5c9cb8232023564a21998d31f08373fae68.


Need README fro ybrpc dissector

Requesting we add a README for ybrpc tool for future usability enhancements

README is now available.


Exacthash improvements

@ChenghaoMou  I really need you to take a look at this.
This is a difficult process to multithread (not impossible, just error prone) especially since the order is important
(I had a shared np array, indexed list, multiple passes with multiple threads in mind. so far saving the hashes as part of a new column "was" the most promising option)
So, after multiple efforts of trying to make this multithreaded/multiprocessed/shared buffers etc
I finally gave up and just streamlined the single threaded approach and removed batching.
batching is usually used to reduce maximum concurrent memory consumption by reducing the working set, and to chunk workloads to multithread.
However huggingface datasets are backed by arrow data structures which automatically handle the working set issue ( it is transparently an mmaped dataset that the arrow backend only loads into memory as necessary).
so I just removed the batching and the speed is now 10 folds faster.
To be honest I cannot see any need for batching in the single threaded version so maybe we can either just remove it and add it back when it seems necessary.
Of course, even though in my personal testing it seemed to automatically manage memory, this may not be true in other datasets (i tried up to with 40GiB millions of data) so let me know if I am wrong on something.

Regarding the parallelization part, I tried too. There is no easy way around this since you need the global variable to be shared and simultaneously updated among threads or processes. Python unfortunately adds a lot of the overhead in this regard.

I understand your comments and I'll prepare fixes for each of them.
 I'll just open a totally new PR with only the necessary fixes.
Funny you mention big code though since that is one of my motivations to work on this. Feel free to ask for my assistance on that work if you are still working on it. I'd love to contribute to The Stack(is that what you're working on?) as well

as you can see, I've implemented an efficient alternative to batching with sharding.
many opportunities including multithreaded computation or byte conversion with map is on the table.
However, actually implementing them would take more time and consideration.
I think this is a good place to leave exact_hash for the time being.

Funny you mention big code though since that is one of my motivations to work on this. Feel free to ask for my assistance on that work if you are still working on it. I'd love to contribute to The Stack(is that what you're working on?) as well

Yes. A lot of the work you see here originated from BigCode and BigScience. I will reach out on Slack if there is any opportunity to collaborate.


Adding tab functionality

I tried to make adding tab functionality from HTML template but after inserting tab, I added tab content to tab content list. But after changed tab-content-list I can not edit any tab-content anymore.
I added tab content using javascript dynamically to tab-content-list.
Such like this.
`function getCustomTab() {
return [{
id: 'tab',
label: '',
attributes: {
class: 'custom-icon flowz-visitor-tab-style-2',
title: '',
},
category: 'Tabs',
content:

                 Tab

            ,

}]

}
This is what I have done for adding tab content to tab-content list.function changeTabId() {
$('.square-tab-list').each(function () {
var amount = $(this).find('.square-tab-box').length;
$(this).find('.square-tab-box').each(function () {
if ($(this).data('id') == 'tab') {
$(this).attr('data-id', 'tab' + amount);
// $(this).parent().parent().css({'display': 'inline'});
$('.square-tab-content-list').slick('unslick');
$('.square-tab').append('

Things to do

0.7Km

City Hotel Duqm
City Hotel Duqm is located between Salalah and Muscat.
Find Out More

3Km

Park Inn by Radisson
We welcome our guests in a safe and secure hotel environment
Find Out More

1.2Km

Crowne plaza Duqm
Get the celebrity treatment with world-class service at Crowne Plaza Duqm
Find Out More

'
);
return false;
}
});
});
}
`
Can I make a any effective way?
Thanks
javascriptFan

Please create a live demo of the issue and format your code correctly


Calling ThenInclude within DbContext.Set<>

Hey,
Sorry if this has already been raised prior, but I've ran into an issue while building a dynamic IQueryable.
I'm able to access DbContext.Set<> and call Include without issue which populates the relevant relations, but when I try to include a relation with ThenInclude, this results in the relation being null.
Just to clarify the steps I'm taking, I begin by including the relations I need in an IQueryable via DbContent.Set<> , and then based on different scenarios, call .Where(), finally calling Take().ToList() to carry out the operation.
This is different to the usual steps I'd take, where I'd first call .Where() and chain .Include() from that.
Please let me know if there's any code or SQL dumps I can supply for you.
Thanks,
Ian.

@nocommonsense can you provide a complete code listing (or project) that we can run to reproduce and debug the issue you are seeing.

Hey @rowanmiller
Please put this one down to user error! Sorry for wasting your time.
Ian.

no problem :smile:


refactor: cleaned up levels of headings of changelog

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


Fix the error that UP arrow won't go the previous page

https://github.com/beeware/podium/pull/28

@Lee-W Thanks for another contribution! :heart:


Would it be nice to add some complete public manuals?

(I have those links if you need them)
And another idea is to have this linked fro within Awesome Go

Hey,
What are you mean about public manuals?
Could you send me a sample?

Idk if you covered the following (some are on a specific topic, others are more complete)
https://www.karanpratapsingh.com/courses/go
https://github.com/softchris/golang-book
https://github.com/dariubs/GoBooks
https://go.dev/doc/tutorial/generics
https://github.com/callicoder/golang-tutorials
https://miek.nl/go/
https://go101.org/article/101.html
http://tmrts.com/go-patterns/#messaging-patterns
https://gobyexample.com/
https://www.reddit.com/r/golang/comments/9q0s37/go_programming_language_tutorials/
https://www.golangprograms.com/
https://golangbot.com/learn-golang-series/

Nice :-)

@marcelloh Done


v2: Cannot get http and https entrypoints working under one IngressRoute

Do you want to request a feature or report a bug?
Bug
Did you try using a 1.7.x configuration for the version 2.0?

[ ] Yes
[x] No

What did you do?
I tried to setup an IngressRoute with two entrypoints (http and https), a redirection middleware and a tls.certResolver.

What did you expect to see?
I expected to be able to access the http endpoint (http://my.site.com) and be redirected to the https endpoint (https://my.site.com) with content.
What did you see instead?
The http endpoint redirect me to a 404 not found page (the backend service doesn't see the request).
If I remove the tls section in the IngressRoute I'm redirected to https endpoint, but I get a 404 page again.
If I completely remove the https part in the IngressRoute everything works (in full http).
If I remove the webSecure entrypoint and the middleware, but keep the tls section, Nothing works (not even the http version).
If I create two IngressRoute,

only http content and redirect to https
only https content

Everything works. It's kind of sad to have to create two IngressRoutes to do this.
Output of traefik version: (What version of Traefik are you using?)

I'm using the KubernetesCRD definitions with kubernetes provider.
Here is my traefik configuration file:
accessLog: {}
log:
  level: DEBUG
api: {}
entryPoints:
  web:
    address: ":80"
  webSecure:
    address: ":443"
providers:
  kubernetesCRD: {}
certificatesResolvers:
  default:
    acme:
      email<EMAIL_ADDRESS>      storage: /acme.json
      tlsChallenge: {}

Here is my Middleware declaration:
kind: Middleware
apiVersion: traefik.containo.us/v1alpha1
metadata:
  name: https-only
  namespace: default
spec:
  redirectRegex:
    regex: ^http://(.*)
    replacement: https://${1}
#  redirectScheme:
#    scheme: https
#    permanent: true

And finally, here is the IngressRoute declaration with all the parameters:
kind: IngressRoute
apiVersion: traefik.containo.us/v1alpha1
metadata:
  name: site
spec:
  entryPoints:
  - web
  - webSecure
  routes:
  - match: Host(`my.site.com`)
    kind: Rule
    services:
    - name: site
      port: 80
    middlewares:
    - name: https-only
  tls:
    certResolver: default

If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
(paste your output here)

Duplicate of #4863

Sorry for the duplicate I didn't find it in my first search


7.x features

Missing:

[x] Test angular customizations.
[x] Test react customizations.
[x] Update endpoint api with the id.

Closes https://github.com/jhipster/generator-jhipster-quarkus/pull/185

I looked through each of the CI failures and here's a summary:
imperative-ngx-jwt-maven-mongodb-caffeine:
Error:  io.github.jhipster.sample.web.rest.UserResourceTest  Time elapsed: 17.815 s  <<< ERROR!
java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
Caused by: java.lang.RuntimeException: Failed to start quarkus
Caused by: java.lang.NoSuchMethodError: 'com.mongodb.internal.connection.Cluster com.mongodb.internal.connection.DefaultClusterFactory.createCluster(com.mongodb.connection.ClusterSettings, com.mongodb.connection.ServerSettings, com.mongodb.connection.ConnectionPoolSettings, com.mongodb.connection.StreamFactory, com.mongodb.connection.StreamFactory, com.mongodb.MongoCredential, com.mongodb.event.CommandListener, java.lang.String, com.mongodb.MongoDriverInformation, java.util.List)'

imperative-react-jwt-gradle-mysql-caffeine: Gradle issue - maybe because of Gradle 7?
imperative-ngx-jwt-maven-mysql-redis: A few tests are failing with:
java.lang.RuntimeException: Can't start redis server. Check logs for details.

@mraible I'm not trying to fix any quarkus problem, but to generate identical to what the main branch generates.
I didn't realized I fixed imperative-sql-jwt-maven-noDb, but broke imperative-react-jwt-gradle-mysql-caffeine.
I will try to fix imperative-react-jwt-gradle-mysql-caffeine.
I think we should merge this without trying to fix quarkus bugs in this PR, this migration is already complicated enough.
Then we can try to add cypress.

@mshima Sounds good! Please let me know if I can help.

Reverted gradle to 6.5.
Fixed react test.
Diff between main and this branch is available here: https://github.com/mshima/generator-jhipster-quarkus/pull/2/checks?check_run_id=3352418606.

The latest main branch has 12 failing and 6 successful checks. This PR has 8 successful and 2 failing checks so I'm going to merge it since it's better.

Hi @mshima
a few questions for you,

the sbs blueprint is used to only replace existing files, that's it? how does the generator know which file it has to override? (the files-xxx.js has been removed)
in the common generator, what this function means notEmpty() {}
in the entity generator we don't have the same signature as the others constructor(args, options, features) is it intended?
in the app index.js file, why do we need to delete applicationWithEntities delete options.applicationWithEntities;
in the client generator, we use deleteDestination() method, where is it come from?
same generator, you've added a note regarding a bug in JHipster 7.1.0, can you put the reference (the URL) if there is one, so we can remove the workaround when the bug will be fixed.

Thank you!

the sbs blueprint is used to only replace existing files, that's it?

It can do pretty much anything, but it doesn't change the original generator workflow.
But you can change it's behavior by changing it:
eg this.options.jhipsterContext.skipHealth = true (this is an concept, it's not supported by the generator)

how does the generator know which file it has to override? (the files-xxx.js has been removed)

Precedence, sbs blueprints adds itself as a template source.
https://github.com/mshima/generator-jhipster/blob/c55fa59c86c1adeade03013117ac60b5b0c7d582/generators/generator-base.js#L2145-L2154

in the common generator, what this function means notEmpty() {}

generators much have at least 1 task.

in the entity generator we don't have the same signature as the others constructor(args, options, features) is it intended?

No, forgot, but is unlikely to cause problems.

in the app index.js file, why do we need to delete applicationWithEntities delete options.applicationWithEntities;

Workaround to custom cli options not working: jhipster jdl foo.jdl --blueprints quarkus --client-framework react.
client-framework will be overridden without this workaround.

in the client generator, we use deleteDestination() method, where is it come from?

https://yeoman.github.io/generator/actions_fs.html#.deleteDestination

same generator, you've added a note regarding a bug in JHipster 7.1.0, can you put the reference (the URL) if there is one, so we can remove the workaround when the bug will be fixed.

https://github.com/jhipster/generator-jhipster/issues/15884
It's fixed at main branch. Can be dropped for next jhipster release.


Missing results/messages/errors for SQL Server

Description
Using DBeaver on SQL Server, I have an error about missing messages and results.
Note that:

The error happens both with Execute SQL Statement and Execute SQL Script
The error happens both with or without separators.

When I run multiple queries, I get only the first result.

When I run multiple queries and I got any error, I get only the first result and the error message is not shown.

The error is not about missing execution of following statements.
I tested a temp table creation both before and after raiserror, and both tables are created.
The scripts are:
select 1
select 1 as A into #t
raiserror('Test', 16, 1)

select 1
raiserror('Test', 16, 1)
select 2 as B into #v

Table #t has been created as expected.
Table #v has been created as expected.
Foot Notes:

The issue doesn't happen when DBeaver is just started. But after some event (I have not understood which one) the issue happens everytime until I reboot DBeaver;
The error has already been posted ( #18816 ) but his solution didn't work for me.
SQL Server version is 2019

Thanks
DBeaver Version
Community edition 22.3.3
Operating System
Windows 10
Database and driver
Database: MS SQL 2019
Driver: Microsoft JDBC Driver for SQL Server (MSSQL)
Steps to reproduce

Connect to SQL Server
Run a Statement with 2 select queries and / or a raiserror. Examples:

select 1 as A;
select 2 as A;

select 1 as A;
raiserror('test error', 16, 1);

Check that only first select result is shown.

Additional context
Note that the error does't happens when the application is just started.
After first time, it happens everytime.
When I understand new information I will update this issue report.

Thank you for bug report.

In this thread I added a description for a further issue about resultsets, occurred during some attemps to get more infos.

@Radioleao do you use our SQL Server driver or you created a custom driver with downloaded jar?
Could you send a screenshot of connection config script (you can delete all non-public info from there)?
Also could you send the error log (https://github.com/dbeaver/dbeaver/wiki/Log-files)
Thank you

The issue is reproduced again in the 24.1.x release (last tested on 24,1,2). Even the 'print 1' statement doesn't show output. A new ticket is needed.

Update: The print statement output issue has been resolved in DBeaver CE 2.1.5.


HTM-950: Show only layers matching application projection

This change unfortunately breaks xyz layers, which don't have projection info.

This change unfortunately breaks xyz layers, which don't have projection info.

Fixed in HTM-1009


PP-1447 Fix for pull requests REBASED into master instead of MERGED

Github's new feature allowing to REBASE pull requests into master instead of MERGE
has the side effect to not create a merge commit which pay-admin-dashboad
relies upon. When no merge commit is found, simply ignore and show N/A
for all the information that cannot be pulled as a result of that.

👍


Every plugin becomes unresponsive when a Yeelight is down

Hello,
First of all I'd like to congrats for your job, this plugin is really amazing!
However, I was obliged to switch to the old buggy homebridge-yeelight plugin because it seems that your plugin slows down every other plugin when a light is disconnected.
In fact, when a light is turned of by the wall switch, every home bridge plugin shows "updating" after a while... that really sucks especially when connecting from out of home, it takes literally 10 minutes to connect to my accessories (obviously no problem with my Hue bridge as it responds immediately even if every other homebridge accessory is updating).
I hope you will help me solving this issue, I really loved your job! At least let me know if there is a parameter to add in the config.json in order to fix this issue (even if losing some feature).
Thanks in advance!
Rob

You might want to increase the connection timeout to a higher value.
When i increased it from 100 to 250, my homebridge became more stable.
If you really want to increase performance, the best thing would be to use multiple homebridge instances; one for each platform and each accessory.

Related to #61

This can now be resolved by using hombridge child bridges.


Fix installation instructions

The installation instructions put the lsp plugin in the wrong directory for the packadd command.  This updates the readme to fix the installation instructions.
Fixes #62

Thanks for the patch.  Somehow I missed this earlier.


lambdatest-upload 4.0.0

What to do if the build fails?
At the moment contributors do not have access to the CI workflow triggered by StepLib PRs. In case of a failed build, we ask for your patience. Maintainers of Bitrise Steplib will sort it out for you or inform you if any further action is needed.
New Pull Request Checklist
Please mark the points which you did / accept.

[x] I will not move an already shared step version's tag to another commit
[x] I read the Step Development Guideline
[x] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[x] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[x] I read and accept the Abandoned Step policy

@ofalvai We have made few changes to the older version. Please review this PR. Thankyou.


fix typo: Linear --> Logistic

Likely a copy-paste error -- happens to me all the time 😉

Please declare these changes in the Issues section.
Moreover please read the pull request policies in the Contributing section as well.
Thank you so much for your help and support.

Ah, sorry, just did an inline edit while reading. 👍

Coverage remained the same at 100.0% when pulling 61a81eba8050156ce99be702c44e04ccafba53e4 on lukeed:patch-1 into 2047c0f71c9c588d8af21b7a04a7ba9a3a01fafa on astorfi:master.


Form_validation always accepts empty array

See the following code:
		$this->load->library('form_validation');

		$inputData = ['inp' => []];
		$this->form_validation->set_data($inputData);

		$this->form_validation->set_rules('inp', 'Input field', 'is_natural|required');

		//Will return true
		$this->form_validation->run();

This behaviour seems to be caused by a missing check in the following code:
	protected function _execute($row, $rules, $postdata = NULL, $cycles = 0)
	{
		// If the $_POST data is an array we will run a recursive call
		if (is_array($postdata))
		{
			foreach ($postdata as $key => $val)
			{
				$this->_execute($row, $rules, $val, $key);
			}

			return;
		}

There's no missing check.
An empty array means no data, which in turn means no form was submitted - the library doesn't "accept" it; it ignores it. That's the intended behavior.

Forgive me, but either I did not explain my problem well enough, or I have to reread the manual again.
Another example:
Two input fields, both required and `is_natural

Forgive me, but either I did not explain my problem well enough, or I have to reread the manual again.
Another example:
Two input fields, both required and is_natural
The input is accepted ($this->form_validation->run() returns true) even though the second value is an empty array instead of the required natural number.
		$this->load->library('form_validation');

		$inputData = ['number1' => 5, 'number2' => []];
		$this->form_validation->set_data($inputData);

		$this->form_validation->set_rules('number1', 'Input field 1', 'is_natural|required');
		$this->form_validation->set_rules('number2', 'Input field 2', 'is_natural|required');

		//Will return true
		$this->form_validation->run();

Hmm ... I didn't notice the 'inp' key in your initial post, my bad.

Confirmed ... too bad you didn't report this a few hours earlier, the fix could've landed into 3.0.5. :/

Also, incidentally, this will provide progress towards #193.

I'll try to release 3.0.6 ASAP (next week), this is pretty bad.

Won't this return true as well if you use inp[] in the rule even in the 3.0.6 release? Does for me.
    $this->load->library('form_validation');
    $inputData = ['inp' => []];
    $this->form_validation->set_data($inputData);

    $this->form_validation->set_rules('inp[]', 'Input field', 'is_natural|required');

    //Will return true
    $this->form_validation->run();

Also how do you post an empty array? Is this fix only relevant when using $this->form_validation->set_data?

'inp[]' is not the same as 'inp'; please post on our forums if you don't understand how it works.


ManagedBalancedConsumer unique consumer_group

Hi,
I think it would be great, if the description of the ManagedBalancedConsumer is clarified with respect to the parameter consumer_group. I used the same consumer_group string for different consumer instances on different topics and wondered why the consumers are dropping some messages. It would have saved me a lot of hours, if I had seen the keyword "unique" somewhere in the description.
Apart from that: keep up the great work with this library!

Hi @djamalouch, I'm glad you're getting some good use out of pykafka. If you used the same consumer group string on consumers consuming from different topics, I'd expect that the messages coming from those consumers wouldn't overlap at all, since they're from different topics. I think I need a bit more explanation of the confusion you had to understand what change needs to be made to the docs.

I thought this was an issue with pykafka, but actually consumer group names do have to be unique within a Kafka cluster. I'll update some documentation.

https://github.com/Parsely/pykafka/commit/60cdff36524e221b458541864c61f6dadbb066f4


Initialize wire encoding explicitly

This PR proposes to initialize the wire encoding explicitly when needed, instead of setting it via an implicit import. This allows a user to have a better understanding which component uses which encoding and when setting an encoding is not necessary (for example, in case of using a local bus).

@manoranjith You suggested that the bus could also carry the initializer. Here is a proposal for that: https://github.com/perun-network/go-perun/commit/33471430d1c4ad3ea071fe14c80458208d1cd851
Let me know which approach you like better.


Issue #11559: Show meaningful error message for TLS over HTTP endpoint.

Summary of the changes (Less than 80 chars)

Catch TLS over HTTP endpoint
Provide meaningful error message

Addresses #11559  (in this specific format)

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: bashdx sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

FYI, please hold on merging this @Tratcher until the master branding PR is in: https://github.com/aspnet/AspNetCore/pull/12671

Thanks


WIP: Support test integration into parent pipelines

Signed-off-by: Sophia Guo<EMAIL_ADDRESS>

https://github.com/AdoptOpenJDK/openjdk-build/pull/279 is done. This PR is ready to go.

All enabled test jobs should update configuration to remove Build Trigger: Build after other projects. All test builds will be triggered by adoptOpenJDK pipeline jobs. FYI @Mesbah-Alam


Prompt if moving files/folders inside the node_modules

I accidentally moved a folder inside the node_modules directory (meant to just collapse it) and had to run rm -rf node_modules && npm install to fix things. I think it's worth prompting users to confirm such action.

We always prompt, make sure you do not have this disabled in your settings

make sure you do not have this disabled in your settings

I can't find anything related to this. What do you have in mind?

explorer.confirmDragAndDrop is the name of the setting

Oh, didn't notice that, thank you :)


Implement the hash_words TFT operation

Adds the TFT hash_words operation to MLTransform. Also adds some sanity unit tests plus a recreation of a TFT hash_words unit test.

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

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

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

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

YAML tests are red due to #31269, merging


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_5dwusl84ab/clone/recipe/meta.yaml:16: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_5dwusl84ab/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_5dwusl84ab/clone/recipe/meta.yaml:52: missing_description: The recipe is missing a description
ERROR: /tmp/abs_5dwusl84ab/clone/recipe/meta.yaml:52: missing_license_family: The recipe is missing the about/license_family key.
Errors were found


Update config.go

thia code include enforcing HTTPS communication to safeguard data transmission, utilizing secure cookies with both Secure and HttpOnly flags for enhanced session protection, and employing strong password hashing algorithms (like bcrypt or Argon2) to ensure user credential security. Additionally, thorough input validation techniques like parameterized queries and sanitization have been implemented to prevent vulnerabilities such as SQL injection and XSS attacks. Finally, improvements have been made to error handling to provide informative messages to users without revealing sensitive information. These security-focused enhancements contribute to a more robust codebase and mitigate potential security risks.
I would recommend testing the code in a development environment before using it in prodction

Summary

Checklist

[X] Tested and/or added tests to validate that the changes work as intended, if applicable.
[ ] Updated documentation in README.md, if applicable.

Changed your mind? 👀

maybe


Gingeh wallpaper link not working

The link for https://github.com/Gingeh/wallpapers doesn't work since well Gingeh has no such repo related to wallpapers.

thank you for noticing. we could replace gingeh's wallpaper repo with zhichaoh's, which looks very similar but with extra nice wallpapers


Advanced Search not showing up

When I click on Advanced Search or New Search, it seems to be giving me a blank website:

I have faced the same issue on Chrome and Firefox. When I open the console, this seems to be shown:

Thanks for your feedback. I've uploaded V2.1.17 to the store. Since I don't have access to co-op postings this term, please let me know if there's still something wrong.


[W7.7][T10-B1] AddressBook

@Hailinx @qihao27 @valensia0711 @aaronyhsoh
Some comments added. Good job for completing V1.0, keep up the good work.

@Hailinx  @qihao27  @valensia0711 @aaronyhsoh Some comments added.
Good job for passing team component v1.1 milestone. Don't forget to merge your changes for the next milestone.

@Hailinx @qihao27 @aaronyhsoh @valensia0711
Feedback for Implementation section
3.1. Find mechanism

Typo: in in its arguments.
There are three steps for parsing commands with options <- better explained using sequence diagram.
Can explain what is optional behavior.

3.3. Sort mechanism

This is a very small enhancement and explaining how the sort is implemented is not necessary.
Try to explain larger feature, may be sort by any attribute.

3.4. Lock/Unlock mechanism

Some explanation are not useful.
Can use a sequence diagram for better explanation.


Update for Storage Explorer 0.8.16 release

@xiaofmao,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot


How do you filter for date range?

Tried to pass
filter[created_at]>=2023-05-01
and
filter[created_at]<=2023-06-01
to query params but the query use is
select * from "users" where "users"."client_id" = ? and "users"."created_at" >= ? and "users"."created_at" <= ? and "users"."deleted_at" is null {"bindings":["2","2023-06-01","2023-06-01"],"time":46.53}
Looks like it overwrite the first param I passed.
Or should I use custom filter instead?

The JSON:API specification doesn't define how filters should work - it's down to each implementation.
You'd need to implement your own filter class, as per the docs here:
https://laraveljsonapi.io/docs/3.0/schemas/filters.html#writing-filters
You'd probably want to couple that to the filter[created_at] query parameter. Your syntax though of filter[created_at]>=2023-05-01 would not work as it's not a properly formed query parameter. I'd suggest using something like:
filter[created_at][gte]=2023-05-01&filter[created_at][lte]=2023-06-01

Then your filter class would receive an array with gte and lte keys.

I personally use something like the following: filter[created_at:gte]=2023-05-01&filter[created_at:lte]=2023-06-01

I personally use something like the following: filter[created_at:gte]=2023-05-01&filter[created_at:lte]=2023-06-01

mind to share your code? TIA

public function filters(): array {
  return [
    Where::make('created_at')->eq(),
    Where::make('created_at:gt', 'created_at')->gt(),
    Where::make('created_at:lt', 'created_at')->lt(),
    Where::make('created_at:gte', 'created_at')->gte(),
    Where::make('created_at:lte', 'created_at')->lte(),
  ];
}

I somehow like this approach.

Yeah, super simple - nice!


Azure Devops IPs

Hi all,
Is the following list exhaustive for Azure Devops whitelisting
https://learn.microsoft.com/en-us/azure/devops/organizations/security/allow-list-ip-url?view=azure-devops&tabs=IP-V4#outbound-connections
<IP_ADDRESS>/24
<IP_ADDRESS>/24
<IP_ADDRESS>/24
<IP_ADDRESS>/24
When attempting to deploy the deployment group agent is it failing due to a connection to <IP_ADDRESS> being denied in our firewalls. This isn't in the documentation and I am unable to find any information on it other than it is an Azure IP from the Amsterdam region.

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

ID: dc5a4cfa-aa84-9f0f-55f4-71ec4861c070
Version Independent ID: d621620a-c924-03b1-8b43-f99c33e58bb8
Content: Allowed address lists and network connections - Azure DevOps
Content Source: docs/organizations/security/allow-list-ip-url.md
Service: azure-devops
Sub-service: azure-devops-security
GitHub Login: @chcomley
Microsoft Alias: chcomley

@networksavvy
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

Hi @networksavvy, the list isn't exhaustive and although it's not explicitly listed in the article, it's essential to allow this IP address for successful deployment of the deployment group agent. Please add <IP_ADDRESS> to your firewall’s allowlist to ensure proper communication with Azure DevOps. Remember to verify your firewall rules and ensure that the necessary IPs are allowed both for outbound and inbound connections. If you encounter any further issues, consider reaching out to Azure DevOps support for personalized assistance. Best regards!

#please-close


feat(core): improve error message for BrowserOnly; better docs

Motivation
Fix #6263
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Added unit test

I'm doing lots of doc rewriting in #6296 and yes, I do intend to keep the API as API-only. But for now we document BrowserOnly nowhere else so I have to put it here. After #6296, I will probably move this to where we discuss SSR


Improving the plainmath version of \sfrac

With \UseCollection{xfrac}{plainmath}, $\sfrac{a}{\sin b}$ is equivalent to $a/\sin b$. As a consequence, \sfrac inherits the horizontal spacing problems related to the fact that TeX treats / as an ordinary mathematical object (see this question on Stack Exchange).
A nice solution to this issue is presented by Philippe Goutet in an answer to this question on Stack Exchange. In essence, he proposes replacing / with \delimiter"502F30E\mathopen{} to enhance the horizontal spacing in split fractions.
So what do you think about improving the plainmath version of \sfrac to that effect?

We removed collections a while ago: I'm therefore closing here.