PANIC: internal error: entered unreachable code

Bug description
I am unable to connect to an mssql server. I've been playing around with the connection url a bit and now that I think it's correct I get this wierd bug. This happens both when code connects the db, or when I run a command like "pnpm prisma db push"
Error: Schema engine error:
Performing a TLS handshake
Trusting the server certificate without validation.
TLS handshake successful
Login failed for user 'sa'.
[libs/user-facing-errors/src/quaint.rs:125:18] internal error: entered unreachable code
How to reproduce
I've provided a script below that let's you create an mssql docker container.
Initialize a plain t3 project:

npm create t3-app@latest

And then in the prisma.schema you put the url
    url = "sqlserver://localhost:1433;database=master;user=sa;password=TestPassword123456;encrypt=true;trustServerCertificate=true;"

Then you can do anyhing that would connect to the database and it should give this error.
Expected behavior
No response
Prisma information
datasource db {
    provider = "sqlserver"
    url ="sqlserver://localhost:1433;database=master;user=sa;password=TestPassword123456;encrypt=true;trustServerCertificate=true;"
}

Environment & setup

OS:  Ubuntu
Database: MSSQL docker

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
VOLUME_PATH="${SCRIPT_DIR}/mssql_data"
CONTAINER_NAME="amigo"
IMAGE_NAME="mcr.microsoft.com/mssql/server"
SA_PASSWORD="TestPassword123456"
PORT=1433
DATABASE="master"

# Function to check if the container exists
container_exists() {
    docker ps -a --format '{{.Names}}' | grep -Eq "^${CONTAINER_NAME}\$"
}

# Function to check if the container is running
container_running() {
    docker ps --format '{{.Names}}' | grep -Eq "^${CONTAINER_NAME}\$"
}

# Create the volume directory if it doesn't exist
if [ ! -d "$VOLUME_PATH" ]; then
    echo "Creating volume directory at $VOLUME_PATH"
    mkdir -p "$VOLUME_PATH"
fi

# Adjust permissions to ensure the mssql user can write to the directory
echo "Adjusting permissions for $VOLUME_PATH"
sudo chown -R 10001:0 "$VOLUME_PATH" # 10001 is the UID for the mssql user in the container

# Check if the container exists
if container_exists; then
    echo "Container ${CONTAINER_NAME} already exists."
    if container_running; then
        echo "Container ${CONTAINER_NAME} is already running."
    else
        echo "Starting container ${CONTAINER_NAME}..."
        docker start ${CONTAINER_NAME}
    fi
else
    echo "Creating and starting container ${CONTAINER_NAME}..."
    docker run -e 'ACCEPT_EULA=Y' -e "SA_PASSWORD=${SA_PASSWORD}" -p ${PORT}:1433 --name ${CONTAINER_NAME} -v ${VOLUME_PATH}:/var/opt/mssql ${IMAGE_NAME}
fi

Node.js version: v18.19.0

Prisma Version
Environment variables loaded from .env
prisma                  : 5.14.0
@prisma/client          : 5.10.2
Computed binaryTarget   : debian-openssl-3.0.x
Operating System        : linux
Architecture            : x64
Node.js                 : v18.19.0
Query Engine (Node-API) : libquery-engine e9771e62de70f79a5e1c604a2d7c8e2a0a874b48 (at node_modules/.pnpm/@prisma+engines<EMAIL_ADDRESS>Schema Engine           : schema-engine-cli e9771e62de70f79a5e1c604a2d7c8e2a0a874b48 (at node_modules/.pnpm/@prisma+engines<EMAIL_ADDRESS>Schema Wasm             : @prisma/prisma-schema-wasm 5.14.0-25.e9771e62de70f79a5e1c604a2d7c8e2a0a874b48
Default Engines Hash    : e9771e62de70f79a5e1c604a2d7c8e2a0a874b48
Studio                  : 0.500.0

Update: My url is correct. The error message is unclear.


fix: Apply custom label colors in the Dashboard immediately

SUMMARY
This PR fixes an issue with the custom label colors not being applied on the fly.
BEFORE
Please check issue #11677
AFTER
https://user-images.githubusercontent.com/60598000/132559709-01999242-a032-4a7f-b0a8-82a032f865e5.mp4
TESTING INSTRUCTIONS

Open a Dashboard
Go to "Edit properties"
Got to "Advanced"
Change the label colors
Save and observe the behavior

ADDITIONAL INFORMATION

[x] Has associated issue: Fixes #11677
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up

@geido @villebro Unfortunately it seems that this change might contribute even more to the problems with very long explore URLs.
I tested it using Slack dashboard and Messages per Channel chart.
This is the url from my local environment:

And this is the one from testenv spinned for this PR:

Thanks for spotting this issue @villebro @kgabryje . I believe this can be handled differently to avoid the consequences with the URL length. I'll work on that and ping you again

/testenv up


gb test should only print test output if tests fail

It would be great if gb's behavior was the same as go test with the way it deals with printing output. go test only prints the output (stdout and stderr) if a test fails:
https://golang.org/src/testing/testing.go?s=12723:12764#L511
I would love it if a test would PASS silently and FAIL verbosely. For example, this passing package test adds a lot of noised to the output, especially when just one of many packages fail to build:
$ gb test app/controllers
app/controllers
time="2015-10-30T17:12:22-06:00" level=info msg="Reading Prototype from /Users/mike/dev/rnp/beepboop/app/prototypes/bender.yaml"
time="2015-10-30T17:12:22-06:00" level=info msg="Loaded Prototype bender"
time="2015-10-30T17:12:22-06:00" level=info msg="Reading Prototype from /Users/mike/dev/rnp/beepboop/app/prototypes/george.yaml"
time="2015-10-30T17:12:22-06:00" level=info msg="Loaded Prototype george"
time="2015-10-30T17:12:22-06:00" level=info msg="Reading Prototype from /Users/mike/dev/rnp/beepboop/app/prototypes/poker"
time="2015-10-30T17:12:22-06:00" level=info msg="Loaded Prototype poker"
time="2015-10-30T17:12:22-06:00" level=info msg="New Team Created: ZImcCRS2N4\n"
time="2015-10-30T17:12:22-06:00" level=info msg="New User: jV4t8GVYRf\n"
time="2015-10-30T17:12:22-06:00" level=error msg="uh oh"
time="2015-10-30T17:12:22-06:00" level=info msg="CGpwsvufnH of team tWNd7wnW7E attempted unauthorized request for team NeRrc6CiTD"
time="2015-10-30T17:12:22-06:00" level=error msg="Unauthorized to view a different team"
time="2015-10-30T17:12:22-06:00" level=info msg="2015/10/30 17:12:22 http: multiple response.WriteHeader calls"
time="2015-10-30T17:12:22-06:00" level=error msg="Team 0UzNLjxrtQ not found"
time="2015-10-30T17:12:22-06:00" level=info msg="MaGln0O0qJ of team 3m2MgPOfMo attempted unauthorized request for user Gw838rQErW of team Oh7Z6XwTB3"
time="2015-10-30T17:12:22-06:00" level=error msg="Unauthorized to view a user of a different team"
time="2015-10-30T17:12:22-06:00" level=info msg="2015/10/30 17:12:22 http: multiple response.WriteHeader calls"
time="2015-10-30T17:12:22-06:00" level=error msg="User 4knNUQr0jo not found"
PASS

I agree, and i'm working on this for the 0.3 release (soon, i hope).
The plan is exactly as you describe, if the test process passes, exits 0, then nothing will be printed. If it fails, you get stdout and stderr.

Sounds great, thanks @davecheney!

Done. See also #438

Amazing! So much better!

LOL from a coworker:

as silly as it sounds, it probably means I’ll be more inclined to write more tests

Thanks again Dave

There's a moral in this story, somewhere, I'm sure.
On Wed, 4 Nov 2015, 14:24 Mike Brevoort<EMAIL_ADDRESS>wrote:

LOL from a coworker:
as silly as it sounds, it probably means I’ll be more inclined to write
more tests
Thanks again Dave
—
Reply to this email directly or view it on GitHub
https://github.com/constabulary/gb/issues/435#issuecomment-153560307.

I agree with no test output in case of pass, but now there's no output at all on pass, so I don't know if there are even any tests written.  A simple summary of "All N tests passed" would be really helpful to indicate that there were tests and they were all run and passed.

A simple summary of "All N tests passed" would be really helpful to indicate that there were tests and they were all run and passed.

Unfortunately this information is not available, the test binary only gives a pass or a fail via exit code.
However, we do know the number of test cases written as part of building the test runner binary, perhaps I can log that information


Tests fail on Mac with default setup

Running Mac Sierra
Just installed it per instructions using g++-4.9 (Homebrew GCC 4.9.4)
made build/debug then ran
make && make test
pastebin of error log: https://pastebin.com/2Dvi0dFn
Also when compiling get a whole bunch of errors like this
/var/folders/k2/8stwhnf16hl5srvm31cdkmqw0000gn/T//cc7iHLxz.s:7278:11: note: change section name to "__data"         .section __DATA,__datacoal_nt,coalesced                  ^      ~~~~~~~~~~~~~
But google says they are harmless and unavoidable

Can you please run this from the basic_project directory, and let me know the results?
build/debug/test/test.employee < source/australian_scientists.txt > output

Nothing happens returns 134

issue resolved make sure you are using gcc version 4.9.2 (like outlike says) I was using 4.9.4
Download the correct version https://sourceforge.net/projects/hpc/files/hpc/gcc/ (just pick the one marked gcc-4.9-bin)
Then:
gunzip gcc-4.9-bin.tar.gz
then run
sudo tar xvf gcc-4.9-bin.tar -C /
you can now check its right with g++ -v


acceptedPushTransports limiting to HTTPS does not work when behind proxy.

I have gitblit configured behind a proxy server (traefik) which is providing HTTPS (so gitblit access is HTTP behind the proxy)
However when I configure this
acceptedPushTransports=SSH HTTPS
It does not allow pushes as it does not detect that we are in-fact really doing HTTPS.
Is there perhaps some header that needs to be set to make gitblit happy? (I'm using the docker container image on kubernetes)
In the end I had to change it to
acceptedPushTransports=SSH HTTPS HTTP
This was in an attempt to get LFS working correctly, as LFS wont work over SSH (and no clue how to force JUST LFS over https)
Now, further "oddities" is that now that I have it configured this way, it will periodically attempt to push to http:// (which of course is redirected to https by traefik), however now there are two entries stored in my keychain (one for http and one for https)

But, you are not using HTTPS. From Gitblit's viewpoint you are using HTTP. Because that is the connector it has open and is accepting connections from the proxy on. So I am not sure what you mean when you say that you "are in-fact really doing HTTPS".
As for the second part, that seems to be a question regarding whatever Git client you are using, and not Gitblit itself.

@flaix I can only make connections to Gitblit via my load balancer which is exposing only HTTPS.  It itself is communication (internally only) to the HTTP port on gitblit.   e.g. there should be no reason for met o setup SSL on that internal communication channel as well as that is in a secured setup (in my case it is in kubernetes).
Other applications I have used (or built) handle this by checking a X-Forwarded-Proto header to determine this. ( https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto )

Apparently I am totally missing what your actual problem is. What is the  original problem you are dealing with, that makes you feel you have to enable HTTPS?

I wanted to have my gitblit configured with just SSH & HTTPS transports ( acceptedPushTransports=SSH HTTPS
But, that doesn't work if only the load balancer is providing SSL, as GitBlit does not check X-Forwarded-Proto headers to recognize that the client is indeed utilizing HTTPS.  Gitblit assumes it is HTTP, and rejects the request.

Okay, let me ask differently, what is the problem with configuring SSH and
HTTP as accepted transports? What is the effect of that, that you want to
avoid?

It is unexpected errors when you have it configured as SSH + HTTPS and it doesn't work. (with no clear indication that is why). I spent quite a while fighting with things trying to figure out why it wasn't working.
Further, being able to properly set it as SSH+HTTPS adds extra protection against misconfigurations.
Honestly, if you could point me to where about in the code the change would need to be made to support this I can make a PR to add the handling of the X-Fowarded-Proto header.

I probably can, I will have to look into it.
I can also check my setups, because I always have it running behind a nginx reverse proxy which handles the TLS. I did not have any unexpected errors with that. Could you be more specific about what errors these are exactly.

I was getting constant authentication errors as the GIT client was being refused to push content up as gitblit thought it was using http vs https (as I had restricted my acceptable push protocols).  I had not noticed this before as I always use SSH to push content, but due to gitblit not implementing LFS over SSH I had to switch to HTTPS for one of my projects that I was switching to utilize LFS on.
I can change my configuration tomorrow and retest and dump client errors here.

Hmm, true, I have always only pushed via SSH. I am not sure that I ever
tried HTTPS. I would have to test that.

I can not reproduce this.
I have set up a new Gitblit server behind a nginx reverse proxy. The nginx proxy uses TLS towards the client. Gitblit only uses HTTP and the proxy uses HTTP towards the Gitblit instance.
server {
	listen 443 ssl default_server;
	listen [::]:443 ssl default_server;

	include snippets/snakeoil.conf;
	server_name _;

	location / {
		proxy_pass http://<IP_ADDRESS>:8080;
	}
}

git.daemonPort = 0
git.acceptedPushTransports = HTTP SSH
server.httpPort = 8080
server.httpsPort = 0
web.canonicalUrl = https://<IP_ADDRESS>/

This works for me. I can access the web interface, I can clone via HTTPS and SSH and I can push via HTTPS and SSH.
flaix@mints:~/Devel$ git -c http.sslVerify=false clone<EMAIL_ADDRESS>Cloning into 'test1'...
remote: Counting objects: 16, done
remote: Finding sources: 100% (16/16)
remote: Getting sizes: 100% (10/10)
remote: Compressing objects: 100% (278/278)
remote: Total 16 (delta 2), reused 12 (delta 1)
Unpacking objects: 100% (16/16), 1.49 KiB | 763.00 KiB/s, done.
flaix@mints:~/Devel$ cd test1
flaix@mints:~/Devel/test1$ echo "Hello" > world
flaix@mints:~/Devel/test1$ git add world
flaix@mints:~/Devel/test1$ git commit -m "Hello world"
[master 7117521] Hello world
 1 file changed, 1 insertion(+)
 create mode 100644 world
flaix@mints:~/Devel/test1$ git -c http.sslVerify=false push
Password for<EMAIL_ADDRESS>
Enumerating objects: 4, done.
Counting objects: 100% (4/4), done.
Delta compression using up to 2 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 316 bytes | 316.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: Updating references: 100% (1/1)
To https://<IP_ADDRESS>/r/test1.git
   d8d58c3..7117521  master -> master

If you are still having trouble with this, then you will need to post more precise error information. I have never used traeffic so I cannot say if that does anything special which would result in errors. But in general the setup behind a reverse proxy doing the HTTPS and connecting via HTTP to Gitblit is known to work.


Inclusion of the MSFragger search engine and open search feature

Description of feature
I'm aiming to integrate the MSFragger search engine into the QuantMS workflow. It should be included as an option for the closed search, alongside a completely new open modification search feature. The roadmap and workarounds (licencing of MSFragger) suggested by @ypriverol for the inclusion are as follows:

Require msfragger to be added to the bin folder of the pipeline with no container in the middle.
Execute msfragger search always from the bin like a normal java tool. No container needed
For CI/CD put the msfragger version into a private place (github repo) or other authenticated system, add the keys to the secrets in quantms repo, and pull the msfragger before testing
Put all the other tools needed that are free into conda packages.
Implement the msfragger steps as a new search engine (for closed search)
Implement a pipeline (with no comet or msgf+) for open search based on msfragger
Testing both pipelines and integration into quantms with some data
Run in the existing datasets and see how it goes in both pipelines (multi-closed-search) and (open search) to detect new modifications

@tillenglert  If there are licensing issues at play, you could also consider using Sage  instead of MSFragger.
Sage is an open source & MIT-licensed search engine that uses MSFragger's ion indexing approach, runs up to 5x faster on open (and narrow) searches, and supports RT prediction, integrated linear discriminant analysis, PEP calculation, and TMT quantification.

@lazear can you give me a contact to call you and talk. We are really interested in integrating Sage in quantms.

@ypriverol you can reach me at michael<EMAIL_ADDRESS>(no space)!

https://github.com/bigbio/quantms/pull/236


Create shortening http service a la bitly

Check and do something similar: https://github.com/unbalancedparentheses/tinyerl/blob/master/cowboy/src/tinyerl_handler.erl

Too complex for a skeleton

This should go in an example repo, not a skeleton.


added is-initialized on init, and checking if component already  initialized

closam ovaj branch jer je pre outdated, tomo je prepiso dio


Integration test

Work in progress

Currently inefficient as node image is built from source every time.  I will create an image and publish to docker hub.  See: https://github.com/reef-defi/reef-chain/issues/58

Node image now available on docker-hub at taulepton/reef:v8.  This has reduced "build" time from 47m to 10m.  Total time reduced from 1h to 22m.


Updates segments version

[ ] Updated Unreleased in CHANGELOG.md to reflect the changes in code or data.

I should have asked this before but keeping ˦ˀ˥  grouped together was our intention right?
Closes #280

LGTM, just update the CHANGELIST.

LGTM, just update the CHANGELIST.


host_funcs: add additional host functions up to H13

This PR adds additional host functions up to H13 to deal with some of the wit-bindgen-go generated interfaces.

Going big, huh? :D

Heh. Well, get ready for my next PR then :P


Parametrised queries

Queries should be parameterised.
Since we use a relatively grown up approach to parsing, a robust solution will not be too hard:

Add a placeholder ('?') to the grammar. Should also look into making sure we can substitue lists etc into places in the grammar.
The AST type for literals (and some others) will be modified so it could be a placeholder. These placeholders will also contain source code line and character position, so they can be ordered.
At query compile time, swap the placeholders for given parameters.
Ensure we emit compile errors if there is a problem filling in all placeholders.

Not supporting slices into placeholders at 0.19.0

Should require values to be of the correct type for the placeholder.


Allow php 7.3

Allow php 7.3

Coverage increased (+0.02%) to 90.712% when pulling c3edbde02fd997ce4d2b6b349e242f156b2c377a on 1.3 into f50fe76387bb623497f066c86f58fa70bfa613ef on master.


[FEATURE] Run multiple simulations

Currently the game only supports running a single match, which doesn't do a good job of supporting algorithms that learn based on past performance.
We should add a way to run multiple simulations much more quickly, so that complex algorithms can really shine.

Closed by #25


Fix in all files

Hi @tenhobi,
I got an warning 'add curly braces to all if and else statements' in intellij on a line. When i press quick fix it, it fixed it for that particular line. Its very difficult to add curly braces to every if else in my flutter application.
Is there a way to fix all files instead of fixing that current line in one go?
I remember in eslint it gave an option to fix for all files.

Hi @apgapg ✋, thanks for opening an issue!
Note that applying all suggestions for a whole project could be dangerous.
But in IntelliJ there might be a fix-all option, not sure if that will be applied for this lint tho.

Note: I tried to do this, but it is not unfortunately possible. :/

It might be easier to open Analyser warnings in Tool Windows Bars (tab on the bottom of the tab, or if hidden, it appears after pressing ALT). At least something...


Bug: Attempt to break the assembly station in survival mode breaks only one block.

Only Forgero installed. Version 0.10.2. minecraft 1.19.2.
Attempt to break the assembly station in survival mode breaks only one block.
Breaking the left side first causes the right side to become invisible, retaining it's collision box.
Breaking the right side first makes it lose it's collision box, yet the model is still visible.
The remaining side can be broken with no issues.

Multi block structures is a mess, very likely that I have messed up the rotation of the block connection when destroying one part of the table. I will try to replicate it and see which direction causes incorrect breaking behaviour.


feat: check missing translations command

This PR introduces a new command to check if some lang is missing translation keys.
Command Signature

Example usage (scanning published filament translations)
php artisan filament:check-translations pt_BR
Example usage (scanning filament translations from vendor folder)
php artisan filament:check-translations pt_BR --dir=vendor
Example usage (comparing against other base language)
php artisan filament:check-translations pt_BR --baseLang=es
Command output example

Note to maintainers:
This PR does not work for scanning the package translations without the Laravel core embracing it. But it should help developers to spot missing and deprecated translations inside their laravel app. We can use this to scan inside the vendor folder (using --dir=vendor), but a Laravel installation is required for this to work.
I've used Termwind for the styling, but we can default to the console methods if requested. Let me know!

Can we reduce the output to one line per package?
How does the script recognize "outdated" translations?

@pxlrbt

Can we reduce the output to one line per package?

yes

How does the script recognize "outdated" translations?

wdym by "outdated"? Translations that got updated, for example Save > Save Record, or translations thats not being used anymore? (i've called deprecated translations in that case)

wdym by "outdated"?

Yeah, I meant "deprecated". Sorry. Maybe we can rename that to "removed" to make it clearer? I thought that tells me which keys were updated since last time.

Hey! Sorry for the delay, did some refactoring and styling on this.
I think it came out cleanly than my first implementation.
I think its ready for review.

I've changed the formatting as it overflowed a lot when there were lots of keys on 1 line

Also I've swapped the dir argument for source, and the default is vendor to encourage people to PR their translations.

Great work, guys! Really like how this turned out. 🔥

Thanks Dan! Looks good!


Journey details toggles

When any of the six toggle fields under the journey details are selected adding a drop down field for selecting the closest city, province/state and the same drop down list is required for all the toggle fields

From Inspect


[feature request] Auto resize

Hi,
It would be awesome if the editor supported an option to autoresize itself when the contents are longer than the current height.
Looks like @simple10 implemented a solution:
https://github.com/simple10/bootstrap-wysihtml5-sass/commit/eb5ab6f0722349c6962be9ff823ff4e2f2cbc843
Perhaps this could be ported over this project?

I need this ... kind of pointless having a editor with a limited height???


add select all options

is there a way to add select all option instead of selecting option by option

+1

Pull requests welcome.


Custom struct fails to decode in chain-extension

Is there an existing issue?

[X] I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

[X] This is not a support question.

Description of bug
When writing a chain extension, using read_as with a custom struct produces an error
Example chain extension
log::debug!("len is: {:?}", SomeStruct::max_encoded_len());
log::debug!("env len is: {:?}", env.in_len());
let x: SomeStruct = env.read_as()?;

Output
12:06:49 [DEBUG] chain_extension: len is: 27
12:06:49 [DEBUG] chain_extension: env len is: 3
12:06:49 [DEBUG] chain_extension::tests: bare_call output: ContractResult { gas_consumed:<PHONE_NUMBER>, gas_required:<PHONE_NUMBER>, storage_deposit: StorageDeposit::Charge(0), debug_message: [], result: Err(Module(ModuleError { index: 2, error: 10, message: Some("DecodingFailed") })) }

This code works
let x: SomeStruct = env.read_as_unbounded(env.in_len())?;

The read_as() works for basic types but when a complex struct is used, it fails to decode.
Steps to reproduce
No response

CC @athei

Probably the MaxEncodeLen impls mismatch. Please provide a minimal reproducer. I would need to see the struct definition and all impls for your chain extension and in your contract.

#[derive(Clone, Encode, Decode, MaxEncodedLen, Debug, Eq, PartialEq)]
pub struct SomeStruct<AccountId, Balance> {
	account_id : AccountId,
	balance : Balance,
	xfactor : Option<bool>
}

#[derive(Clone, Encode, Decode, MaxEncodedLen, Debug, Eq, PartialEq)]
pub enum SomeEnum<AccountId, Balance> {
	StructA {
		account_id : AccountId,
		opt_balance : Option<Balance>
	},
	StructB {
		account_id : AccountId,
		opt_balance : Option<Balance>,
		xfactor : Option<bool>
	},
}

#[derive(num_enum::TryFromPrimitive)]
#[repr(u32)]
pub enum FunctionId {
	XID = 1,
	YID = 2,
}

pub struct ChainExtensionImpl<T>(PhantomData<T>);

impl<T: pallet_contracts::Config> ChainExtension<T>
	for ChainExtensionImpl<T>
{
	fn call<E: Ext>(func_id: u32, env: Environment<E, InitState>) -> Result<RetVal, DispatchError>
	where
		E: Ext<T = T>,
		<E::T as SysConfig>::AccountId: UncheckedFrom<<E::T as SysConfig>::Hash> + AsRef<[u8]>,
	{
		use frame_support::log;
		use FunctionId::*;

		let function_id = FunctionId::try_from(func_id)
			.map_err(|_| DispatchError::Other("Unimplemented func_id"))?;

		log::debug!("executing chain extension for function id: {}", func_id);
		let mut env = env.buf_in_buf_out();
		let caller = env.ext().caller().clone();

		match function_id {
			XID => {
				log::debug!("len is: {:?}", SomeStruct::<T::AccountId, u128>::max_encoded_len());
				log::debug!("env len is: {:?}", env.in_len());
				let x: SomeStruct<T::AccountId, u128> = env.read_as()?;
			},
			YID => {
				log::debug!("len is: {:?}", SomeEnum::<T::AccountId, u128>::max_encoded_len());
				log::debug!("env len is: {:?}", env.in_len());
				let y: SomeEnum<T::AccountId, u128> = env.read_as()?;
			},
		}

		Ok(RetVal::Converging(0))
	}

	// always enabled
	fn enabled() -> bool { true }
}

I meant like two repositories we can actually compile. It will be some mismatch between types. You are not doing anything wrong from this example. It will be some mismatch in types between what you posted here and whatever you use in your contracts. Could even be some custom AccountId.


Add support for logical operators.

This change is

crates/cairo-lang-lowering/src/lower/mod.rs line 455 at r1 (raw file):
Previously, orizi wrote…
Isn't it kinda wierd that binary op is only && and ||?

I can rename it, but I think (and shachar agreed) that long term we want to use it for all binary ops.
In the current implementation, the semantic module does not know if the original code had a binary op or a function call.

crates/cairo-lang-lowering/src/lower/mod.rs line 455 at r1 (raw file):
Previously, ilyalesokhin-starkware wrote…
I can rename it, but I think (and shachar agreed) that long term we want to use it for all binary ops.
In the current implementation, the semantic module does not know if the original code had a binary op or a function call.

Though I'm not sure how it will work with the inference in the semantic.

crates/cairo-lang-semantic/src/expr/compute.rs line 379 at r1 (raw file):
Previously, orizi wrote…
If we always expect bool, conform_ty instead (look at if lowering)

Done, thanks.
Not sure how to test it though.

crates/cairo-lang-lowering/src/test_data/lazy_bool_expr line 24 at r3 (raw file):
Previously, orizi wrote…
why?

sorry this file is not relevent.

crates/cairo-lang-semantic/src/expr/test_data/logical_operator line 56 at r5 (raw file):

 --> lib.cairo:2:5
    a && b || c
    ^

Is this supposed to work?
Code quote:
error: Expected type "core::bool", found: "S".
 --> lib.cairo:2:5
    a && b || c
    ^


Questing areas and talking

So, if a quest has an area where the bot is supposed to go and talk to someone, it will go the area and try to find the person. If the person is out of the specified area it, then it will go and talk to the npc but then realize it's not in the area anymore and try to go to the area specified, therefore getting stuck in a look of going back and forth, should be a simple check if the bot is already talking to the npc.

Fixed in d79cfd5306ada1b301fde81ab4581baf60f97f13


[ENG-5772] Phase 4: Project metrics not working

Purpose
Fix project metrics not working
Changes
Passed PageViewInfo object when creating CountedAuthUsage record instead of dict with attributes
QA Notes
Please make verification statements inspired by your code and what your code touches.

Verify
Verify

What are the areas of risk?
Any concerns/considerations/questions that development raised?
Documentation

Side Effects

Ticket
ENG-5772

Looks good!


Port Graph Data Generator from legacy

https://github.com/SparkTC/spark-bench/blob/legacy/common/DataGen/src/main/scala/GraphDataGen.scala

This particular data generator port is high priority since it is a dependency for so many workloads.


Test

I have added a paragraph under the body tag...

Going to close this PR. This doesn't seem to be doing anything.


0.0.6 - update to OpenAI API v1.2+, enable gpt-4-turbo, vision, DALL-E-3

Code linters/formatters

[x] PyCharm inspection passed on changed files (or any local IDE)
[x] pylint inspection executed and passed on changed files
[x] mypy inspection executed and passed on changed files
[x] Black code formatter executed and passed on changed files

Documentation

[ ] Documentation / README.md has been updated

Other code changes

[ ] The soul is pure

Release as is 0.0.6, then add more methods and docs


LIBRATO_AUTORUN=1 rails console does not work with Rails Spring

As the title suggests, using suggested LIBRATO_AUTORUN=1 rails console command does not work if you're using spring. However if I do DISABLE_SPRING=1 LIBRATO_AUTORUN=1 rails console it does.
Not a big problem but thought i'll leave this here for the next guy who's wondering why console is not working with librato when you've done the RTFM!

Ah, good to know. Thanks for the heads-up, I'll amend the README. Makes sense as spring just forks instead of starting a new process.


update readme and dependencies

Fixes #

Proposed Changes

...
...
...

Readiness Checklist
Author/Contributor

[ ] If documentation is needed for this change, has that been included in this pull request
[ ] Remember to check if code coverage decrease, if so, please implement the necessary tests

Reviewing Maintainer

[ ] Label as breaking if this is a large fundamental change
[ ] Label as either automation, bug, documentation, enhancement, infrastructure, or performance

Codecov Report

Merging #5 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #5   +/-   ##
=======================================
  Coverage   64.70%   64.70%
=======================================
  Files           4        4
  Lines          34       34
=======================================
  Hits           22       22
  Misses         12       12

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 5fc4095...5e52cfe. Read the comment docs.


Add color to CLI output!

Description

We can color important text.
It’d help us to notice issues, such as the number of valid signatures.

Outdated as TUF-on-CI handles output now.


Test overridden Object.GetHashCode method

What are the test cases for this method?

This stack overflow question has some direction on how to test this method without getting drug into also testing System.HashCode.Combine


bump react

What's the reason for this? It works with both React 0.12 and 0.13 so I don't see the need?

I guess it's useless then? Trying to keep a few components up to date and move them off of hyperscript


modules: optionSet -> submodule

Motivation for this change
optionSet is deprecated and dynamically changed to submodule during module evaluation.
This PR refactor most of NixOS modules that were using optionSet to submodule.
Two modules are not part of this PR due to their non-trivial use of optionSet:
- nixos/modules/system/boot/systemd.nix
- nixos/modules/system/boot/networkd.nix
Things done

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

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

There is a problem with the network interfaces module, please do not merge for the moment.
I will update the PR when fixed.

update:

Fixed the problem with network-interfaces
added networkd
added systemd
enabled deprecation message

I tested this PR with some test configurations and nixos-rebuild build-vm, and there was no problem.

I consider this PR ready to merge, but I might be missing something.
Please let me know if there are any blockers or things that should be done in case it is not.

Thanks for merging!

This breaks evaluation of my network configuration, specifically 78858f2f8d8ba3ae792f8be929a7ff3d5783d048 is the bad commit.
The error thrown is
The option `systemd.network.networks.ethernet-static.address' defined in `<unknown-file>' does not exist.

Here is a sanitized version of the relevant portion of my config:
systemd.network = {
  enable = true;
  networks = {
    ethernet-static = {
      matchConfig.Name = "e*";
      gateway = [ /* redacted */ ];
      address = [/* redacted */ ];
      dns = [ /* redacted */ ];
    };
  };
};

I have no idea how optionSet/submodule works, so I don't know how to debug this.

@aneeshusa Sorry for the trouble.
#19182 should fix the problem, could you test it and report if it fix the issue?
Thank you.


Rollup-aware partitioning by default for Maps, and a Partitioner interface for other types.

The default partitioning only works properly for Maps because other types are actually opaque
to tranquility (it doesn't know how the ObjectWriter is going to serialize them). But, you can
provide your own Partitioner (or an entire beamMergeFn, which you could already do).
Fixes #6.

:+1:

We should have a discussion about the voting requirements for Tranquility as it does not technically fall under Druid.


Error description:AADSTS65001: The user or administrator has not consented to use the application with ID '4d47e75e-a79e-46ee-97d4-a540ca28f2fb'. Send an interactive authorization request for this user and resource.

I have an onbehalfof web api working very well, trying to call that API from my angular client, did every configuration, and added permission to the Web API also. The angular client can also get access to MS Graph, but not able to call my local host onbehalfof API. If anyone can help that would be appreciate!

Same with me

Thanks for your feedback @zmyvszk and @pradeemi
In ADAL JS 1.0.15, we've just added 2 new APIS, acquireTokenRedirect and acquireTokenPopup allowing you to acquire token interactively with the help of a UI. In previous versions of Adal.js, we only supported acquireToken api which used a hidden iframe to acquire a token for a resource. But the AcquireToken API would fail silently if the cookies are not sent with the request or the session is expired with AAD or acquiring the token required additional interaction (like in the case you mention).
You can now call acquireTokenRedirect/acquireTokenPopup on this failure which would show a UI where users can enter their credentials, or provide more consent, and renew their session with AAD to get an access token.
https://github.com/Azure-Samples/active-directory-angularjs-singlepageapp/pulls updates the sample with ADAL.Js 1.0.15.
closing this issue. Feel free to re-open if this still reproes for you

@jmprieur I get the same problem but my users are already logged in and I have hit the 'Grant Permissions' button in the Azure portal. Here is what I'm seeing:

User visits site for first time.
Redirect to Azure to login.
Azure redirects back to site, user is now logged in.
Site makes a GET request using aquireToken. This works for Azure admin users but all others were erroring (AADSTS65001) complaining about a consent screen, so I call acquireTokenRedirect but now the user is redirected back to a login screen and additional consent screen.
Redirect back to site and site can now perform GET requests.

Is there a way I can perform a single login and have all the permissions I need to perform GET requests?

what probably happens is while accessing the resource, this resource discovers that the user needs to provide more consent, or needs to do conditional access, and therefore it sends a interaction_required error.

the conditional access interaction is explained in this documentation: https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-conditional-access-developer
also illustrated by this sample:
https://github.com/Azure-Samples/active-directory-dotnet-webapi-onbehalfof-ca

There is a case when your Web App and Web Api App are in different AAD tenant, then you must re-consent.
That's a special/headache case for multi-tenant app...


NO image of user or avatar

Describe the bug
It doesn't show the image of user or avatar.
Expected behavior
A clear and concise description of what you expected to happen.
There is no image or avatar for user on the left side of username and it is empty.
Screenshots

Desktop (please complete the following information):

OS: ubuntu
Browser : Brave
Version : 1.59.120

@lokendarjangid  we do not collect any user information, and therefore, this feature is not supported.


Move to dataflow

Yay, the dataflow run just finished!

Ill remove the pruned command and then merge.

I was able to ingest the mli (shortened to 3 years) successfully. I will merge this and start a new PR to keep things cleaner.


Fixed typo and added port number

Lost couple minutes figuring out on which port is app running on vm-s. So I think it would be nice to add port number in description or change picture a little.

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit b89bf3de9f7e0ec55e9467477358c4ed253b2790
https://deploy-preview-8850--docsdocker.netlify.com

LGTM thanks for the help!


fix(addon-editor): fix of displaying opacity count below 58%

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows Conventional Commits
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Refactoring
[ ] Code style update
[ ] Build or CI related changes
[ ] Documentation content changes

What is the current behavior?
Opacity count input doesnt work correctly with opacity below 58%
Closes #
What is the new behavior?
Opacity count input work correctly
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Codecov Report

Merging #1312 (b18cff1) into main (df02a66) will increase coverage by 3.40%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1312      +/-   ##
==========================================
+ Coverage   64.80%   68.21%   +3.40%
==========================================
  Files         745      597     -148
  Lines        8630     7047    -1583
  Branches     1733     1458     -275
==========================================
- Hits         5593     4807     -786
+ Misses       2619     1870     -749
+ Partials      418      370      -48

Flag
Coverage Δ

addon-charts
?

addon-doc
?

addon-editor
?

addon-mobile
?

addon-table
81.39% <ø> (ø)

addon-tablebars
?

cdk
82.33% <ø> (ø)

core
68.93% <ø> (ø)

kit
63.95% <ø> (ø)

summary
68.21% <ø> (+3.40%)
:arrow_up:

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

Impacted Files
Coverage Δ

.../color-selector/color-edit/color-edit.component.ts

...addon-commerce/constants/default-card-validator.ts

...ts/addon-doc/src/components/main/main.component.ts

projects/addon-commerce/utils/format-currency.ts

...ts/addon-commerce/components/money/money.module.ts

projects/addon-commerce/pipes/currency.pipe.ts

...-selector/linear-picker/linear-picker.component.ts

projects/addon-doc/src/tokens/i18n.ts

...mmerce/components/input-CVC/input-CVC.component.ts

projects/addon-doc/src/utils/raw-load.ts

... and 138 more

Continue to review full report at Codecov.

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


Installation on ARM Jessie

I tried to install the application in a fresh install of Jessie on Raspberry Pi.
><EMAIL_ADDRESS>install /home/pi/workspace/zazu/node_modules/robotjs
> prebuild --install

prebuild WARN install No prebuilt binaries found (target=v7.4.0 arch=arm platform=linux)

But it works if the requirements of RobotJS are installed: https://github.com/octalmage/robotjs#building
I don't know if you can do something about that.

If you just run npm install robotjs does it work?

No

I believe travis runs the builds on a debian based CI server. There are some dependencies it should install, but maybe a few need to be manually installed?
There is a ticket on robotjs covering these dependencies.
https://github.com/octalmage/robotjs/issues/17


updated pie chart reflect data within.

nikko please check

What if instead of creating a new g object each transaction. lets just total all expense and income then create a g object to them.

Issue: #10

Checking

I think the pie chart still doesnt work


drop 3.8, add 3.11 in template pyproject

Description
What is this PR

[x] Bug fix
[ ] Addition of a new feature
[ ] Other

Why is this PR needed?
#88 only moved to NEP 29 for this repo, and was missing updates to template itself.
What does this PR do?
References
Closes #38
How has this PR been tested?
Luckily, we already had a good test, so

when I updated the template pyproject but not the test, the CI failed as expected

E       AssertionError: assert '>=3.9.0' == '>=3.8.0'
E         - >=3.8.0
E         ?     ^
E         + >=3.9.0
E         ?     ^

when I also updated the test in line with NEP 3.9, the CI passed again

Is this a breaking change?
NA
Does this PR require an update to the documentation?
No
Checklist:

[NA] The code has been tested locally
[x] Tests have been added to cover all new functionality
[NA] The documentation has been updated to reflect any changes
[x] The code has been formatted with pre-commit

Good catch - I'll remove cibuildwheel now, but in a separate PR.


Inference Parallelism Issue

I'm serving a qwen1.5AWQ model using AutoAWQCausalLM.from_quantized(). The performance is great when there is one client. However, when more than one clients are querying, their generated streams seem to be mixed up and quickly collapse into jibberish of the same content.
This doesnt happen using transformers' AutoModelForCausalLM with quantized and non-quantized model.
How can I resolve this?

Hi @Zephyr69, I am happy to investigate this issue. Do you have an example of how to trigger the jibberish?
Otherwise, I would advise you to use vLLM to serve your model as it features a production level inference service. It also supports AWQ models.


Need to set typeface in days name and number

Sir Please help me to set typeface in days name and number shown in calendar view.
Thank you

Hi, you need to set the typeface on the underlying paint object using the setTypeface method. For example, just before this line might be a good place: https://github.com/SundeepK/CompactCalendarView/blob/master/library/src/main/java/com/github/sundeepk/compactcalendarview/CompactCalendarController.java#L185
I think this would be a good enhancement to the library, so I'll mark this as an enhancement ro mbe done sometime in the future.

@SundeepK Sorry for my IntelliJ's auto formatting of the file :)


Event that fires when an item is selected

Is there a way to know which items are selected without a drag?

We trigger ui-sortable-selectionschanged on the ui-sortable element. I hope that it's exaclty what you are looking for. Feel free to re-open in any case.

Yeah but how do we use it?
I checked the docs for ui-sortable, and didn't see any even matching that name.

Changed the simple example found in README to demonstrate how the event can be used. Hope it helps.

Thank you! I didn't realize you could listen to events on the element like that :)


NPOI 2.6.0 breaking change?

IWorkBook.Write now takes two arguments where it previously only took one (i.e. a stream). I can't say I found this change documented in the release notes and I believe it should have been mentioned as it is a breaking change. Also, it would have been useful if the write method had a default value for leaveOpen so that existing applications continued to work after upgrading from e.g. 2.5.6 to 2.6.0

Sorry, Look I missed it in the released notes. I've updated #742.
I wrote a new post on medium.com to explain what's new in 2.6.0. I include this breaking change in the post.

No worries. The only thing I don't understand is why you choose to omit a default value, e.g. instead of .Write(Stream stream, bool leavOpen) on could have had .Write(Stream stream, bool leaveOpen = true | false) depending on what used to be the default behaviour.

Agreed - please use default values rather than breaking interface contracts.


Use CARGO_CFG_TARGET_OS instead of target_os cfg var

target_os reports the target used to build the build.rs script, while it is needed to check which is the target used to build the crate itself.
Partially unbreaks cross-building, it covers only macos to linux.

Thanks for the fix!


Update groupid

info.jab.ms
info.jab

Change motivated for the process to publish to maven central


PowerShell 7 distributed via dotnet tool broken by upgrade to .NET 8

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
With today's release of .NET 8, I updated Visual Studio 2022 to install .NET 8 and removed the .NET 7 runtime. After the suggested reboot, PowerShell 7 was broken, and reinstalling it didn't help:

Uninstalling the dotnet tool distributed version and using the WinGet distributed version was an effective workaround.
Expected behavior
PowerShell works.

Actual behavior
PowerShell crashes on launch.

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.3.9
PSEdition                      Core
GitCommitId                    7.3.9
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Did you remove .NET 7 yourself rather than it happening automatically?
If so then the title should be changed to PowerShell tool installed that uses .NET 7 breaks when you uninstall .NET 7.
I have also updated Visual Studio and have
.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.25 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.14 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 8.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.25 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.14 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 8.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 6.0.25 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 7.0.14 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 8.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

So I don't think the default update removes .NET 7

Did you remove .NET 7 yourself rather than it happening automatically?

Yes. I said I did:

I updated Visual Studio 2022 to install .NET 8 and removed the .NET 7 runtime.

Perhaps you misread what I wrote.

the title should be changed to PowerShell tool installed that uses .NET 7 breaks when you uninstall .NET 7.

If you wish. I don't think that makes a difference as to the fact that the tool is now broken. I presume with a clean version of Windows and nothing installed but .NET 8, it would still be broken, but that's a scenario for the PowerShell team could validate while investigating the bug.

So I don't think the default update removes .NET 7

I didn't claim it did, and I'm unclear why you felt it was necessary to take such a passive/aggressive position here.

I was trying to establish what the root cause was, it wasn't the upgrade to .NET 8, it was the uninstalling of .NET 7 that caused the problem.
Each version of PowerShell uses a specific version of .NET, the 7.2.x use .NET 6, the 7.3.x use .NET 7 and the 7.4.x use .NET 8
So to have a version of the PowerShell dotnet tool that works with .NET 8 you would need a 7.4.x series one, which are currently still preview.
The dotnet installation directory tree is designed to support multiple different runtimes, so there should be no need to uninstall .NET 7.

The problem isn't that it requires .NET 7, it's that installation via dotnet tool when .NET 7 isn't installed isn't blocked and/or indicates the .NET 7 requirement.

@bradwilson   you can try pwsh --roll-forward LatestMajor     see msdoc here https://learn.microsoft.com/en-us/dotnet/core/versions/selection#control-roll-forward-behavior

I would certainly agree that dependency management isn't robust, the installation of an SDK is unaware of dependent tools,
https://learn.microsoft.com/en-us/dotnet/core/tools/troubleshoot-usage-issues
This has a few relevant paragraphs which apply
Roll forward doesn't occur between preview versions of the runtime or between preview versions and release versions. So, .NET tools created using preview versions must be rebuilt and republished by the author and reinstalled.

and
If an application can't find an appropriate runtime, it fails to run and reports an error.

So this looks like an inherent problem with dotnet tools

I did some testing on an ARM64 Debian environment in a docker and was able to use the PowerShell 7.3.9 tool with only the 8.0 SDK installed.
Show installed runtimes
root@bullseye:~# dotnet --list-runtimes
Microsoft.AspNetCore.App 8.0.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Show installed tool
root@bullseye:~# which pwsh
/root/.dotnet/tools/push

Check installed tool
root@bullseye:~# file /root/.dotnet/tools/pwsh
/root/.dotnet/tools/pwsh: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=6a0e2396473bac0483f73198673d81ab7e1b2dcb, stripped

root@bullseye:~# ldd /root/.dotnet/tools/pwsh
	linux-vdso.so.1 (0x0000ffffb6b3f000)
	libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000ffffb6a9c000)
	libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000ffffb6a88000)
	libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000ffffb68b0000)
	libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000ffffb6805000)
	libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000ffffb67e1000)
	libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffffb666d000)
	/lib/ld-linux-aarch64.so.1 (0x0000ffffb6b0f000)

Run installed tool
root@bullseye:~# pwsh --version
PowerShell 7.3.9

root@bullseye:~# pwsh
PowerShell 7.3.9
PS /root> exit

I must admit I am not a fan of dotnet tools, especially global ones on Linux, because they are not global, they are private to the root user. The MSI or Linux package at least have all the dependencies either referenced or contained and can be managed with the standard operating system tools.

I must admit I am not a fan of dotnet tools, especially global ones on Linux, because they are not global, they are private to the root user.

That's because you're using the root user. It's private to the account you're using (and I'd strongly disrecommend using the root user as your interactive account).
"Global" means "not tied to a specific project", not "global to the machine". That's also true on Windows, as installing a global tool places it into your user folder. Here is an example that illustrates that (and also shows how a tool that needs a specific runtime should properly surface that requirement, rather than just outright crashing):
 pwsh$ dotnet outdated
You must install or update .NET to run this application.

App: C:\Users\bradwilson\.dotnet\tools\dotnet-outdated.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '7.0.0' (x64)
.NET location: C:\Program Files\dotnet\

The following frameworks were found:
  2.0.9 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  3.1.32 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  5.0.17 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  6.0.25 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  8.0.0 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

Note where the executable is located.

Thank you @bradwilson for reporting this! There is another workaround for it. In the pwsh.runtime.config file under $pshome, change the value of rollForwardOnNoCandidateFx from 2 to 1.

I tried to replicate the full sequence on debian bookworm on amd64.
I used https://packages.microsoft.com/debian/12/prod/pool/main/p/packages-microsoft-prod/packages-microsoft-prod_1.1-debian12_all.deb to provide the versions of dotnet.
Installing powershell tool with both SDKs 6.0 and 7.0 installed worked.
$ sudo apt-get update
...
$ sudo apt-get install dotnet-sdk-6.0 dotnet-sdk-7.0
...
$ dotnet tool install --global powershell
...
$ PATH=$PATH:$HOME/.dotnet/tools
$ pwsh
PowerShell 7.3.9
PS /home/bythesea> exit

Removing SDK 7.0 gave the expected error regarding missing 7.0 runtime
$ sudo apt remove dotnet-runtime-deps-7.0 dotnet-hostfxr-7.0 dotnet-targeting-pack-7.0  dotnet-apphost-pack-7.0
...
$ pwsh
You must install or update .NET to run this application.

App: /home/bythesea/.dotnet/tools/pwsh
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '7.0.0' (x64)
.NET location: /usr/share/dotnet

The following frameworks were found:
  6.0.25 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=7.0.0&arch=x64&rid=debian.12-x64

Installing SDK 8.0 then fixed the issue
$ sudo apt-get install dotnet-sdk-8.0
...
$ pwsh
PowerShell 7.3.9
PS /home/bythesea> exit

Looking back at the original error message it suggests that it finds and uses the 8.0 runtime but fails to find a suitable Microsoft.Management.Infrastructure assembly.

This looks related, it also fails on the Microsoft.Management.Infrastructure assembly, and suggests that a 7.4 powershell tool would fix the issue.
https://github.com/PowerShell/PowerShell/issues/20559

7.4.0 is now available as the dotnet tool
$ dotnet tool install --global powershell
Skipping NuGet package signature verification.
You can invoke the tool using the following command: pwsh
Tool 'powershell' (version '7.4.0') was successfully installed.
$ $HOME/.dotnet/tools/pwsh
PowerShell 7.4.0
PS /home/bythesea>

Thank you @bradwilson for reporting this! There is another workaround for it. In the pwsh.runtime.config file under $pshome, change the value of rollForwardOnNoCandidateFx from 2 to 1.

I believe changing rollForwardOnNoCandidateFx from 2 to 1 won't make the PowerShell global tool 7.3.9 run without .NET 7 installed, but will fail with a different error about not finding the compatible .NET runtime. But I guess that's a much clearer message to show why it doesn't work.


HELP Select by cell and not row

Hello Tabalinas !
First of all, thanks a lot for the JsGrid tool, really simple to use and powerful ! I'm not sure if what I need to do is actuallys upported by jsGrid, that's why I create the subject.
What I want to do is the same as this subject https://github.com/tabalinas/jsgrid/issues/458 except i need to make each field editable or not depending on separate values.
Example :
.......... | value | percentage | value_editable | percentage editable |
line 1 | _ 2 _ | __ 5 _________ | ___ true_________| false ___________________ |
line 3 |__ 8 _ | __ 8 _________ | ___ false________| true ____________________ |
Here, I need to make value editable and percentage read only for line 1, and value read only and percentage editable for line 2. Would that be possible ? And how ?
Thanks a lot,
Tilia

right, jsgrid supports editing for entire row. The possible workaround is changing the item on row click, so that you could show editing control only for the clicked.


PyMAPDL Reader Independence

Summary
Currently there is duplication regarding the post-processing of MAPDL results. There are three libraries which can do this job:

PyMAPDL Reader (legacy)
PyMAPDL
DPF-Post

Intended Outcome
Effort should be merged toward only one single library for post-processing. The current general agreement is to go with DPF.
Any post-processing reference and function inside pymapdl should point to DPF equivalent.
How will it work?
Retro-compatibility should be ensured. This process should be transparent to the user.
Use DPF to implement post_processing module. It requires to change 3-4 functions which are doing most of the heavy work.
Stages/steps

[ ] Prepare example with DPF for me to get familiar with the library. https://github.com/pyansys/pymapdl/pull/1279
[ ] Use  DPF for the mesh module in PyMAPDL. Tracked in #1299
So far, we are pending on the VTK parser. That is key as mentioned in https://github.com/pyansys/pydpf-core/issues/331
[ ]  Post-processing - It does not need to be migrated to DPF because it only uses the reader for the mesh, which should be fixed in the previous bullet point.
[ ] Result. This is going to be tricky. Tracked in: #1300

Notes
This issue replace https://github.com/pyansys/pymapdl_roadmap/issues/2

Imho that would be a huge improvement. I'm not sure how much is covered via #1299, but one major issue forcing me again and again to go back to PyMAPDL Reader or PyMAPDL is the difference in plotting capabilities. I'm not sure if this is still correct, but e.g. animations are only possible (with lots of limitations) using animate_nodal_displacement. The capabilities of formating plots in general is most limited using DPF.


Add a better "working on it" animation to the ledger CSV extract

The Chore
The CSV can take quite a long time.
We want to add better processing animation to it so that users know it can take some time and that their app is not broken.
Tasks

[ ] Show a message saying that this can take several minutes

[ ] After 1 minute, update the message to say 'Still in progress'

[ ] Show a toast when the download is complete
[ ] Detach download from the view
[ ] Show that there is a download already in progress if the user returns to the download view

[ ] The download button should still be disabled

Additional details / background info

@candida-d could you provide some support for the messaging here


False positive in annotation-without-metadata

When using additional newlines between metadata attributes, Regal flags the next attribute as being outside of the metadata object, although it shouldn't.
package p

import rego.v1

# METADATA
# description: |
#   foo
#
# authors:
#   - foo
rule := true

regal lint p.rego
Rule:         	annotation-without-metadata
Description:  	Annotation without metadata
Category:     	bugs
Location:     	p.rego:9:1
Text:         	# authors:
Documentation:	https://docs.styra.com/regal/rules/bugs/annotation-without-metadata

Looking into this now, and it's no longer on main. The last update was adaptions to the roast format, and it seems that fixed it. Not likely the format itself, but the fact that we've been able to remove many of the hacks related to location. Closing as completed.
❯ regal lint p.rego
Rule:         	annotation-without-metadata
Description:  	Annotation without metadata
Category:     	bugs
Location:     	p.rego:9:1
Text:         	# authors:
Documentation:	https://docs.styra.com/regal/rules/bugs/annotation-without-metadata

1 file linted. 1 violation found.

❯ go run main.go lint p.rego
1 file linted. No violations found


Slow connection blocks the start of command execution

Short description of the problem:
Try running ionic serve on a really slow connection. I noticed it doesn't start doing anything until after a 5-10 seconds. On a good connection it works fine. Disabling telemetry solved this.
What behavior are you expecting?
The telemetry calls are done async and do not block the awesome new CLI speediness.
Post the output of ionic info below please
global packages:

    @ionic/cli-utils : 1.0.0
    Cordova CLI      : 7.0.0
    Ionic CLI        : 3.0.0

local packages:

    @ionic/app-scripts              : 1.3.7
    @ionic/cli-plugin-cordova       : 1.0.0
    @ionic/cli-plugin-ionic-angular : 1.0.0
    Ionic Framework                 : ionic-angular 3.2.0

System:

    Node       : v6.9.1
    OS         : macOS Sierra
    Xcode      : Xcode 8.3.2 Build version 8E2002
    ios-deploy : 1.9.1
    ios-sim    : 5.0.13

Other information:
Thanks for the ionic ionitron t-shirt ;)

The telemetry stuff is async. (see https://github.com/driftyco/ionic-cli/blob/master/packages/cli-utils/src/lib/command/command.ts#L61-L80).
I'm wondering how it could slow down serve...

Hmm, did some more testing and it still happens with telemetry off, so it must be something else. The delay is definitely there on a slow connection. Of course it's inconsistent, like the connection, so it's hard to track, but it does not appear to be just serve.
I'll keep an eye out and report back when I find out more.

@dwieeb Still experiencing this. The title of the terminal window mentions npm when it happens. Just now it was just hanging there forever, while I was not connected to any network. Some npm task runs before ionic serve? Using<EMAIL_ADDRESS>

@Manduro We occasionally check for CLI updates at the start of a fresh "session" (like, when you haven't used the CLI in an hour). We didn't assume no network connectivity when building the new CLI, so this may require additional work. As a workaround, you can delete the lastCommand key in ~/.ionic/config.json and re-run serve. Let me know if that solves your issue.

@dwieeb That explains a lot! Thanks for the info and workaround.
Running that update check async with a timeout would be nice!

We can't really run it "async". Updates should probably happen before command execution, not indeterminately during command execution. I have plans for this!
Thank you!

Actually I'll leave this open.

See also https://github.com/driftyco/ionic-cli/issues/2335

Resolved through the new daemon, which can be totally disabled. Also resolved through --no-interactive flag.


Product page

Implement product page

Made a basic product screen
it currently just shows the image, title and two buttons with no functionality

Have changed product page both the visuals and logic.
We have Open PDF to open PDFs in the app and download PDF to download locally to device.
We are still missing logic for favourites

Favourites was added


Feat/native ply io

Native scala implementation to read/write the PLY format.
The implementation is ~20 times faster to write a PLY file and ~3 times faster to read.
Currently is still missing support for TexturedFile.
This is the first part of removing the VTK dependency in Scalismo, https://github.com/unibas-gravis/scalismo/issues/415

There is an implementation in scalismo.faces for reading and writing plys. How does this implementation relates to the other one? Is it completely independent?

There is an implementation in scalismo.faces for reading and writing plys. How does this implementation relates to the other one? Is it completely independent?

Ohh damn. Should have looked in there first. This one is completely independent. Maybe we should just copy over the scalismo faces version instead. I found a few java implementations, but they all missed a few things, so ended up creating one from scratch.

The PLYMesh write/reader in scalismo.faces would also work. It has a lot more structure to it. And this library has been tested a lot more. The question is how to structure it such that we only move all the parts that has with the format supported in scalismo.
And, the implementation is rather slow: half the speed on reading and ~15 times slower for writing (compared to the one suggested in the MR).

Regarding the two options:

Using your fast and simple here and keep the feature rich in scalismo-faces
Move the feature rich but a bit slower here.
I have no clear preference. Maybe I would go with a simple fast version in the core scalismo and have the feature rich one as additional module available, as it is now with scalismo-faces.

I'll have a closer look at how the file is read/written and see if we can do some improvement on the scalismo-faces version. I think it would look nicer to have an extension of the base-ply functionality in scalismo-faces.
But speed is key for me - so only if it's not slower.
For now I put the MR in draft mode.

Some more profiling between my simple method found in the PLY.scala file and the ported scalismo-faces ply reader found under the io/ply folder:
Facemesh with 53.466 vertices and 106014 triangles:
Writing test (16 times faster)

PLY: 0.051 seconds
scalismo-faces: 0.824 seconds

Reading test (5.5 times faster)

_PLY: 0.07 seconds _
scalismo-faces: 0.385 seconds

For a larger mesh with 575.781 vertices and 1.147.466 triangles
Writing test (40 times faster)

PLY: 0.239 seconds
scalismo-faces: 8.034 seconds

Reading test (3.3 times faster)

PLY: 0.801 seconds
scalismo-faces: 2.773 seconds

I did try to swap the reader in scalismo-faces with the java ByteBuffer as I use, but at best I could make it double the speed. There is a lot of inefficient structure in the faces implementation with large mutable data structures that are appended to. I did try to change some of these to predefined Arrays, but also with limited success.
So I'm more in favour of keeping a simple reader in scalismo and having a more advanced (also for texture meshes) in scalismo-faces.
But maybe someone else can see how we can somehow easily make a merge of the two?

I would be open to merge the fast PLY IO and later check if we can speedup scalismo-faces. As long as they can read each others files for those parts that both support, this is the best option with the least overhead.

I updated the ply reader to follow the structure of the stl reader to be more coherent. Hopefully, it will be easier to read now that it is split across multiple files.
I also added a more general way to read properties from the ply file. Now it reads all kinds of properties (also texture if it is there), but it only makes use of the items requested, i.e. only vertex and faces if requesting to read a TriangleMesh.


MudTable: make OnRowClicked async/awaitable

Description

Following a suggestion made on PR #8014, I made the MudTable's FireRowClickEvent and MurTr's OnRowClicked methods async/awaitable.
How Has This Been Tested?

None.
Types of changes

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

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

I think for compatibility purpose you need to leave the OnRowClicked and set as obsolete
+       [Obsolete($"Use {nameof(OnRowClickedAsync)} instead.")]
        public void OnRowClicked(MouseEventArgs args)
        {
            var table = Context?.Table;
            if (table is null)
                return;
            table.SetSelectedItem(Item);
            StartEditingItem(buttonClicked: false);
            if (table.MultiSelection && table.SelectOnRowClick && !table.IsEditable)
                IsChecked = !IsChecked;
-            table.FireRowClickEvent(args, this, Item);
+            table.FireRowClickEventAsync(args, this, Item);
        }

+        public async Task OnRowClickedAsync(MouseEventArgs args)
+        {
+            var table = Context?.Table;
+            if (table is null)
+                return;
+            table.SetSelectedItem(Item);
+            StartEditingItem(buttonClicked: false);
+            if (table.MultiSelection && table.SelectOnRowClick && !table.IsEditable)
+                IsChecked = !IsChecked;
+            await table.FireRowClickEventAsync(args, this, Item);
+        }

I think for compatibility purpose you need to leave the OnRowClicked and set as obsolete because it's public and can be used outside by someone via the ref?

Yes please. I totally agree 👍

Sorry, can you fix the conflict?
Otherwise LGTM


fix CAMEL-12252 and add test case for it

In the case at hand, each call to createJAXRSClientFactoryBean(...) always return the same client factory bean instance but with an overridden address. We end up in a situation where ClientFactoryBeanCache.get(address) could serve a factory bean with another address than requested.
The createJAXRSClientFactoryBean(...) implementation was tweaked when the rsClient scope changed to prototype. But now, we have a single client factory bean since the SpringRsEndpoint became a singleton.
Keeping in mind thread safety, I would explore how to change newJAXRSClientFactoryBean(...)` in order to make the cache keep references to immutable client factory beans.
Does it make sense ?

@xldai, would you like to explore changing newJAXRSClientFactoryBean(...) ?
Otherwise, I should be able to take a look next week.

@aldettinger Sorry for delay I was on vacation and thanks for your finding out I will looking into the SpringRsEndpoint (as I remember, even the JAXRSClientFactoryBean is created from java code still got this issue but anyway I will look into it again)

@aldettinger Unfortunately, I got no success after tried to adapt the newJAXRSClientFactoryBean() of the CxfRsSpringEndpoint, could you pls looking into it?

@xldai, few things to polish and I'll take a look then.
On Wed, Feb 28, 2018 at 11:10 AM, Xilai Dai<EMAIL_ADDRESS>wrote:

@aldettinger https://github.com/aldettinger Unfortunately, I got no
success after tried to adapt the newJAXRSClientFactoryBean() of the
CxfRsSpringEndpoint, could you pls looking into it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/camel/pull/2218#issuecomment-369190830, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVIAtRkW_HItcX2_STdnn68jhsKoq_ZKks5tZSX6gaJpZM4SA1KP
.

@xldai I would propose to close this PR and move forward in another

Closing as the bug has been corrected in another PR.


Fix for existing CRDs are deleted when crd-install hook is introduced

The PR addresses https://github.com/helm/helm/issues/4704, where the crd-install helm hook in introduced into an existing helm chart on CustomResourceDefinitions manifests.

Could one of you two take a look at this? I'm not so familiar with this area of the code, but I think this is a very important PR (and worthy of back-porting too).
Without it, I have heard stories of users with 1k+ custom resources having them all deleted.
/cc @technosophos @bacongobbler


Validate data in user sidebar when updating user profile.

What this PR does
Validates data in user sidebar when updating the user profile. In order for this to happen, we refactor the validation logic in FieldsValidationReducer to accommodate both authentication and user profile update types of inputs.
Also, renames AuthValidationActions to a more general ValidationActions.
Also, adds comments to various hitherto uncommented sections whenever they're touched.
Also, adds an edit icon in the button for toggling user details update.
Relevant PivotalTracker stories
Validate data in user sidebar when updating user profile.

Coverage remained the same at 83.066% when pulling c6904f8f22583c713547c9986e6bad596bfecfca on feature/validate-data-in-sidebar into b0861406da33d07016762301e6190fe518e342d2 on feature/sidebar.


remove component.json

should probably call this 2.0.0?
/cc @jwerle

Agreed.
On Aug 13, 2016 3:49 PM, "Stephen Mathieson"<EMAIL_ADDRESS>wrote:

should probably call this 2.0.0?
/cc @jwerle https://github.com/jwerle
You can view, comment on, or merge this pull request online at:
https://github.com/littlstar/axis/pull/89
Commit Summary

remove component.json

File Changes

D component.json
https://github.com/littlstar/axis/pull/89/files#diff-0 (61)

Patch Links:

https://github.com/littlstar/axis/pull/89.patch
https://github.com/littlstar/axis/pull/89.diff

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/littlstar/axis/pull/89, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABZSvWASveaJti-vMXTbSSEb_OeD9cmMks5qfh_cgaJpZM4Jjvyq
.


[Question] Question about Memory Usage in TRT-LLM

Hi,
Recently, I quantized Llama model with FP8 precision, I have a question about memory usage when running model:
What dtype of Layernorm use to do computation, FP8, FP16 or FP32?
What dtype of token embedding or ROPE embedding use to do computation, FP8, FP16, FP32?
Look forward you reply, Thanks.

The computing of layer-norm and ROPE are on FP16 or FP32, depending on the op types and some flags (like context_fmha_fp32_acc).


Generate plotting scripts for the feature relative use case examples

From the netcdf output from the feature relative, generate plots of the OBAR and FBAR statistics.  The script must be written in Python 3.6.

Created the following scripts:

animate_util.py: utility to create animations of png files using the Python API imageio which only requires numpy and Pillow (the Python Image library for Python 3.4+)

plot_series_lead_all.py:  to create the png files of netcdf output from the feature relative use case which performs a "series analysis by lead time" for all fhrs

animate_series_by_lead_all.py:  to create animations of the png files created by plot_series_lead_all.py.  Indicate what variable+level combination to animate into a gif file and set your desired duration time (in sec) for viewing each frame.

plot_series_by_init.py: generates plots in png format of the output of the feature relative use case that performs series analysis by initialization times.  Indicate the storm number of interest, and the variable+level combination of interest

-plot_series_by_grouping.py: generates the plots in png format of the output for feature relative use case where "series analysis by lead times via groupings" is performed.  Since only a handful of png files are generated, these files are combined into a single gif file for animation.


Transaction progress breadcrumb for new transaction page

Description:

Add a progress tracking breadcrumb to the new transaction page.
Statuses to include in breadcrumb for IDIR users: Draft > Recommended > Approved
Default view for a newly created transaction is that the progress bar is greyed out. Progress will begin tracking when the user saves a draft or recommends the transaction to the director (i.e., at a point when the transaction is created and assigned an ID #).

Wireframe:
https://preview.uxpin.com/59145260c7d8cc48969ac79401cc03d84843c3d9#/pages/165244297/simulate/sitemap
Purpose and benefit to user:
Enables the government analyst user to track the progress of a transaction and understand where it currently resides in terms of processing /completion
Acceptance Criteria:

[ ] Given I am a , When I am , then
[ ] Given I am a , When I am , then

Development Checklist:

[ ] A
[ ] B
[ ] C

Notes:

@Grulin Added a third bullet for additional clarity around the default view for the breadcrumb. The wireframe captures this but I mention it more explicitly so that the requirements are clear.


Add OpenStack CAPI-MAPI translation layer

This is the OpenStack implementation for the MAPI <-> CAPI translation added in #173. It includes a rebased, squashed and go fmt'd version of #173 with the OpenStack patches on top.
This is highly WIP and only the MAPO -> CAPO translation is implemented so far.
TODO

[ ] Rebase onto #173 once that has been cleaned up.
[ ] Add tests
[ ] Add docs
[ ] Implement CAPO -> MAPO translation

/cc @mdbooth
/cc @EmilienM

/cc @damdo


Add a variable to refer to other rows

I was wondering if there was a way to compare two rows' values to each other. For example, I wanted to create a column using diff() on a column of dates, outputting the distance between row1's date and row2's date (and subsequently between row2's date and row3's date, etc.).

Dates
Diff between value and value in the next row (days)

2020-10-31
2

2020-10-29
5

2020-10-24
3

2020-10-21

There doesn't seem to be a way to call "the value of this cell in [this row's index plus one]". You can call other cells in the same row (by pointing to a specific column, with syntax like cells["Dates"].value), but not other cells in the same column (by pointing to a specific row with rowIndex).
Another use case: you could transform your data by transferring all the values in a column up by one or more cells.
Proposed solution
What I would like is a way to pull from any row's cell values by its index number. Both absolutely and relatively - as in, "row 6" as well as "this row minus two". I am terrible at syntax so I'll leave that bit to someone else.
It may also be useful to have a variable for the total number of rows/records in the project. (Which we offer at a smaller scale with row.record.rowCount.)

Similar to https://github.com/OpenRefine/OpenRefine/issues/1340

@allanaaa Hi there, I'm using the following workaround to compare values between a row and its following:

create a column row with the code row.index() (0,1,2...)
create a column nextRow with the code row.index() (1,2,3...)
use the cross function within the same project to import values from row2 into row1.
compare the imported values

I think there is now a standard syntax using the cross function, because when the project name and column name are omitted, they are understood as being the current project and the row index. So if you want to access the cell at row 123 in column Address, you can simply do cell.cross(123).cells["Address"].value[0] (I haven't checket it though).
I suggest we change this issue into a documentation issue (on the openrefine.org repo), where the task would be to document this workaround in https://openrefine.org/docs/manual/expressions

So if you want to access the cell at row 123 in column Address, you can simply do cell.cross(123).cells["Address"].value[0] (I haven't checket it though).

I confirm this works with a slite change:
cell.cross(123).cells["Address"].value (no [0] at the end).
It's the same as: "123".cross().cells["Address"].value.
Regards, Antoine

ah yes, simply cross(123).cells["Address"].value (no cell. in front).

Hah - this is excellent - I had not realised this and have been abusing the record mode to achieve similar things

@wetneb @ostephens So I think this issue can be closed now and a new doc improvement issue can be made?

Agreed, I have opened an issue accordingly: https://github.com/OpenRefine/openrefine.org/issues/214


Unhandled exception error created when creating master and outstation adapter in same template

While attempting to create a new adapter and template file I received an unhandled exception error.  I have included the text from the error and a screen shot of the adapter window at the time for the error.
I am attempting to create both the DNP3 master and outstation configs together in the same file.  As shown in the screen shot, the master profiles are red, indicating an error.  I attempted to reset the profiles but they stay red.  So I attempted to configure the profiles and that is when I received the error.
I am not sure if the best method of template creation is a seperate yaml file for the master and for the outstation, even going as far as a seperate yaml file for each device types's master and outstation.  I am attempting to include the recloser master and outstation together to reduce the file count.

Unhandled exception error.txt

Hello @msmit250,
Are you building from source or using the .msi installer?  One thing you could try is to delete the "OpenFMB Adapter Configuration" located at:

C:\Users<Your_user_name>\AppData\Roaming\OpenFMB Adapter Configuration

The installer can be downloaded at:
https://github.com/openenergysolutions/openfmb.adapters.config/releases/download/v1.0.0-beta.6/OACT.msi
--
Cory

I installed via the .msi installer.
This was the exception text that appears in the error:
System.TypeInitializationException: The type initializer for 'OpenFMB.Adapters.Core.ProfileRegistry' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'OpenFMB.Models' or one of its dependencies. The system cannot find the file specified.
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at OpenFMB.Adapters.Core.ProfileRegistry..cctor()
--- End of inner exception stack trace ---
at OpenFMB.Adapters.Configuration.ProfileSelectionControl.LoadProfiles()
at OpenFMB.Adapters.Configuration.ProfileSelectionControl..ctor()
at OpenFMB.Adapters.Configuration.CreateAdapterConfigurationPluginOptions..ctor()
at OpenFMB.Adapters.Configuration.CreateAdapterConfigurationForm.InitializeComponent()
at OpenFMB.Adapters.Configuration.CreateAdapterConfigurationForm..ctor(String initialDirectory, Boolean canChooseDirectory)
at OpenFMB.Adapters.Configuration.MainForm.CreateAdapterConfiguration()
at OpenFMB.Adapters.Configuration.StartPageControl.NewConfigurationButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Are you running it on a Virtual Machine, Parallels Desktop or something similar?

It is running on a windows vertical machine. But I've seen the same error on a non-VM bare-bones Windows Enterprise LTSC installation.

I've just pushed a new version.  Please let me know if it works for you.
Thanks,
Cory

Your new version has fixed the error I was seeing. Thank you for the very promp response.


Two Pointers: Determine if a triplet exists in an array which sums up to a target in Javascript

Given an array of integers, nums, and an integer value, target,
determine if there are any three integers in nums whose sum equals the target.
Return TRUE if three such integers are found in the array. Otherwise, return FALSE.
Sample Input : 3, 7, 1, 2, 8, 4, 5 Target : 18
Output : True
Sample Input : 0 -1 1 Target : 2
Output : False

Hey @akgmage, I can take care of this.

Hey @akgmage, I can take care of this.

@cptleo92 assigned


fix reset zoom bug at sync line charts

#840
reset zoom at sync line charts

Thank you for the fix.
Please make the change in src/apexcharts.js instead of dist


bind() is documented as taking visibility (etc) but doesn't

http://bazel.io/docs/build-encyclopedia.html#bind documents bind() as accepting visibility (and other common BUILD arguments) but that doesn't appear to be the case. Either bind() or documentation should be fixed.

The documentation should be fixed. Obviously you cannot change the visibility of a declared target (which bind would allow).


Why the resize does not preserve the original aspect ratio

Hi, thank you for the work!
I've played with the code and noticed that examples do not preserve the original aspect ration during the resize. E.g. https://github.com/salesforce/BLIP/blob/d10be550b2974e17ea72e74edc7948c9e5eab884/predict.py#L93 or the colab example.
I wonder if it is done on purpose?

I came to ask the same question, is there no need to do letterboxing?

Thanks for your question. It is not necessary to preserve the original aspect ratio because the model was trained on augmented image crops with various ratios. We find this transform to perform slightly better than CenterCrop during inference.


style: Database connect UI Polish - Step 3

SUMMARY
Added styling to match the figma specifications for step 3 of the database connection form.
SCREENSHOTS
BASIC

ADVANCED

SQLLAB

PERFORMANCE

SECURITY

OTHER

TESTING INSTRUCTIONS
From the Superset home page:

Hover over "Data" in the upper navigation bar
Click "Database"
Click the "+ Database" button below the navigation bar and to the right
Select the SQLite database
Observe the styling of "Step 3" of the database connection form

ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

As a follow up @lyndsiWilliams can we make the blue alert the same width as the button? And the space under "need help" less? Underline  the "here" link in the additional fields alert. @Steejay I noticed that most hyperlinks aren't underlined.. I assume this one should be because of the contrast with the background color to make it stand out?

As a follow up @lyndsiWilliams can we make the blue alert the same width as the button? And the space under "need help" less? Underline the "here" link in the additional fields alert. @Steejay I noticed that most hyperlinks aren't underlined.. I assume this one should be because of the contrast with the background color to make it stand out?

No problem! I'm going to bring these details into my UI polish ticket, I've added them to the clubhouse ticket.