pin apm version or unpublish<EMAIL_ADDRESS>

VERY BRIEF SUMMARY: We should have an exact version for apm in apm/package.json. Version ranges can cause the wrong (broken) version to be installed. We should also consider un-publishing the 2.5.0 release.

BACKGROUND: The latest releases of our forked apm<EMAIL_ADDRESS>is technically a pre-release for v2.5.0, according to semver.
That means npm install is free to "bump" from 2.5.0-atomic.2.1 to 2.5.0 any time it wants to. The fact that it doesn't always do this is lucky. I got unlucky in my CI run here, and it installed the old one with broken line endings on Unix. So my "Linux" and "macOS Build" jobs failed:

https://dev.azure.com/DeeDeeG/b/_build/results?buildId=591&view=results

https://dev.azure.com/DeeDeeG/b/_build/results?buildId=591&view=logs&j=e2cf4b02-5697-54ad-cf7c-fc2a840d53af&t=e716fffa-162f-53e5-ffce-5e575d04822c&l=83

SOLUTION: We can either pin to an exact version in apm/package.json, or un-publish our 2.5.0 release, or both.
WORKAROUND: Bump the core 2.5.0 version to something newer like 2.5.2 (e.g. 2.5.2-atomic.1) and DON'T publish a version of our forked apm with just the core version number, e.g. 2.5.2. ONLY publish [core]-atomic.[x] releases.
(FWIW I know publishing 2.5.0 was an accident that I could have easily done myself.)
(If our real, stable releases are going to use what's technically a pre-release numbering scheme, then the non-prerelease versions will always take precedence and be preferred by npm. So publishing core-only release numbers breaks the ergonomics/convenience of using our forked package. And makes npm install unreliable.)

I pinned the version. This should be fixed now. Closing?

Yeah, this is solved with #103, thanks.
This documentation says unpublish doesn't work 72 hours after publishing, but we can contact npm support if we ever really needed to take something down.
At least deprecation might show a warning letting us know what happened. I kind of wish script/bootstrap didn't hide so much output. It makes everything a bit harder to debug.


Viewing design models does not work

Describe the bug
Clicking on the example design model in the design model tab only throws a console error and does not open the view.
To Reproduce
Steps to reproduce the behavior:

Go to "Design Models"
Click on the example design model.

ERROR Error: The requested path contains undefined segment at index 0
will be logged to console.
Expected behavior
Open the display view for this model.

removed in ba-meyer-master


Can't Build x86_64-unknown-uefi Application

I'm trying to migrate a UEFI application from naersk to crane and am hitting issues. The problem is this:
initrd-stub-deps>     Checking uefi v0.18.0
initrd-stub-deps> error[E0463]: can't find crate for `std`
initrd-stub-deps>   |
initrd-stub-deps>   = note: the `x86_64-unknown-uefi` target may not support the standard library
initrd-stub-deps>   = note: `std` is required by `initrd_stub` because it does not declare `#![no_std]`
initrd-stub-deps>   = help: consider building the standard library from source with `cargo build -Zbuild-std`
initrd-stub-deps> error[E0463]: can't find crate for `test`
initrd-stub-deps> error: `#[panic_handler]` function required, but not found
initrd-stub-deps> For more information about this error, try `rustc --explain E0463`.
initrd-stub-deps> error: could not compile `initrd-stub` due to 3 previous errors

This is weird, because this is actually a no_std application. This can be reproduced using: nix -L build github:blitz/lanzaboote/crane-uefi#initrd-stub. The corresponding code is here.
The corresponding build with naersk is successful: nix -L build github:blitz/lanzaboote/crane-uefi#initrd-stub-naersk.
Any hints are appreciated! This also looks similar to #127.

Hi @blitz thanks for the report!
It looks like rustc +nightly -Z unstable-options --print cfg --target x86_64-unknown-uefi reports that the target_os cfg is set to "uefi" while the dummy source we create is checking that target_os = "none"
This should be fixed with #174!

Thanks for the fast fix! Will verify asap. :+1:

Thanks for the fast fix! Will verify asap. +1

Works! Thanks you very much! :tada:


Pypi version update

Can you please update new version of lib to the pypi?

The latest version has been published pypi.org. You can use it.


python312Packages.todoist-api-python: 2.1.3 -> 2.1.4

Diff: https://github.com/Doist/todoist-api-python/compare/refs/tags/v2.1.3...v2.1.4
Changelog: https://github.com/Doist/todoist-api-python/blob/v2.1.4/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 310358 run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.todoist

4 packages built:

python311Packages.todoist-api-python
python311Packages.todoist-api-python.dist
python312Packages.todoist-api-python
python312Packages.todoist-api-python.dist

Result of nixpkgs-review pr 310358 run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.todoist

4 packages built:

python311Packages.todoist-api-python
python311Packages.todoist-api-python.dist
python312Packages.todoist-api-python
python312Packages.todoist-api-python.dist

Result of nixpkgs-review pr 310358 run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.todoist

4 packages built:

python311Packages.todoist-api-python
python311Packages.todoist-api-python.dist
python312Packages.todoist-api-python
python312Packages.todoist-api-python.dist


Trigger characters for signatureHelp are wrong

I'm trying to use omnisharp from Sublime Text and we have discovered that the trigger characters which are registered are simply wrong. At the very least they must contain (. omnisharp works in VSCode but that appears to be because their client manually triggers signatureHelp with the correct characters for C#, namely ( .
https://github.com/OmniSharp/omnisharp-roslyn/blob/db948600c7fef3ff462782fdee3a1f8ffde52a41/src/OmniSharp.LanguageServerProtocol/Handlers/OmniSharpSignatureHelpHandler.cs#L23

Gentle ping @david-driscoll, you seem to have last modified this line in 9539e299d6665b4cd0eb3c8ee1d0df1691df1bf4.
Is there any special logic in the vscode client that causes omnisharp to show signature help when an opening parenthesis is typed?

It looks like signature help isn't implemented at all. Because changing those triggers to ( and , will show raw XML docs, which should be translated to Markdown.

@rwols signature help is implemented, it works fine in neovim, but I had to override the signature_help_trigger_characters to "(", ",", "<" via my plugin.

@insidewhy omnisharp will still render the signature help docs as raw unformatted XML.

@rwols I don't know what to say, but it's working perfectly in neovim after this fix. I'm not seeing any raw unformatted XML, everything is looking great.

At the very least they must contain (.

@genericptr It must also contain , or you won't get signature help for anything but the first argument. Typescript language server will also give signature help for generics, so there < should also be provided, but I'm not sure if omnisharp can support that yet (but it doesn't hurt to include it).

@filipw this was resolved by https://github.com/OmniSharp/omnisharp-roslyn/pull/2193

correct thanks


Use PSR-15 HTTP Middleware

Scheduling for 4.0, as signatures change, which would break compatibility for any extending classes.

Thanks, @xtreamwayz


Could not resolve host: https

i have downloaded this code and im running it on localhost, its giving me this error at
Notice: Undefined offset: 1 in C:\xampp\htdocs\ultracart\rest_api-master\call_examples\rest_proxy.php on line 190

Line 190 is part of the code that separates the header from the body of the response.
// now we just have the normal header and the body
$parts = explode($delimiter, $response, 2);
$header = $parts[0];
$body = $parts[1];  // << line 190

I haven't seen that error before with the rest_proxy.php.
To diagnose further, we need to see the response.
A few lines up, the response is logged out here:
if ($proxyDebug) error_log("start response ===========================================");
if ($proxyDebug) error_log("start raw response =======================================");
if ($proxyDebug) error_log($response);
if ($proxyDebug) error_log("end raw response =========================================");

Make sure $proxyDebug is set to true, capture the raw response, and post it here, please.

im sorry, im a newbie, im afraid i can't find where these error_log messages are printing, in the code their is no message_type or destination parameter is set, so where these messages are going?

found the error, i was providing https in the variable $storefronturl and it was also appending at the bottom..


feat: basic MDNS discovery

Description
This uses a simple scheme to discover dialing information of local nodes via MDNS.
The service is using a hashed version of the node id, to avoid broadcasting the node id directly.
Notes & open questions
This is not a compile time feature, but just a runtime feature, seems okay to me, but others might have different opinions.

Ah, if we do that tickets that contain nothing but a node id become useful. So we should change NodeTicket::validate and BlobTicket::validate to not consider such tickets as invalid.

Still missing 2 things:

issue or todo about dealing with endpoint change
allowing tickets with neither ip addrs nor derp url

issue or todo about dealing with endpoint change

this is already being done, the impl itself now monitors ip addr changes

issue or todo about dealing with endpoint change

this is already being done, the impl itself now monitors ip addr changes

So this is the .enable_addr_auto(); feature, and we don't hook it up with our own IP addr detection? So we got 2 things running to detect IP changes, this built in thing and ours which also tries to figure out public IPs.
I have not really an idea how this works in detail, but could there be a problem that these two things interfere with each other?

I have not really an idea how this works in detail, but could there be a problem that these two things interfere with each other?

I don't think there is any risk there, as they just like at the network interfaces of the machine. The only thing that could happen is that they are inconsistent, which is not ideal, but also not a big issue.
Now it would be nicer to be able to hook up our existing machinery into the library, but that is currently not exposed, and seems like sth to worry about for much later, if ever.

It is a bit unfortunate that we can't have this be just a discovery mechanism that you can plug into the existing one. I can imagine many scenarios where you want to combine multiple discovery mechanisms. Hardcoding them all is clearly not great.
But I noticed that the discovery trait might need an update to allow this. E.g. discovered nodes should be a stream, and each discovered node should come with some kind of provenance so you know where you know it from.

while fun, this needs more thought and work before we can merge this

But I noticed that the discovery trait might need an update to allow this. E.g. discovered nodes should be a stream, and each discovered node should come with some kind of provenance so you know where you know it from.

yes, for properly pluggable discovery mechanisms, we would need to extend the existing hooks quite a bit


Can I delete this parameter？ --raw=true   is error when run nnet3-copy

ERROR (nnet3-copy[5.5.543~2-7249c]:Read():parse-options.cc:365) Invalid option --raw=true

Got same error as stated above

Hey, I just figured it out. Simply ignore '--raw=true' doesn't hurt

Hey, I just figured it out. Simply ignore '--raw=true' doesn't hurt


[Skipper] [ECS] Deprecate only skipper, as error prone and hard to configure right + allow file paths in skipper

[Skipper] [ECS] Deprecate only skipper, as error prone and hard to configure right
[Skipper] Allow passing files too

Hey @TomasVotruba,

The option only() is deprecated as error prone and hard to do right. Use skip() with configuration instead.

skip() doesn't allow to use negation, so now we have no ability to apply a sniff to some specific dir/file.


Remove lint check

r? @canndrew
(maidsafe_highfive has picked a reviewer for you, use r? to override)

r? @Fraser999


Remove unused deps

Summary
From what I can tell these were unused dependencies. Leftovers after refactors?

Test plan
jest

I think only the changes to jest-util and jest-phabricator are legit, we need implict dependencies on jest-environment-* and babel-jest, so that a full install of Jest will work properly. It only works in this repo because everything is already there.

Ok, will fix tomorrow

@cpojer Update 🙂

Works for me!

Codecov Report

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

@@            Coverage Diff            @@
##             master    #4347   +/-   ##
=========================================
  Coverage          ?   59.61%
=========================================
  Files             ?      193
  Lines             ?     6898
  Branches          ?        6
=========================================
  Hits              ?     4112
  Misses            ?     2783
  Partials          ?        3

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 84b2502...1771aff. Read the comment docs.


Add support for nulls and more deeply nested types for complex types in array sort

This should fix #3040 .

Working on test cases.


Buttons not working.

I have several buttons on the wheel that seem to trigger the same number in the Windows 11 USB Controller Setup tool

This is intended behavior. There is no way around it as the wheel reports these buttons to be exactly the same and there is no way to distinguish them.


Wearing Manual for German cannot be displayed

Clicking on the Wearing Manual in German link (https://raw.githubusercontent.com/DIYMask/DIYmask.github.io/version2/img/HKMask_wear_German.jpg), the following error appears:
https://raw.githubusercontent.com/DIYMask/DIYmask.github.io/version2/img/HKMask_wear_German.jpg cannot be displayed, because it contains errors
Thank you very much for your work!

#8 will correct this

#8 will correct this

Yes. Fixed


[WIP] NixOS: Add networking.rini module

Motivation for this change
RINA is a new and better Internetwork architecture. IRATI is an implementation of RINA for Linux.
Things done

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

[x] NixOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Thanks @peterhoeg - very helpful! I will fix those things shortly. And I also want to add a couple more test scenarios and fix the bug in existing test.

Are there any updates on this pull request, please?


gpu

I tried running ollama on a laptop and noticed that it wasn't using gpu. I don't know why as cuda is installed and is the correct version for the video drivers.
I'd like to request an enhancement, of an error message that says something to the effect of gpu noticed but not used because....
I'd also like to be able to see the message when running ollama, something like
/show ollamasystem

Could you provide more information about your computer and what OS you're running and such?

Same issue here - I'm running Fedora 39 server with GPU drivers installed
Driver Version: 545.29.06    CUDA Version: 12.3
NVIDIA GeForce GTX 950M
Yet when running a model the GPU does nothing

laptop has gtx960m nvidia running linux-mint with cuda 12 installed.

Latest version fixed this bug


Is there a way to synchronise Ruff version in ruff-pre-commit with Ruff version in project dependencies?

Is there a way to synchronise Ruff version in ruff-pre-commit with Ruff version in pyproject.toml project dependencies?
Can we use the local Ruff in ruff-pre-commit for that?

Not to my knowledge. You could try to write a custom hook and e.g. use uv to run `ruff.

In most of my projects I use renovate for automated dependency-update PRs. An advantage over e.g. dependabot is that it supports updating dependencies in pre-commit configuration files as well as dependencies in pyproject.toml files, so you can get a single PR that updates the Ruff dependencies in both locations at the same time. (However, while I've never had any problems with renovate's pre-commit support, note that the pre-commit maintainers themselves are not particularly fond of renovate, so it's not a method that's officially endorsed by pre-commit of keeping your pre-commit dependencies up to date.)
Other than that kind of automated dependency update, I don't think there's any way of keeping them automatically in sync other than writing a custom test script that parses the YAML and TOML files and compares the Ruff pins.


[Bug] Minor issue with re-using change address

What happened?
I have a video, which I can upload later if needed. But it is pretty straight forward. Essentially:
One of my addresses, sys1qh6jx34pztsl2mf6tdz0l5hy9mvmfaq3qtpumfu - balance of 0 sys but has 5 previous TXs
Based on UTXO never wanting to use this address again due to the weakening security of an already used address, it should not really be used again if possible. However, after making a TX when pali generated a new change address, it ended up using the above address as my receiving address in Pali address again.
I am assuming it is checking for a 0 balance address, rather than an address with 0 balance and 0 previous tx's?
Version
1.0.28
What platform are you using?
Windows
What browser are you using?
Chrome
Is this a trezor issue?
No
Relevant log output
No response

hi @nrhs05, we are checking into it now, sorry for the late reply, as soon as we have a new version i'll reopen this issue so you can know and test it, thanks for reporting this 😄


OnDelete Launched when object inside a

Expected behaviour
When component is inside a label it should work as usual.
Current behaviour
When component is inside a label it launched onDelete event on object addition and some weird behaviours.
Steps to Reproduce
Steps to reproduce the problem:

Create a component wrapping the  with a  tag like: <></>
Make that component receive the selected, suggestions, onAdd, onDelete props from parent.
Render the whole component and enjoy the bug.

Additional context
Maybe it's just me, I'm going to add my code below:
const TagPicker: FC<CustomTagPickerProps> = ({labelText, onUpdate, selectedTags, suggestions, ...rest}) => {
    const [component, setComponent] = useState<any>(null);

    return <>
        <label className={styles.Label}>{labelText}<br/>
           <ReactTags
              selected={selectedTags}
              suggestions={suggestions}
              onDelete={(i:number) => {
                  console.log("Delete");
                  const tags = selectedTags.slice(0);
                  tags.splice(i, 1);
                  onUpdate(tags);
              }}
              onAdd={(tag:Tag) => {
                  console.log("Add");
                  onUpdate([...selectedTags, tag]);
              }}
              labelText={labelText}
              allowNew={true}
              allowBackspace={false}
               />
        </label>
        </>
}

onUpdate method is a useState setter method from the parent while selectedTags is the useState value.
IMPORTANT INFO
I solve this issue by adding
onClick = { (e)=>{ e.preventDefault() } }
to the label tag. But I think there should be some issue with the component.

Thank you for your report @xavis. Rendering a complex component such as this one within a label element is not valid and this is not a use case I can support.
The HTML spec specififies that a label element may contain:

Phrasing content, but with no descendant labelable elements unless it is the element's labeled control, and no descendant label elements

This component is built with multiple flow content elements (e.g. div) and multiple labeleable elements (button, input) that should not be rendered inside a label.
I believe the "weird behaviours" you're experiencing are due to the activation behaviour of label elements. What I expect you're seeing is that mouse events on your label element - hover, clicks, etc - are being fired as if the originated from the first interactive element rendered by this component. Here's an example given by the HTML spec:

on platforms where clicking a label activates the form control, clicking the label in the following snippet could trigger the user agent to fire a click event at the input element, as if the element itself had been triggered by the user.

I hope this helps.

Yes, that is exactly what happens. But I was surprised about the launch of onDelete method.
Just wanted to warn about that behaviour, and mainly share the quick fix:
if anyone find the same issue would be to add e.stopPropagation() on label onClick event.

I was surprised about the launch of onDelete method

Hopefully this now makes sense after the explanation given above, the native activation behaviour of the label will target  the first labeleable child - in your case a selected tag. I'll reiterate that this is not valid HTML so the behaviour you and your users experience may not be predictable, especially because the activation behaviour of labels is left to the implementor and may vary between browsers, platforms and devices.


(love) Just to tell you how great your software is

The real issue is maybe that opensource developers don't receive enough gratification.
Thanks to you, creator can build better software
Have a nice day =)

Thanks!


XBMC Launcher not shown in Marshmallow

The option to use this as the default launcher is broken in Marshmallow. My install is purely for my mother to use Kodi, and as such this launcher was fantastic! It took all of the complication away from using it! I'd love to help if we can get it working again! I'm not sure what info would be of use to you, but here's my setup:
Device: Nexus Player
OS: Stock, latest update
XBMC install: Stock Kodi app from Play Store
XBMCLauncher is latest version as well.
Let me know if I can provide anything further.
Thanks,
BuddyLuvve

Unfortunately there is an issue with changing the default launcher in Marshmallow on Android TV devices for some reason. Other launchers have the same issue from what I've seen.
I've had multiple users report this issue but have yet to find a solution unfortunately. The only potential workaround I know of at this time is to downgrade to Lollipop.

I noticed that someone figured out how to edit Kodi to act as a launcher on the Nexus Player... Maybe he has an idea on how to get it to work. I can send a message tomorrow and see what he changed.
http://forum.xda-developers.com/nexus-player/themes-apps/kodi-14-2-x86-launcher-manifest-t3125625

Does that one still work on Marshmallow though? XBMC Launcher worked just fine on the Nexus Player before that update.

I'm not sure. I'll sideload it tonight and see if it works.

@BuddyLuvve Would you mind testing this and see if it solves the issue?
https://www.dropbox.com/s/xr7x9tj3yxko8os/XBMCLauncher-leanback-test.apk?dl=0

It seems to be pointless trying to get it working. Google simply doesn't want it to be.
https://code.google.com/p/android/issues/detail?id=191828


Include site with online courses from different providers

Hi Kirang,
we have recently launched classpert.com, a website that gathers online courses from several providers into a single page, so that students can find the course that best suits then. It includes free and paid courses, allowing users to filter by price, language, provider, and so on.
I've proposed to include a link to our Python programming course bundle. I think it can be helpful for learners who like to take video courses but don't know exactly where to start.
Best regards,
Igor Rocha

@IgorRocha Thank you for contributing! :)

Merged. Thanks again :)


[5.9] Support required inits in @objcImpl

Explanation: Permits the implementation of required inits, like those required by protocols, in an @_objcImplementation extension, and ensures the required-ness of interfaces and implementations match. This change is necessary to write conformances to protocols like NSCopying.
Radar (and possibly SR Issue): rdar://110016760
Scope: Affects early adopters of the unfinished @_objcImplementation feature, and is not expected to cause regressions.
Risk: Very low. In the 5.9 branch, this change will emit only warnings, not errors.
Testing: Includes unit tests.
Reviewed By: @tshortli in apple/swift#66262.

@swift-ci please test


Class "TomatoPHP\FilamentAccounts\Filament\Resources\AccountResource\Pages\AccountPages" not found

Hello,
I try to install the package with Laravel 11 and php 8.2 but I have this error

Any idea?

fixed in the last version.


changed uppercase, punctuation, short from.

Its looks good when some beginner is going through this file.

Its looks good when some beginner is going through this file.

Please share on social media and give a start


Unable to get/set RFID user code in HA z-wave management

Home Assistant release (hass --version):
0.58.0
Python release (python3 --version):
Python 3.5.2
Description of problem:
Unable to get/set hex RFID user code for Zipato z-wave keypad. The hex code of the RFID tag is displayed in OZW.log, but not displayed in user codes:

User code field does not accept hex values, but RFID code is a ten value hex code.
Only numeric codes are possible to get and set.

What is the output in your home assistant log when you issue the get_usercode service for the node?

There is no output in the ha log.
If I scan the tag, in OZW.log:
2017-11-22 21:56:44.081 Info, Node027, Received User Code Report from node 27 for User Code 0 (Available)...
but in the node field 0 is empty.
If I type a code in the keypad, it is shown in field 0.
If I copy the hex code an try to enter it in field 1, the interface is reseted.

In the developer tools menu:

Choose:
Domain: lock
Service: get_usercode
and type your appropiate data.
In homeassistant.log you will get a line like:
Usercode at slot x is: xxxx

That is right for json?
{
"node_id":"27",
"code_slot":"1"
}

Looks good.👍

This is what I get from code 0 with pincode 1111:
2017-11-22 22:36:04 DEBUG (Dummy-13) [openzwave] zwcallback args=[{'valueId': {'commandClass': 'COMMAND_CLASS_USER_CODE', 'readOnly': True, 'id':<PHONE_NUMBER>6729097, 'type': 'Raw', 'index': 0, 'nodeId': 27, 'instance': 1, 'value': '1111\x00\x00\x00\x00\x00\x00', 'homeId':<PHONE_NUMBER>, 'units': '', 'genre': 'User', 'label': 'Enrollment Code'}, 'homeId':<PHONE_NUMBER>, 'notificationType': 'ValueChanged', 'nodeId': 27}]

With transponder...nothing.

And that is what I get in OZW.log:
2017-11-22 23:12:07.991 Info, Node027, User Code Packet is 10
2017-11-22 23:12:07.991 Detail, Node027, Refreshed Value: old value=642b1110, new value=80f11720, type=raw
2017-11-22 23:12:07.991 Detail, Node027, Changes to this value are not verified
2017-11-22 23:12:07.991 Info, Node027, Received User Code Report from node 27 for User Code 0 (Available)
2017-11-22 23:12:07.991 Detail, Node027, Notification: ValueChanged
2017-11-22 23:12:08.046 Detail, Node027,   Received: TEN_VALUE_HEX

does the ten digit hex recieved for the tag complie with this:

Ah, also I came accross this: https://github.com/OpenZWave/open-zwave/pull/1059
So for now we are left in the dark.

I tried with ozwcp and I was able to set to RFID tag as usercode to slot 2.
But in HA z-wave management I cannot see the code.
Log:
2017-11-23 20:08:14 INFO (Thread-5) [homeassistant.components.lock.zwave] Usercode at slot 2 is:

Fixed by https://github.com/home-assistant/home-assistant-polymer/pull/677


Fix grep bug

I had used a GREP string that was not supported on all browsers. We hit issues with the Electron browser so I replaced the GREP with some functions I wrote.

:tada: This PR is included in version 0.324.39 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Added kwargs width

This pull request adds kwargs width.

I purposely did not add the width parameter to kwargs. The default 100% width of the notebook cell is preferred than the hard-coded width.

Actually, the width parameter has no effect. No matter what number you use, the map will always take up 100% width of the cell. This might be bug of the kepler.gl Python package.

See this example. width has no effect.
from keplergl import KeplerGl
map_1 = KeplerGl(width=200)
map_1

I see, interesting. Previously, when I was running leafmap.kepler it would return an Error saying KeyError: 'width'. However, now when I run my program it doesn't happen anymore... which is very odd. It might have been because I had widescreen as False but seeing what you are saying I'm not sure anymore.

If width is unnecessary I don't see a reason to implement it.

Since the width parameter has no effect, I am ok with merging this pull request. I have reported this bug at the kepler.gl repo
https://github.com/keplergl/kepler.gl/issues/1671. If one day Kepler.gl fixes the width bug, I can revert the width back to 100% rather than 600 px.

Understood, thank you so much for taking the time to review my pull request!

Thank you for the PR. You have become an official contributor to leafmap 🚀


Mapping Python print to JavaScript console.log

@rmliddle @windelbouwman would you mind reviewing this code?
I'm not sure what's the best way to allow different version of print builtin function. I add the builtins argument to VM's new(), so we can inject different version of builtin implementation to it. But maybe I need to use builder pattern or a Trait for that. What your thoughts on this?

This is how it works, we can build more interesting webpage demo on top of it.

I think creating a seperate print method is not really the way to go here. It would be better to extend the existing print method to take a file= keyword argument which can then be overridden. What really should be done to reroute the standard output is implement sys.output so that this stream can be overridden in javascript.
Also, if you wish to replace the default print function with a new one, you can do so by setting the print argument on the builtin module. At least, this should be possible to do. For this you could use maybe something like vm.builtins.set_attr('print', new_js_print_func).
So far my opinions!

Yes, your suggestion makes more sense. I'll work on it.

@windelbouwman if we add a file= argument to the print function, what do you think is a good place to specify that dependency? We might have to expose that argument all the way to VirtualMachine::new(). Maybe I should add the argument as file: Option<?> and impl Default for it, so we default to None, which will use the system stdout?

Btw, the following would be best in my opinion:
let builtins = vm.import("builtins")?;
builtins.set_attr("print", ctx.new_rustfunc(javascript_print));

Then we do not need dependency injection into the vm during creation, and the VirtualMachine remains trivial to create!

If you see this python documentation: file:///usr/share/doc/python/html/library/functions.html#print
Notice that file has a default argument. Default arguments are already supported in rustpython, you can query for keyword arguments in rust code. Best way would be to leave the original print function, and implement sys.stdout instead and patch that with a sys_module.set_attr("stdout", some_object) call in rust.

That is correct, since print does not yet use sys.stdout. It should though, in future, so the print function should not be the one to monkey patch. You can for now monkey patch the builtin print with set_attr. Later, this should be changed to patch sys.stdout in the same manner.

@windelbouwman I've pushed a few more commits to fix it. Please kindly review the final diff and I'll squash the commits before merge.


Double check edit button binding

Sometimes edit button does not respond at all. Is not reproducible.

This doesnt work with release build & without attached debugger as well!


Cannot loop over test(..) functions

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Write a test like this:
void main() async {
   var bs = [true, false];
  for(bool b in bs){
    test("This is a test", () async {
       // Test that depend on state of `b`
    });
    test("This is another test", () async {
       // Test that depend on state of `b`
    });
  }
}

Expected results
Each test runs twice.  Once with v=b and once wirth !b
Actual results
Tests run once with !b
Code sample
Code sample
Above
Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
% flutter doctor -v
[✓] Flutter (Channel stable, 3.13.4, on macOS 13.4 22F66 darwin-arm64, locale en-AU)
    • Flutter version 3.13.4 on channel stable at /Users/user/Documents/Flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 367f9ea16b (18 hours ago), 2023-09-12 23:27:53 -0500
    • Engine revision 9064459a8b
    • Dart version 3.1.2
    • DevTools version 2.25.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] VS Code (version 1.81.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.72.0

[✓] Connected device (3 available)
    • iPad (mobile)   • 00008103-000229CE1E31001E • ios            • iOS 16.6.1 20G81
    • macOS (desktop) • macos                     • darwin-arm64   • macOS 13.4 22F66 darwin-arm64
    • Chrome (web)    • chrome                    • web-javascript • Google Chrome 114.0.5735.198

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Hi @WorikQCI, I added some print statements to the test, just to see the state of things and it seems like both tests were run twice.
00:01 +0: loading /Users/nexus/Downloads/textfieldtest-master/test/widget_test.dart
Testing for: b = true
Testing for: b = false
00:01 +0: This is a test
a test: b = true
00:01 +1: This is another test
another test: b = true
00:01 +2: This is a test
a test: b = false
00:01 +3: This is another test
another test: b = false
00:01 +4: All tests passed!

sample
void main() async {
   var bs = [true, false];
  for(bool b in bs){
    print("Testing for: b = $b");
    test("This is a test", () async {
       // Test that depend on state of `b`
       print("a test: b = $b");
    });
    test("This is another test", () async {
       // Test that depend on state of `b`
       print("another test: b = $b");
    });
  }
}

Can you provide a more complete test that demonstrates the issue you're facing?


possible flaky test

When I run pytest --flake-finder, this test gave me an error saying that font is already registered, so I think it is better to separate the test into two parts - one to test not registered and the other test registered. If some people run this tool again they won't get the error. that's why I opened this PR.

Codecov Report

Merging #254 (bfc4a80) into master (fcc1b29) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #254   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           18        18
  Lines          862       862
=========================================
  Hits           862       862

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 fcc1b29...bfc4a80. Read the comment docs.


ProgressBarAndroid Component does not announce "disabled"

Description
When using a screen reader the ProgressBarAndroid component does not announce that it is disabled.
This issue is covered in-depth by parent issue #30840, please check there for more details.
React Native version:
0.63

@amarlette ProgressBarAndroid component has been deprecated in the 0.63 release (https://github.com/react-native-community/releases/blob/master/CHANGELOG.md#deprecated) and have been extracted from the core.
Please report the issue in this repository:

https://github.com/react-native-progress-view/progress-bar-android

I attached Delegate to this component and I was able to see Talkback read aloud.
I will report some issues.
--There are no minimum or maximum props for this component. react-native-web treats 0-100 as a range.
--Android 7 and lower operating systems that do not support RangeInfo did not use TalkBack to read this percentage.
--If indeterminate is true and accessibilityValue is set, it will appear to loop through the percentages from min to max. I think It needs props to pass accessibilityValue.text param instead.

@amarlette can i start on this?

Closing as @Simek already provided a resolution (component is deprecated and react-native-progress-view/progress-bar-android should be used instead).


feat(pageserver): support retain_lsn in bottommost gc-compaction

Problem
part of https://github.com/neondatabase/neon/issues/8002
Summary of changes
The main thing in this pull request is the new generate_key_retention function. It decides which deltas to retain and generate images for a given key based on its history + retain_lsn + horizon.
On that, we generate a flat single level of delta layers over all deltas included in the compaction. In the future, we can decide whether to split them over the LSN axis as described in the RFC.
Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

added tests for the core generate_key_retention function and ready for review :)

added timeline e2e unit tests

So, apart from the added tests, changes since my last review are that we now use lowest_retain_lsn instead of gc_cutoff

The lowest image layer is created over lowest_retain_lsn instead of gc_cutoff. gc_cutoff can be considered as a retain_lsn.

The current code, afaict, will create multiple deltas with LSN_range.start == lowest_retain_lsn.

Yes, for now, the bottom-most compaction always produce delta layers of the LSN range from lowest_retain_lsn to the GC horizon. We could further split it over the LSN as an optimization in the future.

Yes, for now, the bottom-most compaction always produce delta layers of the LSN range from lowest_retain_lsn to the GC horizon. We could further split it over the LSN as an optimization in the future.

Are we not respecting the target file size yet?

Are we not respecting the target file size yet?

Yes, not for now, this is tracked in the epic.


Generate and publish documentation

integrate documentation in the global Elastic documentation
update changelog and release notes on releases and snapshot publication

linked https://github.com/elastic/observability-docs/issues/3558

Documentation is now published on github so it's partially done.
The only part that is missing here would be the release notes/changelog, or we can leave that as a separate issue and close this one which is aimed more about the availability of documetation.

Changelog generation was added with https://github.com/elastic/elastic-otel-java/pull/454, so there isn't anything left to do here.


Do you support Spanner Async Client?

Hi Everyone!
Does the current version support the Google Spanner Async Client? https://cloud.google.com/python/docs/reference/spanner/latest/google.cloud.spanner_v1.services.spanner.SpannerAsyncClient
If not. Are there plans to support it? I think it would be a great feature to have.

Hello, @maxpz,
Python Spanner client supports async client:
https://github.com/googleapis/python-spanner/blob/451c8ebfb576d1347f0f0fb90921d5ce3abf4730/google/cloud/spanner_v1/services/spanner/async_client.py
sqlalchemy_spanner is built on top of the Python Spanner client. Thus, yes, it's possible and we're going to support it, but I don't think we have straight ETAs yet.
@asthamohta, looks like a related samples PR is stuck, by the way:
https://github.com/googleapis/python-spanner/pull/758
Probably async client can be added inside the Connection class as an immutable parameter. Meaning, a connection uses one client - there should be no way to change async/non-async mode after a connection is created.

Hi @IlyaFaer,
Thanks so much for your quick response. Great news that you are planning to support it! We'll be looking forward to using it. Please let me know if we can help with some testing.

Any updates on this?


For discussion: $.data() vs $.attr() when querying link_to_add_association data attributes

Curious if you have a reason for using data() when referring to the association insertion options, rather than attr(). https://github.com/nathanvda/cocoon/blob/65eaf1b8028c1236741c15004144a59d77267351/app/assets/javascripts/cocoon.js#L43-L48
I ask because I ran into a little issue that wasn't immediately obvious to debug. I change where cocoon inserts data based on where the user is clicking by modifying the add fields button's data-association-insertion-node attribute.
$(document).on('click', '.insert-field', function() {
  $(this).attr('data-insertion-target', true);
  $cocoonButton.attr('data-association-insertion-node', '[data-insertion-target]');
  $cocoonButton.trigger('click');
  $(this).removeAttr('data-insertion-target');
  $cocoonButton.removeAttr('data-association-insertion-node');
});

However, the next time I click on the actual cocoon button it can't find the insertion node because $addFieldsButton.data('association-insertion-node') still exists as data, even though the attribute no longer exists.
If I remove the attribute and the internal data, it works as expected:
$cocoonButton.removeAttr('data-association-insertion-node')
             .removeData('association-insertion-node');

So... my question is why use data() if these options are dependent on data-attributes specified in the DOM? It may be more appropriate to use $this.attr('association-insertion-node') when assigning the association options.
In any case, thanks for the plugin!

Two remarks:

data attributes clearly indicate they contain "extra" data and it is a kind of convention to allow storing/adding extra data, imho?
the jquery $().data is indeed a pain, it has bitten a few times before as it assumes the data-* fields to be read-only. This is probably for efficiency reasons?

So it is probably a valid argument to use .attr instead of .data (a little more work to write it, but would make the code a little more robust as well).
I understand you also already had a workaround. But if you are still interested in creating a PR, I am more than willing to merge it.

I agree it makes sense to use .attr instead of .data if no additional data is being stored, but I worry about changing the way the plugin handles this as it could have breaking consequences if someone did use the "extra" data in some way. For example, if the problem had been the other way around (using .attr instead of .data) and it was changed, my code would have stopped working.
Perhaps we can close this comment and the paper trail is enough in case anyone else stumbles on this issue.

That sounds like a good idea 😉 :+1:


Add correct release version to PyStageLinQ messages

PyStageLinQ will now post correct version when sending discovery frames. This is only valid for PyPi released versions.

/fast-forward


Update ScreenshotViewer.java to change pause menu button placement

Change button placement like requested in https://github.com/LGatodu47/ScreenshotViewer/issues/9

Closing this pull request as a config option was added to adress this issue.


Costume Manager always crashes.

I can never get it open because it crashes within two seconds of opening it.

Does Stage Manager work?
Also, are you on 32-bit or 64-bit OS, and is .NET Framework 4 or newer installed?

Everything except costume manager works. Also, 64-bit, and yes it is.

Lastly, when checking through the task manager, the process is open for a few seconds before auto-closing.

Nevermind, Windows XP comparability fixed it.


[material-ui][Select] Select not propagating readonly attribute to input

Steps to reproduce
Link to live example: (required)
https://stackblitz.com/edit/react-n9koip-itsgyz?file=index.html,Demo.tsx
Steps:

create a TextField and a SelectTextField and  set the attribute to readOnly
add the css with input[readonly] =  { color: 'lightgray' }
TextField works well with the correct color
SelectTextField without dropdown list as expected but the css style didn't work.

Current behavior
Ref SelectInput
https://github.com/mui/material-ui/blob/dc922eeec5c1870affd9dfa3c6a351786a2ba451/packages/mui-material/src/Select/SelectInput.js

SelectTextField without dropdown list as the logic on line 506
 onMouseDown={disabled || readOnly ? null : handleMouseDown}
but the Input element without "readonly" attribute
(please check the  imaged below, you cannot find readonly from input element of selectTextfield)
so in live demo page, the dropdown list didn't show color:lightgray

Expected behavior
the behavior should be aligned with the attribute "disabled" or the "readonly" attribute in TextField
Ref SelectInput
https://github.com/mui/material-ui/blob/dc922eeec5c1870affd9dfa3c6a351786a2ba451/packages/mui-material/src/Select/SelectInput.js (line.523-536)
<SelectNativeInput
        aria-invalid={error}
        value={Array.isArray(value) ? value.join(',') : value}
        name={name}
        ref={inputRef}
        aria-hidden
        onChange={handleChange}
        tabIndex={-1}
        disabled={disabled}
        className={classes.nativeInput}
        autoFocus={autoFocus}
        ownerState={ownerState}
        {...other}
      />

I expected there to be an attribute "readonly={readonly}" like disabled={disabled}, so the readonly can apply to the Input element in the end.
Context
Your environment
Browsers:
Chrome: 124.0.6367.201
Search keywords: TextField
Search keywords:

I confirm it's a bug. The readOnly attribute is not passed to the hidden input. Would you like to create a PR? We would also need to add a test.

Note that even when we fix the issue and readOnly is propagated to the underlying input element, applying styles such as input[readonly] { color: lightgray } won't work because in the case of Select the input is visually hidden.
Also, although we support readOnly in Select, native select elements don't support readonly attributes (see HTML spec).

Side note: we're not doing a good job of signaling states to assistive tech. When focusing the inputs in this demo https://mui.com/material-ui/react-select/#other-props the error, read-only, and required "states" are not announced.

TL;DR: developers should rely on .Mui-readOnly class names to style read-only inputs and not in the readonly attribute being present or not.

Important context: the readOnly HTML is only supported on input (only with some types like text, password, etc.) and textarea elements. Read more in MDN. readOnly is not supported on select elements.
I've been digging deeper into this problem and it's more complex than it seems. I've created these two demos to showcase the issues.

Using v5 (currently 5.15.19): CodeSandbox
Using the PR version: CodeSandbox

You can see the differences between when the .Mui-readOnly class is applied and when the readonly attribute ends up in the DOM between the two versions. We should rely on the .Mui-readOnly class name being present to style read-only inputs and not in the readonly attribute is present.
To get the .Mui-readOnly present, this is the way to do it as of today:

<TextField select>: pass InputProps={{ readOnly: true }} (or using slotProps.input once InputProps gets deprecated in v6).
<Select>: pass readOnly. inputProps.readOnly doesn't work, neither in the PR version.
<NativeSelect>: pass readOnly. This gets the .Mui-readOnly class applied but the field is not read-only in practice.

In the future, I think we should consider removing the support for read-only Select as it deviates from the native HTML element. Or at least make it accessible since it's no the case at the moment.
I think we should close the PR since it's not really solving anything if my analysis is correct.
cc @DiegoAndai

I agree with your analysis @aarongarciah 👌🏼 as well as with closing the PR
I'm adding this issue to the Base UI milestone so we can revisit it when the Select component is refactored on top of Base UI. When that happens, we can revisit the following:

In the future, I think we should consider removing the support for read-only Select as it deviates from the native HTML element. Or at least make it accessible since it's no the case at the moment.
Components that accept a read-only state like TextField should have a dedicated prop for it and developers shouldn't rely on passing InputProps={{ readOnly: true }} and the like.


[FEATURE] Android: Upgrade plugin to target API level 34

Re: University Monday 2024/07/22 / 2024/07/23
Apply the Android SDK upgrade to the feature/hotfix branch in addition to the current dev branch please.

Done


Add Repo Maintainers to CODEOWNERS file

Update CODEOWNERS to provide maintainers ownership of all files in their repos
Description:
Update this repositories .github/CODEOWNER file to ensure that the repository maintainer
group(s) have full control of the files in this repository.

No CODEOWNERS file

The groups here should be:
@hashgraph/devops-ci
@hashgraph/release-engineering-managers
@hashgraph/hedera-services
We should add .github/CODEOWNERS and include the catchall rule and the standard core rules.


Tablet landscape layout is messed up

The main problem is the toolbar going under the status bar, not sure why this happens since it has the fitsSystemWindows attribute on it.

fixed with commit 0929ed3


Build time is always 00:00 AM

After uploading an IPA, the "build on" is as follows:
Built on Sat, 28 Oct 2017 00:00 AM
The date is correct and changes with every build, but the time stays in 00:00 AM every time.
I was looking in your source code, but I can not really follow it.
Is this a know issue or a problem in my configuration? Where is that build time coming from?
Thanks

This is fixed now and will be released in next version!


Implement persistence on HL with XR SDK (OpenXR)

Provides public property on IAnchorManager to query whether persistence is supported.

/azp run

Fixes #134

Fixes #133


Support Gradle configuration cache.

Fix issues related to Gradle configuration cache. #204
Add gradle-test-wrapper to support running Gradle tests against multiple Gradle versions.

Thanks @edward3h!
This looks good and I would like to merge it, but the build got a lot slower.
Build with maven: 3-5 min (unchanged and unrelated. I'd still like to have this within 1 minute, but most of the time is eaten by the slow Kotlin compiler)
Run all the Gradle Plugin tests: 16-25 min (this seems quite slow, essentially the tests don't do much at all, I'd expect each to be done within a few seconds)
I feel we should try to speed up the Gradle tests before merging. Do you have an idea what could cause the slowdown?

I made it run each test multiple times with different Gradle versions. I'll add a property to control that. I'm also not sure if running with TestKit added overhead. I'll take a look at timing.

As a guess it was downloading and installing each gradle version in the CI build. I'm making it default to just running with the current version.

Oh wow, that's much faster now! Thanks for looking into it, and also for contributing the Gradle configuration cache support.


Feature request: Allow us to change the keybinds

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Info

OS

Linux

Shell

zsh

Problem / Steps to reproduce
There's no env vars exposed to change the keyboard shortcuts for the methods in /usr/share/fzf/fzf-keybinds.sh

well I can give you an answer for bash
in file makred key-bindings.bash (found mine in /usr/share/fzf/) at the bottom you will see your alt c bindings (\ec)
# ALT-C - cd into the selected directory
bind -m emacs-standard '"\ec": " \C-b\C-k \C-u`__fzf_cd__`\e\C-e\er\C-m\C-y\C-h\e \C-y\ey\C-x\C-x\C-d"'
bind -m vi-command '"\ec": "\C-z\ec\C-z"'
bind -m vi-insert '"\ec": "\C-z\ec\C-z"'

in order to change to ctrl d you just replace the \ec with \C-d
# CTRL-D - cd into the selected directory
bind -m emacs-standard '"\C-d": " \C-b\C-k \C-u`__fzf_cd__`\e\C-e\er\C-m\C-y\C-h\e \C-y\ey\C-x\C-x\C-d"'
bind -m vi-command '"\C-d": "\C-z\ec\C-z"'
bind -m vi-insert '"\C-d": "\C-z\ec\C-z"'

in zsh its pretty easy too same folder key-bindings.zsh
# ALT-C - cd into the selected directory
fzf-cd-widget() {
  local cmd="${FZF_ALT_C_COMMAND:-"command find -L . -mindepth 1 \\( -path '*/\\.*' -o -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' -o -fstype 'proc' \\) -prune \
    -o -type d -print 2> /dev/null | cut -b3-"}"
  setopt localoptions pipefail no_aliases 2> /dev/null
  local dir="$(eval "$cmd" | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} --reverse $FZF_DEFAULT_OPTS $FZF_ALT_C_OPTS" $(__fzfcmd) +m)"
  if [[ -z "$dir" ]]; then
    zle redisplay
    return 0
  fi
  cd "$dir"
  unset dir # ensure this doesn't end up appearing in prompt expansion
  local ret=$?
  zle fzf-redraw-prompt
  return $ret
}
zle     -N    fzf-cd-widget
bindkey '^D' fzf-cd-widget

right here ^  you will find a \ec instead of a '^D' this one has already been swapped out and seems to be working fine, id recommend copying the file to somewhere and sourcing it from your initiaion file.

It would be cool to expose an env var, but I can live with that thanks.

i dont really use zsh but you can use variable substitution in bash for bindings
${BIND=-bind -m vi-insert -x '"\en":"\C-a" sudo "\C-\ee"'}
bind -m vi-insert -x '"${KEY:=\en}":"\C-a" sudo "\C-\ee"'

im sure zsh has something similar

whats your goal? if you don't mind my asking what are you searching for and why?  Might help me see if i can come up with a solution (practice for me as im newish to scripting/programming in general)

Being able to change the keybinds without having to edit sudo files. I mean, personally I already fixed it but I think it would be good for the project.

Template applied to the issue.

Also you shouldn’t need to edit Sudo files as far as I’m aware you should have a local .zshrc file that’s sourced on login that you can add your bindings to or even creat your own file and source it with your bindings but the command the file I showed you can copy to your home dir and change then source however if you’ve found a solution could you please post it so others looking for a similar answer can see what you’ve done

Thank you I'll look for it during this week hopefully.

no worries for the file for fzf is called key-bindings.zsh mine was in usr/share/fzf but you can always download from here and then source it in your rc file if the ~/.zshrc doesnt exist you can create it and it should automatically source as a startup file

Rayiik solution works elegantly. Steps to reproduce:
mv /usr/share/fzf/key-bindings.zsh ~/.fzf-keybinds

Now on ~/.vimrc add the next line
source ~/.fzf-keybinds

Of course, you can name the file as you preffer.

Excellent glad you got that going :)

https://github.com/junegunn/fzf/pull/2460, for Ctrl-T (don't see why anyone would object to Ctrl-R)

#2460, for Ctrl-T (don't see why anyone would object to Ctrl-R)

Ctrl-R in bash is
$ bind -p | grep -E '"\\C-r'
"\C-r": reverse-search-history

and may be usable too for people using it before and so got accustomed to the way it works. So the wish is to have both features at the same time: classical readline C-r and fzf's one (right now the classical one is not accessible after installing fzf bash scripts)


Improve the syncHash() function in grecha.js

The code can be improved by using the replaceChildren method, which is designed for exactly this kind of scenario—replacing all child nodes of an element with a new set of nodes. Here's how the code can be modified:
Replace the while loop with:
result.replaceChildren(routes[hashLocation]());
This single line replaces all child nodes of the result element with the content generated by routes[hashLocation](). This is more concise and achieves the same result as the previous while loop and appendChild combination. It's generally a cleaner and more modern way of updating the content of an element.

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request

Resolved by #9


Add logging to track jobs

Anyone else ever need to add logs like this in order to properly track when jobs are queued/invoked/etc ?

useless, we use opentelemetry


role gets lost over time. reverts to default?

steps to reproduce

start fintojs
set a role
use role and then let idle for about 30mins or hour
try to use the same role.

you will get access denied if you are trying to access something that is not allowed and if you try to do something you are allowed, you are clearly not getting data from that role's namespace.
Example:
This occured after having nhl set as the active role yesterday and then coming back to today we have:
BAM-035034-CF:~ furst$ finto-set nhl
{
    "active_role": "nhl"
}

BAM-035034-CF:~ furst$ aws lambda list-functions

An error occurred (AccessDeniedException) when calling the ListFunctions operation: User: [sic] is not authorized to perform: lambda:ListFunctions on resource: *

BAM-035034-CF:~ furst$ aws s3 ls
... partially removed ...
2016-08-18 10:59:36 trail-testing-bucket

role is now stuck. You can't change it to another role and any request that is not allowed your default user is blocked.
Workaround: The only workaround at this point is to restart the server.

It would seem that the expiration date returned by STS is not the expiration of the assume role session. So it is not a good guide to go by when to renew the assume role session. There is a way to get the MaxDurationInSeconds parameter of any role which we could use as a guide for when to renew the session, but that would mean an extra call to retrieve the Role meta data and use that otherwise just set an hour as this is the default minimum?

I'm thinking assumeRole is not the right way to do this.. there is a better way to get TemporaryCredendials.. see where I'm going with this?
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/TemporaryCredentials.html

Fixed in 1.1.0
https://github.com/cfurst/fintojs/releases/tag/1.1.0


Using ouster and Lord 3DM imu in foxy

Hello, I am currently trying to run this package. As shown in the picture below, there is a time difference between imu and ouster. So, in the picture below
if (imuQueue.empty() || t_f > timeScanCur || t_b < timeScanNext)
Problem occurs in conditional statement. Is there a way to correct this?
imu time =<PHONE_NUMBER>.31
ouster time = 2946.97

Since the timestamp of ouster is the time since it was started, it is necessary to deal with this on the ouster driver side.
Change the timestamp_mode below.
https://github.com/ouster-lidar/ouster-ros/blob/master/launch/sensor.launch#L22-L27

Thank you for your answer. Thanks to you, I timed it equally.But I have a question.
Currently, I'm trying to proceed with the slam in real time through the ouster, imu, but it's not working. If you record the data and run it as a bagfile, it will be a slam, but is this package only available as a bag file?

I found new information while I was looking for a way.
If you change 5 of the function in the picture below to rclcpp::SensorDataQoS() , the pointcloud callback function turns and exchanges data, but the slam does not proceed. If you do ros2 topic echo /cloud_deskewed as evidence, it proceeds at first, and soon, the value stops without ros time flowing.
On the other hand, the bag file has a function of 5 so that slam is achieved.
Is there anything you know about this situation?

This package has only been tested with rosbag.
(This package was developed as a hobby, and buying sensors for fun is a bit too expensive!)
There were no warnings when you echoed the ROS2 topic or outputted the terminal? Based on what I hear, this might be a problem related to QoS.
https://docs.ros.org/en/humble/Concepts/Intermediate/About-Quality-of-Service-Settings.html

This issue has been inactive for a while and will be closed for housekeeping. If it's still relevant, please feel free to reopen it with a new comment. Thank you for your contribution.


Is there a way to make sure the replicas are distributed in the zones?

I can't find any steps in this document to enable zone redundancy. So, I enabled "zoneRedundant" property by referring to ARM template docs.
Anyway, is there a way to make sure the replicas are distributed in the zones? I've tried az containerapp replica show command, but it doesn't seem to get that information.
There are two suggestions for improving this document.

Describe the procedure for enabling zone redundancy.
Describe the procedure to check if the replica is zone-distributed.

Thanks!

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

ID: 55f9dfcd-30ae-fb1e-7e41-7c18bc628f4c
Version Independent ID: 52f3554c-600f-ee73-2fe8-76b470af6c4e
Content: Disaster recovery guidance for Azure Container Apps
Content Source: articles/container-apps/disaster-recovery.md
Service: container-apps
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@ToruMakabe Thanks for your feedback. We will investigate and update the thread.

@ToruMakabe
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

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

@ToruMakabe Thank you for your question.  I am working to get an answer for you as soon as possible.

#assign:cebundy

@ToruMakabe There is no way to check if the app is zone distributed.  If you wish to open a product enhancement request you can do so here.  aka.ms/aca-roadmap
We are working to update the document with configuration instructions.  You should be able to see the updates soon.

You will see the doc update soon.
#please-close


As an anxious user I want to see my session details

... so that I can reassure myself that I logged in correctly

Now viewable in status bar as per #71


[0.9.5-rc3] No response for read queries after storing few megas of data for more than an hour

I'm experiencing this issue on ubuntu 14.04 OS with influx version 0.9.5-rc3.
Read queries for fetching measurement data does not send any response. Even "SHOW DATABASES" does not give any response.
Logs -
[wal] 2015/11/19 14:51:39 write to index of partition 1 took 1.392237758s
[wal] 2015/11/19 14:51:47 Flush due to idle. Flushing 1104 series with 1104 points and 68106 bytes from partition 1
[wal] 2015/11/19 14:51:48 write to index of partition 1 took 1.494225044s
[wal] 2015/11/19 14:51:57 Flush due to idle. Flushing 1104 series with 1104 points and 68106 bytes from partition 1
[wal] 2015/11/19 14:51:58 write to index of partition 1 took 1.392084508s
[wal] 2015/11/19 14:52:06 Flush due to idle. Flushing 1104 series with 1104 points and 68106 bytes from partition 1
[wal] 2015/11/19 14:52:08 write to index of partition 1 took 1.538364629s
[wal] 2015/11/19 14:52:17 Flush due to idle. Flushing 1104 series with 1104 points and 68106 bytes from partition 1
[wal] 2015/11/19 14:52:18 write to index of partition 1 took 1.459369501s
[wal] 2015/11/19 14:52:26 Flush due to idle. Flushing 1104 series with 1104 points and 68106 bytes from partition 1
[wal] 2015/11/19 14:52:28 write to index of partition 1 took 1.261158044s
[wal] 2015/11/19 14:52:37 Flush due to idle. Flushing 1104 series with 1104 points and 68106 bytes from partition 1
[wal] 2015/11/19 14:52:38 write to index of partition 1 took 1.270582687s
[wal] 2015/11/19 14:52:47 Flush due to idle. Flushing 1104 series with 1104 points and 68106 bytes from partition 1
[wal] 2015/11/19 14:52:48 write to index of partition 1 took 1.314870213s
[wal] 2015/11/19 14:52:56 Flush due to idle. Flushing 1104 series with 1104 points and 68106 bytes from partition 1
[wal] 2015/11/19 14:52:58 write to index of partition 1 took 1.521373346s
[retention] 2015/11/19 14:53:01 retention policy shard deletion check commencing
[retention] 2015/11/19 14:53:01 retention policy enforcement check commencing
[wal] 2015/11/19 14:53:07 Flush due to idle. Flushing 1104 series with 1104 points and 68106 bytes from partition 1
[wal] 2015/11/19 14:53:08 write to index of partition 1 took 1.303651811s
[wal] 2015/11/19 14:53:17 Flush due to idle. Flushing 1104 series with 1104 points and 68106 bytes from partition 1
[wal] 2015/11/19 14:53:19 write to index of partition 1 took 1.747648962s
[wal] 2015/11/19 14:53:27 Flush due to idle. Flushing 1104 series with 1104 points and 68106 bytes from partition 1
[wal] 2015/11/19 14:53:28 write to index of partition 1 took 1.349422797s
[wal] 2015/11/19 14:53:37 Flush due to idle. Flushing 1104 series with 1104 points and 68106 bytes from partition 1
[wal] 2015/11/19 14:53:39 write to index of partition 1 took 1.625171561s
[wal] 2015/11/19 14:53:47 Flush due to idle. Flushing 1104 series with 1104 points and 68106 bytes from partition 1
[wal] 2015/11/19 14:53:48 write to index of partition 1 took 1.415504554s
[wal] 2015/11/19 14:53:56 Flush due to idle. Flushing 1104 series with 1104 points and 68106 bytes from partition 1
[wal] 2015/11/19 14:53:58 write to index of partition 1 took 1.895083s
[wal] 2015/11/19 14:54:07 Flush due to idle. Flushing 1104 series with 1104 points and 68106 bytes from partition 1
[wal] 2015/11/19 14:54:09 write to index of partition 1 took 2.081084323s
[wal] 2015/11/19 14:54:16 Flush due to idle. Flushing 1104 series with 1104 points and 68106 bytes from partition 1
[wal] 2015/11/19 14:54:18 write to index of partition 1 took 1.62580515s

@phagunbaya the logs are not indicative of anything, and if SHOW DATABASES is not returning, the instance is not healthy. Can you look in the logs for anything with error or 500 (http response codes)? What are the CPU, RAM, and IOPS usage on the machine? What happens if you restart the instance?

Machine config:
ubuntu 14.04
CPU - 4
Memory - 8g
Influx daemon usage
CPU - 3%
Memory - 10.6%
IOPS
while writing data to influx
kB_read/s - 568.7
kB_wrtn/s - 376.9
idle state
kB_read/s - 3.47
kB_wrtn/s - 61.97
no logs with error and no 500 responses. The http API request (http://<IP_ADDRESS>:8086/query?q=select+*+from+%22Pipeline%22&db=chu6mn0639aw9i) stays pending.

The statistics timeout error is irrelevant, I believe.
Please share the entire log starting at least 5 minutes before the database stops responding.
What does `curl -iG 'http://<IP_ADDRESS>:8086/ping' return when the database is not responding to queries?

curl -iG 'http://<IP_ADDRESS>:8086/ping'
Phaguns-MacBook-Pro: phagunbaya$ curl -iG 'http://<IP_ADDRESS>:8086/ping'
HTTP/1.1 204 No Content
Request-Id: 2fe91735-9016-11e5-91d3-000000000000
X-Influxdb-Version: 0.9.5-rc3
Date: Sat, 21 Nov 2015 06:07:47 GMT

Now I'm noticing that the database which has less data started responding. But the one which has few megs of data is not responding to queries still.
Logs with 500 response code
[http] 2015/11/19 09:53:41 <IP_ADDRESS> - root [19/Nov/2015:09:53:36 +0000] POST /write?db=chu6mn0639aw9i&p=%5BREDACTED%5D&precision=ms&time_precision=ms&u=root HTTP/1.1 500 8 - - 66d6af75-8ea3-11e5-8098-000000000000 5.007433664s
[query] 2015/11/19 09:53:41 SHOW MEASUREMENTS
[http] 2015/11/19 09:53:41 <IP_ADDRESS> - root [19/Nov/2015:09:53:36 +0000] POST /write?db=chu6mn0639aw9i&p=%5BREDACTED%5D&precision=ms&time_precision=ms&u=root HTTP/1.1 500 8 - - 66d10842-8ea3-11e5-8094-000000000000 5.056668193s
[http] 2015/11/19 09:53:41 <IP_ADDRESS> - root [19/Nov/2015:09:53:36 +0000] POST /write?db=chu6mn0639aw9i&p=%5BREDACTED%5D&precision=ms&time_precision=ms&u=root HTTP/1.1 500 8 - - 66d27a13-8ea3-11e5-8095-000000000000 5.086741679s
[http] 2015/11/19 09:53:41 <IP_ADDRESS> - root [19/Nov/2015:09:53:36 +0000] POST /write?db=chu6mn0639aw9i&p=%5BREDACTED%5D&precision=ms&time_precision=ms&u=root HTTP/1.1 500 8 - - 66d3db47-8ea3-11e5-8096-000000000000 5.079616407s
[http] 2015/11/19 09:53:41 <IP_ADDRESS> - root [19/Nov/2015:09:53:36 +0000] POST /write?db=chu6mn0639aw9i&p=%5BREDACTED%5D&precision=ms&time_precision=ms&u=root HTTP/1.1 500 8 - - 66d54a36-8ea3-11e5-8097-000000000000 5.071190948s

Complete Logs - https://drive.google.com/file/d/0ByZSwkp_d2U-RzFmX0VZdWk0NU0/view?usp=sharing

After restarting it second time this morning, it's responding to every query.

Likely the same as https://github.com/influxdb/influxdb/issues/4870

Believed fixed by https://github.com/influxdb/influxdb/pull/4913, which is available in the just-released version <IP_ADDRESS>.


Making sure a default value for a property or parameter can contain a non empty array.

Hi Thomas!
I've been facing a problem using the setDefaultValue() method with non empty arrays.
So far, the code
$property = new PhpProperty('fooArray');
$property->setDefaultValue(array("some value"));

would fail to generate
public $fooArray = array('some value');

Instead, it would generate:
public $fooArray = array();

This pull-request contains a fix (and a new unit-test case).
Thanks for your work man!

Hey @moufmouf,
great catch, I'm on this next week to merge your pr.
Thanks a lot!

Thanks @moufmouf
It's now in, although I must admit I'm not that happy about the formatting for arrays ;) However, that's another story.


Add dictionary-only scorer

Support decodes based on a dictionary lexicon. Should be able to leverage the trie data structure and eliminate the LM.

In progress.


#25: add basic OpenAPI v3 definition for backend API

Will be auto-generated by backend, thus I close thise PR.


Added Operator to transfer to S3 bucket

Added operator to dump the data to s3 bucket based on the query.

Hi @amolsr thank you for your contribution. Unfortunately, your PR implements an anti-pattern: the data should not be transferred locally using Airflow. You approach uses Airflow worker's resources to copy the data and in case of a huge dataset will kill the worker due to OOM.
A proper way to copy data from CH to S3 is INSERT INTO s3(…) using s3 table function.
Feel free to make another contribution with an operator which will be a wrapper around this functionality, I am accept such. Also, please provide tests.

I approach I have used is more inclined towards airflow provider pattern. please go throw - airflow/providers/amazon/aws/transfers/sql_to_s3.py
Thanks.

Thank you for a reference, but unfortunately, this is also an example of an anti-pattern :)


fix hardcoded paths in Makefiles

/ef/apps/bin/riscv32-unknown-elf-gcc would be better as $(TOOLCHAIN_PREFIX)gcc
not sure what to do with ones like this: include "/ef/tech/SW/EFS8A/libs.ref/verilog/s8iom0s8/s8iom0s8.v

I'm not sure where you are seeing these hard-coded paths?  At least for the verification, e.g., running "make" in verilog/dv/caravel/mgmt_soc/timer/, there are variables GCC_PATH and PDK_PATH that let you set the paths either in your shell environment or on the "make" command line.  When I do verification, I'll do something like this:

"riscv32-unknown-elf-gcc"  is the correct full name of the cross-compiler that is compatible with the Caravel management core, so anthing else +gcc would not be appropriate unless you had specifically gone to the trouble of renaming all the executables.

I was assuming dev was the correct branch to be working on?
I don't have a mgmt_soc/timer
[image: image.png]
On Wed, 11 Nov 2020 at 15:12, R. Timothy Edwards<EMAIL_ADDRESS>wrote:

"riscv32-unknown-elf-gcc" is the correct full name of the cross-compiler
that is compatible with the Caravel management core, so anthing else +gcc
would not be appropriate unless you had specifically gone to the trouble of
renaming all the executables.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/efabless/caravel/issues/36#issuecomment-725444900,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE223EERMEU2VMD5WMOSCLSPKLS7ANCNFSM4TR6X5HA
.

--
Matthew Venn
web mattvenn.net twitter @matthewvenn https://twitter.com/matthewvenn

BTW - The riscv64 GCC can produce -marchrv32imc binaries.
See LiteX for an example;
https://github.com/enjoy-digital/litex/blob/2d6f19a816dcf68409f2eacbdb8f8568f61c695d/litex/soc/cores/cpu/__init__.py#L39-L61
CPU_GCC_TRIPLE_RISCV32 = (
    "riscv64-unknown-elf",
    "riscv64-unknown-linux-gnu",
    "riscv32-unknown-elf",
    "riscv32-unknown-linux-gnu",
    "riscv64-elf",
    "riscv32-elf",
    "riscv-none-embed",
    "riscv64-linux",
    "riscv64-linux-gnu",
    "riscv-sifive-elf",
    "riscv64-none-elf",
)

https://github.com/enjoy-digital/litex/blob/42d8fc226a4f4e8dfef104257a95f98eb9b10da7/litex/soc/cores/cpu/vexriscv/core.py#L40-L61
GCC_FLAGS = {
    #                               /-------- Base ISA
    #                               |/------- Hardware Multiply + Divide
    #                               ||/----- Atomics
    #                               |||/---- Compressed ISA
    #                               ||||/--- Single-Precision Floating-Point
    #                               |||||/-- Double-Precision Floating-Point
    #                               imacfd
    "minimal":          "-march=rv32i      -mabi=ilp32",
    "minimal+debug":    "-march=rv32i      -mabi=ilp32",
    "lite":             "-march=rv32i      -mabi=ilp32",
    "lite+debug":       "-march=rv32i      -mabi=ilp32",
    "standard":         "-march=rv32im     -mabi=ilp32",
    "standard+debug":   "-march=rv32im     -mabi=ilp32",
    "imac":             "-march=rv32imac   -mabi=ilp32",
    "imac+debug":       "-march=rv32imac   -mabi=ilp32",
    "full":             "-march=rv32im     -mabi=ilp32",
    "full+debug":       "-march=rv32im     -mabi=ilp32",
    "linux":            "-march=rv32ima    -mabi=ilp32",
    "linux+debug":      "-march=rv32ima    -mabi=ilp32",
    "linux+no-dsp":     "-march=rv32ima    -mabi=ilp32",
}

Yes, this is what I'm using for another instance of picorv32:
firmware.elf: firmware.s
$(TOOLCHAIN_PREFIX)gcc -march=rv32i -mabi=ilp32 -Os -Wall -Wextra
-Wl,-Bstatic,-T,sections.lds,--strip-debug -ffreestanding -nostdlib -o $@ $^
On Wed, 11 Nov 2020 at 17:08, Tim Ansell<EMAIL_ADDRESS>wrote:

BTW - The riscv64 GCC can produce -marchrv32imc binaries.
See LiteX for an example;
https://github.com/enjoy-digital/litex/blob/2d6f19a816dcf68409f2eacbdb8f8568f61c695d/litex/soc/cores/cpu/__init__.py#L39-L61
CPU_GCC_TRIPLE_RISCV32 = (
"riscv64-unknown-elf",
"riscv64-unknown-linux-gnu",
"riscv32-unknown-elf",
"riscv32-unknown-linux-gnu",
"riscv64-elf",
"riscv32-elf",
"riscv-none-embed",
"riscv64-linux",
"riscv64-linux-gnu",
"riscv-sifive-elf",
"riscv64-none-elf",
)
https://github.com/enjoy-digital/litex/blob/42d8fc226a4f4e8dfef104257a95f98eb9b10da7/litex/soc/cores/cpu/vexriscv/core.py#L40-L61
GCC_FLAGS = {
#                               /-------- Base ISA
#                               |/------- Hardware Multiply + Divide
#                               ||/----- Atomics
#                               |||/---- Compressed ISA
#                               ||||/--- Single-Precision Floating-Point
#                               |||||/-- Double-Precision Floating-Point
#                               imacfd
"minimal":          "-march=rv32i      -mabi=ilp32",
"minimal+debug":    "-march=rv32i      -mabi=ilp32",
"lite":             "-march=rv32i      -mabi=ilp32",
"lite+debug":       "-march=rv32i      -mabi=ilp32",
"standard":         "-march=rv32im     -mabi=ilp32",
"standard+debug":   "-march=rv32im     -mabi=ilp32",
"imac":             "-march=rv32imac   -mabi=ilp32",
"imac+debug":       "-march=rv32imac   -mabi=ilp32",
"full":             "-march=rv32im     -mabi=ilp32",
"full+debug":       "-march=rv32im     -mabi=ilp32",
"linux":            "-march=rv32ima    -mabi=ilp32",
"linux+debug":      "-march=rv32ima    -mabi=ilp32",
"linux+no-dsp":     "-march=rv32ima    -mabi=ilp32",
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/efabless/caravel/issues/36#issuecomment-725510926,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE223CHEBYJ72K5ZICNIMTSPKZIRANCNFSM4TR6X5HA
.

--
Matthew Venn
web mattvenn.net twitter @matthewvenn https://twitter.com/matthewvenn

@mattvenn :  Should have caught this earlier, but no, you should not be in the dev branch, but the release branch.


Added a hint

Associated Issue: #180
Summary of Changes

change 1
Added a new hint to the crossbow rebus.

Pull Request Test Coverage Report for Build 488

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.143%

Totals

Change from base Build 478:
0.0%

Covered Lines:
158

Relevant Lines:
180

💛  - Coveralls


Update to the app

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


Write-Behind Provider

Hello,
I have been working with the open source NCache for about a week and so far I like it a lot! One of the features I want to use is the write-behind provider. I wrote a simple one to test with, but today I have run into a roadblock. The WriteOperation array that is passed to my WriteToDataSource method has a strange Value.
This code below prints System.Byte[] as the type of the cache value. Also, the bytes within the byte array look like they are my object as it would appear if serialized by the BinaryFormatter but deserializing fails with an error: Binary stream '0' does not contain a valid BinaryHeader.
All the examples I can find are showing that I can just cast the ProviderCacheItem.Value to the type of object I wrote into the cache. Here is one example: http://www.alachisoft.com/resources/docs/ncache/prog-guide/configure-write-through-provider.html
Thanks for any help that anyone can offer!
public OperationResult[] WriteToDataSource(WriteOperation[] operations)
{
    foreach (WriteOperation operation in operations)
    {
        object value = operation.ProviderCacheItem.Value;
        string valueTypeAsString = value.GetType().ToString();
        WriteToLogFile($"value object type: [{valueTypeAsString}]");
    }
}

Hi @tnight ,
Are all the dependent assemblies of the write through provider you've configured placed in the "C:\Program Files\NCache\Deploy" folder? This includes any domain objects you've used in the Write through provider?


Pretrained models for AM/AMS-Softmax

Hello. Thank you for sharing the code!
I have my own test set for speaker verification (there are 2 different test sets, I tried both, the problem occurs in both). I am having some troubles with evaluating the models pre-trained on metric learning(AP) to my test sets - the problem is that EER is too high (22% and 30%). I used your pretrained model on fast ResNet & thin ResNet.
However, when tested on the model from Utterance-level Aggregation For Speaker Recognition In The Wild (Thin Resnet34) with classification objective (Softmax), the EER for my data is significantly lower (10 and 8%).
The format I am passing is the same (label(0/1), wav1, wav2).
I was wondering if you could share the models pre-trained on classification objectives (AM/AMS-Softmax) publicly, so that I can evaluate my data on them.

I can confirm  on this as well. Even though provided pre-trained model or model trained with  similar mechanism from scratch has less EER on voxceleb test sets, it's performances on 3 of my non public datasets is less  superior than paper you mentioned.
One  thing to highlight though is it uses different network architecture as compared to other paper. I was also thinking whether it'd change if different loss is used. I am training with classification loss  to verify whether it makes any difference. I'll share my observation.

This is a ResNetSE34L model trained with AMSoft m=0.2, s=30. Give it a try. I have not compared the performance of our models on other datasets.
V7907B.model.zip

Apparently, this model has less error on my datasets  as compared to angleproto one.

What is your dataset? It is very possible that other methods work better on different datasets. Is there a large difference in performance?

I have 3 of them and all of them are private  to org.  Yes,  difference is noticeable. If I put in terms  of number  fo  one  dataset it varies by 2-4% (Not 0.2-0.4%) . ie. AM softmax has  2-4% less error.
Btw, this work is great, a great platform to explore different possibilities.


[Bug]: the generated text on BFloat16 is not as good as that on Float32.

Your current environment

The output of `python collect_env.py`
Collecting environment information...
/usr/lib/python3.10/inspect.py:288: FutureWarning: `torch.distributed.reduce_op` is deprecated, please use `torch.distributed.ReduceOp` instead
  return isinstance(object, types.FunctionType)
PyTorch version: 2.4.0a0+git74cd574
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.5 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: version 3.30.5
Libc version: glibc-2.35

Python version: 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] (64-bit runtime)
Python platform: Linux-5.15.0-112-generic-x86_64-with-glibc2.35
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      46 bits physical, 57 bits virtual
Byte Order:                         Little Endian
CPU(s):                             16
On-line CPU(s) list:                0-15
Vendor ID:                          GenuineIntel
Model name:                         Intel(R) Xeon(R) Platinum 8380 CPU @ 2.30GHz
CPU family:                         6
Model:                              106
Thread(s) per core:                 2
Core(s) per socket:                 4
Socket(s):                          2
Stepping:                           6
BogoMIPS:                           4589.21
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves wbnoinvd arat avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpid fsrm md_clear arch_capabilities
Virtualization:                     VT-x
Hypervisor vendor:                  KVM
Virtualization type:                full
L1d cache:                          384 KiB (8 instances)
L1i cache:                          256 KiB (8 instances)
L2 cache:                           10 MiB (8 instances)
L3 cache:                           60 MiB (1 instance)
NUMA node(s):                       2
NUMA node0 CPU(s):                  0-7
NUMA node1 CPU(s):                  8-15
Vulnerability Gather data sampling: Unknown: Dependent on hypervisor status
Vulnerability Itlb multihit:        Not affected
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Retbleed:             Not affected
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass:    Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; Enhanced IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI Syscall hardening, KVM SW loop
Vulnerability Srbds:                Not affected
Vulnerability Tsx async abort:      Mitigation; TSX disabled

Versions of relevant libraries:
[pip3] habana-torch-dataloader==<IP_ADDRESS>4
[pip3] habana-torch-plugin==<IP_ADDRESS>4
[pip3] numpy==1.26.4
[pip3] pynvml==8.0.4
[pip3] pytorch-lightning==2.4.0
[pip3] pyzmq==26.2.0
[pip3] torch==2.4.0a0+git74cd574
[pip3] torch_tb_profiler==0.4.0
[pip3] torchaudio==2.4.0a0+69d4077
[pip3] torchdata==0.7.1+5e6f7b7
[pip3] torchmetrics==1.4.2
[pip3] torchtext==0.18.0a0+9bed85d
[pip3] torchvision==0.19.0a0+48b1edf
[pip3] transformers==4.46.0
[pip3] triton==3.1.0
[conda] Could not collect
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.6.3.dev569+g2a38e6f5
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
Could not collect

Model Input Dumps
No response
🐛 Describe the bug
Hi, on llama3-8b, I found that the quality of generated text for float32 is much better than that on bfloat16. I have attached my code in the end,

CUDA BF16： Prompt: 'The capital of France is', Generated text: ' Paris. It is located in the north of the country. Paris is the largest city in France and the second largest city in the European Union. It is also the most visited city in the world. Paris is a city of art, culture, and history. It is home to some of the most famous landmarks in the world, such as the Eiffel Tower, the Louvre Museum, and the Notre Dame Cathedral. Paris is also a city of fashion, with many famous designers and brands headquartered there. The city is also home to some of the best restaurants in the world. Paris is a city that is loved by people all over'

HPU BF16: Prompt: 'The capital of France is', Generated text: ' Paris, which is located in the north of the country. The city is located on the Seine River and is the largest city in France. Paris is a major tourist destination and is home to many famous landmarks, including the Eiffel Tower, the Louvre Museum, and the Notre Dame Cathedral. The city is also known for its fashion, food, and art.\nThe capital of France is Paris, which is located in the north of the country. The city is located on the Seine River and is the largest city in France. Paris is a major tourist destination and is home to many famous landmarks, including the Eiffel'

HPU FP32: Prompt: 'The capital of France is', Generated text: ' Paris. It is located in the north of the country. Paris is the largest city in France and the second largest city in the European Union. It is also the most visited city in the world. Paris is a city of art, culture, and history. It is home to some of the most famous landmarks in the world, such as the Eiffel Tower, the Louvre Museum, and the Notre Dame Cathedral. Paris is also a city of fashion, with many famous designers and brands headquartered there. The city is also known for its food, with many Michelin-starred restaurants and cafes. Paris is a city that is loved'

And with PT_HPU_MAX_COMPOUND_OP_SIZE=1 it generated result is trash:

Prompt: 'The future of AI is', Generated text: ' in the hands of the people\nThe future of AI is in the hands of the people\nThe future of AI is in the hands of the people\nThe future of AI is in the hands of the people\nThe future of AI is in the hands of the people\nThe future of AI is in the hands of the people\nThe future of AI is in the hands of the people\nThe future of AI is in the hands of the people\nThe future of AI is in the hands of the people\nThe future of AI is in the hands of the people\nThe future of AI is in the hands of the people\nThe'

from vllm import LLM, SamplingParams

# Sample prompts.
prompts = [
    "Hello, my name is",
    "The president of the United States is",
    "The capital of France is",
    "The future of AI is",
    "can you create python programs?",
]
# Create a sampling params object.
sampling_params = SamplingParams(max_tokens=128, temperature=0.0)

# Create an LLM.
llm = LLM(model="meta-llama/Meta-Llama-3-8B")
# Generate texts from the prompts. The output is a list of RequestOutput objects
# that contain the prompt, generated text, and other information.
outputs = llm.generate(prompts, sampling_params)
# Print the outputs.
for output in outputs:
    prompt = output.prompt
    generated_text = output.outputs[0].text
    print(f"Prompt: {prompt!r}, Generated text: {generated_text!r}")

Originally posted by @ccrhx4 in https://github.com/HabanaAI/vllm-fork/issues/275#issuecomment-2443527357
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Hi @madamczykhabana , I found the second issue was caused by the softmax_mode="fast" in FusedSDPA. See PR https://github.com/HabanaAI/vllm-hpu-extension/pull/26
diff --git a/vllm_hpu_extension/ops.py b/vllm_hpu_extension/ops.py
index 0bd542b..40aa062 100644
--- a/vllm_hpu_extension/ops.py
+++ b/vllm_hpu_extension/ops.py
@@ -223,7 +223,7 @@ def prompt_attention(
         if query_heads != kv_heads:
             key = repeat_kv(key, int(query_heads // kv_heads))
             value = repeat_kv(value, int(query_heads // kv_heads))
-        softmax_mode = 'fast'
+        softmax_mode = 'None'
         recompute_mode = True
         attn_weights = FusedSDPA.apply(query, key, value, None, 0.0, True,
                                        scale, softmax_mode, recompute_mode,

After the fix,
PT_HPU_MAX_COMPOUND_OP_SIZE=1 VLLM_PA_SOFTMAX_IMPL=scatter_reduce VLLM_SKIP_WARMUP=true python3 test.py

...
Prompt: 'The future of AI is', Generated text: ' here, and it’s already changing the way we live and work. From self-driving cars to virtual assistants, AI is making our lives easier and more efficient. But what does the future hold for AI? In this blog post, we’ll explore the future of AI and how it will impact our lives.\nThe Future of AI: What to Expect\nThe future of AI is bright, and it’s only going to get brighter. AI is already being used in a variety of industries, from healthcare to finance, and it’s only going to become more prevalent in the years to come. Here are some of the things you can expect to see'
...


Warning that SHA-512 truncated to 256 is not SHA-512/526.

As suggested in multiformats/multihash#101, a clarification to avoid headaches to whomever calculates a different values and doesn't understand why. (like I did)

Can you re-open this PR against multiformats/website?

@Stebalien whops, that what I thought I did. ^_^'


Cholesky modifications

@scidom, I made a new function CholUpdate for efficient updates to the cholesky decomposition of the covariance matrix. The use case is, we have a path p1 of length N and want to create a path p2 of length N+1. Given autocov(p2) and chol(autocov(p1)), we can get the new entries of chol(autocov(p2)) without having to compute the full cholesky decomposition since a N-by-N portion of it is contained within chol(autocov(p1)).
After testing the speed with BenchmarkTools.jl package, it looks like the average speedup is around 52% for the path lengths that I tested. I put two figures below (same data, one log-log scale and one not) showing computation time comparisons between CholUpdate and Julia's built-in chol function.
I also added a few lines here to test the code.

Great @rand5, I merged it. There was only a conflict due to your repo being one commit behind the master, but got this sorted. Thanks a lot for adding this function.

@scidom, I should point out that you don't even need the full covariance matrix to use chol_update-- you just need the last row, i.e. for a path of length N, we need N calls to autocov(p::FBM, i::Int64, j::Int64) as opposed to N*N calls.

Yes, this is understood @rand5.


feat: enable/disable app share modal based on License Plan

Description
For the 1-click Project we want to enable Groups and Application Share modal for only Paid users. This PR handles the CE experience of that.
PR fixes following issue(s)
Fixes #https://github.com/appsmithorg/appsmith-ee/issues/2096
Type of change

Please delete options that are not relevant.

New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

[x] Manual
[ ] JUnit
[ ] Jest
[x] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test

/build-deploy-preview skip-tests=true

/ok-to-test

/build-deploy-preview skip-tests=true recreate=true

/build-deploy-preview skip-tests=true recreate=true

/ok-to-test

/ok-to-test

/build-deploy-preview skip-tests=true recreate=true

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test


[ NativeWind BUG ] darkMode: class not being set, setColorScheme errors

Cross-posting this here. https://github.com/marklawlor/nativewind/issues/919
Here is the repo: https://github.com/trevorpfiz/create-t3-turbo-supabase/tree/05-15-nativewind_hairlinewidth_bug_and_darkmode_bug
If anyone has a keen eye or insight into what I might be doing wrong, please let me know. The starter-base using npm works fine for me locally...

turns out this is from "react-native-css-interop": "~0.0.34",...
either remove it or use "react-native-css-interop": "~0.0.36",