Problem with running notebooks in series

Perhaps obvious to others, but I (being a python noob) was struggling to figure out why one notebook was working, but not a second.
I think the answer is: Tensorflow gpu will "map nearly all of the GPU memory of all GPUs".  This of course will prevent a second notebook from running after a first notebook is finished, because the first notebook had not released the GPU resources.  Once I closed that first notebook, then the second worked.
Am I missing the obvious way to unload tensorflow besides restarting/killing the python kernel?

Hey @dmilkie , you can try something like:
session_config = tf.ConfigProto()
session_config.gpu_options.allow_growth = True
session_config.gpu_options.per_process_gpu_memory_fraction = .2
algo = fd_restoration.RichardsonLucyDeconvolver(n_dims=3, pad_mode='none').initialize()
algo.run(acq, niter=niter, session_config=session_config)

That usually works for me to be able to run multiple notebooks using TF at once.  Although, my GPU usually doesn't have enough memory to only use 20% of it for something useful so I've just gotten into the habit of having no more than one or two kernels per GPU running at a time.  So far as I know there's no way to have two processes using TF share the same GPU memory so I think that's just a fundamental limitation.

I'll close this out now but let me know if you run into anything to suggest it should be reopened @dmilkie (i.e. something relating to TF configuration not already exposed in flowdec).


Buildpack size output by cargo libcnb package is incorrect

The cargo libcnb package command outputs the size of the built+packaged buildpack,  eg:
basics $ cargo libcnb package
...
INFO - Writing buildpack directory...
INFO - Successfully wrote buildpack directory: ../../target/buildpack/debug/libcnb-examples_basics (50.5M)

However this size is incorrect:
basics $ du -hs ../../target/buildpack/debug/libcnb-examples_basics/
25M	../../target/buildpack/debug/libcnb-examples_basics/

The size calculation is performed here:
https://github.com/Malax/libcnb.rs/blob/0b9b8214b56e41ad1a59635effb4198d9886143d/libcnb-cargo/src/main.rs#L188-L190
It looks like fs_extra::dir::get_size() is buggy, and iterates all entries in a directory without taking into account whether they are symlinks or not:
https://github.com/webdesus/fs_extra/blob/9b972027bac127236d00da3f807891d1972ff49c/src/dir.rs#L754-L765
I'll file an upstream issue for this, however the fs-extra crate looks to be unmaintained (judging by open issues/PRs, no merges to master since Feb 2021, and no new release since Aug 2020).
One option might just be to remove the printing of the buildpack size. This would also let us drop the dependency on both fs-extra and size_format (and its 8 deps) from libcnb-cargo.

I've filed this upstream as:
https://github.com/webdesus/fs_extra/issues/59
And opened a PR with a fix:
https://github.com/webdesus/fs_extra/pull/60
However I think we should migrate away from fs_extra for this particular usage in libcnb-cargo, given:

it's pretty simple to implement ourselves
the benefits of an upstream library are negated somewhat when it's not actively maintained, has quite a high bug ratio, no CI etc
it would mean we can drop a dependency from libcnb-cargo


Update deps

Coverage remained the same at 97.774% when pulling 6cf2e06b78fb45c9f64eb5d0a171663e67939572 on update-deps into eaba9cb2cdd85e66e153c6e714cf59d3b873c27a on master.


iOS crash on startup not caught by engine integration tests

An upstream change in Skia caused the empty font manager to be selected in the iOS embedder. This wasn't caught by:

Skia tests (issue)
Engine tests (this issue)
Framework presubmit (intentionally skipped due to current lack of infra)
and was only caught in devicelab tests after the engine rolled to the framework.

We should ensure we've got a test that catches crash/abort() on startup issues.

I think our scenario tests would now catch this.


Update en_us.yaml

PageDown is preceded by PGU

Hahaha, can't believe I never saw this one xDD, anyways, thanks for this one! will be on the next build!


Add description attribute in TimeEntries table

Each time entry from toggl should come with a description

@sofiaromorales This is already done we can close this one.


chore: switch to react-native-vision-camera

Description
Removes react-native-camera-kit and replaces with react-native-vision-camera
Currently seeing a crash on android emulator when giving camera permission.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Refactoring (improving code without creating new functionality)

Tests

[ ] Detox test
[ ] Unit test
[x] No test

Screenshot / Video
Insert relevant screenshot / recording
QA Notes
Make sure camera/scanner works as expected

Maybe try to upgrade react-native-camera-kit to 14.0.0-beta15 ?

Currently seeing a crash on android emulator when giving camera permission.

This crash happens only on this PR (in the emulator). From what I've seen this camera performs better so switching would be a good idea. Maybe it will be fixed by upgrading to react-native 0.74.


Failed to grab images: Failed to extract images from embedded JS on generic physical page

I've been getting this error message fairly frequently when attempting to import cover art from Amazon pages. It seems to be an issue with newer listings.

Do you have an example of a URL on which it fails? That'll make it much easier to figure out what the issue is. Thanks!

https://www.amazon.com/gp/product/B0B2F6TV5P was affected at the time I posted this thread. It appears to have fixed itself.

Hmm, strange that it fixed itself. It could be that the script landed on a captcha page due to rate limiting etc. Someone (probably me) should investigate to see 1) if we can figure out why it's actually failing to parse the page and 2) if we can either fix it or improve the error message if it turns out to be unfixable.

This issue is back with a vengeance. For the past several hours I have received this exact error message every time I try to import cover art for a physical release. It's the same for older and newer releases.

I've pushed an update that'll improve the error message in case it hits rate limiting with a captcha. I'm not sure that it's caused by captchas though, because I haven't been able to reproduce it yet.
I've also got some work in progress that should improve the "debugability" of the script in case it hits weird errors. It needs a bit more work to be usable, and I can't really give an ETA on when it'll land, but when it does, I'll be able to look at this in more detail.


Add filter for merging maps/lists/arrays

Basic functionality is in place:

maps with maps, maps with lists
lists with lists, lists with maps
arrays with arrays

Fixes #164

Shall I drop support for concatenating two lists from the + operator?

This looks awesome, thanks a lot.
Regarding the "+" operator, I added some @Deprecated annotations and we'll consider removing the support for lists in the future but it can stay for now.
And I think we'll refrain from supporting non-collection objects with the merge filter for now as well. Keep it simple and if a good use-case comes up we can revisit the problem at that time.


Kjk/console stdin

Checklist

[x] I have updated the relevant documentation
[ ] I have added the semver-major, semver-minor or semver-patch label as appropriate
[ ] I would like multiple reviewers to approve my code before merging

Why do you want to make these changes?
Running robot code with a console environment in a context where stdin is unavailable (i.e. within Astoria) fails due to an EOFError.
Which parts of the codebase do your changes affect?
The console backend and related tests.
How do your changes affect student or volunteer experience?
These changes make it easier for volunteers to run j5-based APIs without a complete kit.
Are your changes related to any existing issues or PRs? How so?
https://github.com/srobo/sr-robot3/issues/20

Fixes #20


feat: Enhance walkers to create some kind of report

retest it

I couldn't run the compose successfully, the walkers panic with
invalid character 's' looking for beginning of value

Did you see this as well? If not, can you provide some basic instructions on how to test it?

I can run TRUST_IMAGE=trust TRUST_VERSION=latest docker-compose -f compose.yaml -f compose-guac.yaml -f compose-trustification.yaml -f compose-collectors.yaml -f compose-walkers.yaml up --force-recreate.

@ctron @dejanb There is a new issue,  patternfly.css and patternfly.min.css's sizes are both more than 1m. but configmap's size is 1m. so I can not input CSS file into configmap.  So I customized some CSS styles.[1] please check it.
The PR also deploys on [2].
[1] https://github.com/trustification/trustification/pull/1289/files#diff-c94245949b61109bee8690aaba8bddf73b52617107b05fe30621394692139ef7R7
[2] https://report-xiabai-test.apps.scale.scale.trustification.cloud/

@dejanb @ctron I add basic auth on report server, please check it. Thanks

@bxf12315 there seem to be issue now with the Helm lint
https://github.com/trustification/trustification/actions/runs/9500037766/job/26182201188?pr=1289
Can you take a look and make sure the build is green?
Also, can you provide instructions on how to enable everything with auth now? To ease the testing and add later to the docs.

@bxf12315 there seem to be issue now with the Helm lint
https://github.com/trustification/trustification/actions/runs/9500037766/job/26182201188?pr=1289
Can you take a look and make sure the build is green? Also, can you provide instructions on how to enable everything with auth now? To ease the testing and add later to the docs.

Updated, Please check again. Thanks

The feature now supports setting the authentication using username/password values or a reference to the pre-created secret.
Documentation can be found here, explaining how to configure it:
https://github.com/trustification/trustification/blob/ef4139b9004b12a2273a6de6c3331cd415928e1e/docs/modules/admin/pages/cluster-post-install.adoc#enabling-ingestion-report


passwordExpired is not handled

Hello,
I didn't see an issue about this, so I create one .
when doing
const sfconn = new jsforce.Connection({
    loginUrl: 'https://test.salesforce.com'
  })
await sfconn.login(
  username,
  password`
)

It will do a soap call to salesforce, and fail only if status >= 400 .
My problem was in my case salesforce return 200 with :
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns="urn:partner.soap.sforce.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
        <loginResponse>
            <result>
                [...]
                <passwordExpired>true</passwordExpired>
                [...]
            </result>
        </loginResponse>
    </soapenv:Body>
</soapenv:Envelope>

and this will success .
So, if I want to do a query, this will loop trying to do a request, and salesforce telling
[{"message":"Your password has expired. Please reset your password.","errorCode":"INVALID_OPERATION_WITH_EXPIRED_PASSWORD"}]

So, I see two problems :

query loop never end (so retrying each times to call salesforce)
passwordExpired is not handled on login

PS : I know you're working on the V2, and I'm not blocked by this problem, it's just FYI

I've just run into this issue, it's a silent killer.
As shared above, the crux of the issue is that the code base doesn't recognize passwordExpired as a response object. Despite being present in the loginResult.
Since the login() method returns a 200, it seems as if the user has authenticated. However until you execute a method like describe() with the connection object you'll find that the code base will continuously loop attempting to re-execute the login() method despite the password being expired. This will result in a login rate limit being exceeded or worse the account being locked out.
Tediously, the only way to determine if the account has a valid password is to initialize the connection object with the instanceUrl and accessToken then execute a method like identity() to actually verify if the password is valid, only then will you receive: INVALID_OPERATION_WITH_EXPIRED_PASSWORD: Your password has expired. Please reset your password.
`
const jsforce = require("jsforce");
const username = "myusername";
const password = "mypassword";
const loginUrl = "https://login.salesforce.com";
const logLevel = "DEBUG";
(async () => {
// This will login fine, nothing about passwordExpired
const conn = new jsforce.Connection({ loginUrl, logLevel });
const initialLogin = await conn.login(username, password);
console.log(`initialLogin ${JSON.stringify(initialLogin)}`); // this response will succeed

// This will succeed as well...
const identity = await conn.identity();
console.log(`identity: ${JSON.stringify(identity)}`);

// If you uncomment this it will go into a continuous loop until the user account hits a rate limit for logins or worse is locked out
// const opportunityDescribe = await conn.describe("Opportunity");
// console.log(`opportunityDescribe: ${JSON.stringify(opportunityDescribe)}`);

// Only this will fail with: INVALID_OPERATION_WITH_EXPIRED_PASSWORD: Your password has expired. Please reset your password.
const newConn = new jsforce.Connection({ instanceUrl: conn.instanceUrl, accessToken: conn.accessToken, logLevel });
const newIdentity = await newConn.identity();
console.log(`newIdentity: ${JSON.stringify(newIdentity)}`);

})();
`

I've just run into this issue, it's a silent killer.
As shared above, the crux of the issue is that the code base doesn't recognize passwordExpired as a response object. Despite being present in the loginResult.
Since the login() method returns a 200, it seems as if the user has authenticated. However until you execute a method like describe() with the connection object you'll find that the code base will continuously loop attempting to re-execute the login() method despite the password being expired. This will result in a login rate limit being exceeded or worse the account being locked out.
Tediously, the only way to determine if the account has a valid password is to initialize the connection object with the instanceUrl and accessToken then execute a method like identity() to actually verify if the password is valid, only then will you receive: INVALID_OPERATION_WITH_EXPIRED_PASSWORD: Your password has expired. Please reset your password.
const jsforce = require("jsforce");
const username = "myusername";
const password = "mypassword";
const loginUrl = "https://login.salesforce.com";
const logLevel = "DEBUG";

(async () => {

	// This will login fine, nothing about passwordExpired
	const conn = new jsforce.Connection({ loginUrl, logLevel });
	const initialLogin = await conn.login(username, password);
	console.log(`initialLogin ${JSON.stringify(initialLogin)}`); // this response will succeed

	// This will succeed as well...
	const identity = await conn.identity();
	console.log(`identity: ${JSON.stringify(identity)}`);

	// If you uncomment this it will go into a continuous loop until the user account hits a rate limit for logins or worse is locked out
	// const opportunityDescribe = await conn.describe("Opportunity");
	// console.log(`opportunityDescribe: ${JSON.stringify(opportunityDescribe)}`);

	// Only this will fail with: INVALID_OPERATION_WITH_EXPIRED_PASSWORD: Your password has expired. Please reset your password.
	const newConn = new jsforce.Connection({ instanceUrl: conn.instanceUrl, accessToken: conn.accessToken, logLevel });
	const newIdentity = await newConn.identity();
	console.log(`newIdentity: ${JSON.stringify(newIdentity)}`);
})();

I've just run into this issue, it's a silent killer.
As shared above, the crux of the issue is that the code base doesn't recognize passwordExpired as a response object. Despite being present in the loginResult.
Since the login() method returns a 200, it seems as if the user has authenticated. However until you execute a method like describe() with the connection object, you'll find that the code base will continuously loop attempting to re-execute the login() given it's returning a 401, despite the password being expired. This will result in a login rate limit being exceeded or worse the account being locked out. Worse, if you don't have logLevel set to DEBUG you'll have no idea why the transaction is taking so long 😅
Tediously, the only way to determine if the account has a valid password is to initialize the connection object with the instanceUrl and accessToken then execute a method like identity() to actually verify if the password is valid, only then will you receive: INVALID_OPERATION_WITH_EXPIRED_PASSWORD: Your password has expired. Please reset your password.
Execute the code below with an account that has an expired password to replicate the issue.
const jsforce = require("jsforce");
const username = "myusername";
const password = "mypassword";
const loginUrl = "https://login.salesforce.com";
const logLevel = "DEBUG";

(async () => {

	// This will login fine, nothing about passwordExpired
	const conn = new jsforce.Connection({ loginUrl, logLevel });
	const initialLogin = await conn.login(username, password);
	console.log(`initialLogin ${JSON.stringify(initialLogin)}`); // this response will succeed

	// This will succeed as well...
	const identity = await conn.identity();
	console.log(`identity: ${JSON.stringify(identity)}`);

	// If you uncomment this it will go into a continuous loop until the user account hits a rate limit for logins or worse is locked out
	// const opportunityDescribe = await conn.describe("Opportunity");
	// console.log(`opportunityDescribe: ${JSON.stringify(opportunityDescribe)}`);

	// Only this will fail with: INVALID_OPERATION_WITH_EXPIRED_PASSWORD: Your password has expired. Please reset your password.
	const newConn = new jsforce.Connection({ instanceUrl: conn.instanceUrl, accessToken: conn.accessToken, logLevel });
	const newIdentity = await newConn.identity();
	console.log(`newIdentity: ${JSON.stringify(newIdentity)}`);
})();

FWIW, with logLevel set to DEBUG you will see passwordExpired  on the first, seemingly successful,conn.login(username, password)
<passwordExpired>true</passwordExpired

however, it took quite some debugging to realize find this.
So what does this all mean? You always have to ensure the connection object is "healthy" by executing new jsforce.Connection({ instanceUrl: conn.instanceUrl, accessToken: conn.accessToken }) and then running a method like identity()

javascript
const jsforce = require("jsforce");
const config = require("../configs");
const { logger } = require("../configs/logger");

const getAuthorizationPassword = () => {
	let authorizationPassword;
	if (config.SALESFORCE.SECURITY_TOKEN && config.SALESFORCE.SECURITY_TOKEN !== "") {
		authorizationPassword = `${config.SALESFORCE.PASSWORD}${config.SALESFORCE.SECURITY_TOKEN}`;
	} else {
		authorizationPassword = config.SALESFORCE.PASSWORD;
	}
	return authorizationPassword;
};

const login = async () => {
	const conn = new jsforce.Connection({
		logLevel: config.SALESFORCE.LOGLEVEL,
		loginUrl: config.SALESFORCE.LOGINURL,
		version: config.SALESFORCE.VERSION,
	});

	await conn.login(config.SALESFORCE.USERNAME, getAuthorizationPassword());
	const { accessToken, instanceUrl } = conn;
	return { accessToken, instanceUrl };
};

const refreshFn = async (conn, callback) => {
	try {
		logger.debug(`Salesforce connection.refreshFn establishing new connection`);

		// this solves for instances with the accessToken has expired and needs to simply be refreshed via another login
		conn.loginUrl = config.SALESFORCE.LOGINURL;
		await conn.login(config.SALESFORCE.USERNAME, getAuthorizationPassword());
		await conn.identity();

		// this new connection checks if the password is expired, see https://github.com/jsforce/jsforce/issues/1308#issuecomment-1581617384
		const { accessToken, instanceUrl } = conn;
		const newConn = new jsforce.Connection({ instanceUrl, accessToken, logLevel: config.SALESFORCE.LOGLEVEL });
		await newConn.identity();

		callback(null, accessToken);
	} catch (e) {
		logger.error(`Salesforce refreshFn error ${e}`);
		return callback(e);
	}
};

const connection = new jsforce.Connection({
	refreshFn,
	version: config.SALESFORCE.VERSION,
	logLevel: config.SALESFORCE.LOGLEVEL,
});

(async () => {
	const { accessToken, instanceUrl } = await login();

	// setting the connection with the instanceUrl and accessToken is the only way to get the refreshFn called
	connection.accessToken = accessToken;
	connection.instanceUrl = instanceUrl;
	await connection.identity();
})();

module.exports = { connection };

Solution as an exported module
const jsforce = require("jsforce");
const config = {
	SALESFORCE: {
		USERNAME: "myusername",
		PASSWORD: "mypassword",
		LOGINURL: "https://login.salesforce.com",
		LOGLEVEL: "DEBUG",
		VERSION: "57.0"
	}
};

const getAuthorizationPassword = () => {
	let authorizationPassword;
	if (config.SALESFORCE.SECURITY_TOKEN && config.SALESFORCE.SECURITY_TOKEN !== "") {
		authorizationPassword = `${config.SALESFORCE.PASSWORD}${config.SALESFORCE.SECURITY_TOKEN}`;
	} else {
		authorizationPassword = config.SALESFORCE.PASSWORD;
	}
	return authorizationPassword;
};

const login = async () => {
	const conn = new jsforce.Connection({
		logLevel: config.SALESFORCE.LOGLEVEL,
		loginUrl: config.SALESFORCE.LOGINURL,
		version: config.SALESFORCE.VERSION,
	});

	await conn.login(config.SALESFORCE.USERNAME, getAuthorizationPassword());
	const { accessToken, instanceUrl } = conn;
	return { accessToken, instanceUrl };
};

const refreshFn = async (conn, callback) => {
	try {
		console.debug(`Salesforce connection.refreshFn establishing new connection`);

		// this solves for instances with the accessToken has expired and needs to simply be refreshed via another login
		conn.loginUrl = config.SALESFORCE.LOGINURL;
		await conn.login(config.SALESFORCE.USERNAME, getAuthorizationPassword());
		await conn.identity();

		// this new connection checks if the password is expired, see https://github.com/jsforce/jsforce/issues/1308#issuecomment-1581617384
		const { accessToken, instanceUrl } = conn;
		const newConn = new jsforce.Connection({ instanceUrl, accessToken, logLevel: config.SALESFORCE.LOGLEVEL });
		await newConn.identity();

		callback(null, accessToken);
	} catch (e) {
		console.error(`Salesforce refreshFn error ${e}`);
		return callback(e);
	}
};

const connection = new jsforce.Connection({
	refreshFn,
	version: config.SALESFORCE.VERSION,
	logLevel: config.SALESFORCE.LOGLEVEL,
});

(async () => {
	const { accessToken, instanceUrl } = await login();

	// setting the connection with the instanceUrl and accessToken is the only way to get the refreshFn called
	connection.accessToken = accessToken;
	connection.instanceUrl = instanceUrl;
	await connection.identity();
})();

module.exports = { connection };

This should be fixed in v3, see: https://github.com/jsforce/jsforce/discussions/1529


Run tests on python3.9

@bertonha  The latest successful travis-ci run was using djangorestframework==3.11.0, your run uses djangorestframework==3.12.1, so it appears that there are some breaking changes when using dpn with the latest djangorestframework and python 3.(5/6/7/8)
Can you pin drf to 3.11.0 for now to see if the tests pass?

Merging this, and I have created https://github.com/jazzband/django-push-notifications/issues/590 to address the new drf incompatibilities.


Support for IBM Integrated Accelerator for Z Sort

This is a feature request. I have been using BEDTools on Linux on an IBM z15 mainframe, and while most things work quite well, bedtools sort is not fast enough for the huge workloads I have.
My z15 has IBM's Integrated Accelerator for Z Sort coprocessor, and BEDTools doesn't seem to be using it. It seems likely that taking advantage of dedicated hardware sorting acceleration would speed up bedtools sort a lot.
I'm not sure if it is possible to access the sorting coprocessor using Linux, so implementing this may require porting BEDTools to z/OS first.
Thanks again for this great piece of software!

This issue is a barrier to professional usage of BEDTools.

🥇

Any updates on this?


fix: Markdown anchor links in package readMe.md broken #2712

Fixes issue #2712 by replacing all href="# occurrences generated by marker with href="${req.headers.referer}#.
Can't be fixed using baseUrl option from marker as it does not allow a base-URL to be added to an URL starting with #.

Hi, thanks for ypur PR.
To me it makes not much sense to use the referer, which is a header that is defined by the browser / client and van be spoofed.
There is probably a safer and better way.
Generally and technically there is no difference between "url#" and "#" if it is displayed on the same hostname / domain.

Hi, thanks for your PR.
To me it makes not much sense to use the referer, which is a header that is defined by the browser / client and van be spoofed.
There is probably a safer and better way.
Generally and technically there is no difference between "url#" and "#" if it is displayed on the same hostname / domain.

Agree with @DanielRuf.
If you want to build <a href="http://localhost:4873/-/web/detail/@peter/mysample#sample
You have already the name and the url won't change so you might build the href with a function already exist to build the url using the host header (I will share it later on mobile now).

The URL being generated is just used to render an href the client user can click (not a link being used by the server directly).  So don't see why a client would spoof, he could just browse to the URL directly.  Also, if this is to prevent a man-in-the-middle attack then I could also change the content, not just the header... (e.g. use TLS to fix).
BUT, what if I omit origin and only use pathname:
readMeHtml = readMeHtml.replace(
  /href="#/gi,
  `href="${(new URL(req.headers.referer)).pathname}#`);

We also could rely on the library http://expressjs.com/en/api.html#req.originalUrl instead headers.

We can discuss the implementation later ( I have some comments ) I just thinking:

if Daniel see any sec issue on rely on this header
handle scenario where header also could not be there at all (easily removable with a reverse proxy)

handle scenario where header also could not be there at all (easily removable with a reverse proxy)

Same might apply to strict referer policies in browser so no referer or just the domain is available. We need a solution which works also when no referer is provided.

@DanielRuf well today it is 100% broken 24/7 for any condition (I guess since the origin of Verdaccio).  The proposed fix will make it work in +90% of the cases until we find a condition where it doesn't and then we have a use-case we can fix.  I already deployed as a :local docker image, works great 😉

I'll did another PR with pathname only.

Hi @coolsp looks good, but there are some conflicts we need to resolve first.

If you need some support or help ping me, I could help with yarn.

@juanpicado I rebased on PR #2727

great, could you copy the PR body to the new PR, I'd like to keep tracking why the change.

Oops... done !


Too many clients already occur at the hour

At the whole point of every hour, there will be a lot of requests penetrating the database, and the gateway will have a lot of timeouts and errors: - - - --- handler. lua: 339: before (): could not rebuild router: could not load APIs: [postgres error] FATAL: Sorry, too many clients already;
Note: Kong version 0.12.3

This is a known issue that was addressed in Kong 1.0.

(This was addressed in https://github.com/Kong/kong/pull/3782)


buttplug.io  integration

An option to integrate with  buttplug.io it can make coding extra fun and encourage you to fix all your issues~

buttplug.io integration is provided by https://github.com/Shadlock0133/cargo-vibe and the fact that both cargo subcommands forward execution back to cargo with just their own args popped.
cargo mommy vibe test should just work
but that should be doc'd

YEP IT SURE DOES
didn't even set anything up and my xbox one controller jump scared me and almost fell of my desk

YEP IT SURE DOES
didn't even set anything up and my xbox one controller jump scared me and almost fell of my desk

“Xbox controller” 🤨

why
just why

why
just why

Some people just want Mommy to give them extra encouragement~

why
just why

Science isn't about WHY. It's about WHY NOT. Why is so much of our science dangerous? Why not marry safe science if you love it so much. In fact, why not invent a special safety door that won't hit you on the butt on the way out, because you are fired

why
just why

because we're not corporate drones
(though some of us are other kinds of drones)

I started to re-run successful builds, am I using it right?

https://faultlore.com/cargo-mommy/book/customize/nsfw.html#buttplugio-support


package request: vaex

Project description
According to https://github.com/vaexio/vaex#what-is-vaex :

Vaex is a python library for lazy out-of-core DataFrames (similar to Pandas), to visualize and explore big tabular datasets.

Even though this is a library rather than an application, having it packaged IMO makes sense even if we don't package any applications requiring it, as it can interactively be used e.g. in Jupyter.
Metadata

homepage URL: https://vaex.io/
source URL: https://github.com/vaexio/vaex
license: mit
platforms: linux, darwin

hmm, that's a lot of packages that comprise vaex https://github.com/vaexio/vaex/tree/master/packages


Browser field (and others?) may need refinement

Browser field (and others?) may need to refined:
https://twitter.com/AndaristRake/status/1048164567698886656
Thanks a lot to @Andarist for pointing that out! :+1:

Im not sure if the thing i have said about relative paths in browser field is common for all tools, but I had to fix it at least once for webpack - https://github.com/andreypopp/react-textarea-autosize/commit/866612508d248c592c3ffe4186306cff4c0c6af7
You might want to tag this issue as Hacktoberfest.

Tagged 🎃

I will have a small PR for this later today :)

at least main & module, I think bin can be an object, browser can be an object for sure, not sure about types, typings & es2015


No routes matched location "/sw.js"

What version of Remix are you using?
1.17.0
Are all your remix dependencies & dev-dependencies using the same version?

[X] Yes

Steps to Reproduce
Create a new remix project and start the application:
npx create-remix@latest

Select minimal setup, the Remix app server and TypeScript, go to the app and run:
npm run dev

Open the browser and check your Terminal output.
Expected Behavior
Just a 200 of my home page:
GET / 200 - - 2.531 ms

Actual Behavior
Next to the expected output I'm also seeing the following 404:
No routes matched location "/sw.js"
GET /sw.js 404 - - 8.465 ms

I see it even without opening the browser, and upon refreshing any browser viewing my app. Why is Remix looking for a service worker?

That was correct, thank you very much! I have no idea what service workers are, and I had indeed one registered from another application.
Btw, interesting how Remix cleanly exposed this problem, I didn't see that 404 in a Next.js project.


Private _grabPoints

@MephestoKhaan Good day, sir. Can you please make field _grabPoints in class Grabbable protected instead private? We are using hand posing to improve grab system in our app and we have procedural meshes and for these meshes we need to update grab points. Base system implemented in samples currently efficient for our purposes and create full Grabbable-Grabber implementation will take long time.

I imagine at this point you changed it yourself in the code. But I have gone and add it as requested to the Grabbable.
You can update using the Unity Package Manager as I have not increased the version for this tweak.


ToDo: Handle null & undefined

Currently the behaviour of nulls and undefineds is undefined itself.
Instead nulls and undefined should be serialized and deserialized to same


Remove unneeded Return type in Docblock of Illuminate\Database\Eloquent\Builder.php->get()

Remove unneeded static[] from ret type in docblock of Illuminate\Database\Eloquent\Builder->get()
This function only returns a collection from L:725
        return $builder->getModel()->newCollection($models);

This PR is incomplete. There are other methods with the same bug, too.

I created a discussion and issue a long time ago about this weird stuff, but nobody paid attention to them.
This must be fixed.

This PR has been reverted again.

Hi, leaving the static[] causes phpstan/larastan to fail, and actually is a problem. If you use get()->all(), you can not get sure get() returns a Collection...


Unable to install gf in kali

hello guys , hope someone here will help to resolve this issue :
i use kali linux and i unable to install gf with :

go install github.com/tomnomnom/gf@latest && cp ~/go/bin/gf /usr/local/bin/ && gf -h && mkdir ~/.gf && git clone https://github.com/Sherlock297/gf_patterns.git && cd gf_patterns/ && cp *.json ~/.gf && gf -list
cp: cannot stat '/root/go/bin/gf': No such file or directory

go install github.com/tomnomnom/gf@latest
( gf is not installed )

then i try :

go get -u github.com/tomnomnom/gf
( the some issue i got )

apt install go
go install github.com/tomnomnom/gf@latest
cp ~/go/bin/gf /usr/local/bin/

hi, this is my ansible template to install gf, it works pefect.
`- hosts: scanners
become: yes
tasks:

name: check go version
command: go version
register: result
changed_when: no
ignore_errors: true

name: go get gogs
shell: go install github.com/tomnomnom/gf@latest

name: Update .bashrc
blockinfile:
dest: "{{ ansible_env.HOME }}/.bashrc"
block: |
source $GOPATH/src/github.com/tomnomnom/gf/gf-completion.bash
marker: '# {mark} GF MANAGED BLOCK - RECONMORE_GF_INSTALL'
insertbefore: EOF
create: yes

name: Update .zshrc
blockinfile:
dest: "{{ ansible_env.HOME }}/.zshrc"
block: |
source $GOPATH/src/github.com/tomnomnom/gf/gf-completion.bash
marker: '# {mark} GF MANAGED BLOCK - RECONMORE_GF_INSTALL'
insertbefore: EOF
create: yes

- name: GF
shell: mkdir -p ~/.gf && cp -r /root/go/src/github.com/tomnomnom/gf/examples ~/.gf

name: Clone GF-Patterns
ansible.builtin.git:
repo: https://github.com/1ndianl33t/Gf-Patterns
dest: /tmp/gf/

name: mkdir .gf
shell: mkdir ~/.gf/

name: copy to dst
shell: mv /tmp/gf/*.json ~/.gf`

Use below command to install
go install github.com/tomnomnom/gf@latest


How can I use my own certificate, not letsencrypt?

Description
In my Azure TRE deployment I am trying to use a custom domain and our own certificate, not one from letsencrypt. I know of the page at https://microsoft.github.io/AzureTRE/unreleased/tre-admins/custom-domain/ that describes how to set up the custom domain, but that still refers to letsencrypt.
How do I replace the certificate from letsencrypt with my own in a stable and supportable manner?

Hi @TonyWildish-BH, you would just overwrite the existing cert called letencrypt in the keyvaut and link to the app gw. not an ideal name for a cert. Guess you could add a script to do it for you. Similar to the letsencrypt.sh script, but with you specific provider


drag-and-drop lanes in editor

supersedes #673
This was especially tricky because it:

introduced the drag-and-drop cards widget
synchronizes that widget with hover and click state from the map

https://user-images.githubusercontent.com/217057/130533023-d53f8c0b-3c5c-43bd-974f-a05252a571ae.mp4

I'm going to merge and keep iterating. Thank you so much for the PR!

One possible idea is immediately treating the dragged lane as selected and adding the controls to the panel. Another is moving the per-lane controls lower into the panel, creating a bit more "general -> specific" hierarchy, which I think was your suggestion from a while ago.

I think both of these are good ideas! I'll chisel out a little time to make these changes tonight or tomorrow.

I think both of these are good ideas! I'll chisel out a little time to make these changes tonight or tomorrow.

Sounds good, I'll leave that part be. Just letting you know, I've almost got a fix to

Bug fix: Some of the red lane outlines aren't showing up?

and if I decide to try any of the other improvements, I'll check with you beforehand to not clash


DragablzWindow + Windows API Code Pack

Hi,
First, thanks for this great library !
I'd like to use Dragablz to embed multiple windows explorer controls in a single window. I found that the old Windows API code Pack exposes an ExplorerBrowser control that is compatible with WPF (through a WinFormsHost). I've been able to make it work in a Dragablz tab unless the main window uses "DragablzWindow".
What happens is that the control is not drawn at all, but is here (you can interact with the control but not see it).
Here is a simple project to reproduce the issue.
TestExplorer.zip

I would also like to see support or a workaround for WInFormsHost.


cannot generate project.

I waited for an hour,  still stuck in here.  cannot proceed to the next step

Hi @louwangzhiyuY
It will take a while when creating a project for the first time as it will download many dependent packages to create the conda environment, in additional to the model files.
For example, it took me ~10min to create a Mistral-7b project in a clean setup, with high-speed internet.
Debug: generate-project[0]
   12:28:53.02 0 RunProcess data:Script execution completed.
Debug: generate-project[0]
   12:28:53.03 0 RunProcess exit code:0 elapsed:00:07:20.8384747
Debug: generate-project[0]
   12:28:53.03 0 ExecuteAsync Completed Elapsed:00:09:40.4726657
[2024-01-03T20:28:53.046Z] [INFO] Command executed to generate the project
[2024-01-03T20:30:29.719Z] [INFO] Command executed to generate the project

Have you tried to recreate the project with reliable internet connection?


How to use less plugin?

less: generateLoaders('less', { plugins: [new LessPluginFunctions()]})
this is the error: Module build failed: Plugin.install is not a function  in undefined (line undefined, column undefined)

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server, gitter or StackOverflow.


It is not clear what RolesTree are

It seems they are just permission about who can edit membership of some roles. But from the name it could mean also that there are permission checks you can do afterwards. For example, if user is in role foo, and role foo is parent of role bar, then checking for user for role bar should succeed if user is in role foo, but does not have bar assigned.

That's right, it is there in the Readme file but a bit hard to find. It should probably be moved above the History.
Also this functionality will be moved into a separate package at some point.
https://github.com/cunneen/meteor-accounts-admin-materializecss#roles-hierarchy


Protect password line

During node description
[devices."<IP_ADDRESS>"]
Hostname = "LabRouter1"
Ip="<IP_ADDRESS>"
User = "admin"
Port = 22
Password="SecretPassword1"
Profile = "Router"

Line with password in clear text.
Password should be encrypted.
Workaround:
Use pubkey authentication
Possible way to resolve this problem:
Use environment variable and point env var in the password line
Use base64/XOR encoding line
or other way

in this security enhancement need point base64 encoded password in the device password section
Config example:
[devices."<IP_ADDRESS>"]
Hostname = "CISCO"
Ip="<IP_ADDRESS>"
User = "cisco"
Port = 22
# base64(cisco123)=Y2lzY28xMjM=
Password="Y2lzY28xMjM="
Profile = "Cisco"

if the password line cannot be decoded properly the collecot will be halted and this error message will shown in the logs e.g.
2022/12/21 16:01:13 Cannot decode password of node CISCO err: illegal base64 data at input byte 12


Measuring Performance of rebuilding an index

Request you to add information on how to measure the performance of rebuilding an index .

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

ID: 342a6349-1b6c-8aca-600d-d1bd27f31e61
Version Independent ID: 41c25592-74eb-3efd-9781-1f6b51efd55e
Content: Rebuild an Azure Search index or refresh searchable content
Content Source: articles/search/search-howto-reindex.md
Service: search
GitHub Login: @HeidiSteen
Microsoft Alias: heidist

Hi @DheeraSite, Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

I filed an issue for the content backlog, copying the contents of this issue.
#please-close

We will now proceed to close this thread.


Entity graphics example is broken

https://resium.darwineducation.com/examples/?path=/story/entity--graphics
Shows the following error:
An error occurred while rendering. Rendering has stopped.
DataCloneError: Failed to execute 'postMessage' on 'Worker': ArrayBuffer at index 0 is already detached.
Error: Failed to execute 'postMessage' on 'Worker': ArrayBuffer at index 0 is already detached.
    at https://resium.darwineducation.com/cesium/Cesium.js:23:260609
    at Promise$1.then (https://resium.darwineducation.com/cesium/Cesium.js:23:79376)
    at when (https://resium.darwineducation.com/cesium/Cesium.js:23:79019)
    at TaskProcessor.scheduleTask (https://resium.darwineducation.com/cesium/Cesium.js:23:260441)
    at loadAsynchronous (https://resium.darwineducation.com/cesium/Cesium.js:23:1033783)
    at Primitive.update (https://resium.darwineducation.com/cesium/Cesium.js:23:1047123)
    at PrimitiveCollection.update (https://resium.darwineducation.com/cesium/Cesium.js:23:1509813)
    at PrimitiveCollection.update (https://resium.darwineducation.com/cesium/Cesium.js:23:1509813)
    at PrimitiveCollection.update (https://resium.darwineducation.com/cesium/Cesium.js:23:1509813)
    at updateAndRenderPrimitives (https://resium.darwineducation.com/cesium/Cesium.js:23:3015303)

Any working example i could see?

I confirmed that I can see the page with no problem. The error seems due to your browser or environment.


AutoCommit as standalone package

The functionality is now in the controllers AutoCommitController which live in System, System.Win, System.Web.
When the package is released the controllers will be removed and the package will be installed only in the modules that make use of it. For this case only the ExcelImporter uses the attribute.

The DevExpress.XAF repository includes commit AutoCommit as standalone package #370 that relate to this task. Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.
Thanks a lot for your contribution.

eXpand.lab release 18.2.703.6 includes commit Integrated MasterDetail, Autocommit, SupressConfirmation #372 #370 #367 that relate to this task. Please test if it addresses the problem. If you use nuget add our LAB NugetServer as a nuget package source in VS.
Thanks a lot for your contribution.

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.


display validation errors in a more accesible manner

In my opinion, errors during json validation contain very useful information that some users might be able to handle properly if they were presented in a different manner. Currently, this is what a validation error message looks like:

All the useful information is on the first line. The rest is basically the call stack and it is just overwhelming.
One very easy solution might be to delete the stack from the error object. In places like this: https://github.com/IPS-LMU/EMU-webApp/blob/06e96696dd60c12044838287ad95299177e0ebc4/app/scripts/services/dbObjLoadSaveService.js#L79 (there are a number of such places, try grep -r "Error validating" EMU-webApp/app/), calling delete validRes.stack; should do.
A more advanced approach would be to generate an even easier-to-read version by only looking at validRes.dataPath and validRes.message (and maybe validRes.code - don't know what that code means).

I don't know what you mean... I find that error message totaly legible :-). Kidding aside, I agree and we could try to do what you suggested but we would have to be carefull that validRes.stack is available for every error object we throw. Some of the server errors might be handled slightly differently (but I might be wrong). Would just mean we have to double check all the promise error handeling... not alot of fun but definately doable!

I don't know what you mean... I find that error message totaly legible :-)

now that you say it - fällt es mir wie Schuppen von den Augen ("like scales from my eyes" - can you say that? ;))
It would of course make sense to make sure we are dealing with the same kind of error object every time. On the other hand, we can't really break anything, as delete validRes.stack won't do anything when stack does not exist on the object (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/delete). The only time delete throws is "in strict mode if the property is an own non-configurable property." I don't think this is the case for the stack property (might however double-check that).


🗣Oral: FastFCN and Cybernetics(S03E10)

AMC Seminar Sign Up

Link to previous seminar meeting minutes comments issue:

#367
1. Oral / Poster Selection

Select one of the following selections for Oral or Poster:

Oral should be prepared for 15 - 30 minutes, and no more than 45 minutes, including Q/A.
Posters should be prepared for 5 - 10 minutes, and no more than 15 minutes, including Q/A.

[x] 🗣 Oral (15 MIN)
[ ] 📰 Poster (5 MIN)

2. Paper Information

Please fill the follow table and provide all the information as many as possible, for sharing with others better. (delete the rows that you did not fill)

Paper
Information

Name
FastFCN: Rethinking Dilated Convolution in the Backbone for Semantic Segmentation

Recommendation
Applying mathematics and cybernetics knowledge to CNN model building

Prior Knowledge
Semantic segmentation, FCN, Cybernetics

Year
2019

Publish
Arxiv

Author
Wu, Huikai, et. al.

GitHub
https://github.com/wuhuikai/FastFCN

Blog
NULL

Arxiv
https://arxiv.org/abs/1903.11816

3. After Party 🍻

Everyone will be welcome. You can join or not join as you want (not required by the AMC), and change your mind at any time.

After Party will be started right after all the meeting agenda had been fulfilled.
We will find a bar and drink beers and talk whatever we want. (we can expect that it will be related to meeting topics of the day)
The bill will be paid AA

[ ] 🍻 YES! I'll definitely join the After Party!
[x] 🤔 Maybe. I'd like to decide later.
[ ] 🛌 No, I'm afraid not this time.

4. New Friend

Whether you have a new friend comes with you to the club.

[ ] 👥 I'll bring a new friend
[x] 👤 There's no new friend from me

Artificial Intelligence & Machine Learning CLUB, 2018 - 2019 AI ML Club - AMC Member Manual

@linbo0518 By the time I will be ready to zoom live and keep in touch.

申请挂靠珅达师兄呀 @CyFeng16

申请挂靠珅达师兄呀 @CyFeng16

Agreed.


[9.x] Return non-zero exit code for uncaught exceptions

This is a fix for https://github.com/laravel/framework/issues/46306.
Any uncaught exceptions inside the exception handler now explicity exit with code 1, indicating an error state. A test has been included to test for the correct exit code in case of an uncaught exception and in the case of successful execution.
EDIT: thanks to Crynobone for cleaning up the testcase to work neatly with the testbench

Honestly for a simple change I would just leave all tests unchanged. Just creates more maintenance overhead than it's worth.

@taylorotwell I prefer to leave the test in since the behaviour does need to be tested. If you have a faster/cleaner way to test this with less code then by all means :)
One way or another you need to call an external process with a php artisan ... command; the trait MakesArtisanScript is the most straightforward solution to have the correct boilerplate in the test(s).

@crynobone do you have any idea on how to rewrite the testcase using the testbench such that I can test the exitcode for running an artisan command?

@bert-w Can you share an artisan command example?

@crynobone in essence doing the following:
/** @var \Illuminate\Foundation\Console\Kernel $kernel */
$exitCode = $kernel->call('throw-exception-command');

However since the command is meant to throw and I want to test the exitcode, this call must happen as a separate process or else the testcase itself will throw the exception.
This PR currently includes a wrapper to create an explicit artisan file for inside the Testbench but it is a bit convoluted that way.

Is there any way an application could enter this section of code without being in an unrecoverable / fatal error state? In other words, is this going to break any applications that could have possible kept executing code after this handleException method is called?

I don't see how that could be possible since that function is set using set_exception_handler(...). This handleException function thus is only executed on an uncaught exception. PHP says "Execution will stop after the callback is called." (see https://www.php.net/manual/en/function.set-exception-handler.php)
Then once exit(1) is called, only shutdown handlers register_shutdown_function(...) and destructors __destruct() are called (see https://www.php.net/manual/en/function.exit.php).
The only destructor being called after this in a default Laravel app is the Monolog handler itself, but whether it is called because of an exit() or because of an object dereference shouldnt make a difference.


[BUG] No recipe for air tight seal enchanment

Version of Advanced Rocketry

2.0.0-11

Have you verified this is an issue in the latest unstable build

Yes

Version of LibVulpes

1.0.2-22

Version of Minecraft

1.16.5

Does this occur without other mods installed

[x] Yes, the only other mods are libVulpes and JEI
[x] N
[x] N/A

If Y, what is the MINIMUM set of mods required.

Description of the problem

There is no recipe for adding the airtight seal to armor. When armor is right clicked in JEI, you can't see how to add the airtight enchantment through the chemical reactor. If I use the recipe(In the chemical reactor) shown in a 1.12 version, it doesn't work.

1.16.5-2.0.0-12
this is still an issue in 2.0.0-12
also the enchantment isnt working at all not sure if i should open a different issue for this.


exporter not adding files to subdirectory

It's not getting files in folders like "assets".

I'm not sure why we really need an "asset" folder - why not just flatten everything in the root?
@yuruofeifei - please chime in.

I don't think we need assets folder. but if the user provides a folder with subfolders I would expect that to be present in the exported model as well so I don't have to write different code for the package model and when i am developing the service.

Agreed!
Current behavior seem to be that mxnet-model-export just ignores nested folders. We need to fix that.

Unfortunately decompressing zip files requires random access to the archive, and the ZipFile methods (not to mention the DEFLATE algorithm itself) only provide streams. It is therefore impossible to decompress nested zip files without extracting them.
https://stackoverflow.com/questions/11930515/unzip-nested-zip-files-in-python


Not working on touch devices

Great component! It works perfect on web, but on touch devices doesn't load anything. It leaves the lazy-load sections blank, like if it wasn't detecting any scroll.
Any ideas? I tried running the example to check it on touch devices as well, but is throwing an error, already submitted in #93
Thanks!

Seems another lib was interfering, nvm


:art: Refactor: move route func's to separate handlers

Move all the route handling functions to separate modules in routes/handlers/. Makes it easier to maintain routes/spec.js, and to write tests for each route.
Which reminds me. Todo: write tests for each route!

This will need a rebase. But my intent was for queries.ts to hold most of the business logic as well as provide testable interfaces. We don't necessarily need to split each set of functions into a separate file, I think


WIP: drop labels in Image and Audio folders by default

will fix https://github.com/huggingface/datasets/issues/5153 and redundant labels displaying for most of the images datasets on the Hub (which are used just to store files)
TODO: discuss adding drop_labels (and drop_metadata) params to yaml

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

close in favor of https://github.com/huggingface/datasets/pull/5192

close in favor of https://github.com/huggingface/datasets/pull/5192


Re-factor unittests and componenttests suite

With this PR we split tests in fast and slow tests. This aims at simplifying local development. For CI workflows, we still use all tests.

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

Project coverage is 98.23%.  Consider uploading reports for the commit 70c9762 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #71   +/-   ##
=======================================
  Coverage   98.23%   98.23%
=======================================
  Files          70       70
  Lines        3569     3569
=======================================
  Hits         3506     3506
  Misses         63       63

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


The documentation for admin/build-vagrant-box could be improved.

See #723 for some comments.
In particular, it isn't clear that when testing a branch, you need to pass the branch name,

We are moving our development planning to JIRA. This is issue is now being tracked at https://clusterhq.atlassian.net/browse/FLOC-792. You are welcome to file additional issues in GitHub if that's easier for you.


[Question] web support?

Great plug-in and thanks heaps.
Any time frame on web support, please?

Repeated topic: https://github.com/rafaelsetragni/awesome_notifications/issues/201


Fix crash in default show() methods

This is a quick workaround but in the future it should be coded in a safer way.

👍

This PR breaks the basic show() functionality if you have more than one view controller pushed in the current window - e.g It'll work on a root view controller, but not if a child view controller I pushed upon that. I would argue that .last should be used instead of .first (an also unwrapped gracefully instead of forcefully). I'll submit a PR fixing this.


Bring Back Tech Support - This is WAY too Complicated

This is far too complicated and Microsoft continues to hide behind all this insanity. I do NOT want to start programming again just to use a product and alert them to things going on with it. I'm paying for this & their salaries, not the other way around. I'm getting threatened by phishers/scammers who end up getting around the crummy Outlook junk mail filter. and into my inbox. All coming from Google Mail. They're getting smarter in hiding who they are using my email address as a domain. REALLY, MS? You need to take accountability for these things. Not turn us into unpaid developers. I'm retired & disabled. Bring back direct technical support!! You're paying those folks, so where are they?

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

ID: ba3c2328-105e-de82-a999-98662924b81c
Version Independent ID: c353e1b6-4409-bcb6-67b6-943d43ea8f23
Content: Configure anti-phishing policies in EOP - Office 365
Content Source: microsoft-365/security/office-365-security/anti-phishing-policies-eop-configure.md
Service: microsoft-365-security
Sub-service: mdo
GitHub Login: @chrisda
Microsoft Alias: chrisda

@KingRayBoss, there's nothing more frustrating than being dumped into admin content when you aren't an admin.
Out of curiosity, were you directed to the anti-phishing policies article by a link in Outlook?

I'm the admin of my machine, but it's wild how I ended up here. Since I can't find a tech support phone number, I clicked on Feedback and saw all this stuff about programming Outlook. SMH
Yes, I saw the anti-phishing policies, but am tired of reading through tons of things like that when I've been an Outlook user since the 1990's. Shouldn't be this hard and my eyes are old. LOL
From: Chris Davis @.>
Sent: Thursday, February 23, 2023 1:03 PM
To: MicrosoftDocs/microsoft-365-docs @.>
Cc: KingRayBoss @.>; Mention @.>
Subject: Re: [MicrosoftDocs/microsoft-365-docs] Bring Back Tech Support - This is WAY too Complicated (Issue #11116)
@KingRayBosshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FKingRayBoss&data=05|01||db9b44b89cc2472ae65908db15c830ac|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638127721766053556|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=x7nMvwesgdNw4XrKjSiZkqvEozV1dTgk0bZHgipNFss%3D&reserved=0, there's nothing more frustrating than being dumped into admin content when you aren't an admin.
Out of curiosity, were you directed to the anti-phishing policies article by a link in Outlook?

Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fissues%2F11116%23issuecomment-1442208118&data=05|01||db9b44b89cc2472ae65908db15c830ac|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638127721766053556|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=VA8XILUFNJhhe0FgaooYDa%2FmVRDx3OWCLTfJ%2F0bKQOc%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA6CNOBTB4NV3FD5QZ7LMBEDWY6Q47ANCNFSM6AAAAAAVFIKYBA&data=05|01||db9b44b89cc2472ae65908db15c830ac|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638127721766053556|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=UKqbs52aYwqo3h5ltT5RhaFai0wyiMluF5Ia3IDvFPQ%3D&reserved=0.
 I've been a computer professional since 1978. That's why I knew what to say.  I've been an operator, tech support rep, software developer, and software consultant. I would've never gotten away with hiding from end-users like they get away with now. NOT GOOD!
Sure, I would appreciate the information if I was trying to write code for my products, but I am not. I'm a busy guy and started steaming when I saw the email threatening to do things to my machine if I didn't send them Bitcoins. Are you kidding me? LOL

Wait, you want screen shots of that threatening email that wound up in my inbox, @LordReydrX? Oh, how about the one who threatened to take over $400 from my PayPal account? They're too long for that and exposes my real email address. I thought it was legitimate until I looked into it further. It was exactly the amount of some yard care I scheduled and I sent a crazy email to the vendor telling them it was supposed to be deducted quarterly, not all at once. I apologized quickly and still got a discount cuz she likes me ... hahahaha. I told her it was my fault for not looking more closely at that email with a PDF attachment. Sure is wasting my time & nerves, I tell you that!
From: LordReydrX @.>
Sent: Thursday, February 23, 2023 8:31 AM
To: MicrosoftDocs/microsoft-365-docs @.>
Cc: KingRayBoss @.>; Author @.>
Subject: Re: [MicrosoftDocs/microsoft-365-docs] Bring Back Tech Support - This is WAY too Complicated (Issue #11116)
TL;RD: If we 'game-theoried'this out, the statistical outcome would prove this is the most effective method given the current demand and scope of these efforts.
See below for a more human analysis.

With all due respect and consideration, I must acknowledge your perspective is one of the more rational arguments I have heard in quite some time. Thank you.
With that acknowledged, I must also respectfully dissent. I am rather fond of having - a library of commonly referenced articles and resources sitting in my library.
Not only does this give us ready access to apply these articles to our solutions -- and it's self-perpetuating mainly.
Most of all--this approach saves so much time.

Something'a whack?
Say something.
Know how to resolve it? Great, grab your issue, implement the fix, drop it in the pipeline and enjoy the rest of your day.
None of that applies?
Still not a problem.
Drop some notes and maybe a screenshot in an issue, and go about your day.
No problem.
Yeah, we turn a few wrenches once in a while but with
the largest,
most experienced and knowledgeable collection of brilliant minds in rhe world--why shouldn't we take a minute or two to pull some weight occasionally?
Who better to do this than the people who use it most? Tell me a faster way to get your reqs fulfilled. If you know of one, it would be an honor to learn of it from you.
As for me, I don't do anything for Microsoft.
I participate, collaborate and consult for those I can see for myself are trying to better the world in their own ways.
We do not give to Microsoft. We are giving to one another.

Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fissues%2F11116%23issuecomment-1441800073&data=05|01||e40605f3a1894b5288e008db15a22dc3|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638127558506032921|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=Jh61GXIwpngfbDvSQordq9n4DvhvrVG3SAEjuyW6KJM%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA6CNOBTBDJ7HEPKEFQK3ECTWY5RATANCNFSM6AAAAAAVFIKYBA&data=05|01||e40605f3a1894b5288e008db15a22dc3|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638127558506189113|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=E47AHtCb31ywi%2FSGujSC1FdBOQX8S3S8BpdXRmfAYu0%3D&reserved=0.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Huh? What are you stammering about @LordReydrX? I didn't insult you. Perhaps it's you who needs to be on meds, not me. LOL ... Ummmmmm
From: LordReydrX @.>
Sent: Sunday, February 26, 2023 8:29 PM
To: MicrosoftDocs/microsoft-365-docs @.>
Cc: KingRayBoss @.>; Mention @.>
Subject: Re: [MicrosoftDocs/microsoft-365-docs] Bring Back Tech Support - This is WAY too Complicated (Issue #11116)
What the actual -- are you on about threatening emails and all that nonsense? Way to be a shining example of the reason so many newbies are avoiding user committees these days.
Tell ya what, you go to the hospital for a 72-hour "vacation", get back on your meds--and I will comb through my history and fix it myself.

Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fissues%2F11116%23issuecomment-1445540329&data=05|01||270a9324281b42b081f508db1862012b|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638130581430542194|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=yEadc6ZgpRzDHlaQkXV4JNl7ZNvE0HOOI%2F77neK9mCo%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA6CNOBQVZKDVH6UYDGHCN33WZP7NZANCNFSM6AAAAAAVFIKYBA&data=05|01||270a9324281b42b081f508db1862012b|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638130581430542194|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=WwswgsChhzSHIP5GQ8KSEpWqBFnsWGDCy4ipD%2F6Q%2BxU%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

I have a whole lot going on in my life, mostly good things, but I can only get to these responses when I can get to them. No, I haven't found a solution to letting Microsoft know they need to do something about their filter again. That was the nature of my feedback. That somehow Google email addresses slip past the junk mail filter and end up in my inbox. Blocking them only happens when I think it's not a legitimate email, and there are times when I'm bombarded with them.
THAT is why I was so confused that I ended up here instead of giving feedback directly to Microsoft. I don't know how that happened.   That much we can agree on both sides of the spectrum. I'm not stupid, nor am I any kind of newbie, just new to this Forum. I've been in computers since 1978, and you're rather ridiculous to assume anything about me.
Have a nice day after you get those meds you projected onto me. LOL ... SMH

OK. Then. It looks like this thread has run it's course.
Thanks for the feedback.
Closing.


Learn CockroachDB SQL page may have out of date terminal output

The page https://www.cockroachlabs.com/docs/learn-cockroachdb-sql.html demonstrates SHOW COLUMNS FROM accounts; when I run this with a current Cockroach, I see an extra column, Indices, in the table:
+---------+---------+-------+---------+-----------+
|  Field  |  Type   | Null  | Default |  Indices  |
+---------+---------+-------+---------+-----------+
| id      | INT     | false | NULL    | {primary} |
| balance | DECIMAL | true  | NULL    | {}        |
+---------+---------+-------+---------+-----------+

This might need to be updated?

Nice find, @raxraxraxraxrax. Thanks!


Add basic functionality

Description
Add basic functionality

-h, --help
-v, --version
parser

What does this PR do?

[x] Implement -h, --help handler
[x] Implement -v, --version handler
[x] Implement Code Viewer in parser
[ ] Implement Header in parser
[ ] Implement Plotter in parser

How Has This Been Tested / Working?
-h, --help
https://github.com/skudlur/waveplot/assets/118456685/a6a85a7a-a65b-49ee-a6b5-050bc117d094
-v, --version
https://github.com/skudlur/waveplot/assets/118456685/c7dd7dc1-32fb-492c-986b-946282d2dbe5
Directory or invalid arugment or invalid path
https://github.com/skudlur/waveplot/assets/118456685/7c51ad79-7fcb-40f6-9eb1-58c83bfca0dc
Code Viewer (inside parser)
https://github.com/skudlur/waveplot/assets/118456685/d63f0f0c-fb65-4650-a62b-e0e12f96c858
Checklist:

[ ] Implement Header in parser
[ ] Implement Plotter in parser

@skudlur

Looks clean, I will fix the plot type and so on. But thanks for contributing the basic eye-candy.


Make DistributedState custom operator free

Fixes #320 by:

Removing the K.op in the DistributedState by defining the transpose_state as a seperate backend method implemented using tf primitives when backend != "custom".
Moves the DistributedState tests in a different files which is skipped when the custom backend is not available as this state is not useful without the DistributedCircuit and this is only available for the custom backend.

Note that this does not implement the DistributedCircuit for the einsum backends, but this should be not hard to do if we need it.
Everything seems to work locally but let's see if the CI also passes.

Perfect thanks!


clean reproducable builds

needed for raintank-docker, and basically just needed period.
go 1.6 will adopt go vendoring (see https://docs.google.com/document/d/1Bz5-UB7g2uPBdOx-rw5t9MxJwkfpx90cqG9AFL0JAYo/edit) but that's only part of the solution: we also need to be able to elegantly put, and maintain packages in the vendor directory.
i tried using git submodules, but it's too much work to specify everything manually
https://github.com/kr/vexp looks like it solves it, but it's yet another 3rd party tool.
godep now supports it, see https://github.com/tools/godep#go-15-vendor-experiment so this seems interesting. i've always found godep complicated and cumbersome (or at least how it's used with grafana) but maybe now it's different.
i wonder if with the advent of 1.6 this will also become a solved problem, but i don't think so.

Think I'll try glide for this


Remove Val::Block

...or, while trying, realize why we have it.
Val::Block made a whole lot of sense back in the beginning when we had first-class blocks. Now when I scan through the code, it feels like a leftover abstraction waiting to be culled.
We have very few places actually creating a Val::Block. All of them enter that block almost immediately after creating. The exception being the reify method of Q::Block — but when you start looking at the calls to this method, it's again the same thing: reify is called only to enter the result.
I'd suggest doing the obvious thing and trying to extend the parameter list of enter to try to soak up the data carried in Val::Block currently, since that doesn't seem to be carrying its own weight in terms of a Val:: type.
This issue is brought to you by trying to document Val::Block in the api-documentation branch and coming up way short.

I'd say the biggest reason this one should go away is that Val::Block isn't a first-class value. Apart from manually creating a Val::Block object, there's no way to get one out of the runtime. That's an indication it's not really needed.

Not to mention, I've felt for a long time that the handling of blocks, scopes and call frames had "one step too many" somehow. This might be it.


Renamed 'hierarchyWindowChanged' to 'hierarchyChanged'.

Also renamed the DTValidtor method 'HierarchWindowChanged' to 'HierarchyChanged' to avoid confusion between UnityEditor API and DTValidator.
Will close issue #6

Thanks for the PR! This looks pretty good to me, except that hierarchyChanged doesn't exist in previous versions of Unity.
Can you wrap the new code in #if UNITY_2018_1_OR_NEWER (https://docs.unity3d.com/Manual/PlatformDependentCompilation.html)?
Keeping the function renamed to HierarchyChanged for both versions is fine.

Great thanks!


[SPARK-46503][PS][TESTS] Move test_default_index to pyspark.pandas.tests.indexes.*

What changes were proposed in this pull request?
Move test_default_index to pyspark.pandas.tests.indexes.*
Why are the changes needed?
test code clean up
Does this PR introduce any user-facing change?
no
How was this patch tested?
ci
Was this patch authored or co-authored using generative AI tooling?
no

Merged to master.

thanks @HyukjinKwon


Get-BCContainerAppInfo is horribly slow

PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue
The process Get-BCContainerAppInfo has become a lot slower on nextmajor and master.
Previously, and on previous versions, this is taking seconds at most; with the current version it's taking around two minutes per run. Using Invoke-scriptInBcContainer  is still the same speed as before.
Scripts used to create container and cause the issue
                $containerName = 'bcserver'

		# This takes minutes on nextmajor!
		$apps = Get-BCContainerAppInfo -containerName $containerName -tenantSpecificProperties
		Write-Host "Got $($apps.count) apps listed"

		# But this is fast.
		$apps = Invoke-scriptInBcContainer -containerName $containerName -scriptBlock {
			Get-NavAppInfo -ServerInstance $serverInstance -TenantSpecificProperties -Tenant 'Default'
		}
		Write-Host "Got $($apps.count) apps listed"

Full output of scripts
BcContainerHelper version 6.0.7-preview1148
Setting MicrosoftTelemetryConnectionString =
Got 102 apps listed
...

BcContainerHelper version 6.0.7-preview1148
Setting MicrosoftTelemetryConnectionString =
WARNING: Container name should not exceed 15 characters
BcContainerHelper is version 6.0.7-preview1148
BcContainerHelper is running as administrator
HyperV is Disabled
UsePsSession is True
Host is Microsoft Windows Server 2022 Standard - 10.0.20348.2322
Docker Client Version is 25.0.3
Docker Server Version is 25.0.3
Removing Desktop shortcuts
Fetching all docker images
Fetching all docker volumes
Using image navimage:nextmajor-gb.1
Disabling Health Check (always report healthy)
Creating Container Build-S29B18424A90
Style: sandbox
Multitenant: No
Version: 24.0.16556.0
Platform: 24.0.16518.0
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.20348.2322 (ltsc2022)
Host OS Version: 10.0.20348.2322 (ltsc2022)
Using process isolation

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context

does it happen all the time? -- Seems to for the new version
did it use to work? -- Still does for the older versions.

Yep - I am aware of this - we will have to fix this next week (am on vacation this week)


Not flagging crossed handles

macOS 10.12.6, G2.6.1 [1204] -- IIRC the plugin used to show all instances of crossing handles, but when the two on-curve nodes are at an angle to each other it now only shows them when one crosses very near to the off-curve node of the other. If it crosses a few units away it isn't flagged.
The image shows an example of when it isn't flagging an obvious cross.

I finally captured some feedback from the Macro Panel which may relate to this problem.
Traceback (most recent call last):
File "GlyphsApp/GlyphsApp/plugins.py", line 1158, in drawForegroundForLayer_options_
File "plugin.py", line 104, in foreground
File "plugin.py", line 175, in drawCrossingsForData
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/objc/_convenience.py", line 459, in _getitem__objectAtIndex
raise IndexError("list index out of range")
IndexError: list index out of range

Thanks, I’ll have a look.

I believe this problem has been fixed some time ago so will close it.


Way to initialize atts to 'reasonable' values for cli like we do for gui

We have a mechanism via PluginInfo to initialize operator atts to 'reasonable' values based on the current plot and/or SIL selection. This helps with populating gui widgets. The current setup, however doesn't help when using cli. Take onion peel for example. When SIL is applied, the 'categoryName' and 'subsetName' in the gui are filled in with the first available category and set available in the SIL. In the cli, when we grab the default atts via 'OnionPeelAttributes', those fields aren't pre-filled with reasonable values, and the 'whole' SIL is used. This can lead to unexpected differences in behavior between gui and cli, if say, user only changes the 'index' when using the cli. See onionpeel.py TestUCD. When the default index for onionpeel attributes was changed to 0, this test was modified to set the index to 1 (the old default). In parallel, this yielded results from 2 domains instead of only 1.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 3279
Status: New
Project: VisIt
Tracker: Feature
Priority: Normal
Subject: Way to initialize atts to 'reasonable' values for cli like we do for gui
Assigned to: -
Category: -
Target version: -
Author: Kathleen Biagas
Start: 12/21/2018
Due date:
% Done: 0%
Estimated time:
Created: 12/21/2018 09:58 am
Updated:
Likelihood:
Severity:
Found in version: 2.12.3
Impact: 3 - Medium
Expected Use: 3 - Occasional
OS: All
Support Group: Any
Description:
We have a mechanism via PluginInfo to initialize operator atts to 'reasonable' values based on the current plot and/or SIL selection. This helps with populating gui widgets. The current setup, however doesn't help when using cli. Take onion peel for example. When SIL is applied, the 'categoryName' and 'subsetName' in the gui are filled in with the first available category and set available in the SIL. In the cli, when we grab the default atts via 'OnionPeelAttributes', those fields aren't pre-filled with reasonable values, and the 'whole' SIL is used. This can lead to unexpected differences in behavior between gui and cli, if say, user only changes the 'index' when using the cli. See onionpeel.py TestUCD. When the default index for onionpeel attributes was changed to 0, this test was modified to set the index to 1 (the old default). In parallel, this yielded results from 2 domains instead of only 1.
Comments:

It was asked during our project meeting whether or not using command-recording would show the correct defaults to use with the cli.  The answer is NO.
I duplicated in the gui, TestUCD from onionpeel.py, which uses the default attributes for OnionPeel. When it was time to add the onion peel operator I turned on command recording.  It only recorded 'AddOperator("OnionPeel")', since  no atts were changed.


xcode installed command doesn't parse .xcode-version beta format

When using the Xcode 15 beta you can update your .xcode-version file to reference version "15" or "15.0" and as long as you only have 1 beta installed it will resolve the correct path. However, if you have more that one beta installed it will return an error due to it finding multiple matches, which is the desired behavior. In order to disambiguate which version you are trying to reference you can specify a version like "15.0b3". The issue is that the xcode installed command doesn't recognize this format.
This causes downstream issues when using tools like Fastlane for builds as it is able to properly determine the desired version, but then causes an error when querying xcodes.
Desired behavior:
xcodes installed "15.0b2"
/Applications/Xcode-15.0.0-Beta.2.app
Actual behavior:
xcodes installed "15.0b2"
15.0 B 2 is not installed.

I have just discovered that specifying the version as "15.0beta3" does appear to work. Would it still be valuable to include this change to parse the shorthand version as well? Or maybe the .xcode-version README should spell it out as well.


[BUG] Freertos-Cellular port of TCP_Sockets_Recv() should report TCP_SOCKETS_ERRNO_ECLOSED for remote close

Describe the bug
The TCP_Sockets_Recv() uses the prvNetworkRecvCellular routine to handle the actual data blocking and retrieval.
The routine properly determines the remote close scenario
https://github.com/FreeRTOS/FreeRTOS/blob/c7b3124565d9591640c491d296ff2da665e5eb9a/FreeRTOS-Plus/Source/Application-Protocols/network_transport/tcp_sockets_wrapper/ports/cellular/tcp_sockets_wrapper.c#L326-L336
but when translating the socketStatus to retRecvLength return code, the handling for CELLULAR_SOCKET_CLOSED is missing, thus it is translated to the broadest TCP_SOCKETS_ERRNO_ERROR error code.
https://github.com/FreeRTOS/FreeRTOS/blob/c7b3124565d9591640c491d296ff2da665e5eb9a/FreeRTOS-Plus/Source/Application-Protocols/network_transport/tcp_sockets_wrapper/ports/cellular/tcp_sockets_wrapper.c#L348-L356
Target
FreeRTOS-Cellular tcp_sockets_wrapper implementation.
Host
All platforms
To Reproduce
Open socket with TCP_Sockets_Connect() and do blocking read with TCP_Sockets_Recv(), close the remote connection.
One can use netcat -l as the server.
Expected behavior
TCP_Sockets_Recv() should report TCP_SOCKETS_ERRNO_ECLOSED when remote closes the connection, interrupting the blocking read.

This issue is updated in #922.


Update minuvis to 2.3.3 at stable

@SVallant
Your adapter https://github.com/minukodu/ioBroker.minuvis does not use standard iobroker testing.
Please see requirements https://github.com/ioBroker/ioBroker.repositories#requirements-for-adapter-to-get-added-to-the-latest-repository
Adapter needs to have at least Adapter basic testing (installing, running) using GitHub actions. More information in forum from apollon77 (Just take from other adapters the samples)

You may copy the test-and-release.yml workflow from the example adapter or newly created adapter. If you need help, please let uas know.
Please feel free if you need any help setting up standard testing and / or if you prefer a PR to fix this.
Please add a comment when you have reviewed and fixed the suggestion or at least commented the suggestions and you think the adapter is ready for a re-review

clase pull request, adpater does not have standard iobroker testing.

Why did you close the PR.
Standard GH testing is required for all Adapters and should not be a big problem.
If you need any help, please let us know.
Or do you want the adapter to be removed from the repositories?

i closed this because i have to update the adapter and then a have new version number
is this wrong ?
Or do you want the adapter to be removed from the repositories? NO

Updates to the adapter repository are needed.
A new version is NOT needed as long the tests do not show a problem with the adapter. The std. github tests are run at every commit, so even adding a space to README.md will trigger them.
If no change to code is required no new release is required.
Most likely the lint check will throw issues. Its OK to disable it at the first pass (lint:false at workflow). But I strongly suggest to enable it later and fix the issues. As this will require code changes (and even if only changeing single an ddouble quortes) a test is strongly recommended. So if linter throws issues I suggest to disable it now to minimize your workload, create a issue and process it when you are working at the adapter the next time.
Martin (mcm1957)

ok

Sorry for late feedback.
I must revise my reqeust to add standard ioBroker github testing. I just detected that your adapetr deos NOT provide any adapter code, it contains only a www component. So standard github tests do not provide any testing / are not possible at all.
Sorry for the fact that I dod not notice that at the first look.
I'll continuie with the stable upgrade now.

2.3.3 created 04.04.2023
OK


Get mech unit info

As per title

@gavanderhoorn, can you reapprove the PR? I have just synced it with the base branch.

Also merged it.
You probably also want to rebase #108 now?

Also merged it.

Great 👍 Thanks for the review.

You probably also want to rebase #108 now?

Yes, and done.


Remove CharIO in favor of FormatWriter and write! in core

This has been discussed a little, and we should investigate more for sure. I just don't know why CharIO is needed exactly. For my purposes of debug output via UART, the write! macro with FormatWriter implementation works perfect.

👍 I just implemented this on my teensy/k20 branch of zinc - https://github.com/archaelus/zinc/blob/k20_72/src/hal/k20/uart.rs#L188-L198 It's a tiny amount of code, and quite a bit easier to use than CharIO.


Update README.md

Description
Please include a summary of the change and which issue is fixed. Also include relevant motivation and context. List any dependencies that are required for this change.
Contribution Guidelines
Please Read through the Contribution Guidelines.
Fixed Issues
UPdation in contributing
Fixes #(issue)
"BEFORE" and "AFTER" output
To verify that the change works as desired, please include an output of terminal before and after the changes under headings "BEFORE" and "AFTER".
BEFORE
Any Terminal Output Before Changes.
AFTER
Any Terminal Output Before Changes.
Contribution checklist

[x] I have read the Contributing Guidelines.
[x] The commits refer to an active issue in the repository.
[x] I have added automated testing to cover this case.

Notes
Please mention if you have not checked any of the above boxes.

Hi @rishabh710
Thanks for taking an interest in contributing to the kube-hunter!
This PR however does not add real value to the project. Take a look at The Contributing.md
We now also have a link to it in the main README thanks to #383 being merged.


make Python 3.11 jobs required

Contributes to https://github.com/rapidsai/build-planning/issues/3.
Reverts #182.
Proposes making the Python 3.11 CI jobs required. As of this PR:

if those jobs fail, they'll be marked as failed in CI
merging will be blocked until they're passing

Thanks all! 🙏


Not aksing for PW

Hi
I have a running system with webiopi and the RPi Cam Web Interface Livestream implemented with an iFrame. As I setup the system I didn´t setup the Password.
Webiopi - Port: 8000
RPi Cam Web Interface - Port: 9000
I wanted to do this now, and so I run the install.sh script
I setup everything (Username, PW,...) and everything is working excapt my WebiOpi :-(
So I dicided to restore my backup and create a manuall .htaccess file in /var/www (code is in html subfolder) and a .htpasswd file in /usr/local
But after reboot, the webbrowser donßt asked me for Username and PW
I found Issue #309, and there you write to change something in /etc/apache2/sites-available/raspicam.conf
But I don´t have this file. I have only 000-default.conf & default-ssl.conf
and the content between #309 and my is different. Do I have to create such an file?
What can I do to make this run?
Thanks

/etc/apache2/sites-available/raspicam.conf is created when the install.sh is run irrespective of whether username/password is created. If username/password is requested then install.sh will change the raspicam.conf file so that apache knows to use that. It will also create the htaccess files with the password as configured. You do not need to do any manual steps. install.sh also creates a link to raspicam.conf in the sites-enabled folder so that should be visible as well and normally should be the only file there.
If these are not there then either something went wrong during the install.sh or some other process subsequently deleted them.
I think I would start clean, install RPi Cam with username and password. CHeck that is working and verify you have the raspicam.conf file as described.
Then do the webiopi and check that raspicam.conf is still there.


fix(blog): respect user theme choice

At the moment the blog is not readable since it has css classes set only for a light theme. Since SaaSKit changed to support both light and dark themes the blog also needs to support that. This fixes the CSS on the SaaSKit side. However since we use deno-gfm we might think about adding our own CSS to for the rendered markdown files.

deno-gfm supports dark mode if properly configured.


Error when column contains UUID in AWS Glue

Describe the bug
When running wr.catalog.extract_athena_types and wr.db.read_sql_query where there are columns with UUID, it returns an exception. When I circumvent wr.db.read_sql_query with pd.read_sql_query, I run into the the same exception as below:
Exception with extract_athena_types
File "/glue/lib/installation/awswrangler/catalog.py", line 1309, in extract_athena_types
    df=df, index=index, partition_cols=partition_cols, dtype=dtype, index_left=index_left
  File "/glue/lib/installation/awswrangler/_data_types.py", line 292, in athena_types_from_pandas_partitioned
    df=df, index=index, dtype=dtype, index_left=index_left
  File "/glue/lib/installation/awswrangler/_data_types.py", line 270, in athena_types_from_pandas
    df=df, index=index, ignore_cols=list(casts.keys()), index_left=index_left
  File "/glue/lib/installation/awswrangler/_data_types.py", line 248, in pyarrow_types_from_pandas
    for field in pa.Schema.from_pandas(df=df[cols], preserve_index=index):
  File "pyarrow/types.pxi", line 1078, in pyarrow.lib.Schema.from_pandas
  File "/glue/lib/installation/pyarrow/pandas_compat.py", line 521, in dataframe_to_types
    type_ = pa.array(c, from_pandas=True).type
  File "pyarrow/array.pxi", line 265, in pyarrow.lib.array
  File "pyarrow/array.pxi", line 80, in pyarrow.lib._ndarray_to_array
  File "pyarrow/error.pxi", line 84, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: Could not convert 422a0dee-4b98-405d-978c-0e0e96482643 with type UUID: did not recognize Python value type when inferring an Arrow data type

To Reproduce
Version: 1.0.2 whl and 1.0.4 whl on AWS Glue Python Shell 3
Only happens in AWS Glue unfortunately. Wondering if object type should be added into pyarrow_types_from_pandas to convert them into pa.string(). I can make a PR for that.

Hi @keatmin, thanks for reaching out!
Unfortunately, we can't force all object types to became string, because we have others types that are represented the same way on Pandas (e.g. pa.binary(), pa.date32(), pa.decimal128()) .
A couple questions:

What is your target database? (e.g. PostgreSQL)
Did you try to pass the dtype argument to cast this column? (e.g. dtype={'col_name': pa.string()})

@igorborgest first of all really appreciate your work in this.
Yes, that's how I solved it by

casting the column in dtype
casting the column to varchar/text in the sql query.

Target is s3. I still created an issue here because it seems to be only in Glue and want to dive deeper into it to understand.
Yeah dived into pandas types and realised converting all object to string is a really bad idea.
I can close this.

Thanks for the quick answer @keatmin.
I will explore how we can improve the experience for this kind of case, could you please provide what is the database you are working on? Is it PostgreSQL?

Yikes sorry, forgot about that. Yes, it is postgresql.
Also Athena seems to be very fuzzy about datetime and timestamp when uploading in csv. I have to remove timezone from each column to ensure that it's compatible with Athena. Not sure about other db because I have only worked with PostgreSQL, so just curious if there is a need to convert timezone in pandas in other db for it to be Athena friendly

Reopen to try to address the reported issues in the next minor release!

@keatmin Thanks again for report it!
We just added support to UUID on PostgreSQL and it will be available int next release 1.1.0.
P.S. Athena does not have full support for timezone on timestamps, so I suggest you to store it in a separated column.

Whoa great work @igorborgest. Thank you so much!

Available on version 1.1.0


Add annotation for enableCoreDump

See https://github.com/istio/istio/pull/20096

Hi @ckcd. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

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

/assign @rlenglet


[0.9.12] do not add ?sslmode=disable if I already specified sslmode in url

The standard way to connect to my db is:
postgresql://root@<IP_ADDRESS>:26257?sslcert=%2Fhome%2Fluke%2Fgit%2Fflowcrypt-deploy%2Fsecrets%2Fkeys%2Fcockroach%2Fdev%2Fclient.root.crt&sslkey=%2Fhome%2Fluke%2Fgit%2Fflowcrypt-deploy%2Fsecrets%2Fkeys%2Fcockroach%2Fdev%2Fclient.root.key&sslmode=verify-full&sslrootcert=%2Fhome%2Fluke%2Fgit%2Fflowcrypt-deploy%2Fsecrets%2Fkeys%2Fcockroach%2Fdev%2Fca.crt
Notice it includes sslmode=verify-full
When I submit it into Enter server URL scheme, I get:
open /home/luke/git/flowcrypt-deploy/secrets/keys/cockroach/dev/ca.crt?sslmode=disable: no such file or directory
pgweb seems to blindly add ?sslmode=disable at the end.
To work around it, I have to add a bogus parameter at the end:
postgresql://root@<IP_ADDRESS>:26257?sslcert=%2Fhome%2Fluke%2Fgit%2Fflowcrypt-deploy%2Fsecrets%2Fkeys%2Fcockroach%2Fdev%2Fclient.root.crt&sslkey=%2Fhome%2Fluke%2Fgit%2Fflowcrypt-deploy%2Fsecrets%2Fkeys%2Fcockroach%2Fdev%2Fclient.root.key&sslmode=verify-full&sslrootcert=%2Fhome%2Fluke%2Fgit%2Fflowcrypt-deploy%2Fsecrets%2Fkeys%2Fcockroach%2Fdev%2Fca.crt&bogus=none
So that the edited parameter would not be an important one.

You're right, there's a dumb check for ?sslmode presence in the url, so if it's not the first parameter it gets added to the url. However, i'd like to know how did you connect to the database? CLI or via web?

Fixed


Unlock Connector : ConnectorId should be an Integer instead of a String

For the Unlock Connector Action in Charging Stations, the application communicates an incorrect ConnectorId to the CS.
The current format is a String but it should be an Integer.

@Ninjeneer Could you please check if this one is fixed with your latest PR?

@LucasBrazi06 Yes it is, schemas automatically cast inputs according to required type

@WillyLellouch According Loan, it will be fixed in the next deployment V2.4.53 (normally tonight)


Improve discoverability in chatGPT and other coding assistants

Hi,
Since this is a recent repository, if someone wants to generate code that uses this library in either chatGPT or any other coding assistant it doesn't work. Would it be possible to add a link to https://docs.codes/pypi/crawl4ai in your README.md somewhere to help users add just enough context about the library to use it with any coding assistant/chatGPT.
See the difference in the conversation with chatGPT
without docs.codes

v/s
with docs.codes

Such an interesting suggestion. You're very right, and thank you for bringing it up. Perhaps what we're going to do is create GPTs that include all documents and proper instructions. We'll then release the GPTs for everyone who wants to create code with our library, and definitely add your equested links to our ReadMe as well. This has been part of our plan to create a chatbot and use crawl4AI to crawl its own website to answer people's queries. However, I think we can speed up the process by creating GPTs and allowing everyone to play around with them. Moreover we will create a markdown file specifically for attaching to chat with language models. Thank you so much again for bringing this up. We'll make it ready soon.


[Event Hubs] Update all init() operations to take in cancellation token / aborter

In order to handle scenario where a user cancels an operation while init is in progress, we'll need to gracefully abort the init process and close the connection, so as to not result in zombie connections and hanging of applications.
This issue is to track efforts for updating init() usages across operations (send, receive, etc.) in Event Hubs.

This might depend on https://github.com/amqp/rhea-promise/issues/48


[feature] Write backend in django and django rest framework

This issue is just for discussion about backend framework. We are thinking to write backend of LabelLab in Django as it really simple, flexible, widely used framework. All of you are welcome to contribute in the discussion.

I agree with you I think django can be a better option for rewriting the backend on. The advantages of Django over Flask are obvious. It provides massively more functionality out of the box, has a much richer ecosystem, and is used for more larger projects, and comes with really smart security defaults that will almost certainly make your app more secure than the app you're going to write in Flask.

One of the features of Django that can come in handy to us is the django admin. Which can help the project admin to manage his projects and the project members easily. At the same time, the ORM system provided by Django makes it easier for programmers to work with several widely used databases. They can even use the ORM system to perform common database operations and migrate from one database to another without writing additional code.

I think we should go with whatever framework rather than discussing it flask or django both frameworks are powerful and both are capable for our requirement I guess

Given that Django has a lot more functionality built-in and also has a bigger community than Flask, I also think Django would be the way to go since it would not only be beneficial for the project but would also benefit new contributors.

I am closing this issue as we have decided to shift on flask. Thanks @laksh22 @carpecodeum for your suggestions.


[Bug?][Laravel 5.2] Implicit Model Binding is running before middleware is applied

So in my routes I have a placeholder in the "uses". So something like {api-version}\MembersController@index. This is read in by my middleware and replaced with the correct namespace.
However, in Laravel 5.2 you now do implicit model binding which does a reflection check on the "uses" class and method to grab its parameters for possible model binding. Since this happens BEFORE middleware is run it fails and crashes the application.
I have two suggestions. A) Create a new event called BeforeRouteMatched that people can listen to and modify the route if need be. B) Allow us to set a config option to disable implicit model binding. I believe A) would be the easier and more efficient route but I leave it up to you guys!

Not a bug. All model binding runs before route middlewares are applied.

That is intended. If you don't want that, you can hack extend the router and the application in order to rebind it, and then write yourself a middleware to apply the bindings.

:+1: for adding option A btw ;)

Sorry I was reading this and adding comments as I went. ;)

lol no problem...you may have just set my ADD into overdrive though...thanks :P. In all honestly I think option A) is the way to go....I could obviously hack the core code to implement this but id rather not ...so i brought it here....I've never put together a patch before but I could try!

Could we re-open it to implement option a)?

We don't process proposal issues normally on github.

It's a small change - I sent a PR: https://github.com/laravel/framework/pull/11497

your awesome :)

Hey @GrahamCampbell ,
What if I use implicit model binding and in my admin I only want admins to have access (for inserting, editing and deleting resources). Then if you are a guest, and happen to go to a URL inside the admin, with a parameter that doesn't correctly resolve to a resource, you get a 'No query results for model' instead of being redirected to the login page.
Isn't this scenario wrong...? Maybe I'm missing something...