Updated Obtain_dataset.ipynb to reduce the number of API calls

Also, 'ada_similarity' and 'ada_search' should be replaced by the column name 'embedding' to reduce confusion.

Thank you! Fixed in https://github.com/openai/openai-cookbook/pull/66.


fix capsicum build

by checking for __FreeBSD_version after r306657 when Capsicum helpers were
added.
Should fix #73

OK, although this was also MFC'd to 11 so we should check the appropriate range there too.

I'm not seeing libcapsicum in stable-11, can you show me?

Hrmph, perhaps I'm just confused.


Make error component reusable

Coverage decreased (-0.1%) to 92.761% when pulling 79fb53ead3b6fcf9c4535d20d457e36759faa2c4 on eatonphil:reusable-error-component into 1659b2da3fe8d2fd4f46ba3f76c74176ef794f21 on linode:master.


As Em, I want to know which training programs offer additional support and services

As Em,
I need to know which training programs offer support services
So that I know which training opportunities can help me plan for life outside training
GIVEN I'm on the search page
THEN I can a see place to filter searches by disability accessibility, childcare assistance, multiple language support, evening courses, and job placement assistance.
Desktop
Tablet
Mobile
Component Link

@cpenalosa In terms of "Multiple Language Support", looking at the ETPL data, it's unclear to me what the "Other Languages" column is for. It has values 1 or 2, do you know what they represent? The numbers don't seem to correlate with the "Languages" column in any way. Maybe this filter would just be seeing whether the "Languages" column is not empty?

@namanaman I just had a look at the data and it looks like there's two columns that "languages" refer to. One is the "otherlanguages" column and the other is "speakspanish" column. even with that said, it looks like there's some inconsistencies with the data assuming a value of 1 equals true and 2 equals false.
For now, I think the best we can do with this filter is to show whether there's a value in the languages field. In a future ticket, we can also show the languages supported on the training detail page.

@cpenalosa Okay thanks that makes sense. For the evening courses, I have the same question of what 1 and 2 refer to - which is true and which is false. Should I ask Lesley?

@namanaman yeah let's ask Lesley about those values to double check. Looking at the data, about 2/3rds of programs do offer night courses if 1 equals true.


Versioned documentation

/area documentation
What would you like to be added:
We need to let the user navigate documentation for old versions.
Why is this needed:
Because not everyone runs on the latest version of Falco.

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

We really need that.
/help

@leogr:
This request has been marked as needing help from a contributor.
Please ensure the request meets the requirements listed here.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help command.

In response to this:

We really need that.
/help

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

This is done by #324

This is done by #324


[WIP] add AccessListGasCost to tx-table

Description
Reference this zkevm-specs definition.
TODO

[ ] add constraints to tx-circuit.
[ ] test with geth mainnet tx in integration-tests.

@darth-cy @roynalnaruto   it seems feasible to add access list gas cost into tx/rlp table/circuit?


Use<EMAIL_ADDRESS>

[x] Have you signed the Contributor License Agreement?
[ ] Are you working against an Issue?

Upgrades to v0.0.20
The upgrade will automatically collapse the most recent PR comment when a PR is updated.
Refreshes the workflow based on
https://github.com/check-spelling/spell-check-this/blob/744c66e2140fd8acaf5388efd0db3727d010d6e9/.github/workflows/spelling.yml
The refresh implements reduced privilege for the workflow, changes the minimum word length from 2 to 3 (the default), and adds line_forbidden.patterns (including duplicate word detection).
If the Gitlab -> GitLab changes are problematic, the commit can be dropped and the entry removed from .github/actions/spelling/line_forbidden.patterns.
Microsoft Reviewers: Open in CodeFlow

(Those items can go away after this merges.)

@ryfu-msft: did something go wrong?

I meant to click view details, and accidentally clicked revert and it created that commit...

@jsoref - Does winget-pkgs need to be updated? It seems you have some great tools to help clean up the dictionary files

@Trenly: yes, it absolutely should be, I'm not sure why I didn't find that when I was looking.

@Trenly: yes, it absolutely should be, I'm not sure why I didn't find that when I was looking.

Would you be able to open the PR for it? I'm not confident that I have the know-how on the implementation details

Yeah, working on it. Currently tripping on the GitHub outage.


Draft: Try to fill up to period_bytes

Ideally, each time process() is called, we should fill the buffer with as much data we have, up to period_bytes. Failure to do so, in addition to being less efficient, can lead to cracking sounds under certain circumstances.
This one goes on top of #32

Hello @slp, thanks for la PR! IIUC, this PR reads a whole period_size during process(). To do so, you get from the queue a number of buffers that are equal to period_size. I think I did something similar at #35. I need to split that PR into two commits to make it clear. Roughly speaking, I:

modified TX handling to push a whole request, e.g., period_size into the queue.
modified consume() to read through the descriptors that contains the payload.
This results that in process() I fill either a period_size or the size of the buffer that pw provides me. I did not split the PR yet, I will do it and let you know.

I just split it. The commit that I think it looks similar too this PR is https://github.com/virtio-sound/vhost-device/pull/35/commits/65f535a62aa822bf14597c2fe8eb8b14afd03742.

I like your rewrite of the descriptor parsing in process_tx in #35. The original implementation is... weird. I'm dropping this one then.


Fix 0-based task number

As of #366, question numbers are to be 1-based. I missed out on the Task Popover in the side content not being 1-based. This is how it should look:

Features

Use typescript tuple type to reduce the props needed (for question progress) to 1
Use 1-based index for Task number

Pull Request Test Coverage Report for Build 857

0 of 4 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 25.761%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/components/workspace/ControlBar.tsx
0
4
0.0%

Totals

Change from base Build 854:
0.0%

Covered Lines:
903

Relevant Lines:
2965

💛  - Coveralls


DOC - GitHub links to source code

fix GitHub links to source code
formatting of docs

CI is green :green_circle:, so m merging to avoid conflicts ...


Swift 4 support

Hi,
Could you please inform as to what is the status for swift 4 support , i m trying to build using Xcode 9 .
Getting error while compiling with Xcode 9 - "Module compiled with Swift 3.1 cannot be imported in Swift 3.2"
Cartfile : github "https://github.com/uber/rides-ios-sdk.git" "swift-3-dev"
Thanks,
Mohammed Shahid.

Hey @s-shahid,
We're currently working on Swift 4 support in the swift-4 branch, but the API is unstable and may change at any moment :)
To fix the error that you're getting, run the following commands in the terminal:
rm -rf source/Vendor/
carthage bootstrap --platform ios

This should rebuild your dependencies and get rid of that module error :)

Thats cool :) Will try that fix .

@s-shahid:
We are now on v0.7.0, which adds Swift 4 support!
https://github.com/uber/rides-ios-sdk/releases/tag/v0.7.0

Thanks a lot @edjiang 👍


bad validation when an ImportPath has points

hello, i have issues when i want to use poet with packages that has points
for example when i import this package in my poet file:
import "github.com/someauthor/somepackage"

and it's use with poet:
.Statement("$T(params)",poet.TypeReferenceFromInstance(somepackage.SomeFunction))

generates:
...
import (
    "github"
)
...{
   github.com/someauthor/somepackage(params)
...}

which it is obviously invalid.
I think that the problem is in line 207 in types.go (and maybe in others places):
fullyQualifiedPieces := strings.Split(funcPtr.Name(), ".")

witch split the path of a newTypeReferenceFromFunction incorrectly.
thanks!

Thanks for catching this! We handle functions differently than values and we did not take external packages into account. This should be fixed.


Failed to build the Teaclave platform using docker with the -DSGX_SIM_MODE=ON option

I tried to build the Teaclave platform using docker with the -DSGX_SIM_MODE=ON option
$ git clone https://github.com/apache/incubator-teaclave.git
$ cd incubator-teaclave
$ docker run --rm -v $(pwd):/teaclave -w /teaclave \
  -it teaclave/teaclave-build-ubuntu-1804-sgx-2.9.1:latest \
   bash -c ". /root/.cargo/env && \
     . /opt/sgxsdk/environment && \
     mkdir -p build && cd build && \
     cmake -DTEST_MODE=ON -DSGX_SIM_MODE=ON .. && \
     make"

I expected to see this happen: platform was built successfully
Instead, this happened: error occurred: failed to select a version for the requirement sgx_rand = "^1.1.2"
[  3%] Building teaclave_client_sdk as dynamic and static libraries
Updating git repository https://github.com/apache/teaclave-sgx-sdk
Updating git submodule https://github.com/WebAssembly/testsuite
Updating crates.io index
Updating git repository https://github.com/SergioBenitez/Rocket
error: failed to select a version for the requirement sgx_rand = "^1.1.2"
candidate versions found which didn't match: 1.1.1, 1.1.0, 1.0.9, ...
location searched: crates.io index
required by package teaclave_attestation v0.2.0 (/teaclave/build/cmake_tomls/unix_app/attestation)
cp: cannot stat '/teaclave/build/target/unix/debug/libteaclave_client_sdk.so': No such file or directory
cp: cannot stat '/teaclave/build/target/unix/debug/libteaclave_client_sdk.a': No such file or directory
CMakeFiles/teaclave_client_sdk.dir/build.make:57: recipe for target 'CMakeFiles/teaclave_client_sdk' failed
make[2]: *** [CMakeFiles/teaclave_client_sdk] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/teaclave_client_sdk.dir/all' failed
make[1]: *** [CMakeFiles/teaclave_client_sdk.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Hi, thanks for your report. I cannot reproduce your issue.
Basically, I followed your steps and built Teaclave successfully.

hi, thanks for your response.
I checked https://crates.io/crates/sgx_rand/versions and found that there is no 1.1.2 version and the latest version is 1.1.1.
Looks like that's the reason why it failed. Isn't it?

Hi, thanks for your report. I cannot reproduce your issue.
Basically, I followed your steps and built Teaclave successfully.

hi, thanks for your response.
I checked https://crates.io/crates/sgx_rand/versions and found that there is no 1.1.2 version and the latest version is 1.1.1.
Looks like that's the reason why it failed. Isn't it?

We only use vendored third-party crates. Therefore, any upstream changes/updates won't affect our build process.
Did you change anything with the building system?

After investigation, I think I find the root cause. This isn't the code bug. It should be caused by the GitHub network connection issue within mainland in China. The vendored third-party crates failed to be fully updated.


Critical two way data binding

Version
3.0.0-rc.12
Node and OS info
Node v8.9.4, npm 5.6.0, windows 10
Steps to reproduce
    let response = [{name: 'a', value: '1'}, {name: 'b', value: '2'}, {name: 'c', value: '3'}]
    let newItem = {name: 'all', value: '0'}

    this.products = response
    this.selectProducts = response

    console.log(this.products)
    console.log(this.selectProducts)

    this.selectProducts.push(newItem)
    console.log(this.selectProducts)
    console.log(this.products)
    this.selectProducts.push(newItem)
    console.log(this.selectProducts)
    console.log(this.products)

What is expected?
When array is assigned to 2 new var, they are new instance, separated. So adding new object to one should NOT add object to the other one too. Also the same is correct about delete.
What is actually happening?
When array is assigned to 2 new var,  adding new object to one var add same object to the other var too. Also the same is correct about delete.

Vuex is the same too. In code get array of object from it, assign to a local var, then try to edit, delete, push to local var, it says that store is effected too.

This is how JavaScript works and has nothing to do with Vue.


[BUG] Search for models returns 404 "index not found"

What is the bug?
When searching for models before creating the first one, we are getting a 404 exception of index not found
Similar to https://github.com/opensearch-project/ml-commons/issues/1787 we should avoid exposing internal implementation and just return empty search results which is what the expected behavior should be.
How can one reproduce the bug?
Steps to reproduce the behavior:
Steps to reproduce the behavior:
1.Run POST GET /_plugins/_ml//models/_search before model group is created
2.Returns 404 error :
An error occurred while initializing cluster bootstrap: NotFoundError(404, 'index_not_found_exception', 'no such index [.plugins-ml-model]', .plugins-ml-model, index_or_alias)
What is the expected behavior?
Return empty search results
What is your host/environment?

OS: Mac OS X
Version: OpenSearch 2.11
Plugins: ml-commons

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.

Duplicate of #1878

Duplicate of #1878

Seems not duplicate, #1878 is for searching model group, this one is searching model.

Duplicate of #1878

Seems not duplicate, #1878 is for searching model group, this one is searching model.

My bad thanks @ylwu-amzn.


Web interface doesn't make withdrawn records evident

#1215 highlighted that there's no special user interface treatment for withdrawn records.
Possible options:

Add (and highlight) the withdrawn field if it is set
Slap a large, red, diagonal dismissable "withdrawn" label over the top of the whole page
something else

Closing in favour of preexisting #1102


Interactive create command should only push the contract being created

When a user runs oz create or oz upgrade, meaning to create or upgrade a single contract, the CLI current runs a push for all logic contracts. This may result unexpected for the user, who was only interested in creating/upgrading a single contract.

Duplicate of #1016


Add a wiki: ウィザードリィウィキ (Wizardry Wiki)

Link to origin wiki: https://wizardryjpn.fandom.com/ja
Link to destination (independent) wiki: https://wizardry.wiki.gg/ja

81 vs. 14
Sorry, this currently being worked in progress.


Whispers don't work

Right now it's not possible to send whispers from Chatterino.
We currently send whispers through IRC, by sending /w TARGET_USERNAME MESSAGE to the #jtv channel.
When sending a message, we receive a notice message back from TMI stating our whisper was not sent due to our settings.
Message: 14:59 Your settings prevent you from sending this whisper.
Relevant discussion on the Twitch Developers forum: https://discuss.dev.twitch.tv/t/unable-to-have-my-bot-send-whispers/21120

Not sure if relevant but all whispers that get sent go throught the channel: "jtv"

Works now, if this is still an issue for someone please let me know

I'm having this problem

I'm having this problem

Please open a new issue with any details you can provide (what error message you get, your twitch username etc)

@rezow :point_up:


Typo in publish profile file extension

> Make sure to not change the extension of the file (.puxbml).
It should be .pubxml not puxbml.

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

ID: 6c9d2be7-406b-0422-c49c-d62f972419e0
Version Independent ID: 127bdbb0-a2ce-dd7c-99b7-1ee55d691e48
Content: Publish to a folder - Visual Studio 2019 for Mac
Content Source: mac/publish-folder.md
Product: visual-studio-mac
Technology: vs-ide-general
GitHub Login: @sayedihashimi
Microsoft Alias: sayedha

Thanks for the report. I have submitted a fix, it should be published soon hopefully. It's an automated process, so I'm not sure how long it will take. Typically it gets updated within a day or two.

Change has been published, thanks for the report.
I think this can be closed now, I don't have permission to close this item.

#please-close


Reth to web assembly

Describe the feature
I would love to be able to compile reth to web assembly. I think that could enable some interesting future development courses.
Additional context
Does anyone else here know much about web assembly and about the feasibility of such an undertaking?
This is a very open-ended issue, feel free to ask questions.

what parts do you want to use in wasm?

@mattsse  Many things are possible, but an execution layer in wasm would be awesome. It may be a bit too heavy to run through a browser, but as wasm can function almost as an OSI (Docker) container, it would create a portable execution layer.
That was my initial thought, but I realize now there are many different applications if we port the whole thing.

Portable, low startup time eth nodes (imagine a serverless eth node)
Permissioned eth nodes
Cheaper cloud nodes
Significantly faster-than-js client side eth interaction (see https://github.com/michielpost/MetaMask.Blazor)
Direct access to eth network from many environments (as opposed to using a cloud node provider like Infura)

I'm sure there are more that I am missing...

revm (the EVM impl we use) supports WASM. I don't think making all of reth support WASM makes a lot of sense at this stage since the requirements for running a node in the first place are pretty immense (100s of GB of disk space, good chunk of RAM). Maybe once state expiry/history expiry etc is a thing it would make more sense if the resources required to sync are diminished.
It might make sense to support WASM for some of the individual crates like P2P(?). In that case we should track this individually for each crate with a reasoning

revm supports wasm? Awesome.
I think I disagree with you that the 100GBs of space and high ram requirements make wasm out of the question.
wasm currently has a low (4gb) max requirement on linear memory but that is expected to change.
The disk space can be stored outside of the wasm module with reth in it in some sort of db wasm module.
There are certainly challenges.
It might make sense for P2P and other crates. More discussion required.

It is not currently possible to do this without heavy changes to how reth is structured right now since our database required mmap files which is not a concept in wasm at all. I'm not sure what the particular gain is of supporting wasm?

Portable, low startup time eth nodes (imagine a serverless eth node)

I'm not entirely sure if I understand this, but if you mean serverless as in e.g. AWS lambdas, it doesn't really make sense since you need to be "always online" in order to be caught up with the latest block

Permissioned eth nodes

Could gating RPC behind e.g. an auth service not be "good enough"?

Significantly faster-than-js client side eth interaction

I'd just use revm here, revm also has a built-in ethers-rs provider that fetches state required to execute a block or tx on the fly. We use this in Foundry

Direct access to eth network from many environments

I think this is the one we can discuss the most, but running an Eth node in the browser does not make sense to me since it again requires 100s of GB of storage, a lot of memory, and threads. If running in an extension, I could imagine a pretty abysmal slowdown of the browser - if running in a tab, it won't sync if the tab is suspended
Maybe I am just lacking imagination here, but in any case I think this is far out in the future (given above constraints for the DB cannot hold in WASM) and requires a lot more careful thought. Because of that I will convert this to a discussion instead (we're trying to keep the issue tracker actionable)


audio crash when default audio output device in use

Bevy version
0.5
Operating system & version
Windows 10
What you did
I use https://vb-audio.com/Voicemeeter/, a virtual audio mixer. It uses a virtual audio cable that i set as the default audio device to allow me to mix sounds and play things like spotify over my mic. I have never had issues with any programs not working with it, but today when I tried to run bevy while outputting to the same speaker that the audio mixer was supposed to be also outputting to, bevy crashed.
What you expected to happen
Bevy should have played audio through the speaker, and not crashed, or otherwise the virtual mixer should have played audio, and not crashed (perhaps depending on which had control of the speaker at the time?). The audio would not be sent to the mixer. This is how all other programs seem to work.
What actually happened
Bevy crashed:
thread 'main' panicked at 'build_output_stream failed with all supported formats: BackendSpecific { err: BackendSpecificError { description: "OS Error -2004287478 (FormatMessageW() returned error 15100) (os error -2004287478)" } }', C:\Users\Ryan\.cargo\registry\src\github.com-1ecc6299db9ec823\rodio-0.13.1\src\stream.rs:208:22stack backtrace:
   0: std::panicking::begin_panic_handler
             at /rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b\/library\std\src\panicking.rs:493
   1: core::panicking::panic_fmt
             at /rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b\/library\core\src\panicking.rs:92
   2: core::result::unwrap_failed
             at /rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b\/library\core\src\result.rs:1355
   3: core::result::Result<tuple<alloc::sync::Arc<rodio::dynamic_mixer::DynamicMixerController<f32>>, cpal::platform::platform_impl::Stream>, cpal::error::BuildStreamError>::expect<tuple<alloc::sync::Arc<rodio::dynamic_mixer::DynamicMixerController<f32>>, cpal:
             at C:\Users\Ryan\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core\src\result.rs:997
   4: rodio::stream::{{impl}}::try_new_output_stream::{{closure}}
             at C:\Users\Ryan\.cargo\registry\src\github.com-1ecc6299db9ec823\rodio-0.13.1\src\stream.rs:204
   5: core::result::Result<tuple<alloc::sync::Arc<rodio::dynamic_mixer::DynamicMixerController<f32>>, cpal::platform::platform_impl::Stream>, cpal::error::BuildStreamError>::unwrap_or_else<tuple<alloc::sync::Arc<rodio::dynamic_mixer::DynamicMixerController<f32>
             at C:\Users\Ryan\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core\src\result.rs:821
   6: rodio::stream::{{impl}}::try_new_output_stream
             at C:\Users\Ryan\.cargo\registry\src\github.com-1ecc6299db9ec823\rodio-0.13.1\src\stream.rs:200
   7: rodio::stream::OutputStream::try_from_device
             at C:\Users\Ryan\.cargo\registry\src\github.com-1ecc6299db9ec823\rodio-0.13.1\src\stream.rs:31
   8: rodio::stream::OutputStream::try_default
             at C:\Users\Ryan\.cargo\registry\src\github.com-1ecc6299db9ec823\rodio-0.13.1\src\stream.rs:45
   9: bevy_audio::audio_output::{{impl}}::default<bevy_audio::audio_source::AudioSource>
             at C:\Users\Ryan\.cargo\registry\src\github.com-1ecc6299db9ec823\bevy_audio-0.5.0\src\audio_output.rs:22
  10: bevy_ecs::world::{{impl}}::from_world<bevy_audio::audio_output::AudioOutput<bevy_audio::audio_source::AudioSource>>
             at C:\Users\Ryan\.cargo\registry\src\github.com-1ecc6299db9ec823\bevy_ecs-0.5.0\src\world\mod.rs:928
  11: bevy_app::app_builder::AppBuilder::init_non_send_resource<bevy_audio::audio_output::AudioOutput<bevy_audio::audio_source::AudioSource>>
             at C:\Users\Ryan\.cargo\registry\src\github.com-1ecc6299db9ec823\bevy_app-0.5.0\src\app_builder.rs:272
  12: bevy_audio::{{impl}}::build
             at C:\Users\Ryan\.cargo\registry\src\github.com-1ecc6299db9ec823\bevy_audio-0.5.0\src\lib.rs:23
  13: bevy_app::plugin_group::PluginGroupBuilder::finish
             at C:\Users\Ryan\.cargo\registry\src\github.com-1ecc6299db9ec823\bevy_app-0.5.0\src\plugin_group.rs:104
  14: bevy_app::app_builder::AppBuilder::add_plugins<bevy_internal::default_plugins::DefaultPlugins>
             at C:\Users\Ryan\.cargo\registry\src\github.com-1ecc6299db9ec823\bevy_app-0.5.0\src\app_builder.rs:295
  15: slimevr_viewer::main
             at .\viewer\src\main.rs:5
  16: core::ops::function::FnOnce::call_once<fn(),tuple<>>
             at C:\Users\Ryan\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core\src\ops\function.rs:227

Additional information
The crash does not happen when the virtual audio cable is selected as the default audio output device. This is what should be selected anyway, as that would route bevy's audio through the mixer, and then from there into the speaker. However, what I didn't expect is that routing it directly into the speaker (by setting speaker as default audio device) would cause a crash. I assume this is due to some sort of exclusive access of the speaker by the virtual audio mixer? No other program seems to have this issue however - they play the sound normally

Edit: using bevy 0.5 not 0.4

Hello, it looks like this is already fixed (https://github.com/bevyengine/bevy/pull/2269) on the main branch. Same thing is happening to me - I'm using headphone DAC and when I listen to music via Tidal I cannot run bevy app - it crashes with the same error message. The problem is that Tidal has exclusive control over the sound device and Windows behaves like it doesn't have sound device at all. When I try to run examples from main branch, it works, when I switch to release-0.5.1 (or when I run my project that uses 0.5) it crashes.

The panic should be fixed by #850, and I suspect the lack of available device is due to VoiceMeeter taking the speakers output in exclusive mode (using the WASAPI Exclusive Mode or the Kernel Streaming API), meaning that no other application can use it simultaneously.
Closing this as completed by the PR linked above.


[Question] What environment did you use for fetching large data set like dialog_mixture

Hi, I am trying to fetch FLAN v2 by running the
PYTHONPATH=. python flan/v2/run_example.py
I could successfully run cot_submix, but I faced out of memory issue when I was trying to fetch dialog_submix in a single AWS p4d instance.
Some of the logs showed it download wiki_dialog data and also did some processing (maybe) using Apache Beam.
Warning: The dataset you're trying to generate is using Apache Beam,
yet no `beam_runner` nor `beam_options` was explicitly provided.

Some Beam datasets take weeks to generate, so are usually not suited
for single machine generation. Please have a look at the instructions
to setup distributed generation:

https://www.tensorflow.org/datasets/beam_datasets#generating_a_beam_dataset

What I was doing is follow the readme file in flan/v2 directory, bash setup.sh and ran PYTHONPATH=. python flan/v2/run_example.py. The only entrance I could get was the seqio.get_mixture_or_task('dialog_submix').get_dataset() function in that run_example script. I was not clear about how seqio.get_dataset() interact with or call apache beam. Apart from pip install apache beam, is there any other step about settings? like the environment? how could we pass runner type to beam_runner?
And I assume dialog_submix is not the largest in this five categories. So could you give me some help on explaining what environment you are using when running the script to generate data? for example, do you use multiple machines to do it, like google cloud or aws EC2, EMR? Are there further steps like settings, configs before running that run_example.py code? Thanks a lot!

Hi quq99,
There's nothing special about the dialog submix, it should work on a single machine, unless we missed something...

Hi @lehougoogle, thanks so much for the reply. Could you give me more info about how much memory needs when I try to run on a single machine? I noticed this issue https://github.com/google-research/FLAN/issues/44 mentioned he could run it on a 300G memory machine.
Another question is, how long does it typically need if I want to fetch all five categories(cot, t0, dialog, flan ..). Thanks :)

Hi @lehougoogle, more context is when I run the script for "dialog_submix" I face an error

python: malloc.c:4615: _int_realloc: Assertion `ncopies >= 3' failed.

I thought it was memory not enough issue, but when I change another machine(500G memory), I still saw the error, and I run free -g to see it was using around 70G memory. so I assume it was not a memory issue. Have you faced this issue before, any thoughts would be helpful, thanks a lot!

You can also now manually download the Dialog submixture (and the others) -- see the new README! :)


Installation failed

Command:

sudo pip3 install bert-tensorflow natural-questions

Version:

python: 3.7
tensorflow: 2.0
pip: 19.2

Logs:
Collecting wsgiref (from natural-questions)
Downloading https://files.pythonhosted.org/packages/41/9e/309259ce8dff8c596e8c26df86dbc4e848b9249fd36797fd60be456f03fc/wsgiref-0.1.2.zip
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-y1d6cb8r/wsgiref/setup.py'"'"'; file='"'"'/tmp/pip-install-y1d6cb8r/wsgiref/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: /tmp/pip-install-y1d6cb8r/wsgiref/
Complete output (8 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-y1d6cb8r/wsgiref/setup.py", line 5, in
import ez_setup
File "/tmp/pip-install-y1d6cb8r/wsgiref/ez_setup/init.py", line 170
print "Setuptools version",version,"or greater has been installed."
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Setuptools version",version,"or greater has been installed.")?
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

try --no-dependencies flag
ref: https://github.com/google-research/language/issues/5


how to get nginx.var in preread_by_lua_*

hi!
preread_by_lua_block{
   ngx.log(ngx.ERR,ngx.var.ssl_preread_server_name)
}

code above can't get ngx.var.ssl_preread_server_name

l saw latest openresty(<IP_ADDRESS>) ChangeLog

feature: added patches to the nginx core to make sure ngx_stream_ssl_preread_module will not skip the rest of the preread phase when SNI server name parsing was successful. thanks Datong Sun for the patch.

l have tested it,it works!
Thanks!l'm closing now


[AutoPR] edgegateway/resource-manager

Created to accumulate context: edgegateway/resource-manager

Build output:

Build output:


improve error messages for CS TRANSFER

"[06:27:18 PM] <@slingamn> if you're getting "Could not transfer channel", i'm pretty sure the only things that can cause that are an invalid recipient, or not owning the channel (so a typo, or you already transferred it)"
These should be distinct error messages!

Validity of the recipient account is already checked


Add support for a horizontal rule in Markdown

The Markdown --- should get converted to an <hr> tag.

Feature implemented in d35e235ac9e070f06c897d23d0ca362594b569f6


Detect broken socket and reconnect automatically

If the socket closes, the client never tries to reopen and reconnect.

Note that in neovim, set backupcopy=yes needs to be set or else socket is closed upon save. Emacs doesn't seem to exhibit the same problematic default setting that closes upon save.

related #563

Thank you @code-SL for the neovim solution!
I added the following to ~/.config/nvim/init.lua
vim.opt.backupcopy = 'yes'

and that alleviated the issue.


INSERTION SORT

@ashhar-rahman missing readme file for insertion sort and put remove duplicate problem in C folder if not present then create C folder inside it create LinkedList folder and in it add your problem.

@ashhar-rahman Things that are needed to be changed:-

Add README file describing details of algorithm for bubble sort. Create a folder in Algorithm name it "Sorting". inside it put your bubble sort source code and README file.
Rename LINKED LIST folder to LinkedList_Problem.

@ashhar-rahman Things that are needed to be changed:-

Add README file describing details of algorithm for bubble sort. Create a folder in Algorithm name it "Sorting". inside it put your bubble sort source code and README file.
Rename LINKED LIST folder to LinkedList_Problem.

Do these changes and I will merge it


bt_mesh_generic_server received message recv_rssi is always 0. (IDFGH-3556)

When a generic mesh model message is received "bt_mesh_generic_server_cb_evt_to_btc" copies the
ctx values to cb_params for the mesh stack.
recv_rssi was not copied.
This means the rssi could not be read when receiving generic server messages using ble_mesh.

Thanks for your contribution.

Hi @BMichiel
Thanks for the PR.

Thanks for contribution, please refer to https://github.com/espressif/esp-idf/commit/b91f05ba74c5b1287d8950f05c6a09addc7ca311. Will close the PR now. Thanks.


Fix crash in function signature specialization <Arg[0] = Owned To Guaranteed, Arg[1] = Dead> of Artsy.ARHockeyFeedbackDelegate.showFeedback (__ObjC.UIImage?) -> (), line 36

Version: 3.0.0 (2<IP_ADDRESS>) | net.artsy.artsy.beta
Stacktrace
-;function signature specialization  of Artsy.ARHockeyFeedbackDelegate.showFeedback (__ObjC.UIImage?) -> ();ARHockeyFeedbackDelegate.swift;36
-;Artsy.ARHockeyFeedbackDelegate.(showFeedbackWithRecentScreenshot () -> ()).(closure #1);ARHockeyFeedbackDelegate.swift;52
-;Artsy.ARHockeyFeedbackDelegate.showFeedbackWithRecentScreenshot () -> ();ARHockeyFeedbackDelegate.swift;53
-;partial apply forwarder;ARHockeyFeedbackDelegate.swift;0
Reason
Selector name found in current argument registers: currentUser
Link to HockeyApp

https://rink.hockeyapp.net/manage/apps/37020/crash_reasons/137622556

Fixed!


Support Python 3.13 / Numpy 2.1

Add support for Python 3.13 and Numpy 2.1. Move minimum supported Python to 3.11.
Some dependencies need new releases before we can do this:

Numba 0.61 (currently at 0.61rc1)

Waiting on https://github.com/numba/numba/issues/9777


update modules, lint

This PR:

gets modules installing (there was a blocker with ssb-validate-rs ...)
updates some dependencies
gets tests passing
lints

:fire:
no longer runs in node 12 (I think the new ssb-ref pushes that)

@SocketSecurity ignore-all


Kenneth/lints

Adjusted .golang-ci.yml to include several new lints. Had to delete whitespace lint because it was problematically large and unneccessary


Use dotnet naming instead of python?

Currently there are both PascalCase and snake_case in hete. How about changing the snake_case methods to PascalCase, so they also fit the dotnet ecosystem?
For example
boolean_mask -> BooleanMask

@Regenhardt For user level APIs we decided to keep thie snake_case, for internal implementation, we maybe would change to PascalCase to make .NET developers feel better.


Enable Github Action for Coordinator Tests for main pushes, PRs

What this PR does:
Enables formerly manual-only run Coordinator Test Github Action for PRs, pushes to main (Stargate V2). This will allow moving these tests from GCB and unify our CI/IT handling.
Which issue(s) this PR fixes:
Fixes #2281
Checklist

[x] Changes manually tested
[ ] Automated Tests added/updated
[ ] Documentation added/updated
[x] CLA Signed: DataStax CLA

Not sure why but C3.11 build failed while C4 and DSE passed just fine.
Re-run immediately fails (gets cancelled).

Wrote on the issue, this is better place:

This will be fine when v2 stuff and tests are moved out of the coordinator.. So maybe wait until then? We could also use more powerful machines on the GH..
We could split unit tests and int tests, I now this is extra work, but basically we are redoing stuff in all three runs at the moment.. Maybe the over time will not be better, but at least we would fail faster and spend less minutes..
Another issue is that ccm must download the C* distribution on each run, that's lot of resources kinda  screwed up, maybe there is a way to use custom build images on the GH as well?

Ths GCB machine has 32 cores.. We could try with a bit more resources here.. And increase heap size for maven as well, this saves like 10 mins in the DSE build.. https://docs.github.com/en/actions/using-github-hosted-runners/using-larger-runners

@ivansenic I tried couple of ways to increase Maven heap size (although TBH not 100% sure what Github Actions default to), but all attempts failed without good error message. Perhaps 2gigs is too big for our runners? Or maybe I did not find the right way to increase settings.

This works:
https://github.com/stargate/stargate/blob/7a4f0fd389dd9d05bc3b17389322a2e2df2382dc/.github/workflows/release-v2.yml#L24

This works:
https://github.com/stargate/stargate/blob/7a4f0fd389dd9d05bc3b17389322a2e2df2382dc/.github/workflows/release-v2.yml#L24

Thank you! Will try and see if that might work.
I am not sure what the default Maven heap settings are: usual locally would be (I thought) 2 gigs, but GH runners seem to have more limited resource settings.

Unfortunately run fails without any indication on what is happening: my guess is that there isn't enough resources to give to Maven. Will try one last time with 1.5 gigs (which I think is still more than what defaults are) but running out of options for default runners.

Looks like I was wrong: I may have had a problem with configs (in one case there was tab char from editor and that breaks YAML indentation). Maven heap size of 4g is accepted, but does not seem to improve times (no different between 1.5, 3 or 4 that I can see). Not sure why this is different from what Ivan saw.
Will leave this PR for a while, can return after we manage to deploy SGv2 with routing.

Isn't this now obsolete @tatu-at-datastax ?

yes @jeffreyscarpenter, will close.


{ 	// Red is the amount of red 	Red int 	// Green is the amount of red 	Green int 	// Blue is the amount of red 	Blue int }

Looks like a spam.


Format datetime by babel

For Issue #101 .
https://github.com/google/personfinder/issues/101
This change will resolve the original issue with Bulgarian:

e.g., Django formatter (currently used) doesn't support Bulgarian where the date format should be:
DD.MM.YYYY г.

However it will change formatting for some other languages, depending on the default style by Babel.
For example, in Japanese:
Django: 2014年10月17日20:43:50
Babel: 2014/10/17 20:43:50

Done.

LGTM. Merged. Thanks!


BUG Renable the ability to do dynamic assignment with DBField

This partially restores the ability for DBField classes to do dynamic assignment if scalarValueOnly is false.
Parent issue

#8814

@robbieaverill Ingo volunteered you to peer review this one. Let me know if you don't have the time and I'll find someone else.

We should target the 4.0 branch yeah?

@robbieaverill All your feedback has been answered.


sh: webpack-dev-server: command not found

Hello,
For some reason I can't run the dev server...
I get this terminal output on the latest Mac OSX
xvilo@MacBook-Air-van-Sem /V/D/S/p/wordpress-hybrid-client> npm run devserver

><EMAIL_ADDRESS>devserver /Volumes/Data/Stack/projects/wordpress-hybrid-client
> webpack-dev-server --port 8080 --json --progress

sh: webpack-dev-server: command not found

npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "devserver"
npm ERR! node v4.2.6
npm ERR! npm  v2.14.12
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>devserver: `webpack-dev-server --port 8080 --json --progress`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>devserver script 'webpack-dev-server --port 8080 --json --progress'.
npm ERR! This is most likely a problem with the wordpress-hybrid-client package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     webpack-dev-server --port 8080 --json --progress
npm ERR! You can get their info via:
npm ERR!     npm owner ls wordpress-hybrid-client
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Volumes/Data/Stack/projects/wordpress-hybrid-client/npm-debug.log

webpack-dev-server: command not found

run npm install first otherwise it won't work

https://github.com/shprink/wordpress-hybrid-client/blob/develop/INSTALLATION.md#install-dependencies


Dask bag fold method seems to be ineffiecient

Comparing the speed of the fold method in both dask.bag and pyspark there is considerable performance difference.
It might be due to a dask limitation. Otherwise, there might be possible optimization to make.
from operator import add

# DASK
import dask.bag as db
from dask.distributed import Client, LocalCluster

client = Client(LocalCluster(n_workers=4))
data = db.from_sequence([x for x in range(10**6)], npartitions=6)
=======
%%timeit
data.fold(add, initial=0).compute()
# 3.57 s ± 71.9 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
=======

# SPARK
from pyspark import SparkConf, SparkContext

conf = SparkConf().setAppName("Spark Incrementation")
sc = SparkContext.getOrCreate(conf=conf)
data = sc.parallelize([x for x in range(10**6)], 6)
=======
%%timeit
data.fold(0, add)
=======
# 313 ms ± 33.2 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

Thanks for the report. Do you know, does sc.parallelize persist data on the spark workers? In your example, the data.fold(add, ...).compute() is doing two things: generating data, and reducing it.
The equivalent in dask would be .persist()
In [40]: data = data.persist()

In [42]: %time data.fold(add, initial=0).compute()
    ...:
    ...:
CPU times: user 29.1 ms, sys: 5.04 ms, total: 34.1 ms
Wall time: 63.5 ms

From my knowledge, sc.parallelize(...) does not have persistence by default.
# Dask
In [4]: data = db.from_sequence([x for x in range(10**6)], npartitions=6)

In [5]: %timeit data.fold(add, initial=0).compute()
4 s ± 808 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

In [6]: data = data.persist()
        data.compute();

In [7]: %timeit data.fold(add, initial=0).compute()
11.9 ms ± 4.7 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

# Spark
In [8]: data = sc.parallelize([x for x in range(10**6)], 6)

In [9]: %timeit data.fold(0, add)
417 ms ± 34.9 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

In [10]: data = data.persist()
         data.collect();

In [11]: %timeit data.fold(0, add)
278 ms ± 47.4 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

From my results, persisting would increase performance for both engines for a significant amount, as expected.
Since Dask seems to have better results when persisting I tried to dig a bit into the performance issue. For both engines, I calculated the time to generate their data structure (DS), generate DS + compute time, and compute time when data is persisted. This is the results I obtained:
# Dask
In [24]: %timeit data = db.from_sequence([x for x in range(10**6)], npartitions=6)
1.1 s ± 20 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

In [26]: %%timeit
         data = db.from_sequence([x for x in range(10**6)], npartitions=6)
         data.compute()
3.69 s ± 36.7 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

In [27]: data = db.from_sequence([x for x in range(10**6)], npartitions=6).persist()
         data.compute();

In [28]: %timeit data.compute()
120 ms ± 9.54 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

# Spark
In [29]: %timeit data = sc.parallelize([x for x in range(10**6)], 6)
371 ms ± 16.1 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

In [30]: %%timeit
         data = sc.parallelize([x for x in range(10**6)], 6)
         data.collect()
552 ms ± 84 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

In [31]: data = sc.parallelize([x for x in range(10**6)], 6).persist()
         data.collect();

In [32]: %timeit data.collect()
137 ms ± 10.1 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

Is it fair to say that Bag.fold seems fine, and the original difference came down to the difference in time for generating data?

I totally agree

Thanks for confirming.

It would still be interesting to learn why this takes three seconds
In [26]: %%timeit
         data = db.from_sequence([x for x in range(10**6)], npartitions=6)
         data.compute()
3.69 s ± 36.7 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

To resolve this I would use data.compute(scheduler='sync') to run this in a single thread, and then replace the timeit IPython magic with prun to profile what is slowing things down here.


Player's direction

Is it possible to get Player's direction, so we can draw a small arrow with canvas? It's always confused about the position between player and enemy 's .

Yes it is possible, and it is easy too, but this version of the map is very stripped (no vehicles, items, carepackages), so I won't add them. You can implement them yourself!

@jussihi Do you know what's the offset to get the "player's direction"? I found some ESP document but not about this. Thank you again.


Support for wildcard vhosts (*.example.com)

Currently, it is not possible to configure marathon-lb with wildcard vhosts. This should be possible with haproxy, but we'd have to be careful since ordering would become significant in the rendered haproxy config.
@brndnmtthws is there any chance this is already on your feature roadmap? :) cc: @lloesche

It's come up before (see #161), which I pushed back on. I'm not opposed to making it a 1st class feature, although I feel like we have some serious label proliferation. I'm open to hearing feedback if you feel strongly about this.

By the way, you can change the ACL ordering with HAPROXY_{n}_BACKEND_WEIGHT. If you set it to -1 it'd make sure the rule is at the bottom.

@brndnmtthws hmmm thanks. I don't see it as a critical feature, and there is definitely something to be said for keeping our label variations manageable. For now, I think we'll try and enter all vhosts directly or use the HAPROXY_{n}_BACKEND_WEIGHT. @lloesche does this work for you?

The weight would only make sense in combination with hdr_end(host) for this use case. I think we're better of avoiding wildcard hostnames altogether. Maybe we can make the matching method configurable in the template. Default it to hdr but allow folks to choose between hdr, _beg, _dir, _dom, _end, _len, _reg, _sub, ...

That seems like a good idea. We could have a separate label like _VHOST_HDR_MATCH.

I got wildcards to work by adding the following lables:
  "labels": {
    "HAPROXY_0_BACKEND_WEIGHT": "-1",
    "HAPROXY_GROUP": "external",
    "HAPROXY_0_HTTP_FRONTEND_ACL": "  acl host_{cleanedUpHostname} hdr_end(host) -i {hostname}\n  use_backend {backend} if host_{cleanedUpHostname}",
    "HAPROXY_0_HTTPS_FRONTEND_ACL": "  use_backend {backend} if {{ ssl_fc_sni -m end .{hostname} }}",
    "HAPROXY_0_VHOST": "example.com"
  }

Cool! Want to add that to the wiki?

@brndnmtthws done

Excuse me guys, but this issue should be consider closed right?


Need app for turn off second screen

Description of the new feature / enhancement
So i need app or shortcut to make my second screen go black when i whatc moves for now i use web site https://www.fullblackscreen.com/  butt you can make it on Powertoys
that is best program thank you people :D
hehhe
Scenario when this would be used?
when someone have 2monitors and wonna watch somethin on one screen
Supporting information
something like this for one screen https://www.fullblackscreen.com/

What speaks against just turning your other monitor off?
/needinfo


Tweak package versions and build setup

Minor and patch version upgrades of dependencies where available
Now that we're off tsdx and on a more up-to-date fork, we don't need to pnpm install --shamefully-hoist

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Polyfill closest to use to get parent sortable

element.closest(selectors) could be used to get the parent sortable of an item. To make this work two things need to be added:

[x] polyfill see: https://developer.mozilla.org/en-US/docs/Web/API/Element/closest
[ ] sortable items need get a selector e.g. data-is-sortable or just an is-sortable attribute which is the same for every sortable and will be automatically added

Polyfilled by financial times polyfill

Maybe it adds more complications than it solves


Migrate to GitHub Actions (from Travis CI)

GitHub Actions is a new product by GitHub that we can use to automate our CI workflow. I've used it on some of my own projects, and it's pretty good. It runs fast and the dependency downloads are not flaky like in Travis CI.
We should try out GitHub actions to evaluate it.
Documentation: https://help.github.com/en/actions

I seem to remember some discussion about CI...just not being run anymore, in this repo. Is that what led you to consider GitHub Actions? Do you remember where that discussion was, or am I imagining things?

. Is that one thing that led you to consider GitHub Actions?

Partly yes, and partly because it's integrated into the GitHub UI, so we won't have to switch between services.

Do you remember where that discussion was, or am I imagining things

:smile: Yes, there was a discussion some time ago, as a comment on a PR: https://github.com/zulip/zulip-mobile/pull/4143#issuecomment-643004206

Turns out:

Our CI was running just fine all along -- but failing to post results to the PRs;
I was able to fix that by just revoking Travis's access to my account and authorizing it again.

So we're now back to Travis working just as well as it always did.
Faster and less flaky would still be quite attractive, though! So this remains a useful thing to try.

I noticed on #4250 that Travis was back to not posting results on the PRs.
Looking again at the build history on Travis's own site, it's still the case that it is running the builds, just apparently failing to post results. But it's really not very useful when it doesn't post results.
I could repeat the "turn it off and on again" fix that seemed to work in July, and maybe I will. But if I have to do that every couple of months when we notice it's broken, that will get old real fast -- really it already has. So we should probably consider Travis to be on its last legs.

I'd noticed again recently that some PRs weren't getting CI results posted from Travis. Today @hackerkid discovered that this is true across the Zulip project, and that the reason is that Travis CI has recently cut off free service for most open-source work, including Zulip.
Travis has always been a pretty low-quality product, so I'm not particularly sad about this development. It does mean it's now definitely time to go ahead with this migration.

I'll take this one.

I'll take this one.


Remove legacy gem from Rubygems

@vijendra Are you able to remove the legacy gem from Ruby gems using the gem yank method?
We should remove it to prevent new users from running the old version which has a pretty serious issue that can be hard to debug. (#5) We can also free up the namespace for the official Checkr gem.

Alternatively if you give me ownership on rubygems<EMAIL_ADDRESS>I can push a new version there that has a new major version number.


"Update page" API cannot set "parent" prop

I cannot move any page to new location, if I copy all the props to a new page which inside the destination page or database, I have to update all the mentions to the old page... even I want to do this, Notion API has no method to get "linked to page" prop...
So please give me a way to move pages. Many thanks!

Thanks for the enhancement request 🙏 I will add "moving page" to our internal feature tracker. For now, closing this issue since it's not specifically an issue with the JS SDK.

I just wanted to echo my interest for this feature request as well. I'm currently creating pages in a database, but when certain conditions are met, I want to move that page to the root folder. Currently the update endpoint does not support that functionality. So plus one for the feature request.

In fact, it looks like a new page cannot be created at the root level either. So, I think the update API endpoint having support for moving a page to the root level would first require the create endpoint to have support for creating pages at the root level. Is my understanding correct here?


Components and GUI

I'm currently looking into deploying multiple components and am identifying the following:
I'm able to deploy the AAS Repository 2.0.0-snapshot (eclipsebasyx/aas-repository:2.0.0-SNAPSHOT), and the submodel repository 2.0.0-snapshot (eclipsebasyx/submodel-repository:2.0.0-SNAPSHOT).

In the AAS repository - the AASX upload method is a stub and I also can't seem to get the feature to load - perhaps I could offer a PR if it's in the queue for development?
The Submodel repository does not seem to load the MQTT settings though I used the same properties file as for the AAS repository
Got a 400 empty when trying to add a Submodel to the submodel repository, though I tested it in the previous Basyx version - maybe I have to update something for the new AAS spec, but I got an empty response which could be changed
Is the AAS Web GUI (eclipsebasyx/aas-gui:v230703) currently incompatible with these components?
It needs both a server and a registry - I couldn't get the repository to connect in place of the server.

Regarding the third point, it's exactly the same as #36
I have a large submodel JSON file, and it would help to have some error logs to be able to modify on the go

AASX Upload

This is not implemented right now. If you would like to contribute this feature, we will glaldy merge. Please note, however, that this should be implemented as a feature of the AAS Environment component, not as feature of any of the repositories since only the environment can ensure inclusion of all required repositories

MQTT settings

There was an outdated documentation in regard to where to mount the application.properties. Can you double-check if this fixed your issue?

Better Error Logs

True, this is something which we are planning for in the future.

AAS Web GUI

For now, the UI is only working with BaSyx V1. We will update it in future to the newest version. However, this will still take some time.

Yes, they should be moved into basyx.aasenvironment as new project - e.g., basyx.aasenvironment-feature-aasxupload

The AAS GUI is now available also for version 2, see the examples folder for a deployment.
Are you still interested in raising a PR for AASX upload? If yes, I will reopen this issue.


catalyst/mistserver: segment fails to upload to B-node chosen by MistProcLivepeer (500 Internal Server Error)

2251 [2022-10-18 04:50:33] livepeer-catalyst-api (252) INFO: HIGH|Mis     tProcLivepeer|9108|||Post to https://lax.livepeer.com/live/tr_sr     c_hagbcbeh-hMls0Qjt/1.ts completed in 280.49 ms (54.56 ms upload     , 225.89 ms wait, 0.04 ms download)
2252 [2022-10-18 04:50:33] livepeer-catalyst-api (252) INFO: WARN|Mis     tProcLivepeer|9108|||Failed to upload 314524 bytes to https://la     x.livepeer.com/live/tr_src_hagbcbeh-hMls0Qjt/1.ts in 280.56 ms:      500 Internal Server Error

upload.log
I have seen it occasionaly succeed

Thanks @yondonfu for the clarification. You're correct, the failure case here was not using the access token which explains the failure. I originally misunderstood the options for transcoding and incorrectly thought leaving out the access token and hardcoded_broadcasters would allow MistProcLivepeer to "figure it out". I have to make a small change in the code path but I'm clear now.


Import Authenticator into other project file?

Hello,
I'm attempting to import the Authenticator into another file (a mixin).
My reason for this is to use a method defined in the Authenticator within the mixin (the method is to generate query params for an OAuth2 authorise callback).
It seems that using import Authenticator from 'my-app/authenticators/my-authenticator' results in an error when I attempt to use the method:
Call:
await Authenticator.generateAuthRequestQueryParams()
Error:
Error while processing route: _my-authenticator.default.generateAuthRequestQueryParams is not a function
Is there something special or specific to Authenticator objects/files which means they can't be imported and used?

I'd assume that function is defined as an instance method on the prototype. If this is a reusable piece of code I'd consider moving it to app/utils/generate-auth-request-query-params.js or so with:
export default function generateAuthRequestQueryParams() {
  …
}

TBH, organisationally, if possible I'd prefer these to remain in the custom authenticator file - that keeps all auth-related code together and reduces the learning curve of the code-base for future developers (and myself when I forget about the util! :P )
Can you think of any reason that the custom authenticator/methods on it can't be imported?

You can also keep the method in the authenticator file as a named export:
export function generateAuthRequestQueryParams() {
  …
}

export default BaseAuthenticator.extend({
  …
})

You cannot import the method as you're trying above though - that is simply not how JS/Ember's object model work…


Workflows

The PR fixes the use of Docker Hub username being used in the CD workflow, as well as setting the tags on the images based on Branch or Tag.

ci.yml needs to be updated.


docs(module:cascader): add an FAQ section

close #5098
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

这个提示仍然需要存在吗？需要的话直接合了。

这个提示仍然需要存在吗？需要的话直接合了。

需要的，麻烦合一发


Can't use "fill" property

You can't use the fill prop since NEXT only allows either width or fill.
Error:
Unhandled Runtime Error
Error: Image with src "http://<IP_ADDRESS>:1337/uploads/Group_695_0070fbbd68.jpg" has both "width" and "fill" properties. Only one should be used.

Done, this has been fixed in v0.0.2


[FEATURE] Passing parameters to the next step of conversation without setUserData and serialised in webhook mode

Is your feature request related to a problem? Please describe.
As documentation show I can passing parameters to a conversation when starting using data parameter:
$bot->onCommand('start', function (Nutgram $bot) {
    StartConversation::begin($bot, data: [
        'name' => 'static name',
    ]);
});

as my conversation class described as follow:
class StartConversation extends Conversation
{
    public function start(Nutgram $bot, string $name)
    {
        $bot->sendMessage("Hello $name");
        $this->next('secondStep');
    }
    public function secondStep(Nutgram $bot, string $name)
    {
        $bot->sendMessage("Another one hello for you, $name");
        $this->end();
    }
}

Yes, I can use set or setUserData method on $bot inside method, but signature of secondStep function reuqired two parameters to be passed (Nutgram $bot, string $name), and I won`t to write gettes inside function as I can pass it as arguments in method.
Describe the solution you'd like
I need to pass parameters for the next step in calling next() method:
    public function start(Nutgram $bot, string $name)
    {
        ...
        $this->next('secondStep', data:[
                'name' => 'value',
                // ....
        ]);
    }

Describe alternatives you've considered
No response
Additional context
No response

Documentation:
https://nutgram.dev/docs/usage/conversations#creating-conversations
Examples:
https://github.com/Lukasss93/telegram-stickeroptimizer/tree/master/app/Telegram/Conversations

Thanx, but neither the documentation nor the examples answers my question, how do I pass additional parameters to the called method specified in the next function in Conversation?


Fail to build on window (sys/time.h missing file)

@chentong319 I have not followed closely the additions to the instrumentations, but it is possible that the Window failure that I saw in one of my PRs is due to a change of yours. Its probably a very small change/
@NathanielMcVicar @sstamenova Maybe you would know what the equivalent of "sys/time.h" is on Window? Tx
Thanks for looking into it.
ShapeInferenceOpInterface.cpp
  Building Custom Rule D:/a/1/onnx-mlir/src/Interface/CMakeLists.txt
  OMInstrument.c
  OMTensor.c
D:\a\1\onnx-mlir\src\Runtime\OMInstrument.inc(39,10): fatal error C1083: Cannot open include file: 'sys/time.h': No such file or directory (compiling source file D:\a\1\onnx-mlir\src\Runtime\OMInstrument.c) [D:\a\1\onnx-mlir\build\src\Runtime\cruntime.vcxproj]
  OMTensorList.c
  OnnxDataType.c
  onnx_proto.vcxproj -> D:\a\1\onnx-mlir\build\Release\lib\onnx_proto.lib
  Building Custom Rule D:/a/1/onnx-mlir/src/Dialect/ONNX/CMakeLists.txt
  Building Custom Rule D:/a/1/onnx-mlir/src/Runtime/jni/CMakeLists.txt
  OMShapeInferenceOpInterface.vcxproj -> D:\a\1\onnx-mlir\build\Release\lib\OMShapeInferenceOpInterface.lib
  jniwrapper.c
  jnilog.c

I see that there are implementation of gettimeofday out there for window.
https://stackoverflow.com/questions/10905892/equivalent-of-gettimeday-for-windows

@chentong319  @AlexandreEichenberger: It looks like https://github.com/onnx/onnx-mlir/pull/750 is the change that introduced the failure in the Windows CI. Did the Windows CI not fail for the change itself? It really should have, so that the failure shouldn't have been checked in. If it didn't, we should figure out why.
Regardless, this is a good summary of the various options for time functionality available on Windows: https://docs.microsoft.com/en-us/windows/win32/sysinfo/about-time
I can have a look at fixing the break on Windows later this week, but if @chentong319 can have a look before that or if we could revert #750 until it can be fixed, that would prevent further breaks on Windows from being checked in.

@sstamenova It is #750. The reason is some os-related utility, such as gettimeofday and system() and ps, are used to get runtime info when the model is executed. It is not the essential part to compile or run a model, and is a prototype. I am thinking to put a #if for windows system to provide just an empty function and add the right function later when the code becomes stable. At least, onnx-mlir can be compiled and run without instrumentation functionality on window for now. How do you think?

@sstamenova It is #750. The reason is some os-related utility, such as gettimeofday and system() and ps, are used to get runtime info when the model is executed. It is not the essential part to compile or run a model, and is a prototype. I am thinking to put a #if for windows system to provide just an empty function and add the right function later when the code becomes stable. At least, onnx-mlir can be compiled and run without instrumentation functionality on window for now. How do you think?

That would work. Please add me to the PR, so I can have a look.

@chentong319 @sstamenova Please go ahead with this fix. I've made the Windows CI required going forward


Handlebars.Compile hangs permanently

Handlebars.Compile hangs permanently when compiling some malformed inputs. Here is the full program to reproduce one such case:
namespace Handlebars.Run
{
  public class Program
  {
    public static void Main(string[] args)
    {
      var text = "<p>{{>trbles=}\n ";
      HandlebarsDotNet.Handlebars.Compile(text);
    }
  }
}

Found via SharpFuzz.

Doesn't reproduce on 849d36ca4172c29943d7bd417edb3b24aeb6ebcc (i.e. current master branch).


Phonegap cli-8.1.1 build problem

I have a problem including the plugin for iOS on the Phonegap build.
I'm using the latest phonegap version cli-8.1.1 (4.5.5 / 7.1.2 / 6.0.1).
The app builds, but the map won't load, it says "cordova-plugin-googlemaps is not installed or not ready yet".
In the phonegap build log it says:
"Installing "cordova-plugin-googlemaps" at "2.6.2" for ios
Plugin doesn't support this project's cordova-ios version. cordova-ios: 4.5.5, failed version requirement: >=5.0.0".
Is there anyway to include the plugin for the 4.5.5 version? As I see there is no phonegap version that supports the 5.0.0 yet?
Thank you.

can you please provide your javascript and your config.xml file?

On Android the javascript works fine. The problem is with including/installing the plugin on iOS.
ionViewDidLoad()
  {
/*...*/
    this.platform.ready().then(() => {
      if(this.isPrivate)
      {
        this.getBoxInfo();
      }
    });
/*...*/
  }

getBoxInfo()
  {
  /*....*/
                  this.createMap();
/*...*/
  }

 createMap()
 {
/*..*/
    let mapOptions: GoogleMapOptions = {
      camera: {
        target: {
          lat: this.geoLat,
          lng: this.geoLong
        },
        zoom: 16,
        tilt: 30
      }
    };
    this.map = GoogleMaps.create('map_canvas', mapOptions);
/*..*/
}

Thats in my config.xml file (for phonegap build):
<gap:plugin name="cordova-plugin-googlemaps" source="npm">

</gap:plugin>
And thats in the log file:

Fetching plugin "cordova-plugin-googlemaps" via npm
Installing "cordova-plugin-googlemaps" at "2.6.2" for ios
Plugin doesn't support this project's cordova-ios version. cordova-ios: 4.5.5, failed version requirement: >=5.0.0
Skipping 'cordova-plugin-googlemaps' for ios

Not sure about Phonegap, but using Cordova I could work around the issue by installing 5.0.1. Works fine.
cordova platform remove ios
cordova platform add<EMAIL_ADDRESS>

Yeah, the problem is building it on Phonegap, as I see there is no support for >=5.0.0 yet.

have you tried to install the plugin this way?
    <preference name="GOOGLE_MAPS_ANDROID_API_KEY" value="(API KEY)" />
    <preference name="GOOGLE_MAPS_IOS_API_KEY" value="(API KEY)" />
    <plugin name="cordova-plugin-googlemaps" spec="https://github.com/mapsplugin/cordova-plugin-googlemaps" />
    <engine name="ios" spec="^5.0.1" />

This is the example:
https://github.com/mapsplugin/HelloGoogleMap/blob/master/config.xml

Yeah that worked! Thank you very much!


add keyboard shortcuts to Dashboard in Q release

add keyboard shortcuts to Dashboard in Quesnelia release

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


Add NetworkConnection available trigger

Add a trigger that fires if a network is available.

:+1:

Added!


Support CRLF Newlines

Right now the implementation of creating a Source from a string iterates over lines by using str::lines which hides whether a line ended with \n or \r\n. This causes it to put labels in the wrong place, or even lose them if they're near the end of the file, as demonstrated here:

My suggested fix, which I think should work (at least, it did for the above image), would be to replace lines() with split_terminator('\n'), and then manually check for and trim \r for the line:
let (line, newline_len) = if let Some(trimmed_line) = line.strip_suffix('\r') {
	(trimmed_line, 2)
} else {
	(line, 1)
};

That removes both kinds of newline leaving the line in the same state the current code does, and also gets you the correct newline length.

Temporarily patched in c2b5e34, but needs a better solution.

Ah, I was wondering why the labels were disappearing when I have errors near the end of the source file.
Fixed it by replacing CRLF with LF newlines.


Step title

Hi,
I have symbols defined in custom font.
Trying to set Typeface for step title.
Is this possible?
For now my approach is to use findViewById to catch step tile.But I'm afraid that doing this in future my app can stop work.

Hi, and sorry for the delay.
I have implemented this, you can find the new functionality in the version 2.4.0 of the library.
To use it in XML:
<ernestoyaquello.com.verticalstepperform.VerticalStepperFormView
    ...
    app:form_step_title_font_family="@font/your_custom_font"
    app:form_step_subtitle_font_family="@font/your_custom_font"
    app:form_step_number_font_family="@font/your_custom_font"
    app:form_step_error_message_font_family="@font/your_custom_font"/>

To use it in code:
verticalStepperForm
    .setup(this, userNameStep, userEmailStep, userAgeStep)
    ...
    .stepTitleFontFamily(yourCustomFont)
    .stepSubtitleFontFamily(yourCustomFont)
    .stepNumberFontFamily(yourCustomFont)
    .stepErrorMessageFontFamily(yourCustomFont)
    ...
    .init();

I hope this helps, and thank you for your suggestion!


TS Template Small Updates

[x] add strict mode - React.StrictMode component
[x] add web vitals - See latest CRA template, it's there
[x] add renovate.json
[x] add .cf-purge-urls.yaml (e.g. from FN CMS project)
[ ] add .gcs-cache-control (e.g. from FN CMS project)
[ ] Make sure the MR checklist is there
[ ] Set CI by default to true

add web vitals - See latest CRA template, it's there

@cermakjiri How do you intent to monitor this? We don't have any reporting service from this. I'd suggest we use Sentry for this. It offers measuring performance including WebVitals. It should be set up per project then, not in the template.

add web vitals - See latest CRA template, it's there

https://create-react-app.dev/docs/measuring-performance/
@cermakjiri How do you intent to monitor this? We don't have any reporting service from this. I'd suggest we use Sentry for this. It offers measuring performance including WebVitals. It should be set up per project then, not in the template.

The output is fairly variable and can be sent to multiple analytics providers. The package can be easily lazy loaded. And I hope we'll more focus on this if it's going to be included in the template. The implementation can be the same as it's in the original one.

add web vitals - See latest CRA template, it's there

https://create-react-app.dev/docs/measuring-performance/
@cermakjiri How do you intent to monitor this? We don't have any reporting service from this. I'd suggest we use Sentry for this. It offers measuring performance including WebVitals. It should be set up per project then, not in the template.

Ok, let's do it with Sentry as the default option.

Skipping .gcs-cache-control since we now deploy to Firebase hosting, not GCP bucket.


Update Project.toml

Support the 0.9 release (fixes https://github.com/cjdoris/PythonCall.jl/issues/177, for example)

FYI. I tried this locally and my 'test suite' of figures (annotation, subplots, surf, etc) worked well.


Ipfs.cat() returns null

Do you want to request a feature or report a bug?
What is the current behavior?
When retrieving data from IPFS using the ipfs.cat() ,  it quickly gives up and always returns null .
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

Failedipfs.cat, returningnull`, error: error sending request for url (http://<IP_ADDRESS>/api/v0/object/stat?arg=QmfLAtkNHGVWJDzq9UNmWAUk1X2Tduv3Pr2PY9oN8y3fCs): operation timed out, link: QmfLAtkNHGVWJDzq9UNmWAUk1X2Tduv3Pr2PY9oN8y3fCs, block_hash: 0x1809d56b1cf834d0e1150d896024fe5b61e2ad0a425aa094223546e35456564e, block_number: 4669460

When ipfs hash is checked separately here
https://ipfs.mintzilla.io/ipfs/QmfLAtkNHGVWJDzq9UNmWAUk1X2Tduv3Pr2PY9oN8y3fCs
data values are there.
What is the expected behavior?
Is there an approach to retrieve values without getting null?

Hi @SachiniPiyumali - do you know what version of ipfs mintzilla is using? When I try to use a public gateway:
https://ipfs.io/ipfs/QmfLAtkNHGVWJDzq9UNmWAUk1X2Tduv3Pr2PY9oN8y3fCs
It hangs and doesn't find the file

Hi @SachiniPiyumali - do you know what version of ipfs mintzilla is using? When I try to use a public gateway: https://ipfs.io/ipfs/QmfLAtkNHGVWJDzq9UNmWAUk1X2Tduv3Pr2PY9oN8y3fCs It hangs and doesn't find the file

When I tried to access with public gateway. it works
https://ipfs.io/ipfs/QmfLAtkNHGVWJDzq9UNmWAUk1X2Tduv3Pr2PY9oN8y3fCs

And we are using a pinata gateway called mintzalla

we upload to public ipfs
then use this endpoint (https://api.pinata.cloud/pinning/pinByHash) to pin the file to the ipfs.mintzilla.io

is there any updates about this? had same issue

I'm still having this issue


step(*args, **kwargs) impl for 1f1b and interleaved 1f1b

#1017

Close via #1047, #1048, #1051, #1059, #1063.


[Bug] Allignment of Icon is not Proper

Description
Profile Icon Alignment is not Proper in the footer of the page
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

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

Which icon are you talking about, pls provide the supporting screenshot @Coding-Charvi


[iOS] Saving photos into the default camera roll directory

Hello, in my app I am using the camera to take pictures by calling ImagePicker.launchCamera however I would like the pictures to be saved into the default ios camera roll directory so the user has easy access to them later if they would like.
I'm pretty new to ios so I don't really know the file structure very well.  I'm not sure if this path argument is relative to the root directory of the filesystem or the root directory of the app folder, but could i do this by setting the storageOptions.path to something like /private/var/mobile/Media/DCIM/?
Thanks!

This isn't supported right now. We would need to add a call to UIImageWriteToSavedPhotosAlbum somewhere in the code

Opened a PR #281 to add this functionality on iOS

This is live in v0.21.5 - thanks @gilesvangruisen!


Open Images Dataset

Describe the dataset
Add Open Images Dataset dataset to Hub. So this would work.
import hub
ds = hub.load("username/open-images")

Steps

Please take a look at the docs on uploading datasets.

Uploading script should be added to examples folder

Example
You can find an example of large dataset loading and upload here:

https://github.com/activeloopai/Hub/blob/master/examples/coco/upload_coco2017.py

Hey @kristinagrig06, can I be assigned to this?

Hi @VinulaUthsara! Thanks for your willingness to contribute! Let me know if you have any questions, and please star our package while you're at it.)

Thank you, will do.

Hi, @VinulaUthsara ! Hope this finds you well. Dropping a note to check in on you an ask if you need a hand with uploading the dataset. Feel free to ask us in the GitHub Discussions (we have beta access!) or our dedicated Slack channel. Thanks a mil!

Hi @mikayelh,
Hope you are well. At the moment I have not come across any issue or need
for help, but won't hesitate to let you know if I am in need of anything.
Thank You so much for your concern.
On Wed, Oct 21, 2020 at 11:17 AM mikayelh<EMAIL_ADDRESS>wrote:

Hi, @VinulaUthsara https://github.com/VinulaUthsara ! Hope this finds
you well. Dropping a note to check in on you an ask if you need a hand with
uploading the dataset. Feel free to ask us in the GitHub Discussions
https://github.com/activeloopai/Hub/discussions (we have beta access!)
or our dedicated Slack channel
https://join.slack.com/share/zt-ihfwn0s4-4dmI6BzPq6tqvVdEWq9kIg. Thanks
a mil!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/activeloopai/Hub/issues/111#issuecomment-713319325,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJLYQSP37PYFB53PYXTN6HDSLZYXJANCNFSM4SVU7WJQ
.

Hey @VinulaUthsara, checking in again to see if you need any assistance with uploading the dataset? We've just released v1 of Hub, which makes uploading even easier. If you need any help, feel free to join our Community Slack to ask questions!

Closing this feature request due to inactivity and lack of interest. Will revive it if more users request it.


Change order of abbreviation and full word(s)

It is more readable to make the introduction of a word the other way around:
Transmission Control Protocol (TCP) instead of TCP (Transmission Control Protocol) how it is now.
The first mentioned is the introduction style commonly used in papers etc.

I agree, that seems to be more common. Probably best to add a switch for that so both methods are available.

for release 0.3.0 i will keep is this way until proper support for plurals is merged


error message

Describe The Bug:
[6/17/2024, 3:47:40 PM] [Alpha ESS Homebridge Plugin] TypeError: Cannot read properties of undefined (reading 'lastTriggerStart')
at AlphaService.isTriggered (/volume1/homebridge/node_modules/homebridge-alphaess/src/alpha/AlphaService.ts:476:23)
at EnergyTriggerPlugin.calculateAlphaTrigger (/volume1/homebridge/node_modules/homebridge-alphaess/src/EnergyTriggerPlugin.ts:242:50)
at EnergyTriggerPlugin.calculateCombinedTriggers (/volume1/homebridge/node_modules/homebridge-alphaess/src/EnergyTriggerPlugin.ts:132:10)
at EnergyTriggerPlugin.onResponse (/volume1/homebridge/node_modules/homebridge-alphaess/src/EnergyTriggerPlugin.ts:96:10)
at /volume1/homebridge/node_modules/homebridge-alphaess/src/alpha/AlphaService.ts:74:27
at Array.forEach ()
at /volume1/homebridge/node_modules/homebridge-alphaess/src/alpha/AlphaService.ts:72:35
at processTicksAndRejections (node:internal/process/task_queues:95:5)

OK, I updated to last version. Old error is done, new error occured:
[6/17/2024, 8:04:32 PM] Homebridge v1.8.1 (HAP v0.12.0) (Alpha ESS Homebridge Plugin) is running on port 59372.
[6/18/2024, 5:36:23 AM] [Alpha ESS Homebridge Plugin] error fetching getLastPoweData, error: Error: connect ENETUNREACH <IP_ADDRESS>:443
[6/18/2024, 5:36:23 AM] [Alpha ESS Homebridge Plugin] Error: undefined
[6/18/2024, 5:36:23 AM] [Alpha ESS Homebridge Plugin] Getting Last Power Data from Alpha Ess failed.
[6/18/2024, 10:06:37 AM] [Alpha ESS Homebridge Plugin] error fetching getLastPoweData, error: Error: connect EHOSTUNREACH <IP_ADDRESS>:443
[6/18/2024, 10:06:37 AM] [Alpha ESS Homebridge Plugin] Error: undefined
[6/18/2024, 10:06:37 AM] [Alpha ESS Homebridge Plugin] Getting Last Power Data from Alpha Ess failed.
[6/18/2024, 12:36:14 PM] [Alpha ESS Homebridge Plugin] error fetching getLastPoweData, error: Error: connect ENETUNREACH <IP_ADDRESS>:443
[6/18/2024, 12:36:14 PM] [Alpha ESS Homebridge Plugin] Error: undefined
[6/18/2024, 12:36:14 PM] [Alpha ESS Homebridge Plugin] Getting Last Power Data from Alpha Ess failed.

EHOSTUNREACH <IP_ADDRESS>:443 means you could not connect to https://openapi.alphaess.com/api.
do you have network issues or have changed something on your network side ?  for me, the site seems reachable.

Everything is possible, I did not change network, but cannot quarantee network issues..
From: zerwuff @.>
Sent: Wednesday, June 19, 2024 12:03 PM
To: zerwuff/homebridge-alphaess @.>
Cc: CharlieVD @.>; Author @.>
Subject: Re: [zerwuff/homebridge-alphaess] error message (Issue #16)
EHOSTUNREACH <IP_ADDRESS>:443 means you could not connect to https://openapi.alphaess.com/api.
do you have network issues or have changed something on your network side ? for me, the site seems reachable.
—
Reply to this email directly, view it on GitHub https://github.com/zerwuff/homebridge-alphaess/issues/16#issuecomment-2178280898 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BH7IC5X4OWFEQDJUHVEILP3ZIFJONAVCNFSM6AAAAABJOB63SWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZYGI4DAOBZHA .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/BH7IC5TCISAZT4LH7MT6SLTZIFJONA5CNFSM6AAAAABJOB63SWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUB2XW4E.gif Message ID: @.*** @.***> >


How to log message in wasm?

Hi,
Thanks for building goog-web-game, this project is really cool.
I try to use this framework to learn more about game development and wasm, but I can not find a correct way to log the message into the console.
In the picture of Readme, I should use sapp-console-log to log things.
Is that log crate ready to use?  Or something I may help with this.
Thanks.
ref: https://github.com/yanganto/rust-wasm-sokoban/issues/5

I would recommend to use log-impl feature from good-web-game and use warn! error! etc macros just from gwg.
Something like this:
in Cargo.toml
good-web-game = { version = "0.3", features = ["log-impl"] }

in your code
use good_web_game::warn;

..
warn!("message");

Thanks for explaining in detail.


feat(vm): executor for public kernel inputs

Overview
Adds executor for public kernel inputs
This executor runs using public_inputs_vec which will be the entire PublicCircuitPublicInputs that the ts vm simulator should have crafted after execution.

Benchmark results
Metrics with a significant change:

app_circuit_proving_time_in_ms (Token:transfer): 45,556 (-16%)
protocol_circuit_witness_generation_time_in_ms (private-kernel-tail): 3,447 (+18%)
protocol_circuit_proving_time_in_ms (private-kernel-init): 22,499 (-17%)
protocol_circuit_proving_time_in_ms (private-kernel-reset-small): 45,261 (-21%)
protocol_circuit_proving_time_in_ms (private-kernel-inner): 42,295 (-16%)
protocol_circuit_proving_time_in_ms (private-kernel-tail-to-public): 91,243 (-18%)
protocol_circuit_proving_time_in_ms (private-kernel-tail): 36,738 (-23%)
protocol_circuit_proving_time_in_ms (public-kernel-app-logic): 47,430 (-16%)
protocol_circuit_proving_time_in_ms (base-rollup): 73,568 (-21%)
protocol_circuit_proving_time_in_ms (root-parity): 44,212 (-17%)
protocol_circuit_proving_time_in_ms (public-kernel-tail): 154,044 (-19%)
protocol_circuit_proving_time_in_ms (root-rollup): 19,371 (-20%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256
5,748
1,569
713
780
778

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
1,412
1,412
1,412

l1_rollup_calldata_gas
9,464
9,440
9,464

l1_rollup_execution_gas
616,105
616,081
616,105

l2_block_processing_time_in_ms
1,285 (-1%)
4,831
9,602 (+1%)

l2_block_building_time_in_ms
44,945
178,523 (+1%)
356,002 (+1%)

l2_block_rollup_simulation_time_in_ms
44,775
177,880 (+1%)
354,746 (+1%)

l2_block_public_tx_process_time_in_ms
24,275 (+1%)
100,989 (+1%)
204,002 (-1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
9,500 (-1%)
14,449 (-1%)

node_database_size_in_bytes
14,483,536
21,364,816

pxe_database_size_in_bytes
18,071
29,868

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.5
17.0
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.7
31.8
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.608
0.522
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
48.7
76.2 (-1%)
245 (-1%)
476 (-1%)
930
1,842
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.497
0.470
0.445
0.445
0.441
0.440
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
58.7
113 (-1%)
356
704
1,388
2,763
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
106
208
692
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.508
0.505 (-1%)
0.482
0.482
0.480
0.479
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
62.6

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
107

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.555

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
83,794
665,117

Transaction size based on fee payment method
| Metric |  |
| - |  |

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#6716  👈
#6762
#6754
master

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

Join @Maddiaa0 and the rest of your teammates on  Graphite


[vcpkg upgrade] build failure

Host Environment

OS: Windows
Compiler: MS Visual C

To Reproduce
Steps to reproduce the behavior:
./vcpkg upgrade --no-dry-run
Failure logs
Additional packages (*) will be modified to complete this operation.
Starting package 1/52: cgal:x64-windows-mixed
Removing package cgal:x64-windows-mixed...
Removing package cgal:x64-windows-mixed... done
Purging package cgal:x64-windows-mixed...
Purging package cgal:x64-windows-mixed... done
Elapsed time for package cgal:x64-windows-mixed: 1.736 s
Starting package 2/52: boost-graph:x64-windows-mixed
Removing package boost-graph:x64-windows-mixed...
Removing package boost-graph:x64-windows-mixed... done
Purging package boost-graph:x64-windows-mixed...
Purging package boost-graph:x64-windows-mixed... done
Elapsed time for package boost-graph:x64-windows-mixed: 149.3 ms
Starting package 3/52: boost-bimap:x64-windows-mixed
Removing package boost-bimap:x64-windows-mixed...
Removing package boost-bimap:x64-windows-mixed... done
Purging package boost-bimap:x64-windows-mixed...
Purging package boost-bimap:x64-windows-mixed... done
Elapsed time for package boost-bimap:x64-windows-mixed: 96.48 ms
Starting package 4/52: boost-random:x64-windows-mixed
Removing package boost-random:x64-windows-mixed...
Removing package boost-random:x64-windows-mixed... done
Purging package boost-random:x64-windows-mixed...
Purging package boost-random:x64-windows-mixed... done
Elapsed time for package boost-random:x64-windows-mixed: 74.39 ms
Starting package 5/52: boost-dynamic-bitset:x64-windows-mixed
Removing package boost-dynamic-bitset:x64-windows-mixed...
Removing package boost-dynamic-bitset:x64-windows-mixed... done
Purging package boost-dynamic-bitset:x64-windows-mixed...
Purging package boost-dynamic-bitset:x64-windows-mixed... done
Elapsed time for package boost-dynamic-bitset:x64-windows-mixed: 31.18 ms
Starting package 6/52: boost-property-map:x64-windows-mixed
Removing package boost-property-map:x64-windows-mixed...
Removing package boost-property-map:x64-windows-mixed... done
Purging package boost-property-map:x64-windows-mixed...
Purging package boost-property-map:x64-windows-mixed... done
Elapsed time for package boost-property-map:x64-windows-mixed: 41.79 ms
Starting package 7/52: boost-property-tree:x64-windows-mixed
Removing package boost-property-tree:x64-windows-mixed...
Removing package boost-property-tree:x64-windows-mixed... done
Purging package boost-property-tree:x64-windows-mixed...
Purging package boost-property-tree:x64-windows-mixed... done
Elapsed time for package boost-property-tree:x64-windows-mixed: 46.2 ms
Starting package 8/52: boost-multi-index:x64-windows-mixed
Removing package boost-multi-index:x64-windows-mixed...
Removing package boost-multi-index:x64-windows-mixed... done
Purging package boost-multi-index:x64-windows-mixed...
Purging package boost-multi-index:x64-windows-mixed... done
Elapsed time for package boost-multi-index:x64-windows-mixed: 84.32 ms
Starting package 9/52: boost-ptr-container:x64-windows-mixed
Removing package boost-ptr-container:x64-windows-mixed...
Removing package boost-ptr-container:x64-windows-mixed... done
Purging package boost-ptr-container:x64-windows-mixed...
Purging package boost-ptr-container:x64-windows-mixed... done
Elapsed time for package boost-ptr-container:x64-windows-mixed: 52.65 ms
Starting package 10/52: boost-serialization:x64-windows-mixed
Removing package boost-serialization:x64-windows-mixed...
Removing package boost-serialization:x64-windows-mixed... done
Purging package boost-serialization:x64-windows-mixed...
Purging package boost-serialization:x64-windows-mixed... done
Elapsed time for package boost-serialization:x64-windows-mixed: 160 ms
Starting package 11/52: boost-xpressive:x64-windows-mixed
Removing package boost-xpressive:x64-windows-mixed...
Removing package boost-xpressive:x64-windows-mixed... done
Purging package boost-xpressive:x64-windows-mixed...
Purging package boost-xpressive:x64-windows-mixed... done
Elapsed time for package boost-xpressive:x64-windows-mixed: 94.33 ms
Starting package 12/52: boost-spirit:x64-windows-mixed
Removing package boost-spirit:x64-windows-mixed...
Removing package boost-spirit:x64-windows-mixed... done
Purging package boost-spirit:x64-windows-mixed...
Purging package boost-spirit:x64-windows-mixed... done
Elapsed time for package boost-spirit:x64-windows-mixed: 621.9 ms
Starting package 13/52: boost-iostreams:x64-windows-mixed
Removing package boost-iostreams:x64-windows-mixed...
Removing package boost-iostreams:x64-windows-mixed... done
Purging package boost-iostreams:x64-windows-mixed...
Purging package boost-iostreams:x64-windows-mixed... done
Elapsed time for package boost-iostreams:x64-windows-mixed: 91.53 ms
Starting package 14/52: ixwebsocket:x64-windows
Removing package ixwebsocket:x64-windows...
Removing package ixwebsocket:x64-windows... done
Purging package ixwebsocket:x64-windows...
Purging package ixwebsocket:x64-windows... done
Elapsed time for package ixwebsocket:x64-windows: 73.99 ms
Starting package 15/52: libpng:x64-windows
Removing package libpng:x64-windows...
Removing package libpng:x64-windows... done
Purging package libpng:x64-windows...
Purging package libpng:x64-windows... done
Elapsed time for package libpng:x64-windows: 36 ms
Starting package 16/52: opencv3:x64-windows-mixed
Removing package opencv3:x64-windows-mixed...
Removing package opencv3:x64-windows-mixed... done
Purging package opencv3:x64-windows-mixed...
Purging package opencv3:x64-windows-mixed... done
Elapsed time for package opencv3:x64-windows-mixed: 274.4 ms
Starting package 17/52: tiff:x64-windows-mixed
Removing package tiff:x64-windows-mixed...
Removing package tiff:x64-windows-mixed... done
Purging package tiff:x64-windows-mixed...
Purging package tiff:x64-windows-mixed... done
Elapsed time for package tiff:x64-windows-mixed: 32.22 ms
Starting package 18/52: harfbuzz:x64-windows-mixed
Removing package harfbuzz:x64-windows-mixed...
Removing package harfbuzz:x64-windows-mixed... done
Purging package harfbuzz:x64-windows-mixed...
Purging package harfbuzz:x64-windows-mixed... done
Elapsed time for package harfbuzz:x64-windows-mixed: 55.63 ms
Starting package 19/52: freetype:x64-windows-mixed
Removing package freetype:x64-windows-mixed...
Removing package freetype:x64-windows-mixed... done
Purging package freetype:x64-windows-mixed...
Purging package freetype:x64-windows-mixed... done
Elapsed time for package freetype:x64-windows-mixed: 83.59 ms
Starting package 20/52: nana:x64-windows-mixed
Removing package nana:x64-windows-mixed...
Removing package nana:x64-windows-mixed... done
Purging package nana:x64-windows-mixed...
Purging package nana:x64-windows-mixed... done
Elapsed time for package nana:x64-windows-mixed: 91.14 ms
Starting package 21/52: libpng:x64-windows-mixed
Removing package libpng:x64-windows-mixed...
Removing package libpng:x64-windows-mixed... done
Purging package libpng:x64-windows-mixed...
Purging package libpng:x64-windows-mixed... done
Elapsed time for package libpng:x64-windows-mixed: 33.36 ms
Starting package 22/52: libpq:x64-windows-mixed
Removing package libpq:x64-windows-mixed...
Removing package libpq:x64-windows-mixed... done
Purging package libpq:x64-windows-mixed...
Purging package libpq:x64-windows-mixed... done
Elapsed time for package libpq:x64-windows-mixed: 954.1 ms
Starting package 23/52: zlib:x64-windows-mixed
Removing package zlib:x64-windows-mixed...
Removing package zlib:x64-windows-mixed... done
Purging package zlib:x64-windows-mixed...
Purging package zlib:x64-windows-mixed... done
Elapsed time for package zlib:x64-windows-mixed: 26.8 ms
Starting package 24/52: zlib:x64-windows
Removing package zlib:x64-windows...
Removing package zlib:x64-windows... done
Purging package zlib:x64-windows...
Purging package zlib:x64-windows... done
Elapsed time for package zlib:x64-windows: 25.69 ms
Starting package 25/52: bzip2:x64-windows
Removing package bzip2:x64-windows...
Removing package bzip2:x64-windows... done
Purging package bzip2:x64-windows...
Purging package bzip2:x64-windows... done
Elapsed time for package bzip2:x64-windows: 29.66 ms
Starting package 26/52: bzip2:x64-windows-mixed
Removing package bzip2:x64-windows-mixed...
Removing package bzip2:x64-windows-mixed... done
Purging package bzip2:x64-windows-mixed...
Purging package bzip2:x64-windows-mixed... done
Elapsed time for package bzip2:x64-windows-mixed: 27.07 ms
Starting package 27/52: bzip2:x64-windows-mixed
Building package bzip2[core]:x64-windows-mixed...
Value was null

Additional context
When using vcpkg upgrade --no-dry-run to update packages, vcpkg will remove all old ones, but not install new ones with the value Value was null.
I have to re-install all the package one by one manually...

Duplicated to https://github.com/microsoft/vcpkg/issues/9916.


WFLY-12733 EJB Timers: Forcing refresh timers in a database-data-stor…

…e in a clustered environment
Related Issues:
https://issues.redhat.com/browse/WFLY-12733
https://issues.redhat.com/browse/EAP7-1377
Analysis document:
https://github.com/wildfly/wildfly-proposals/pull/283
This feature allows applications to programmatically refresh timer datastore, by configurable a flag through an interceptor.

@tadamski please review.

Hello,
I see that this feature will be available only for the TimerService::getAllTimers method, so is there a reason for not applying the same logic to the TimerService::getTimers method?
Thanks.

@albertus82 No, I think refresh for getTimers (for individual ejb) is too fine-grained. Since programmatic refresh of db timers is an expensive operation, I'd like to keep it coarse grained.

The pre-check is done and I think this PR has met all the rquirements. Can someone update the lablels?