Valueerror: numpy.ndarray size changed... when I try to import GPy

Hello
I installed the latest GPy version using pip install, but when I try importing I have the error:
from . import linalg_cython
  File "GPy/util/linalg_cython.pyx", line 1, in init GPy.util.linalg_cython
 ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject
Some solutions on the internet tell to just try uninstalling and installing NumPy. This changes the NumPy version to the latest one(1.20.x) which is not compatible with TensorFlow. Tensorflow works with only numpy <= 1.19.5
Can you please help me in resolving this so that I can use both TensorFlow and GPy together
Thanks in advance!

Hi,
(I'm not a GPy specialist, btw)
I encountered the same issue and a solution: https://github.com/SheffieldML/GPy/issues/924#issuecomment-850070387. According to a post on StackOverFlow mentions to reinstall of numpy; however, it did not work for me. Instead, I attempted to install numpy==1.20.0 just in case and it worked as follows.
$ python -c 'import GPy'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\USRE\Anaconda3\envs\picon\lib\site-packages\GPy\__init__.py", line 6, in <module>
    from . import core
  File "C:\Users\USER01\Anaconda3\envs\picon\lib\site-packages\GPy\core\__init__.py", line 49, in <module>
    from .gp import GP
  File "C:\Users\USER01\Anaconda3\envs\picon\lib\site-packages\GPy\core\gp.py", line 8, in <module>
    from .. import likelihoods
  File "C:\Users\USER01\Anaconda3\envs\picon\lib\site-packages\GPy\likelihoods\__init__.py", line 25, in <module>
    from .bernoulli import Bernoulli
  File "C:\Users\USER01\Anaconda3\envs\picon\lib\site-packages\GPy\likelihoods\bernoulli.py", line 5, in <module>
    from ..util.univariate_Gaussian import std_norm_pdf, std_norm_cdf, derivLogCdfNormal, logCdfNormal
  File "C:\Users\USER01\Anaconda3\envs\picon\lib\site-packages\GPy\util\__init__.py", line 11, in <module>
    from . import linalg
  File "C:\Users\USER01\Anaconda3\envs\picon\lib\site-packages\GPy\util\linalg.py", line 15, in <module>
    from . import linalg_cython
  File "GPy/util/linalg_cython.pyx", line 1, in init GPy.util.linalg_cython
    from libc.math cimport sqrt
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject
(picon)
USER01@HOST MINGW64 ~
$ pip uninstall numpy -y && pip install numpy==1.20.0
Found existing installation: numpy 1.19.0
Uninstalling numpy-1.19.0:
  Successfully uninstalled numpy-1.19.0
Collecting numpy==1.20.0
  Downloading numpy-1.20.0-cp37-cp37m-win_amd64.whl (13.6 MB)
Installing collected packages: numpy
Successfully installed numpy-1.20.0
(picon)
USER01@HOST MINGW64 ~
$ python -c 'import GPy'
(picon)
USER01@HOST MINGW64 ~
$ python -V
Python 3.7.0

Best,
SS

Thanks for the comment @sshojiro
I tried installing numpy 1.20, but it was causing problems in TensorFlow. I think TensorFlow supports numpy <=1.19.5 only

This actually is the same as #974. pip compiles GPy against the currently installed NumPy, or the latest one if no NumPy is installed, because the build requirement is wrong. Then a previous (ABI-incompatible) version of NumPy is installed because of the TensorFlow requirement.
This should be fixed by #975. As a workaround, you can try to install an older version of NumPy (such as 1.17), compile GPy against it, and then upgrade the NumPy version.


How to connect to walkingpad

I cannot see the walkingpand in the client or in the bluetooth section.
With ph4-walkingpad-ctl i can connect to the walkingpad.
How can i connect with your app?
Thank you for sharing this!

Can you try granting the App bluetooth permissions? In the end the app only discovers Bluetooth devices and connects - just the same way as ph4-walkingpad-ctl does.

I've granted the permissions, but nothing changed, same situation as above, for ph4-walkingpad i connect using the mac addr, i am on monterey, ph4-walkingpad-ctl -a FF0AD562-bla-bla

Thank you very much for your support.

Hm interesting - I have a suspicion. Does the device name by accident not begin with KS-? That is a shortcut I added to not poll all the devices to find the matching one .
Maybe you can try the following build (which has the check removed). I have no clue whether this has any side effects, but maybe it's worth a try.
Walkingpad Client.zip

You nailed it, I have a KingSmith WalkingPad R1 Pro, and with the attached zip app it works!!
Thank you!

Cool! Then let's see what breaks ;-)

I've released a new version, so will close this now.


Get started with the documentation of the API

Create a Documentation of the :

[ ] Tools used
[ ] Build Pipeline
[ ] Explanation of the Endpoints
[ ] Concepts of the evaluation algorithm

Most of the Documentation will be provided while development


Make the Build Doc PR check required

This CI job was added after we released 0.6 and realized that docs.rs was not able to build the docs. I think it should be required to make sure that changes don't break the docs.
cc @sseemayer

done!


add ArcGisMapServerImageryProvider error

i  add a  layer to map, error message
a mistake occurred in "ArcGisMapServerImageryProvider": Tile spatial reference WKID 4490 is not supported.
so how to set 4490 Coordinate System in cesium

Hello @chaomashi,  Cesium does not support that tiling scheme.   The ArcGisMapServerImageryProvider supports WKID 102100, 102113, and 4326.  You may need to configure your map server to use one of these tiling schemes instead.
If you have any follow up questions, please ask on our forum: https://groups.google.com/forum/?hl=en#!forum/cesium-dev
We use GitHub exclusively for tracking bugs and planning new features.  Thanks!

This may be something we can support once #7438 is implemented, I'll add a note there


Ensure that Cloud SQL database Instances are not open to the world

Possible check to target the following resource

[ ] google_sql_database_instance

closing, tracking in spreadsheet


是否支持把没有目标的空背景和标签输入训练？

这样可以提高错检率是嘛？让模型更稳定

Please use the template.
And while I do speak and read Mandarin Chinese, my main working language is English.
Kindly re-create the issue and fill in the issue template in English.
https://github.com/AIWintermuteAI/aXeleRate/issues/20

OK，If these empty negative sample be trained that is no target of image and just a background image, that relevant xml also no target element.
The aXeleRate network have supported these empty negative sample that can be trained?
The work can improve AP or PR?


Styling of some components

This PR contains some more styling for the following components:

registration
login
profile
users

These are the screenshots of what it looks like now.

Very nice looking!


[BUG] automatically disconnected

Describe the bug
I connected my phone, everything was working, but then after a time in event 'connection.update' i suddenly get
{"connection":"close","lastDisconnect":{"error":{"data":null,"isBoom":true,"isServer":false,"output":{"statusCode":428,"payload":{"statusCode":428,"error":"Precondition Required","message":"Connection Terminated"},"headers":{}}},"date":"2023-05-25T07:45:02.732Z"}}
and messages are no longer sent.
To Reproduce
Steps to reproduce the behavior:

Created a new connection
Waited Some Time and error appeared

Environment:

Win 10 Pro
NodeJS v18.15.0
"@whiskeysockets/baileys": "6.0.0",
Single Client
No Proxy Server

sock.ev.on('connection.update', async (update) => {
	const { connection, lastDisconnect } = update

	if (connection === 'close'){
		if (lastDisconnect?.error?.output?.statusCode !== 401) {
			connectToWhatsApp()
		} else {
			console.log('Logout :(')
		}
	} else if (connection === 'open') {
		console.log('Connected :)')
	}
})

You must use this code to reconnect automatically, if you already use one similar, replace it with this code
sock.ev.on('connection.update', async (update) => {
	const { connection, lastDisconnect } = update

	if (connection === 'close'){
		if (lastDisconnect?.error?.output?.statusCode !== 401) {
			connectToWhatsApp()
		} else {
			console.log('Logout :(')
		}
	} else if (connection === 'open') {
		console.log('Connected :)')
	}
})

I have the same issue and every time it happens, the session is clossed and it asks for the QR again

You must use this code to reconnect automatically, if you already use one similar, replace it with this code
sock.ev.on('connection.update', async (update) => {
	const { connection, lastDisconnect } = update

	if (connection === 'close'){
		if (lastDisconnect?.error?.output?.statusCode !== 401) {
			connectToWhatsApp()
		} else {
			console.log('Logout :(')
		}
	} else if (connection === 'open') {
		console.log('Connected :)')
	}
})

Thank You, And sorry for late reply. I will try this.

You must use this code to reconnect automatically, if you already use one similar, replace it with this code
sock.ev.on('connection.update', async (update) => {
	const { connection, lastDisconnect } = update

	if (connection === 'close'){
		if (lastDisconnect?.error?.output?.statusCode !== 401) {
			connectToWhatsApp()
		} else {
			console.log('Logout :(')
		}
	} else if (connection === 'open') {
		console.log('Connected :)')
	}
})

I tried this, but it didn't work.

tengo el mismo problema, alguno encontró la solución?

{"level":50,"time":1686566884467,"pid":11228,"hostname":"hosamalzagh-hpprobook450g6","err":{"type":"TypeError","message":"Cannot read properties of undefined (reading 'includes')","stack":"TypeError: Cannot read properties of undefined (reading 'includes')\n    at getCodeFromWSError (/home/predo/www/whatgo/whatsapp-api-nodejs/node_modules/@whiskeysockets/baileys/lib/Utils/generics.js:339:23)\n    at WebSocket. (/home/predo/www/whatgo/whatsapp-api-nodejs/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:518:116)\n    at WebSocket.emit (node:events:523:35)\n    at WebSocket.emitClose (/home/predo/www/whatgo/whatsapp-api-nodejs/node_modules/ws/lib/websocket.js:258:10)\n    at Receiver.receiverOnFinish (/home/predo/www/whatgo/whatsapp-api-nodejs/node_modules/ws/lib/websocket.js:1158:20)\n    at Receiver.emit (node:events:511:28)\n    at finish (node:internal/streams/writable:757:10)\n    at node:internal/streams/writable:735:13\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"},"msg":"Cannot read properties of undefined (reading 'includes')"}
{"level":30,"time":1686566884468,"pid":11228,"hostname":"hosamalzagh-hpprobook450g6","msg":"Server closed"}

2. Waited Some Time and error appeared

Are you trying to send a message, or is an error simply waiting to happen?

this happened if u didn't save the contact who send messages. any solution?

this happened for me too. here is my code
app.get("/send-message", async (req, res) => {
  const tempMessage = req.query.message;
  const msgTo = req.query.to;

  try {
    if (!msgTo) {
      res.status(500).json({
        status: false,
        response: "The number does not exist",
      });
    } else {
      if (isConnected()) {
        sock
          .sendMessage(msgTo, {
            text: tempMessage,
          })
          .then(() => {
            res.status(200).json({
              status: "success",
              response: "ok",
            });
          })
          .catch((err) => {
            res.status(500).json({
              status: false,
              response: err,
            });
          });
      } else {
        res.status(500).json({
          status: false,
          response: "You are not connected yet",
        });
      }
    }
  } catch (err) {
    res.status(500).send(err);
  }
});

It's happens to me too.

I am also facing this problem. In my case it occurs when I have to create a connection to "mobile"
{"level":30,"time":"2023-10-08T03:56:35.040Z","pid":24732,"hostname":"joshua","class":"baileys","browser":["Baileys","Chrome","4.0.0"],"helloMsg":{"clientHello":{"ephemeral":"LSzz7YwTnrw9vh9NjNg1UO3Tcfp6RmJAzGLLj3uYpVw="}},"msg":"connected to WA"}
{"level":30,"time":"2023-10-08T03:56:35.376Z","pid":24732,"hostname":"joshua","class":"baileys","trace":"Error: Connection Terminated\n    at MobileSocketClient.<anonymous> (C:\\Users\\joshu\\Documents\\Projetos\\ntautomations\\whatsapp\\node_modules\\@whiskeysockets\\baileys\\lib\\Socket\\socket.js:437:30)\n    at MobileSocketClient.emit (node:events:513:28)\n    at Socket.<anonymous> (C:\\Users\\joshu\\Documents\\Projetos\\ntautomations\\whatsapp\\node_modules\\@whiskeysockets\\baileys\\lib\\Socket\\Client\\mobile-socket-client.js:44:100)\n    at Socket.emit (node:events:513:28)\n    at TCP.<anonymous> (node:net:322:12)\n    at TCP.callbackTrampoline (node:internal/async_hooks:130:17)","msg":"connection errored"}
connection closed due to  Error: Connection Terminated
    at MobileSocketClient.<anonymous> (C:\Users\joshu\Documents\Projetos\ntautomations\whatsapp\node_modules\@whiskeysockets\baileys\lib\Socket\socket.js:437:30)
    at MobileSocketClient.emit (node:events:513:28)
    at Socket.<anonymous> (C:\Users\joshu\Documents\Projetos\ntautomations\whatsapp\node_modules\@whiskeysockets\baileys\lib\Socket\Client\mobile-socket-client.js:44:100)
    at Socket.emit (node:events:513:28)
    at TCP.<anonymous> (node:net:322:12)
    at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
  data: null,
  isBoom: true,
  isServer: false,
  output: {
    statusCode: 428,
    payload: {
      statusCode: 428,
      error: 'Precondition Required',
      message: 'Connection Terminated'
    },
    headers: {}
  }
} , reconnecting  true

My code:
const { state, saveCreds } = await useMultiFileAuthState(fullPath);
const { version, isLatest } = await fetchLatestBaileysVersion();

const WASocketConfig: UserFacingSocketConfig = {
  version,
  printQRInTerminal: true,
  auth: state,
  mobile: true,
};

const sock = makeWASocket(WASocketConfig);

Guys this  comment fixed my problem.

Any personal solutions?

I don't remember what was it about when I did post this, but this code is working file:
import makeWASocket, { DisconnectReason, BufferJSON, useMultiFileAuthState } from '@whiskeysockets/baileys'
import { Boom } from '@hapi/boom'

async function connectToWhatsApp () {
    const { state, saveCreds } = await useMultiFileAuthState('auth_info_baileys')

    const sock = makeWASocket({
		auth: state,
        printQRInTerminal: true,
    });

    sock.ev.on ('creds.update', saveCreds)

    sock.ev.on('connection.update', (update) => {
        const { connection, lastDisconnect } = update
        if(connection === 'close') {
            const shouldReconnect = (lastDisconnect?.error as Boom)?.output?.statusCode !== DisconnectReason.loggedOut
            console.log('connection closed due to ', lastDisconnect?.error, ', reconnecting ', shouldReconnect)
            if(shouldReconnect) {
                connectToWhatsApp()
            }
        } else if(connection === 'open') {
            console.log('opened connection')
        }
    });

    sock.ev.on('messages.upsert', m => {
	console.log("Message Received: "+m.messages[0].key.remoteJid);
    });
}

connectToWhatsApp();

I don't remember what was it about when I did post this, but this code is working file:
import makeWASocket, { DisconnectReason, BufferJSON, useMultiFileAuthState } from '@whiskeysockets/baileys'
import { Boom } from '@hapi/boom'

async function connectToWhatsApp () {
    const { state, saveCreds } = await useMultiFileAuthState('auth_info_baileys')

    const sock = makeWASocket({
		auth: state,
        printQRInTerminal: true,
    });

    sock.ev.on ('creds.update', saveCreds)

    sock.ev.on('connection.update', (update) => {
        const { connection, lastDisconnect } = update
        if(connection === 'close') {
            const shouldReconnect = (lastDisconnect?.error as Boom)?.output?.statusCode !== DisconnectReason.loggedOut
            console.log('connection closed due to ', lastDisconnect?.error, ', reconnecting ', shouldReconnect)
            if(shouldReconnect) {
                connectToWhatsApp()
            }
        } else if(connection === 'open') {
            console.log('opened connection')
        }
    });

    sock.ev.on('messages.upsert', m => {
	console.log("Message Received: "+m.messages[0].key.remoteJid);
    });
}

connectToWhatsApp();


Ability to force pylance to treat wrapped functions as functions as opposed to variables

With the following code pylance recognizes wrapped_function_definition as a variable/constant. I'd love a way to force pylance to treat this as a function. (Unless there is another way I should be using to provide both a wrapped and unwrapped implementation of the same function without having to keep the parameter list/typehints up to date?) See the screenshot, wrapped_function_definition is blue and listed as a constant as opposed to yellow and listed as a function.

from collections.abc import Callable
from typing import Final, ParamSpec, TypeVar

T = TypeVar("T")
P = ParamSpec("P")

def wrap_function(func: Callable[P, T]) -> Callable[P, T]:
    def wrapper(*args: P.args, **kwargs: P.kwargs) -> T:
        return func(*args, **kwargs)

    return wrapper

def function_to_wrap(i: int) -> int:
    return i

wrapped_function_definition: Final = wrap_function(function_to_wrap)

This is a duplicate of https://github.com/microsoft/pylance-release/issues/5785. You may want to up-vote the issue that spun out of that one -- https://github.com/microsoft/pylance-release/issues/5841.

Thanks! I tried to search it before but was unable to locate those issues.


Add a hex badge to show the current version

I was curious about the most recent version of Livebook and saw a version mentioned in the escript section of the readme and wasn't entirely sure if that was outdated (confirmed that it wasn't by looking at the github tags). All of this is made easier with a hex badge showing the most recent public version of the livebook package. Can change the style of the badge if necessary (just went with the default).

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

Thanks, Jonatan. Nice fix: it keeps the padding without the html. Thanks!


Readme improvements

Node.js version: v12.18.0
npm version: 6.14.4
google-auth-library version: 6.0.4

Hi,
I'm not quite sure if I'm using the library correctly, and for that I would suggest some improvements into the README (as the first step).
For example:

"A complete OAuth2 example" doesn't show how to refresh the tokens/handle token events, so it is not really a complete example.

The section "Handling token events" has this:

const client = await auth.getClient();

... but it is unclear what this auth object is and where it comes from. Can this be improved?
Thanks.

Also:
My problem is that this library doesn't seem to refresh the tokens at all. Not automatically, as it claims.
Not sure what I'm doing wrong.That's why I'm asking for the documentations to be improved.

Greetings, and thanks for the feedback!  Taking these one at a time:

doesn't show how to refresh the tokens/handle token events
This is explained here, with code:
https://github.com/googleapis/google-auth-library-nodejs#handling-token-events

Could it be improved to be an actual complete example?
There is a collection of complete examples that run end to end here:
https://github.com/googleapis/google-auth-library-nodejs/tree/master/samples

it is unclear what this auth object is and where it comes from
In many of the other examples in the README, this is called out:
https://github.com/googleapis/google-auth-library-nodejs#choosing-the-correct-credential-type-automatically

this library doesn't seem to refresh the tokens at all
I assure, it does 😆  If you're running into issues where token refreshing doesn't seem to be happening, please open an issue specifically on this topic!  Share:

The exact code you're trying to run
The version of node.js and google-auth-library you're using
Any error messages you may be getting

Including this stuff makes it a ton easier for us to figure out where you're getting tripped up :)


Feedback 'From: Eloy Durán Seeing weird counts for Wilhel...'

Message from Eloy Durán sent on 2017-02-16 20:52:40 UTC###

From: Eloy Durán
Seeing weird counts for Wilhelmina Barns-Graham on staging. Production is fine.

Link to HockeyApp

https://rink.hockeyapp.net/manage/apps/37020/feedback/729731

Pushed to #2161, for iPhone only the activity indicator now looks like:

Awesome 👏

Wrong issue!! Arrgh haha.

No longer seeing this.


Classnotfoundexception when executing function script

Search before asking

[X] I searched the issues and found no similar issues.

Linkis Component
linkis-commons
What happened + What you expected to happen
Reason: linkis creates a function by adding the path where the function is located to the classpath, and then executing create temporary function... Statement. When submitting a task to the yarn cluster in this way, the jar package of the function will not be uploaded to HDFS, resulting in class loading failure!
Relevent platform
。
Reproduction script
。
Anything else
This question comes from the QA documentation of the Linkis community
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Solution: modify the method of generating function statements, or use hiveaddjarsenginehook. Here, modify the constructcode method of jarudfenginehook. Replace all after packaging
override protected def constructCode(udfInfo:UDFInfo):String ={
"%sql\n"+"add jar "+udfInfo.getPath +"\n%sql\n"+udfInfo.getRegisterFormat}


how to make black color of letters

so i've running this command
python generate.py --noinfo --text="this was generated by computer" --bias=1.
in readme.md (https://github.com/Grzego/handwriting-generation/raw/master/imgs/example-1.PNG) - result of this command
how i can get only black letters or blue letters on image after running of this command?

Hi @designervoid,
Just add color='blue' or color='black' at this line.
You should end up with:
plt.plot(stroke[:, 0], -stroke[:, 1], color='black')


[Designer] Bug 31588605: [Usable- Adaptive Cards - ExpenseReport.JSON]: Name of ER-13052 Link is not announced by the narrator by using Tab key.

Problem Description
Bug 31588605: [Usable- Adaptive Cards - ExpenseReport.JSON]: Name of ER-13052 Link is not announced by the narrator by using Tab key.\
User Experience:
Narrator users will be impacted if narrator will not announce the control name by using Tab key.
Test Environment:
Application: Adaptive Cards
OS version: 2004 (OS Build 21301.1000)
Application Version: 2<IP_ADDRESS>
Pre-Requisite: Launch the Adaptive Card application.
Repro steps:

Launch the Adaptive Card application and Enable Narrator.

Adaptive Card UWP Visualizer screen starts appearing.

Navigate to ExpenseReport.Json button by using Tab key and activate it.

Navigate to ER-13052 link by using Tab key and verify the issue.

Actual Result:
Name of ER-13052 Link is not announced by the narrator by using Tab key.
Observation:
Narrator announces the control name by using up and down arrow key in scan mode.
Note:
Working fine with NVDA Screen Reader.
Expected result:
Name of the control should be announced by the narrator while navigating by using Tab key.
Card JSON
Designer Bug. Repro on UWP Adaptive Card visualizer

Screenshot
No response

This issue is not repro on <IP_ADDRESS> as it now announcing as link ER-13052 hence closing this issue.


Known Vulnerability in demo boostrap version

When using npm audit :
/node_modules/iban/demo/bower_components/bootstrap/dist/js/bootstrap.js
↳ bootstrap 3.3.7 has known vulnerabilities: severity: medium; issue: 20184, summary: XSS in data-target attribute; https://github.com/twbs/bootstrap/issues/20184
/node_modules/iban/demo/bower_components/bootstrap/dist/js/bootstrap.min.js
↳ bootstrap 3.3.7 has known vulnerabilities: severity: medium; issue: 20184, summary: XSS in data-target attribute; https://github.com/twbs/bootstrap/issues/20184
Can you consider upgrading the demo bootstrap to a higher, fixed version ?

Hello @Xtrem65
Thanks for the report.
We don't use the vulnerable data-target mechanism in our demo code, so no urge to upgrade, but I'm keeping this issue around for when we update the demo.
Best regards
Laurent

Demo has been updated and uses latest versions of used libraries (not bootstrap, btw)


Create a database

As a developer
I need a database for customers
So that customers' infomation can be stored
Details and Assumptions

[document what you know]

Acceptance Criteria
Given [some context]
When [certain action is taken]
Then [the outcome of action is observed]

Create database model and schema


fix: remove duplicate variable

VarUsage has new getUseNodes and getAssignNodes, I guess this should be moved with the UsePlace to a combined new class.

Do you intentially make this "remove duplicate variable" only for method arguments?
(by this check: varUsage1.getAssignNodes().isEmpty())
If yes, it can be done in much shorter way (insert before checkCodeVars method here):
		for (RegisterArg arg : mth.getArguments(false)) {
			SSAVar ssaVar = arg.getSVar();
			List<RegisterArg> useList = ssaVar.getUseList();
			if (useList.size() == 1) {
				RegisterArg use = useList.get(0);
				InsnNode insn = use.getParentInsn();
				if (insn != null
					    && insn.getResult() != null
					    && insn.getResult().getType().equals(arg.getType())) {
					// merge code vars
					SSAVar replaceSsaVar = insn.getResult().getSVar();
					codeVars.remove(replaceSsaVar.getCodeVar());
					replaceSsaVar.setCodeVar(ssaVar.getCodeVar());
				}
			}
		}

Note that I made CodeVar class especially for this case: merge several SSAVars into one named variable.
P.S. I already tried to make this in general case: merging variables by name if debug info attached. But this needed a lot of checks for java scopes (this  todo comment)

Oh, that is getting behind my comprehension. I guess I need to study this area first.
After the suggested changes, there is a failure of compiling TestTryCatch.test6, there is PhiInsn.
As a side note, I guess to attract more people to be involved, we need some description/javadoc/wiki of major areas.
Failed test: from:
	public static boolean test6(Object obj) {
		boolean res = false;
		while (true) {
			try {
				res = exc2(obj);
				return res;
			} catch (IOException e) {
				res = true;
			} catch (Throwable e) {
				if (obj == null) {
					obj = new Object();
				}
			}
		}
	}

To:
    public static boolean test6(Object obj) {
        obj = obj;
        while (true) {
            try {
                return exc2(r0);
            } catch (IOException e) {
            } catch (Throwable th) {
                if (r0 == null) {
                    r0 = new Object();
                }
            }
        }
    }

@asashour sorry about failed tests, this can be fixed by adding && !replaceSsaVar.isUsedInPhi() like:
// merge code vars
SSAVar replaceSsaVar = insn.getResult().getSVar();
if (replaceSsaVar != null && !replaceSsaVar.isUsedInPhi()) {
	codeVars.remove(replaceSsaVar.getCodeVar());
	replaceSsaVar.setCodeVar(ssaVar.getCodeVar());
}

Also I don't think this is a good change anyway, because it applied to a very rare case (one time use of a method argument) and replace any insn result regardles type, this case:
		public int test3(int a) {
			int b = mth(a);
			use(b);
			return b;
		}

		private static int mth(int i) {
			return 7;
		}

		private static void use(int i) {}

decompiled as:
    public int test3(int a) {
        a = mth(a);
        use(a);
        return a;
    }

And this looks strange.
I want to make more general fix. Like for this case:
public int test4() {
	int b = mth(0);
	use(b);
	b++;
	use(b);
	return b;
}


Adjust Regtest Default Params

#1162  👈
feature/proof-of-stake

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tholonious and the rest of your teammates on  Graphite


Crash when trying to move a file on wayland with sway

Does this issue occur when all extensions are disabled?: Yes/No

Version: 1.78.2 and 1.79.0-insider
Steps to Reproduce:

On a machine with linux and sway, with the 1.5 scaling on a display with 2560x1440;
Open vscode with the following flags to enable wayland: --enable-features=UseOzonePlatform --ozone-platform=wayland

Try moving a file by dragging.

What is expected:

The "ghost" of the file should appear, and the user should be allowed to move the file.

What actually happens:

vscode crashes with the following error:

[505523:0514/151651.871725:ERROR:wayland_event_watcher.cc(36)] libwayland: wl_surface@45: error 2: Buffer size (288x41) is not divisible by scale (2)

Workaround:
Changing the global scaling from 1.5 to 1 solves the issue (but the text becomes way too small for high dpi displays).

I'm not sure if this is a wayland/sway issue or a vscode issue. Wayland world is a bit weird.
I found this old closed issue on sway: https://github.com/swaywm/sway/issues/6014

I have similar issue on GNOME 44.1. Same display resolution and scaling (2560x1440, 1.5).
Error:
[64637:0517/130100.673982:ERROR:wayland_event_watcher.cc(36)] libwayland: wl_surface@58: error 2: Buffer size (241x70) must be an integer multiple of the buffer_scale (2).

For me it happens when I try to move editor tabs, usually crash depends on length of opened file.

/duplicate https://github.com/microsoft/vscode/issues/179836


Fix: Avoid error when value is null

Previously, it was threated as an object and threw Errors:
TypeError: Cannot convert undefined or null to object

@rsinohara this should be live on the gh page now :)
I just added quotes around z.null()

Thanks, I missed that


fix dot product for newer version of torch

fix(min_norm_solvers.py): change torch.dot -> torch.mul followed by sum() for Matrix dot product
fix(min_norm_solvers.py): change data[0] to data.cpu()

Hi, when running the code under my setting, I also got the issue "RuntimeError: 1D tensors expected, got 2D". How I solve this issue is that I flatten the original tensor gradients and make it fit into the torch.dot function.
If what I am doing is correct, we are simply doing an element-wise matrix followed by sum() instead of torch.mul.
Hope someone can clarify it.

Hi, when running the code under my setting, I also got the issue "RuntimeError: 1D tensors expected, got 2D". How I solve this issue is that I flatten the original tensor gradients and make it fit into the torch.dot function.
If what I am doing is correct, we are simply doing an element-wise matrix followed by sum() instead of torch.mul.
Hope someone can clarify it.

Hi,
Sorry for late reply. Yes, that will also work. I however found another issue with the '.data[0]' for newer version of torch, we need to convert it to cpu if the tensors are in gpu.
torch.dot() requires 1D tensor inputs, that is why I used torch.mul() followed by sum().
Cheers


":SyntasticInfo" yields "Available checkers: - " for Haskell file

Hi!
I have a file test.hs with two syntactical mistakes:
f :: Bool > Int
f n =
  | n = 1
  | n = 0

I would now assume those to be highlighted or snytastic showing me a message. But nothing whatsoever happens.
Output for :SyntasticInfo:
Syntastic version: 3.6.0-4
Info for filetype: haskell
Global mode: active
Filetype haskell is active
The current file will be checked automatically
Available checkers: -
Currently enabled checkers: -

Haskell syntax checker files are available:
raffael@raffael-GT60 ~> ls -la .vim/bundle/syntastic/syntax_checkers/haskell/
total 24
drwxrwxr-x  2 raffael raffael 4096 Jan 28 19:45 ./
drwxrwxr-x 88 raffael raffael 4096 Jan 28 19:45 ../
-rw-rw-r--  1 raffael raffael 3033 Jan 28 19:45 ghc-mod.vim
-rw-rw-r--  1 raffael raffael 2004 Jan 28 19:45 hdevtools.vim
-rw-rw-r--  1 raffael raffael 1106 Jan 28 19:45 hlint.vim
-rw-rw-r--  1 raffael raffael 1367 Jan 28 19:45 scan.vim

Relevant section of my loaded ~/.vimrc (full .vimrc) is:
...
Plugin 'scrooloose/syntastic'

set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*

let g:syntastic_haskell_checkers = ['hdevtools', 'hlint', 'ghc_mod']
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
...

What am I doing wrong?
Thanks in advance

This is answered in the FAQ: you need to install some third-party checkers.

Haskell syntax checker files are available:

Nope, those files are the code in syntastic to parse the output of ghc-mod, hdevtools, hlint, and scan.  But ghc-mod, hdevtools, hlint, and scan aren't available, either because you don't have them installed, or because you don't have them in your $PATH (or for some other, more obscure reasons, but let's clear out these ones first).

Thanks
cabal update
cabal install hlint
[add ~/.cabal/bin to $PATH]


CubeMX

I have tried to create a CubeMX project (STM32F756) directly in VSCode. When I call the customized line in VSCode I only get the information that the exit code is 1.

csolution CubeMX.csolution.yml run --generator CubeMX --context CubeMX.Debug+MyBoard

Do I need a new version of the F7 pack to be able to reproduce the procedure?
I can't reproduce the example either, as I don't have the U585I packs with the required version.

@FerdinandEn , die you follow the steps in this ReadMe
Make sure you are using CMSIS-Toolbox 2.3.0 and you need to clone the pack-examples and register the pdsc files as local repositories, as described. This gives you access to STM32U585 DFP and BSP. The STM32F7xx_DFP does not support the global generator yet.

CMSIS Toolbox is 2.3.0
For the CubeMX-Example:
I did not install the packs with cpackget. I have now done that. I was able to execute the cpackget instructions successfully. The Packs are also entered as local repositories.
STM32U5xx_DFP::3,0,0-dev0
B_U585_IOTA2A_BSP::2.0.0-dev1

csolution CubeMX.csolution.yml run --generator CubeMX --context CubeMX.Debug+MyBoard

now leads to the error

error csolution: required pack<EMAIL_ADDRESS>not installed

After change of CubeMX.cbuild-pack.yml to dev1 CubeMX opens. I was then able to carry out all further steps successfully.
I assume I need a new pack for the STM32F7 so I can do the same experiment. Is that correct?

Thanks a lot for your feedback and the hint that the cbuild-pack.yml is locking the BSP to 2.0.0-dev0.
An alternative to "overriding" the cbuild-pack.yml is to add the option --load latest which will ensure that the latest installed packs will get used.
As you can see here: https://github.com/Open-CMSIS-Pack/pack-examples we do not currently have the STM32F7 pack in the works yet.

After successfully completing the steps for using CubeMX, I wanted to gain some more experience. When opening Software Components, I received the following error message:

I am trying to set up a new project with the board. At first I was able to enter all the settings in Software Components. However, I noticed that the dev packs were not used. After switching to the dev packs, I could no longer use Software Components

I have another question:
If I convert a STM32 project with uVision and then to VS Code. Can I then open CubeMX directly and adjust the settings?
The following templates are used for CubeMX in uVision
FrameworkCubeMX_gpdsc.ftl
MX_Device_h.ftl
The templates are missing when opening CubeMX directly.

The first problem you report, looks like an extension specific issue that should be reported here:
https://github.com/ARM-software/vscode-cmsis-csolution/issues
It looks like the pre-release pack versions are not considered by the component window.
On the second topic, we are in the process of moving away from gpdsc, replacing this with the global generator. In MDK uVision 5.40 we will start supporting the global generator. We will no longer rely on the above mentioned ftl file shipped as part of the STM32*_DFP packs. Instead the cbridge is handling the data/file conversion.
https://github.com/Open-CMSIS-Pack/generator-bridge.
At that point uvprojx projects converted to csolution shall be compatible.

Thanks for the information.
I have now found the problem with the display in Software Components. If you include the packages in the uVision Pack Installer (File->Manage Local Repositories) the error occurs. If you use cpackget add the problem does not occur.

I have now succeeded in creating a new project for the STM32U585AIIx. To do this, however, I had to make some changes in various yml files. If you are interested I can describe my approach.

Packs for STM32U5xx included with cpackget add
New Solution Project with (create a new solution)
Target Device: STM32U585AIIx
Project Name: CubeMX (to be able to use the entry of the commands directly from the example)
Solution Name: CubeMX
CubeMX.csolution.yml

change -> created for<EMAIL_ADDRESS>change pack -><EMAIL_ADDRESS>
CubeMX.cbuild-pack.yml

delete resolved-pack -><EMAIL_ADDRESS>
CubeMX.cproject.yml

Delete Files, file: ./main.c
Add an new c-file e.g dummy.c to keep Group entry
Remark: if I use an extra folder (e.g. SRC), the entry is added as ..\SRC\dummy.c. I has to change it to ../SRC/dummy.c
Delete component Device:Startup
Add component: Device:CubeMX

Use csolution CubeMX.csolution.yml list generators --verbose to get registered Generators
CubeMX (Global Registered Generator)
base-dir: STM32CubeMX/STM32U585AIIx
context: CubeMX.Debug+STM32U585AIIx
context: CubeMX.Release+STM32U585AIIx
Use csolution CubeMX.csolution.yml run --generator CubeMX --context CubeMX.Debug+STM32U585AIIx
-> CubeMX is started -> make settings -> generate code
Use cbuild CubeMX.csolution.yml --update-rte
info cbuild: build finished successfully!
Now new pack components can be selected, e.g. RTOS2 e.g. Keil RTX5

do not include startup, this is done be CubeMX -> ignore validation warning
do not forget to change NVIC-setting in CubeMX
csolution CubeMX.csolution.yml run --generator CubeMX --context CubeMX.Debug+STM32U585AIIx

Disable code generation for Systick, SVC and PendSV

Use cbuild CubeMX.csolution.yml --update-rte
info cbuild: build finished successfully!
Unfortunately, I don't have a board to test the program

With the recently released version of the CMSIS-Solution VSCode Extension and the new major versions of the STM32 BSPs and DFPs  the generator integration should work fluently. For further documentation see: https://github.com/Open-CMSIS-Pack/cmsis-toolbox/blob/main/docs/CubeMX.md
For any further feedback, please open a new issue.


Type issues with Creative effect and translate properties

Check that this is really a bug

[X] I confirm

Reproduction link
Is obvious
Bug description
'creative' doesn't seem to be an option defined for the effect prop.

translate types don't seem to include a string in the array.

The resulting code otherwise works as it should.
Expected Behavior
No response
Actual Behavior
No response
Swiper version
7.0.2
Platform/Target and Browser Versions
All
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

@vltansky That is not what your documentation and examples show.
https://swiperjs.com/demos#effect-creative
React demo leads here https://codesandbox.io/s/xxhj3 where the effect={'creative'} is used.

You're right. Already fixed here https://github.com/nolimits4web/swiper/commit/37dfe9d687911243475e6ea3f3881ccf4a9d405a
Thanks for reporting!


The cancel button on the edit profile page is too big

Note that you have to fix the buttons on both the MentorProfile and MenteeProfile files.


Fix TestCommitConflictRollback4B

According to the vldb-2021-labs's code, commit a rollback transaction should report a error, which is more intuitive in my opinion.

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

@Connor1996 cc

@you06 If there is anything change that can be picked to TinyKV from vldb-2021-lab

@Connor1996 Yes, there are some, I'll submit those patches in other PRs.

Reasonable. Please check if the related doc should be updated.

Personally, I feel that lab4 documents are not very complete, and many corner cases can only be found through testing. I have checked all the documents. Since these corner cases have not been described, I have not found any documents that need to be updated


Code Example: Convolutional Autoencoder For Image Denoising

@svpino thanks for the contribution!
@8bitmp3 as usual, thanks a lot for the help with reviewing the PRs -- much appreciated!


Is there a way to get this to work with Silverblue?

Hello,
I'm using Fedora Silverblue and can't really install this do to how silverblue works.
Is there anyway to get this to work with Silverblue?
Thank you.

Yes, see the Steam Deck/User Installation section of the readme. I've used it on Fedora Silverblue and it should work when installed this way.

@nmcbride
Also note from that section:

Automatic switching at bootup is not available with this type of installation so the script must be run by the user after login to switch to the eGPU

So right now when installed with the user-install option the script has to be run each time the computer is booted with the eGPU.

Thank you I'm sorry I completely missed that in the docs.
That would explain why the services are not running and not able to find the executable.

@nmcbride
If there's interest in it I think I could add the functionality to make the systemd services and automatic switching work. Let me know if that's something you would be interested in.

I can't speak for others but I would at least be.
I was thinking maybe it could be done as a user service in the case of a user install.
Do you think we could also add a utility command that shows you which device is set as boot_vga?
Looks like we just need to loop over the devices in /sys/bus/pci/devices and check which one where boot_vga exists.
I'm sure you already know this but I didn't so I'm really just putting this here for anyone else who is looking. :)

Once setup, the "Status" menu option will show if the eGPU is set as boot_vga by indicating "eGPU currently active as primary with Method 2" if boot_vga is set to 1 on that card.

Oh I see it now, thank you.

@nmcbride
Automatic switching with the systemd services is now supported on Silverblue with the latest release.
Install the latest from https://github.com/ewagner12/all-ways-egpu#steam-deckuser-installation
Then re-run all-ways-egpu setup and it should work.


SyncSetInstance API and controller

This is still pending some manual testing. After that, I'll remove the WIP tag

Tested this manually and so far it's working as expected. Removed the WIP tag.

I assume finalizer proved useful in the end?

Yes, after considering it a bit more it made sense that if for whatever reason you delete a syncsetinstance, we don't let it go away without first cleaning up the remote cluster (because it contains status about what was applied).

Ok let's merge Monday morning and see how she goes
On Fri., Jun. 14, 2019, 3:51 p.m. Cesar Wong<EMAIL_ADDRESS>wrote:

I assume finalizer proved useful in the end?
Yes, after considering it a bit more it made sense that if for whatever
reason you delete a syncsetinstance, we don't let it go away without first
cleaning up the remote cluster (because it contains status about what was
applied).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openshift/hive/pull/437?email_source=notifications&email_token=AAAMQQPP7AUVRBUJYII5W73P2PSB7A5CNFSM4HWZN5I2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXXVFZA#issuecomment-502223588,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAMQQOYWYFUX5NDLW3TL6TP2PSB7ANCNFSM4HWZN5IQ
.

/lgtm


Swift 5!

Hero!

          1 Warning

:warning:
Moya.podspec, Cartfile.resolved, Package.swift and Package.resolved were updated, but there were no changes in the Cartfile.
Did you forget to update Cartfile?

          3 Messages

:book:
iOS: Executed 278 tests, with 0 failures (0 unexpected) in 13.109 (13.240) seconds

:book:
tvOS: Executed 278 tests, with 0 failures (0 unexpected) in 13.066 (13.196) seconds

:book:
macOS: Executed 278 tests, with 0 failures (0 unexpected) in 14.512 (14.636) seconds

  Generated by :no_entry_sign: Danger

Codecov Report

:exclamation: No coverage uploaded for pull request base (development@9b33596). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             development    #1829   +/-   ##
==============================================
  Coverage               ?   91.92%
==============================================
  Files                  ?       24
  Lines                  ?      706
  Branches               ?        0
==============================================
  Hits                   ?      649
  Misses                 ?       57
  Partials               ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b33596...efb5e7b. Read the comment docs.

It's green!


support query runtime limits

SQLite's Python interface supports interrupting long-running queries. DuckDB's C API supports this, too, but it has not yet been exposed to the Python API. See https://github.com/duckdb/duckdb/issues/5938 and https://github.com/duckdb/duckdb/pull/3749
A really brutal workaround: DuckDB will respond to signals... could we temporarily install a signal handler that prevents SIGINT from killing the server, but lets it percolate through to DuckDB to interrupt? That feels fragile and complex, might be easier to learn how to patch DuckDB

interrupt() is now supported in DuckDB's Python API: https://github.com/duckdb/duckdb/pull/7895.
This change was released in version 0.9.0: https://github.com/duckdb/duckdb/releases/tag/v0.9.0


Why I can delete the CRD resource Foo but I can't find the DeleteFunc in FooInformer?

Just as the title shows,I can create the Foo CRD and then create or delete the Foo resource I created after I build the project but I can't find the DeleteFunc in the fooinformer.Informer().AddEventHandler().

I think the reason this works is client-go machinery might be providing default delete handlers. You can override that by adding a DeleteFunc in AddEventHandler for some special handling.

I think the reason this works is client-go machinery might be providing default delete handlers. You can override that by adding a DeleteFunc in AddEventHandler for some special handling.

@devdattakulkarni Maybe you are true.But I want to know how the controller works when it receives a delete request.


Accept features with dot in name

For example "sse4.2"
The dot is then removed when generating function names. That hopefully won't cause any collisions - there would have to be two features that only differ in dot.

Good catch! Thanks for the fix.


Enable MSA Passthrough for WAM

closes #34929

API change check
API changes are not detected in this pull request.


mitmproxy: 4.0.4 -> 5.1.1

Motivation for this change
Version bump. I intended to port this to 20.03 but the cryptography update is problematic.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using
[x] Tested execution of all binary files (mitmproxy works)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

cc @orivej

Quick heads up that the cryptography update is already in staging: #84192

Ah, thank you. Should I move this to staging?

@rnhmjoj I think that would be a good/easy solution for this case (alternatively wait until #84442 is merged - but that might take a few days).

@primeos Ok, done!

That iteration of staging-next is in master now.

Moved back to master. I tested mitmproxy again and it still works.


Can I proxy any request from express ?

I've a list of proxy ip addresses with username/password, i need to proxy the requests which is incoming to my service, something like a forward proxy.
var request = require('request');
router.use(function (req, res) {
    var randomProxy = helper.random(0,proxy.getProxys().length-1);
    var proxyRequest = request.defaults({
        proxy:randomProxy
    });
    proxyRequest(req).pipe(res)
});

Express version : "4.12.4"
Request version : "2.72.0"

Is there any way to achieve it ?

This seems to work for me:
var express = require('express');
var request = require('request');
var app = express();

app.get('/directions', function(req, res) {

  var pUrl = process.env.gmapsDirectionsUrl + req._parsedOriginalUrl.search + '&key=' + process.env.gmapsServerDirectionsApiKey;

  request({ url: pUrl, json: true }).pipe(res);
});


Not working

[info]Starting instance
2022-09-28T19:19:44Z   [info]Configuring virtual machine
2022-09-28T19:19:44Z   [info]Pulling container image
2022-09-28T19:19:45Z   [info]Unpacking image
2022-09-28T19:19:45Z   [info]Preparing kernel init
2022-09-28T19:19:46Z   [info]Configuring firecracker
2022-09-28T19:19:46Z   [info]Starting virtual machine
2022-09-28T19:19:46Z   [info]Starting init (commit: 249766e)...
2022-09-28T19:19:46Z   [info]Preparing to run: /s6-init /bin/bash -c /app/gross.sh as root
2022-09-28T19:19:46Z   [info]2022/09/28 19:19:46 listening on [fdaa:0:8672:a7b:14bf:2b2a:a39:2]:22 (DNS: [fdaa::3]:53)
2022-09-28T19:19:47Z   [info]Starting clean up.
--> v4 failed - Failed due to unhealthy allocations - no stable job version to auto revert to and deploying as v5
Tried every possible way to make process not quit. but it just keeps exiting and restarting.

There's a similar issue on pihole's github here, https://github.com/pi-hole/docker-pi-hole/issues/1176#issuecomment-1232363970
It had the following fix,
ENTRYPOINT [ \
    "unshare", "--pid", "--fork", "--kill-child=SIGTERM", "--mount-proc", \
    "perl", "-e", "$SIG{INT}=''; $SIG{TERM}=''; exec @ARGV;", "--", \
    "/s6-init" ]

I just added that to my custom dockerfile, and it works in fly.io.


Tags definition is inconsistent across resources

What happened?
There are approximately 78 resources that support a "tags" parameter in the spec.forProvider section.  Of these, 60 define tags as an array of objects with key and value properties, while the remaining 18 define tags as an object with additionalProperties.type = string.
This makes it impossible to consistently define a set of tags across all resources in a composition since they are different data types.
Given the difference, I'd like to  propose that the 18 object types be converted to arrays of objects for consistency.
package/crds/apigatewayv2.aws.crossplane.io_apis.yaml
package/crds/apigatewayv2.aws.crossplane.io_domainnames.yaml
package/crds/apigatewayv2.aws.crossplane.io_stages.yaml
package/crds/apigatewayv2.aws.crossplane.io_vpclinks.yaml
package/crds/cloudwatchlogs.aws.crossplane.io_loggroups.yaml
package/crds/eks.aws.crossplane.io_addons.yaml
package/crds/eks.aws.crossplane.io_clusters.yaml
package/crds/eks.aws.crossplane.io_fargateprofiles.yaml
package/crds/eks.aws.crossplane.io_identityproviderconfigs.yaml
package/crds/eks.aws.crossplane.io_nodegroups.yaml
package/crds/glue.aws.crossplane.io_connections.yaml
package/crds/glue.aws.crossplane.io_crawlers.yaml
package/crds/glue.aws.crossplane.io_jobs.yaml
package/crds/kafka.aws.crossplane.io_clusters.yaml
package/crds/lambda.aws.crossplane.io_functions.yaml
package/crds/mq.aws.crossplane.io_brokers.yaml
package/crds/prometheusservice.aws.crossplane.io_workspaces.yaml
package/crds/sqs.aws.crossplane.io_queues.yaml
How can we reproduce it?
See Vpc.ec2.aws for an example of tags defined as a list of objects
See LogGroup.cloudwatch.aws for an example of tags defined as an object
What environment did it happen in?
Crossplane version: 1.7

it depends on the go-sdk version V1/V2 and the resources we using the upstream Implementation without type change

Maybe a workaround for this would be to add a MapToList conversion type to the Composition, which would take a map of key value pairs and convert it to a List of maps with {Key: keyname, Value: value} pairs?  That would at least allow the user to pass in a single Map of key/value pairs for tags and use it for both types of tag structures.

I agree with @bobh66 that this is a really annoying issue. Though I would not use a list, but rather a simple map[string]string because it is independent from sort order and merged instead of overwritten (see #1072 for example).
This is also relevant for #1306.

I think it would be comparably easy to change the tagging API for resources that are implemented manually, i.e. ec2.Instance.
For all resources generated with ACK we would have to ignore the tags field in the generator-config.yaml and add the logic by hand.
@haarchri do you think this is something we could go forward with?

@MisterMX anything planned for this issue? This is causing issues in composition. We have to provide tags in two different ways in XR which is bad user experience.

No, this is stale at the moment as it is quite complex since it affects almost every resource in the provider.


Added code for Maximum Score

Added code for Maximum Score in CP.

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
It is problem of CP and it is good problem for beginner to start with.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)

@Sakshi1007 Don't push more than one code file in a single PR.


 This causes
us to just eat that one arg and keep processing the rest. This does mean that
something like:
-test.coverprofile moo.cov myarg1
Will leave the moo.cov and myarg1 to be parsed by pflag. Previously neither
would be parsed by pflag. To get the 'expected' behavior use:
-test.coverprofile=moo.cov myarg1
resolves #597
My test program: main.go:
package main

import (
	"fmt"
	"github.com/spf13/cobra"
	"os"
)

func main() {
	cmd := &cobra.Command{
		Use: "hello",
		RunE: func(cmd *cobra.Command, args []string) error {
			fmt.Printf("%#v\n", os.Args)
			fmt.Printf("%#v\n", args)
			return nil
		},
	}
	cmd.Execute()
}

main_test.go:
package main

import (
	"testing"
)

func TestSomething(t *testing.T) {
	main()
}

Which results in:
$ go test --covermode=count -coverpkg  ./... -test.coverprofile cover.out -args hello
[]string{"/tmp/go-build071775493/b001/test.test", "-test.coverprofile=/tmp/go-build071775493/b001/_cover_.out", "hello"}
[]string{"hello"}
PASS
coverage: 100.0% of statements in ./...
ok  	_/tmp/test	0.002s

Or:
$ go test -covermode=count -coverpkg ./... -o test-bin
  [snip]
$ ./test-bin -test.coverprofile=moo.cov hello
[]string{"./test-bin", "-test.coverprofile=moo.cov", "hello"}
[]string{"hello"}
PASS
coverage: 100.0% of statements in ./...

This was merged in #169, can be closed


Made UIExpandingTableViewCell an optional protocol

as per issue #34. Documentation would still be nice
Thanks for creating this!

Thank you very much for this pull request. Always great to have people contributing back :) My time is very limited at the moment so I'm sorry for this and maybe future late responses. What I would like to discuss before merging this in is, if we should make all methods and properties of the UIExpandingTableViewCell protocol optional or if the protocol itself should be optional. The current approach allows a UITableViewCell to implement @property (nonatomic, readonly) UIExpansionStyle expansionStyle; while not implementing - (void)setExpansionStyle:(UIExpansionStyle)style animated:(BOOL)animated;. I'm not very comfortable with this inconsistent state.
What if instead we make the whole protocol optional. That is we make - (UITableViewCell<UIExpandingTableViewCell> *)tableView:(SLExpandableTableView *)tableView expandingCellForSection:(NSInteger)section return a plain UITableViewCell and document that it can optionally implement the whole UIExpandingTableViewCell protocol?

Hey Oliver, I think that would definitely be averted plan. I already added the responds to selector check for all the methods so it should only be a change of return type right? Or would we have to cast the cell every time?
Thanks for the response!
Adam

On Jul 5, 2015, at 6:13 AM, Oliver Letterer<EMAIL_ADDRESS>wrote:
Thank you very much for this pull request. Always great to have people contributing back :) My time is very limited at the moment so I'm sorry for this and maybe future late responses. What I would like to discuss before merging this in is, if we should make all methods and properties of the UIExpandingTableViewCell protocol optional or if the protocol itself should be optional. The current approach allows a UITableViewCell to implement @property (nonatomic, readonly) UIExpansionStyle expansionStyle; while not implementing - (void)setExpansionStyle:(UIExpansionStyle)style animated:(BOOL)animated;. I'm not very comfortable with this inconsistent state.
What if instead we make the whole protocol optional. That is we make - (UITableViewCell *)tableView:(SLExpandableTableView *)tableView expandingCellForSection:(NSInteger)section return a plain UITableViewCell and document that it can optionally implement the whole UIExpandingTableViewCell protocol?
—
Reply to this email directly or view it on GitHub.

If think is it more futureproofed if if we don't check each selector but rather if the -[cell conformsToProtocol:].

Agreed, so I'll switch to using conformsToProtocol, change the return type
to plain UITableViewCell objects and remove the optional status of the
protocol methods. I'll do it when I get off work :). Then I'll submit
another pull request. Thanks again for a great library
Best,
Adam
On Mon, Jul 6, 2015 at 11:19 AM, Oliver Letterer<EMAIL_ADDRESS>wrote:

If think is it more futureproofed if if we don't check each selector but
rather if the -[cell conformsToProtocol:].
—
Reply to this email directly or view it on GitHub
https://github.com/OliverLetterer/SLExpandableTableView/pull/35#issuecomment-118888696
.

Sound awesome. Thank you very much. Really, always great to have people contributing back 👍🎉😃


ID token can be encrypted

[Enter feedback here]
"They're commonly used to display account information or to make access control decisions in an application. ID tokens are signed, but they're not encrypted."
That's wrong! An ID Token can be encrypted, please read the  OIDC Specs (https://openid.net/specs/openid-connect-core-1_0.html)
Kindly regards!

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

ID: b05bb7df-98fc-1342-640d-02063f6d8a11
Version Independent ID: f6ac357f-f846-83c5-f19f-91e1bc0954e3
Content: Overview of tokens - Azure Active Directory B2C
Content Source: articles/active-directory-b2c/tokens-overview.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@meikestone
Thanks for your feedback! We will investigate and update as appropriate.

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

@kengaderdus
Can you please check and add your comments on this doc update request as applicable.

@meikestone
It's true that ID tokens can be encrypted, but by default, the ID token returned by Azure AD B2C is signed and not encrypted. We'll update our documentation to make it clear. #please-close


Update kin-openapi to v0.128.1-0.20241126180935-793b28df2a1e

# github.com/getkin/kin-openapi/openapi3
../../vendor/github.com/getkin/kin-openapi/openapi3/marsh.go:28:20: undefined: yaml.UnmarshalWithOrigin
cmd/server/openapi.go:24: running "go": exit status 1

this I have tested against latest github.com/invopop/yaml@57832ada4901f7c9054875d2c4bd4c0194178aee  but that does not have such an API ... so it's probably that they use an outdated invopop/yaml ...
I guess the best bet is to resolve the todo on there side :/

Seems like this about to get fixed upstream soonish, so we don't need to update to a digest build and can stick with semver?

This PR doesnt even work, so yes we can close it and wait for the upstream fix.


How can I get the annotated version of a project?

I know .c file can be compiled to .wasm file, and then .wasm file can change to _plain.wat file. But how can I translate _plain.wat file to _prechk.wat file?

It means that I need the embedding function which takes a Wasm module and replaces all type annotations with indexed
types that have no constraints on the index variables.


usbutils: 013 -> 014

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/usbutils/versions.
meta.description for usbutils is: "Tools for working with USB devices, such as lsusb"
meta.homepage for usbutils is: "http://www.linux-usb.org/"
meta.changelog for usbutils is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/g524hh3k1alrgqgajnm3kcr1jzqnw6wb-usbutils-014/bin/usbhid-dump passed the binary check.

/nix/store/g524hh3k1alrgqgajnm3kcr1jzqnw6wb-usbutils-014/bin/lsusb passed the binary check.

/nix/store/g524hh3k1alrgqgajnm3kcr1jzqnw6wb-usbutils-014/bin/usb-devices passed the binary check.

3 of 3 passed binary check by having a zero exit code.

3 of 3 passed binary check by having the new version present in output.

found 014 with grep in /nix/store/g524hh3k1alrgqgajnm3kcr1jzqnw6wb-usbutils-014

found 014 in filename of file in /nix/store/g524hh3k1alrgqgajnm3kcr1jzqnw6wb-usbutils-014

directory tree listing: https://gist.github.com/106b1f468b4c70c5df1561156168aeef

du listing: https://gist.github.com/04111d8dc4e43b9f9fa3512f90c725b9

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

102 total rebuild path(s)

39 package rebuild(s)

39 x86_64-linux rebuild(s)
33 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
28 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
aircrack-ng
bolt
bottles
fusionInventory
fwupd
gnome-firmware-updater
gnome.gnome-boxes
gnome.gnome-software
hplip
hplipWithPlugin
hplipWithPlugin_3_16_11
hplip_3_16_11
kodiPackages.steam-launcher
libsForQt5.discover
libsForQt5.plasma-thunderbolt
libsForQt512.discover
libsForQt512.plasma-thunderbolt
libsForQt514.discover
libsForQt514.plasma-thunderbolt
libsForQt515.discover
libsForQt515.plasma-thunderbolt
lutris
plasma5Packages.discover
plasma5Packages.plasma-thunderbolt
playonlinux
protontricks
remmina
spice-gtk
steam
steam-run
steam-run-native
steam-tui
steamcmd
umockdev
usbutils
virt-manager
virt-manager-qt
virt-viewer
wifite2

Instructions to test this update (click to expand)

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

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

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

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

4 packages marked as broken and skipped:

libsForQt512.discover
libsForQt512.plasma-thunderbolt
libsForQt514.discover
libsForQt514.plasma-thunderbolt

29 packages built:

aircrackng (aircrack-ng)
bolt
bottles
discover (libsForQt5.discover)
fusionInventory
fwupd
gnome-firmware-updater
gnome.gnome-boxes
gnome.gnome-software
hplip
hplipWithPlugin
kodiPackages.steam-launcher
plasma-thunderbolt (libsForQt5.plasma-thunderbolt)
lutris
playonlinux
protontricks
remmina
spice-gtk (spice_gtk)
steam
steam-run
steam-run-native
steam-tui
steamcmd
umockdev
usbutils
virtmanager (virt-manager)
virtmanager-qt (virt-manager-qt)
virtviewer (virt-viewer)
wifite2

Maintainer pings

Changelog:
Adrian Kalazi (1):
Add Tx+Rx lanes to tree mode
Aurelien Jarno (1):
lsusb(8): mention the udev's hardware database
Benson Leung (1):
lsusb: Fix typo in string output for iAdditionalInfoURL
Bui Quang Minh (1):
lsusb-t: Add lower bound checks in read_sysfs_file_string
Grant Grundler (2):
lsusb: remove unused RETRIES constant
lsusb: don't complain on EAGAIN
Greg Kroah-Hartman (10):
sysfs: add copyright notice taken from name.*
LICENSES: add symlink to handle "or-later" issue for GPL-2.0
LICENSES: put spdx headers on the license files
rename "GPL-2.0+" to "GPL-2.0-or-later"
LICENSE: rename GPL-3.0.txt -> GPL-3.0-only.txt
usbhid-dump.8.in: add copyright information
.gitignore: add copyright and SPDX info
usbhid-dump: add copyright and SPDX info
SPDX header cleanups from GPL-2.0 -> GPL-2.0-only
usbutils.spdx: update with output of latest reuse tool
Jonathan Neuschäfer (2):
lsusb: Fix spelling of bEndpointAddress in UVC
lsusb: Decode endpoint addresses in UVC
Lukas Zaoral (3):
lsusb.c: fix leak in dump_printer_device
usb-devices: do not use local in a POSIX shell script
desc-defs.c: fix possible out-of-bound read
Matthias Braun (1):
Fix typos in lsusb.8.in
Ruslan Kabatsayev (5):
Fix locating endpoint when it's a directory rather than a symlink
Fix formatting of interface descriptors to match /sys/kernel/debug/usb/devices
Fix formatting of endpoint direction to match /sys/kernel/debug/usb/devices
Fix formatting of endpoint type to match /sys/kernel/debug/usb/devices
Fix formatting of max endpoint packet size to match /sys/kernel/debug/usb/devices
Thomas Hebb (1):
lsusb: Fix buffer size copy/paste error
Tormod Volden (1):
Makefile.am: Remove unused DATADIR


The check whether classification is still running sometimes throws an exception. See the message below

{'basedOnProperties': ['shortDescription'], 'class': 'Product', 'classifyProperties': ['ofFlavour'], 'id': 'e4ad5c2e-3e3e-470f-b942-93df9cd26d0e', 'k': 7, 'meta': {'completed': '0001-01-01T00:00:00.000Z', 'started': '2020-12-11T08:41:16.188Z'}, 'status': 'running', 'type': 'knn'}
Classifying  All.Traceback (most recent call last):
File "./validate.py", line 28, in
main()
File "./validate.py", line 19, in main
validateClassification(config, data)
File "PATH/modules/API.py", line 96, in validateClassification
executeClassification(client, config)
File "PATH/modules/ClassifyData.py", line 83, in executeClassification
print_classification_status(client, status, "All")
File "PATH/modules/ClassifyData.py", line 16, in print_classification_status
while client.classification.is_running(status['id']):
File "PATH/Envs/env1/lib/python3.8/site-packages/weaviate/classification/classify.py", line 67, in is_running
return self._check_status(classification_uuid, "running")
File "PATH/Envs/env1/lib/python3.8/site-packages/weaviate/classification/classify.py", line 71, in _check_status
response = self.get(classification_uuid)
File "PATH/Envs/env1/lib/python3.8/site-packages/weaviate/classification/classify.py", line 45, in get
raise UnexpectedStatusCodeException("Get classification status", response)
weaviate.exceptions.UnexpectedStatusCodeException: Unexpected status code: 502, with response body: None

This error does not happen anymore. I am closing it. If anyone encounters it, please re-open this issue.


Containers can't talk to each other

Hardware: WD PR4100
OS: 5.04.114
Running: Docker with Portainer 1.24.1
Containers running:
linuxserver/Medusa
linuxserver/Transmission
linuxserver/deluge
linuxserver/Plex
Problem:
Medusa gets a connection error when trying to access the Transmission host: port (<IP_ADDRESS> 9091)
Seems like the containers can't talk to each other
How do I fix this within Portainer

Medusa Config

Transmission Config

I figured it out, I just had to connect without creating a new network but targeting the IP address that Portainer created instead of my localhost IP


State login-worker

Fixes #74

Please review @KaizenGirl1111 mam

hi @ayush25102001 , this PR has some merge conflicts. So wasn't able to merge it

src/Components/App/Workerlogin.jsx
src/Components/App/Workersignup.jsx
here-

hi @ayush25102001 , this PR has some merge conflicts. So wasn't able to merge it

No problem mam, I will resolve those, u can merge it later


Core API 7.4 Remove incubating annotations

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Git Ignore

Aloha
Would it also be worthwhile to include bower_components in .gitignore as well?
Perhaps even defaulting/filtering from NodeJS .gitignore from Github.

Fixed in a2bd054


Scene Pose vs Camera Pose

Is there a reason for estimating the scene pose vs the camera pose?

Parts of the algorithm, mostly implemented using OpenCV, like 3D point projection or the PnP solver, require or estimate the scene pose (inverse of the camera pose). Therefore, it is more convenient to consistently work with the scene pose, and to invert it in the very end to get the camera pose.


TMUX mode

Create a tmux mode that:

[ ] Creates a full work-space pane on app ready.
[ ] Allow splitting panes vertically and horizontally into 2 different panes.
[ ] Allows switching focus directionally between panes (https://github.com/imsnif/terminal-grid/issues/1)
[ ] Allows resizing panes over one another.
[ ] Allows closing panes and having other panes take up their space.
[ ] Allow temporary full work-space of pane toggle.
[ ] Allow minimizing all panes.

@imsnif changed this to checkbox, so we can track progress.

I can't believe I'm writing this, but... implemented.


How to declare es-module/custom/path in one place?

Hi there)
I have a private library, and I want to supply it with flow typings. I already understood how to declare root level imports (just place [package.json.main].flow). But it not covers all my cases.
My library may work like that:
import someFunction from 'my-library/lib/someFunction'

lib directory is generated by babel (es6+flow to es5) from src directory before npm publish. Also, src/someFunction has all typings inside it, but lib/someFunction doesnt.
How can I declare all types for lib/someFunction? Creating lib/someFunction.js.flow for each file is not a good idea, because I have tens of such files.
declaration of
declare module "my-library/lib/someFunction" {
  declare export default T;
}

inside [package.json.main].flow not works for me either.

How can I declare all types for lib/someFunction? Creating lib/someFunction.js.flow for each file is not a good idea, because I have tens of such files.

I think this is mainly what flow-copy-source is used for. You would basically do something like:
Install it:
npm install flow-copy-source --save-dev

Write a script in your package.json for it:
{
  "scripts": {
    "build": "babel src -d lib && npm run copytypes",
    "copytypes": "flow-copy-source src lib"
  }
}

If you don't want to copy all files, just reexport entry point from source.
{
  "scripts": {
    "build:flow": "echo \"// @flow\\n\\nexport * from '../src';\" > lib/index.js.flow"
  }
}

This probably can be closed.
/cc @vkurchatkin


Clean trimming of frozen trajectory data.

The deletion logic needs to take care of deleting all data that is
"exclusively" connected to the submaps that are to be removed. This is
achieved by looking at the data that is connected via constraints in
the graph.
Deleting a frozen trajectory (one without optimization constraints)
doesn't work that way and would leave dangling nodes in the graph.
This modifies the logic to use the node_ids field of the submap
instead of the constraints.
Signed-off-by: Michael Grupp<EMAIL_ADDRESS>

Related to the linked RFC PR and the associated PR in cartographer_ros.

Hi there, I've tried this DeleteTrajectory service to try to remove a loaded frozen trajectory. It works well and the frozen trajectory is deleted. However, the code crashes after the frozen trajectory is deleted. The error is shown as below:
terminate called after throwing an instance of 'std::out_of_range'
what():  map::at
I find it happens in constraint_builder_2d.cc. The line of "(*callback)(result);" I used the latest master for cartographer which has all the updates above. Does anyone have any idea why it happens and how to resolve it? Thanks very much in advance.

@cuicuihaohaoxuexi I'm also confused with this problem, my error is the same as you!


The sidebar is missing

When I apply the theme, the sidebar of the site is missing. (I set only the parameter "project_nav_name").
How could I fix this problem? Thank you!

Which sidebar? Can you post a screenshot?

Fixed in latest release


Return "" and False from TextField, CheckboxField

It doesn't really make sense for a TextField or CheckboxField to return None, since Airtable will return null for a text field with an empty value or a checkbox field that is unchecked. This branch allows those fields to return empty strings or False as their "missing value", which will reduce the amount of defensive if model.field is None: ... style of type checking required by implementers.

Adding to 3.0 milestone since this would technically be a breaking API change


Now that linked services are possible: add filter maintenance support

Filter Maintenance isn't supported yet. Played around with the Apple HomeKit Accessory Simulator and found out that it only works as a linked service. An Air Purifier can have it as a linked service, also mentioned in the HAP spec from Apple.
Using it as a separate service doesn't work, not in the Home app that is. Eve works better and also supports a Filter Maintenance service as a separate service (e.g. not linked to an Air Purifier service).
Then there is an other peculiar issue with homekit: The Home app doesn't support reset filter. Tried it with the Apple HomeKit Accessory Simulator and with a modified version of HAP-Java.  Only Eve supports it. But that is an issue on the Apple Home app.
Anyways, wanted to make an issue to mark I'm working on this and a PR will follow.

@gjvanderheiden thanks for opening it. i also started to implement filter for the same reasons - with linked service it makes sense now
at which stage you are?  i have created all filter characteristics but not the service yet, which probably another 2-3 hours with testing.
if you are almost ready i will stop and wait for your PR, otherwise i will finish and commit today/tomorrow my PR.

I've got it working. I also fixed a little issue on the AirPurifier, it didn't support rotation speed

pr #124


Support for multiline truncating text

Should allow SpriteText to run horizontally until a maximum width, then add new lines until a maximum height, then truncate.

Also will be useful for comment tooltips


cmake error in linux

Hi there, currently I am having a problem compiling laf at the cmake command
cmake -G Ninja
-DLAF_BACKEND=skia
-DSKIA_DIR=/skiadir
-DSKIA_LIBRARY_DIR=/skiadir/out/Release-x64 \
when I put that on the terminal it throws me a cmake error:
~/laf/build$ cmake -G Ninja -DLAF_BACKEND=skia -DSKIA_DIR=/skiadir -DSKIA_LIBRARY_DIR=skiadir/out/Release-x64 ..
CMake Error at third_party/CMakeLists.txt:10 (add_subdirectory):
The source directory

/home/m/laf/third_party/googletest

does not contain a CMakeLists.txt file.

-- laf backend: skia
-- laf zlib: zlib
-- laf pixman:
-- laf freetype: FREETYPE_LIBRARY-NOTFOUND
-- laf harfbuzz: HARFBUZZ_LIBRARY-NOTFOUND
-- skia dir: /skiadir
-- skia library: SKIA_LIBRARY-NOTFOUND
-- skia library dir: /home/m/laf/build/skiadir/out/Release-x64
CMake Error at CMakeLists.txt:89 (message):
set SKIA_DIR/SKIA_LIBRARY/SKIA_LIBRARY_DIR to compile w/skia backend

So I dont know exactly what to do after this. I have the skia library m102 and everything else but this is giving me problems and I dont know if it is important to not have problems later when I use the ninja aseprite command.
Im on Linux Mint Vera 21.1.(newbie in linux btw)
Id be very glad If someone could help me to compile it :)

It didnt work, It said:
CMake Error: The source directory "/home/m/laf/build/ " does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
-DLAF_BACKEND=skia: command not found
Do I need to manually create a folder called skiadir and put the skia library there or something?
Because there isnt one in that path. (/home/m/laf/build/skiadir)

Sorry, as you had skia library dir: /home/m/laf/build/skiadir/out/Release-x64 in your output I thought you have a copy of the compiled Skia library in that directory.
Some points:

Please check the Aseprite INSTALL guide, mainly the Dependencies section, you need to compile Skia first (more details in Skia README)
After that follow the Aseprite INSTALL instructions for Linux, as you are trying to compile Aseprite (not laf)
In the future, please create issues about Aseprite on the Aseprite repository (the laf repository is for specific issues about this library)

Ok, I did that but when I tried to compile the binary It said that the bin/aseprite failed:
FAILED: bin/aseprite
: && /usr/bin/ccache /usr/bin/clang++ -stdlib=libc++ -Wall -Wno-switch -Wimplicit-fallthrough -O2 -g -DNDEBUG -stdlib=libc++ src/CMakeFiles/aseprite.dir/main/main.cpp.o -o bin/aseprite  lib/libapp-lib.a  lib/libcfg-lib.a  lib/libclip.a  -lxcb  lib/libdio-lib.a  lib/libfilters-lib.a  lib/libflic-lib.a  lib/libtga-lib.a  lib/librender-lib.a  lib/libdoc-lib.a  lib/libfixmath-lib.a  lib/libcityhash.a  lib/libui-lib.a  lib/liblaf-os.a  lib/liblaf-gfx.a  lib/liblaf-ft.a  /home/m/deps/skia/out/Release-x64/libfreetype2.a  /home/jammy/deps/skia/out/Release-x64/libharfbuzz.a  /home/m/deps/skia/out/Release-x64/libskia.a  /usr/lib/x86_64-linux-gnu/libGL.so  /usr/lib/x86_64-linux-gnu/libfontconfig.so  /usr/lib/x86_64-linux-gnu/libSM.so  /usr/lib/x86_64-linux-gnu/libICE.so  /usr/lib/x86_64-linux-gnu/libX11.so  /usr/lib/x86_64-linux-gnu/libXext.so  /usr/lib/x86_64-linux-gnu/libXcursor.so  /home/m/deps/skia/out/Release-x64/libskshaper.a  lib/libobs.a  lib/libundo.a  lib/libcmark.a  lib/libjpeg.a  lib/libgiflib.a  lib/libpng16.a  -lm  /home/m/deps/skia/out/Release-x64/libwebp.a  lib/libjson11.a  lib/libarchive.a  /usr/lib/x86_64-linux-gnu/libcrypto.so  /usr/lib/x86_64-linux-gnu/libssl.so  lib/libfmt.a  lib/libtinyexpr.a  lib/liblauxlib.a  lib/liblua.a  lib/liblualib.a  lib/libixwebsocket.a  lib/libz.a  lib/libupdater-lib.a  lib/libver-lib.a  lib/libtinyxml.a  lib/libnet-lib.a  lib/liblaf-base.a  -lpthread  /usr/lib/x86_64-linux-gnu/libdl.a  lib/libcurl.a  -ldl
the Output is very long so I just take that part. at the It says something about an clang error and ninja stopped building:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed
This wasnt the first time that this happened anyways, but idk what to do now. Thanks. (I compile the m102 skia lib this time).
A saw another issue similar to this in here but that was something related to the libwebp.a, libwebpdemux.a and libwebpmux.a libraries (and it is supposed to be fixed) if that helps in something.

The output doesn't include the specific error. Probably you can include some extra lines of the output (or use some pastebin-like service to paste the full console output).

ok there here is:
(the name of the personal folder is different but you can ignore that.)
pastebin


function to get Justfile location path

I created a super simple Justfile
info:
	touch file.empty

then created a nested project.
mkdir -p a/b/c

then ran
just --justfile Justfile --working-directory .
just --justfile Justfile --working-directory a
just --justfile Justfile --working-directory a/b
just --justfile Justfile --working-directory a/b/c

and got
$ tree
.
├── Justfile
├── a
│   ├── b
│   │   ├── c
│   │   │   └── file.empty
│   │   └── file.empty
│   └── file.empty
└── file.empty

I am going to assume that this is expected, but given https://github.com/casey/just/issues/312 and the invocation_directory function it seems like there is not a great way to do something like
ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))

that you can do in make to allow paths that are absolute, but relative to the Justfile.
I would like to make paths absolute so that I do not depend on someone calling --justfile with the correct --working-directory

This should be easy to support. If you wouldn't mind elaborating on your use case, that would be great, to make sure the feature actually does what you want to do.
Functions are defined in functions.rs. They get passed a FunctionContext, which contains the information they need to function. (Haha.) It would be pretty easy to add a function that returns the directory the justfile was found in.

the use case is I have something like
clean:
     rm -rf build

I would prefer to write
clean:
     rm -rf "{{source_dir()}}/build"

or even better
project_dir = "{{source_dir()}}"
build_dir = "{{project_dir}}/build"

clean:
     rm -rf "{{build_dir}}"

That makes sense.
Currently, just requires --working-directory when --justfile is set. This should be changed so that you can pass --justfile without --working-directory, issue #340. There's actually an open PR, #355, that just needs an integration test before it lands.
Why is the justfile being called with --justfile and invoked by letting just find the justfile itself and setting the working directory? Would not requiring --working-directory with --justfile be a good fix?

My thinking is that people "could" call it that way. And I would never want to accidentally delete something in the wrong working directory. Which is why I always like to make sure the path is absolute. This can be done by making it relative to the justfile but then knowing the absolute location of the justfile.

Gotcha, that makes sense. I personally don't worry about that, but being extra careful for some commands (rm -rf bin, etc) is reasonable.
This wouldn't be too hard to implement, if someone's up to the task. The location of the just needs to be added to FunctionContext, and a new function created.

Another use case is where you have multiple justfiles (a shared set of tasks, and a specific set of tasks, maybe solved by imports).
One justfile is called ci and is executable. However, it can't figure out itself that it's path is ./ci so --list is broken, and anything that assumes that the path is justfile.

I just landed #569, which includes both justfile() and justfile_directory(). Let me know if you run into any issues with them!


Error: element.validate is not a function

I keep getting the following error:
element.validate is not a function
Sidenote: I'm using controller as
View

Sign In

                <form id="loginform" class="form-horizontal" role="form" ng-validate="login.validationOptions">

                        <input id="login-username" type="email" class="form-control" name="username" value="" ng-model="login.username" placeholder="email">

                        <input id="login-password" type="password" class="form-control" name="password" ng-model="login.password" placeholder="password">

                            Login

                </form>

Controller
function LoginController(user, auth, refreshToken, $location)
{
    var self = this;

    self.validationOptions =
    {
        rules:
        {
            username:
            {
                required: true,
                email: true
            },
            password:
            {
                required: true,
                minlength: 6
            }
        },
        messages:
        {
            username:
            {
                required: "Email Address is Required",
                email: "Your email address must be in the format of<EMAIL_ADDRESS>            },
            password: {
                required: "Password is Required",
                minlength: "Your password must have a minimum length of 6 characters"
            }
        }
    }

Hi,
That error means that some of the required js files isn't being loaded or the order of loading is wrong (jquery before angular). Can you check if this is the case in your code?

I have it in the following order:

Hi,
jquery must be loaded before angular!

Thanks, seems to be grafting

hello
I am using the plugin with ionic and this is my files order
`

`

and I am getting same error. Could anyone help! please

Hi,
Try to load jquery before ionic.bundle.js.

Yeah Thanks I just did it before your replay. Thanks Alot Life Saver 👍 👍 💯


Add pipeline plus harmony scan

Add pipeline plus harmony scan

have you added mirrors?

Yes
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Michael Kirschner @.>
Sent: Thursday, May 16, 2024 3:41:36 PM
To: DynamoDS/DSIronPython @.>
Cc: Jörgen Dahl @.>; State change @.>
Subject: Re: [DynamoDS/DSIronPython] Add pipeline plus harmony scan (PR #7)
EXTERNAL EMAIL : Do not click any links or open any attachments unless you trust the sender and know the content is safe.
have you added mirrors?
—
Reply to this email directly, view it on GitHubhttps://github.com/DynamoDS/DSIronPython/pull/7#issuecomment-2116051719, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABVVBKX3A7EX6JBLJ2WJM4DZCUDXBAVCNFSM6AAAAABH2ZBR46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJWGA2TCNZRHE.
You are receiving this because you modified the open/close state.Message ID: @.***>


Monitor Cycling

Though this can be somewhat hacked around, it would be nice to have a relative ID option for monitor selection in the configuration identical to how workspaces function. Seems like it would make the configuration feel a little more consistent between monitors and workspaces.
This way it would be fairly trivial to configure a single keybind for cycling through monitors, or in the case of two monitors, swapping between the two.
Alternatively, if the direction for monitors cycled back around, such that going right on the right most monitor would go leftmost, it would make a similar setup also trivial. But that feels like it would break existing configurations and/or cause more unintended consequences.

done in 9a9ecc25db21c2797c691ee90624e81b3c1f897c
+1 -1 -82173 +8327634274 etc


sqlite date macro support

Adds DATE pseudo-type support for sqlite into the macros for both chrono and time.
Just adding the few lines mentioned in https://github.com/launchbadge/sqlx/issues/2026#issuecomment-1212482339.
I'm aware sqlite has no actual support for the types and simply treats them as strings, however given we already kinda support it in sqlx I figured it may as well be integrated.

@Arcayr please address CI failures.

@Arcayr it's pretty dumb: it just tries the types in order and checks https://docs.rs/sqlx/latest/sqlx/trait.Type.html#method.compatible
So if you place the new entry before another compatible type, it will take precedent.
Since SQLite doesn't have dedicated data types for dates and times, we use the string of the declared column type: https://github.com/launchbadge/sqlx/blob/253d8c9f696a3a2c7aa837b04cc93605a1376694/sqlx-sqlite/src/type_info.rs#L94

Changing the order of existing declarations is technically a breaking change but in this case it makes sense.


chore(release): 2.0.5

Hey, please do remember to make releases using yarn release, for example:
yarn release --release-as patch
The good thing is that it updates the CHANGELOG.log, that is not updated if not


Toggle to remove Sacks+Room Edge from nylo room.

A toggle to remove Spectator webs/sacks and the edge from the room, this makes the room look cleaner combined with the Hide Pillar option.
Both options could be merged into 1 or seperate, a example picture can be found Here.
Thank you!

This was provided as a feature in v1.0.4.


Allow oauth2 1.1 or 1.2

The constrained dependency on oauth2 is preventing us from bringing in newer versions (even though we're only using github_api as a development dependency, it includes github_api as part of the runtime dependency graph, so constrains our actual application).  1.1 and 1.2 appear to work just fine, according to the specs.

Coverage decreased (-0.2%) to 97.624% when pulling 9834fea8c3e310050d43f7a234e24c11b6c9db4d on jkeiser:pin-less into 6238b28661a9faa2bd11d823e4a06c4909704817 on piotrmurach:master.

Coverage decreased (-0.2%) to 97.654% when pulling 77ddc2f14fb19ca677987752afedf4044fbd929c on jkeiser:pin-less into 6238b28661a9faa2bd11d823e4a06c4909704817 on piotrmurach:master.

@piotrmurach I can't say I understand what in this could cause a coverage decrease of 0.0005%, but it sounds like noise to me ...

Quite frankly, I think in future we can drop 'oauth2' dependency all together, it was used to manually create authentication tokens which can now be done through api itself.

Released v0.14.5 with the fix.

Thanks!


feat: support postgres query hook

Fix:#48   basic support for Postgres 10+  will do the return value in another PR if could

How to know that It works with postgres binrary? Can you give some screenshots of catrure with postgres?

Done, the screenshoot in the content now.

portgres use two function to exec queries in https://github.com/postgres/postgres/blob/7b7ed046cb2ad9f6efac90380757d5977f0f563f/src/backend/tcop/postgres.c#L4539 And https://github.com/postgres/postgres/blob/7b7ed046cb2ad9f6efac90380757d5977f0f563f/src/backend/tcop/postgres.c#L4571 whit params Q and P, why is that ? and this PR can capture all query commands?

yes.

portgres use two function to exec queries in https://github.com/postgres/postgres/blob/7b7ed046cb2ad9f6efac90380757d5977f0f563f/src/backend/tcop/postgres.c#L4539 And https://github.com/postgres/postgres/blob/7b7ed046cb2ad9f6efac90380757d5977f0f563f/src/backend/tcop/postgres.c#L4571 whit params Q and P, why is that ? and this PR can capture all query commands?

yes, it capture all the query I think its the same logic as mysqld

@cfc4n Done and clean some code.

please merge all commits into one commit with command
git reset --soft HEAD~3
git commit
git push -f

Of course I did that in last PR. https://github.com/ehids/ecapture/pull/15#discussion_r837339156
And I think the the repo owner can use squash and merge which can also merge all commit into one.

LGTM, thanks.

LGTM, thanks.

Will do some test on other env and add it to README


Avoid static assignments for configurations in ClusterTest

This is related to the FindBugs exclusion for ClusterTest about making assignments to static fields

Fixed with https://github.com/lalithsuresh/rapid/commit/9c49f52a04ef6bf998eb28957fe48624e8249429.


ISPN-5033 Allow undefining configurations

https://issues.jboss.org/browse/ISPN-5033

Seems we should throw an exception if a running cache is using this configuration?  Also if we have a stopped cache for this name seems we should remove it?

Although now I see that the cache configuration stop does the removal as well.  In that case do we even have to make the undefining of cache configuration public?

@wburns I've added a check to see if a configuration is in use. I prefer to have it in as a public API for symmetry with defineConfiguration()

I've extended the javadoc. Failures are unrelated to this change.

Pulling...

Integrated into master, thanks @tristantarrant !


Added spark session , this is require to run code from VSCode

while running code from VSCode we would require spark session. This is not required if we are running from notebook

@sethiaarun : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@sreekzz
Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Fixed OpenAIWrapper incorrect import bug

Bug fixed
Incorrect import statement was present in conversible_agent.py.
It has been corrected.
Why are these changes needed ?
Full description provided in #1526
Related issue number
closes #1526  #1498
Reviewer
@ekzhu

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

Comparison is base (18a15d7) 35.11% compared to head (df612b7) 46.94%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1557       +/-   ##
===========================================
+ Coverage   35.11%   46.94%   +11.83%
===========================================
  Files          43       43
  Lines        5206     5206
  Branches     1211     1280       +69
===========================================
+ Hits         1828     2444      +616
+ Misses       3228     2553      -675
- Partials      150      209       +59

Flag
Coverage Δ

unittests
46.92% <100.00%> (+11.81%)
:arrow_up:

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

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