Feature request: Standardize handling of marking All Unread as read

NNW 6.1 on Mac, 6.0.2 (Build 610) on iOS.
I use NNW on all three types of devices: Mac, phone, iPad. The results of marking all articles as read and clearing the All Unread smart feed is different on every device. All of the below is when in the "All Unread" smart feed.
On the phone, tapping the "mark all read" button (circle with two circle shadows above it, in the lower left-hand corner) takes you back to the Feeds page. Subsequently tapping on the All Unread smart feed again shows an empty list, so it was apparently cleared when exiting and going back to Feeds. But I didn't want to exit, I just wanted to mark the articles as read.
On the iPad, tapping the "mark all read" button marks everything as read, but leaves you in the "All Unread" list, with all of the articles still there, but marked as read. A pull-to-refresh will then clear the list of everything except the article that the cursor was on when the pull-to-refresh was performed. Of the three behaviors, this is the best one, IMO.
On the Mac, clicking the "mark all read" button also marks everything as read and leaves you in the "All Unread" list, with all of the articles still there, but marked as read. But a pull-to-refresh does nothing. The only way I've found to clear the list is to click on "Starred" (or Today, but I use Starred since I don't have anything in it) and click back on All Unread.
Why are there three different behaviors instead of one? Why can't all three devices support the iPad's behavior?

I would like to stay in the "All Unread" list. I can do this on iPad and Mac but not iPhone. As stated above, marking unread automatically takes you back to the Feed page. Can it be made to work like the other two and leave us in the folder, just marking everything as read? And then make pull-to-refresh clear the list (with the highlighted one kept), as it does on iPad?
Could the Mac also support pull-to-refresh on the mouse/trackpad to clear the list?
Alternatively, an option to have "mark all as unread" also clear the list would be OK (I personally always want to clear the list when I mark everything as unread, but I realize that might be a minority opinion).

With the above two changes, the behavior would be the same across the app and all devices. Easier to remember, easier to understand, easier to use.
Thanks for considering!

I have found exactly the same. Very annoying, please fix.

The reason these behaviors are different is because NetNewsWire runs on 3 different devices, each of which has different design considerations.
For example, on the iPhone we take you back to the Feeds scene when you indicate that you are done reading by clicking on Mark All As Read. We don't do that on the Mac or iPad because the Feeds scene is already visible.
We don't have Pull To Refresh on the Mac because it isn't a standard Mac control or feature.
For each variant of NetNewsWire we work hard to match the platforms conventions and in this case we think we've done a good job of that.

Since the first thing I said was that "I run NNW on three devices…", telling me it runs on three devices is kind of redundant. The handling of this issue is also the opposite of "good," which is another reason for the issue.
A cross-device app has much higher affiliation with itself on the other device(s) than it does with completely different apps on the various devices. Cross-device apps should provide a common way to perform common functions. Pull to Refresh may not be "standard" on the Mac (yet), but it is standard for NNW. There aren't that many apps that run on all three platforms, and those that do have common characteristics. If you want to use a button (as an example) to mark unread and clear everything, because you don't like the platform features, then fine. But, again, there should be a common way to perform a common function across all the devices.
Aside from that, there are also questionable (at best) decisions in the process on all of the platforms.
On the iPhone, why does it force you back to the Feeds scene? We don't need to be on the Feeds scene if we spend all of our time on the Unread feed. I don't use the Feed scene for any purpose on any of the three devices, and I don't think that's uncommon.
For the iPad/Mac, It's silly that it's a two-step process to mark everything unread and then clear the list of those now read items. The former should also do the latter, or at the very least should have the option for doing the latter.


Update Composer dependencies (2021-11-09-00-04)

Visual regression test passed!
View the visual regression test report


get list of tables and columns from dbeaver

Hi,
I am using an ODBC connection to connect to HIVE tables and would like to get a list of all these tables (around 200) and their columns including datatype so that I can export this.  I do not need the data in the table.  Does anyone know how I could do this in DBeaver?
thanks

Did you try to use preconfigured Hive driver (JDBC)?

there is no update on ticket for a long time.
ticket closed


Update README so that it has up to date info

I rearranged the README so that it accurately portrays the mod. I left out black holes because they are still very in dev. Same with interferometry.

I'd appricate that, yes.


[HOLD for payment 2024-07-24] [$125] android-Quick action-Pay someone quick action text is truncated differently in mweb& Android

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.84-0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
Action Performed:

Launch app and mweb site
Tap fab --- pay someone
Enter an amount and tap next
4.Select a user with long mail id
5.Tap pay someone
6.Navigate to LHN
7.Tap fab
8.Note Quick action text

Expected Result:
Pay someone quick action text must appear in same way in mweb and Android.
Actual Result:
Pay someone quick action text is truncated differently in mweb and Android.
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/38435837/5003b0b0-1409-4e81-aa0d-daea1f65d748

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01de2d4ebfe6056500
Upwork Job ID:<PHONE_NUMBER>394853188
Last Price Increase: 2024-06-24
Automatic offers:

neonbhai | Contributor | 102856350

Issue OwnerCurrent Issue Owner: @jliexpensify

@jliexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to  #vip-vsb

Proposal
Please re-state the problem that we are trying to solve in this issue.
Pay someone quick action text is truncated differently in mweb& Android
What is the root cause of that problem?
The menuItem does not take full width since styles.flex1 isn't applied to title for FocusableMenuItem here:
https://github.com/Expensify/App/blob/75c104bfe009ef937bcd129a35bb5a2e52f4339d/src/components/PopoverMenu.tsx#L219
What changes do you think we should make in order to solve the problem?
We will pass styles.flex1 as the titleStyles here:
    titleStyle={styles.flex1}

This is a quick action button issue, so should be in #collect

Proposal
Android-Quick Action-Pay Someone Quick Action Text is Truncated Differently in Mweb & Android
Root Cause Analysis
The issue stems from differences in text rendering and layout handling between mobile web (mweb) and Android platforms. Specific factors contributing to this issue include:
1.CSS and Layout Variation: Differences in CSS styles and layout configurations between mweb and Android components affecting text wrapping and truncation behavior.
2.Text Measurement and Handling: Variations in how text is measured, particularly concerning available width and font metrics, leading to differing truncation points.
### Proposed Solution
Unified CSS Styling:
Implement consistent CSS styles across mweb and Android components rendering the quick action text. Ensure uniformity in padding, margins, width constraints, and text overflow handling.
Font and Text Handling:
Ensure consistent font family, size, and weight across both platforms. Use platform-specific adjustments if necessary to maintain visual consistency.
Responsive Design Considerations:
Implement responsive design principles to handle varying screen sizes and orientations across platforms. Use media queries to adapt layouts similarly on mweb and Android.

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link:https://www.upwork.com/freelancers/~01e8fca580ad3567b3

Bump @MonilBhavsar on approval for the proposal.

Minor styling issue on Android, so updating the price cc @jliexpensify

While solving this issue, I was blocked by this error
https://github.com/Expensify/App/assets/64629613/f46f0e6d-1334-4e05-b2d3-e101183cd80c
Root Cause:
I tried paying the applause user in the original issue video and it failed. But with the API fail the app crashed. This rendered the app unusable for me.
I looked into this and realised the bug happens if quickAction is Send Money but no avatar was loaded (i.e., quickActionAvatars is empty). This made the condition here false:
https://github.com/Expensify/App/blob/5e464eaa3e7614e6f17007e05203e184c275faf2/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx#L211
and this line is executed:
https://github.com/Expensify/App/blob/5e464eaa3e7614e6f17007e05203e184c275faf2/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx#L216
Why does the app crash?
This is because the quickAction.paySomeone string takes in the name param inside an object.
https://github.com/Expensify/App/blob/5e464eaa3e7614e6f17007e05203e184c275faf2/src/languages/en.ts#L622
If no second param is passed, this object destructing fails (as the app tries to read name property of undefined)
Image

How to solve?
We should have the name param as a variable and not an object.
Change this line to:
return translate('quickAction.paySomeone', name);

and here:
paySomeone: (name: string) => `Pay ${name ?? 'someone'}`,

Should we fix this?
cc: @thesahindia @MonilBhavsar
👍 - Agree go ahead
👎 - Disagree

Thanks for proposing this. Let's fix it 👍

not overdue, finalizing PR soon!

Payment summary:

C: @neonbhai$125
C+: @thesahindia $125 (New.Dot payment) - waiting on checklist!

Upwork job

Paid and job closed. Waiting on checklist.

Bumping @thesahindia for a checklist, if necessary

All good, cheers! Closing.

$125 approved for @thesahindia


ldapjs can't handle a well known container query

To query for a well known container in Active Directory, you supply the query with a baseDN that's formatted in an unusual way.
ldapjs fails when presented with this query:
node_modules/ldapjs/lib/dn.js:212
    if (beg === cur) { throw invalidDN(name) }
                       ^

Error [InvalidDistinguishedNameError]: <WKGUID=A9D1CA15768811D1ADED00C04FD8D5CD,dc=dmtest,dc=suse,dc=de>
    at invalidDN ( node_modules/ldapjs/lib/dn.js:8:13)
    at parseAttrType ( node_modules/ldapjs/lib/dn.js:212:30)
    at parseRdn ( node_modules/ldapjs/lib/dn.js:171:20)
    at Object.parse ( node_modules/ldapjs/lib/dn.js:290:13)
    at ensureDN ( node_modules/ldapjs/lib/client/client.js:85:15)
    at Client.search ( node_modules/ldapjs/lib/client/client.js:596:18)

Can you bind using the OpenLDAP or UnboundID tools?

It works with the python ldap module. Let me try with ldapsearch.

It works with ldapsearch.
> ldapsearch -H ldaps://dmtest.suse.de -D<EMAIL_ADDRESS>-w <PASSWORD> -b "WKGUID=A9D1CA15768811D1ADED00C04FD8D5CD,dc=dmtest,dc=suse,dc=de>" -s sub "(objectClass=container)" | grep distinguishedName
distinguishedName: CN=Users,DC=dmtest,DC=suse,DC=de

Can you try without the angle brackets (< and >)? I suspect the other tools are removing them.

That fixes the 'invalidDN' error, but then the I get a 'NoSuchObjectError' error.

Here's some code to reproduce:
const ldap = require('ldapjs');
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';

class LdapConnection {
	constructor(url, bindDN, username, password) {
		this.bindDN = bindDN;
		var opts = {
			url: url,
			bindDN: this.bindDN,
		};
		this.client = ldap.createClient(opts);
		this.bind_opts = {
			username: username,
			password: password
		};
	}

	search(opts, callback) {
		this.client.bind(this.bind_opts.username, this.bind_opts.password, err => {
			if (err) {
				console.error(err);
				return;
			}

			let response = [];
			this.client.search(opts.baseDN, opts, (err, res) => {
				if (err) {
					console.error(err);
					return;
				}

				res.on('searchEntry', (entry) => {
					response.push(entry.object)
				});

				res.on('error', (err) => {
					console.error(err);
				});

				res.on('end', (result) => {
					this.client.unbind();
					callback(err, response);
				});
			});
		});
	}

	well_known_container(container, callback) {
		var wkguiduc = null;
		if (container == 'system') {
			wkguiduc = 'AB1D30F3768811D1ADED00C04FD8D5CD';
		} else if (container == 'computers') {
			wkguiduc = 'AA312825768811D1ADED00C04FD8D5CD';
		} else if (container == 'dcs') {
			wkguiduc = 'A361B2FFFFD211D1AA4B00C04FD7D83A';
		} else if (container == 'users') {
			wkguiduc = 'A9D1CA15768811D1ADED00C04FD8D5CD';
		}
		var opts = {
			baseDN: '<WKGUID=' + wkguiduc + ',' + this.bindDN + '>',
			//baseDN: 'WKGUID=' + wkguiduc + ',' + this.bindDN,
			scope: 'sub',
			filter: '(objectClass=container)',
			attributes: ['distinguishedName']
		};
		this.search(opts, callback);
	}
}

const ldapConnection = new LdapConnection('ldaps://<SERVER>', 'dc=example,dc=com'<EMAIL_ADDRESS>'<PASSWORD>');

ldapConnection.well_known_container('users', function(err, results) {
	console.log('Well Known Users Container:');
	if (err) {
		console.log('ERROR: ' + JSON.stringify(err));
		return;
	}
	_.each(results.other, function(other) {
		console.log(JSON.stringify(other));
	});
});

If you need an ADDC, you can spin one up from the registry.opensuse.org/opensuse/samba-ad-dc podman/docker container.
I use this command to start one:
sudo podman run --privileged -p 53:53 -p 53:53/udp -p 88:88 -p 88:88/udp -p 123:123/udp -p 135:135 -p 137:137/udp -p 138:138/udp -p 139:139 -p 389:389 -p 389:389/udp -p 445:445 -p 464:464 -p 464:464/udp -p 636:636 -p 3268:3268 -p 3269:3269 --volume=/var/lib/samba/sysvol:/var/lib/samba/sysvol --volume=/etc/samba:/etc/samba --volume=/var/lib/samba/private:/var/lib/samba/private registry.opensuse.org/opensuse/samba-ad-dc -p example.com:<PASSWORD>

If it fails to bind on one of the ports, check to see if they are being used:
for port in 53 88 123 135 137 138 139 389 445<PHONE_NUMBER> 3269; do
        echo "PORT ${port}"
        sudo lsof -i :${port}
done

I just remembered there is an alternate syntax for requesting these, by just fetching the 'wellKnownObjects' attribute from the base DN. So I can work around this.

Cool. I don't trust samba implementations to be 100% accurate to Active Directory. So I wouldn't consider that a completely viable reproduction.
My current work on v3 is deep into reworking the DN parser. So this is likely to be improved in v3, but maybe not. I have not seen anything in the RDN spec that indicates that syntax is valid.

@dmulder I didn't realize you are a member of the Samba team. I meant no offense by the compatibility statement. It's really about ActiveDirectory being a closed product.

Lol, no offense taken.

Anyway, I'm looking at your suggestion as a way to support the activedirectory2 module. It looks like that container is managed out of https://github.com/dmulder/container-images/, but that repo does not allow issues to be opened. So I hope you are willing to answer some basic questions here.

That container is actually managed here: https://github.com/openSUSE/container-images

❯ docker run --rm -it --name samba-ad-dc -p 1389:389 -e 'DEBUG=1' registry.opensuse.org/opensuse/samba-ad-dc -p example.com:1234567

...

samba-tool domain provision --domain=example --realm=example.com --adminpass=1234567 --host-name=4aaa63d53fa1 --function-level=2008_R2
ERROR: Administrator password does not meet the default quality standards

...

Does this look correct to you?

No, it does not ;-)
The password you chose is bad. Samba will fail to provision a domain if the password doesn't meet specific complexity requirements.

Maybe I should add a check to make sure the provision succeeded before attempting to start the daemon.

I went ahead and ran your that command with a better password, and there are still errors. You're missing some critical components in your command.
The ADDC cannot start in usermode, and it cannot start without privileges. So you MUST run it as root, and with --privileged.

One more thing, you will need to fix the dns records inside the host after it starts.
Point your resolv.conf to localhost (this will require opening dns ports on the container), then run:
samba-tool dns update example.com example.com example.com A <IP_ADDRESS> <IP_ADDRESS> -UAdministrator
Where <IP_ADDRESS> is the invalid address added via podman, and <IP_ADDRESS> is the real host address.
I'm not sure if this is necessary with what you're working on, but it certainly caused me some trouble to have the dns record pointing at the internal container ip.

The password you chose is bad. Samba will fail to provision a domain if the password doesn't meet specific complexity requirements.

Clearly it isn't a "production" use password.

The ADDC cannot start in usermode, and it cannot start without privileges. So you MUST run it as root, and with --privileged.

😕

Thank you for taking the time to respond. I think I'm going to say that it is not worth the trouble. All of what you wrote is just to get the thing started. I'm sure it would be even more of a challenge to bootstrap it with test data.

¯_(ツ)_/¯ up to you. If you're more familiar with Windows, then a Windows ADDC may be easier for you.

I have never administered an ADDC. I have had to use them in the past, but primarily through LDAP.

Well, you should be able to get up and running with this command:
sudo docker run --privileged -p 53:53 -p 53:53/udp -p 88:88 -p 88:88/udp -p 123:123/udp -p 135:135 -p 137:137/udp -p 138:138/udp -p 139:139 -p 389:389 -p 389:389/udp -p 445:445 -p 464:464 -p 464:464/udp -p 636:636 -p 3268:3268 -p 3269:3269 registry.opensuse.org/opensuse/samba-ad-dc -p example.com:Test1234

You could probably just communicate with ldap via the container IP, and not mess with fixing dns.


Make Interpreter.Object and friends into non-static inner classes

Now their methods can access the enclosing interpreter instance.

I have had a suggestion about a slightly better way to fix the type warnings, so I will withdraw this for now.


Please...

Would you write a simple example postgres server protocol? It'll very good for me and newbies.

hi @ignusius, great idea! :)
while we'll be happy to have such an example, not sure we can get to it soon.. marking as "help wanted".


Inaccurate description in "Build in Docker"

You can build Adlik inside the Docker image.
Image is not runtime, so you can't compile Adlik inside image. There are two ways to use the image:

Use the image as a base image.
Run container of the image.

You are right. Do you want to submit a pull request?


Fixed documentation of database representation for ManyToManyField.

The number of chars depends on DB. 64 is correct only for MySQL. IMO we can simplify this paragraph and remove this information.

@timgraham Thanks for checking this :+1:


LE Audio: LC3 macro hardcode fix

Updates a bunch of LC3 macros from using hardcoded context and location to be more flexible.
fixes https://github.com/zephyrproject-rtos/zephyr/issues/43202

Marking this PR as draft, as I've yet to find a solution to the odd documentation builds error:
 Warning, treated as error:
/home/runner/work/zephyr/zephyr/include/zephyr/bluetooth/audio/lc3.h:315: argument 'em' of command @param is not found in the argument list of BT_CODEC_LC3_CONFIG(_freq, _duration, _loc, _len, _frames_per_sdu, _stream_context)

The documentation seems to fail to build HTML due to the _ prefix in the macro parameters (removing them fixes it). Not quite how to fix that in this PR, without removing the _ prefix...

Rebased without changes


Scan of terragoat files failing in Checkov

having an issue with the vscode extension (Windows 10 Home, VSCode 1.61.2, Checkov ext 1.0.53) Trying to scan terragoat files and getting various errors in the log. For example, scanning s3.tf results in:[info]:
Running checkov:
[info]: c:\users\gordon\appdata\roaming\python\python38\Scripts\checkov -s --bc-api-key **** --repo-id gbrandyb/terragoat -f "c:\Users\Gordon\BridgeCrewTest\terragoat\terraform\aws\s3.tf" -o json
[debug]: Version command: c:\users\gordon\appdata\roaming\python\python38\Scripts\checkov -v
[debug]: Response from version command: 2.0.544
[warn]: Checkov stderr: Traceback (most recent call last):
File "c:\Users\Gordon\AppData\Roaming\Python\Python38\Scripts\checkov.cmd", line 53, in
[warn]: Checkov stderr:     run()
File "C:\Users\Gordon\AppData\Roaming\Python\Python38\site-packages\checkov\main.py", line 202, in run
[warn]: Checkov stderr:
[warn]: Checkov stderr: scan_reports = runner_registry.run(external_checks_dir=external_checks_dir, files=config.file,
File "C:\Users\Gordon\AppData\Roaming\Python\Python38\site-packages\checkov\common\runners\runner_registry.py", line 63, in run
[warn]: Checkov stderr:     for scan_report in reports:
File "C:\Users\Gordon\AppData\Local\Programs\Python\Python38\lib\concurrent\futures_base.py", line 619, in result_iterator
[warn]: Checkov stderr:
[warn]: Checkov stderr: yield fs.pop().result()
File "C:\Users\Gordon\AppData\Local\Programs\Python\Python38\lib\concurrent\futures_base.py", line 437, in result
[warn]: Checkov stderr:
[warn]: Checkov stderr: return self.__get_result()
File "C:\Users\Gordon\AppData\Local\Programs\Python\Python38\lib\concurrent\futures_base.py", line 389, in __get_result
raise self._exception
File "C:\Users\Gordon\AppData\Local\Programs\Python\Python38\lib\concurrent\futures\thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\Gordon\AppData\Roaming\Python\Python38\site-packages\checkov\common\runners\runner_registry.py", line 59, in
lambda runner: runner.run(root_folder, external_checks_dir=external_checks_dir, files=files,
File "C:\Users\Gordon\AppData\Roaming\Python\Python38\site-packages\checkov\terraform\plan_runner.py", line 76, in run
[warn]: Checkov stderr:     graph_report = self.get_graph_checks_report(root_folder, runner_filter)
File "C:\Users\Gordon\AppData\Roaming\Python\Python38\site-packages\checkov\terraform\runner.py", line 125, in get_graph_checks_report
[warn]: Checkov stderr:     entity_context, entity_evaluations = self.get_entity_context_and_evaluations(entity)
File "C:\Users\Gordon\AppData\Roaming\Python\Python38\site-packages\checkov\terraform\plan_runner.py", line 82, in get_entity_context_and_evaluations
[warn]: Checkov stderr:     raw_context = self.get_entity_context(entity[CustomAttributes.BLOCK_NAME].split("."), entity[CustomAttributes.FILE_PATH])
File "C:\Users\Gordon\AppData\Roaming\Python\Python38\site-packages\checkov\terraform\plan_runner.py", line 118, in get_entity_context
[warn]: Checkov stderr:     for resource in self.tf_definitions[full_file_path]['resource']:
KeyError: 'C:\Users\Gordon\BridgeCrewTest\terragoat\terraform\aws\s3.tf'
[debug]: Checkov scan process exited with code 1
[debug]: Checkov task output: {"stdout":""}
[error]: Error occurred while running a checkov scan {"error":"Checkov exited with code 1"} (edited)
Contact<EMAIL_ADDRESS>(PANW pubsec SE)

Seconding this. My extension was working fine but started erroring out last week. I too run Windows 10 Home with VS Code.
Cloudformation seems to be working fine but Terraform seems to break. (Also a PANW SE)

@gbrandyb Incase you need a temporary fix. I was able to fix this up by installing docker for desktop on my Windows PC and then manualling pulling an older version of checkov and hardcoding that version into VS Code:
So after downloading Docker for Windows run:
docker pull bridgecrew/checkov:2.0.525
Then go to your settings in VS Code for Bridgecrew and hardcode the version to:
2.0.525
@Bridgecrew team, something in your later releases has broken Terraform scanning functionality.

@Rices thanks I'll give that a shot.
@bridgecrewio team, just tested with vs extension 1.0.62 and checkov 2.0.560 and still seeing same error.


[WIP] Add test tutorial

[x] write test tutorial in English
[x] translate to jp
[ ] record a video

wow this is great! i just had a quick read.

Thank you Bill :)

shall we hide the video and merge this PR in? we can finish the video after release v6, plan to release 1st of July.

I agree :)

Thank you @keiya01 🙏

Thank you @bluebill1049 😊


ListUnapprovedFundingSources not tested

This view is not tested at all by the test suite

Recent test additions have covered this.


Allow an active timer to be paused

See https://github.com/Alxmerino/alfred-countdown-timer/issues/2


Add basic support information

This adds a link to the SaladCloud status page and basic support information- who to contact for what type of issues.

Do we know why this didn't do a staging deployment?

This is an ongoing Mintlify issue that they have not been able to fix. I have contacted them multiple times, but there has been no response. 😥


[BUG FIX] [SPEC DECODE] 0.6.4 rebase cause incorrectness in spec decode, fix in this PR

Noticed that Spec Decode went incorrect after rebase to 0.6.4
Identified root cause and fixed in the PR

incorrect return value position in batch_expansion.py
ContinuousPA generates faulty result in spec decode

CI added: https://github.com/HabanaAI/vllm-fork/pull/524

This is the correct result with my old codes [PR submission code
base]

method
model
cmdline
result

Medusa
llm = LLM(             model="JackFram/llama-68m",             speculative_model="abhigoyal/vllm-medusa-llama-68m-random",             num_speculative_tokens=5,           use_v2_block_manager=True,       )
VLLM_SKIP_WARMUP=True python examples/   offline_inference_medusaspeculator.py
================= Summary =====================   input is  ['The future of AI is']       Non Spec Decode - latency_per_token is    0.00412524938583374   Generated Text is : [' the only AI that will allow you to   grow in your knowledge, and that is simply not happening']       Spec Decode - latency_per_token is    0.008658230304718018   Generated Text is : [' more deeply embedded in the future   of humans as distant relatives than that of the future world. AAM']

Eagle
llm = LLM(             model="JackFram/llama-68m",             speculative_model="abhigoyal/vllm-eagle-llama-68m-random",             num_speculative_tokens=5,           # These are   currently required for MLPSpeculator decoding             use_v2_block_manager=True,       )
VLLM_SKIP_WARMUP=True python examples/   offline_inference_eaglespeculator.py
================= Summary =====================   input is  ['The future of AI is']       Non Spec Decode - latency_per_token is    0.003977715969085693   Generated Text is : [' the only AI that will allow you to   grow in your knowledge, and that is simply not happening']       Spec Decode - latency_per_token is    0.024903833866119385   Generated Text is : [' starting to be more and more   accessible as an aggregation. Our general network dramatically increases   customer diss']

Mlp
llm = LLM(             model="meta-llama/Llama-2-13b-chat-hf",             speculative_model="ibm-fms/llama-13b-accelerator",           # These are   currently required for MLPSpeculator decoding             use_v2_block_manager=True,       )
VLLM_SKIP_WARMUP=True python examples/   offline_inference_mlpspeculator.py
==== Without Spec Decode ====   0.02556748263883275   text: "The current president of the United States is   Joe Biden. He was inaugurated on January 20, 2021, and is serving his first   term in office. Prior to his presidency, Biden served as Vice President under   Barack Obama from 2009 to 2017. He has a long history of public service,   including serving in the Senate for six terms from 1973 to 2009. Biden has   been a strong advocate for issues such as healthcare reform, education, and   the protection of workers' rights. He has also been a vocal critic of President   Donald Trump and has sought to undo many of the policies implemented during   his presidency."         ==== With Spec Decode ====   0.015751696580293163   text: "The current president of the United States is   Joe Biden. He was inaugurated on January 20, 2021, and is serving his first   term in office. Prior to his presidency, Biden served as Vice President under   Barack Obama from 2009 to 2017. He has a long history of public service,   including serving in the Senate for six terms from 1973 to 2009. Biden has   been a strong advocate for issues such as healthcare reform, education, and   the protection of workers' rights. He has also been a vocal critic of   President Donald Trump and has sought to undo many of the policies   implemented during his presidency."

@michalkuligowski @madamczykhabana ,
I updated the codes using raise instead of change ContiguousPA to false
https://github.com/HabanaAI/vllm-fork/pull/523/files#diff-e93f4e5c975d07796dc7e9b5bf9012301e80d43c60c9eccad5bd911e3107f3deR663-R667

Closing with overriding failure in "Trigger jenkins test"
Hi @RonBenMosheHabana can you please disable this suite for now as it confuses users when it fails

Closing with overriding failure in "Trigger jenkins test" Hi @RonBenMosheHabana can you please disable this suite for now as it confuses users when it fails

I disabled it for now


Support multiple user projects

This PR upgrades the pipeline to support multiple user projects. To be able to analyze multiple projects, the classpath needed to be set differently (credits to @FWDekker). I've also removed the compiled library JAR, as the user projects compile without it, too.
Note: The smoke test uses a semicolon (;) to separate user projects, and not a platform-dependent Path separator. This is on purpose: the CLI requires a semicolon for separation of items.

Codecov Report

Merging #117 into master will increase coverage by 0.5%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##             master    #117     +/-   ##
==========================================
+ Coverage      86.4%   86.9%   +0.5%
- Complexity      248     251      +3
==========================================
  Files            25      25
  Lines           537     550     +13
  Branches        111     120      +9
==========================================
+ Hits            464     478     +14
  Misses           23      23
+ Partials         50      49      -1

Impacted Files
Coverage Δ
Complexity Δ

...n/src/main/kotlin/org/cafejojo/schaapi/Pipeline.kt
100% <100%> (ø)
4 <0> (+2)
:arrow_up:

...otlin/org/cafejojo/schaapi/CommandLineInterface.kt
86.66% <100%> (ø)
0 <0> (ø)
:arrow_down:

...line/patterndetector/prefixspan/PatternDetector.kt
100% <100%> (ø)
3 <2> (-1)
:arrow_down:

...raphgenerator/jimple/LibraryUsageGraphGenerator.kt
84.21% <100%> (-0.79%)
7 <1> (ø)

.../usagegraphgenerator/jimple/filters/ValueFilter.kt
73.21% <0%> (+11.3%)
33% <0%> (+2%)
:arrow_up:

Continue to review full report at Codecov.

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


iris_grib failure

Since Iris 2.0 this documentation example fails.
Minimal example:
>>> import iris
>>> iris.load_cube(iris.sample_data_path('polar_stereo.grib2'))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/user/miniconda/envs/ENV/lib/python2.7/site-packages/iris/__init__.py", line 373, in load_cube
    cubes = _load_collection(uris, constraints, callback)
  File "/home/user/miniconda/envs/ENV/lib/python2.7/site-packages/iris/__init__.py", line 313, in _load_collection
    result = iris.cube._CubeFilterCollection.from_cubes(cubes, constraints)
  File "/home/user/miniconda/envs/ENV/lib/python2.7/site-packages/iris/cube.py", line 143, in from_cubes
    for cube in cubes:
  File "/home/user/miniconda/envs/ENV/lib/python2.7/site-packages/iris/__init__.py", line 300, in _generate_cubes
    for cube in iris.io.load_files(part_names, callback, constraints):
  File "/home/user/miniconda/envs/ENV/lib/python2.7/site-packages/iris/io/__init__.py", line 210, in load_files
    for cube in handling_format_spec.handler(fnames, callback):
  File "/home/user/miniconda/envs/ENV/lib/python2.7/site-packages/iris/fileformats/rules.py", line 429, in load_cubes
    user_callback_wrapper=loadcubes_user_callback_wrapper):
  File "/home/user/miniconda/envs/ENV/lib/python2.7/site-packages/iris/fileformats/rules.py", line 350, in _load_pairs_from_fields_and_filenames
    cube, factories, references = _make_cube(field, converter)
  File "/home/user/miniconda/envs/ENV/lib/python2.7/site-packages/iris/fileformats/rules.py", line 293, in _make_cube
    metadata = converter(field)
  File "/home/user/miniconda/envs/ENV/lib/python2.7/site-packages/iris_grib/_load_convert.py", line 2384, in convert
    grib2_convert(field, metadata)
  File "/home/user/miniconda/envs/ENV/lib/python2.7/site-packages/iris_grib/_load_convert.py", line 2333, in grib2_convert
    grid_definition_section(field.sections[3], metadata)
  File "/home/user/miniconda/envs/ENV/lib/python2.7/site-packages/iris_grib/_load_convert.py", line 1204, in grid_definition_section
    grid_definition_template_20(section, metadata)
  File "/home/user/miniconda/envs/ENV/lib/python2.7/site-packages/iris_grib/_load_convert.py", line 835, in grid_definition_template_20
    x_coord, y_coord, scan = _calculate_proj_coords_from_lon_lat(section, cs)
  File "/home/user/miniconda/envs/ENV/lib/python2.7/site-packages/iris_grib/_load_convert.py", line 855, in _calculate_proj_coords_from_lon_lat
    x0_m, y0_m = cs.as_cartopy_crs().transform_point(
  File "/home/user/miniconda/envs/ENV/lib/python2.7/site-packages/iris/coord_systems.py", line 722, in as_cartopy_crs
    self.true_scale_lat, globe)
  File "/home/user/miniconda/envs/ENV/lib/python2.7/site-packages/cartopy/crs.py", line 1329, in __init__
    raise ValueError('It does not make sense to provide both '
ValueError: It does not make sense to provide both "scale_factor" and "true_scale_latitude". Ignoring "scale_factor".

Related to #3065

There is a test for this example. But it is always skipped. https://github.com/SciTools/iris/blob/add8e471d5d6d954b5d2346831a483dae6cb5b1e/docs/iris/example_tests/test_polar_stereo.py#L30

The new Read The Docs style documentation has now been merged to master (not released), see #3752
You can this the gallery entry via: https://scitools-iris.readthedocs.io/en/latest/generated/gallery/general/plot_polar_stereo.html#sphx-glr-generated-gallery-general-plot-polar-stereo-py
I believe  the dependecny on iris-grib has now been removed from the galleries as the example uses a netcdf file now.
Are you happy for this issue to be closed now @tv3141?

@tkknight LGTM :+1:


Selecting  option in one parameter erases selected option in another parameter in Carbon Calculator

Description:
Currently, there is an issue in the Carbon Calculator application where selecting an option in one parameter section unintentionally erases the selected option in another parameter section. This behavior is not desired and causes confusion and inconvenience for users when trying to calculate their carbon footprint accurately.
Steps to Reproduce:

Open the Carbon Calculator application.
Navigate to the parameter section where multiple options are available (e.g., "House").
Select an option from this section (e.g., "Members"->"you live alone").
Now, navigate to another parameter section (e.g., "House-size").
Select an option from this section (e.g., " you have a large house").
Observe that the previously selected option in the "Members" section has been erased and reverted to the default or unselected state.

Expected Behavior:
When selecting an option in one parameter section, the selected options in other parameter sections should remain unaffected and unchanged. The user's selections should persist throughout the calculation process, allowing them to accurately assess their carbon footprint based on multiple factors.
Actual Behavior:
The selection of an option in one parameter section unintentionally erases the selected options in other parameter sections, leading to an inaccurate representation of the user's input and carbon footprint calculation.
Impact:

User frustration and confusion due to unexpected behavior.
Inaccurate carbon footprint calculations as users are unable to select options across different parameters simultaneously.

Suggested Solution:
Implement a fix that allows users to select options independently in each parameter section without erasing selections made in other sections. The application should retain the user's chosen options throughout the calculation process, providing an accurate assessment of their carbon footprint based on the combined inputs from multiple parameters.
This issue significantly affects the usability and reliability of the Carbon Calculator website. Resolving this problem will greatly improve the user experience and ensure accurate carbon footprint calculations.
please see this video :
Video
Please assign me this issue ,I will create pull request asap.

Hello Nishitbaria, thanks for opening a issue, your contribution is valuable to us. The maintainers will review this issue and provide feedback as soon as possible.


gradle continuous mode crashes, ‘failed to cast’

Running Gradle in continuous mode is great. But it’s currently crashing on the second run:
* What went wrong:
Execution failed for task ':activity:treehouse:serveDevelopmentZipline'.
> Failed to cast object app.cash.zipline.gradle.ZiplineServerDeploymentHandle_Decorated@37997f2b of type app.cash.zipline.gradle.ZiplineServerDeploymentHandle_Decorated to target type app.cash.zipline.gradle.ZiplineServerDeploymentHandle

This is occurring on Gradle 7.6.

Fixed by https://github.com/cashapp/zipline/pull/928


Speed up dictionaries calculation

Bring back bigartm cli in case of it's availability on user's host and implement rb tree in python realization

Resolved


Video in README doesn't load properly

While browsing your repository, I noticed that your video showing the application in action is not loading properly.
Browser: Google Chrome
OS: Windows 11 23H2

I suggest changing the video extension from mov to mp4 for better compatibility.
PS Wielki szacun dla ciebie jeżeli budowałeś tą aplikacje samemu bez żadnych tutoriali.
Widać, że trafiłeś na odpowiedni kierunek w swoim życiu ^_~
Jesteś kotem!

I have analyzed this further and I realized that the video is not in HTML video tag but in img tag

![image](https://github.com/user-attachments/assets/8fa4c27b-de25-4063-b6e0-f98066ebd23d)

This could potentially fix the issue

Thanks for this issue. The problem was that I previously displayed the case in GIF format, which is why I used the img tag. After switching to video, it still worked fine in my browser, probably due to caching or something else. In any case, I've already fixed it.
PS: dzieki, fajny mecz dzis mieliscie na wf-ie :)

However, the problem seems to be due to the file size, as it is not displaying at all now

In that case, I suggest sending video onto external file hosting and linking it from there or linking it directly from files in repository.
Github most likely has some restrictions on files in comments, md files etc.

done


[TACHYON-1416] Check - Add a basic class for permission check logic

JIRA: https://tachyon.atlassian.net/browse/TACHYON-1416
Base class of permission checking logic in FileSystemPermissionChecker
The usage of this in FileSystemMaster would look like below, for example, at the entry of getFileInfo() method, invoke FileSystemPermissionChecker.checkSelfPermission(...), keep going if checking succeeds, and throw exception if fails.
@jsimsa , @yupeng9 , @apc999 , @sundapeng , would you like to take a look? Thanks.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7422/
Test PASSed.

Thanks for adding this check! I left some comments and it'll be great if fewer changes are made on InodeTree. InodeTree part of the core metdata, and it's important to keep it as simple as possible both for the ease of maintenance and better performance.

@dongche thank you for the PR ... left some comments for you ... I think there might be some issues in the permission checking logic and I am also not sure why we need three API methods in the FileSystemPermissionChecker public API

@yupeng9 , @jsimsa , thanks for your review to improve the logic and api ! I updated the patch with some changes:

In InodeTree traverse, just get all inodes on the path simply.
remove checkOwner methods currently, since this method actually be used in next feature of updating , for example setOwner, setGroup, setPermission
refine the logic based on your comments.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7440/
Test PASSed.

Thanks for addressing the comments. I left some more on not exposing Inode structure.

@yupeng9 , not exposing Inode sounds good, thanks! Updated the methods to address this and leave collecting and handling Inode -> FileInfo to FileSystemMaster.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7468/
Test PASSed.

 Thanks

@dongche, thanks for the rewriting with FileInfo, it looks much better now! I left some minor comments.

@dongche thanks for addressing my comments ... please address @apc999 comments and then this LGTM

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7535/
Test PASSed.

@apc999 , @yupeng9 , @jsimsa Sorry for the late response. Took leave yesterday...
Patch updated to address comments. Thanks for reviews!

+1 LGTM. Thanks for the patch!
@yupeng9 @jsimsa , do you have more comments?

LGTM


Macro @NumParams gives unexpected value in class methods

The value of the @NumParams will always return 1 due to the $this param.
As a result, we could do a string replace (Maybe use RegEx to avoid values like @NumParams2 being replaced.
so, in:
@NumParams
out:
Assign('@NumParams', $this.arguments.lengt, $ASSIGN_FORCELOCAL)
;... ; The normal code where we prepare the method variables
Eval('@NumParams')

Using Assign and Eval is to prevent name conflicts.
Biggest problem is that if the macro is being used in something like a string, that will be replaced too!
That issue, should it become a relevant issue will be solved with the au3p lexer/parser when ready.

Partially fixed via e94de2aee05942e2603b1f46e3e232bc89faa33b
@NumParams value now works as expected for methods, getters and settters. But not constructors or destructors.
For constructors fixing this will require more effort, that will not be done currently.


Problem with forecasts

I make the weather bot in telegram. There are 5 buttons, 2 are forecasts (Hourly_forecasts and Daily_forecasts). When I click one of 2 buttons It displays what I need, but when I click another forecasts It return error.
Photo of clicking forecasts button:

Errors:

And 3 rest buttons click as much as I want:

Is that API problem or Bot problem ?

looks like a bug to me, will fix soon! thanks for the report <3

hmmmm, i don't seem to find a way to properly find the source of the issue, this could be a problem with the API itself

for now, i think the choice i would recommend is making an error handler for it. since i don't think can find a way to fix the issue (in the library level), sorry about that!

i could create an update that creates an error handler for this that ignores malformed API responses, but it might have the possibility to return empty values, which could be confusing to the users using this library.

Hmmmm, Okay. I'll try to work around this issue for now. I hope, you will find the source of the issue soon.

I came across the same issue and have a fix for it. However, I don't seem to be able to create a branch for a PR. Do I push to main straight away?

Fixed in #41.


controlnet 2tiadapter models not working

When I try to use any of the t2iadapter models in controlnet I get errors like the one below. It says it's reading in a state_dict from t2iadapter_style-fp16.safetensors, but then controlnet.py can't find the keys it needs in state_dict.
Startup time: 88.4s (import gradio: 4.8s, import ldm: 4.5s, other imports: 9.5s, list extensions: 0.2s, setup codeformer: 0.4s, load scripts: 2.1s, load SD checkpoint: 46.3s, create ui: 13.4s, gradio launch: 7.1s).
Loading model: t2iadapter_style-fp16 [0e2e8330]
Loaded state_dict from [/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_style-fp16.safetensors]
Error running process: /content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/scripts.py", line 409, in process
script.process(p, *script_args)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 742, in process
model_net = self.load_control_model(p, unet, model, lowvram)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 541, in load_control_model
model_net = self.build_control_model(p, unet, model, lowvram)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 579, in build_control_model
network = network_module(
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/adapter.py", line 81, in init
self.control_model.load_state_dict(state_dict)
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1671, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for Adapter:
Missing key(s) in state_dict: "body.0.block1.weight", "body.0.block1.bias", "body.0.block2.weight", "body.0.block2.bias", "body.1.block1.weight", "body.1.block1.bias", "body.1.block2.weight", "body.1.block2.bias", "body.2.in_conv.weight", "body.2.in_conv.bias", "body.2.block1.weight", "body.2.block1.bias", "body.2.block2.weight", "body.2.block2.bias", "body.3.block1.weight", "body.3.block1.bias", "body.3.block2.weight", "body.3.block2.bias", "body.4.in_conv.weight", "body.4.in_conv.bias", "body.4.block1.weight", "body.4.block1.bias", "body.4.block2.weight", "body.4.block2.bias", "body.5.block1.weight", "body.5.block1.bias", "body.5.block2.weight", "body.5.block2.bias", "body.6.block1.weight", "body.6.block1.bias", "body.6.block2.weight", "body.6.block2.bias", "body.7.block1.weight", "body.7.block1.bias", "body.7.block2.weight", "body.7.block2.bias", "conv_in.weight", "conv_in.bias".
Unexpected key(s) in state_dict: "ln_post.bias", "ln_post.weight", "ln_pre.bias", "ln_pre.weight", "proj", "style_embedding", "transformer_layes.0.attn.in_proj_bias", "transformer_layes.0.attn.in_proj_weight", "transformer_layes.0.attn.out_proj.bias", "transformer_layes.0.attn.out_proj.weight", "transformer_layes.0.ln_1.bias", "transformer_layes.0.ln_1.weight", "transformer_layes.0.ln_2.bias", "transformer_layes.0.ln_2.weight", "transformer_layes.0.mlp.c_fc.bias", "transformer_layes.0.mlp.c_fc.weight", "transformer_layes.0.mlp.c_proj.bias", "transformer_layes.0.mlp.c_proj.weight", "transformer_layes.1.attn.in_proj_bias", "transformer_layes.1.attn.in_proj_weight", "transformer_layes.1.attn.out_proj.bias", "transformer_layes.1.attn.out_proj.weight", "transformer_layes.1.ln_1.bias", "transformer_layes.1.ln_1.weight", "transformer_layes.1.ln_2.bias", "transformer_layes.1.ln_2.weight", "transformer_layes.1.mlp.c_fc.bias", "transformer_layes.1.mlp.c_fc.weight", "transformer_layes.1.mlp.c_proj.bias", "transformer_layes.1.mlp.c_proj.weight", "transformer_layes.2.attn.in_proj_bias", "transformer_layes.2.attn.in_proj_weight", "transformer_layes.2.attn.out_proj.bias", "transformer_layes.2.attn.out_proj.weight", "transformer_layes.2.ln_1.bias", "transformer_layes.2.ln_1.weight", "transformer_layes.2.ln_2.bias", "transformer_layes.2.ln_2.weight", "transformer_layes.2.mlp.c_fc.bias", "transformer_layes.2.mlp.c_fc.weight", "transformer_layes.2.mlp.c_proj.bias", "transformer_layes.2.mlp.c_proj.weight".

Same problem. Unfortunately, it could not be solved. Maybe someone has some ideas?

it's only compatible with v1.5 as far as I know

i made a copy of t2iadapter_style_sd14v1.yaml and renamed it to match the model like so > t2iadapter_style-fp16.yaml
i did it at both instances i found the yaml file and now its working for me
G:\My Drive\sd\stable-diffusion-webui\extensions\sd-webui-controlnet\models
G:\My Drive\sd\stable-diffusion-webui\models


Not hiding overflow:hidden data

I am using html2canvas to make 1 image out of 3-4 images. All these images can be zoomed for which i am using jquery zoom. There is one parent div holding all these images.
Overflow is hidden for all these images so that user can set it as per his wish.
Without zooming, on Html2Canvas, i am getting a perfect canvas element. But when any image is zoomed, and then i try HTML2Canvas, the hidden content is shown in canvas created. Is there a solution for this which i may not aware of.
My functionality is similar to http://www.fotor.com/features/collage.html.
Thanks in Advance.

Is this still an issue with v1.0.0? If so, could you please share an example on jsfiddle.

-> Add CSS overflow-y: scroll; to HTML element pdfHTML
-> Add attribute width & windowWidth to html2canvas method, which should be equal to width of pdfHTML Div
html2canvas(document.querySelector(".pdfHTML"), {
    width: 1350, windowWidth: 1350
}).then(canvas => {
    base64stringpdf = canvas.toDataURL("image/jpeg");
});


Handle offer errors during resume connection

When an error occurs during the webrtc offer creation during connection resume, the resume should be considered failed and an error returned.
Why?
I have seen some situations where the offer creation fails, with the following error message:
"msg"="could not negotiate" "error"="ICEAgent does not exist: unable to restart ICETransport"

I would have expected to see a retry, but instead the OnReconnected is called. This would indicate that the room connection is established, but it is not. The ParticipantCallback is never called, and the OnDataReceived are quiet.
This change makes sure that errors like this one result in a failure of resumeConnection() and thus trigger a proper retry.

 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.


[Feature Request]: Default Open/Save Directory

What would you like to happen?
Currently, the open and save file dialog default to the root default project instead of the current/most recent directory worked in. Would be nice for it to default in most recent directory or the directory the active pipeline/workflow
Issue Priority
Priority: 3
Issue Component
Component: Hop Gui

It would also be nice to remember the sorting applied (sort on filename/date/...)
We should also remember size/position of the window when closing and restarting HOP

.take-issue


DICOM conformance statement

Hello,
Does pynetdicom has a DICOM conformance statement?
Which transfer syntax does it support?
Thanks

pynetdicom has no conformance statement. pynetdicom allows application
entities (AEs) to be written, and these AEs should provide conformance
statements.
You can currently write AEs with pynetdicom that support big/little endian
and implicit/explicit transfer syntaxes.
2017-05-23 4:59 GMT-04:00 adizhol<EMAIL_ADDRESS>
Hello,
Does pynetdicom has a DICOM conformance statement?
Which transfer syntax does it support?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/patmun/pynetdicom/issues/67, or mute the thread
https://github.com/notifications/unsubscribe-auth/ANgw1j5VzYEvvDVrLy8Zf3B7vFDfByDiks5r8p_8gaJpZM4NjYgz
.

--
Patrice Munger


Segfault when parsing TFLite model with Unidirectional Sequence LSTM

Hi team, I'm running into a segmentation fault when trying to parse a tflite model which uses the unidirectional sequence LSTM.
Here is the code snippet that I tried to run:
    armnnTfLiteParser::ITfLiteParserPtr tflite_parser = armnnTfLiteParser::ITfLiteParser::Create();
    armnn::INetworkPtr ml_model = tflite_parser->CreateNetworkFromBinaryFile(model_name.c_str());

I'm testing it on x86-64 and here is the build command used with TF version 2.5.0 and ArmNN 22.05:
cmake .. \
	-DCMAKE_BUILD_TYPE=release \
	-DBUILD_UNIT_TESTS=0 \
	-DARMCOMPUTENEON=0 \
	-DBUILD_ARMNN_TFLITE_DELEGATE=0 \
        -DBUILD_TF_LITE_PARSER=1 \
	-DTENSORFLOW_ROOT=$BASEDIR/tensorflow-${TFLITE_VERSION}/ \
	-DFLATBUFFERS_ROOT=$BASEDIR/flatbuffers-1.12.0/install/ \
        -DTF_LITE_SCHEMA_INCLUDE_PATH=$BASEDIR/tensorflow-${TFLITE_VERSION}/tensorflow/lite/schema/
make -j32

Here is the segfault log in debug mode:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6899f87 in armnnTfLiteParser::TfLiteParserImpl::ParseUnidirectionalSequenceLSTM (this=0x619e20, subgraphIndex=0, operatorIndex=3)
    armnn-22.05/src/armnnTfLiteParser/TfLiteParser.cpp:3380
3380	    auto hiddentensor = CreateConstTensorPtr(subgraphPtr->tensors[operatorPtr->intermediates[4]].get(),

Any help would be appreciate, thanks!

Hi @n-moussa
Could you please share the model with us?

Hi @n-moussa
Can you try with this patch?
https://review.mlplatform.org/c/ml/armnn/+/7730
That should get you past the segfault, let us know if you encounter any other issues.
Best regards,
Mike

Hi @n-moussa
Can you try with this patch?
https://review.mlplatform.org/c/ml/armnn/+/7730
That should get you past the segfault, let us know if you encounter any other issues.
Best regards, Mike

Thanks for the patch, it fixes the segfault.
I now have the following exception error when using the optimizer for the default backend CpuRef:
terminate called after throwing an instance of 'armnn::LayerValidationException'
  what():  FullyConnectedLayer: TensorShape set on OutputSlot[0] does not match the inferred shape. : [1,1,48] != [1,48]
Aborted (core dumped)

With more details:
#6  0x00007ffff72690c1 in armnn::ConditionalThrowIfNotEqual<armnn::LayerValidationException, armnn::TensorShape> (
    message=Python Exception <class 'gdb.error'> There is no member named _M_dataplus.:
, leftHandSide=..., rightHandSide=...)
    at armnn-22.05/include/armnn/Exceptions.hpp:197
#7  0x00007ffff7345c6c in armnn::Layer::ValidateAndCopyShape (this=0x691f10, outputShape=..., inferredShape=...,
    shapeInferenceMethod=armnn::ShapeInferenceMethod::ValidateOnly, Python Exception <class 'gdb.error'> There is no member named _M_dataplus.:
layerName=, outputSlotIndex=0)

The code snippet used :
    armnnTfLiteParser::ITfLiteParserPtr tflite_parser = armnnTfLiteParser::ITfLiteParser::Create();
    armnn::INetworkPtr ml_model = tflite_parser->CreateNetworkFromBinaryFile(model_name.c_str());

    /// Create the runtime
    armnn::IRuntime::CreationOptions options;
    armnn::IRuntimePtr runtime(armnn::IRuntime::Create(options));

    /// Create the optimizer
    std::vector<armnn::BackendId> default_backend = {armnn::Compute::CpuRef};
    armnn::IOptimizedNetworkPtr optimizedNet = armnn::Optimize(
        *ml_model,
        default_backend,
        runtime->GetDeviceSpec()
    );

I uploaded the model in a shared drive, following the EULA, hope you get accessed to it.

Hi @n-moussa
Can you try creating your TfLiteParser like this:
    armnnTfLiteParser::ITfLiteParser::TfLiteParserOptions options;
    options.m_AllowExpandedDims = true;
    armnnTfLiteParser::ITfLiteParserPtr tflite_parser(ITfLiteParser::Create(armnn::Optional<ITfLiteParser::TfLiteParserOptions>(options)));

That may be enough to solve your problem.

I'm coming back on this, sorry for the delay, I was able to run the model under the armnn runtime, however, the outputs doesn't match with tflite runtime.
If I fed the model with the same input (10 arrays of zeros).
Here are the outputs from the 2 runtimes :

tflite runtime

[0.02496445 0.00159931 0.00135207 0.01229486 0.03196827 0.04249388
 0.05009481 0.05039027 0.05352601 0.05435741]

armnn runtime

[0.19643204 0.19643204 0.19643204 0.19643204 0.19643204 0.19643204
 0.19643204 0.19643204 0.19643204 0.19643204]

I can see 2 issues, the first output should be exactly the same as it's the same model with the same input data.
Then, armnn runtime seems to not maintain the internal states of the LSTM, this is why it gives the exact same results for the exact same inputs. Tflite runtime is by default maintaining the internal states of the LSTM from one prediction to another.
Is there an option with the armnn runtime to maintain the internal state of the LSTM ?
Thank you


rustfmt does not self-check its source exceeding max width anymore

We probably need to set the option to do this in rustfmt.toml


Would like to see a Fargate version of this

I've been working through the process of building out an ECS Fargate implementation of our application.    I'm somewhat new to AWS and ECS in particular, so this template has been a godsend.  I'd love to see an adaptation for Fargate.

This is being worked on at the moment by a colleague here at AWS. We will look to publish it soon. I'll leave this issue open until we do.

Also looking for a Fargate implementation of this architecture!

Is there any update on Fargate support? I am just interested if it might be days, weeks or months type granularity.

Won't it make more sense to do that as a separate project? I'm not sure how fargate slots into this specific project.

I think fargate actually deprecates the need of this(ecs cluster setup) only for some cases where you are willing to go on demand or pay more  so no need to add it here

any word on the fargate version?  This template works for Fargate too, but it has stuff in it that a fargate cluster does not need.

A year later: Any progress?

Related items I've found on my search for similar things:

https://github.com/pjlewisuk/fargate-refarch-cloudformation
https://containersonaws.com/architecture/public-service-private-network/


Send to Elm-Repl Keyboard shortcuts

I am not able to get the "send to REPL" keyboard shortcut to work? I want to send a selection to the REPL which is Alt+Enter (?), do I have to do something to enable the keyboard short cuts for the REPL?
(If I use the command palette it seems to work fine.)

Are you doing this from something other than an .elm file? I can't reproduce the problem when sending a selection from an elm file. If you do it from any other sort of file then the command might not work at all, which is a separate bug that I'll get on to fixing.

Also, there might be problem with other extension overriding same keyboard shortcut.

@stkb Thank you for your response. I am using an elm file and still the (Alt-Enter) short cut does not work. (If I use the command palette it seems to work fine.)
@Krzysztof-Cieslak  is there a way that I can check if some other extension is overriding it?
I think it is the ionoide F# extension as that has an Alt Enter command too.
If I want to disable this extension is there a way to do it base on the file i.e, disable for .elm files?
Since the file is a .elm file I would have thought that the vscode-elm should take precedence? Is that right?

I'm having the keybinding conflict problem in the opposite direction: I have both Ionide and the Elm extension installed in VS Code, and when I'm editing a .fs file, hitting Alt-Enter brings up the warning "No handler found for the command: 'elm.replSendSelection'. An extension might be missing an activation event."
I would expect that in a .fs file, Ionide's Alt-Enter keybinding would "win", while in a .elm file Elm's keybinding would "win". Instead, Elm is trying to handle Alt-Enter events when I'm editing a .fs file.


Firehose consumption using the Jetstream endpoint

Includes the implementation in net.gosha.atproto.jetstream.
Also includes a new examples/jetstream_analysis.clj file showing how to tap the firehose and collect some metrics on it.
We did add a new dependency on the charred library since it's significantly more performant than clojure.data.json. This doesn't matter so much for normal API usage but for firehose-level volumes it can make a big difference.
Implementation credit to @chase-lambert, I assisted some with design & review.

Will get these done, thanks! Except possibly the unit tests... this code doesn't really do anything at all except connect to an external service. By the time you mocked/stubbed enough to get a unit test, you'd basically not be testing anything at all.
It would certainly be valuable to think about what a functional or integration test suite might look like, though.

Thank you very much, @chase-lambert! I'm going to merge this.


Include pico_tone library

Fixes #1568
This PR includes tone functions to generate tones using PWM.
The tone function is similar to tone() from Arduino. I have also included a no_tone function to silence buzzer if needed.
I have a PR open in pico-examples repository which includes an example usage for this library.

https://github.com/raspberrypi/pico-examples/pull/444

Inspiration and References:

[docs.arduino.cc] - Play a Melody using the tone() function
[www.hackster.io] - PWM Sound Synthesis
[peppe8o.com] - Passive Buzzer with Raspberry PI Pico and MicroPython

This might be better suited to https://github.com/raspberrypi/pico-extras than it is to pico-sdk ?

Not an sdk issue


[Event Request] codeunit 99000854 "Inventory Profile Offsetting" - OnForecastConsumptionAfterCalcDueDate

In codeunit 99000854 "Inventory Profile Offsetting" please add the following event:
    local procedure ForecastConsumption(var DemandInvtProfile: Record "Inventory Profile"; var Item: Record Item; OrderDate: Date; ToDate: Date) UpdatedOrderDate: Date
    var
        ForecastEntry: Record "Production Forecast Entry";
        ForecastEntry2: Record "Production Forecast Entry";
        NextForecast: Record "Production Forecast Entry";
        CustomCalendarChange: Array[2] of Record "Customized Calendar Change";
        TotalForecastQty: Decimal;
        ReplenishmentLocation: Code[10];
        ForecastExist: Boolean;
        NextForecastExist: Boolean;
...
                            if TotalForecastQty > 0 then begin
                                ForecastInitDemand(DemandInvtProfile, ForecastEntry, Item."No.", ReplenishmentLocation, TotalForecastQty);
                                CustomCalendarChange[1].SetSource(CustomizedCalendarChange."Source Type"::Location, DemandInvtProfile."Location Code", '', '');
                                CustomCalendarChange[2].SetSource(CustomizedCalendarChange."Source Type"::Location, DemandInvtProfile."Location Code", '', '');
                                DemandInvtProfile."Due Date" := CalendarManagement.CalcDateBOC2('<0D>', ForecastEntry."Forecast Date", CustomCalendarChange, false);
                                // New event
                                OnForecastConsumptionAfterCalcDueDate(DemandInvtProfile, TotalForecastQty, ForecastEntry, NextForecast, Item, OrderDate, ToDate);
                                // New event
                                if DemandInvtProfile."Due Date" < UpdatedOrderDate then
                                    UpdatedOrderDate := DemandInvtProfile."Due Date";
                                DemandInvtProfile.Insert();
                            end;
                            ForecastEntry.SetRange("Forecast Date", ExcludeForecastBefore, ToDate);
                        until ForecastEntry.Next() = 0;
                until ForecastEntry2.Next() = 0;
        end;
    end;

    [IntegrationEvent(false, false)]
    local procedure OnForecastConsumptionAfterCalcDueDate(var DemandInvtProfile: Record "Inventory Profile"; TotalForecastQty: Decimal; ForecastEntry: Record "Production Forecast Entry"; NextForecast: Record "Production Forecast Entry"; var Item: Record Item; OrderDate: Date; ToDate: Date)
    begin
    end;

Thank you

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Support for Brazilian Holidays

🥳

Thanks!

Hi @devajmeireles, it seems I merged this one too quickly. The tests on CI here are failing (they didn't run in the PR). Could you take a look?

I updated my fork and ran the test again. I've noticed an exception in the Brazil class. After removing it and the skip of the test, the test passes successfully.

Could you open a PR with the fix? I skipped the Brazil test on the main branch, as they are failing with Github Actions

Could you open a PR with the fix? I skipped the Brazil test on the main branch, as they are failing with Github Actions

Done! https://github.com/spatie/holidays/pull/82


Incorrect sort?

I have a file with this from django.db.models import CASCADE, Q, SET_NULL which should be correct but isort changes it.
isort delete_me.py --diff
--- /home/cody/Desktop/delete_me.py:before	2019-09-06 12:08:26.907194
+++ /home/cody/Desktop/delete_me.py:after	2019-09-06 12:08:52.687445
@@ -1 +1 @@
-from django.db.models import CASCADE, Q, SET_NULL
+from django.db.models import CASCADE, SET_NULL, Q

I see this came up here. https://github.com/timothycrosley/isort/issues/376
It seems single characters are constants, but why would constants be imported first?

This only happens when order_by_type=True which is the default.
order_by_type is not documented. Where should it be documented?
There is also no tests for order_by_type=True and a single uppercase import.


feat: export to jaeger collectors w/ self-signed certs

This change covers adding configuration to the Jaeger CollectorExporter to support exporting to Collectors that use self-signed certificates or any certificate chain that can't be verified by Ruby's openssl implementation.
It works by passing the configuration parameter onto the Jaeger::HTTPClientTransport class.
A similar implementation could be added for the other HTTP based exporters.
I'm a bit unsure about passing the verify mode in as an envvar in its current form, so I'm keen for feedback on this. I believe this is the most correct approach as the flag are meant to be combined together using union operations (e.g. VERIFY_PEER | VERIFY_FAIL_IF_NO_PEER_CERT). However, this might not be obvious and I've not been able to find a reliable reference for this.

thanks @fbogsany, I hadn't noticed that these envvars were part of the spec.
This configuration is coupled to the Thrift Ruby implementation and Ruby's OpenSSL implementation so I can't see a generic enough way to add it to the spec. I have found SSL configuration options to be fairly inconsistent when working across languages.
I will rename it then to OTEL_RUBY_EXPORTER_JAEGER_SSL_VERIFY_MODE.

@ahayworth, I've applied your suggestion and I agree this works better.
I also realised that the other flags are just for server side configuration so they can ignored 😅

@chrisholmes Thanks so much! This looks good to me. 👍


Signify LTG005 connected via Zigbee2MQTT is not detected by Powercalc.

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
Signify LTG005 connected via Zigbee2MQTT is not detected by Powercalc.
Describe the solution you'd like
Signify LTG005 connected via Zigbee2MQTT sgould be detected by Powercalc.
Describe alternatives you've considered
There are no alterntives
Additional context

Could you please share the information from the device page of Home Assistant?
On the top left.
For example:

LTG005

LTG002

Alias added with #2854
Should be autodiscovered now after restart.


missing cursor modes

it seem missing the cursor mode (e.g. blinking, underscore, solid state... )
most of terminal emulator seem support it:
whit N that is 1...6
echo -en "\e[N q"

closed by #17


[Bug] sglang.launch_server error

Checklist

[X] 1. I have searched related issues but cannot get the expected help.
[ ] 2. The bug has not been fixed in the latest version.
[ ] 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.
[ ] 4. If the issue you raised is not a bug but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
[ ] 5. Please use English, otherwise it will be closed.

Describe the bug
(sglang) aluo@titan:~/sglang$ python -m sglang.launch_server --model-path /scratch3/data/Meta-Llama-3.1-8B-Instruct/ --enable-torch-compile --disable-radix-cache
server_args=ServerArgs(model_path='/scratch3/data/Meta-Llama-3.1-8B-Instruct/', tokenizer_path='/scratch3/data/Meta-Llama-3.1-8B-Instruct/', tokenizer_mode='auto', load_format='auto', dtype='auto', trust_remote_code=False, context_length=None, quantization=None, chat_template=None, host='<IP_ADDRESS>', port=30000, additional_ports=[30001, 30002, 30003, 30004], mem_fraction_static=0.88, max_prefill_tokens=None, max_running_requests=None, max_num_reqs=None, schedule_policy='lpm', schedule_conservativeness=1.0, tp_size=1, stream_interval=1, random_seed=1059195386, log_level='info', log_level_http=None, log_requests=False, show_time_cost=False, api_key='', file_storage_pth='SGlang_storage', dp_size=1, load_balance_method='round_robin', chunked_prefill_size=None, disable_flashinfer=False, disable_flashinfer_sampling=False, disable_radix_cache=True, disable_regex_jump_forward=False, disable_cuda_graph=False, disable_disk_cache=False, enable_torch_compile=True, enable_p2p_check=False, attention_reduce_in_fp32=False, efficient_weight_load=False, nccl_init_addr=None, nnodes=1, node_rank=None)
[gpu=0] Init nccl begin.
[gpu=0] Load weight begin. avail mem=78.69 GB
Initialization failed. controller_init_state: Traceback (most recent call last):
File "/home/aluo/sglang/python/sglang/srt/managers/controller_single.py", line 150, in start_controller_process
controller = ControllerSingle(
File "/home/aluo/sglang/python/sglang/srt/managers/controller_single.py", line 84, in init
self.tp_server = ModelTpServer(
File "/home/aluo/sglang/python/sglang/srt/managers/tp_worker.py", line 91, in init
self.model_runner = ModelRunner(
File "/home/aluo/sglang/python/sglang/srt/model_executor/model_runner.py", line 123, in init
self.load_model()
File "/home/aluo/sglang/python/sglang/srt/model_executor/model_runner.py", line 170, in load_model
self.model = get_model(
File "/home/aluo/miniconda3/envs/sglang/lib/python3.9/site-packages/vllm/model_executor/model_loader/init.py", line 21, in get_model
return loader.load_model(model_config=model_config,
File "/home/aluo/miniconda3/envs/sglang/lib/python3.9/site-packages/vllm/model_executor/model_loader/loader.py", line 267, in load_model
model = _initialize_model(model_config, self.load_config,
File "/home/aluo/miniconda3/envs/sglang/lib/python3.9/site-packages/vllm/model_executor/model_loader/loader.py", line 104, in _initialize_model
return model_class(config=model_config.hf_config,
File "/home/aluo/sglang/python/sglang/srt/models/llama2.py", line 318, in init
self.model = LlamaModel(config, quant_config=quant_config)
File "/home/aluo/sglang/python/sglang/srt/models/llama2.py", line 257, in init
[
File "/home/aluo/sglang/python/sglang/srt/models/llama2.py", line 258, in
LlamaDecoderLayer(
File "/home/aluo/sglang/python/sglang/srt/models/llama2.py", line 192, in init
self.self_attn = LlamaAttention(
File "/home/aluo/sglang/python/sglang/srt/models/llama2.py", line 125, in init
self.qkv_proj = QKVParallelLinear(
TypeError: init() got an unexpected keyword argument 'prefix'
Reproduction
(sglang) aluo@titan:~/sglang$ python -m sglang.launch_server --model-path /scratch3/data/Meta-Llama-3.1-8B-Instruct/ --enable-torch-compile --disable-radix-cache
Environment
Python: 3.9.19 (main, May  6 2024, 19:43:03) [GCC 11.2.0]
CUDA available: True
GPU 0,1,2,3,4,5,6,7: NVIDIA H100 80GB HBM3
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 12.5, V12.5.82
CUDA Driver Version: 555.42.06
555.42.06
555.42.06
555.42.06
555.42.06
555.42.06
555.42.06
555.42.06
PyTorch: 2.3.1+cu121
sglang: 0.2.7
flashinfer: 0.1.4+cu121torch2.3
requests: 2.32.3
tqdm: 4.66.5
numpy: 1.26.4
aiohttp: 3.10.3
fastapi: 0.112.0
hf_transfer: 0.1.8
huggingface_hub: 0.24.5
interegular: 0.3.3
packaging: 24.1
PIL: 10.4.0
psutil: 6.0.0
pydantic: 2.8.2
uvicorn: 0.30.5
uvloop: 0.19.0
zmq: 26.1.0
vllm: 0.5.2
openai: 1.40.6
anthropic: 0.33.1
NVIDIA Topology:
GPU0    GPU1    GPU2    GPU3    GPU4    GPU5    GPU6    GPU7    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      NV18    NV18    NV18    NV18    NV18    NV18    NV18    0-95,192-287    0               N/A
GPU1    NV18     X      NV18    NV18    NV18    NV18    NV18    NV18    0-95,192-287    0               N/A
GPU2    NV18    NV18     X      NV18    NV18    NV18    NV18    NV18    0-95,192-287    0               N/A
GPU3    NV18    NV18    NV18     X      NV18    NV18    NV18    NV18    0-95,192-287    0               N/A
GPU4    NV18    NV18    NV18    NV18     X      NV18    NV18    NV18    96-191,288-383  1               N/A
GPU5    NV18    NV18    NV18    NV18    NV18     X      NV18    NV18    96-191,288-383  1               N/A
GPU6    NV18    NV18    NV18    NV18    NV18    NV18     X      NV18    96-191,288-383  1               N/A
GPU7    NV18    NV18    NV18    NV18    NV18    NV18    NV18     X      96-191,288-383  1               N/A
Legend:
X    = Self
SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
PIX  = Connection traversing at most a single PCIe bridge
NV#  = Connection traversing a bonded set of # NVLinks
ulimit soft: 1024

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

Please try v0.3.0

This should be fixed in v0.3.1post1. Also, update your vllm dependency. v0.3.1.post1 requires vllm==0.5.5


Update log-effect-fs2 to 0.14.1

Updates io.laserdisc:log-effect-fs2 from 0.13.2 to 0.14.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.laserdisc", artifactId = "log-effect-fs2" } ]

labels: library-update, semver-minor

Codecov Report

Merging #382 (ff34087) into master (bd87597) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #382   +/-   ##
=======================================
  Coverage   62.84%   62.84%
=======================================
  Files          38       38
  Lines        1281     1281
  Branches        5        8    +3
=======================================
  Hits          805      805
  Misses        476      476

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 bd87597...ff34087. Read the comment docs.


Tree Event Listiner not triggered

Hi,
I'm having a problem, as I'm using the extension to use the tree doctrine extension.
I have the Tree working fine in database, yet I can't active the Listener, resulting in the common "Integrity constraint violation: 1048 Column 'lft' cannot be null" error. Problem is, all the answer for that error is to enable the Listener in the config.yml, which I did. For the record, here are the relevant parts of my config.yml
stof_doctrine_extensions:
    default_locale: fr_FR
    orm:
        default:
            tree: true

# Doctrine Configuration
doctrine:
    dbal:
        driver:   pdo_mysql
        host:     "%database_host%"
        port:     "%database_port%"
        dbname:   "%database_name%"
        user:     "%database_user%"
        password: "%database_password%"
        charset:  UTF8
        # if using pdo_sqlite as your database driver:
        #   1. add the path in parameters.yml
        #     e.g. database_path: "%kernel.root_dir%/../var/data/data.sqlite"
        #   2. Uncomment database_path in parameters.yml.dist
        #   3. Uncomment next line:
        #path:     "%database_path%"

    orm:
        auto_generate_proxy_classes: "%kernel.debug%"
        naming_strategy: doctrine.orm.naming_strategy.underscore
        auto_mapping: true
        mappings:
            gedmo_tree:
                type: annotation
                prefix: Gedmo\Tree\Entity
                dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Tree/Entity"
                alias: GedmoTree # (optional) it will default to the name set for the mapping
                is_bundle: false

What else could block the listiner from triggering please ? I'm using an entity with materializedpath strategy, on which I did put the MaterializedPathRepository.
The only "exotic" thing that could happen with that Entity is that it is my User class which extends FOSUser, but the updateUser function I use does persist and then flush the entity.
So, there is no reason for the event listener not to work on the entity before it goes to the DB ?
Thank you for your time and answers !

I was able to find the solution alone in the end.
For those who would encounter the same problem :
Most of the official doc use nested strategy as the example, then they add the required fields for that strategy.
For MaterializedPath, the only fields which are necessary are $lvl, $title, $path, $parent and $children,
Any other like $root, $lft, and so on will only prevent the listener from working, then it will cause error on SQL query.

Hi
I saw that you had a similar problem like me with tree doctrine extension.
I opened new issue with title:
This repository can be attached only to ODM MongoDB tree listener
can I ask you to look and give me your opinion?
I found that I have to call the event manager and passed to entity manager constructor.
Regards


Removes ./docs/ folder which now resides in the edgex-docs repo

Signed-off-by: Michael Hall<EMAIL_ADDRESS>

recheck

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1563   +/-   ##
=======================================
  Coverage   24.38%   24.38%
=======================================
  Files         104      104
  Lines        9638     9638
=======================================
  Hits         2350     2350
  Misses       7109     7109
  Partials      179      179

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 23f6ddb...0fae932. Read the comment docs.


Frontend app is not working on win 10.

I was running the project on Win 10. The backend and database are up and running, but I'm having trouble with the frontend. The linter is throwing errors, and after I removed the linter, the application freezes and throws strange errors. Could you please help me get the frontend running, at least within Docker? I would really appreciate your help :(

Fast Lite Message | FLM

You need to enable JavaScript to run this app.

Hello,
Can you confirm that you are on the develop branch ?
And can you provide your nodejs version ?
Thanks

Hello, due to inactivity, I'm closing this issue. Feel free to re-open a new one if you still have issues.


{N} geolocation simple app.

Sorry for open this issue, but I miss an example app. I created an example but not found, at least in the Android 6+ how to give permissions in app

Here you can find a sample app:
https://github.com/nsndeck/locationtest


Color Picker V2 update documentation

📝 Provide a description of requested docs changes
We need to update a screenshot of color picker on main page and in settings
something like this:

Update the documentation with new editor features and gifs which showcase that.
This documentation update request is a result of this PR: #7710

I can do the screenshots / GIFs @martinchrzan

Great! I can update documentation and give it to Clint for a proof reading.

I saw that CPv2 needs .Net 5.0. Do we have to update the prerequisites section and the "How to download .Net" section in docs too?

Great! I can update documentation and give it to Clint for a proof reading.

Once that PR is in place I'll create the GIFs for the wiki. I'll do a seperate PR for the image in the main read me and Settings.

I saw that CPv2 needs .Net 5.0. Do we have to update the prerequisites section and the "How to download .Net" section in docs too?
Or will .Net 5 be automatically includet in our installer?
cc: @enricogior, @crutkas

Best of my knowledge it is still .NET Framework 4.7.2. I didn't see a new csproj

I saw that CPv2 needs .Net 5.0. Do we have to update the prerequisites section and the "How to download .Net" section in docs too?
Or will .Net 5 be automatically includet in our installer?
cc: @enricogior, @crutkas

Best of my knowledge it is still .NET Framework 4.7.2. I didn't see a new csproj

okay.I thought the ci failed because of that 🤔

Failed due to wrong version of nuget for visual studio

@crutkas I still have the old image:

Image in the settings was merged after the release

I replaced it manually anyways:


@xstate/vue throws warnings when used with Vite

Description

When using xstate in components in Vite, the useMachine method throws warnings from the compiler:

It makes the state machine non-reactive. I'm not sure why this happens...
Expected Result
useMachine to not throw warnings and be reactive.
Actual Result
Warnings are thrown from the compiler.
Reproduction
I don't have a repro ready yet, because it's not very easy to set it up with Vite.
Additional context
Vite latest version, xstate and @xstate/vue latest version

Please always try to share a repro case in a runnable form - either by providing a git repository to clone or a codesandbox. OSS maintainers usually can't afford the time to set up the repro, even if exact steps are given.

I understand of course.
On the flip-side, it's sometime very, very time-consuming to reproduce the exact issue in a "new" environment and sometimes issues are more familiar to maintainers because they've encountered them before and/or they have more in-depth knowledge of their own code.
I'm not unwilling to try and replicate this (I normally do with smaller issues), I just don't always have hours to spend on it either.

I can close this issue, as I have tracked down that this is actually a problem with the VitePress dev mode.
I isolated it into vue-cli, Vite, and VitePress. And only VitePress in dev mode (not prod) throws these warnings, so something's up over there.
I will make a reproduction and open an issue on their GH, thanks!


Allow to parameterize seed value as in original murmur3 implementation

When I was implementing this change, I missed that similar work has been done already (#9 and #10), but I figured it's worth sharing.

added seed to every constructor (32-, 64- and 128-bit) as well as Sum32, Sum64 and Sum128
made sure that non-zero seeds are also tested for correctness (used other ref implementations to make sure that seeded outputs are correct and added them in test file)
my fork has been running in production already 🙂

Obvious drawback is the API breakage of this lib, so maybe the way to go would be to tag the lib and start versioning (e.g. 0.1 for current, and 0.2 for this PR and up)?

Thanks for the PR. I had roughly equivalent stahed patch that I uploaded this morning in 4ec5a0f56d4fc178129a8433576bf6f2fe672a9e. The API is extended (not altered) with seed aware constructors and top-level accessors.
It obiously conflicted your patch set, but I'd like to have at through since there's a few well deserved nitpicking, and I also find your seed slot location more ingenious than mine.
I can cherry pick those extra changes manually, it's up to you.
Thanks.

Extending the API was probably the right move. I have rebased my PR based on your changes and preserved the stuff the I believe you wanted to keep. Lemme know what you think!

All merged. Thanks!


Fix Vectored-Interrupt-Vector-Table alignment

Ensure that the RISC-V vectored-interrupt-vector-table (vivt) alignment is 64. There is/was a conflict of naming in the *.ld-file.

And also remove any now-unnecessary code/Makefile workarounds


ISO C++11 requires at least one argument for the "..." in a variadic macro

If you compile a project with -Wpedantic and -Werror you get this problem.
[build] /home/juan/projects/layers/layers/vk_mem_alloc.h:14549:69: error: ISO C++11 requires at least one argument for the "..." in a variadic macro [-Werror]
[build] 14549 |                     VMA_DEBUG_LOG("    Allocated as DedicatedMemory");
[build]       |                                                                     ^
[build] /home/juan/projects/layers/layers/vk_mem_alloc.h:14590:65: error: ISO C++11 requires at least one argument for the "..." in a variadic macro [-Werror]
[build] 14590 |                 VMA_DEBUG_LOG("    Allocated as DedicatedMemory");
[build]       |                                                                 ^
[build] /home/juan/projects/layers/layers/vk_mem_alloc.h:14595:52: error: ISO C++11 requires at least one argument for the "..." in a variadic macro [-Werror]
[build] 14595 |         VMA_DEBUG_LOG("    vkAllocateMemory FAILED");
[build]       |                                                    ^
[build] /home/juan/projects/layers/layers/vk_mem_alloc.h:14763:52: error: ISO C++11 requires at least one argument for the "..." in a variadic macro [-Werror]
[build] 14763 |         VMA_DEBUG_LOG("    vkAllocateMemory FAILED");

Thank you for reporting this issue. I pushed some changes. Please check if they fix the problem on your platform.

Thank you for reporting this issue. I pushed some changes. Please check if they fix the problem on your platform.

Just checked and the issue has been fixed, thank you :+1:


Add security events to SIEM targets

Area(s)
area:log
Is your change request related to a problem? Please describe.
Security information and event management (SIEM) commonly use CEF (Common Event Format) or LEEF (Log Event Extended Format) for formatting security related events.
The CEF specifications are available at https://raffy.ch/blog/wp-content/uploads/2007/06/CEF.pdf
Some introduction material at https://www.splunk.com/en_us/blog/learn/common-event-format-cef.html

Why is CEF important?
CEF is important because it provides a standardized format for logging security-related events, which makes it easier to integrate logs from different sources into a single system. This can be particularly useful for security information and event management (SIEM) solutions, which are designed to collect and analyze logs from multiple sources to detect and respond to security threats.

The LEEF specifications are available at https://www.ibm.com/docs/en/dsm?topic=leef-overview
Examples of events leveraging CEF or LEEF  to target SIEM:

https://learn.microsoft.com/en-us/defender-for-identity/cef-format-sa

Defender for Identity can forward security alert and health alert events to your SIEM. Alerts and events are in the CEF format. This reference article provides samples of the logs sent to your SIEM.

https://support.kaspersky.com/KSC/14.2/en-US/151345.htm

You can use the CEF and LEEF formats to export to SIEM systems general events,
The table below shows SIEM systems and the corresponding
formats of export.

SIEM system
Format of export

QRadar
LEEF

ArcSight
CEF

Splunk
CEF

LEEF (Log Event Extended Format)—A customized event format for IBM Security QRadar SIEM. QRadar can integrate, identify, and process LEEF events. LEEF events must use UTF-8 character encoding. You can find detailed information on LEEF protocol in IBM Knowledge Center.
CEF (Common Event Format)—An open log management standard that improves the interoperability of security-related information from different security and network devices and applications. CEF enables you to use a common event log format so that data can easily be integrated and aggregated for analysis by an enterprise management system. CEF events must use UTF-8 character encoding.

CloudFoundry security logs include fields described by the CEF (Common Event Format) , see https://docs.cloudfoundry.org/loggregator/cc-uaa-logging.html#format

CEF fields used by cloudfoundry security event logs

Cloud Controller logs security events in the Common Event Format (CEF). CEF specifies the following format for log entries:
CEF:Version|Device Vendor|Device Product|Device Version|Signature ID|Name|Severity|Extension

Entries in the Cloud Controller log use the following format:
CEF:CEF_VERSION|cloud_foundry|cloud_controller_ng|CC_API_VERSION|
SIGNATURE_ID|NAME|SEVERITY|rt=TIMESTAMP suser=USERNAME suid=USER_GUID
cs1Label=userAuthenticationMechanism cs1=AUTH_MECHANISM
cs2Label=vcapRequestId cs2=VCAP_REQUEST_ID request=REQUEST
requestMethod=REQUEST_METHOD cs3Label=result cs3=RESULT
cs4Label=httpStatusCode cs4=HTTP_STATUS_CODE src=SOURCE_ADDRESS
dst=DESTINATION_ADDRESS cs5Label=xForwardedFor cs5=X_FORWARDED_FOR_HEADER

See the following list for a description of the properties shown in the Cloud Controller log format:

CEF_VERSION: The version of CEF used in the logs.
CC_API_VERSION: The current Cloud Controller API version.
SIGNATURE_ID: The method and path of the request. For example, GET /v2/app:GUID.
NAME: The same as SIGNATURE_ID.
SEVERITY: An integer that reflects the importance of the event.
TIMESTAMP: The number of milliseconds since the Unix epoch.
USERNAME: The name of the user who originated the request.
USER_GUID: The GUID of the user who originated the request.
AUTH_MECHANISM: The user authentication mechanism. This can be oauth-access-token, basic-auth, or no-auth.
VCAP_REQUEST_ID: The VCAP request ID of the request.
REQUEST: The request path and parameters. For example, /v2/info?MY-PARAM=VALUE.
REQUEST_METHOD. The method of the request. For example, GET.
RESULT: The meaning of the HTTP status code of the response. For example, success.
HTTP_STATUS_CODE. The HTTP status code of the response. For example, 200.
SOURCE_ADDRESS: The IP address of the client who originated the request.
DESTINATION_ADDRESS: The IP address of the Cloud Controller VM.
X_FORWARDED_FOR_HEADER: The contents of the X-Forwarded-For
header of the request. This is empty if the header is not present.

Examples of log entries
The following list provides several example requests with the corresponding Cloud Controller log entries.

An anonymous GET request:
CEF:0|cloud_foundry|cloud_controller_ng|2.54.0|GET /v2/info|GET
/v2/info|0|rt=1460690037402 suser= suid= request=/v2/info
requestMethod=GET src=<IP_ADDRESS> dst=<%=vars.example_ip_1%>
cs1Label=userAuthenticationMechanism cs1=no-auth cs2Label=vcapRequestId
cs2=c4bac383-7cc9-4d9f-b1c0-1iq8c0baa000 cs3Label=result cs3=success
cs4Label=httpStatusCode cs4=200 cs5Label=xForwardedFor
cs5=<%=vars.example_ip_2%>

/CC @KarstenSchnitter
Security related CEF fields are not currently described in https://github.com/open-telemetry/semantic-conventions/blob/96f8bda9bab363cb01e2441820bc83a5dad15801/docs/attributes-registry/log.md nor in https://github.com/open-telemetry/semantic-conventions/blob/96f8bda9bab363cb01e2441820bc83a5dad15801/docs/attributes-registry/cloudfoundry.md
Describe the solution you'd like
New security event registry fields selecting relevant security fields from CEF and LEEF
Possibly cloudfoundry-specific extensions to CEF
Describe alternatives you've considered
No response
Additional context
No response

Thank you for providing this issue. I think this topic requires a thorough discussion.
I have access to the CEF logs of an entire Cloud Foundry installation and can provide additional examples from other components as well. The example you chose is essentially an access logs. There are existing attributes, e.g., in http.md. Note, that vcapRequestId and xForwardedFor are essentially HTTP headers x-vcap-request-id and x-forwarded-for.
Let me provide a different example to show the diversity of these logs. This one is from the vcap.agent running on all bosh vms, that comprise a Cloud Foundry installation. It is a DNS sync event for the Bosh deployment manager:
2024/10/09 20:06:49 CEF:0|CloudFoundry|BOSH|1|agent_api|sync_dns_with_signed_url|1|duser=director.32a3e9df-257d-4590-a6a7-2b5686d3cb2d.5ec737a2-28fb-4335-87f9-c30c314681b8.518a6cd0-9437-46cf-b5c8-d78143404c9f src=bosh.hcp-staging.internal spt=4222 shost=5ec737a2-28fb-4335-87f9-c30c314681b8

This event looks very different from your example. It has a different tag (CloudFoundry vs cloud_foundry) and very different extensions. Comparing just those two events, one might think, that the third entry cloud_controller_ng and bosh might be a service.name and the next field a service.version. But I would argue, that cloud_controller_ng and bosh are more likely a service.namespace. This becomes clearer from the syslog headers, that are coming with this message:
<7>1 2024-10-09T20:06:49.016608+00:00 <IP_ADDRESS> vcap.agent 5679 - [instance@47450 director="bosh-hcp-staging" deployment="application-logging" group="kafka" az="z3" id="f68fe289-0841-4ac7-b43d-29d645b55801"]

Following the cloudfoundry resource attributes, we would map vcap.agent to attribute cloudfoundry.system.id and f68fe289-0841-4ac7-b43d-29d645b55801 to cloudfoundry.system.instance.id. We can use those fields fields as service.name and service.instance.id. But we already know, that the service actually is bosh-dns. This is an example, where we might want to diverge and use this as service.name instead.
I think, from the example above it already becomes clear, that there should be a general decision first, whether SIEM formats should always use there own attribute sets or utilize existing attributes. From a brief look on the specifications it seems to me, that a mixture of both might be useful. For OpenTelemetry pipelines it is necessary to understand, that these SIEM events exist not on there own but have additional context as shown by the syslog header above. They will be mapped to the appropriate attributes independent of the event content.


parameters.csv

It'd be great if parameters.csv also include a column for "possible values", in this fashion

ID
possible_values

GB020
1: present, 0: absent

GB021
1: present, 0: absent

GB022
1: present, 0: absent

GB023
1: present, 0: absent

GB024
multistate 1: Num-N; 2: N-Num; 3: both.

GB025
multistate 1: Dem-N; 2: N-Dem; 3: both.

Why would you want to duplicate this information - and do that in an unspecified, somewhat hard to parse way? codes.csv is part of the CLDF spec, and grouping codes by feature ID isn't particularly difficult.

I thought it might be easier since that's how the coding sheets look. But sure, I can create that by group_by() in the scripts instead.
codes <- read_csv("../../cldf/codes.csv")  %>%
unite(possible_values_split, Name,  Description, sep = ": ") %>%
group_by(Parameter_ID) %>%
mutate(possible_values = paste0(possible_values_split, collapse = ", ")) %>%
distinct(Parameter_ID, possible_values)


CLOUD-539 Deleted unused email service. Refactored the used one

deleted unused email service implementation
refactored / renamed email sender

@biharitomi @doktoric please check it

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/976/

add somebody to review the pr

lgtm