Run with ponynoblock by default

There's no reason for it to be on.

I figured out why the change didn't impact test failures, the tests were still being run without noblock. I've updated accordingly in this PR. We shouldn't need noblock with corral and until I finally snuff out the cycle detector gc issue in the runtime, it would be better to not have corral impacted by it. Running with noblock would avoid the problem.
I need to test this some more times before I take it off of draft, but I think this will be good to switch to ready for review soon.

I figured out why the change didn't impact test failures, the tests were still being run without noblock. I've updated accordingly in this PR. We shouldn't need noblock with corral and until I finally snuff out the cycle detector gc issue in the runtime, it would be better to not have corral impacted by it. Running with noblock would avoid the problem.
I need to test this some more times before I take it off of draft, but I think this will be good to switch to ready for review soon.

Windows integration test failure is a known issue.

Windows integration test failure is a known issue.


[Draft] [dash-flow] Test cases for DASH flow using PTF

This PR aims to add several functional test cases to verify the dash flow stage. The test cases will utilize PTF framework.

hi @ShaofengWu123 - is this one ready?  Thx!

hi @ShaofengWu123 - is this one ready? Thx!

Hi @KrisNey-MSFT, this PR is not ready because I only finished part of the test cases. Other test cases can only be tested after #608 is merged because they are related to flow actions. Since #608 was merged just a few days ago, I will continue working on unfinished test cases asap. Thx!

hi Shaofeng, somehow I am seeing the saidashflow.py is empty. is it because this PR is still in draft state? if so, we can make it a real draft. :D

Sure, I will update soon.

[like]  Kristina Moore reacted to your message:

From: Shaofeng Wu @.>
Sent: Monday, October 28, 2024 9:30:45 AM
To: sonic-net/DASH @.>
Cc: Kristina Moore @.>; Mention @.>
Subject: Re: [sonic-net/DASH] [Draft] [dash-flow] Test cases for DASH flow using PTF (PR #621)
hi @ShaofengWu123https://github.com/ShaofengWu123 - is this one ready? Thx!
Hi @KrisNey-MSFThttps://github.com/KrisNey-MSFT, this PR is not ready because I only finished part of the test cases. Other test cases can only be tested after #608https://github.com/sonic-net/DASH/pull/608 is merged because they are related to flow actions. Since #608https://github.com/sonic-net/DASH/pull/608 was merged just a few days ago, I will continue working on unfinished test cases asap. Thx!
hi Shaofeng, somehow I am seeing the saidashflow.py is empty. is it because this PR is still in draft state? if so, we can make it a real draft. :D
Sure, I will update soon.
—
Reply to this email directly, view it on GitHubhttps://github.com/sonic-net/DASH/pull/621#issuecomment-2441047134, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFJSI6HEEYFWPN6RGVFLIETZ5X74LAVCNFSM6AAAAABOYNSOICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBRGA2DOMJTGQ.
You are receiving this because you were mentioned.Message ID: @.***>

hi @ShaofengWu123  - just checking in on this one :)

hi @ShaofengWu123 - just checking in on this one :)

Working on this one since DPAPP just got merged.

/azp run

/azp run

/azp run

/azp run

/azp run


Matrix free nonlinear poisson prototype

Description of the problem
This adds a matrix-based and a matrix-free nonlinear Poisson prototype with Dirichlet boundary conditions to the prototypes folder.
Documentation
It does not apply to this PR since it is only a prototype.
Comments
This is the first step towards matrix-free Lethe.

I did not see anything that ticked my eye, but I am not sooo familiar with the MF framework. I'll need to catch up more on that :).


HID and openCV capture can point to different devices

There is no common data value between HID and OpenCV Video Capture. Currently, both just make sure that they find a camera of the correct vendor and manufacture name but if two Deimos' are connected then there is a chance these will connect to different devices.
(See src/camera/StereoCameraDeimos.cpp)
Here the hid_open takes the vendor and manufacture id (0x2560,0xC114):
deimos_device = hid_open(0x2560, 0xC114, NULL);

Searching the windows registry it doesn't look like there is a common setting between the video capture and HID device.
However, looks like ecosystems has made changes to OpenCV to allow it to return device information, see here.

Oh this is fun. We can query serial numbers in DirectShow (or rather in the find devices function). The order that devices appear in DShow should be identical to OpenCV though because they're enumerated in the same order.


Increase IPv4 Addresses column width for dhcp static leases

Refer to
https://github.com/openwrt/luci/issues/2132

NAK from my side, comments see #2132


Incorrect sentences

Current content

Media Services currently only supports blobs in the container root and not with paths in the file name. Thus, a container with the "input.mp4" file name will work. However, a container with the "videos/inputs/input.mp4" file name won't work.

Proposed correction

Media Services currently only supports blobs in the container root and not with paths in the file name. Thus, a ~container~ blob with the "input.mp4" file name will work. However, a ~container~ blob with the "videos/inputs/input.mp4" file name won't work.

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

ID: 8922bebc-812d-f440-d4d9-4f8db1fbcffb
Version Independent ID: f331a491-187f-e803-3cc2-93e2160eb9f9
Content: Manage assets in Azure Media Services - Azure Media Services
Content Source: articles/media-services/latest/manage-asset-concept.md
Service: media-services
Sub-service: rest-v3
GitHub Login: @Juliako
Microsoft Alias: juliako

@sivasenthil-kumaraguru Thanks for the feedback! We are currently investigating and will update you shortly.

@sivasenthil-kumaraguru Thanks again for the feedback! I have created PR and it will be validated soon.


Bump safer-golangci-lint.yml to <IP_ADDRESS>

Bump from 1.46.2 to <IP_ADDRESS>.
<IP_ADDRESS> (October 2, 2022) allows different version of goimports (gofmt) to be used than Go version for golangci-lint.

GOFMT_VERSION - version of Go for gofmt and for building goimports
GOTOOLS_VERSION - version of go tools
GOIMPORTS_DGST - SHA-256 of goimports command built with Go 1.8.6 and go tools v0.1.12.

1.49.0 (September 18, 2022) is identical to latest at github.com/x448/safer-golangci-lint.
# Release v1.49.0 (September 18, 2022)
#   - Bump golangci-lint to 1.49.0
#   - Bump Go to 1.19 (latest version of 1.19.x because check-latest: true).
#   - Put Go version in environment variable GO_VERSION.
#   - Increase timeout to 15m for big projects enabling more linters.
#   - Use SHA-256 to verify (instead of SHA-384) and mention checksums file.
#   - Hash of golangci-lint-1.49.0-linux-amd64.tar.gz
#     - SHA-384: df59267a11317d2763fb6cb454a9b3a6a6d428f4750fcbb8604fb0d289b18a1b3b6cd2bfbf2a2fe976979e97a71fcc36
#     - SHA-256: 5badc6e9fee2003621efa07e385910d9a88c89b38f6c35aded153193c5125178
#                This SHA-256 digest matches golangci-lint-1.49.0-checksums.txt at
#                https://github.com/golangci/golangci-lint/releases

@fxamacker please take another look.  I needed to comment out gofmt and goimports from .golangci.yml because goimports is always run by safer-golangci-lint.yml after compiled using specified versions of go and go tools.


Migrate to OOP

Migrated to objects, added 3 articles + some other unnecessary but fun shenanigans

Įvertinimas 10 ir 10


Module parse failed

Describe the bug
when i try run yarn dev:react ,there is a moudule parse failed
error - ../../chains/ethereum/index.ts
Module parse failed: Unexpected token (1:7)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> export type { Chain, ChainProviderFn, Connector, Provider, WebSocketProvider } from '@wagmi/core'
| export { Web3ModalEthereum } from './src/api'
| export { chains, providers } from './src/utils/wagmiTools'

SDK Version

Version [2.0.0-alpha.2]

To Reproduce
Steps to reproduce the behavior:

yarn
cd example/react
write my projectID in .env.local.example and then run cp .env.local.exmale .env.local
cd ../../ and run yarn dev:react

Expected behavior
i hope it's normal working,but there is a error
Screenshots

@AlexL0ng Can you please try using 2.0.0-alpha.7?

@AlexL0ng Can you please try using 2.0.0-alpha.7?
oh,sorry!i write write wrong the sdk version.
I make sure my code is the newst.And using the 2.0.0-alpha.7.

@AlexL0ng have you modified anything within the build pipeline? If you have cloned V2 branch (with latest changes), there should be no trouble in starting react example via these steps

yarn install
yarn dev
yarn dev:react (in a separate terminal tab, so that yarn dev runs in the background)

I would also make sure you are using LTS node / yarn v1 version

I am getting the same error as @AlexL0ng facing, I am using Node -v 16.13.0 and installed the web3modal V2 version by yarn. I also followed the same step as running yarn dev and yarn dev:react (in a separate terminal) which is giving the same, Module parse failed error.

I would also make sure you are using LTS node / yarn v1 version

Thanks reply,i done as your step.But the same error was happened.
and i using Node -v 16.7.1
yarn -v 1.22.19

Found the issue, will be fixed in next pr. Meanwhile you guys can replicate these changes locally https://github.com/WalletConnect/web3modal/pull/630/commits/7d8e14ca7c6e8df4ca03c6cf8f6d6863dd459928
I think we had this invalid type re-export cached somehow on our dev machines.

Hi @IljaDaderko , Thanks for the answer. I am getting the same error after the changes to the files. It is not working after making changes as described in "fix invalid type export".

@netqom @AlexL0ng Looked deeper into this today and I believe pr I mentioned above is the appropriate fix. Could you guys please confirm? (remember to pull fresh from the rep and run yarn to install extra packages)

also cc @Crytogenz


Consider adding layout to AllReduceOp

Request description
Based on https://github.com/tensorflow/tensorflow/blob/5631d0d1d017eff1d1a54e32f76ef56f8ca04a8a/tensorflow/compiler/xla/client/xla_builder.h#L817

Superseded by #644.


add light-html theme

What do you think of this? Probably showing my ignorance in the world of css, but adding a new theme achieves what I was after. The upstream issue of being able to set styles on the figure would of course allow you to achieve the same but where users want to export an image and expect it to look as it did in a jupyter notebook perhaps this is more friendly?
from pyobsplot import Obsplot, Plot
import polars as pl

op = Obsplot(theme="light-html")
penguins = pl.read_csv("https://github.com/juba/pyobsplot/raw/main/doc/data/penguins.csv")

op({
    "color": {"legend": True},
    "marginLeft": 80,
    "marginRight": 80,
    "x": {"inset": 20},
    "grid": True,
    "marks": [
        Plot.boxX(penguins, {
            "x": "body_mass_g", "fill": "island", "y": "island", "fy": "species"
        })
    ],
    "title": "Test title",
    "subtitle": "Test subtitle",
    "caption": "Test caption"
}, path= "out.html")

Before -

After -

Thanks for the PR, but I'd prefer to wait for upstream to implement figure styling instead of creating a workaround which will be obsolete after... Moreover, the default behavior makes title and subtitle style the same as the rest of your HTML document, so it is kind of coherent. You can always add a custom CSS rule to your HTML to style it differently.
Hope it makes sense, don't hesitate if you have any remark or question.

Hi, yep that sounds sensible! I'll look at adding a custom css rule / getting the upstream issue fixed. Thanks for the feedback.


MethodLengthChecker interprets maxLength differently, depending on ignoreComments

I was working on adding the ignoreEmptyLines option (see #300). Unlike #301 I decided to do some refactoring to make the code more functional. The existing tests won't pass.
After some debugging, I found that the problem is actually in the existing code base, which have an off-by-one error.
See:
@Test def testOK(): Unit = {
  val source = """
package foobar

class F1() {
  def method1() = {
    def foobar() = { 5 }
    2
    3
    4
    5
    6
    7
  }
}
"""

  assertErrors(List(columnError(5, 6, List("7"))), source, Map("maxLength" -> "7", "ignoreComments" -> "false")) // PASS
}

same code, this time with ignoreComments:
@Test def testOK(): Unit = {
  val source = """
package foobar

class F1() {
  def method1() = {
    def foobar() = { 5 }
    2
    3
    4
    5
    6
    7
  }
}
"""

  assertErrors(List(columnError(5, 6, List("7"))), source, Map("maxLength" -> "7", "ignoreComments" -> "true")) // FAIL
  }

With ignoreComments, the check allows for max 8 lines
Without ignoreComments, the check allows for max 6 lines
For the record, my version and a more functional one

Hey @Darhazer,
In PR #301 , I realized that issue and fixed it already. After that one is merged, this bug will disappear.

There's one more issue - since it uses contains to check if the string is in multiline comment, it skips lines that end with /*, although the line itself contains valid code

I thought that was an implementation decision since the issue is already pointed out in the code as comment.
https://github.com/scalastyle/scalastyle/blob/b3c6c80e31d4d557c10c70ec19821c48bf3e05af/src/main/scala/org/scalastyle/scalariform/MethodLengthChecker.scala#L83

can be closed since pr is merged..

Fixed by #301.


CUDA: Deprecate support for CC < 5.3 and CTK < 10.2

This deprecates support for:

Compute capabilities less than 5.3
CUDA toolkits less than 10.2

in preparation for removing support for them in Numba 0.56. This is in accordance with supporting 3 year's worth of toolkits (9.2 is almost 4 years old now), and all hardware released in the last 6 years is still supported.
I've also updated the Numba sysinfo example so it looks similar to what a user might see today (rather than referencing outdated versions of things) and added a small note to cuda.detect() to show supported but deprecated devices, and to correctly identify devices with CC < 3.0 as unsupported.

gpuci run tests

gpuci run tests

This failed gpuCI only because #7740 is not yet merged.

Looks like CTK=11.4 with CUDA 11.2 is failing due to an unexpected success on gpuci:
11:35:09 test_profiling (numba.cuda.tests.cudadrv.test_profiler.TestProfiler) ... unexpected success

Looks like CTK=11.4 with CUDA 11.2 is failing due to an unexpected success on gpuci:
11:35:09 test_profiling (numba.cuda.tests.cudadrv.test_profiler.TestProfiler) ... unexpected success

ah https://github.com/numba/numba/pull/7755#issuecomment-1018431192 notes why, thanks @gmarkall .

gpuci run tests


How to use RecognizedLanguage in TextRecognize

class RecognizedLanguage {
  RecognizedLanguage._(dynamic data) : languageCode = data['languageCode'];
  final String languageCode;
}

how to call this class.

@MistryHiral did you find any solution?

@MistryHiral
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/1160. Any further collaboration will be done there.


Request: Expose AddBrokers API

I have a setup where my app connects to bunch of Kafka brokers running in Docker containers. Given nature of Docker, the IPs of those brokers can change when they restart or servers change. Now librdkafka is able to handle partial failures/changes in the topology of the Kafka cluster. However there is a case where all IPs of the brokers change completely. My app can discover those new IPs separately, however I have no way of telling librdkafka about those new brokers since it can't auto-discover them now.
Based on this issue here (https://github.com/edenhill/librdkafka/issues/1073) it's suggested to use rd_kafka_brokers_add() This method is available in SafeKafkaHandle in AddBrokers() however it's not available to the producer or consumer.
This is a feature request asking if it's possible to expose this internal API for public usage.
Thanks

added in #209


Plugin missing some attributes for ACs

Describe The Bug:
On initial startup or during restarts, the plugin receives "unsupported attributes" from the AC. Specifically, this is a Midea DUO. Here are the messages from the logs:
[2/26/2024, 12:29:13 AM] [homebridge-midea-platform] [Office AC] Attempt to set unsupported attribute TOTAL_ENERGY_CONSUMPTION to 0
[2/26/2024, 12:29:13 AM] [homebridge-midea-platform] [Office AC] Attempt to set unsupported attribute CURRENT_ENERGY_CONSUMPTION to 0
[2/26/2024, 12:30:00 AM] [homebridge-midea-platform] [Office AC] Attempt to set unsupported attribute INDOOR_HUMIDITY to 0

To Reproduce:

Install homebridge-midea-platform
Configure the device with a Midea DUO (or other Midea AC that supports energy or humidity monitoring)
Check logs for above error messages

Expected behavior:
Plugin allows device to set all supported attributes

Logs:
[2/26/2024, 12:25:09 AM] [homebridge-midea-platform] This plugin generated a warning from the characteristic 'Rotation Speed': characteristic was supplied illegal value: number 999 exceeded maximum of 102. See https://homebridge.io/w/JtMGR for more info.
[2/26/2024, 12:27:15 AM] [homebridge-midea-platform] Launched child bridge with PID 388
[2/26/2024, 12:27:16 AM] Registering platform 'homebridge-midea-platform.midea-platform'
[2/26/2024, 12:27:16 AM] [homebridge-midea-platform] Loaded homebridge-midea-platform v0.4.13 child bridge successfully
[2/26/2024, 12:27:16 AM] [homebridge-midea-platform] Start device discovery...
[2/26/2024, 12:27:16 AM] Homebridge v1.6.1 (HAP v0.11.1) (homebridge-midea-platform) is running on port 46419.
[2/26/2024, 12:27:16 AM] [homebridge-midea-platform] Discovered device: {"ip":"<IP_ADDRESS>","port":6444,"id":30786326306583,"model":"00000Q1C","sn":"XXX","name":"net_ac_XXXX","type":172,"version":3}
[2/26/2024, 12:27:16 AM] [homebridge-midea-platform] Adding new accessory: Office AC
[2/26/2024, 12:27:16 AM] [homebridge-midea-platform] [Office AC] New device at <IP_ADDRESS>:6444, using token/key from config file
[2/26/2024, 12:27:16 AM] [homebridge-midea-platform] [Office AC] Starting network listener.
[Office AC@@Cooling Threshold Temperature] characteristic was supplied illegal value: number 10 exceeded minimum of 16
[Office AC@@Heating Threshold Temperature] characteristic was supplied illegal value: number 0 exceeded minimum of 16
[Office AC@Office AC Display@Configured Name] Characteristic not in required or optional characteristic section for service Switch. Adding anyway.
[2/26/2024, 12:27:16 AM] [homebridge-midea-platform] [Office AC] Attempt to set unsupported attribute TOTAL_ENERGY_CONSUMPTION to 0
[2/26/2024, 12:27:16 AM] [homebridge-midea-platform] [Office AC] Attempt to set unsupported attribute CURRENT_ENERGY_CONSUMPTION to 0
[2/26/2024, 12:27:24 AM] [homebridge-midea-platform] All configured devices added to Homebridge
[2/26/2024, 12:27:58 AM] [homebridge-midea-platform] [Office AC] Attempt to set unsupported attribute INDOOR_HUMIDITY to 0

Plugin Config:
{
    "devices": [
        {
            "type": "Air Conditioner",
            "name": "Office AC",
            "id":<PHONE_NUMBER>6583,
            "advanced_options": {
                "token": "",
                "key": ""
            },
            "AC_options": {
                "swingMode": "Vertical",
                "audioFeedback": true,
                "fahrenheit": true
            }
        }
    ],
    "_bridge": {
        "username": "",
        "port":
    },
    "platform": "midea-platform"
}

Environment:

Plugin Version:  0.4.13
Homebridge Version:  1.7.0
Node.js Version:  18.19.0
NPM Version:  10.2.3
Operating System:  Docker

These attributes will be hidden in the next update. They will be only visible if your run your Homebridge instance in debug mode.

Can I close this issue? Or do you have more questions about the logs?
Btw if your AC supports lower temperature than 16°, you should set a lower value in the config as well.

Oh yes, feel free to close


Report email triggers even Condition fail

Sentinl and Kibana version 5.4.1

Issue description: We have a watcher with 2 actions i.e. email & report. Report action always trigger and sends mail even if "No results for current condition".

Reproducing the issue step-by-step: Define watcher with 2 actions i.e. email & Report

Expected results vs. actual results: Shouldn't trigger any action if condition is not met.

Hi @varun0002
You see a message like this, right?

It is not error. It is a warning. That's why the color is yellow.
It means that there is not enough data to satisfy condition payload.hits.total >= 1111110. And it is intended behavior.
The watcher is executed if fewer docs requested in the condition payload.hits.total >= 1

@sergibondarenko: Thanks for your response. The issue over here is that whether the condition is true or false, it trigger report action. Ideally, the report action shouldn't get trigger if condition returns false.
I looked at watcher.js and it appears Sentinl doesn't run condition & transform if action is report. I made fix in my local environment and will raise PR for this.

@varun0002 ahh, it is a report action, when you do a screenshot, right? A PR is welcomed.

@sergibondarenko: Raised PR # https://github.com/sirensolutions/sentinl/pull/342


@conda-forge-admin, please add bot automerge

@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/python-markdown-math-feedstock#6.


Unmarshalling issue

I wanted to compare this library with Sonic so I downloaded the Sonic benchmarks by cloning the library and adding sonnet into it.
The sonic benchmarks are here.
http://github.com/bytedance/sonic/generic_test
When running the benchmark I get a number of output differences which leads me to think there could be a problem.
It might be worth looking into.
--- FAIL: BenchmarkUnmarshalConcrete/CitmCatalog_Sonnet
benchmark_test.go:98: Sonnet Unmarshal output mismatch:
--- FAIL: BenchmarkUnmarshalConcrete/TwitterStatus_Sonnet
benchmark_test.go:98: Sonnet Unmarshal output mismatch:
got  &{[{{recent ja} Sun Aug 31 00:29:15 +0000 2014<PHONE_NUMBER>95815700<PHONE_NUMBER>95815681 @aym0566x

Thank you for the issue; working on it. My understanding is that there is an issue reusing slice and map elements, when the value is null.
since it doesn't overwrite the memory if it is, It put the decoded value from the previous line. I want to fix it within a day by SetZero-ing the elements as needed, but it will come with a performance decrease. I'll try to keep the speed the same if possible.
If you have an idea or other things, feel free to write that down here.

I believe this was fixed in the latest commit. cloned the repository and the benchmarks ran without mismatches. although this package might not be comparable to Sonic since Sonic uses unsafe and doesn't validate UTF-8, and other things like that.
If you prefer speed over platform compatibility and some minor details I said, then I recommend using that instead.
By the way, Thank you for reporting. Let me know if I can close this issue.

I think you can close it.  Thank you for your awesome work!


Fix the campaign run cron job

What's this PR do?
Updates the cron job that sets campaign status based on campaign run dates so that we do it based on the campaign's current run. Before, we were setting the status for every run in the system. But not all runs are current.
What are the relevant tickets?
Fixes #6105 (background info in that ticket)

:+1:


[Docs] Updated color picker hero images

Summary of the Pull Request
Updated images reflecting the recent UI changes and the new editor UX.

PR Checklist

[X] Applies to #8135
[ ] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Can we use an image which shows editor and picker. Think this would show the use case better.


Define code block in markdown instead of frontmatter

Currently code is defined in markdown frontmatter, which requires escaping and makes it impossible to see changes in the commit diffs. Look into using gatsby-remark-prismjs or see how it's done on https://github.com/gaearon/overreacted.io

We need to think about how this would work with the new JS/TS toggle (https://github.com/gragland/usehooks/pull/89), since that relies on having two separate code values in markdown frontmatter.

Hey @gragland,
I have a question, why not just using embed code editor from codesandbox?
I understand it's heavy, but the preview can be hidden under a button

Last time I checked the Codesandbox editor seemed to have a pretty high file size for what is needed, which was really just syntax highlighting. I think gatsby-remark-prismjs would probably make the most sense, which is what is used on https://github.com/gaearon/overreacted.io

Looks possible. I found a way to implement it, even with switching a language. I'll create a PR later today, but changing a language may look a bit hacky.

@gragland Enjoying your work!
Slightly unrelated, but seems like the code is manually synced with CodeSandbox instance? I'm the author of remark-codesandbox. Allow me to recommend using it to automatically generate CodeSandbox instance directly from your markdown file. No more manual sync with the CodeSandbox instance, also allowing contributors to send PRs to update the snippets and automatically update the CodeSandbox instances as well.
I'd be happy to send a PR, but maybe it's best to be done after #93 landed?

@kevin940726 Some of the earlier posts have CodeSandbox examples that are a bit different from the markdown code. Generally it's just more HTML structure and CSS so they look nicer, which isn't needed in the markdown code example, which I try to keep as short as possible. I'll consider this for the future though if it looks like I don't have the time to put extra effort into the CodeSandbox examples and it would just be easier to automate with your library.

@gragland You don't have to include those HTML/CSS in the markdown code block! You can create a separate template (let it be a CodeSandbox, or a directory in the file system) and only override the file desired from the code block.
I got it though! It's not the top priority for now :). Just want to let you know there's this option available if you need it, and potentially could be useful after #93.

@kevin940726 Gotcha! That's good to know. Definitely something I want to revisit.


chore: Pre-release Rust toolchain and pre-commit updates

Pre-Release Updates for Stackable Release 24.11

Part of https://github.com/stackabletech/issues/issues/647
Update pre-commit Workflow

[!NOTE]
The pre-commit config and workflows need to be kept up-to-date to ensure
usage of recent tooling versions. This requires some manual work in this
repository.

### Tasks
- [x] Update `python-version` in local and templated `pr_pre-commit.yml` workflow (Not applicable, continue to use 3.12)
- [x] Update hook refs in local and templated `.pre-commit-config.yaml` file
- [x] Update Hadolint version in the `config/versions.yaml` file (Already on latest: 2.12.0)
- [ ] https://github.com/stackabletech/operator-templating/pull/451

Update Rust Toolchain (1.81.0)

[!NOTE]
During a Stackable release we need to ensure that every product operator uses
the latest Rust toolchain (used by us). To keep the toolchain in sync across
all our operators, we update the version centrally in this repository.

### Tasks in this Repository
- [x] Update Rust toolchain in the `config/versions.yaml` file.
- [ ] https://github.com/stackabletech/operator-templating/pull/452
- [x] Generate downstream PRs using the ["Generate Downstream PRs"](https://github.com/stackabletech/operator-templating/actions/workflows/generate_prs.yml) action.
- [x] Merge downstream PRs, see below for more details.

Replace the items in the task lists below with the applicable Pull Requests

### Tasks in Downstream Operator Repositories
- [ ] https://github.com/stackabletech/airflow-operator/pull/521
- [ ] https://github.com/stackabletech/commons-operator/pull/291
- [ ] https://github.com/stackabletech/druid-operator/pull/639
- [ ] https://github.com/stackabletech/edc-operator/pull/131
- [ ] https://github.com/stackabletech/hbase-operator/pull/576
- [ ] https://github.com/stackabletech/hdfs-operator/pull/593
- [ ] https://github.com/stackabletech/hello-world-operator/pull/126
- [ ] https://github.com/stackabletech/hive-operator/pull/524
- [ ] https://github.com/stackabletech/kafka-operator/pull/774
- [ ] https://github.com/stackabletech/listener-operator/pull/239
- [ ] https://github.com/stackabletech/nifi-operator/pull/696
- [ ] https://github.com/stackabletech/opa-operator/pull/639
- [ ] https://github.com/stackabletech/secret-operator/pull/511
- [ ] https://github.com/stackabletech/spark-k8s-operator/pull/481
- [ ] https://github.com/stackabletech/superset-operator/pull/550
- [ ] https://github.com/stackabletech/trino-operator/pull/656
- [ ] https://github.com/stackabletech/zookeeper-operator/pull/873

Completed.


apple_set_os.efi stop worked

MacBookPro11,5
macOS Sierra 10.12.4
UEFI ver: MBP114.88Z.0172.B16.1702161608 date: 02/16/2017
Debian Stretch [4.9.0-2-amd64 #1 SMP Debian 4.9.13-1 (2017-02-27) x86_64 GNU/Linux]

gnu-efi 3.0.4-2
grub-efi 2.02~beta3-5
libefiboot1 30-1
libefivar1 30-1

Starting from macOS 10.12.4 (or if you have done macOS 10.12.3 reinstallation), Apple’s MBP firmwares are not compatible with 0xbb’s apple_set_os.efi due to a different version number.
discussion is here

Same here:
MacBookPro11,5
macOS Sierra 10.12.4
Stop working since I installed 10.12.4
It would be nice to bring the changes to GitHub... if the they are working. I don't know what is the fix exactly from the author of the thread on the link you sent.

@soundg33k Thanks for testing. I pushed a bugfix + published a new binary.


Android ModelViewer Crash On Quick Creation and Detach

Describe the bug
Filament's ModelViewer helper for Android will crash if you detach the connected view quickly after creation.
I narrowed this down to the engine destruction within the detach handler used in ModelViewer:
// In filament-android's ModelViewer.kt
    private fun addDetachListener(view: android.view.View) {
        view.addOnAttachStateChangeListener(object : android.view.View.OnAttachStateChangeListener {
            override fun onViewAttachedToWindow(v: android.view.View) {}
            override fun onViewDetachedFromWindow(v: android.view.View) {
                uiHelper.detach()
                ...
                // This is the line that ultimately causes the crash
                engine.destroy()
            }
        })
    }

To Reproduce
Steps to reproduce the behavior:

Initialize a ModelViewer with a SurfaceView in some Fragment that you can quickly destroy, such as a bottom sheet
Quickly destroy the Fragment (e.g. dismiss the bottom sheet)
Observe the crash below

Expected behavior
Creating and immediately removing the view associated with a ModelViewer should not crash.
 That's aligned with the suggestion from @romainguy in the first comment on that issue.
Ideally, immediate engine destruction shouldn't crash. Separate from a fix for that, the ModelViewer class should also fully allow the caller to control the lifecycle of the engine instead of trying to destroy it itself. Right now, you can pass in an engine but you effectively transfer lifecycle control of it to the ModelViewer after construction.

Tracked by issue #4724

@romainguy #4724 is 2+ years old and larger scope than is really needed to fix this issue. The key thing to fix here is that Filament should not crash if you quickly create and destroy an engine. Fixing this issue is a necessary but not sufficient condition to fix #4724. Fixing this would also let Android developers implement patches to fix #4724 on their own.

I can easily reproduce. Basically launch gltf_viewer and immediately press "back".

I'm currently shipping an experiment to roll Filament back to 1.36.0 in our app based on the comment in issue #7024  saying the crash is was introduced in version 1.38.0. Will update with results when I have them, if the rollback fixes the crash.

@JustinBis I'm confident I'll have a fix by tomorrow.


dialogflow

TypeError: BrowseCarouselItem is not a constructor
at Destination (/user_code/index.js:42:9)
at WebhookClient.handleRequest (/user_code/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:303:44)
at exports.dialogflowFirebaseFulfillment.functions.https.onRequest (/user_code/index.js:81:9)
at cloudFunction (/user_code/node_modules/firebase-functions/lib/providers/https.js:57:9)
at /var/tmp/worker/worker.js:724:7
at /var/tmp/worker/worker.js:707:11
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickDomainCallback (internal/process/next_tick.js:128:9)

Can you post the code you have that produced this error?

I don't get why this kind of issue isn't closed right away, what a waste of time to deal with.
People who think they have to be helped even without explaining anything, open source is not developer support dammit.

@Vadorequest Lol, and I don't get why @sarahdwyer even bothered to ask for code...
@kumaresan93 , BrowseCarouselItem is from actions-on-google, not from dialogflow-fulfillment.
Take a look at the source code here:
https://github.com/dialogflow/dialogflow-fulfillment-nodejs/tree/master/src/rich-responses
There's only generic Card objects you can use.


Moving Platform sprite jitteriness

Not sure why this is happening. Any suggestions? This also happens when doing just normal vertical movement.

Fixed by flooring the y position when drawing. Sorry!


import_from_git failing

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
fastlane failing when using import_from_git action. I am passing the https://github.com/fastlane/fastlane/tree/master/fastlane as url parameter. Happy to provide more information. The command I am running is just fastlane without any lane or action name.
Complete output when running fastlane, including the stack trace and command used
Captured Output
Command Used: ``
Output/Log

Successfully loaded Appfile at path '/Users/rtayal/Desktop/Personal/ReviewMonitor/fastlane/Appfile'
- app_identifier: 'io.rtayal.ReviewMonitor'
- apple_id<EMAIL_ADDRESS>- team_id: 'CEBY93VF85'
-------

Looking for related GitHub issues on fastlane/fastlane...
Search query: Exit status of command 'GIT_TERMINAL_PROMPT=0 git clone 'https://github.com/fastlane/fastlane/tree/master/fastlane' '/var/folders/36/ssh7kx297sz2smr6ll6zmj2wcv760y/T/fl_clone20170914-37710-6kn4zh/fastlane' --depth 1 -n ' was 128 instead of 0.
Cloning into '/var/folders/36/ssh7kx297sz2smr6ll6zmj2wcv760y/T/fl_clone20170914-37710-6kn4zh/fastlane'...
remote: Not Found
fatal: repository 'https://github.com/fastlane/fastlane/tree/master/fastlane/' not found

URL: https://api.github.com/search/issues?q=Exit%20status%20of%20command%20'GIT_TERMINAL_PROMPT=0%20git%20clone%20'https://github.com/fastlane/fastlane/tree/master/fastlane'%20'/var/folders/36/ssh7kx297sz2smr6ll6zmj2wcv760y/T/fl_clone20170914-37710-6kn4zh/fastlane'%20--depth%201%20-n%20'%20was%20128%20instead%20of%200.%0ACloning%20into%20'/var/folders/36/ssh7kx297sz2smr6ll6zmj2wcv760y/T/fl_clone20170914-37710-6kn4zh/fastlane'...%0Aremote:%20Not%20Found%0Afatal:%20repository%20'https://github.com/fastlane/fastlane/tree/master/fastlane/'%20not%20found%0A+repo:fastlane/fastlane

✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.6

Ruby
2.4.0

Bundler?
false

Git
git version 2.11.0 (Apple Git-81)

Installation Source
~/.rvm/gems/ruby-2.4.0/bin/fastlane

Host
Mac OS X 10.12.6 (16G29)

Ruby Lib Dir
~/.rvm/rubies/ruby-2.4.0/lib

OpenSSL Version
OpenSSL 1.1.0e  16 Feb 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
update_fastlane

default_platform :ios

ENV['DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS'] = '-t DAV'

  import_from_git(url: 'https://github.com/fastlane/fastlane/tree/master/fastlane')

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
    # ENV['DEVELOPER_DIR'] = '/Applications/Xcode old/Xcode-beta.app/Contents/Developer'
    cocoapods

  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    # match(type: "appstore") # more information: https://codesigning.guide
    gym # Build your app - more options available
    pilot
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

`./fastlane/Appfile`
app_identifier "io.rtayal.ReviewMonitor" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "CEBY93VF85" # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.56.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

executable-hooks
1.3.2

bundler-unload
1.0.2

rubygems-bundler
1.4.4

bundler
1.15.4

io-console
0.4.6

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.1

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

plist
3.3.0

multipart-post
2.0.0

word_wrap
1.0.0

public_suffix
2.0.5

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.1

json
2.1.0

excon
0.59.0

openssl
2.0.2

faraday
0.13.1

faraday_middleware
0.12.2

little-plugger
1.1.4

logging
2.2.2

jwt
1.5.6

memoist
0.16.0

os
0.9.6

signet
0.7.3

googleauth
0.5.3

uber
0.1.0

declarative-option
0.1.0

representable
3.0.4

mime-types-data
3.2016.0521

mime-types
3.1

httpclient
2.8.3

google-api-client
0.13.6

terminal-table
1.8.0

unicode-display_width
1.3.0

rdoc
5.0.0

addressable
2.5.2

multi_json
1.12.2

declarative
0.0.10

retriable
3.1.1

psych
2.2.2

generated on: 2017-09-14

Hey @RishabhTayal, I believe that the URL you are using is not a valid repo URL. Could you try to use https://github.com/fastlane/fastlane and see if that works? Thanks! 🐰

This works. Need to change this in the docs. I will update it and create a PR. 👍


I am looking for a range to CIDR function code So I can use this library

I have an ipfilter.dat and guardian.p2p list which I want to load into this library instance.
The format is something like the next: first math IP(v4/6) comma last match IP(V4/6) comma score integer comma description string
# This is a comment.  These ranges are blocked:
<IP_ADDRESS> , <IP_ADDRESS> , 100 , Some organization
<IP_ADDRESS> , <IP_ADDRESS> , 100 , Another organization

I have the library to parse these files into a Ranger which works fine.
However I want to be able to convert the ranges into CIDR and add them into the library.
The next example is being used to find the right CIDR match for IPv4:

https://play.golang.org/p/nJE2EPx88-

Is there any example out there for IPV6?

Found: https://github.com/EvilSuperstars/go-cidrman
They have a function: IPRangeToIPNets(first, last)


Is there an option for defining namespaces?

Is there a way to define namespaces in Flask Babel? Let's say I have the word "Submit" and I want two different translations for the word in different places, in the same language.

@mohammadaminalaee thanks for your report!
Babel was barely maintained for some time and we're some new people trying to get it up to speed again. Because of this it might take some time until we're able to adress this bug.

@mohammadaminalaee I think Babel itself doesn't support this. You can take a look at the flask_babel extension, which have a pgettext function which allow you to do just that: different translations based on context:
https://github.com/mitsuhiko/flask-babel/blob/master/flask_babel/__init__.py#L484
I don't know if it's a key responsibility of Babel itself to address such functionality.

Thank you guys for your answers. Can you provide an example of pgettext() please?

@mohammadaminalaee
If you're using flask_babel it's pretty straightforward:
from flask_babel import pgettext

pgettext('first-place', 'Submit')
pgtettext('another-place', 'Submit')

This will generate two entries for Submit text to be translated.
For a pure Babel approach, take a look in the NullTranslations.upgettext[1], which does pretty the same thing.
[1] https://github.com/mitsuhiko/babel/blob/master/babel/support.py#L436


Building confd on centos 7

Hey, i would like to package confd for centos 7, and later for fedora.
But i am not even able to build confd without the packaging stuff. running ./build gives this error:
[rpmbuild@localhost confd-0.9.0]$ ./build
Building confd...
can't load package: package github.com/kelseyhightower/confd: cannot find package "github.com/kelseyhightower/confd" in any of:
/usr/lib/golang/src/pkg/github.com/kelseyhightower/confd (from $GOROOT)
/home/rpmbuild/tmp/confd-0.9.0/Godeps/_workspace/src/github.com/kelseyhightower/confd (from $GOPATH)
godep: go exit status 1
any ideas?

You have to clone confd at $GOPATH/src/github.com/kelseyhightower/confd.

thank you, it is compiling now, but why is it that i have to put it in this path? why cant i  just extract the source release tgz and compile?

@schlitzered It's a golang thing when using the default build tools. Many people set a custom GOPATH in their build scripts, but this is something I have avoided.

I'm closing this issue since this is a common build pattern in the Golang community. I'm happy to accept PRs against the docs to make it more clear how to build confd.


First steps towards 2.0

This is blocked by https://github.com/Opifer/RulesEngine/pull/4.

Closing in favour of https://github.com/Opifer/ExpressionEngine.


fix: support Node.js v17

@surma I don't link pinging, sorry, but we really need that

Closes #1184


Rename period things

#70 はbase branchミスってたので…

related #56, #68
TODO
Phase 1: Period → PeriodTime

[x] rename table
[x] rename class name, factory names and file names

[x] model
[x] spec
[x] factory
[x] decorator

[x] fix failure specs

Phase 2: WdayPeriod → Period

[x] rename table
[x] rename class name, factory names and file names

[x] model
[x] spec
[x] factory

[x] fix failure specs

Coverage remained the same at 96.09% when pulling 3154982ec54f4e8815556a86d7e054ef541d81d1 on rename-period-things into 77d5f379f0062effe9685533a8080bdc2c38827c on restructure-rescheduling-things.

マージします:+1:

thx :exclamation:


[Feature Request] Handling optional parts in date format

Hello,
I think It could be a nice feature to handle optional parts in date format with []
For example in my case, I can have DateTime with second fractions or not (it's adaptive).
Actually, I need to perform a Substr :
FromDateTime(Substr(JSONPATH(payload, '$.created_at'), 0, 18), 'yyyy-MM-dd''T''HH:mm:ss')

But It could be handled like that :
FromDateTime(JSONPATH(payload, '$.created_at'), 'yyyy-MM-dd''T''HH:mm:ss[.SSS]''Z''')

It's already provided by Java 8 and DateTimeFormatter, in documentation we have :
   [       optional section start
   ]       optional section end

We don't support it right now because we are using joda library and haven't moved to java library for performance reason. Seems the author of joda is also recommending switching to java library, and this is another motivation for us to switch. @richardstartin how much performance difference do you observe between joda and java date time format?

From my benchmarks, java time seems 20-30% slower than Joda time.
Benchmark                                  Mode  Cnt     Score     Error  Units
BenchmarkJoda.benchmarkJavaTime            avgt    5  6077.279 ± 282.175  us/op
BenchmarkJoda.benchmarkJavaTimePerCompute  avgt    5  6055.735 ± 254.637  us/op
BenchmarkJoda.benchmarkJoda                avgt    5  4671.964 ±  93.222  us/op

Code - https://gist.github.com/KKcorps/19b6b093bfa15b7d62b27db0b8012e51

@KKcorps Thanks for the benchmark! Can we also add a benchmark for parsing the formatted timestamp to long?

Benchmark                                                                      Mode  Cnt     Score      Error        Units
BenchmarkJoda.benchmarkJavaDateStringToEpoch  avgt    5  9241.257 ± 1233.009  us/op
BenchmarkJoda.benchmarkJodaStringToEpoch         avgt    5  7330.508 ±  399.998  us/op

Updated the gist with code for this as well. Joda is faster in both cases

The above benchmarks were for Java 11. For Java 17, they seem much closer
Benchmark                                     Mode  Cnt     Score      Error  Units
BenchmarkJoda.benchmarkJavaTime               avgt    5  4986.148 ±  551.520  us/op
BenchmarkJoda.benchmarkJavaTimePreCompute     avgt    5  4075.269 ±  691.534  us/op
BenchmarkJoda.benchmarkJoda                   avgt    5  3719.916 ±  319.401  us/op

BenchmarkJoda.benchmarkJavaDateStringToEpoch  avgt    5  6362.567 ± 1251.276  us/op
BenchmarkJoda.benchmarkJodaStringToEpoch      avgt    5  9887.073 ± 1456.975  us/op

Cool! Since the difference is not big, I think we should start migrating to java library

The decision requires a little more due diligence than that ;) I have seen much larger differences in favour of Joda recently, and the bit directly above those results which says "REMEMBER: The numbers below are just data. To gain reusable insights, you need to follow up on why the numbers are the way they are." has been omitted.

Case in point, I found that Joda was 6x faster than Java time for year conversion here: https://github.com/apache/pinot/pull/8397#issuecomment-1077589112
There has been some progress in java.time recently:

https://github.com/openjdk/jdk/pull/7957
https://github.com/openjdk/jdk/pull/7989
https://github.com/openjdk/jdk/pull/7990
https://github.com/openjdk/jdk/pull/8014
https://github.com/openjdk/jdk/pull/8039
https://github.com/openjdk/jdk/pull/8056

Some of these improvements will be backported to JDK17, so we should reassess once Pinot can run on JDK17.


Need a reference Y35BCL.elf for QEMU testing

For QEMU testing, it would be great if there was a public reference image to test against, so that people don't have to build images themselves. I built an image and created a release in my fork, if you just add this to the release assets for the 2022.13.01 release I think it would be more official than linking to my forked repo.
https://github.com/peterdelevoryas/OpenBIC/releases/tag/oby35-cl-2022.13.01
Output from upstream qemu:
$ ./build/qemu-system-arm -machine ast1030-evb -kernel Y35BCL.elf -serial mon:stdio -display none
[00:00:00.004,000] <inf> usb_dc_aspeed: select ep[0x81] as IN endpoint
[00:00:00.005,000] <inf> usb_dc_aspeed: select ep[0x82] as IN endpoint
[00:00:00.005,000] <wrn> usb_dc_aspeed: pre-selected ep[0x1] as IN endpoint
[00:00:00.005,000] <wrn> usb_dc_aspeed: pre-selected ep[0x2] as IN endpoint
[00:00:00.005,000] <inf> usb_dc_aspeed: select ep[0x3] as OUT endpoint
*** Booting Zephyr OS build v00.01.04  ***
Hello, wellcome to yv35 craterlake 2022.13.1

uart:~$ Failed to read expansion present from CPLD
I2C 0 master write retry reach max
Failed to set class type to CPLD)
Failed to read board ID from CPLD
BIC class type(class-1), 1ou present status(0), 2ou present status(0), board revision(0xf)
Not found change threshold sensor
Not found change threshold sensor
Not found change threshold sensor
Not found change threshold sensor
Not found change threshold sensor
Not found change threshold sensor
Not found change threshold sensor

Also need a Y35BBB.elf too, if we want to include a baseboard machine type. https://github.com/peterdelevoryas/OpenBIC/releases/tag/oby35-bb-2022.13.01

@GoldenBug


add test locations to PHPCS config file

Hey @mvriel,
we made a few upgrades on our PHPCS activity. Instead of specifying the test locations in the continuousphp pipeline, you can now simply add it to the phpcs.xml file. To not break any future builds, the old way is still supported.
If you decide to accept this PR, simply replace the 3 Paths in the pipeline config by one single path "phpcs.xml".
Check out my latest build with the new PHPCS config :)
https://continuousphp.com/git-hub/ppaulis/phpDocumentor2/build/0b2a996f-f3a2-4854-9f9c-c1f3e7913be4/output

Hey @ppaulis,
Thanks for this! I am now upgrading our build process and this is very convenient (didn't know it existed).


[Ripple] Test unmount defuses timer

Added a timerDuration prop that should not be changed, but is required for testing

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

I'm closing for #6434.

Thanks for bootstrapping!


Oscillation Study (2/3): Pisa integration

This is the second of three PR's brining oscillation functionality to the repo.
This PR brings PISA to GraphNeT.

It creates a new folder named src/graphnet/pisa .
In src/graphnet/pisa/utils.py is all the functionality required to turn track/cascade, zenith and energy reconstructions from a InSQLitePipeline into either 1D or 2D oscillation contours.
In src/graphnet/pisa/resources is a lot of stuff that PISA needs locally to run.
I've added a preliminary "standard configuration" of PISA with respect to binning and minimizer settings as these things are non-trivial.
I've made it possible to overwrite the standard configuration on minimizer and bin settings.
I've added an example script on usage
Code is tested and works.

edit: removed typo in paths. Before it wrongly said src/grahnet  instead of  src/graphnet

Merging icecube:main into the feature branch should resolve the problem regarding the automatic build jobs.

@asogaard done

:scream:

@asogaard - I know the PR looks massive but its really not. 99.9% of the new code is just the pisa resources that I have nothing to do with. My own contribution is in src/graphnet/pisa/utils.py. Ignore everything in /resources

Have you considered adding PISA as a requirement in the setup.py file, just installing it as any other package, and then referring to the resources in that package by setting the $PISA_RESOURCES environment variable?

Hey, cannot say anything about the PISA_RESOURCES, but I used something like this once and I believe it might work:
Adding pisa as @asogaard proposed as a pip dependency
install_requires=[
    ...
    'pisa @ git+https://github.com/icecube/pisa.git'
    ...
]

I'd advise to put a version fix in there, by referring the url to a git tag/branch/commit...

@asogaard removed redundant files. I tried to fix this dumb merge conflict, but I can't figure it out. Can you help?

Sure, let's fix this today!

@asogaard ping

On it!

Hi @RasmusOrsoe,
Thanks for the recent changes! I think these are a good improvement. I see that there are still a number of unresolved comments, so I will leave it for you to ping me when you feel like this PR is ready for a continued review. :)

@asogaard  ready for you


Authentication Events Changelog update

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

/check-enforcer override


[HIDDEN] Make sure the Hidden can be toggeled through CMake options.

https://jenkins.code.rdkcentral.com/job/github-triggered/2042/ started


[Feature Request] Update to borderRadius API

I'd like to implement a short hand that represents more closely to a CSS API.
e.g. instead of specifying a side, it would just map the values as expected.
the short hand spec is as follows:
https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius

@lifeiscontent Certainly open to adding an alternative API as a starting point. Our policy is at least one major version's worth of notice before deprecating or introducing an API change, so we would need to keep the existing API in place as well.

@bhough cool, for the values that can be a group of 2 e.g. 1em/5em I'm thinking we could do something like [em(1),em(5)] what do you think?


summary IRT repo's DATA/result

https://www.dropbox.com/scl/fi/5nbhanxubkzo6772c0txr/231231_.xlsx?rlkey=fwkf2omm5pyw6y5idv8iio286&dl=0

The general form of implement IRT starts from "Item-Response Matrix" which has 2 dimension with item row and response column.
Try Vibo and girth package for running on IRM(acronym of Item-Response Matrix).

[ ] IRM on Vibo
[ ] IRM on girth

girth: dataset matrix has same shape what I expect:
Ref


[1.9.4] Drops Issues Master Ticket

This serves as the master issue for the various drops issue so that information is consolidated. All related issues will be closed for this one.

[ ] Dropping items directly from inventory is broke if you are in creative mode. @gabizou this screams bad merge of blood's re-written creative inventory action logic
[ ] Entity death drops get no velocity applied. They are dropping (which is good!) but they are just placed on the ground.
[ ] Pressing Q over a hovered item in the inventory doesn't drop it. It simply deletes it.

@LuxusDarkangel Merged your findings into here.

Dropping items directly from inventory is broke if you are in creative mode. @gabizou this screams bad merge of blood's re-written creative inventory action logic

So, further testing, Vanilla will drop items if you drop them out of the window, but pressing Q to drop an item from the slot inventory while in creative will delete the item. Which is it that is broken exactly? I'm guessing that the first is broken, but the second is something I should disagree in fixing.

@gabizou I disagree, if pressing Q deletes the item it should be fixed.

@gabizou @kashike
If Vanilla singleplayer behaves as @gabizou describes for the latter point, we will not be changing that functionality.

Fixed in https://github.com/SpongePowered/SpongeCommon/commit/05f91e9e5819846e07d951763e1293a194056586


FALCON-1858: Support HBase as a storage backend for Falcon Titan graphDB

This patch provides the following features

Ability to build Falcon with storage backend plugins without the artifacts (hbase and bdb).
Ability to package a standalone HBase if desired
Backport of Titan 1.0 Hbase 1.0 storage backend into Titan 0.5.4 (shaded classes - mostly similar to Apache Atlas usage of the same) (most of the addons/titan codebase)
Default build profile is with bdb backend with bdb artifacts also included in the build.

Tested the HBase backend with 1.1.5 and 1.2.1 Hbase environments.   Ran test-patch successfully with enabling/disabling of bdb db artifacts and also with all potential addons enabled

@vrangan  I have done review of the pull request. On revieweing I found that docs, how to build the Falcon with hbase or with berkley profile to use it as a storage backend, is not available.

When I have used the patch from this pull request , Falcon build is proper. But when I am trying to start the Falcon server it is not starting on standalone machine.

Discussed with @peeyushb  - we have one hbase property enabled by default in startup.properties.   That requires standalone hbase with default properties (as the other hbase related properties are commented out).  So, as per comment in the properties we will comment all the graphdb related properties and users will have to uncomment one or the other backend.
Note that hadoop installer can make this automatic without users needing to do it.

Made a change after discussion with @peeyushb.   Will follow up with a documentation JIRA to augment how to standup a hbase standalone mode cluster

Patch looks good. +1

+1

I will commit this patch soon, if no further comments.


Added a "Back To Top" Button

Motivation
For longer README files, users may need to scroll through multiple sections to find specific information. A "Back to Top" button provides a quick way to return to the top, saving time and effort. It allows users to navigate the document efficiently without having to manually scroll up, particularly when using smaller screens or mobile devices.
Modifications
Added a Back to Top Button in the end of the readme file.
Checklist

[x] Format your code according to the Contributor Guide.
[x] Add unit tests as outlined in the Contributor Guide.
[x] Update documentation as needed, including docstrings or example tutorials.

Now I think It will be fine.


Disable hover in editor

VSCode Version: 1.9.0
OS Version: macOS 10.12.2

Steps to Reproduce:

Write a function
Reference it somewhere
Mouse-Hover the function pops up a little box with informations

Just as described in https://code.visualstudio.com/docs/editor/editingevolved#_hover
Is there a way to disable it or at least set a delay?
I find myself in many situations where this just blocks my view.

Unofficial (hence the squiggle you'll get), but here goes: "editor.hover": false

Works quite well, thank you!
Its not that the hover-informations are bad, they just pop up everywhere :)
I would suggest to add a delay-option to keep the popup-rate low.

It isn't user configurable, the delays is hard-coded to 300ms.
https://github.com/Microsoft/vscode/blob/master/src/vs/editor/contrib/hover/browser/hoverOperation.ts#L51

Incredible. I was just looking for this. The HTML and CSS hovers are way too verbose. I've been working with CSS for a while, I know what background does :smile:
What would be better is if the popups could be triggered by some other, more intentional means, such as a keyboard shortcut. I'd hazard a guess that 95% of the time, the user wants information provided by the popup after actively deciding to find it. The hover action does not convey this degree of intention.

At least on linux it is ctrl+k ctrl+i. Look for F1 > Show Hover

Brilliant :+1: Thank you.

I get an error-message when doing so:
Cannot read property 'startShowingAt' of undefined

@misantronic Confirmed. Reloading the window does not resolve the issue.

@misantronic @WoodyWoodsta ctrl+k ctrl+i works for me:
I position the cursor at the position I'm interested in and press ctrl+k crtl+i on windows:

Perhaps there's something more to it? (to get Cannot read property 'startShowingAt' of undefined ?

After looking around, it appears that the keybind works after setting editor.hover to false but only up until you reload the window. After reloading the window, the error shows. Setting editor.hover back to true only reflects when reloading the window again.

In my opinion, editor hovers could benefit from having more configuration. For example, hovers on linter errors are incredibly helpful (required, in fact, unless you want to keep opening the errors pane), but html tag info: not so much. Typescript-like info in a normal Javascript file is also a question mark in my mind. It is unfortunate that it is an all-or-nothing choice (and an unofficial one too). I am unsure of the mechanism behind hovers, but if this is something worth discussing further, then should a new issue be opened?

@alexandrudima I am on mac and supossed to press ctrl + J. Whenever I do set the error-message pops up. Might be a mac issue?
@WoodyWoodsta I totally agree on that.
I use flow a lot and hovering is really helpful in those cases. but most of the time - I dont need the popups.

I use flow a lot and hovering is really helpful in those cases. but most of the time - I dont need the popups.

I'm in the same boat, any solution to this? I also get Cannot read property 'startShowingAt' of undefined

See #32786

"editor.hover": false doesn't work anymore. I really wish it did. These menus flying all over the place are super annoying and always cause problems with selecting text on the line above.

This is super annoying. "editor.hover": false, does work and requires a restart of VS Code, but it also disables ES Lint. I can't stand it and I can't live without it :(

@amackintosh Problems can also be viewed in the problems panel (View > Problems) or in the editor via F8/Shift-F8

Thanks, but that is not efficient. I want every tool tip except this one:

The fastest possible solution would be to increase the hover time to like 500ms, because it comes up pretty much instantly and prevents selecting text that is above the text that the mouse passes through.

@amackintosh The last screenshot is of parameter hints. editor.parameterHints: false. As for the type information hover, perhaps @mjbvz can transmit or capture the feedback to the TS team that the type information becomes useless in JavaScript when the type requires more than 100 chars to convey (i.e. is very complex or "not-nameable").

Yes we have a few issues tracking improving display of complex types:

https://github.com/Microsoft/TypeScript/issues/1510
https://github.com/Microsoft/TypeScript/issues/13095
https://github.com/Microsoft/TypeScript/issues/8134


Return HTTP error code when GraphQL returns errors

Done by switching on https://github.com/aya-experience/hapi-graphql
We choose to fork as the maintainer seems to have abandoned his project.


Fix #345; restrict undo/redo to currentPlayer

I tried to fix #345 (but I'm not very confident that this PR correctly fixes it. Please give me any feedback.)
related to https://github.com/nicolodavis/boardgame.io/pull/400#issuecomment-495854120
Checklist

[x] Use a separate branch in your local repo (not master).
[x] Test coverage is 100% (or you have a story for why it's ok).

@nicolodavis Thank you for reviewing this. I fixed them.
Currently undo test in src/client/react-native.test.js is failing. I found that playerID in the payload is null at reducer, but I haven't understand very much around this code so it's a bit hard to fix it..

Ah, that's because in the singleplayer mode the client doesn't send a playerID as part of the actions.

I'll take a look and see if I can either:

Make the singleplayer start sending playerID.
OR
Fix the tests based on the assumption that it will be null sometimes.

@nicolodavis Thank you for fixing this! Sorry for my unfinished work 🙇

No problem! After looking at it some more, I realized that it's simpler to guard the undo / redo logic in master.js instead, so simplified the code a bit.


Replace git+git instructions

https://github.com/googleapis/google-cloud-cpp/blob/c9cd27080e26c857dc0ea1c43af51d16fa860e3d/doc/contributor/howto-guide-setup-development-workstation.md#L106
This is discouraged and will stop working anyway.

Hey, long time no see.  Thanks for the heads up, I need to update this code for other reasons anyway.


Remove redundant IP test calls.

They are not necessary: no-ip includes this feature in their API. And if each GET_IP_URL fails, the loop does not terminate and spins on itself, fast.
Fixes #5

I like the idea, but I feel like I had a reason for keeping independent IP resolution in place. Let me think on this for a day. Thank you for the contribution.

Ok, it's not quite been a day, but this is a fine approach. I don't see how any external resolver could do a better job than no-ip in determining your IP; plus this speeds up the operation by reducing the network requests from 2 to 1.
Since variable NEWIP is no longer defined and log last_ip is redundant to the full log, could you round out this pull request by removing usage of NEWIP and IPFILE?

Coming right up!

That will work. I appreciate the commit!


Missing references to size() method in SmallVector code

https://sourcegraph.com/github.com/llvm/llvm-project@39a0677/-/blob/llvm/include/llvm/ADT/SmallVector.h?L183

The problem is coming up due to this pattern:
template <typename T>
struct Q0 {
  void f() {}
};

template <typename T>
struct Q1: Q0<T> {
  using Base = Q0<T>;
  using Base::f;

  void g() { f(); }
};

Here, the call to lookupDependentName returns an UnresolvedUsingValueDecl, whereas we're expecting a fully resolved declaration. The symbol formatter doesn't yet support emitting a symbol name for such declarations.
I don't fully understand the name lookup rules/clang API surface to tell if it's possible to get a fully resolved declaration at this point consistently and easily. Need to dig into this more.

It looks like this can be handled properly using Clangd's HeuristicResolver code. Unfortunately, there is no Bazel target exposing that header, and the API perhaps needs a bit of tweaking (we should maybe use one of the private methods on that type, because when we have an UnresolvedMemberExpr, we don't have access toan UnresolvedUsingValueDecl right away, and doing two calls to lookupDependentName seems like the wrong thing to do...).
Maybe we can port a subset of the code as-needed.


A new game: Pacman

Describe the project you want to add with tech stack
I want to contribute Pacman game with two ghosts and one player.
Expected behavior
Pac-Man is one of the most iconic video games of all time, and most people (even non-gamers) have at least a passing familiarity with it. The purpose of the game is very simple — the player is placed in a maze filled with food (depicted as pellets or dots) and needs to eat all of it to advance to the next level. This task is made difficult by four ghosts that pursue Pac-Man through the maze. If Pac-Man makes contact with any of the ghosts, the player loses a life and the positions of Pac-Man and the ghosts are reset back to their starting locations.


wasm32-wasi support

[ ] make sure we do not assume windows == not-unix anywhere (there is 1 place)
[ ] rayon seems to trigger a problem, would be good to discuss with upstream about it

Caused by:
    0: failed to invoke `_start`
    1: wasm trap: uninitialized element, source location: @26b945
       wasm backtrace:
         0: <unknown>!core::ptr::real_drop_in_place::hb0d9b098ae4bc145
         1: <unknown>!core::ptr::real_drop_in_place::hebc59f6913ef6ca6
         2: <unknown>!core::ptr::real_drop_in_place::head970a8dd2a44ff
         3: <unknown>!alloc::sync::Arc<T>::drop_slow::h8a46e26aa0cd81f6
         4: <unknown>!<alloc::sync::Arc<T> as core::ops::drop::Drop>::drop::hff57282b6cd92f3e
         5: <unknown>!core::ptr::real_drop_in_place::ha39a558098665b6a
         6: <unknown>!rayon_core::registry::Registry::new::h125054b737a008ce
         7: <unknown>!rayon_core::thread_pool::ThreadPool::build::h3598cd048db3cacd
         8: <unknown>!rayon_core::ThreadPoolBuilder<S>::build::h2e0b6846bbe55d7d
         9: <unknown>!rav1e::api::config::Config::new_context::hdf1b2152c898c9f0
         10: <unknown>!rav1e::do_encode::ha3e9c68e7779f19d
         11: <unknown>!rav1e::run::hed58f886dc03141b
         12: <unknown>!rav1e::main::h03302ef0cebaa729
         13: <unknown>!std::rt::lang_start::{{closure}}::h328c22cdbaad5769
         14: <unknown>!std::sys_common::backtrace::__rust_begin_short_backtrace::h9a086315f308a9f7
         15: <unknown>!std::panicking::try::do_call::hba2245c23b34bfc8
         16: <unknown>!__rust_maybe_catch_panic
         17: <unknown>!std::rt::lang_start_internal::hb21784bb01c7c753
         18: <unknown>!std::rt::lang_start::h347a9395ac7fb117
         19: <unknown>!__original_main
         20: <unknown>!_start

[ ] the PlaneData abstraction seems problematic

    1: wasm trap: out of bounds memory access, source location: @cffb8
       wasm backtrace:
         0: <unknown>!rav1e::frame::plane::PlaneData<T>::new::h1ca77c7d91a03dda
         1: <unknown>!rav1e::frame::plane::Plane<T>::new::h7e88a789bfecb46d
         2: <unknown>!rav1e::frame::Frame<T>::new::hefac93275ca17232
         3: <unknown>!rav1e::decoder::y4m::<impl rav1e::decoder::Decoder for y4m::Decoder<alloc::boxed::Box<dyn std::io::Read>>>::read_frame::{{closure}}::ha8e01b51775efeab
         4: <unknown>!core::result::Result<T,E>::map::he8de03c71321ffcb
         5: <unknown>!rav1e::decoder::y4m::<impl rav1e::decoder::Decoder for y4m::Decoder<alloc::boxed::Box<dyn std::io::Read>>>::read_frame::h997873510ff3a8f5
         6: <unknown>!rav1e::Source<D>::read_frame::h3ff2d8cbabfbcbb5
         7: <unknown>!rav1e::process_frame::hd9fab97d77407488
         8: <unknown>!rav1e::do_encode::ha3e9c68e7779f19d
         9: <unknown>!rav1e::run::hed58f886dc03141b
         10: <unknown>!rav1e::main::h03302ef0cebaa729
         11: <unknown>!std::rt::lang_start::{{closure}}::h328c22cdbaad5769
         12: <unknown>!std::sys_common::backtrace::__rust_begin_short_backtrace::h9a086315f308a9f7
         13: <unknown>!std::panicking::try::do_call::hba2245c23b34bfc8
         14: <unknown>!__rust_maybe_catch_panic
         15: <unknown>!std::rt::lang_start_internal::hb21784bb01c7c753
         16: <unknown>!std::rt::lang_start::h347a9395ac7fb117
         17: <unknown>!__original_main
         18: <unknown>!_start

https://github.com/xiph/rav1e/pull/2154 is the PoC branch for now.

I managed to no-op rayon and workaround the plane allocation by reducing the alignment to the currently supported one.

0.3 has a minimal wasi support.


Fix using deprecated Gradle methods

Unfortunately, these changes still don't work with Gradle 8, the configuration cache multiplatform tests fail due to https://youtrack.jetbrains.com/issue/KT-55051/MetadataDependencyTransformationTask-is-not-compatible-with-Gradle-configuration-cache

Hmm still broken. Weird.

Yes, this is expected due using Gradle 8. I use the renovate Gradle 8 branch as its base and its target branch, because this update needs manually changes (this PR). But even with these changes the linked KGP issue cause the build to fail, because Gradle 8 updates the warning to error.
Do you want to merge it into main? If so I'll remove the Gradle upgrade.

Oh yeah sorry that's the revert I meant. We can land the other changes in the mean time.

Welcome to Gradle 8.0.2!

Why does the CI use Gradle 8.0.2?... https://github.com/hfhbd/licensee/blob/ce3646243839218a6e72937a3e21a3ac4902f255/gradle/wrapper/gradle-wrapper.properties#L3 weird

Very weird. New PR fixed it.


Using OFA for visual grounding

Hello, I saw, that there is a demo on a huggingface, I could enter description of an object and get it's box on the image. Can I use model in code for my datasets? Is it possible to use model for this task from huggingface framework? Can I finetune OFA on my dataset for this task? I read the description of this repository, but didn't find about this task, maybe I missed it.

Check here for the instruction:)

@JustinLin610 thank you, I missed it. But still, it is possible to use my own datasets? Should I just make them in the format like refcoco? And if I use wy dataset, which of the scripts for finetuning should I run?

Yes. What you need to do is to format your data as refcoco, and still use the script for refcoco. This should be fine.

This is an example of data from the readme. What is the order of coordinates here? Is it x0 (left), y0 (bottom), x1 (right), y1 (top)?
79_1    237367  A woman in a white blouse holding a glass of wine.  230.79,121.75,423.66,463.06 9j/4AAQ...1pAz/9k=

After evaluation, it seems that correct order actually was: x0 (left), y0 (top), x1 (right), y1 (bottom).


removed the code allowing to switch to the new dir structure

:+1:

ScriptHandler::removeSymfonyStandardFiles was forgotten, see #853


It's not clear where to enable Analysers

The documentation says

You can enable code analysis on projects that target earlier .NET versions by setting the EnableNETAnalyzers property to true. You can also disable code analysis for your project by setting EnableNETAnalyzers to false.

It doesn't say WHERE you find this setting

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

ID: 04393392-f11e-4825-2d02-ba41e6c6d882
Version Independent ID: c86598c1-1363-d11b-df15-ca32bf970de5
Content: Enable or install first-party .NET analyzers - Visual Studio
Content Source: docs/code-quality/install-net-analyzers.md
Product: visual-studio-windows
Technology: vs-ide-code-analysis
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@tinonetic -- thank you for your feedback.  Please see this article:

MSBuild reference for .NET SDK projects

Here are some additional resources:

Visual Studio on Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit

I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.

Thank-you

It seems best if EnableNETAnalyzers is a link to the MSBuild doc to avoid confusion, since we are talking about enabling and disabling the analyzers. I'll add the link.

Fix should go live in a day or two.


fix: sign out if wallet is switched

Whenever user does a wallet switch he needs to be logged out immediately. This is not what's happening as of now.

Here are some thoughts on github issues from wagmi:

example 1
example 2

Functionality is working well 👍


Backup Gnome Tweaks configurations

See e.g. https://askubuntu.com/a/1056392

Instead of full backup, relevant GNOME settings can be replicated via make gnome. This was implemented in 5834aee78926af651aa38708b1efe6830a2e2475 and 6ff2af66aba1f5a46cde637e31f052ab3534c9c2.


Get more accurate restart reason information

From here, the MCUSR register can give us more information on the cause of reset. That might be for a different AVR model but it should be similar for ours.

commit c0df728246ff20eae43225f29513bac6aca4ad82 on branch more-restart-reasons
above needs testing


Support @napi-rs/canvas?

Can we support @napi-rs/canvas? It 0 System dependencies!
https://www.npmjs.com/package/@napi-rs/canvas

Great suggestion! I'd wait until this is out of prerelease.

Hi @bigtimebuddy ,
Seems there is another option as below, FYI
https://github.com/samizdatco/skia-canvas


0.5.3 release

@hyperlink I think I'm still getting the FailedToRebalanceConsumerError: Exception: NODE_EXISTS[-110] upon restart.
Will confirm.

I will take a stab at fixing it if I can reproduce it.  A few seconds after the new ones start, some of them fail to rebalance.
(Note: I'm trying to avoid non-graceful shutdown but Elastic Beanstalk doesn't play very nice)

That error means there's a zookeeper node already there. But I am not sure which node it's talking about.
So when you instantiate your consumer are you providing an id to the consumer or omitting it? Omitting the id will allow the module to generate one based on your groupId + uuid. This is what we do with our consumers and we're not seeing this issue.

If I do this, it will restart from offset 0 when your consumer starts, no?
Or do you fetch the latest offsets first and start from there?

offsets are saved based on the group topic and partition so it should be safe.


use 'raw.githubusercontent.com' in one-liner

The old one-liner is not working now because The domain 'zplug.sh' has expired.
This pull request fix one-liner URL.

Fix for #394 and #403

I'm planning to revive that domain. This is a temporary fix. Anyway, thanks


[Feature]: Improve the Installation section for each components

Describe the feature
Currently in  https://www.shadcn-vue.com/docs/components/avatar.html#installation only shows the CLI installation, however some components has more steps to that. eg Accordion.
Let's update all the Installation section for components 😁
Additional information

[ ] I intend to submit a PR for this feature.
[ ] I have already implemented and/or tested this feature.

in vite+vue project, when run npx shadn-vue@latest add xxx, just add ui dir to /components/ui not included lib dir

what's that means? like Accordion, manual installation is use import { AccordionRoot, AccordionContent, AccordionItem, AccordionTrigger } from'radix-vue' is there any other thing need to be done?

@CooperHash some components has more steps than CLI install.
https://ui.shadcn.com/docs/components/accordion#installation


StopIteration Error

Thanks for your reply about the dataset in the former issue!
After I fine-tune the SIIM-ACR Pneumothorax segmentation task with pre-trained model weights and run ft.sh with mmsegmentation, the following error is reported:
Traceback (most recent call last):
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 34, in __next__
    data = next(self.iter_loader)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 517, in __next__
    data = self._next_data()
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1172, in _next_data
    raise StopIteration
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "tools/train.py", line 242, in <module>
    main()
  File "tools/train.py", line 231, in main
    train_segmentor(
  File "/home/wentaochen/mmsegmentation/mmseg/apis/train.py", line 194, in train_segmentor
    runner.run(data_loaders, cfg.workflow)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 144, in run
    iter_runner(iter_loaders[i], **kwargs)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 61, in train
    data_batch = next(data_loader)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 41, in __next__
    data = next(self.iter_loader)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 517, in __next__
    data = self._next_data()
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1172, in _next_data
    raise StopIteration
StopIteration
Traceback (most recent call last):
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 34, in __next__
    data = next(self.iter_loader)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 517, in __next__
    data = self._next_data()
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1172, in _next_data
    raise StopIteration
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "tools/train.py", line 242, in <module>
    main()
  File "tools/train.py", line 231, in main
    train_segmentor(
  File "/home/wentaochen/mmsegmentation/mmseg/apis/train.py", line 194, in train_segmentor
    runner.run(data_loaders, cfg.workflow)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 144, in run
    iter_runner(iter_loaders[i], **kwargs)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 61, in train
    data_batch = next(data_loader)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 41, in __next__
    data = next(self.iter_loader)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 517, in __next__
    data = self._next_data()
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1172, in _next_data
    raise StopIteration
StopIteration
Traceback (most recent call last):
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 34, in __next__
    data = next(self.iter_loader)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 517, in __next__
    data = self._next_data()
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1172, in _next_data
    raise StopIteration
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "tools/train.py", line 242, in <module>
    main()
  File "tools/train.py", line 231, in main
    train_segmentor(
  File "/home/wentaochen/mmsegmentation/mmseg/apis/train.py", line 194, in train_segmentor
    runner.run(data_loaders, cfg.workflow)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 144, in run
    iter_runner(iter_loaders[i], **kwargs)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 61, in train
    data_batch = next(data_loader)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 41, in __next__
    data = next(self.iter_loader)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 517, in __next__
    data = self._next_data()
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1172, in _next_data
    raise StopIteration
StopIteration
Traceback (most recent call last):
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 34, in __next__
    data = next(self.iter_loader)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 517, in __next__
    data = self._next_data()
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1172, in _next_data
    raise StopIteration
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "tools/train.py", line 242, in <module>
    main()
  File "tools/train.py", line 231, in main
    train_segmentor(
  File "/home/wentaochen/mmsegmentation/mmseg/apis/train.py", line 194, in train_segmentor
    runner.run(data_loaders, cfg.workflow)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 144, in run
    iter_runner(iter_loaders[i], **kwargs)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 61, in train
    data_batch = next(data_loader)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 41, in __next__
    data = next(self.iter_loader)
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 517, in __next__
    data = self._next_data()
  File "/home/wentaochen/anaconda3/envs/MRM/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1172, in _next_data
    raise StopIteration
StopIteration

Hope you can give me some advice! Thank you very much!

I have the same problem, have you solved it?

I had the same problem when I recently reproduced this work? Have you solved it yet?


Please update the roadmap 2022

Hi @realkimmy, The wiki page will be updated with the 2022 roadmap when the team thinks is the right time or if they have an update to share, We don't need to track this as an issue, The issue tracker is only to track the bugs and feature requests in the Flutter framework.
Closing this issue as invalid.

Hi, just came back to let you know that the roadmap for 2022 has been updated https://github.com/flutter/flutter/wiki/Roadmap

Thank you


Bump pcre2 version to 10.41

Automatic bump from version 10.40 to version 10.41, downloaded from https://api.github.com/repos/PCRE2Project/pcre2/tarball/pcre2-10.41.
After merge, consider releasing a new version of haproxy-boshrelease.

Something changed in this release and the build is failing. Will need to be looked into.

Diff: https://fossies.org/diffs/pcre2/10.40_vs_10.41/configure-diff.html


test

test

1#include
<stdio.h>
2
3typedef
unsigned
char
*byte_pointer;
4
5void
show_bytes(byte_pointer
start,
size_t
len)
{
6int
i;
7for
(i
0;
i
<
len;
i++)
8printf("
%.2x",
start[i]);
9printf("\n");
10}
11
12void
show_int(int
x)
{
13show_bytes((byte_pointer)
&x,
sizeof(int));
14}
15
16void
show_float(float
x)
{
17show_bytes((byte_pointer)
&x,
sizeof(float));
18}
19
20void
show_pointer(void
*x)
{
21show_bytes((byte_pointer)
&x,
sizeof(void
*));
22}

1#include
<stdio.h>
2
3typedef
unsigned
char
*byte_pointer;
4
5void
show_bytes(byte_pointer
start,
size_t
len)
{
6int
i;
7for
(i
0;
i
<
len;
i++)
8printf("
%.2x",
start[i]);
9printf("\n");
10}
11
12void
show_int(int
x)
{
13show_bytes((byte_pointer)
&x,
sizeof(int));
14}
15
16void
show_float(float
x)
{
17show_bytes((byte_pointer)
&x,
sizeof(float));
18}
19
20void
show_pointer(void
*x)
{
21show_bytes((byte_pointer)
&x,
sizeof(void
*));
22}

https://apple.stackexchange.com/questions/323960/virtualbox-ns-error-failure-0x80004005-mac

https://apple.stackexchange.com/questions/323960/virtualbox-ns-error-failure-0x80004005-mac

Consideravirtualmemorysystemthatcanaddressatotalof250bytes.
You
have
unlimited
hard
drive
space,
but
are
limited
to
2
GB
of
semiconductor
(physical)
memory.
Assume
that
virtual
and
physical
pages
are
each
4
KB
in
size.
(a)How
many
bits
is
the
physical
address?
(b)What
is
the
maximum
number
of
virtual
pages
in
the
system?
(c)How
many
physical
pages
are
in
the
system?
(d)How
many
bits
are
the
virtual
and
physical
page
numbers?
(e)How
many
page
table
entries
will
the
page
table
contain?

Use
the
system
of
Figure
8.16
with
access
times
of
1,
10,
and
100
cycles
for
the
L1
cache,
L2
cache,
and
main
memory,
respectively.
Assume
that
the
L1
and
L2
caches
have
miss
rates
of
5%
and
20%,
respectively.
Specifically,
of
the
5%
of
accesses
that
miss
the
L1
cache,
20%
of
those
also
miss
the
L2
cache.
What
is
the
average
memory
access
time
(AMAT)?


[WIP] :broom: Removing the vendor dir :fireworks:

Changes

:broom: Removing the vendor dir :fireworks:

/kind cleanup
Tests knative/hack#311
Tests knative/hack#222

/test all

The failure https://github.com/knative-extensions/kn-plugin-event/actions/runs/6089754374/job/16523241031?pr=307 is expected, as in order to use https://github.com/knative/hack/pull/222 and https://github.com/knative/hack/pull/311 I needed to use the replace stanza in go.mod which is reported by the linter.

/unhold
The Func's PR was already merged: https://github.com/knative/func/pull/1966
/cc @dsimansk
/cc @rhuss

Well, I think this is fine. I can't dive into the PR itself, and not sure what other side-effects will happen when we inline the plugin into kn, which still uses the vendor dir. If you are sure that this doesn't harm (i.e. still works), happy to merge this (so feel free to unhold then)
/approve
/lgtm
/hold

@rhuss Well, I think this is fine. I can't dive into the PR itself, and not sure what other side-effects will happen when we inline the plugin into kn, which still uses the vendor dir. If you are sure that this doesn't harm (i.e. still works), happy to merge this (so feel free to unhold then)

Vendorless applies only to upstream projects. The vendors like RH will probably continue to vendor deps on their products, just to have a way to apply patches if needed.
Also, vendorless project doesn't change anything when the plugin is being embedded into other, like in kn.
See the epic for more info: https://github.com/knative/infra/issues/134
/unhold


Fix issue 13937 -  C++ mangling for template negative parameter not correct for dmc

During testing for https://issues.dlang.org/show_bug.cgi?id=13932 we found that win32 does not link whereas before it did.
To move along the pull, I commented out the test for win32, but it resulted in a regression (https://issues.dlang.org/show_bug.cgi?id=13937)
This should fix the regression.

ping @yebblies, can you verify I did this right?

Looks ok

Auto-merge toggled on

Thanks!


[Bug]: Incorrect label in Login page and sign up page

Contact Details
<EMAIL_ADDRESS>What happened?
Login page

Forgot password page

Sign up page

There is additional text which is not required.
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Are you interested in contributing?

[X] I'd like to work on this issue

Code of Conduct

[X] I have used the search function to check if an issue already exists
[X] I agree to follow this project's Code of Conduct

Which program are you contributing in?
gssoc

What's incorrect? Those labels are added intentionally

Usually for login pages we do not add "import" password and such keywords

We have added it intentionally to add a coding theme

I understand, it was a misunderstanding


Adding type hints to the function signatures

Contributing guidelines

[X] I understand the contributing guidelines

Documentation

[X] My proposal is not addressed by the documentation or examples

Existing issues

[X] Nothing similar appears in an existing issue

What problem does your feature proposal solve?
The types of the parameters and the returned data of the functions is already very well documented. Currently the data is in docstrings, which unfortunately IDEs like VS Code cannot use. Putting them additionally directly in the function signatures would have several advantages:

Make it easier for users to see what they need to input without having to scroll through the docstrings
Enable type checkers to find quickly find errors if the user uses something wrong
Enable autocomplete on returned values

What is your proposed solution?
One could simply copy the info out of the docstrings and put it in the function signatures. I think using from __future__ import annotations would be the best choice, as we could use modern constructs from Python 3.10+ and still have a runnable program on Python 3.8.
What alternatives have you considered?
One could also create type stubs, but they would be harder to maintain and get out of date.
Additional context

@Vuizur thanks for the suggestion. Yes this has been on my radar and I hope to incorporate type annotations into OSMnx v2.0 (aiming for a 2024 release). The current plan is for v2.0 to support Python 3.9+ and drop support for Python 3.8. Reading the 3.9 release notes it looks like we should be able to avoid using from __future__ import annotations, if so.

Work in progress in the typing branch.

Proposed resolution in #1107. Comments, feedback, and improvements welcome.

Merged into the v2 branch and targeted for release in 2.0.0.

The first pre-release OSMnx v2 beta has been released. Testers needed! See #1123 for details.


hi,my friend. where is the file, "./trained_model_no_generation"??

https://github.com/amzn/ss-aga-kgc/blob/bdb6f827ed719cf194aa6cd55e8b9ea6f6a330f1/run.py#L273

The code has been updated


Add Traditional Chinese zh_tw.json

Add Traditional Chinese localization support

Added in version 0.1.2+1.21.4!


Refactor padding styles

Paddings and margins are now determined more clearly on a scale. This should make it easier to read (and compute syntax of) longer spacing declarations, as well as make it more intuitive to stick to a regular spacing interval.

@spmcbride1201 Fixed.

@spmcbride1201 My rebase got a little hairy. Would you mind taking another look before I merge?

@shanberg - Of course I'll take a look. No worries.

@shanberg - It seems to work for me, and the source files look sane. Feel free to squash - merge.


Ignore *.pdf for typ files in tests

Sometimes this *.pdf file appears (and is an untracked file in git status) -- for instance, tests/typ/text/deco.pdf appeared in my working directory after I ran test deco.typ. It's likely saved by the Typst LSP.
Let's ignore it in case developers didn't notice its existence and blindly commits it.
Or, maintainers could configure some hooks to reject PRs with these files. It's up to you the maintainers :)

Or, maybe we should just ignore all *.pdf from the source tree.

I tend to use git to figure out if there are artefacts that needs to be deleted.
Target directory is ignored, but at least that one is obvious.
I don't know how prevalent snapshot tests are in typst, but it might be a thing eventually, and then inclusion of pdf will be there.

@CGMossa by "snapshot tests" you mean the current set of tests in the tests/{typ,ref}/* directories? The generated PDF files for them should be under tests/pdf/* and they are git-ignored already.
This PR is about the .pdf files slipped into the tests/typ/ directories, presumably caused by dev tooling. I just found another incident of this sort in my https://github.com/typst/typst/pull/2882/commits/e10389cc461cd6887ae23b005b3907f126d94e6b.
Also (though at a smaller likelihood), for the purpose of testing devs may simply run the "typst compile" command on those *.typ files without further arguments, and doing so will create *.pdf in the same directories.

Ignoring PDF files in the tests/typ directory sounds okay. Ignoring all PDF files seems problematic.
I'm not too concerned about random PDF files getting in since it's pretty easy to catch in a review, but if it makes things simpler for you and possibly others, I also don't see the harm.

Another thing in favor of this PR is that if a pdf is checked in, it will be in the git history forever, even if it is checked out. Hopefully squashing a PR where this is corrected removes the pdf.

Yeah, squashing will get rid of the intermediate stuff as far as I know.

It turns out whenever I save an edit to a *.typ file a *.pdf will pop up in the typ/ directory, without me clicking anything.

As you said, it is pretty surely the LSP.


About figure

Hello Germain,
Thank you so much for such a nice script. I can run it and get plots. I have small question about image format.
When I run it on cluster and save the image as .pdf, .jpg or any other supported format, and move it to my local computer , I cannot see my Image, it appears blank.
Here I have attached files as they appear.
Thanks in advance.

This is how it appears if  I save but when I try to open one saved by using script, it appears blank.

I had a same problem before. Actually there may be two things, either you missed to import from matplotlib.backends.backend_pdf import PdfPages  or you save to your pdf file after you close pdf.

I am not really familiar with matplotlib backends but thank you for the comments.
Moreover, it seems that you have a really small number of k-points on each line. The issue may come from that point. Finally, you could simply try to adjust the xlim in order to fix the output.


Contact is cleared after update

After call updateContact , my target contact info is cleared (except the name)
this is my code
      Contact contact = _findContactById(selectedEmail.contactId);

      if (contact == null) return;

      List<Item> emails = contact.emails.toList();

      emails.removeWhere((element) => element.value == selectedEmail.value);

      contact.emails = Iterable.castFrom(emails);

      await ContactsService.updateContact(contact);

FIND CONTACT BY ID FUNCTION
Contact _findContactById(String id) {
    for (Contact contact in _contactList) {
      if (contact.identifier == id) {
        return contact;
      }
    }

    return null;
  }

@seasofttranqtrung I have this problem too. Have you solved it?

I have the same problem, plis help.

I have the same problem, plis help.


[Feature][Connector-V2][Elasticsearch] Support Elasticsearch source

close #2553

I will merge this pr and please add I will add a pr to change log reference https://github.com/apache/incubator-seatunnel/blob/dev/docs/en/connector-v2/source/SftpFile.md


Microsoft Teams SBCs send # character unescaped

It was confirmed to me (in support ticket #31034933) that the Microsoft SBCs send the # character in a Request-URI un-escaped. i.e. it is sent as a '#' rather than '%23'.
e.g. If the Teams user dials #123, we receive over the Direct Routing trunk:
INVITE sip:#123@teams.mydomain.com:5081;user=phone;transport=tls SIP/2.0.
instead of:
INVITE sip:%23123@teams.mydomain.com:5081;user=phone;transport=tls SIP/2.0.
This is in violation of RFC-3261. (See Section 25  Augmented BNF for the SIP Protocol, Sub-section 25.1 Basic Rules).
This RFC exception should be documented on this page.
Regards,
David

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

ID: fe63a384-d262-ea29-c793-6266228035bf
Version Independent ID: a1bc23e7-3241-bc8b-7e41-d34941d9f4ff
Content: Teams phone system direct routing: Definitions and RFC standards - Microsoft Teams
Content Source: Teams/direct-routing-protocols.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

Hello @davemidd
How are you?
Unfortunately, we have no access to support cases information.
I'll try to confirm this, thanks

Looping in @FilippSe

@FilippSe Can you help clarify here? Thank you!

Under investigation at the moment

Thanks @FilippSe

@FilippSe How are you? Any update on the investigation? Thanks

@FilippSe Wanted to check here if there is any update on this investigation? Thanks!

Change is now live. Closing.


Data grid: long headers not aligned with cells

Describe the bug
If a data grid has long headers, then those aren't always aligned with cells.
To reproduce
Create a data grid by following the official documentation and specify many long headers with no space.
For instance:
  const row1 = {};
  const row2 = {};
  for(i=1;i<20;i++) {
    row1["aVeryLongHeader"+i] = "value"+i;
    row2["aVeryLongHeader"+i] = "aVeryLongValue"+i;
  };
  document.getElementById("grid").rowsData = [row1, row2];

Expected behavior
Headers and cells should be aligned so you can clearly identify the columns:

Current behavior
Headers are not aligned with the cells. Note that all cells are aligned so the problem is specific to headers vs regular cells:

Desktop (please complete the following information):

OS Version: Ubuntu 20.04.5 LTS
Toolkit Version: v1.0.1

Thank you for this catch and subsequent PR! Tested it all on my end and was able to validate both the issue and the fix :)