UDE: BSOD on ConcurrencyCheck Deletion

Looks like the assertion for concurrency failed on deletion. BSOD dump is attached below:
BSOD Dump
Additional info:
This is running with a USB device sending 1000hz packets. The sheer number of packets coming through could be the cause. Replicated with a Tundra Tracker and running Libsurvive.

SynchronizationScope can't be set for UDECXUSBENDPOINT. EvtUsbEndpointPurge is called concurrently with IRP_MJ_INTERNAL_DEVICE_CONTROL, both are call WskSend.

I can't even protect WskSend by KSPIN_LOCK. It seems it might be called on DIRQL (higher than DISPATCH_LEVEL) from such callbacks as endpoint_purge. I need more time to fix that.

Fixed in <IP_ADDRESS>

Thanks Vadym! It works well on my setup.


Usability Issue: User(Contributor) has to scroll down to view all options in the Contributor Console

Background

Launch the github repository (which is configured to sign both CCLA and ICLA)
Login as contributor
Update any file and create PR
Checks fail
Click on the link to sign CLA
Contributor is redirected to contributor console
Observed All options are not completely visible in the console and user has to scroll down to view the options
Either the logo size should be small to view all options or the options should be displayed from the top

@amolsontakke3576 can we optimize the layout?

Yes we can. I will do.

@dealako @pranab-bajpai  @nirupamav The problem is with image size. when height of image is more than the width (Vertical Image) that time content will be move below. but when image is horizontal then it's look fine.
PFA:

I have set max height to logo image and now it's look okay but as per my opinion we need to change dashboard UI for contributor console. Please let us know your thought.

Verified that issue is fixed. Verified in Chrome/FF/Edge in windows 10.
But observed that footer is not displayed at the bitton of the page and  there is lot of gap after footer when there is only one option the contributor console and have logged bug #773 to track the issue


Frozen object literal types are not enforced in equality check (===)

/* @flow */

const Enum = Object.freeze({
  FOO: 'foo'
});
const a: 'foo' = Enum.FOO
const b: $Values<typeof Enum> = Enum.FOO;

if (a === '') {}          // Errors as expected
if (b === '') {}          // Errors as expected
if (Enum.FOO === '') {}   // no error

Flow Try
This is likely a longstanding bug. Filing this since in 0.60 release frozen objects were fixed to maintain literal types (when applying $Values)

now all of them error


this bot is available in english?

hey bro this bot is available in english and im learning node js now and i know js and php i checked your profile so i wanna join with you for bot development i have follow you on insta my insta is @vminkook_manish i hope we'll have some good talk soon

I haven't translated it yet because I don't expect it to reach other countries. But yeah maybe later if I have time


App.shapeshift.com All time frame chat on dashboard showing incorrectly.

Overview
When viewing the all-time frame on the dashboard for app.shapeshift.com, it seems like it is off by an order of magnitude.
https://discord.com/channels/554694662431178782/978713734950289438
References and additional details
repo steps

connect to demo wallet or any wallet
wait for the page to load and click all timeframe on the dashboard chart
Observe the chart being off significantly from the balance of the wallet

the
Acceptance Criteria
For the all chart on the dashboard to display the proper information.
Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

@tolltalcrypto can you still repro as we were having market data issues upstream which are now fixed? ty

@tolltalcrypto please confirm if still happening

confirmed it is still occurring. Low priority.

need to pull cosmos staked logic out of useBalanceChartData, do it in a selector, that deals with all chains with staked native assets (cosmos & osmosis)

blocker to be able to do rainbow charts


[MXNET-81] Fix crash with mx.nd.ones

Description
Reported by @haojin2
Execution of code like the following on device with only 8 gpus will crash the process instead of throwing an exception.
mx.nd.ones((2,2), ctx=mx.gpu(11))

The exception is thrown here: https://github.com/apache/incubator-mxnet/blob/master/src/engine/threaded_engine_perdevice.cc#L239 and since its not inside ExecuteOprBlock, there is no corresponding catch and terminate is called.
Call cudaSetDevice and throw an exception before pushing to engine to avoid crash.

Hi, the community has passed to vote about associating the code changes with JIRA<EMAIL_ADDRESS>We have updated the guidelines for contributors in https://cwiki.apache.org/confluence/display/MXNET/Development+Process, please ensure that you have created a JIRA at https://issues.apache.org/jira/projects/MXNET/issues/ to describe your work in this pull request and include the JIRA title in your PR as [MXNET-xxxx] your title where MXNET-xxxx is the jira id

@piiswrong Thanks for your review! Is this good to merge ?


Fixed null values issue in text data fields

Fixed null values issue in text data fields in clean data function.

committed the changes into master branch


Issue #100 resolved

[Frontend] Issue was: The Navbar gets distorted on small screen
Closes: #100
Proposed changes

Made navbar responsive for different screen sizes.
Fixed menu option hover effect for smaller screens.

Brief description of what is fixed or changed
Made changes to CSS of mobile screens (max-width: 850px) only.
Types of changes

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] My changes does not break the current system and it passes all the current test cases.

Screenshots
Now:

Previous:

Other information

@all-contributors please add @atharva-upadhye-01 for code


🚩: Milestone 3: Vet Clinic | feature/queryMultipleTables

🚩: Milestone 3: Vet Clinic | feature/queryMultipleTables - >>branch<< -
Here is a summary of what has been done:

Deleted the species column from the animals table.
Created the table owners and its relationship to the animals table through a foreign key owner_id.
Created the table species and its relationship to the animals table through a foreign key species_id.
Inserted the data provided in the owners and species tables.
Added the queries to ask the provided questions.

Screenshot of the queries performed:

Thank you for taking the time to review this PR ⭐!

Hi @sumairq
Thank you very much, and happy coding ✨


Workspace events on swap and move of windows

Moved window manipulation methods to workspace manager and added in events to communicate window movements to subscribers.
This is a fix PR that requests input from maintainers to verify method of working is wanted

Hey there and thanks for the draft.
I'm not that active as a maintainer, but I can see how this kind of functionality can be useful in more complex/orchestrated setups.
As for the code-changes themselves... I really can't comment too much on that. Right now you have lots of changes in a single commit, and it's not immediately obvious which changes are required and which are just "small fixups" you did along the way.
If you leave out fixups and typos and casing-changes, etc, and can reduce this PR to the actual code you want changed to add those new events, I think it will be easier for the other maintainers (which may have a stronger opinion on the underlying changes) to review.

I've been busy for a bit on other stuff but have come back to this now. I reverted all changes from before and took a new approach without all the unneeded changes.
To address the issue I've expanded the events present in the window class to also provide Update events. This way changes made by other entities can trigger an updated event on the window without having to also include all the manipulation code.
I did have to change some existing naming of events as it was conflicting with the new ones. I hope i made the naming more clear and specific as a result.

I've gone over the code, and at its core it looks like a useful and welcome change. :heart:
That said, it still contains changes I don't think is necessary, in particular renamed types, properties and events. This may cause existing users out there to have their configurations broken, and I don't particularly appreciate that.
If you can revert those renames, and just keep the core changes required for this improved functionality, I will be happy to merge this!

The comments are very on point. I'm still learning the do's and dont's of working on a open source project. That being said I also rename to much in my closed source job so it's definitely a work in progress issue of mine.
As mentioned I will provide the code documentation in the next few days to clarify the new events

I still found 1 rename, but apart from that this is much clearer and is already looking much, much better.
As for being new to open-source contributions, just take the time you need and don't rush it. We'll get there :smile:

Thanks for hanging in there for so long. This PR looks good to me now, so consider it merged. :smile:
Thanks for contributing!


Allow search page to take a URL parameter to initialize the search

We want our search page to be called from other locations (primarily the Drupal CIC site). An external form should be able to set a URL parameter that is sent to the new form, like /grants?query=pandemic. The value of the parameter should be treated as if it were typed into the main search field.

@sg3847 Yes, please!

@sg3847 Minor update due to my mistake: please change the name of the parameter from query to keywords. The Drupal site uses keywords in a way that is not easy to change.

Done


Remove the 2000 unused rows from the spreadsheet

The intriguing looking spreadsheet demo, has about 2,000 unneeded rows, and a couple dozen unneeded columns. I suggest removing those, to make the whole thing load faster.
Also it isn't currently working for most of the columns - screenshot: http://imagizer.imageshack.com/img923/5853/MAtyDS.png - possibly related?
https://docs.google.com/spreadsheets/d/1sVduZul787O-bRzuy0UKpRl7bkouxwaIOsxXuJGm6yg/edit#gid=0

Done, cropped the sheet to the actual data (with some headspace), thanks for the suggestion, @quiddity-wp. When the sheet is empty, the Google Sheets https://developers.google.com/apps-script/guides/services/quotas#current_quotas has been reached. There is discussion in https://github.com/tomayac/wikipedia-tools-for-google-spreadsheets/issues/21 going on to make this not a silent failure. Closing this issue.

Awesome, thank you x2!


automation: trigger chart update

Currently the chart update automation is disabled inside of the .github/workflows/release.yml.
This should be enabled once the audit-scanner is ready to be released for the 1st time

Closing, this is already being done I clicked edit on the main page, but now really checking the source shouldn't this go in the unversioned section of the docs?


If systemwide dark mode for apps is enabled, please default to dark mode in Total Registry as well

When I start Total Registry for the first time, please check if systemwide dark mode for apps has been enabled in the Windows Settings app. If it's enabled, please enable Total Registry's dark mode too.
Thank you for reading this, and for all the work you've done on Total Registry!

Agreed. Would be nice if it could follow the system setting.

Thank you both. I'm adding this to my backlog.

No worries!
Now that my machine automatically switches between dark and light mode at sunrise/sunset, I realize that my original request isn't quite ideal.  Checking for the system dark/light theme state just once, at first run, is perhaps not really ideal.  It might be better if Total Registry could check this more often.
I've created a modified version of my original feature request:  please see #62.
I'm closing this older issue in favor of that newer issue.


Minor change to test flakey tests

Issue #, if available:
Description of changes:
This change will be rolled back. It is intended to check the removed flake tests
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

not needed


AttributeError: 'TM1Service' object has no attribute 'cells'

Hello Marius,
I am currently trying to test optimus-py, however I get an error as soon as a cube is found that contains the view referenced in the command line call an error message occurs:
Skipping cube 'FCST Seasonality' since view 'z_Optimise' does not exist
Traceback (most recent call last):
File "optimuspy.py", line 184, in
success = main(
File "optimuspy.py", line 105, in main
original_vmm, original_vmt = retrieve_vmm_vmt(tm1, cube_name)
File "optimuspy.py", line 88, in retrieve_vmm_vmt
return tm1.cells.execute_mdx_values(mdx)
AttributeError: 'TM1Service' object has no attribute 'cells'

Hi @WHarper1,
you need to upgrade TM1py to version 1.5. Just execute the statement below:
pip install tm1py --upgrade

Thanks Marius,
That sorted it.

Glad it works now. Please post it scatterplot here if you have any interesting findings!


Progress in dynamic provisioning for shared local persistent storage?

For one of our tool, we need a shared local storage among containers running inside same/different pods. Currently, we are dealing this with hostpath volume. Can anyone give me an update on the progress in "Dynamic provisioning for shared local persistent storage" feature? Or any suggestions for a better alternative?
cc @msau42 @tamalsaha

Someone wrote a hostpath provisioner, which could work if you don't need capacity enforcement.
Otherwise @lichuqiang is working on a dynamic provisioner based off of lvm.

Thanks @msau42 . Is there a repo that we can follow? Also, I saw you mention on Twitter that this will be converted to CSI driver. Any update on that?

https://github.com/kubernetes/community/pull/1914 currently has an outdated proposal, but will be updated.

Sorry to confuse you folks.
I've been on vacation these days, and I'll update the proposal once I'm back to the office (by the end of next week I think).


Your install-instructions are wrong

Here on Github you wrote:

cd /path/to/redmine/

This is wrong. You have to write:

cd /path/to/redmine/plugins

Hello Samuel. Thanks for the feedback.


Build scan reports dependencies being resolved at configuration time in buildSrc

Looks like this:

Project: https://github.com/SUPERCILEX/Robot-Scouter/tree/f684754ef87cd50bfb3238a2fed456f4dd9458de
Setup: ./gradlew setup
I'm not applying any external plugins or doing anything in my buildSrc build file, so I don't see how I could be causing it.

@oehme This has come up repeatedly from different sources. Can you share your view on this, please? (the Gradle side and the mentioning in build scans)

This is a duplicate of https://github.com/gradle/gradle/issues/5549, which includes the reason for this bug.

@oehme I see, so this is actually a bug in Gradle exposed by build scans. Proper solution is to fix it in Gradle rather than to hide it in build scans.

Thanks, @oehme .

FYI This has been fixed via #6960


Make pwn.college trivial to setup

Starting pwn.college should be as simple as docker-compose up on a fresh machine with docker and docker-compose installed. We also ideally want to trivially support multiple instances running from the same host.
We can manage the user-setup process with an env_file through docker-compose.

[ ] Manage persistent nosuid homes

Getting nosuid mounts shared across docker containers is VERY tricky. Several hours of testing has produced a potential solution:
$ docker run -it --rm --mount type=bind,src=/mounts,dst=/mounts,bind-propagation=shared --privileged ubuntu:20.04
$ cd mounts
$ dd if=/dev/zero of=testfs bs=1M count=0 seek=1000
$ mkfs.ext4 -O ^has_journal testfs
$ mount testfs -o nosuid,X-mount.mkdir test

This produces a mount on the host which is also nosuid, and which can be mounted into another container as nosuid. This CANNOT be accomplished via a simpler bind mount.

[ ] Manage /etc/ssh/sshd_config

We will need to modify, as necessary, this file. This should be relatively easy with mounting it in.
We will also need a container sharing the host's pid namespace:  sshd rereads its configuration file when it receives a hangup signal, SIGHUP.

[ ] Manage nginx's /etc/nginx/vhost.d

Volume mount from the nginx container. Modify as necessary.
Somehow we need the nginx containers to run if they are not running.

[ ] Manage other system resources

sysctl -w kernel.pty.max=1048576
echo core >/proc/sys/kernel/core_pattern

Also need to handle:
chmod 666 /var/run/docker.sock

Though, ideally, we correct this by making the nginx container correctly have access to the socket.

Can't we handle the docker socket by doing docker-in-docker instead of docker-compose? I feel that this has a higher chance of success.
Also, insane idea for the suid homes: what if everyone's home dir is a separate file formatted with ext4, and we mount it inside the "outer" docker container before launching the inner one? Another (dubious) benefit of this would be letting students one-click-download their home dirs.

Haha, reading that more, I see that the loopback is exactly the route you're taking :-)


I can't scroll version history if the item list it bigger than my screen.

Describe the bug
Not scroll bar in this image or video:

or
Capture vidéo du 08-11-2024 08:59:42.webm
Steps/Code to Reproduce
for i in range(11,20):
    project.put("iter_item", i)

Expected Behavior
I should be able to scroll.
Actual Behavior
I can't see what's very old.
Environment
System:
    python: 3.12.7 | packaged by Anaconda, Inc. | (main, Oct  4 2024, 13:27:36) [GCC 11.2.0]
executable: /home/marie/anaconda3/envs/skore_test/bin/python
   machine: Linux-6.8.0-48-generic-x86_64-with-glibc2.35

Python dependencies:
        skore: 0.0.0+unknown
          pip: 24.2
   setuptools: 75.1.0
    diskcache: 5.6.3
      fastapi: 0.115.4
 plotly<6,>=5: None
         rich: 13.9.4
        skops: 0.10.0
      uvicorn: 0.32.0

(current main version)

Capture vidéo du 08-11-2024 15:11:54.webm
I'm reopening because it's only partly fixed for me: it's ok when the item is in the middle of the screen, but not when it's at the bottom. Maybe put the menu on the upper part of the screen instead?


Add all talks from Python Sul 2017

Thanks for the review! Just fixed the dates and Massanori keynote's title.
And yes, the PR is enable for edition 🤔 anyway, it's fixed now!


refactor: move modern detection from server to utils

Types of changes

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

Description

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly. (PR: #)
[ ] I have added tests to cover my changes (if not applicable, please state why)
[ ] All new and existing tests are passing.

Codecov Report

Merging #5584 into dev will decrease coverage by 0.03%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##              dev    #5584      +/-   ##
==========================================
- Coverage   95.67%   95.63%   -0.04%
==========================================
  Files          81       81
  Lines        2636     2635       -1
  Branches      671      671
==========================================
- Hits         2522     2520       -2
- Misses         95       96       +1
  Partials       19       19

Impacted Files
Coverage Δ

packages/server/src/server.js
97.7% <ø> (-0.08%)
:arrow_down:

packages/utils/src/modern.js
100% <100%> (ø)

packages/webpack/src/builder.js
93.54% <100%> (ø)
:arrow_up:

packages/vue-renderer/src/renderer.js
93.49% <100%> (-0.77%)
:arrow_down:

packages/vue-renderer/src/renderers/spa.js
87.5% <100%> (+0.19%)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks @clarkdo


[BUG] FutureBuilder not returning correct AsyncSnapshot when using SynchronousFuture

Steps to reproduce
Take this minimal working example:

code snippet
MaterialApp(
  home: Scaffold(
    body: FutureBuilder<List<int>>(
      future: SynchronousFuture<List<int>>([]),
      builder: (context, snapshot) {
        switch (snapshot.connectionState) {
          case ConnectionState.waiting:
            return CircularProgressIndicator();
          default:
            if (snapshot.hasError) {
              return Text('Error');
            } else if (snapshot.hasData) {
              return Column(
                children:
                    snapshot.data!.map((e) => Text(e.toString())).toList(),
              );
            } else {
              return CircularProgressIndicator();
            }
        }
      },
    ),
  ),
);

Expected behaviour:
The app shows a column with texts 1 and 2.
Actual behaviour:
The app shows only CircularProgressIndicator.
Flutter doctor

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.5 20G71 darwin-x64, locale en-GB)
    • Flutter version 2.2.3 at /Users/kristian/Documents/flutter
    • Framework revision f4abaa0735 (3 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/kristian/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.58.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.164

• No issues found!

Hi @KristianBalaj
This is interesting, please see https://api.flutter.dev/flutter/widgets/FutureBuilder/future.html, future property expects asynchronous future.
Do you have any docs or examples where FutureBuilder is expected to work with SynchronousFuture?

Nope, I haven't seen it anywhere else.
I've just expected it to work properly with the SynchronousFuture, too.
Imho it should work with the synchronous one, too 🤔
It took quite some time to me while debugging when I found out what's happening.

Hi @KristianBalaj
I tried to examples where SynchronousFuture in the Flutter source but I couldn't find one. So I think it is working as expected, the property expects asynchronous. Closing, if you could find doc or any working example, let me know


add map[string]interface{} support for field and binder

add map[string]interface{} support for field and binder

I rebase it.

Added via another PR


astream_events doesn't pass config properly

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.

Example Code
    async def stream_tokens():
        async for event in agent.astream_events(
            {"input": prompt},
            {"configurable": {"session_id": "some_hard_coded_value"}},
            version="v1",
        ):
            kind = event["event"]
            if kind == "on_chat_model_stream":
                content = event["data"]["chunk"].content
                if content:
                    yield content
        yield ""

    agent_with_history = RunnableWithMessageHistory(
        agent,
        lambda session_id: CassandraChatMessageHistory(
            keyspace="some_hard_coded_value",
            session=cluster.connect(),
            session_id="some_hard_coded_value"
        ),
        input_messages_key="input",
        history_messages_key="history",
    )
   agent = AgentExecutor(
        agent=agent_with_history,
        tools=tools,
        verbose=True,
        handle_parsing_errors="Check your output and make sure it conforms, use the Action/Action Input syntax",
    )

Error Message and Stack Trace (if applicable)
[chain/error] [1:chain:AgentExecutor] [2ms] Chain run errored with error:
"ValueError("Missing keys ['session_id'] in config['configurable'] Expected keys are ['session_id'].When using via .invoke() or .stream(), pass in a config; e.g., chain.invoke({'input': 'foo'}, {'configurable': {'session_id': '[your-value-here]'}})")Traceback (most recent call last):\n\n\n  File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/langchain/agents/agent_iterator.py", line 240, in aiter\n    async for chunk in self.agent_executor._aiter_next_step(\n\n\n  File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/langchain/agents/agent.py", line 1262, in _aiter_next_step\n    output = await self.agent.aplan(\n             ^^^^^^^^^^^^^^^^^^^^^^^\n\n\n  File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/langchain/agents/agent.py", line 422, in aplan\n    async for chunk in self.runnable.astream(\n\n\n  File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 4123, in astream\n    self._merge_configs(config),\n    ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n\n  File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/langchain_core/runnables/history.py", line 454, in _merge_configs\n    raise ValueError(\n\n\nValueError: Missing keys ['session_id'] in config['configurable'] Expected keys are ['session_id'].When using via .invoke() or .stream(), pass in a config; e.g., chain.invoke({'input': 'foo'}, {'configurable': {'session_id': '[your-value-here]'}})"
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 426, in run_asgi
result = await app(  # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/fastapi/applications.py", line 1106, in call
await super().call(scope, receive, send)
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in call
raise exc
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in call
await self.app(scope, receive, _send)
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in call
raise e
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in call
await self.app(scope, receive, send)
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 69, in app
await response(scope, receive, send)
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/starlette/responses.py", line 270, in call
async with anyio.create_task_group() as task_group:
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 597, in aexit
raise exceptions[0]
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/starlette/responses.py", line 273, in wrap
await func()
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/starlette/responses.py", line 262, in stream_response
async for chunk in self.body_iterator:
File "/x/x/Documents/programming/x/backend-python/source/server/routes/ask_agent_endpoint/ask_agent_endpoint.py", line 39, in stream_tokens
async for event in agent.astream_events(
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 889, in astream_events
async for log in _astream_log_implementation(  # type: ignore[misc]
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/langchain_core/tracers/log_stream.py", line 612, in _astream_log_implementation
await task
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/langchain_core/tracers/log_stream.py", line 567, in consume_astream
async for chunk in runnable.astream(input, config, **kwargs):
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/langchain/agents/agent.py", line 1551, in astream
async for step in iterator:
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/langchain/agents/agent_iterator.py", line 240, in aiter
async for chunk in self.agent_executor._aiter_next_step(
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/langchain/agents/agent.py", line 1262, in _aiter_next_step
output = await self.agent.aplan(
^^^^^^^^^^^^^^^^^^^^^^^
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/langchain/agents/agent.py", line 422, in aplan
async for chunk in self.runnable.astream(
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 4123, in astream
self._merge_configs(config),
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/x/x/Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/langchain_core/runnables/history.py", line 454, in _merge_configs
raise ValueError(
ValueError: Missing keys ['session_id'] in config['configurable'] Expected keys are ['session_id'].When using via .invoke() or .stream(), pass in a config; e.g., chain.invoke({'input': 'foo'}, {'configurable': {'session_id': '[your-value-here]'}})
Description
I'm trying to integrate chat history with Cassandra, like I did for chain. With astream_events on AgentExecutor I have problem that config isn't passed down, so it throws error like in traceback. I tried to manually edit source code at /Library/Caches/pypoetry/virtualenvs/backend-python-Nj9PzyUh-py3.11/lib/python3.11/site-packages/langchain_core/runnables/base.py line 4123, and add on my own to final config configurable["session_id"]. After that, it's working. I'm working with GPT-4, but this bug should appear no matter which LLM you are using.
System Info
langchain==0.1.4
langchain-community==0.0.16
langchain-core==0.1.17
langchain-experimental==0.0.49
langchain-openai==0.0.5
langchainhub==0.1.14
MacOS Sonoma 14.1.2 with ARM M3 CPU
Python 3.11.7 (main, Dec 20 2023, 12:17:39) [Clang 15.0.0 (clang-15<IP_ADDRESS>)] on darwin

@dosu-bot my patch is low quality to make it just works. I would be appreciated to let fix that by someone from langchain team, because I don't know the codebase well enough to make good quality fix.

Thanks for reporting!

@kaurelia i am unable to reproduce the issue. Added unit tests that confirm that config is propagated correctly.
https://github.com/langchain-ai/langchain/pull/17055/files#diff-e512e3f84daf23029ebcceb11460f1c82056314653673e450a5831147d8cb84dR1149
Would you mind producing a minimal example that demonstrates the issue?

Hi @eyurtsev, while making the repository with reproduction, I found out that in my code I improperly passed the result from RunnableWithMessageHistory into AgentExecutor. It shouldn't be passed inside AgentExecutor in that case. I appreciate your work, and I'm thankful for your help.
I will close this issue.

Awesome! Thanks for following up!


Dockerfile build stage

Treesitter supports Dockerfile (:TSInstall dockerfile), and it would be nice to have the current build stage FROM ... AS ... as the floating context.
I tried adding 'from' or 'FROM' to setup.patterns.default (should probably go into setup.patterns.dockerfile), but it didn't work.
I don't know how to find the name of a node, so it might be helpful to add this to the readme next to the "open a PR" comment.

Another thing that I would like is goals/targets in Makefiles. I'm not going to open another issue for that rn, if you can help me find names of nodes, I'll just add PRs directly.

You can use https://github.com/nvim-treesitter/playground to find the node names.

Supported languages are now tracked in the README.


Optimization: do not emit unnecessary i32.wrap_i64 instrucitons.

The Wasm i32.wrap_i64 instruction has a Wasmi bytecode equivalent.
The main use case is to clear the upper 32 bits of the target Wasmi bytecode register which is equivalent to i32.and x 0xFFFF_FFFF, however uses far less encoding space.
Due to the typed nature of Wasm bytecode and the untyped nature of Wasmi bytecode we can apply an optimization in cases where a i64 value is converted via i32.wrap_i64 and used by a i32 unary or binary instruction, for example:
(func (param $a i64) (param $b i64) (result i32)
    (i32.add
        (i32.wrap_i64 (local.get $a))
        (i32.wrap_i64 (local.get $b))
    )
)

Currently Wasmi generates roughly the following Wasmi bytecode:
(func (param $a i64) (param $b i64) (result i32)
    ($x <- i32.wrap_i64 $a)
    ($y <- i32.wrap_i64 $b)
    ($x <- i32.add $x $y)
    (return $x)
)

In this case we can optimize this to the following Wasmi bytecode:
(func (param $a i64) (param $b i64) (result i32)
    ($x <- i32.add $a $b)
    (return $x)
)

This is possible because the i32.add instruction implicitly performs the upper 32-bit truncation and thus can replace both calls to i32.wrap_i64, thus reducing the number of executed Wasmi bytecode instructions from 4 down to 2.
Note: This optimization can only be applied to Wasmi as long as the internal register is represented by a u64 and not by an untagged Rust union. So far Wasmi uses u64 instead of an untagged union because the former does not require unsafe Rust code and proofed to be faster on Wasm targets.

This might bite us if we ever want to use an unsafe union as underlying representation of UntypedVal instead of the current u64 based representation which performs the implicit casts.
Therefore I am very unsure if I really want to implement this optimization without very clear indicators that this yields major performance improvements which I highly doubt.
Therefore, closed until further notice.


Address how aggregations deals with large numbers

As part of https://github.com/atlassian/gostatsd/pull/333, it was identified that it is possible for aggregations to produce large numbers that can not be expressed as within json and for the time being causing dataloss for the datadog backend.
I'd like to suggest that we look at clipping values to closest representative value within the aggregator:

Inf+ --> float.Max
Inf- --> float.Min
NaN --> 0

Or at least, allow this to be a configuration that would allow for the aggregator to drop or clip since.
On the same vein, users shouldn't be sending values that would result in one of these however, it has been seen and with larger aggregation periods, I suspect we may actually see this happen more often.
Curious to know your thoughts @tiedotguy

Is this done now with the change from @digitalpoetry , @MovieStoreGuy ?

Yeah, I think so :)


fix: prevent beforeNavigate() for download links

fixes https://github.com/sveltejs/kit/issues/9611
This is a breaking change that causes the client to ignore download links instead of treating them as an external link.
This fixes the issue of the internal navigating flag being incorrectly set, leading to missing subsequent beforeNavigate() calls.
The navigating flag prevents the beforeunload event from triggering a second round of beforeNavigate() callbacks when an external link is clicked. Because the external link causes the page to unload, Kit doesn't care that the navigating flag isn't reset to false. In our download link case, the page isn't unloaded, causing subsequent navigations to not call beforeNavigate(). Therefore, we should treat download and external links differently by opting out of the same logic as external links.
It's possible for us to still call beforeNavigate for download links but downloading isn't really navigating? I'm open to this.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[x] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Whoops, my mistake. I did wonder if anyone out there actually used it this way. I'm fine with marking it as a patch instead.


Resolve gocyclo Issue

see #694

Hi @IronGauntlets
I resolved the related issue.
It passed the corresponding test, and the result of gocyclo is 10.
please take a look


test/helpers: use rsync to copy files instead of cp

This allows for excluding certain types of files when copying them, specifically
socket files, which are present in the directories which are copied over in
the log gathering functions for Ginkgo.
Signed-off by: Ian Vernon<EMAIL_ADDRESS>Fixes: #3559

test-me-please

test-me-please


Question: should I reply with error in res.onAborted callback?

Hello. Thank for your work, I really enjoy working with your library. I'm asking about callback from this example: https://github.com/uNetworking/uWebSockets.js/blob/fbfc250451a917f6361832f2efd123382470516a/examples/JsonPost.js#L71
Should I reply with some error code or this callback is only an indication that user aborted page loading and I don't need to do anything?
Thanks in advance!

You don't need to do anything the connection is broken

Do I get your code right: I can add as many callbacks for onAborted, but only last one added will be called?


About the accuracy

Dear Sir, I'm sorry to disturb you again.
I've spent the last few days trying to train neural networks and found the following problem.
the problem is the  accuracy rate always oscillates around 0.50.
I examined some of the commonly used methods to improve accuracy and found that gregwchase  did apply them.
I usually only use about 1 to 2 gigabytes of data in these exercises, so one of my guesses is the reason for the lack of data.
I'd like to see what you think about that.
Another question, I would like to ask the same .npy file as gregwchase, can it apply your model.

Hi @YUN-XIAO-MO , Great to hear that you made a progress.
Yes, because the data is skewed with most of the images being No DR, leads to less accuracy. If you want to get better understanding of what other people has approached, you can goto the Kaggle Competition and see the discussion to get better understanding on approaches.
I you wanted to use my code then you did not required .npy file. It will directly take image from the folder and do the augmentation on fly using Keras Train Generator.
https://github.com/Tirth27/Detecting-diabetic-retinopathy/blob/86ba4fe616e15f72f509f1ed17a5b2dae8c84b88/src/Model/model.py#L223
Example of Keras Generator

Hello Sir, I encountered this problem when I tried your model。
Found 0 images belonging to 0 classes
I looked up other people's solutions.：↓
Because keras uses the directory tree to classify and label, the directory tree should be changed to this standard form.
some/path/
class1/
image1.jpeg
class2/
image2.jpeg
Does this mean THAT I need to categorize the dataset according to its category?

Yes you have to organise images based on the categories. Something like this.
data/
    train/
        dogs/
            dog001.jpg
            dog002.jpg
            ...
        cats/
            cat001.jpg
            cat002.jpg
            ...
    validation/
        dogs/
            dog001.jpg
            dog002.jpg
            ...
        cats/
            cat001.jpg
            cat002.jpg
            ...

You can search online and will find many good examples of what it actually takes as input. https://towardsdatascience.com/keras-data-generators-and-how-to-use-them-b69129ed779c

GOOD NEWS，SIR！
The model ran successfully.
But its running situation is still a bit weried.
Found 78300 images belonging to 5 classes.
Found 17577 images belonging to 5 classes.
Epoch 1/200
   1/7118 [..............................] - ETA: 8:17:40 - loss: 0.1483 - accuracy: 0.3636
   2/7118 [..............................] - ETA: 48:08 - loss: 0.1848 - accuracy: 0.2273
   7/7118 [..............................] - ETA: 15:08 - loss: 0.1701 - accuracy: 0.3247
WARNING:tensorflow:Callback method `on_train_batch_begin` is slow compared to the batch time (batch time: 0.0209s vs `on_train_batch_begin` time: 0.0577s). Check your callbacks.
7118/7118 [==============================] - 266s 37ms/step - loss: 0.1233 - accuracy: 0.5764 - val_loss: 0.1052 - val_accuracy: 0.6545
Found 17577 images belonging to 5 classes.
7118/7118 [==============================] - 19s 3ms/step - loss: 0.1052 - accuracy: 0.6545
Test Loss:  0.10516579449176788
Test Accuracy:  0.654491662979126
WARNING:tensorflow:Your input ran out of data; interrupting training. Make sure that your dataset or generator can generate at least `steps_per_epoch * epochs` batches (in this case, 7118 batches). You may need to use the repeat() function when building your dataset.
17577/17577 [==============================] - 52s 3ms/step
Precision:  0.6544916652443534
Recall:  0.6544916652443534
Saving Model.
Model Score is Low, Score:- 0.6544916652443534
F1:  0.6544916652443534
Cohen Kappa Score:  0.35903690794542875
Quadratic Kappa Score:  0.4299640128884423
Confusion Matrix Folder Created!
Completed

the step should be obtained by calculation.
STEP_SIZE_TRAIN = train_generator.n // train_generator.batch_size
STEP_SIZE_VALID = validation_generator.n // validation_generator.batch_size

I don't understand why there is a lack of data, there 78000+ images in the directory, the warning shouldn't happen。

Great! You can train increasing the batch size to avoid  gettingWARNING:tensorflow:Callback method on_train_batch_begin is slow compared to the batch time.
Also, I suggest to first try vanilla model (i.e. without any major tweaks and changes) mostly with default values. And then later make changes as needed. In that scenario you can identify which changes causing the issue.

GOOD NEWS，SIR！
The model ran successfully.
But its running situation is still a bit weried.
it did not finish the whole epochs.
Found 78300 images belonging to 5 classes.
Found 17577 images belonging to 5 classes.
Epoch 1/200
   1/7118 [..............................] - ETA: 8:17:40 - loss: 0.1483 - accuracy: 0.3636
   2/7118 [..............................] - ETA: 48:08 - loss: 0.1848 - accuracy: 0.2273
   7/7118 [..............................] - ETA: 15:08 - loss: 0.1701 - accuracy: 0.3247
WARNING:tensorflow:Callback method `on_train_batch_begin` is slow compared to the batch time (batch time: 0.0209s vs `on_train_batch_begin` time: 0.0577s). Check your callbacks.
7118/7118 [==============================] - 266s 37ms/step - loss: 0.1233 - accuracy: 0.5764 - val_loss: 0.1052 - val_accuracy: 0.6545
Found 17577 images belonging to 5 classes.
7118/7118 [==============================] - 19s 3ms/step - loss: 0.1052 - accuracy: 0.6545
Test Loss:  0.10516579449176788
Test Accuracy:  0.654491662979126
WARNING:tensorflow:Your input ran out of data; interrupting training. Make sure that your dataset or generator can generate at least `steps_per_epoch * epochs` batches (in this case, 7118 batches). You may need to use the repeat() function when building your dataset.
17577/17577 [==============================] - 52s 3ms/step
Precision:  0.6544916652443534
Recall:  0.6544916652443534
Saving Model.
Model Score is Low, Score:- 0.6544916652443534
F1:  0.6544916652443534
Cohen Kappa Score:  0.35903690794542875
Quadratic Kappa Score:  0.4299640128884423
Confusion Matrix Folder Created!
Completed

the step should be obtained by calculation.
STEP_SIZE_TRAIN = train_generator.n // train_generator.batch_size
STEP_SIZE_VALID = validation_generator.n // validation_generator.batch_size

I don't understand why there is a lack of data, there 78000+ images in the directory, the warning shouldn't happen。

Can you please share the solution to Found 0 images belonging to 0 classes issue.
Thanks in advance.


Release 1.7

DO NOT MERGE UNTIL KUBERNETES 1.7 IS RELEASED
Target Date: 2017-06-29 @ 13:00 PDT

This change is

All 1.7 docs PRs have been merged.

/assign @dchen1107
/assign @grodrigues3

Just squash and merge.


Avoid direct float comparisons with 0.0 in storage.rb

Currently the rubocop linter gives us a handful of warnings for the Storage class like this:
app/models/storage.rb:621:5: W: Lint/FloatComparison: Avoid (in)equality comparisons of floats as they are unreliable.     used_space.to_f == 0.0 ? 0.0 : (debris_size.to_f / used_space.to_f * 1000.0).round / 10.0
So, this PR just switches them to use the zero? method. Core Ruby appears to have its own code for checking floats vs. zero (which the zero? method uses):
https://github.com/ruby/ruby/blob/master/numeric.c#L1122-L1126
If we feel this isn't worthwhile, then I would vote to update our rubocop config to exclude these.
Update: originally I was only fixing the linter warnings, but I also went ahead and fixed the Style/FloatDivision warnings as well while I was here.

Yeah, this broke CI on ui-classic:
  1) StorageController report_data for selected StorageCluster returns associated Storages
     Failure/Error: view.paged_view_search(session[:paged_view_search_options])

     NoMethodError:
       undefined method `zero?' for nil:NilClass
     # /home/skateman/Repositories/ManageIQ/manageiq/app/models/storage.rb:589:in `free_space_percent_of_total'

Yeah, this broke CI on ui-classic:
  1) StorageController report_data for selected StorageCluster returns associated Storages
     Failure/Error: view.paged_view_search(session[:paged_view_search_options])

     NoMethodError:
       undefined method `zero?' for nil:NilClass
     # /home/skateman/Repositories/ManageIQ/manageiq/app/models/storage.rb:589:in `free_space_percent_of_total'


Crash in verifier method when using preconditionIsolated with iOS 17

How frequently does the bug occur?
Always
Description
I am encountering a crash when using the latest version of Realm and attempting to fetch objects from DB. This issue arises specifically on iOS 17.
To provide some context, I have implemented a Realm actor called RealmActor. Below is an example of the code structure:
actor RealmActor {
    var realm: Realm!

    init() async throws {
        realm = try await Realm(actor: self)
    }

    var count: Int {
        realm.objects(Todo.self).count
    }
}

The crash occurs within the verifier method, which is associated with the preconditionIsolated call.
#if swift(>=5.9)
        // When possible use the official API for actor checking
        if #available(macOS 14.0, iOS 17.0, tvOS 17.0, watchOS 10.0, *) {
            return {
                self.preconditionIsolated()
            }
        }
#endif

I would greatly appreciate it if this issue could be investigated and addressed in a future release. If any additional information is needed to assist with debugging or reproducing the issue, please let me know.
Thank you for your attention to this matter, and I look forward to a resolution.
Stacktrace & log output
RealmSwift/Realm.swift:1469: Precondition failed: Incorrect actor executor assumption; Expected 'UnownedSerialExecutor(executor: (Opaque Value))' executor.

Can you reproduce the bug?
Always
Reproduction Steps
Fetch objects from the DB, using Actor
Version
10.40.2
What Atlas Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
iOS 17
Build environment
Xcode version: 15.0 beta (15A5160n)
Dependency manager and version: SPM

I can't reproduce this. The given code works for me in both the iOS 17 simulator (on macOS 13) and on a device running iOS 17 beta.

@khambir @tcollins590 I am facing the same issue on iOS when using an actor-isolated realm.
RealmSwift/Realm.swift:1469: Precondition failed: Incorrect actor executor assumption; Expected 'UnownedSerialExecutor(executor: (Opaque Value))' executor.
2023-09-16 09:42:47.762209+0800 xctest[10556:186244] RealmSwift/Realm.swift:1469: Precondition failed: Incorrect actor executor assumption; Expected 'UnownedSerialExecutor(executor: (Opaque Value))' executor.

@buildnewmac It took me a long time to solve this because the crash didn't have a great trace. I ended up going call by call everywhere I was accessing realm. There was one place that I was calling it from a different TaskGroup, or DistpatchQueue. I have no clue why this worked in iOS 16, but in iOS 17 it was crashing. My suggestions is to very closely look at each call you make to each of your realms and make sure they're calling on the exact same thread

what mesure have you taken?

@tcollins590 i have accessed data from Realm but as soon as i am trying to use that accessed objects then it crashes and says RealmSwift/Realm.swift:1469: Precondition failed: Incorrect actor executor assumption; Expected 'UnownedSerialExecutor(executor: (Opaque Value))' executor.

I'm seeing this issue in iOS 16 after updating to latest RealmSwift and Xcode 15.

Realm 10.42.4, Xcode 15, iOS 17 and I'm experiencing the same issue.

This is reporting a bug in your application where you are using a Realm outside of the actor which is it isolated to.

Yes, correct. I followed every code where i am using Realm and made it to adhere my global actor then it worked. @aehlke @kakhaberikiknadze

This also happens for us, even when only accessing realm from MainActor

This happens for me as well, but only on iOS 17 (Swift 5.9)

I noticed two things. On the one hand, I didn't mark the functions that were somehow calling my Realm actor methods with my globalActor wrapper @RealmActor.
But also there were a few places where I had a Realm Object, and I tried to change a value of that object.
Once I ran this also inside my realm actor, this error disappeared. It showed me, consequently another error, that I cannot modify the object outside a write transaction. Which I didn't know was possible.
So I recommend to check not only where you might access methods of your actor, but also if you might be trying to modify any Realm object.

After trying a few more things, noticing very similar problems popping up here and there, I had another look at the documentation, and realized, there were a few more things I wasn't aware of. I can only recommend: https://www.mongodb.com/docs/realm/sdk/swift/use-realm-with-actors/ 😃

Guess I forgot to post the reply. I've also fixed it by marking the function from where I call the method with global actor @RealmActor.

This also happens for us. Whenever an unmanaged object is passed between actors.

I've resolved this issue via ThreadSafeReference for manages objects. But how are unmanaged objects to be passed across actors..?

Can you post a stacktrace for the error that you get when using unmanaged objects?


Index alerting events

Is your feature request related to a problem? Please describe.
Indexing a document with the alerting events observed would be a good feature, as they will provide increase insight and history about the alerts that raise during a benchmark

Fixed by https://github.com/cloud-bulldozer/kube-burner/pull/242


Automatic Fixes - Suggest direct dependency for transitively used header

Continuation for the automatic fixes feature from https://github.com/martis42/depend_on_what_you_use/issues/10
When detecting a header which is not available from a direct dependency query the workspace for the target providing the header and suggest using it.

Looking forward to this feature. I am using self-written header_query program which was essentially a bazel query attr('hdrs', 'path/to/header.h, //...:*)orbazel query attr('hdrs', 'path/to/header.h, @external_repo//...:*) call. However, there are a few issues with this approach.

How we "route" given header to the relevant external_repo?
There maybe multiple targets "exporting" the given header. And the visible(//my/path, "@external_repo//package:target) may both return OK.
E.g.,

$ header_query gflags/gflags.h
Multiple target containing header 'gflags/gflags.h'. They are:
  '@com_github_gflags_gflags//:gflags_nothreads'
  '@com_github_gflags_gflags//:gflags'

bazel query attr('hdrs', 'path/to/header.h', @external_repo//...:*) may fail as not all dependencies of external_repo exists.

$ bazel query "attr('hdrs', 'grpc++/grpc++.h', @com_github_grpc_grpc//...:*)"
ERROR: error loading package '@com_github_grpc_grpc//examples/python/errors': Unable to find package for @grpc_python_dependencies//:requirements.bzl: The repository '@grpc_python_dependencies' could not be resolved.
Loading: 20 packages loaded
    currently loading: @com_github_grpc_grpc//examples/protos ... (4 packages)
    Fetching @bazel_toolchains; fetching


Setup instructions for an erlang environment, ready to follow the exercises

In #113 @paulnice revealed that the instructions to setup an erlang environment lack some necessary detail about requirements.
The setup instructions should reviewed and -verified to cover installation of a recent and complete erlang on a fresh installed basesystem where the following basesystems should be considered at least:

[ ] Ubuntu in all active LTS
[ ] latest Debian
[ ] latest CentOS
[ ] latest Fedora
[ ] Windows 10 using the installer
[ ] Windows 10 using chocolatey

May I take some items? First three? All linuxes?

Even if I'm happy about help I think it would be useless at the current
point of time. I'm over hauling The complete track and as such I will
switch to rebar3 as build and test system. Of course you still can start
and do some experiments using the version of hello world in that PR.
paulnice<EMAIL_ADDRESS>schrieb am Di., 20. Sep. 2016 18:11:

May I take some items? First three? All linuxes?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/exercism/xerlang/issues/121#issuecomment-248350487,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADmR8CXIoBtV5Bd7u1_DDvOT0IrUdpDks5qsAXAgaJpZM4KBx2V
.

@paulnice I have pulled the switch and exercises are using rebar3 as build system now.
So if you are still interested, I'd be happy to hear from you!


[BEAM-14317] Add an example JvmInitializer to org.apache.beam.examples

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

R: @kennknowles

@arunpandianp - Could you please reply to the open comments?

@kennknowles

I think this example would be most useful if it were integrated into a pipeline

The ExampleJVMInitializer is integrated and gets executed with the pipelines like org.apache.beam.examples.WordCount, org.apache.beam.examples.WindowedWordCount etc. The ServiceLoader uses the mapping fromresources/META-INF/services/org.apache.beam.sdk.harness.JvmInitializer and loads ExampleJVMInitializer.
Are you suggesting to create a new gradle project with a sample pipeline, AutoService and a JVMInitializer? Where should it live?


Set timeout for Tonic requests

Not sure if this will help the issue with hanging requests, possibly we can do some kind of exponential backoff thing. Need to test against the repro

Going to land this so that the artifacts can be built and deployed for us to test


Version 0.4

Adds support for a --printfilename option (#8)
Adds support for Python 3.6 (#12)

Coverage remained the same at 99.471% when pulling 670d74e3221b8836fa979914ce83f445f455ee1b on version-0.4 into c4f39f4b50d6c2bb14c9db814aea1a38a182b3b3 on master.


Added timestamps, fixed old links and cleanup

Timestamps added to:

119-binary-to-decimal-conversion
120-bit-shifting
76-10print

Fixed links to website-archive:

76-10print
12-lorenz-attractor
27-fireworks

Cleanup done to

27-fireworks

@kfahn22 there were some merge conflicts with your changes, I believe I resolved them all correctly but feel free to double-check if I missed anything! I'm going to merge and then we can make edits in a separate branch if needed!

I think the conflicts were because of a23caed. Should be fine now.

Merging!


Remove custom ConfigManagers

This PR removes the need for custom ConfigManager classes.
More work would be needed to simplify the load-config.js files.

Yes exactly. I plan to abstract the start command and loadConfig, possibly in a @platformatic/start module.
I'll also have a single "platformatic start" command.


pkg/trace/sampler: Makes Rare Sampler more configurable

What does this PR do?

makes RareSampler more configurable
updates some default configuration values

Configuration
Old Default
New Default
Config Name

Cool down for non priority traces
2 min
5 min
apm_config.rare_sampler.cooldown

TPS
5
5
apm_config.rare_sampler.tps

Cardinality
1000
200
apm_config.rare_sampler.cardinality

Motivation
Rare Sampler samples too much data traces for data storage services. Data storage services have high cardinality resources. As result, Rare Sampler ends up annotating too many resources as rare.
With this change, the rare sampler should sample less traces when the resource cardinality is high.
Additional Notes
N/A
Possible Drawbacks / Trade-offs
If env/service has more than 200 resources, there will be less chances to catch actual rare traces. But, it knobs can be configured, now.
Describe how to test/QA your changes
We should notice less or the same amount of rare traces ingested comparing to the previous version.
Reviewer's Checklist

[x] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[x] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[x] A release note has been added or the changelog/no-changelog label has been applied.
[x] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[x] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[x] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[x] If applicable, the need-change/operator and need-change/helm labels have been applied.
[x] If applicable, the config template has been updated.

Can you add some release notes for this change? Also does there need to be an associated documentation change somewhere else?

Probably not but I'll let Barbayar confirm. I think that most cases users should not touch any of this.

@gbbr Yes. The users shouldn't touch these configs, unless the support team suggests them to update.
The defaults values are intended to work for all users.


Add nvim-neo-tree/neo-tree.nvim

Checklist:

[x] The plugin is specifically built for Neovim.
[x] The lines end with a .. This is to conform to awesome-list linting and requirements.
[x] It's not already on the list.
[x] If it's a colorscheme, it supports treesitter syntax.
[x] The title of the pull request is Add `username/repo`  when adding a new plugin.

Thanks for the PR!


Karaoke style is enabled in SRT and VTT as well?

Dear Jian,
Fantastic project you got here!
Working like a charm with my videos for subtitles just little question about Karaoke style in SRT and VTT - It seems its always on no matter the value provided to parameter karaoke.
As you can see below cli command

stable-ts --model medium --debug  v78.mp4 --output_format srt -o v78.srt

would get me Karaoke sytle subtitles like

5
00:00:02,580 --> 00:00:02,660
a couple of nurses enter a section of a hospital that many doctors
6
00:00:02,660 --> 00:00:02,860
a couple of nurses enter a section of a hospital that many doctors
7
00:00:02,860 --> 00:00:03,080
a couple of nurses enter a section of a hospital that many doctors
8
00:00:03,080 --> 00:00:03,320
a couple of nurses enter a section of a hospital that many doctors
9
00:00:03,320 --> 00:00:03,680
a couple of nurses enter a section of a hospital that many doctors

What if I don't want this many repeating lines of the same caption with a highlighted word?
Can I just get the old plain srt without styles?
Thanks
Aaron

Hello, this is a duplicate of #161 .


Driver specs

This isn't an issue but a question.
@kantai mentioned in issue https://github.com/blockstack/gaia/issues/79 about pinning down a spec for gaia hub drivers. Obviously the current drivers are simple and it's easy to implement new ones. Is there a spec yet or Is there one in writing?

The closes thing we have to a spec right now is the description here:
https://github.com/blockstack/gaia/blob/master/README.md#driver-model
The biggest feature request that would have an impact on this driver model in the near term is https://forum.blockstack.org/t/feature-request-gaia-ls-functionality/4769


Update to latest emoji.json (Unicode 8.0)

This updates the emoji.json file to the latest from iamcal/emoji-data@401f2b4
As part of this, a couple methods in EmojiData.rb had to be updated to handle some quirks in the new emoji set:

Regex characters in the definitions
Fields having null values

One side effect of doing this update without #2 is that scanning for emoji with skin variants now returns two EmojiChar instances.

This looks pretty great.  Do you have any thoughts as to the best way to handle integrating #2 with this?

Let me take a look at the other PR a little bit to see how it handles the update to emoji.json, which are significant. I feel like it should be fairly easy to re-base that PR on top of this change, but I'll take a look and verify.


The error message doesn't disappear after clearing invalid strings in text editor

Storage Explorer Version: 1.28.0-dev
Build Number: 20230330.2
Branch: feature/table-explorer-react
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Ventura 13.0.1 (Apple M1 Pro)
Architecture: ia32/x64
How Found: From running test cases
Regression From: Previous release (1.28.1)
Steps to Reproduce

Expand one storage account -> Tables.
Right click one table -> Click '[2] Open'.
Click 'Query' -> Open the text editor.
Type '1' into the text editor -> Execute query.
There is an error message -> Click 'Clear query'.
Check whether the error message disappears.

Expected Experience
The error message disappears.

Actual Experience
The error message doesn't disappear.

Verified this issue on the main/20230406.3. Fixed.


:tada:  Init frontend

Setup frontend of the project

Can we avoid having emoji in our commit messages ?
I will later add a check for conventional commits.


Fix Invalid description FileWriter

After Tensorflow 2.0,eager is used by default.
So, FileWriter class generates a runtime error because of eager context.
tf.compat.v1.Session()
Even though you use tf.compat.v1.Session (), the session works as an eager, so you can see the following error code.
RuntimeError: tf.summary.FileWriter is not compatible with eager execution. Use tf.contrib.summary instead.
But as we all know, tf.contrib no longer exists in tensorflow 2.0 world.
So I added the following guide:  Use tf.compat.v1.disable_eager_execution() before the code.
And I touched the document a bit to suit him.
Thanks for your working.

@googlebot I signed it!

Thanks @ryujaehun,
I'll try merging this.

@ryujaehun Can you please address Ubuntu Sanity errors? Thanks!

@ryujaehun Can you please address Ubuntu Sanity errors? Thanks!

I fixed it, thanks!

@ryujaehun Still, Ubuntu Sanity checks failing. Could you please check again?  Thanks!

@ryujaehun Still, Ubuntu Sanity checks failing. Could you please check again? Thanks!

@ryujaehun Still, Ubuntu Sanity checks failing. Could you please check again? Thanks!

Here are the internal errors, @ryujaehun can you please verify ?
RuntimeError: v1.summary.FileWriter is not compatible with eager execution. Use tf.summary.create_file_writer,or a with v1.Graph().as_default():` context
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/unittest/case.py", line 59, in testPartExecutor
yield
File "/unittest/case.py", line 605, in run
testMethod()
File "google3/third_party/tensorflow/contrib/eager/python/tfe_test.py", line 137, in testClassicSummaryFileWriterErrorsOut
writer.FileWriter(tempfile.mkdtemp())
File "/unittest/case.py", line 217, in exit
expected_regex.pattern, str(exc_value)))
File "/unittest/case.py", line 135, in _raiseFailure
raise self.test_case.failureException(msg)
AssertionError: "tf.summary.FileWriter is not compatible with eager execution" does not match "v1.summary.FileWriter is not compatible with eager execution. Use tf.summary.create_file_writer,or a with v1.Graph().as_default(): context" `

Yeah, it got stuck on an internal test. I've fixed it (cl/299164574).

This is only waiting for an internal approval, it will be merged soon.


Want To Add My Game Called : Catch Me If You Can

Hello, Maintainer! 👋🏼
I am Sujit Memane, a front-end React developer with expertise in creating visually stunning user interfaces. I have a strong portfolio that showcases my past work, highlighting my skills and abilities in designing attractive UIs.
I want to add Catch Me If You Can add the game to your game hub
Looking forward to the opportunity!
Portfolio Link : https://thesujitmemane.vercel.app/
Catch Me If You Can Game : https://catch-me-theta.vercel.app

Explain the game rules...

Assigned this issue to you. Kindly complete the task within a week and go through readme and contributing.md for successful merge. All the best to your work Sujit... !!!

Thank You very much


Add NFT Mint to all UserActions

@axelmarko-cb there was some conversation about this being on hold until gas fees dropped – did we decide to go ahead and give users NFTs for all actions?

@axelmarko-cb Is there a PRD or any write up on this?

Users should also be able to click into their NFT to see details:
Large version of the NFT
Title
Description
Potentially other information, e.g. how many other holders of the NFT are there.

@coinbasemar not yet but it's in the backlog


fix compatibility with new go mod

Hey,
I had issues using redistore with go1.11rc1 because the go.mod is out of date and needs a "+incompatible" on the redigo library.

Can you detail the “issues” - ?
I’d also like to understand the +incompatible syntax - it’s not documented anywhere in the modules docs.

+incompatible is automatically getting added when the library, in that case gomodule/redigo, doesn't have a go.mod file. That tells go modules that there is no need for /v2 in the import path.
If I run go1.11rc1 get it will automatically fix this and add +incompatible to gomodule/redigo. That's the new way how "incompatible"/"non go.mod libraries" get imported.

Ah - that makes sense. The official docs don't detail this appendix (yet?), hence the confusion.


transform-react-jsx-source not working on new react-native project

In order to get it to work, I need to create a babelrc with:
{
  "presets": ["react-native"],
  "env": {
    "development": {
      "plugins": ["transform-react-jsx-source"]
    }
  }
}

Any idea it works with the above babelrc but not inside of the preset? https://github.com/facebook/react-native/blob/8edb9524035b0c034135a81551ba955ee514dbd4/babel-preset/configs/main.js
cc @kittens @thejameskyle

What is happening?

Also seeing this issue. Works again if I turn off hot reloading.
See this line https://github.com/facebook/react-native/blob/master/packager/transformer.js#L94
Changing the line to below seems to resolve it...
config = Object.assign({}, hmrConfig, {
  plugins: config.plugins.concat(hmrConfig.plugins)
})

Not super familiar with all the ways plugins might be loaded into RN, but my suspicion is that HMR is overriding config.

@facebook-github-bot label Icebox

@facebook-github-bot close

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/transform-react-jsx-source-not-working-on-new-react-native-project
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.

@brentvatne you never said what was going on

sorry @thejameskyle :< I wasn't sure how to respond to that when I saw it and then forgot about it because I just used the fix from the OP. still not really sure how to answer that -- transform-react-jsx-source is included in the react-native preset, but it doesn't work unless you add it manually to your babelrc after the preset. not super helpful but it's all of the context I have a few months after the post

I can recreate this issue in React-Native 0.42, this is still a bug


Commit Rule

Current dependencies on/for this PR:

feature/pos-process-block

PR #727

PR #728

PR #729

PR #730

PR #732

PR #733

PR #734

PR #735

Current dependencies on/for this PR:

feature/pos-process-block

PR #727

PR #728

PR #729

PR #730

PR #732

PR #733

PR #734

PR #735

Merge activity

Oct 19, 3:48 PM: @lazynina started a stack merge that includes this pull request via Graphite.


Built in conditions don't have yaml keywords specified.

It would be great if the first section defines the yaml keywords to use.

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

ID: 3f151218-9a11-0078-e038-f96198a76143
Version Independent ID: 09c4d032-62f3-d97c-79d7-6fbfd89910e9
Content: Conditions - Azure Pipelines
Content Source: docs/pipelines/process/conditions.md
Product: devops
Technology: devops-cicd
GitHub Login: @juliakm
Microsoft Alias: jukullam

@Marklannucci  Thank you for the feedback, assigning this to the author for review.


Feature/setup error page

Setup the Error 404 Page

It looks really good, great job!
One thing that i noticed is that the 404 icon toggles before i hover over it from the top side only.

It looks really good, great job!
One thing that i noticed is that the 404 icon toggles before i hover over it from the top side only.

It should be resolved with latest commit where I fixed the icon-box


[FLINK-11637][doc-zh]Translate Checkpoints page into Chinese

What is the purpose of the change
This pull request completes the Chinese translation of Checkpoints page from flink official doucuments "checkpoints.md"
Brief change log
translates internal document "checkpoints.md" into Chinese
Verifying this change
This change is to add a new translated document.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@klion26 Hi，I just accept you suggestion and find that the travis-ci do not pass. is there any problem?thanks

You need to wait for the latest commit's travis-ci, the travis-ci of the commit but the last one is canceled.
And next time you can add all the changes in a single commit.

@klion26 thank for your review and reply,next time I will add all changes in a single commit. and is there any problems in this pull request,thanks.

@wuchong Hi,is there any problem in your optition? if not,can you merge it?thanks


Let user confirm account (recovery) settings

This issue is imported from pivotal
To prevent users from getting locked out of their eduID account, periodically ask the user to confirm his login and recovery settings.

See attached example from github.

(Peter Clijsters - Jun 12, 2023)


docs: Show return types and add /concepts page

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Changing language from new button main menu

As a client, I would like to have a possibility of changing the language of the menu of the app and the articles, so I can understand the information and navigate through the menu, From the home screen.
SP: 3
Priority: Medium
Risk: Medium
Ideal time: 10 hours
Demo steps:
Choose language from the main menu toolbar located on the bottom of the main menu interface. Page should reload in the selected language including all the app menu items and the article(s).
TODO: From the main menu

[ ] add button (same as in article)
[ ] be able to change the language (system and article)
[ ] Test feature

Better mockup

This issue was moved to katiaru/wikipedia#2


Fennel to lua does not compile to target

Expected Behavior
Compiled fennel to lua files go to target
Current Behavior
Fennel compiles into source

-- init.lua
local function bootstrap(user, repo)
    local fn = vim.fn
    local install_path = fn.stdpath("data") .. "/lazy/" .. repo
    if (fn.empty(fn.glob(install_path)) > 0) then
        fn.system({"git", "clone", "--depth", "1", ("https://github.com/" .. user .. "/" .. repo.. ".git"), install_path})
    end
    vim.opt.runtimepath:prepend(install_path)
end

bootstrap("folke", "lazy.nvim")
bootstrap("udayvir-singh", "tangerine.nvim")

local config = vim.fn.stdpath [[config]]
require "tangerine".setup({
    source  = config .. "/fnl",
    target  = vim.fn.stdpath [[cache]] .. "/lua",
    compiler = {
        hooks = {"onsave", "oninit"},
    },
})
require("init")

Though if there's init.fnl it alone compiles into target.

@justAlex0 I can't seem to replicate the issue, can you give me some more info about:

Did you try to run :FnlClean
Your OS
tree command output on both source and target dirs.

$ tree ~/.config/nvim/fnl
$ tree ~/.cache/nvim/lua

:FnlClean does not clean compiled lua files in either .cache or .config. I clean them externally through termial

Arch

Didn't past the full output because there're a lot of files but every .fnl has its .lua
└── .config
   └── nvim
      ├── fnl
      │  ├── init.fnl
      │  ├── init.lua
      │  ├── macros.fnl
      │  ├── opts.fnl
      │  ├── opts.lua
      │  ├── plugins
      │  │  ├── *
      │  ├── statuscolumn.fnl
      │  └── statuscolumn.lua
      ├── ftplugin
      │  ├── .fennel.fnl
      │  ├── fennel.lua
      │  └── sh.lua
      ├── init.fnl    // with just (set vim.opt.colorcolumn "80") to see if works
      └── init.lua

└── .cache
   └── nvim
      └── lua
         └── tangerine_vimrc.lua  // and it works

You aren't supposed to have two init.fnl files - nvim/init.fnl and nvim/fnl/init.fnl, maybe they are causing a loopback. I got this error when I tried to replicate your config:
Error detected while processing /home/user/.config/nvim/init.lua:
E5113: Error while calling lua chunk: ./init.lua:20: loop or previous error loading module 'in
it'
stack traceback:
        [C]: in function 'require'
        ./init.lua:20: in main chunk
        [C]: in function 'require'
        /home/user/.config/nvim/init.lua:20: in main chunk

Try to remove nvim/fnl/init.fnl or set it as your default vimrc:
require "tangerine".setup {
    vimrc = config .. "/fnl/init.fnl",
}

Other than that, your config works like normal on my machine and on testing docker container.

I use arch btw

Just read your dotfiles and only problem that I could find was you trying to require init.fnl manually. You don't have to do that with tangerine, it will require it for you. So remove this line:
 -- init.lua

 require "tangerine".setup({
+    vimrc    = config .. "/fnl/init.fnl",
     source   = config .. "/fnl",
     target   = vim.fn.stdpath [[cache]] .. "/lua",
     compiler = {
         hooks = {"onsave", "oninit"},
     },
 })
-require "init"

You aren't supposed to have two init.fnl files

There's no loopback even if i take require("init") from init.lua and put as (require :init) inside init.fnl.
But even if i delete init.fnl, tangerine just cleans tangerine_vimrc.lua inside target.

Now considering your snippet, /fnl/init.fnl compiles into target instead of the default init.fnl. Everything else is the same.
Also neovim and all the plugins and configs work as intended.

@justAlex0 I really am out of ideas for what might be happening. What version of neovim are you using?

NVIM v0.8.2

I guess i should play a bit with tangerine source, if it just something cursed on my end

I am using the same version on same OS and can't seem to replicate this behavior.
Can you clean you nvim config for a while and only add the following files:
- init.fnl
- plugin:
    - 0-tangerine.fnl
- fnl:
    - hello.fnl

-- 0-tangerine.fnl

local pack = "tangerine"

local function bootstrap(url, ref)
	local name = url:gsub(".*/", "")
	local path = vim.fn.stdpath [[data]] .. "/site/pack/".. pack .. "/start/" .. name

	if vim.fn.isdirectory(path) == 0 then
		print(name .. ": installing in data dir...")

		vim.fn.system {"git", "clone", url, path}
		if ref then
			vim.fn.system {"git", "-C", path, "checkout", ref}
		end

		vim.cmd [[redraw]]
		print(name .. ": finished installing")
	end
end

bootstrap("https://github.com/udayvir-singh/tangerine.nvim", "v2.3")

require "tangerine".setup {
    compiler = { hooks = {"oninit"} }
}

;; init.fnl

(require :hello)

;; hello.fnl

(print "HELLO WORLD!")

And then see what happens

Added. This still do not follow target
└── nvim
   ├── fnl
   │  ├── hello.fnl
   │  └── hello.lua
   ├── init.fnl
   ├── lua
   │  └── tangerine_vimrc.lua
   └── plugin
      └── 0-tangerine.lua

Then there is nothing that I can do at this point. You should keep on using hotpot than to get messy with tangerine's internals.


Updated links from MSDN docs to Azure docs

Hi @gbellmann, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@gbellmann Thanks for the contribution! I'll have a member of our team review.

Hi, thanks for the feedback. This file is in the process of being renamed, but it's fine to make these changes now. Thanks again.


Add helper to check snapshot after props sent

expect(wrapper).to.matchSnapshotAfter(() => {
  send(props$, [value(newProps)]);
});

This isn't relevant anymore, as we're no longer embedding stream in JSX.


Service Id register by collector.

When agent shutdown after send segment data to collector contains service not exchange to id. Will lead to blocked the segment standardizing.

Done


Typo

Description

just a little typo here.

- You already had a different entry for `Head:` in your `astro.config.njs` file?

+ You already had a different entry for `Head:` in your `astro.config.mjs` file?

Hi @jamaluddinrumi 👋🏼 Thanks for the improvement!

you're welcome


UI in the Helm chart install gives "failed to get pod details" on the "Pods View" tab.

Hi all, this is my first time using numaflow and I installed it in kind using helm (as I always prefer the helm install method). However, I noticed an issue when running a pipeline. First, it didn't look like there was any activity on the vertex in the UI where it displays the rate; it just showed 0.00/sec. When clicking on the vertex, the "Pods View" tab had an error "failed to get pod details".
This is what I see:

The actual pods looked like they were generating activity when I viewed the logs directly with kubectl. I suspect an RBAC issue with the helm chart, but that's just my naive thought. I'm using kubernetes 1.31, kind, and version 1.4 of numaflow.
Note: I did not have this issue when installing directly from the raw kubernetes resources (non-helm install method).

Thanks @JoeJasinski , will take a look.

perhaps the metrics server was not installed?


pod gpu metric support for k8s-1.13

I succeeded to get pod gpu metric using this daemonSet on k8s-v1.17.3
https://github.com/NVIDIA/gpu-monitoring-tools/blob/master/exporters/prometheus-dcgm/k8s/node-exporter/pod-gpu-node-exporter-daemonset.yaml
Do you guys have a plan about making it work on k8s-v1.13 ?

sorry, I forget to open feature-gate , now it worked

What happened to pod-gpu-node exporter? I can't seem to find the feature on the repo, was it unpublished?


Use URI::Generic#hostname to strip brackets from ipv6 hosts

URI::Generic#host is not appropriate to pass socket methods such as TCPSocket.open.
See: https://bugs.ruby-lang.org/issues/3788
URI::Generic#hostname was added in ruby 1.9.3.
Commit: ruby/ruby@5fd45a4
From: lib/uri/common.rb:
Since IPv6 addresses are wrapped by brackets in URIs,
this method returns IPv6 addresses wrapped by brackets.
This form is not appropriate to pass socket methods such as TCPSocket.open.
If unwrapped host names are required, use "hostname" method.

  URI("http://[::1]/bar/baz").host #=> "[::1]"
  URI("http://[::1]/bar/baz").hostname #=> "::1"

See also: nahi/httpclient#176
Note:  this is failing on travis for 1.9.2 since URI::Generic#hostname was added to ruby 1.9.3.
Since ruby 1.9.2 ended extended end of life back in July, this should be ok.  Otherwise, we'd have to maintain a backport from ruby or only fix this issue with ruby 1.9.3 and greater.
If desired, I can bump the required ruby version to 1.9.3 in the travis.yml/gemspec but I wanted to propose the question first.
Finally, even with rest-client patched, there is a regression in net/http in ruby 2.0+:
Fixed here
buglink
We have requested backports of this fix to 2.0 and 2.1.
Even if rest-client doesn't want to carry this backport as a monkey patch, it should be using URI::Generic#hostname for strings to be used in Socket connections.

@ab Is there anything you're waiting on before we'll see pre-release version of rest-client 2.0.0?  I'd like to test it out.  Can I help out?
Thanks!

Note ruby 2.0.0p643 shipped today with the referenced net/http ipv6 fix r47079 from backport

See also: https://www.ruby-lang.org/en/news/2015/02/25/ruby-2-0-0-p643-is-released/


Add HorizontalBarChart chart

Something here doesn't seem quite right. It renders reasonably well but seems off.

Thanks for the pullreq.! I'll check. Sorry I didn't have time to properly answer the bar chart issue.
Which part of the screenshot do you feel is off?

The screenshot itself isn't off much, but if I play with the numbers and widths it can look very much out of place. I had to use some hacks in there as I wasn't terribly familiar with the code, I'm assuming one of them may be contributing to the problem.

Ok, let me check if I can get rid of the hacks :)

Just for your information, I am on holidays till Thursday. Sorry I can't check earlier!

+1... This would be nice!

I will look for a way to implement this and be able to re-use the grouped bars option.

awesome! it may be nice to just make the bar chart go either direction based on data or a prop instead of having two components that are basicly the same.

Yes I agree with that!

@codesuki It would be very helpful if you can merge this. Could you please let me know as when it can be done?

@psudeepta as @jsg2021 stated before I would like this component to be just integrated with the normal bar chart. Having a flag to switch between horizontal / vertical.


Mobile Safari Touch Nav Hangup

Sometimes the Touch navigation gets stuck between screens on mobile browsers.

Unable to reproduce without a simulator.  This seems to be a simulator hangup issue. SLOW DOWN.


I can not upload my picture

Subject: I can not upload my picture
Description:
I can not cancel or confirm there is nothing to choose from or so on
Results:
upload the picture but I got this message Confirm or cancel the picture upload before saving.
I can not cancel or confirm there is nothing to choose from or so on
Backend version: develop-fef052b8
Frontend version: develop-fef052b8
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Page: https://couchers.org/donate
User: pinkbutterfly (36580)

Can't reproduce


Image Optimization - Vercel

Hosted this recently. With only one user having an image, and using it for above an hour. Image optimization has a significant bump in image optimization usage on vercel!
Anyone know how to tackle this?

Submitted a pull request for this on #1822


Celery deprecation

/usr/local/lib/python3.11/site-packages/celery/worker/consumer/consumer.py:498: CPendingDeprecationWarning: The broker_connection_retry configuration setting will no longer determine
whether broker connection retries are made during startup in Celery 6.0 and above.
If you wish to retain the existing behavior for retrying connections on startup,
you should set broker_connection_retry_on_startup to True.
  warnings.warn(

Fixed in 94be131968a8702cac8bcf72cfa848d0ff8eb4af


[Transaction builder] App Crash on decoded data opening after transaction builder allow to send ETH to multiple EOA

Title/Description
The app is crashed when the decoded data is opened in case of a few transfers to the EOA in the transaction builder transaction
Environment
Environment: development
Steps:
add a transaction by sending ETH to one OEA
add a transaction with sending ETH to the second EOA
click send transaction
click confirm
open detail( decoded data) for any of the contract interaction before the txs submitting
Current result: the app is crashed
Expected result: It should be possible to see details of each tx included in the multisend tx
related to the refactoring in the #115

cc: @liliya-soroka


Refactor Vertex Formats to use Less Data

I'm using NVidia X server settings to see how much GPU memory is in use on an 8 GB RTX 3070.
Idle: 427 MB in use.
Loaded "Babbage Palisade" scene: 3684 MB in use.
Scene stats:
Loaded: 14231 meshes, 19765372 vertices, 58364409 triangles, 14623 textures, 357197184 texture bytes.
Reused: meshes: 39054,  textures: 32514

"texture bytes" is the total number of bytes fed into create_texture_2d.
Each mesh loaded or reused has its own Object and Material.
So that's roughly 20 million vertices, 58 million triangles, and 357 million texture bytes.
Each vertex should be 12 bytes (3 of f32) and each triangle 12 bytes (3 of u32).
So, 936 MB of mesh.
357 MB of texture
1,293 GB total.
plus initial usage of 427MB
That's 1.720 GB.
Actual usage is about twice that.
Memory usage increases as textures are swapped in and out, and I've had the 8GB GPU 79% full. But that situation is more complicated. This situation is simple - no texture or mesh deletions have occurred.
This is the version of Rend3 from the repository as of two days ago. Memory consumption seems to be much higher than in Rend3 0.2.2. But that needs to be reverified with an old version of my program.
Also, frame rate now maxes out around 47 FPS, while, before, it was at 59 FPS with the scene initially loaded. The only compute in progress is the refresh loop; everything else is quiet. CPU utilization is 100% olf one CPU.

The one thing that changed is that there are now more vertex attributes attached to each mesh, so each mesh is bigger.

Position (f32x3 = 12 bytes)
Normals (f32x3 = 12 bytes)
Tangents (f32x3 = 12 bytes)
Uv0 (f32x2 = 8 bytes)
Uv1(f32x2 = 8 bytes)
Color (u8x4 = 4 bytes)
Joint Index (u16x4 = 8 bytes)
Joint Weight (f32x4 = 16 bytes)

That's 80 bytes/vertex. Add to that vertex buffer lengths are rounded up to the nearest power of two, you get a length of 2^25 = 33M vertices. 33M verts * 80 bytes a vertex = ~2.6GB of vertex data. Add the 168M indices (rounded up to 268M) that should be 1GB of indices. That's 3.6GB right there.
That being said this shouldn't substantially affect performance. The vertices are intentionally stored in separate buffers so there should be little to no runtime performance loss because of these excess buffers (just memory usage). I will eventually allow these other attributes to be completely omitted (and custom ones to be added), but that requires more internal reworks.

I think two ways the memory usage can be improved: instead of rounding up to nearest power of two, I can round up to a fixed power of two (maybe 2M/4M verts which is a bit over 150/300MB maximum waste)
I'll also look into using smaller datatypes if possible without loss of needed precision.

OK, thanks. So all vertices are set up for rigged mesh, whether or not it is needed. 24 more bytes per vertex explains the increase. That's a high cost.
Let me look more at how the memory consumption grows with texture loading and releasing. I may have a memory leak.
Is there any way yet to monitor GPU memory consumption from inside a program? That just became a lot more important.
Any instructions on how to profile?

Suggestion:
Position (f32x3 = 12 bytes)
Normals (f32x3 = 12 bytes) - consider i16x3. Errors wil be subpixel.
Tangents (f32x3 = 12 bytes) - consider i16x3.
Uv0 (f32x2 = 8 bytes)
Uv1(f32x2 = 8 bytes) - optional, unless using the second set of UVs.
Color (u8x4 = 4 bytes)
Joint Index (u16x4 = 8 bytes) - optional, unless rigged mesh
Joint Weight (f32x4 = 16 bytes) - optional, unless rigged mesh

That gets it down to 36 bytes.
Typical Steam user has a 6 GB GPU.

Optional components I can't do immediately because of complexity issues, but I had some discussions about what other engines do and I think I can get it down even further.
Position (f32x3 = 12 bytes)
Normals (i8x3 = 4 bytes)
Tangents (i8x3 = 4 bytes)
Uv0 (f16x2 = 4 bytes)
Uv1 (f16x2 = 4 bytes)
Color (u8x4 = 4 bytes)
Joint Index (u16x4 = 8 bytes)
Joint Weight (u8x4 = 4 bytes)

That's 44 bytes/vertex without optional-ness and 24 with. (In reality, the only one I'm going to require is position, though normals and tangents will be required for skinning)

That sounds very good. Thanks.

Regarding texture memory usage, I now have a better idea of what's going on.
The only tool I have for seeing what the GPU is doing is NVidia's X Server utility, which tells me the total memory in use in the GPU. What I see is that, after loading and unloading many textures, the memory usage number goes up, and never comes back down much, although it does come back down by 5-10% or so.. The amount it shows is closely related to the peak texture usage, not the current texture usage. It turns out my peak is too big, because, as the program frantically loads and  unloads textures as the camera moves, the ones taking up the most screen space have priority, which means downsizing distant textures is low priority and fast camera movement causes a large but temporary texture memory usage spike.
So this looks like something where GPU memory allocation allocates memory for texture purposes and does not give it back in a way that the NVidia X server utility can see. This is common behavior for allocators that get their memory from some lower level allocator, like the operating system's, and don't give it back, or only give it back if they can give back a big block.
Is that what's going on down at the allocation level? That would explain what I'm seeing. Thanks.

After #449 is merged, this isn't entirely solved, but vastly helped. The only required attribute is position, the rest are optional and only needed if you use the feature for them.


Package.json for 5.1.3 not in sync with master

Description
This https://github.com/lottie-react-native/lottie-react-native/pull/900 bumps lottie-ios to 3.4.0, but the current published version on npm results in package.json and .podspec file still referring to 3.2.3.
Steps to Reproduce
Install according to the instructions for the latest library
Expected behavior: Pod should resolve
Actual behavior:
err:
[!] CocoaPods could not find compatible versions for pod "lottie-ios":
  In Podfile:
    lottie-ios (from `../node_modules/lottie-ios`)

    lottie-react-native (from `../node_modules/lottie-react-native`) was resolved to 5.1.3, which depends on
      lottie-ios (~> 3.2.3)

Versions
project package.json:
    "lottie-ios": "^3.4.0",
    "lottie-react-native": "^5.1.3",

Sure I can install 3.2.3 as well, but love to have the latest version now ;)

We are releasing 6.0.0 soon with this fix


Why there is not any tests?

It is little bit scary to switch from some vdom to inferno bc of this =)

Very scary! But I'm going through too much of an early development conceptualisation stage right now – once I'm happy with the underlying root structure of Inferno I'll get those tests added :)
I'd envisage no longer than a couple of weeks before I start adding test coverage.

Good news :beers:
Also, will be there some events about componendDidUpdate and componentDidMount etc?

I'm looking to replicate the React component API where possible – to keep familiarity to those coming from React (plus I quite like their API and lifecycle events, they make lots of sense). So there will be the equivalent of  componentDidMount and componendDidUpdate etc

:fireworks: :fireworks: :fireworks:

Just to give an update to this: I've started some working on adding test coverage now. They'll be added to the proto branch for the time being.

Very good news! If I'll be possible to help - will glad to =)

Any progress on the test coverage?

@rickardjanson I've written a few for the new 0.2.3 but have yet to push them as I encountered some issues regarding IE (Inferno doesn't like IE it seems :))

We now have plenty of tests in the new-build branch. :)

@trueadm Great job! Cool! :+1: