Absence of non-BMP characters

While studying the database, I see that there is not a single occurrence of non-BMP characters in it. Was it a consequence of the method used and, if so, would it be possible to ascertain the presence of any U+2XXXX characters within it?
(Similarly, there are no Compatibility characters in the lists, which leads me to a suspicion the data were completely Unicode-normalized before analysis, which deletes some data irretrievable specifically in Japanese case.)

You can see an example of a processing method I used here: https://github.com/scriptin/twitter-kanji-frequency/blob/master/collect-data.js
Basically, I did text.replace(/[^\u4e00-\u9fff]+/g, '') to get rid of everything except for desired characters. (Note the RegExp is negated, but you can see the range.)
I don't have a quick way to fix this. Obviously, for the Twitter dataset, I'd have to run data collection bot again, which would take a lot of time. And for other datasets, I used some one-time scripts, which I'd have to find (I believe I have them somewhere). I can find them if you need, in case you're willing to do the processing yourself.
For the news dataset that won't work, because the sites I used to gather data from most likely have changed their page structure/markup, and crawling scripts for them are no longer valid.
Do you think it's an issue? Can you explain why, if that's the case?

I will include the following Unicode blocks in the next version:
Basic datasets versions:

CJK Unified Ideographs - in the current version, that is the only Unicode block included

Extended datasets versions:

Everything from basic
CJK Unified Ideographs Extension A
CJK Unified Ideographs Extension B
CJK Unified Ideographs Extension C
CJK Unified Ideographs Extension D
CJK Unified Ideographs Extension E
CJK Unified Ideographs Extension F
CJK Unified Ideographs Extension G

Full datasets versions:

Everything from extended
CJK Radicals Supplement
Kangxi radicals
CJK Strokes
Enclosed CJK Letters and Months - partially, only those containing kanji
CJK Compatibility Ideographs
Enclosed Ideographic Supplement - partially, only those containing kanji
CJK Compatibility Ideographs Supplement

The last list may change, I need to review those blocks.

This issue is addressed in the new version. Files now include non-BPM characters. Additionally, there are "extended" files (with ext in the names) which contain some obscure kanji characters - parenthesised, circled kanji, telegraph symbols, etc. - see han.js for details.


Build a test suite to test for core transformation logic.

Its best to use deno inbuilt testing library + chai for assertions (contains deepEqual method)


Failing to start (due to port unavailable) cannot be directly determined by the current python api

I believe that failing to start (due to the designated port being unavailable) cannot be directly determined by the current python api, if not mistaken.
When the port specified for startup is taken, a python code starting the server with Werkzeug cannot know if startup has failed, since no exception is raised, and no api is there to check on its status, while the following is written to stderr:

Address already in use
Port 5000 is in use by another program. Either identify and stop that program, or start the server with a different port.

example code:
from flask import Flask
from werkzeug.serving import run_simple

app = Flask(__name__)

try:
    run_simple('<IP_ADDRESS>', 5000, app)
except Exception as e:
    start_success = False

Even though traditionally most web servers frameworks did not touch up their startup and shutdown usability from code to those levels, I think it would be implied to provide the caller with this basic level of transparency being robustly enabled for them. Apologies in advance if I've missed any obvious way.
Environment:

Python version: 3.10.13
Flask version: 3.0.3
Platform: Ubuntu 22.04

Mildly related on the same theme of api startup and shutdown:
https://stackoverflow.com/questions/72824420/how-to-shutdown-flask-server

Complete code reproducing the context, which would preferably also be a skeleton for a test after the desired functionality has been implemented:
from flask import Flask
from werkzeug.serving import run_simple
from multiprocessing import Process

app = Flask(__name__)

def start():
    print('starting a flask server')
    try:
        started = run_simple('<IP_ADDRESS>', 5000, app)
    except Exception as e:
        print(f'the flask web server crashed with an exception:\n{e}\n')
    else:
        # of course we will never get here unless the server shut down without throwing
        print(f'flask web server finished with return value {started}')

if __name__ == '__main__':

    flask_process = Process(target=start, daemon=True)
    flask_process.start()

    start()

print('second start done')

Not sure what you are trying to do, but keep in mind that this server is ONLY meant for development purposes, NOT for anything else. So if you want to run a flask app embedded in some other application for whatever reason, using run_simple is not what you should do.

Makes sense. My scenario is borderline in that regard. Will I have that kind of api-laden way of knowing the status of the server when using a non Werkzeug WSGI component?

Okay, I understand then that no underlying supported WSGI server component can be controlled (start and stop) robustly from code then.


Support OSX Clients

It should be possible by exchanging the SDK and providing additional .sh files.
Try to get it running on Linux first.

Released with 2.18.0


remix.init failed

What version of Remix are you using?
1.6.8
Steps to Reproduce
Hello - First time trying out Remix and the Getting Started tutorial is immediately failing for me.
macOS Monteray
node version 18.7.0
npm 8.15.0
npx create-remix --template remix-run/indie-stack jake-start
? TypeScript or JavaScript? TypeScript
? Do you want me to run `npm install`? Yes

This is a new machine and I assume you would be aware of a problem like this so may it will end up being a me thing, but everything else seems to be working on my end.
Expected Behavior
No CLI errors and "the app should be running," including a 200 at localhost:3000.
Actual Behavior
🚨 Oops, remix.init failed

Cannot read properties of undefined (reading 'length')

More:
jake:~/repos/remix-getting-started$ npx create-remix --template remix-run/indie-stack jake-start
? TypeScript or JavaScript? TypeScript
? Do you want me to run `npm install`? Yes
npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-resolve#deprecated

added 1312 packages, and audited 1313 packages in 55s

231 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
💿 Running remix.init script
🚨 Oops, remix.init failed

Cannot read properties of undefined (reading 'length')

There ends up being something which looks like an app in the folder, and npm run dev initially starts a server, but then loading a page results in:
Error: error: Environment variable not found: DATABASE_URL.
  -->  schema.prisma:3
   |
 2 |   provider = "sqlite"
 3 |   url      = env("DATABASE_URL")

This will be fixed by #138

What's the workaround in the meantime? Should we use an older version, and if so, how do we do that with npx remix-create and what's the latest version that doesn't have this bug?

@Zakini I ran into the same problem, I've outlined the steps below to run the fork:

Check out the fork:

git clone https://github.com/MichaelDeBoey/indie-stack.git

Switch to the branch containing the fixes: fix-convert-to-js

git checkout -b fix-convert-to-js origin/fix-convert-to-js

Install dependencies.

npm install

Run init script as described in README.

npx remix init

Test if everything works by running the app.

npm run dev

Remove .git directory to remove references to @MichaelDeBoey's repository.

rm -rf .git

Ah, if using a specific branch from a fork is the answer, you do that more easily with npx create-remix:
npx create-remix --template https://github.com/MichaelDeBoey/indie-stack/tree/fix-convert-to-js

As @Zakini said: npx create-remix --template https://github.com/MichaelDeBoey/indie-stack/tree/fix-convert-to-js will indeed do the trick

I created a project using npx create-remix --template https://github.com/MichaelDeBoey/indie-stack/tree/fix-convert-to-js. I get the following warnings and errors in my console:

react-dom.development.js:86 Warning: Expected server HTML to contain a matching <head> in <html

Uncaught Error: Hydration failed because the initial UI does not match what was rendered on the server.

react-dom.development.js:86 Warning: An error occurred during hydration. The server HTML was replaced with client content in <#document>.

Uncaught Error: There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering.

Also, I'm going through the Developer Blog tutorial, the action does not return the form data:
export const action: ActionFunction = async ({ request }) => {
    const formData = await request.formData();
    console.log({formData});
    return redirect("/posts/admin");
}

This logs:
{ formData: FormData {} }

Windows 10
Node v16.13.1
npm v8.1.2

@MattDClarke Do you have any browser extension enabled?
Please open another ticket if you still have the problem after disabling all your browser extensions.


Integration breaks when team name changed

I am not sure if this is the cause of the issue, but we renamed one of our teams in linear, and since then I have not been able to get the sync working. I have deleted and re-created the sync a couple times, but it doesn't sync anything, and is still showing the previous team name in the "existing syncs" section after being created, which is what leads me to believing that this may be the casue.
Let me know if there's anything else I can provide here to make this easier to look into or debug 🙇♂

Thanks for raising this @jescalan. Would you be open to trying a few things to fix it?

Delete the webhook (Linear > Settings > API > Webhooks) then re-sync
Delete the sync with your old team name (SyncLinear.com > Sign in with GitHub > Syncs)
Re-sync

If that doesn't help, please let me know!
Thanks

Thanks for this one @tedspare and sorry for the super late response. Just followed the provided steps hoping for the best but unfortunately it's still not doing anything 😢


Version 1.0.5-alpha.3

Could we perhaps squeeze https://github.com/metarhia/impress/pull/1016 in here?

Landed in 1b5aaf2


[4.0] "Reserved indicator ` cannot start a plain scalar" on Travis CI builds for a module

A recent Travis build using the latest master branch of the framework failed to parse configuration:
PHP Fatal error:  Uncaught exception 'Symfony\Component\Yaml\Exception\ParseException' with message 'The reserved indicator "`" cannot start a plain scalar; you need to quote the scalar at line 34 (near "2: `TEMP_FOLDER`").' in phar:///home/travis/build/silverleague/silverstripe-logviewer/phpunit/symfony/yaml/Inline.php:321
Stack trace:
#0 phar:///home/travis/build/silverleague/silverstripe-logviewer/phpunit/symfony/yaml/Inline.php(107): Symfony\Component\Yaml\Inline::parseScalar('`TEMP_FOLDER`', 0, NULL, Array, 13, true, Array)
#1 phar:///home/travis/build/silverleague/silverstripe-logviewer/phpunit/symfony/yaml/Parser.php(598): Symfony\Component\Yaml\Inline::parse('`TEMP_FOLDER`', 0, Array)
#2 phar:///home/travis/build/silverleague/silverstripe-logviewer/phpunit/symfony/yaml/Parser.php(261): Symfony\Component\Yaml\Parser->parseValue('`TEMP_FOLDER`', 0, 'mapping')
#3 phar:///home/travis/build/silverleague/silverstripe-logviewer/phpunit/symfony/yaml/Parser.php(354): Symfony\Component\Yaml\Parser->parse('0: 'en'\n1: null...', 0 in phar:///home/travis/build/silverleague/silverstripe-logviewer/phpunit/symfony/yaml/Inline.php on line 321

The line was probably added in #6558.
I can't reproduce this locally, but it happens consistently on Travis.

It's worth noting that this Travis build is using PHPUnit 5.7. I probably tested it against 4.8 locally, hence not being able to reproduce it locally.
PHPUnit 5.7 has a loose constraint for symfony/yaml, but could (and probably does) pull ~3.0. The framework uses ~2.7.
@tractorcow this is probably worth closing for now but keeping in mind for the future when you upgrade that component.

Yep, we can fix by just quoting that identifier. thanks for the heads up.

Time to add a 5.7 php build.


What should happen if a function emitted errors but returns Ok

when a macro returns Ok() ignore any emitted errors (to fail with a non empty emitter I'd have some method on emitter e.g. .fail_if_dirty() -> Result<!, Error>
when a macro returns Ok() and emitter is non empty return the Ok tokens but the errors emitted as well. To ignore emitted errors one would need to call .clear() on the emitter before returning.

I think the second variant makes sense here. Emitting dummy tokens even in case of errors helps with reducing noise from "missing declaration" errors and is actually a thing supported in proc-macro-error (through a different mechanism)

There is also this for dummy tokens: https://docs.rs/manyhow/latest/manyhow/#dummy-mut-tokenstream that would even work when returning Err.
But IIRC I did implement the second option.

Another way to sort this out would be to make Emitter::new() public and to make it responsibility of the caller to handle it however they see fit (with a drop bomb attached). This would make it look a lot like darling::error::Accomulator

I could add Emitter::new() and Emitter::into_error() -> Result<(), Error>. That should support your usecase

Emitter::into_error() should probably be called Emitter::into_result() :sweat_smile:
Also, I think that re-using Emitter for two cases (emitting a silent error leaving the handling to the manyhow machinery and using it as an accumulator) creates non-orthogonality that can lead to confusion about which method should be called...
If you keep the "manyhow machinery" use-case I think it's better to create a separate type for this

I think it would be possible to remove fail_if_dirty and replace it with into_result.
It would just need to be called on an &mut and would clear the Emitter.
Then, if you call .into_result() the errors are returned through that. If .into_result() is not called, the errors in the "main" Emitter are returned as they are currently.

Thanks!


Conditionally implement core::error::Error for all error types

In the same spirit as https://github.com/rust-osdev/uefi-rs/pull/587, we should implement the Error trait for all our other error types (e.g. these ones: https://docs.rs/uefi/latest/uefi/data_types/index.html#enums). This would be gated behind the unstable feature.

We should be able to remove the unstable feature in 2 months or so. Since Rust 1.65, the trait is part of libcore in stable Rust.
https://github.com/rust-lang/rust/commit/bf7611d55ee6e24647aefc4d1c82b1dba0164536

Correction, this is in the core library but not yet stable.

https://doc.rust-lang.org/stable/src/core/error.rs.html#32-195
https://github.com/rust-lang/rust/issues/103765


[WIP] Fix 132

Overview
This PR fixes #132
Changes:

Added a script that attempt to run the flyingpigeon (upstream/master) process subset-wfs-polygon.

Related Issue / Discussion
#132
Additional Information
Links to other issues or sources.

Status ?

Blocked. Still waiting to hear from @cehbrecht or @nilshempelmann about this in https://github.com/bird-house/flyingpigeon/issues/287

Is there another way we can get meteorological/climate data from a polygon using what we already have? So we can show that the hydro part can communicate with the PAVICS server. It can be a convoluted way for now, so we can at least show that capability during the demo.

Looking into this.

Is there any development on this side lately? We will need this component to allow users to do get climate data for their models. Thanks.

@Zeitsperre sorry for beeing blocked, bird-house/flyingpigeon#287 is related to an oranos development subset_wfs_polygon. It is more senceful you are fixing that within the ouranos team.
@richardarsenault: based on predefined polygons you can use the processes in flyingpigeon https://flyingpigeon.readthedocs.io/en/latest/processes_api.html#subset-processes-api
Let me know if I can help somewhere

If we can integrate the changes from @huard FP fork, the issues are resolved and work can continue on this PR when I get another chance at it.

@zeitsperre you need the fix integrated in FP master? Make a PR.

@huard can you open a PR with your changes to FP to upstream master?

@Zeitsperre Hasn't it been merged already ? https://github.com/bird-house/flyingpigeon/pull/288

It looks like it has. I didn't catch that change in my review of the past two weeks. I'll continue from here. Thanks!

I think the delineation workflow will need to be updated after the change of name for the process.

I'll get to that right now. and merge after that change.


Refactor to support "sl-ember-components-[component]" class pattern sl-modal

@notmessenger please assign to me.


[Feature request] Sparse Attention

Recently, we see several awesome work focusing on kv cache compressing and they said can accelearte 1.7~2.3 times than FlashInfer, can you guys plz consider to surpport such features?
Same layer KV:
Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference

MoA: Mixture of Sparse Attention for Automatic Large Language Model Compression
Cross layer KV:
Reducing Transformer Key-Value Cache Size with Cross-Layer Attention

Sparse Attention is already implemented in the C++ codebase, I should create pytorch api for that, please stay tuned.

To be more clear, flashinfer implemented general (any block size: (B_r, B_c) ) block sparse flashattention on CUDA, and flashinfer's page attention implementation is based on these block sparse flashattention implementations (by representing page table as block sparse matrix). Quest's sparse attention implement is also based on flashinfer's CUDA APIs.

To be more clear, flashinfer implemented general (any block size: (B_r, B_c) ) block sparse flashattention on CUDA, and flashinfer's page attention implementation is based on these block sparse flashattention implementations (by representing page table as block sparse matrix). Quest's sparse attention implement is also based on flashinfer's CUDA APIs.

Good to know that, will Quest's sparse attention be merged into current flashinfer's CUDA APIs?

I'll create a PR for a general block sparse attention API, please wait for a few hours.

Please check https://docs.flashinfer.ai/api/python/sparse.html


The flattening behavior of the join sub is not tested

say join ', ', <a b c>, 'd', 'e' , 'f'; OUTPUT: «a, b, c, d, e, f␤»

At first I thought that the join sub flattening everything was unexpected, because it seems to be inconsistent with the method form and other subs. But @TimToady indirectly answered my question. It seems flattening is the expected behavior.
But I did not find any tests for it.

Not related to this issue specifically, how far should the tests go and how much should they cover? How much can they cover? For example should there be tests for subs that don't flatten to make sure they are not flattening? Or is that redundant? Because an implementation can pass the tests yet have unexpected behaviors.
I'm asking this because if the tests are not detailed, the only way to document some aspects of Perl 6 is by looking at the implementation(Rakudo ATM).


ADD_PATH and other features

The original ADD_PATH implementation contributed by @netixx.

I am having issue running this branch with the speaker not starting (not sending OPEN message).
I am using the following bit of code
spk := speaker.NewSpeaker(ctx)
	spk.Options.LocalCaps = cs
	spk.Options.Passive = false
	spk.Options.LocalASN = 16276
	spk.Options.LocalHoldTime = 15
	spk.Options.LocalId = netip.MustParseAddr("XX")
	spk.Options.RemoteASN = 16276
	spk.Attach(p, msg.DIR_L)

It also doesn't seem to be reading the open messages from the remote for some reason ?

Thanks so much for the review and for catching the bug. I've fixed it, improved a few more things, and tested on MRT files - LGTM.
@netixx would you have time to re-evaluate now?
p.s. apologies for late response ;)

Hey @netixx a friendly nudge here :) Please let me know if you're planning to re-evaluate, otherwise I'll just merge the branch and release.


Keras version mismatch

F.Y.I.
And which version of Keras you did you use for programming?

I used Keras 1.0.8. I've since switched to pure tensorflow and adapted kaos to tensorbayes for my current research work. I'll be more mindful of version specification in the future. Thanks.


fix the issue of badgerengine doesn't release disk space since badger gc doesn't work

close: https://github.com/genjidb/genji/issues/454

@crazycs520 I'm closing this issue, as Badger is no longer supported and this behavior is handled with Pebble.
Thanks!


GraphQL API Relational Data Deletion

Describe the bug
Hi, I'd like to clarify something. I noticed that when I delete the source model of relational data using GraphQL, its relationships still stay in the database. Is this normal behaviour? I'd expect that if a model is deleted (especially the source model), all its other relationships should get deleted as well and not be queried.
I'm currently having to delete each of it's relational data at the moment. I just thought to clarify / raise this.
Steps To Reproduce
Steps to reproduce the behavior:
1. Create a schema with relational data.
2. Try to delete it.
3. The main data deletes, but leaves its other relational data.

Expected behavior
To delete the data and all its relations automatically.
Amplify Framework Version
2.8.0
Amplify Categories
API
Dependency manager
Swift PM
Swift version
5
CLI version
11.1.1
Xcode version
14
Relevant log output
<details>
<summary>Log Messages</summary>

INSERT LOG MESSAGES HERE

```
Is this a regression?
Yes
Regression additional context
No response
Device
iPhone 14
iOS Version
15
Specific to simulators
No response
Additional context
No response

Hi @dan-codes1 Thank you for reaching us. Could you please clarify on what you mean by delete source model of relational data using GraphQL ? Are you deleting the an item by calling Amplify.Datastore.delete or are you going to AppSync console and invoking a delete operation?
As per this https://github.com/aws-amplify/amplify-swift/issues/933 deleting a parent should delete all the child.

@royjit for example, let us say we have Post and Comment models. A Post can have many Comment (@hasMany relationship).
If I call try await Amplify.API.mutate(request: .delete(Post)), it deletes the post model, but leaves all the comments that belong to the post undeleted.
This is what I mean. I expect that if a Post is deleted, then all the Comment that belongs to the post get deleted as well.

Cascade delete is supported only in Datastore and not in API GraphQL, you have to delete each item individually.

Noted. Can this be made a feature request? @royjit

Marking this as a feature request, will update here when we have more info to share.

@royjit just realized this is already also a feature request in the category-api repo: https://github.com/aws-amplify/amplify-category-api/issues/273


Enable NFS Azure file Storage for managed environment

This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
az containerapp env storage set
General Guidelines

[ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.


Development

Basic structure for analyze using maven + springboot + quartz

Hi @jreluiz,
in the future try to include a more informative name/description in the pull request.
Thanks
Nuno

Ok @nmsa,
It refers to a basic structure for analyze using maven + springboot + quartz.
Thanks
Jorge Luiz


Additionally, the current implementation uses scipy's interpolate.interp1d which is a legacy function that won't be supported in the future. We should explore replacements

          Additionally, the current implementation uses scipy's interpolate.interp1d which is a legacy function that won't be supported in the future. We should explore replacements

https://docs.scipy.org/doc/scipy/tutorial/interpolate/1D.html#legacy-interface-for-1-d-interpolation-interp1d
Originally posted by @nicholasloveday in https://github.com/nci/scores/issues/636#issuecomment-2421003318

Additionally, the current implementation uses scipy's interpolate.interp1d which is a legacy function that won't be supported in the future. We should explore replacements


Ground speed reporting bug?

I just noticed a possible bug in the reporting of ground speed in the POS endpoint.
If I create an aircraft with the following parameters:

"acid": "TST001",
"type": "B744",
"lat": "0",
"lon": "0",
"hdg": "0",
"alt": "FL360",
"spd": "250"

and then request position I get something like:

"TST001": {
"actype": "B744",
"alt": 10972,
"gs": 232,
"lat": 0.0479,
"lon": 0,
"vs": 0
},
"sim_t": 23

but using the POS command in the BlueSky client returns these speeds:

TAS/CAS/GS: 262/453/453 kts     M: 0.789

So there's a big discrepancy in the ground speed figures. I also noticed that Bluebird reports a fixed ground speed of around 232 when the aircraft speed is changing in the client, so it almost looks like there's an upper bound on ground speed reported by Bluebird.

Looks like BS reports the CAS/TAS/GS in m/s but converts them to kts for display in the GUI. I've corrected the API documentation to reflect that the ground speed is in m/s.
I'm not sure I can currently reproduce the situation where the ground speed reaches an upper bound. Do you have a scenario or a log file you could send me which shows this? Thanks.


Reenable git-daemon journey tests on CI by disabling artifact caching

Running journey tests that use git-daemon broke in the test-journey CI job since #1634 for unknown reasons, and they were disabled in 9566488, as discussed in https://github.com/GitoxideLabs/gitoxide/pull/1634#pullrequestreview-2507044578.
This reenables them those journey tests on CI, and fixes them by disabling the rust-cache step that caches compiled artifacts. It's rather odd that this works, but it very much does seem to.
See https://github.com/GitoxideLabs/gitoxide/pull/1634#discussion_r1887990759 for full details on this in a broader context, as well as other things I've tried and why none of the other things I've tried are ready to go yet.
I view this as a workaround rather than full-blown fix, but it seems to me that it's worth doing as a way to let those tests run on CI in a way that doesn't break anything else. With caching turned off, the test-journey job takes up to about 6:30 to finish; it seems to me that this may be acceptable even if not ideal, given the significantly greater running time of some of the other jobs.
This is, of course, only turning off artifact caching for the test-journey job, not for any other jobs.

That's wonderful, thanks so much! Who would have thought…!
My own tests weren't conclusive despite realising that the listen for socket code in Git might be prone to flakiness in the face of E_AGAIN errors, which simply seem to occur more or less often for unknown reasons.
I am happy for the fix, and hope I won't have to look at this again anytime soon 😄.


Popover still visible outside of parent element while scrolling

Bug report
The popover stays in place and is still visible even when the page scrolls past the parent element
Current Behavior

https://github.com/radix-ui/primitives/assets/31552644/f5e840bf-c59e-4f71-9227-62f269e3aee3
Expected behavior

Reproducible example
CodeSandbox Template
Suggested solution

Additional context

Your environment

Software
Name(s)
Version

Radix Package(s)
@radix-ui/react-popover
^1.0.6

React
n/a
18.2.0

Browser
Chrome
113.0.5672.126

Assistive tech

Node
n/a
20

npm/yarn
yarn
3.4.1

Operating System
macOS
13.4

You can use hideWhenDetached prop to achieve that behavior

That's expected because it is portalled in this demo so is always above.
You could not portal it, or could use hideWhenDetached in combination with collisionPadding if you don't want that behaviour.
However, you have just made me realise that we don't pass in the detectOverflowOptions to the hide modifier, so there's a bug currently preventing from doing that.
I will fix that now!

Here's how it would work/look:

https://github.com/radix-ui/primitives/assets/1539897/9c44cf6e-d9d0-40af-aa4f-84bbaf4eab2d

#2185

Here's a PR for a future feature to incorporate "obstacles" into Floating UI - elements that the floating element shares its top layer with: https://github.com/floating-ui/floating-ui/pull/2348
While padding in detectOverflowOptions solves the fixed navbar problem, the above feature in theory adds collision detection to avoid other elements anywhere on the page, not just the surrounding boundary. Another use case is when multiple floating elements are open simultaneously and should avoid each other. I'm still kind of working out how useful this feature is though

That's interesting!


Fix how we describe limitations on file attachments, SSH keys & query params

This MR fixes the first paragraph of the limitations section to clarify that you can't currently use the SDK to retrieve file attachments with secret references, rather than the current wording which implies you must use query parameters to retrieve files.

Closing this, as we've added a list of supported functionality instead.


support dual versions

Support dual package versions. This can be configured in root package.json

Dont forget to open a PR back upstream

Late to the party, but it seems like we may need to evolve this a little further first. There seems to be unexpected changes to the yarn.lock file


Add test_user_setup

Simple and thin CLI wrapper around the sync_crypto library.
It calls ddgSyncGenerateAccountKeys and prints out the 4 outputs needed for a /signup REST call.

OK @jpbochi I fixed some minor things and made a GHA that runs the build script, and verified it worked on the GH Runner.
https://github.com/duckduckgo/sync_crypto/actions/runs/6461948494


[Bug]: js new date() not correct in docker

Bug description
Steps to reproduce the problem:
js new date() not correct in docker

html code

docker's timezone is CST

use puppeteer in docker. html to pdf.
show "Fri Nov 18 2022 10:46:12 GMT+0000 (Coordinated Universal Time)" in docker. no correct.   Should show
"Fri Nov 18 2022 18:53:40 GMT+0800 (中国标准时间)"

Directly using the Linux OS, showed correct.
Puppeteer version
17.1.3
Node.js version
v14.16.0
npm version
6.14.11
What operating system are you seeing the problem on?
Linux
Configuration file
No response
Relevant log output
No response

1


docs - flow.backtarget needs description

http://developer.sketchapp.com/reference/api/#flowbacktarget has no explanation. You can infer the use from the code, but a description would help out

btw if you'd rather put these issues on https://github.com/BohemianCoding/developer.sketchapp.com repo lmk, I just found that the md files are located here

the https://github.com/BohemianCoding/developer.sketchapp.com repo is being archived, everything is moving here so that it's easier for every body :)
Indeed I missed that description

fixed in 09e2360


feat(brimstone): Response to GitGuardian events with metadata

The goal of this PR is to respond to the webhook with metadata on the affected accounts. This will enable GitGuardian to display information about Brimstone's actions.
[
    {
        "name": "example_name",
        "present": true,
        "rotated": false,
        "added": false,
        "safe_name": "example_pending"
    }
]

Thanks for the review, I've updated the function comment to reflect the change.

Looks ready for merging, except need to bump the version.
Please bump the version.  "make versionbump"

Thanks for the review, I've added a commit to bump the version.


Add LogEntry class, Severity enum and tests

Coverage increased (+0.07%) to 84.352% when pulling 80c5ad16309f43119514852f9d5607772744aab4 on mziccard:logging-entry into 31a90fc5c9c859880ca1d418fa05b4a75ba3cf1a on GoogleCloudPlatform:logging-alpha.

@lesv would you mind having a look? Thanks!

LGTM

P.S. Do you have an ETA of when Logging will be published?

@lesv I trust it will be ready by the end of the month

Thanks -- Still LGTM


HACKING.md: correct tests command

If the user has a virtualenv dir in the current working directory, then py.test will scan that directory, trying to test files that we don't want to test.
Update the recommended py.test command so that we only test rdopkg.

Whoops, will re-submit to GERRIT :fearful:


Use of deprecated crypto functionality in newer versions of Node

Moving this from https://github.com/blockstack/cli-blockstack/issues/20 because the cause is in blockstack.js.  Thanks to @john-light for reporting!

Just a heads up that I am getting this deprecation warning when entering certain commands in the CLI:

blockstack-cli balance ADDRESS
(node:14634) [DEP0091] DeprecationWarning: crypto.DEFAULT_ENCODING is deprecated.
(node:14634) [DEP0010] DeprecationWarning: crypto.createCredentials is deprecated. Use tls.createSecureContext instead.
(node:14634) [DEP0011] DeprecationWarning: crypto.Credentials is deprecated. Use tls.SecureContext instead

This experimental PR from @zone117x may potentially address the issue: https://github.com/blockstack/blockstack.js/pull/659


Static lib names are wrong on Windows VS

I have tested boost "Boost/1.64.0@conan/stable".
Package id is: ee5dab950b6ea94ae953b93c55343e98c2ec39df
Building for Visual Studio on Windows:
The static lib names are prefixed with "lib" but shouldn't be:
In VS config I have:
libboost_wave-vc140-mt-1_64.lib
libboost_unit_test_framework-vc140-mt-1_64.lib
libboost_prg_exec_monitor-vc140-mt-1_64.lib
libboost_container-vc140-mt-1_64.lib
libboost_graph-vc140-mt-1_64.lib
libboost_iostreams-vc140-mt-1_64.lib
libboost_locale-vc140-mt-1_64.lib
libboost_log-vc140-mt-1_64.lib
libboost_log_setup-vc140-mt-1_64.lib
libboost_math_c99-vc140-mt-1_64.lib
libboost_math_c99f-vc140-mt-1_64.lib
libboost_math_c99l-vc140-mt-1_64.lib
libboost_math_tr1-vc140-mt-1_64.lib
libboost_math_tr1f-vc140-mt-1_64.lib
libboost_math_tr1l-vc140-mt-1_64.lib
libboost_program_options-vc140-mt-1_64.lib
libboost_random-vc140-mt-1_64.lib
libboost_regex-vc140-mt-1_64.lib
libboost_wserialization-vc140-mt-1_64.lib
libboost_serialization-vc140-mt-1_64.lib
libboost_signals-vc140-mt-1_64.lib
libboost_coroutine-vc140-mt-1_64.lib
libboost_context-vc140-mt-1_64.lib
libboost_timer-vc140-mt-1_64.lib
libboost_thread-vc140-mt-1_64.lib
libboost_chrono-vc140-mt-1_64.lib
libboost_date_time-vc140-mt-1_64.lib
libboost_atomic-vc140-mt-1_64.lib
libboost_filesystem-vc140-mt-1_64.lib
libboost_system-vc140-mt-1_64.lib
libboost_exception-vc140-mt-1_64.lib

On my computer it is without the lib prefix.
I guess this is the problem:
prefix = "lib" if not self.options.shared else ""
Regards
Michael

But the real file name is with or without the "lib" prefix? I mean, it's a bug in the package_info() or it works?

The real files don't have the lib prefix. See the tgz from here:
https://bintray.com/conan-community/conan/Boost%3Aconan#files/conan%2FBoost%2F1.64.0%2Fstable%2Fpackage%2Fc4aef4edbc33205e0cf9b55bfb116b38c90ec132

You are right, I was only using the CMake find_package to reuse the packages and I didn't realize that the CONAN_LIBS was incorrect.
I've pushed the changes with some new improvement to set the correct environment for visual studio. Let's see how it goes in the CI servers

Thank you very much. I was also wondering how test_package could succeed...

Pushed to release branch, the packages of bintray will be updated in some hours.

I think this is not working as expected somehow.
In https://stackoverflow.com/a/35607887 someone is stating, that the static dlls are expected to have the lib prefix. And the lib file for dynamic libraries don't. I cannot tell if this is correct.
But I'm currently having the following issue:

In one of my project everything seems to work fine now.
In the other project linking fails with cannot open file 'libboost_date_time-vc140-mt-1_64.lib' althought I couldn't find any reference on "libboost" in configurations.

It seems that some boost library is depending on the 'libboost_date_time' library and therefore it fails.

Irrespective of the name that the libraries have, if the name of the library to link with is correct it should work. Please, give me some details about how are you linking with Boost in the example where you are getting the cannot open file 'libboost_date_time-vc140-mt-1_64.lib.
Are you using conan? Are you using conan-boost package? Which version? from which repository?
Thanks

I just realized, that it might be somehow my problem... It is a really strange project setup, and I guess that the libs that we use there are already depending on libboost somehow... and therefore they expect the file to be exactly named like this...


How to multiply Tensor with a vector

Hi,  I am confused about a very simple operation. I have some output A of shape (None,15,200),  and the 15 is the timestep.  I have anoter vector B of shape(None, 15), each dimension of B is the weight value of the 200-D representation of each time step .  I wanted to multiply A with B, which means a weighted output of shape(None, 15, 200), how can i compute this in Keras? It is a basic operation in Keras , sorry about not knowing that.  Thx so much!

Available mathematical operations are defined here.
I'd guess you're looking for something like this K.dot(A, B). It's very much like numpy.

@carlthome Hi, Do you know if this is possible to take the output of k.dot(A, B) and pass it to the next layer? I believe it causes an error about the input shape for the next layer. I guess, just output of keras.layers can go to keras.layers as an input.
Does anybody know if I'm right?

@amirmazaheri1990 This sound similar to what I want to do (see here). Were you able to pass the result into the next layer?

@LiuAndYang you can directly use the keras Multiply layer to do this (15,200)  * (15, 1) -> (15, 200), because keras Multiply layer use straightforward "*" to do muliplication just like tf.multiply, and tf.multiply supports broadcasting like numpy.
Refrence:
https://github.com/fchollet/keras/blob/master/keras/layers/merge.py
https://github.com/fchollet/kerAas/issues/2601
https://docs.scipy.org/doc/numpy/user/basics.broadcasting.html


docs: move redirects

The docs team is centralizing redirects from _redirects files into the docs platform repository.  (See https://github.com/apollographql/docs-rewrite/pull/370)
Docs in external repositories can still add redirects in page frontmatter like so:
---
title: Apollo GraphOS Platform
description: The GraphQL API Platform
redirectFrom:
    - /intro/platform
    - /graphos
    - /federation/managed-federation/overview
---

Redirects in a page's frontmatter take precedence over redirects in the _redirects file but flag a warning.

🛠 Docs Preview Building...

Configuration
{
  "repoOverrides": {
    "apollographql/apollo-ios-dev@main": {
      "remote": {
        "owner": "Meschreiber",
        "repo": "apollo-ios-dev",
        "branch": "docs/move-redirects"
      }
    }
  }
}

31f086183d5e5e32a0141443b4e514d469d0d191

Thanks @calvincestari ! Would you mind merging this and https://github.com/apollographql/apollo-ios/pull/3488 please and thank you? (I don't have write access.)


[BUG] Themes do not apply

I have tried to apply telescopes themes from telescope.themes and nothing applies them

I'm not using telescope.themes, but you can pass any telescope settings to the picker.
Could you please provide some information on how are you trying to use it?

I've tried both the way that telescope.ui-select does it and the way you do it with a normal picker. Telescope cmdline seems to only accept the customization to the layout_config properties
require('telescope').setup({
    defaults = {
        initial_mode = "insert",
    },
    extensions = {
        ["ui-select"] = {
            require("telescope.themes").get_cursor({ initial_mode = "normal" }),
        },
        cmdline = {
            --require("telescope.themes").get_ivy(),
            picker = {
                theme = "ivy",
                layout_config = {
                    width = 60,
                    height = 10,
                },
            },
        },
    },
    pickers = {
        buffers = {
            initial_mode = "normal",
            mappings = {
                i = {
                    ["<c-d>"] = actions.delete_buffer + actions.move_to_top,
                    ["<c-q>"] = actions.close,
                },
                n = {
                    ["d"] = actions.delete_buffer,
                },
            },
        },
        find_files = require("core.utils").select_find_command(),
    },
})

This is a printed table for the picker config that gets passed into telescope cmdline. The ivy theme is there, but it does not seem to apply the opts from picker outside of layout_config like I mentioned above, I also included trying to set the initial_mode as well which is also an option that can be passed to a picker
{
  completions = { "command" },
  highlights = {
    icon = "Include"
  },
  icons = {
    command = " ",
    history = " ",
    number = "󰴍 ",
    system = "",
    unknown = ""
  },
  mappings = {
    complete = "<Tab>",
    run_input = "<CR>",
    run_selection = "<C-CR>"
  },
  output_pane = {
    enabled = false
  },
  overseer = {
    enabled = true
  },
  picker = {
    initial_mode = "normal",
    layout_config = {
      height = 10,
      width = 60
    },
    theme = "ivy"
  }
}

@jonarrien I have figured out the issue, when you register the extension to telescope you are not passing the config given by the user, you are just passing ext_config instead of either merging the configs together, or using the users if config is not an empty table. I can submit a PR fixing this.

I do notice that you ate not using require 'telescope.config'.values is there a reason why?

@JustBarnt you can apply ivy theme this way:
require('telescope').setup({
    ...
    extensions = {
       ...
        cmdline = {
            picker = require("telescope.themes").get_ivy(),
        },
    },
    ...
})


Deleted legacy file

Why not just remove the file?...

facepalm. meant to do that. dont know what happened


(WIP) v3 TreeView

Closes
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:
RSP

https://www.chromatic.com/build?appId=5f0dd5ad2b5fc10022a2e320&number=733
https://www.chromatic.com/build?appId=651b502f6b74abaae4ee734c&number=24


Jm parse ratengine domestic linehaul data ghc xlsx part 1

Description
Tool to parse XLSX rate engine GHC pricing sheet.
The pivotal story for this PR is not complete. Creating this first PR because it's in a decent enough state that the next stories can be implemented with the current framework put it in place.
What is not complete is:

unit tests (not quite sure this is needed, you'll be able to parse the sheet to verify the code is still working)
verification that sheets have expected format for parsing (template to follow has been setup)

Reviewer Notes
n/a
Setup

Execute the -h option to see what options are available to run. Below are some examples of running the excel sheet.
Download the FAKE Pricing Data sheet to process it

go run cmd/parse_ratengine_data_ghc/*.go  -h
go run cmd/parse_ratengine_data_ghc/*.go -filename "Pricing Template (2019-09-13) - FAKE DATA.xlsx"
go run cmd/parse_ratengine_data_ghc/*.go -filename "Pricing Template (2019-09-13) - FAKE DATA.xlsx"   -save  -display -xlsxSheets="6,7"
go run cmd/parse_ratengine_data_ghc/*.go -filename "Pricing Template (2019-09-13) - FAKE DATA.xlsx"   -save  -display -xlsxSheets="6"

Code Review Verification Steps

[ ] Code follows the guidelines for Logging
[ ] Request review from a member of a different team.
[ ] Have the Pivotal acceptance criteria been met for this change?

References

Pivotal story for this change

Screenshots
n/a

Am I running the code wrong? Or is there another step I've missed to make this work?
$> go run cmd/parse_ratengine_data_ghc/*.go -filename "Pricing Template (2019-09-13) - FAKE DATA.xlsx"
2019/10/04 23:23:52 Importing file Pricing Template (2019-09-13) - FAKE DATA.xlsx
2019/10/04 23:23:52 Processing sheet index 6 with description 2a) Domestic Linehaul Prices
2019/10/04 23:23:52 TODO verifyDomesticLinehaulPrices() not implemented
2019/10/04 23:23:52 createCsvHelper.createCsvWriter() was not called to initialize cCH.csvWriter
exit status 1
$> go run cmd/parse_ratengine_data_ghc/*.go -filename "Pricing Template (2019-09-13) - FAKE DATA.xlsx" -all
2019/10/04 23:24:06 Importing file Pricing Template (2019-09-13) - FAKE DATA.xlsx
2019/10/04 23:24:06 Processing sheet index 6 with description 2a) Domestic Linehaul Prices
2019/10/04 23:24:06 TODO verifyDomesticLinehaulPrices() not implemented
2019/10/04 23:24:06 createCsvHelper.createCsvWriter() was not called to initialize cCH.csvWriter
exit status 1

Am I running the code wrong? Or is there another step I've missed to make this work?
$> go run cmd/parse_ratengine_data_ghc/*.go -filename "Pricing Template (2019-09-13) - FAKE DATA.xlsx"
2019/10/04 23:23:52 Importing file Pricing Template (2019-09-13) - FAKE DATA.xlsx
2019/10/04 23:23:52 Processing sheet index 6 with description 2a) Domestic Linehaul Prices
2019/10/04 23:23:52 TODO verifyDomesticLinehaulPrices() not implemented
2019/10/04 23:23:52 createCsvHelper.createCsvWriter() was not called to initialize cCH.csvWriter
exit status 1
$> go run cmd/parse_ratengine_data_ghc/*.go -filename "Pricing Template (2019-09-13) - FAKE DATA.xlsx" -all
2019/10/04 23:24:06 Importing file Pricing Template (2019-09-13) - FAKE DATA.xlsx
2019/10/04 23:24:06 Processing sheet index 6 with description 2a) Domestic Linehaul Prices
2019/10/04 23:24:06 TODO verifyDomesticLinehaulPrices() not implemented
2019/10/04 23:24:06 createCsvHelper.createCsvWriter() was not called to initialize cCH.csvWriter
exit status 1

You did it right. I added a new function createCsvWriter and failed to return nil when it's not created and it's causing an issue. Pushing the fix now.


Add new APIs that allow copying zip file entries between zip files

The copy is done directly using the raw compressed data, avoiding decompression and recompression.
In summary, the changes:

Add a private API for ZipFile to get the raw stream that doesn't do any CRC check or decompression.
Add the copy_file and copy_file_rename to ZipWriter that use that raw stream to copy the file.

I get nearly 95% faster Zip file modifications when I copy nearly all files, and just ignore the files I am removing from the Zip.
closes #95

Any idea when this will be merged? Currently depending on this branch, no issues so far, great work! :)

Quickly skimming through, it doesn't look like this method validates the original zip file, which could result in a malformed archive. Ideally, the library shouldn't be able to do that by default.
I don't think using CRC should impose much extra overhead. If it causes a regression, it'd be worth making a new issue to track it

@robmv unfortunately this branch needs a bunch of conflicts to be resolved. Would you be able to do that? I can then give this a review

I will try to update it in the following days and see about the @Plecra suggestion about the CRC. The CRC will need the file to be decompressed If I am correct and that will add some overhead, IOt is probably negligible because the compression is the more CPU intensive operation and that will not be needed. But if this gives me a little overhead I will try to add an option to do the CRC or not.
In my use case I really don't need the CRC check because the files are digitally signed and the signature stored on an external file, and it is checked when then ZIP file is retrieved so the CRC check is redundant and I need speed on removing things from the file, but I understand some people will want the CRC to be validated.

Ah, I had been under the impression that the CRC was performed on the compressed data. I can completely understand why you wouldn't care for that, I'd just like to make the difference clear to users. Is there a convention like _unchecked for correctness?

Rebased. The only mayor difference with the previous patch it that the implementation of make_reader() was split in half, adding make_crypto_reader(). This was done in order to be able to return ZipResult for a Unsupported compression method or bad password  at the same time the current code does it. If I didn't split that, the Read implementation should have to hide these errors as io::Error, creaking the current behaviour.
I still doesn't do decompression and CRC checks when copying files, if anyone has suggestions for naming an API that does that and one that doesn't, I would gladly update it.

@rylev Still interested on doing the review?

@Plecra can you review this?

In time, I'd also like to expand on the documentation of this feature. A doctest would be great.
I'd also like to avoid having two methods here, but I'm not sure there's a good solution with the current API

In time, I'd also like to expand on the documentation of this feature. A doctest would be great.

@Plecra: done!, doctest added to the raw_copy* methods.

@rylev I'm happy with this. Could you give the changes a once over?

Does this new API work only for copying from an existing ZipFile? What if you have no original ZipFile to start from ?
I'm doing an application where I need to spread the same data to different zip files, it would be great if I could compress it once before and than reuse the compressed data.

@eulerdisk true, only from an existing file. Your use case sounds interesting, but maybe an API for that will be more complex. what if the files are larger? leave the compressed version on RAM or dump to a temporary file?
With this proposed PR API you could create a temporary ZIP archive (RAM or file backed) and get the files to reuse from there.

With this proposed PR API you could create a temporary ZIP archive (RAM or file backed) and get the files to reuse from there.

Yep, now I can do that thanks to your PR :-)

maybe an API for that will be more complex. what if the files are larger? leave the compressed version on RAM or dump to a temporary file?

My idea is that you should be able to create a ZipFile wrapping a Read object (which than can be in RAM or Disk), then add the ZipFile to the archive. Though I'm new to this library so I don't know if that make sense.

@eulerdisk Interesting idea! Compression is pretty fast, but there are bound to be use cases for caching its output.
We couldn't create a simple wrapper around Read, as it wouldn't provide somewhere to keep the compressed data. Instead, you could write to a ZipWriter<io::Cursor<Vec<u8>>> to cache the results, and copy it like @robmv explained. Maybe we could make this simpler in the future...
That said, I think it's beyond the scope of this PR and would prefer some design discussion before any code changes are proposed.

Sorry about this @robmv but we had to change the API of the crypto methods, and this PR now has merge conflicts. I'll probably figure out how to resolve them in time, so I'm just letting you know it could take a while

Updated, hopefully this one is the winner!

Lovely! I'm sorry to say I'm not sure when I'll next be able to complete the review, but this PR's a top priority 😉

Ace! Finally time to get this published. Thanks for your contribution @robmv


Fix Markdown Table Headers

The codepage tables were missing the header separator causing the resultant output to resemble nothing like a table and being extremely hard to read.

Docs Build status updates of commit 97c3171:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/Outlook.MailItem.InternetCodepage.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@F1uxCapacitor thanks for finding this. I actually found this error in 5 docs total, and fixed them separately from this PR. So I'm closing this PR without merging it to avoid merge conflicts. Changes should be live later today.


wish txtbox hex decoder

HI
This is just a SF idea, maybe over-complicated...
I'd like to have simple protocol analyzer, text over the waveform
of usb or ethernet packets to display BIN or HEX byte content :)
Let's say user should obtain or write some protocol decoder core
like MII or ULPI, which outputs bytes, scopeio stores decoded values to BRAM.
Then scopeio txtbox engine at each triggering point transition displays such
bram content as HEX or BIN digits in place in time when they are decoded.

Coming there ....

Yes that would be awesome!
To have a waveform ---__---__-----
and below see 55 55 55 65 C0 A8 00 01
What I currently do to monitor UTMI is
connect 8-bit rxdata to yellow and 1-bit rxvalid to cyan trace
makes kinda "analog" view of rxdata. If there was a hex decoder
then when e.g. cyan is selected as trigger, at each crossing edge of
the triggering cyan line it would display decoded HEX
of yellow trace :)

Done that

Done that


[Urgent - Update] Export submission in "Complete" status

Related to comment here https://embl-ebi-ait.slack.com/archives/C9XD6L0AD/p1642638272023500
Description of the issue
A dataset is stuck in "Complete" status, therefore needs a developer to push it to "valid" and then needs to be exported. Import form has already been filled in.
Acceptance criteria

[ ] Submission for project iPSCderivedTenocyte is set back to valid
[ ] Submission is validated again
[ ] Submission is exported with metadata only flag on

@yusra-haider

steps to perform:

[ ] set submission to valid state by using endpoint:
https://api.ingest.archive.data.humancellatlas.org/submissionEnvelopes/61e74ba47701fb51a5c31d1d/commitValidEvent

[ ] redeploy state tracker

Updates were exported for this submission.


Rounding of floats

Floats are rounded very poorly in jshon.
E.g., echo [0.3] | jshon outputs:
[
 0.29999999999999999
]

That's not rounding, that's 0.3 represented as a float.
$ python -c 'print format(0.3, ".20f")'
0.29999999999999998890

It's still a bug. 0.29999999999999999 ≠ .3

No it is not. It is literally how floats work. https://en.wikipedia.org/wiki/Floating_point#Accuracy_problems

Even if that is literally how floats work, let me demonstrate how other JSON processing tools seem not to mind:
$ echo [0.3] | jq
[
  0.3
]

$ python -c "import json; print(json.dumps([0.3]))"
[0.3]

It's not that unreasonable to expect that same result from another JSON tool.


FAISS vectorstore similarity_search_with_relevance_scores returns strange/false result with MAX_INNER_PRODUCT

System Info
langchain==0.0.268
python=3.9
mac
Who can help?
I used the FAISS as the vector store. it seems that the similarity_search_with_score (supposedly ranked by distance: low to high) and similarity_search_with_relevance_scores((supposedly ranked by relevance: high to low) produce conflicting results when specifying MAX_INNER_PRODUCT as the distance strategy. Please see the screenshot below:

Information

[ ] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[X] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[X] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
from langchain.vectorstores.faiss import FAISS
from langchain.embeddings import HuggingFaceEmbeddings
embedding_engine = HuggingFaceEmbeddings(
model_name= "BAAI/bge-base-en", #"sentence-transformers/all-mpnet-base-v2",
model_kwargs={"device": "cpu"},
encode_kwargs={'normalize_embeddings': True} # set True to compute cosine similarity
)
texts = ["I like apples", "I hate apples", "I like oranges"]
simple_vecdb = FAISS.from_texts(texts,
embedding_engine,
distance_strategy="MAX_INNER_PRODUCT")
test 1
simple_vecdb.similarity_search_with_score("I like apples")
test 2
simple_vecdb.similarity_search_with_relevance_scores("I like apples")
Expected behavior
For similarity_search_with_score, if the similarity_search_with_score documentation is correct saying that "List of documents most similar to the query text with L2 distance in float. Lower score represents more similarity.", then the result from similarity_search_with_score should have matched the identical text I like apple with (distance)score=0 and the similarity_search_with_relevance_scores with (relevance)score=1, no?
if the FAISS return the cosine similarity score already during the similarity_search_with_scorecall, should the _max_inner_product_relevance_score_fn for the FAISS just return the identical score instead of 1-score when calculating the relevance score?

Hi,
How to get the docstore_id of the returned documents?


vmount causes system freeze

I'm trying to use vmount with mavlink inputs (MNT_MODE_IN 3, i.e. MAVLINK_DO_MOUNT) and with mavlink output (MNT_MODE_OUT 1, i.e. MAV_CMD_DO_MOUNT_CONTROL).
When I configure a PixRacer this way, vmount and in fact the whole system freezes: console via debug port no longer responsive, QGC loses connection, PixRacer stops flashing.
Steps to reproduce

Flash current master
reset all parameters
on the console:

param set MNT_MODE_IN 3
param set MNT_MODE_OUT 1
vmount start

I suspect the problem lies in the fact that in this configuration, the vmount input InputMavlinkCmdMount subscribes to vehicle_command and the output OutputMavlink publishes on it, causing a loop.
I tried preventing InputMavlinkCmdMount from processing messages that were published by OutputMavlink by checking here that the system and component IDs don't match the one's that vmount itself is publishing, but it didn't help.
@bkueng , any ideas?

Yep, this is easily reproducible thanks to your precise steps. I'll look into it.

Fixed.


credentials bug on IOS7

when using credentials on IOS7.0.4, http will add headers below:
Access-Control-Request-Method
Access-Control-Request-Headers
due to the reason above, it turns my method to OPTIONS, but I just want to use POST and send cross origin cookie to server.

I test credentials option with jQuery on IOS7.0.4, it is OK

@Rockergmail conquered?

@Rockergmail i meet the same problem

@lococo--0 Firstable, setting Vue.http.headers.post={}; in main.js to cover the default header set by author, which will tigger the OPTION method. Secondly, post something like this:
this.$http.post(                         SERVER_API,                         {                             data: "just data"                         },                         {                             credentials: true,                             emulateJSON: true                         }                 ).then(                         function (response) {                            ...                         },                         function (response) {                            ...                         }                 )
Last but not the least, don't forget update the vue-resource to the lastest version.

the OPTIONS method .. em .. puzzled me .. OK .. thx.. i'll try


fix: influxdb requires go1.17

Description of changes
influxdb can't build on darwin (amd64) using go1.18 because one of its
dependencies is failing. Until the upstream fixes the issue, we have to
pin the build to go1.17.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
22.11 Release Notes (or backporting 22.05 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg build influxdb

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

1 package built:

influxdb


Expose ImportWorkflow Endpoint

Why are these changes needed?

As of Sep 29th, there is an existing endpoint in autogen studio backend for exporting an entire workflow (including agents, models and skills), but no import workflow. This PR exposes a new endpoint for importing a workflow based on the output generated by export workflow and persist it into the database.
Checks

[X] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[X] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[X] I've made sure all auto checks have passed.

This PR is against AutoGen 0.2. AutoGen 0.2 has been moved to the 0.2 branch. Please rebase your PR on the 0.2 branch or update it to work with the new AutoGen 0.4 that is now in main.

Hi,
@ofimbres , Thanks for this PR.
Adding new datamodels tends to break existing db schema.
There is some work to be done to enable automatic database upgrade e..g, detect schema differences and update the database.
Any chance you have explored this or have some thoughts?

Hi,
@ofimbres , Thanks for this PR. Adding new datamodels tends to break existing db schema. There is some work to be done to enable automatic database upgrade e..g, detect schema differences and update the database. (not specific to this PR, but useful overall for ags) Any chance you have explored this or have some thoughts?

This schema uses the same schema used for export. Export uses a new schema that is not defined by pydantic, as a dict. Now that there is a new version, I will look into the new architecture changes and rebase them


Added redis cache chat history

Description
This PR includes the ability to use Redis for the chat history to ensure persistence.  Particularly when running RAG applications in environments like AWS Lambda, memory based history is insufficient.  Additionally if you want to avoid memory issues with a lot of users and large histories, and be able to scale out your application to multiple nodes decoupling the chat history from the node, then you need an external cache/storage system to handle this
Fixes # (issue)
Type of Change
Please delete options that are not relevant.

[ x ] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ x ] Added new unit/integration tests

Suggested Checklist:

[ x  ] 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
[ ] I have added Google Colab support for the newly added notebooks.
[ ] My changes generate no new warnings
[ x  ] 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
[ ] I ran make format; make lint to appease the lint gods

Do you think it would be a better design to create a MemoryStorage base class? And then each type of memory (we only have one for now) could have it's storage backend swapped in and out? Similar to how we have a base kvstore for a bunch of storage backends

I think that makes sense.  Effectively we need to implement get/set/put to receive or return a list of ChatMessage objects.  Perhaps an init_store() method as well where all the backend startup logic can/should go?  I also think the logic to accept the initial chat_history[] should live in the BaseClass so it does not get accidentally missed

@denen99 Yea that makes sense to me 👍🏻
Basically, we have something like
class BaseMemoryStorage:
  def __init__()
    ...
  def get():
    ...
  def set():
    ...
  def put():
    ...

class SimpleMemoryStorage:
  """Stores in an in-memory list, saves to disk?"""

class RedisMemoryStorage:
  """Stores in redis"""

So the storage handles purely saving that chat history somewhere. While the actual BaseMemory class and it's children handle the logic of how that memory is constructed (i.e. window buffer (the one we have now), or future memories like summarizing, creating a KG of the chat history, etc.)

@denen99 , just so you know, a commit that deletes files already checked in from another commit (776ad93 (#9778), in your case) doesn't shrink the size of the PR. Your PR is still XXL; In fact, the PR is twice the size of the cache, because now it says "please add these files and then delete them".
May I suggest re-creating your commit completely (either by starting from a new branch and re-do your changes there or by squashing the 3 commits you have here into a single one)?

@tslmy I think the main reason that so many files are changed right now is the storage folder was accidently deleted 😅

Ah, I see 😆. Didn't read the diff, just the commit messages.

I am going to close this PR and re-open, i am really unsure why there are so many file sin this PR, apologies.


Can we have a 3D map?

Cartographer can give us a 2D grid occupying map .But in outdoor navigation，we want use a 3D map
to ahcieve robot navigation.So ,how can we base on the method of scan to map to achieve 3d map to navigation.？

To output a 3D point cloud of the entire pose graph, use https://google-cartographer-ros.readthedocs.io/en/latest/assets_writer.html#assets-writer
with the additional processing step:
    {
      action = "write_ply",
      filename = "points.ply",
    },

Closing as answered


Backport: METRICS-2812: Upgrade HttpClient to 4.5.13

Back port https://github.com/confluentinc/support-metrics-common/pull/54

@confluentinc It looks like @xiaodongdu just signed our Contributor License Agreement. :+1:
Always at your service,
clabot


Temperature Sensors no longer display properly in the Eve App

I have two sonoff temp/humidity sensors and after updating the Eve app to 6.1.4 I can no longer view the sensor in the eve app in the "at a glance" view or by selecting the room. Oddly I can still view the sensors normally if I navigate to "types" under the room tab and then click humidity.

I have a few SONOFF SNZB-02 (T/H) and they don't show in eve's room view / at a glance

I have a few SONOFF SNZB-02 (T/H) and they don't show in eve's room view

That's the first screenshot, I take it?
The second screenshot is the type view?  I've never seen that icon before (the thermometer between <> brackets).
The third screenshot (from Home?) suggests it's exposed OK, as far as I can tell here.
Did you un-expose/re-expose the accessory after upgrading Eve?  Note: not suggesting you should do this - just trying to understand what's changed.
Could you please attach the debug dump file, or at least list the resources deCONZ uses to expose the sensor?  Also, could you set the logLevel of this accessory to 2 (using the ui command) and restart Homebridge deCONZ, while capturing the logfile and attach it?

Just updated Eve to 6.1.4 on my iPad.  The DHT sensor still looks alright, just the same as under 6.1.3.  Are you running iOS/iPadOS 16.6.1?

The first screenshot it the room view in Eve (Sensor is missing), the second is the "type" view in Eve.
I am on the latest Eve version on an iPad with latest iPadOS 16.
Sensors with Pressure (like Aqara) show up (like you said) without problem.
It might just be a problem in the Eve app...?
{
  "id": "00124B0022150020",
  "manufacturer": "eWeLink",
  "model": "TH01",
  "name": "Sensor DG Erik",
  "resources": [
    "/sensors/40",
    "/sensors/41"
  ],
  "settings": {
    "expose": true,
    "logLevel": 2,
    "lowBatteryThreshold": 20
  },
  "type": "sensors",
  "zigbee": true
}

{
  "config": {
    "battery": 72,
    "offset": 0,
    "on": true,
    "reachable": true
  },
  "ep": 1,
  "etag": "34f5510367a78ec6e5c7ce737496d8d3",
  "lastannounced": "2023-09-10T21:30:10Z",
  "lastseen": "2023-09-15T05:11Z",
  "manufacturername": "eWeLink",
  "modelid": "TH01",
  "name": "Sensor DG Erik",
  "state": {
    "lastupdated": "2023-09-15T05:10:04.007",
    "temperature": 2230
  },
  "swversion": "20200718",
  "type": "ZHATemperature",
  "uniqueid": "00:12:4b:00:22:15:00:20-01-0402"
}

{
  "config": {
    "battery": 72,
    "offset": 0,
    "on": true,
    "reachable": true
  },
  "ep": 1,
  "etag": "400c28b64ac9d017c270b236efa9da68",
  "lastannounced": "2023-09-10T21:30:10Z",
  "lastseen": "2023-09-15T05:11Z",
  "manufacturername": "eWeLink",
  "modelid": "TH01",
  "name": "Sensor DG Erik",
  "state": {
    "humidity": 6676,
    "lastupdated": "2023-09-15T05:11:42.754"
  },
  "swversion": "20200718",
  "type": "ZHAHumidity",
  "uniqueid": "00:12:4b:00:22:15:00:20-01-0405"
}

It's definitely something in the Eve app.  Not sure I can figure out what's triggering this, and whether I could prevent it in Homebridge deCONZ.  The resources and settings look normal, regular, and shouldn't cause any weirdness.
Kinda like the nuclear option, but would you be able to try:

Un-expose the sensor; wait a couple of minutes for HomeKit to sync the changed configuration to all devices; re-expose the sensor;
Try Eve on a different device; or un-install the Eve app; re-install the Eve app.

un-exposed for 30 minutes. Installed Eve on an iPhone where it was never installed before. No changes.

Very weird.  I would need to double-check how the device is exposed to HomeKit.  Maybe setting logLevel to 2 and capturing the log while Homebridge is starting would reveal something, but ideally I would use HMCatalog and or HomeSpy to examine the accessory.  I'm sorry, but I wouldn't know how to do that remotely.

I installed HomeSpy but it just crashes all the time.
I set logLevel to 4 (the result showed 3) and captured the output of homebridge -D. Can I send it to you without posting it in the public?

Sure, PM me on Discord.

The logfile looks all good to me.  As far as I can tell, the sensor is exposed to HomeKit the same as my DHT sensor by Homebridge RPi, except that that doesn't expose any battery.
I created a couple of CLIP sensors to mimic your eWeLink:
{
  "config": {
    "battery": 72,
    "offset": 0,
    "on": true,
    "reachable": true
  },
  "etag": "2920bcd72a63615bc0b686b5e0a14559",
  "manufacturername": "eWeLink",
  "modelid": "TH01",
  "name": "Test",
  "state": {
    "lastupdated": "2023-09-18T20:45:21.536",
    "temperature": 2230
  },
  "swversion": "20200718",
  "type": "CLIPTemperature",
  "uniqueid": "00:12:4b:00:22:15:00:20-01-0402"
}

{
  "config": {
    "battery": 72,
    "offset": 0,
    "on": true,
    "reachable": true
  },
  "etag": "bd2f4d197ad6087863f4fb9710151d5b",
  "manufacturername": "eWeLink",
  "modelid": "TH01",
  "name": "Test",
  "state": {
    "humidity": 6676,
    "lastupdated": "2023-09-18T20:45:38.155"
  },
  "swversion": "20200718",
  "type": "CLIPHumidity",
  "uniqueid": "00:12:4b:00:22:15:00:20-01-0405"
}

And, damn, after exposing it to HomeKit, I see the same as you in Eve.  If you check under Accessories, you'll find Eve thinks it's an Eve Thermo Control.  I think Eve is missing some service(s) and/or characteristic(s) from that device, and therefore not showing it in the Room or At a Glance views.
Ideally I would be able to mimic the Eve Thermo Control, but that won't ship until November.  And I doubt it will ship as a native HomeKit device, since they're moving to Matter so I might not (yet) have the proper tools to reverse engineer it.  For now I'll probably need to add a dummy Air Pressure sensor, so Eve will think it's an Eve Room instead (and expose it like your Aqara lumi.weather sensors).

In v1.0.1.


HHH-12579 Use the field description with type variables resolved to cast the return value of the $$_hibernate_read_entity() method

https://hibernate.atlassian.net/browse/HHH-12579

@Sanne this one should be in 5.3.1 too.

I fetched it. Looks Japanese to me :) Will need to study it a bit.

I pushed a new version to address Yoann's comment. It should be good now.

Merged, thanks!


Waveforms only visible on Chrome (mac)

Hi
I'm using the WP plug in of wavesurfer written by X-raym
https://github.com/X-Raym/wavesurfer-wp
He has confirmed that he can reproduce my issue which is that waveforms only render in chrome, not Firefox or Safari (Mac)
I am using AWS S3 to serve the files and have adjusted the CORS permissions file to allow the XML request to process the waveform, the waveform ARE obviously being processed.
The audio files are standard MP3s at 128Khz and are roughly 2min long
The audio plays back fine with or without waveform, just the waveform does not appear in Firefox or Safari
You can see the issue here : http://drummer-dev.davethedrummer.co.uk/downloads/hydraulix-06
I have tried using the backend var MediaElement
If I try using var WebAudio I get nothing loading at all.
Does anyone have any knowledge of this bug? I didn't see a post about it.
many thanks

He has confirmed that he can reproduce my issue which is that waveforms only render in chrome, not Firefox or Safari (Mac)
Any ticket reference for that?

Not as such, just the conversation between myself and the author on the plug in support page
https://wordpress.org/support/topic/waveform-only-generating-in-chrome-mac
I

I've debugged your page in Safari, and it appears Web Audio cannot decode your files in this browser. Maybe some optional mp3 headers are missing, or it doesn't like the bitrate or something like that.
I suggest you to try different encoding options. Closing this issue. If you find a working solution, please share with us.


It should be possible to script the execution

I'd love to be able to run this on a bunch of sites from the command line. Even just being able to execute it on cron, so that every Sunday night so we have a fresh report to look at every week.
The current approach doesn't allow for an execution like this. The Desktop and CLI Interface are nice if you want to scan a web site every once in a while, but after a few weeks you really don't want to go through the steps of doing this by hand.

you already can. for example
node cli.js -c 2 -o siturl1-a11y-scan-results.zip -u https://site1.com -d 'iPad (gen 7) landscape' -k<EMAIL_ADDRESS>Were you looking for something different

I see in your closed #9 you wanted something even simpler. You could use a bash script for that

#!/bin/bash

# Define the default parameters
Device='iPad (gen 7) landscape'
<EMAIL_ADDRESS>
# Function to perform the scan
scan() {
    node cli.js -c 2 -o "$1-a11y-scan-results.zip" -u "https://$1" -d "$Device" -k "$Key"
}

# Check for argument
if [ -z "$1" ]; then
    echo "Usage: $0 <site>"
    exit 1
fi

# Call the scan function with the provided argument
scan "$1"

Now, you can simply run ./scan.sh site1.com to perform the scan on site1.com with default parameters. Adjust the script according to your needs if you want to change default parameters or add more options.


No progress

I am trying to idle the EVE online drop
No progress shows in my twitch
and then I try to refresh the inventory page after 2 minutes,
it is still 31% (the 31% is idled by broswer)
https://i.imgur.com/MjbMnP9.png
However, the twitch does not show the progress even I idle the twitch drop by broswer...
But the twitch drop progress is increased.

latest version

This is a duplicate of #301.


Hybrid Slash Commands

Featuring Type
Function
So, what is it about?
By a hybrid slashcommand I mean that it is possible for a slash command to execute a prefix command without having to rewrite the command.
I have the idea that the {execute:<command name>} or {executHybrid:<command name>} option can be integrated within the $interactionReply.
Also adding the hybrid command type, in this way it will be possible to execute the prefix command and its slash counterpart (if any) without having to write another code.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

i dont think thats how discord works

You can't do that pretty sure. Moreover, why do you need it? You can just create a prefix and slash command under the same name and create both of commands for them to respond.


thm 1

what theoretical result do we have for sample mgc?
because if thm1 depends on thm's that we only have for oracle,
then i'm confused how we have thm 1 for sample?

moved to other thread


any example show how to use the directives of “preread_by_lua*”?

as title.
thanks.

in fact,i want to read ip from a file,and pass this ip to ""
preread_by_lua_block {
file = io.open("/usr/share/nginx/html/ip" ,"r");
for line in file:lines() do
ipstr=line
if(string.len(ipstr)>6) then break end
end
file:close()
ipstr =ipstr..":3306"
}
proxy_pass $hserver;
but how can i pass ipstr value to $hserver?

Hello,
You can define a variable using lua_add_variable and set it in Lua using ngx.var. You can then pass it to proxy_pass.

it works.
thx very muck!


Sync from main repo

Review before merging

Sorry I was syncing from MS to my personal, I have done it in reverse


Sentinel SOC Workbook

It indicates the SOC workbook is installed but when you view "Templates" or "My workbooks" it is not listed. I can see it in Content Gallery

Hello @ElancoDR, thank you for reaching out to us, we are sharing some steps with screenshot so could you please follow once and let us know workbook are listed.
Steps :-

Save the workbook template from template tab.

After saving workbook template, refresh the page once so that content gets reflected successfully in "My Workbooks" tab.

Once step 2 is done, wait for few minutes and click on "View template " and "View saved workbook".

I was able to locate it thanks.

thanks


ModuleNotFoundError: No modue named '_cffi_backend'

Traceback (most recent call last):
File "/home/wwjang/E2FL/test_wrls-power.py", line 10, in
import paramiko
File "/usr/lib/python3/dist-packages/paramiko/init.py", line 22, in
from paramiko.transport import SecurityOptions, Transport
File "/usr/lib/python3/dist-packages/paramiko/transport.py", line 90, in
from paramiko.ed25519key import Ed25519Key
File "/usr/lib/python3/dist-packages/paramiko/ed25519key.py", line 17, in
import bcrypt
File "/usr/lib/python3/dist-packages/bcrypt/init.py", line 25, in
from . import _bcrypt
ModuleNotFoundError: No module named '_cffi_backend'

$ python3.10 -m pip install cffi
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: cffi in /.local/lib/python3.10/site-packages (1.16.0)
Requirement already satisfied: pycparser in /.local/lib/python3.10/site-packages (from cffi) (2.22)
DEPRECATION: distro-info 0.23ubuntu1 has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of distro-info or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
DEPRECATION: python-debian 0.1.36ubuntu1 has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of python-debian or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063

according to https://community.letsencrypt.org/t/modulenotfounderror-no-module-named-cffi-backend/137535/13
pip install -U cffi

https://stackoverflow.com/questions/75272737/error-invalid-version-0-23ubuntu1-package-distro-info
pip uninstall -y distro-info
pip install distro-info==1.0

https://stackoverflow.com/questions/70570309/pkgresourcesdeprecationwarning-0-1-36ubuntu1-is-an-invalid-version-has-anyone
sudo apt-get remove --auto-remove python3-debian

Resolve this issue by installing cffi on sudo python and update it.


fflib_SObjectSelector tries to select non-existent CurrencyISOCode from User

I created a UserSelector class but it failed because it was trying to select CurrencyISOCode from User. I checked the SFDC docs and it does look like there is no CurrencyISOCode field on User.
I was able to fix the issue by adding User to fflib_SObjectSelector.STANDARD_WITHOUT_CURRENCYISO.
Should I put this in as a Pull request?
diff --git a/src/classes/fflib_SObjectSelector.cls b/src/classes/fflib_SObjectSelector.cls
index f4c6e09..f3f1db3 100644
--- a/src/classes/fflib_SObjectSelector.cls
+++ b/src/classes/fflib_SObjectSelector.cls
@@ -37,7 +37,8 @@ public abstract with sharing class fflib_SObjectSelector
                                                                                , ApexClass.SObjectType.getDes
                                                                                , ApexTrigger.SObjectType.getD
                                                                                , Attachment.SObjectType.getDe
-                                                                                , RecordType.getSObjectType().
+                                                                                , RecordType.getSObjectType().
+                                                                                , User.getSObjectType().getDes
     };

     /**

Sounds reasonable, I'd encourage you to get a pull request together.

Ok I've added this pull request for the change.


Add monitoring to restart services ^^

Could you elaborate what you mean by this?
Do you perhaps mean which user on the EDDN server has executed the scripts (with sudo) to restart the services or do you mean something completely different?

I mean a monitor that check ping of gateway and restart if ping is not responding.


[APIM 3.1.0] Admin portal(/admin) SSO documentation not found

Description:
2.1.0 documentation had for publisher/store, which was used for the admin portal as well. But 3.1.0 documentaion don't have any references for the admin portal SSO configurations.
It can be archive using similar configs in site.json in the admin jaggery app on <API-M_HOME>/repository/deployment/server/jaggeryapps/admin/site/conf/ directory.
"ssoConfiguration": {
   "enabled": "true",
   "issuer": "API_WORKFLOW_ADMIN",
   "identityProviderURL": "https://localhost:9444/samlsso",
   "keyStorePassword": "",
   "identityAlias": "",
   "keyStoreName": "",
   "verifyAssertionValidityPeriod": "true",
   "audienceRestrictionsEnabled": "true",
   "responseSigningEnabled": "true",
   "assertionSigningEnabled": "true",
   "assertionEncryptionEnabled": "false",
   "signRequests" : "true",
   "idpInit" : "false",
   "idpInitSSOURL" : "https://localhost:9443/samlsso?spEntityID=API_WORKFLOW_ADMIN",
   "externalLogoutPage" : "https://localhost:9443/samlsso?slo=true",
   "loginUserNameAttribute" : ""
 }

Affected Product Version:
APIM-3.1.0
This information needs to be added in APIM 3.1.0 documentation
[1] https://docs.wso2.com/display/AM210/Configuring+API+Manager+for+SSO#ConfiguringAPIManagerforSSO-Step2-ConfiguringPublisher/StoreforSSO

fix for 3.2.0 https://github.com/wso2/docs-apim/pull/1825


ci(benchmark.yml): use Node v16

https://prisma-company.slack.com/archives/C04UKP1JSE7/p1689693487127009

PR to try removing V8 flags causing this in https://github.com/prisma/prisma/pull/20281


Floating menu - laggy openning on the first run?

Anyone else experience this with the floating-menu animation?
The first time i run it in app it lags a lot ... works fine later but on the first run yeah, no so smooth... Any fix?

Same trouble!

I had this issue recently, are you using images?

@stephenlane It's been a while since I asked this but as far as I can remember, nope, not using images, just followed the basic setup documented here with ionic icons

@marko1943  the issue i had was image sizes. Are you icons local that you are using?

@stephenlane , well, yeah, they're in ionic lib I believe ...
It's the basic setup from here
<ion-floating-menu>
    <ion-floating-item icon=**"ion-camera"** click="myEvent()"></ion-floating-item>
    <ion-floating-item icon=**"ion-person**" click="myEvent()"></ion-floating-item>
</ion-floating-menu>

I cant remember if they are local or not. If they are not local to your application this could be a cause

Could be. I pretty much think they're local, added through ionic lib css and just documented here

ya I think they are local. Not too sure why its causing problems. What kind of device are you using?

Was testing on Xiaomi Redmi Note 4

really surprised you are having performance issues with that phone. You could just code in ionic 2 https://ionicframework.com/docs/api/components/fab/FabButton/

@marko1943  I have the same trouble. I'm using your example (I'm not using images, just basic icons, just like your example) and the menu is opening slowly.

thats really strange, testing on both nexus 5, ipad and galaxy tab a and have no issues with performance since I changed my image sizes

Same issue here, tested with Samsung Galaxy S6
First run laggy with only icons and two sub-buttons but I add the "text label"

really strange, i dont suffer from this. I did at one point but that was because I was making too many server calls and it was slowing down the app in general

My bad, I didn't put the floating menu BEFORE the ion content !
Since no more lag

excellent


Git repository urls in urls.txt

pkgs/die/scripts/urls.txt contains ~50 of git repositories that are being constantly updated on the mirrors - git web frontends are serving the index page. Probably a tree snapshot URL should be used instead (or git fetching should be implemented in pkgs/die/scripts/recache)
Here is a list of recently downloaded files.

My process of finding new urls is not very precise, it is more aimed at completeness. Bad urls will be downloaded once, and will not interfere in the future.
https://github.com/pg83/ix/blob/main/pkgs/die/scripts/urls

@kmeaw, we give merch to the first maintainers. I couldn't find contacts. To receive a stal/IX t-shirt contact me.

I don't have a Telegram account. You can reach be by email (it's in the commit's "author" line) or Jabber.


Android tv + nvidia

Black screen after installation

Did you try https://github.com/daviiid99/LineageOS-Switch-T210/releases/tag/20201228.?
Only this version of androidTV works for now

Did you try https://github.com/daviiid99/LineageOS-Switch-T210/releases/tag/20201228.?
Only this version of androidTV works for now


Types of ProductImages

If we are talking about the real world e-commerce, it's more and more common that one provides various types of images.
For fashion niche, one could provide a nonmodel photo, a photo of the product on the model, close upon the material, or some other representing the preferred usage, eg. "premium" type, which should be used as the main thumbnail whenever possible.
At this moment we have only "Product Images" and "Variant Images" with no ability to set the main image of the product/variant.
My proposition is to introduce a new field on the ProductImage which could be called usage_type or character_code, which would store the information of what's the style of the photo, so one can easily manipulate the photos order on the storefront.
In the API I'd like to receive something like:
media: [
    {
        "media_type": ["IMAGE", "VIDEO", "GIF"],
        "character_code": ["STYLE", "NON_MODEL", "PREMIUM", "CLOSEUP"]
        "path": "somelink.jpg",
        "alt": ...
    },
...

Currently, the first product image is used as the main thumbnail, but I'm not sure if that's clear enough from the UI/UX perspective, maybe we could improve that.
About the image types, I don't clearly see how else we could support that in Saleor except for just adding the model field? Isn't it something outside of Saleor's scope and should be implemented by those who really need this in their specific use-cases?

Also, I think it might be useful if the images would be attributed to specific product variants and by choosing one variant the attributed image should be displayed (selected). For example if a product has different colour variants when the specified colour is selected the image should change to the one with the chosen colour.

We support assigning images to particular variants in the backend, but non of our storefronts currently supports that. Will be added soon in Storefront 2.0 (see mirumee/saleor-storefront repo).


Create schematic with IMU

Create a schematic with LSM6DS3TR-C - it should be accessible and fully programmable from MCU in #1

Finished in https://github.com/aethersis/MaxTails/commit/069e06cfa3c1d49554754d342ad4185f289a75c3


fix(rest): Fix followups from getting stuck in queue

Currently it is possibile for the followups to get stuck in an dead queue (that will never refresh) because of the omission of both the header and the token in the url (due to how the ratelimit buckets work)
This pr adds another value of the SendRequest to manually specify the queue identifier that will be used if there isn't an authentication

For the ones that want to test the pr i have built the packages and put the .tgz inside the zip (github doesn't support .tgz files so i needed to do a .zip)
discordeno-packages.zip

I have changed this to a draft as when in a proxy the value isn't passed to the proxy so it might cause issues there, so while i fix i have marked the pr as draft


An email notification is sent even if no new developer profiles were added

Describe the bug
I received an email notification saying "0 new developer profiles were added" this morning.
To Reproduce
Steps to reproduce the behavior:

Ensure no developers were added "yesterday"
Trigger the daily email notification script

Expected behavior
No one should receive an email.
Actual behavior
Everyone receives an email stating "0 new developer profiles added to railsdevs".
Screenshots

Hey 👋
I'll be happy to work on this one!

All yours, thanks!

Oops! Sorry for this bug 😅


Add documentation link to README

How about a link to docs.rs?

Done. I squashed the change, not sure if it notified you.


SDK to include StopEventRequest and and additional iframe based "copy" of the functionality of the app time for coffee

http://www.timeforcoffee.ch/
On phones it should use current location to show possible nearby stations.

Created PR - https://github.com/openTdataCH/ojp-demo-app-src/pull/60
Deployed to new /board tab


Revert "Enable ValidatingAdmissionPolicy for tech preview."

This reverts commit 09a7011a2fdc7f9774c30f792f2f6a0cbf462931.
This commit is blocking a release blocker from merging in the cluster-config-operator. The associated pull request was reverted, so it should be safe to revert this one as well.
https://github.com/openshift/cluster-config-operator/pull/346

/assign @JoelSpeed

/cc
The current 4.14 merge policy is to accept only changes that fix problems with the nightly, which is why the linked PR is waiting, too. Both PRs are blocked for the same reason.

Reviving this PR. This can wait until 4.15 to be in TechPreviewNoUpgrade. CustomNoUpgrade should be available to test this feature in the meantime for determined users.
/reopen
/lgtm
/assign @JoelSpeed

/cherry-pick release-4.14

@jstuever @benluddy Is the intention here that we merge this, then update 4.15 and 4.14 to get the workload identity changes across the line?

Yes @JoelSpeed. I opened a tracking issue for the mismatch between api and cluster-config-operator plus https://github.com/openshift/api/pull/1581 to supersede this PR so that @jstuever doesn't need to deal with it.

/close


esp-rfid reboots when logs are accessed.

Not sure yet if it is just me, or if it is everyone using this project.
When I try to access the logs, I get :
"Please wait while fetching data."
no amount of waiting helps, it never returns the logs.
an additional issue i have is that from the "logs" section, access, or event,
the link to the status section doesn't work. Ill have a look at the code there in a minute.
esp-rfid Access Control  1.0.2

Hey @FOSSBOSS can you try building the dev branch? It should be much better.
I'll have a go hopefully soon in releasing a new v2 release candidate as we should be close to release now!

Hey @FOSSBOSS I've just release a new release candidate for V2 here: https://github.com/esprfid/esp-rfid/releases/tag/2.0.0.rc1
I hope it will work better, let me know if you can! :)

I will check that out! Thanks!


Help

Installed per directions and am getting a "No wheel connected" when I run the Xbox Wheel Compatibility.  I did an  uninstall and reinstalled and got same message.  Have tried multiple USB ports.  Any ideas?

With the Wheel Tester from the Windows Store doesn't detected but once in-game it detects it.

I fixed my issue...operator error.  I had to update the xbox driver for it and it works perfectly now.  Steering and all buttons.


[ANTLR] delay instruction will be parsed to expressionStatement

Current parsing rule for expressionStatement is too general. Timing statement (which is also quantumStatement) like delay[lengthof(a)] q[2], q[3]; is parsed as expressionStatement. expressionStatement has to be more specifically defined.

At the same time, it means delay[lengthof(a)] is parsed as indexIdentifier as opposed to TimingInstruction. The solution can be defining DELAY: 'delay' so it will overwrite identifier.

From my observasion, the only expressionStatement is incrementors like i++.

I parsed delay[lengthof(a)] q[2], q[3]; with the master 89e93e7, and then got following tree:
program
  header
  statement
    quantumStatement
      timingStatement
        timingInstruction
          timingInstructionName
            delay
          designator
            [
            expression
              expressionTerminator
                builtInCall
                  builtInMath
                    lengthof
                  (
                  expressionList
                    expression
                      expressionTerminator
                        a
                  )
            ]
          indexIdentifierList
            indexIdentifier
              q
              [
              expressionList
                expression
                  expressionTerminator
                    2
              ]
            ,
            indexIdentifier
              q
              [
              expressionList
                expression
                  expressionTerminator
                    3
              ]
        ;

is this issue resolved in your environment? > @godott


[Feature Request] Integrate rerank model

Required prerequisites

[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[X] Consider asking first in a Discussion.

Motivation

Solution
No response
Alternatives
No response
Additional context
No response

move this issue to RAG roadmap