Reduce the number of run test when pushing to a PR

What is the expected enhancement?
Reduce the number of test run when pushing to a PR by focusing on a reference environment (Python 3.5 + Linux) and add a cron task to perform all the checks once per day.

@diego-plan9 @mtreinish I know some of you have reservations about this and I think those are fair points. Would you mind to make them explicit here?
Just to be clear, my point is that, with the current configuration, we are running the same tests over and over, even thinking that the major part of our codebase is platform independent. I was hoping to catch platform-specific bugs in the daily task. But I know you both share the fear of those bugs being unattended and not fixed (for which I open this other issue). Perhaps it is a better idea to merge parallel testing first and throw money to AppVeyor and Travis before removing testing scenarios.
If you feel strongly against these changes, I'm OK. Feel free to close the issues.

I wouldn't call them reservations - rather, observations!! There are several topics around that might have been also touched in other issues or PRs, but for me it's clear that we have a non-ideal situation during day-to-day working in the repository and indeed we should place emphasis in finding ways of making it smoother.
But I think there is another important force: how confident we are that we are not introducing bugs at each stage, and how we keep that confidence as high as possible in order to catch them effectively. I tend to think of it as some sort of "numbers game". If we think that "passing all (including online and slow) the current tests, in all platforms and python versions", is a 100% confidence (which is not, of course) my concern is that we might end up reducing that % even more with subsequent changes. Which turns the problem into "setting up a worfklow for dealing with bugs caught not during a PR, but some time after it".
Actually, I'm positive that we can handle the setting of that workflow (even though master has been failing for three days without getting much attention lately), and that we can keep a reasonable % of confidence by being more smarts on which tests we run and where we run it - but an effort (more organizative than technical) needs to be done. On a side note, I think introducing the travis cron job would be good for some scenarios regardless of what is decided for the PR/master setup: for example, the running of slow_tests which is very much needed.
So basically I'm personally fine with whatever @delapuente and @mtreinish agree upon, as long as ultimately we end up being able to catch bugs and correct them effectively :bug:

AppVeyor has an option called "rolling build" which ensures only the latest commit to a PR branch is built. I just turned it on for this project, which will hopefully improve those Windows build times.

Nice!


www-form-urlencoded codec

This PR introduces a www-form-urlencoded codec which could be used to encode messages.

Codecov Report

Merging #110 into master will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #110      +/-   ##
==========================================
+ Coverage   84.38%   84.44%   +0.05%
==========================================
  Files          69       69
  Lines        4381     4384       +3
==========================================
+ Hits         3697     3702       +5
+ Misses        425      424       -1
+ Partials      259      258       -1

Impacted Files
Coverage Δ

pkg/codec/json/types.go
99.40% <100.00%> (ø)

pkg/flow/caller.go
69.81% <100.00%> (+0.87%)
:arrow_up:

pkg/transport/http/caller.go
82.30% <100.00%> (+1.76%)
:arrow_up:


Initial touchbar support

This changes add Touch Bar support on MacBook Pros
The following changes are proposed:
Contributing Build, Launch and Debug commands in MacBook Pro Touch Bar.

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

This looks pretty straightforward, but I don't have a way to validate this change since we don't have a mac with touchbar support to test on.  Are you able to share a photo of what the touchbar looks like when these are enabled? Uploading it to this PR would be fine.

Since these commands use commands same as tasks, this PR needs (another fix)[https://github.com/microsoft/vscode-cmake-tools/pull/1268]

Are we waiting on PR #1268 before we commit this? Or is it ready to go now?

For now it's working only with no files open VSCode - in other cases it's providing currently open file as argument (if I'm not mistaken - checked some time ago).
Fix for this was initial change in PR #1268 - but, as you know, it became something bigger.

We now build an installable extension with each commit.  You can test this out by downloading cmake-tools.vsix from https://github.com/microsoft/vscode-cmake-tools/actions/runs/310694927 and using the "install from vsix" command in VS Code.


Nokogiri

Switch HTML library from hpricot to Nokogiri.

Hpricot is dead upstream. Debian considers removing it from its archive in the future. This change would ensure that Ronn is still distributed in Debian (and other linux distributions). Thank you in advance for working on that

JFTR: Debian's removal of hpricot comes closer. ronn is one of only two reverse dependencies left.


Cex withdrawal

I am a. Scroll maxi , I have not seen a reputable exchange that allows the withdrawal of scroll ETH ATM , it is needed  for the adoption of the scroll chain .

Thank you for your feedback. This will be supported eventually.


updated equal matcher to correctly behave with user defined objective-c classes

Calling a should equal(b); should call isEqual if both a and b are objects.

Pulled


How can i training it?

Dear Sir:
How can i training this AI? Should i fetch some driving video and feed them into some learning server?
Is it possible we can upgrade it by keep training it?

You might be looking for https://github.com/commaai/research if you are looking to train neural networks.


where is the all_ddls.sql ?

Thanks

This gets generated when you run Snapper using the "-m package" option. Please review https://github.com/aws-samples/aurora-and-database-migration-labs/tree/master/Code/PGPerfStatsSnapper#packaging-the-output section.


Promotion of deprecations from v3.1

Description
Promote all deprecations from v3.1.
Checklist

[x] Promote deprecations.
[x] Refactor.
[x] Update Work in progress section in changelog.

Done.

Reverse the code of this issue: breaking changes shouldn't be included in Kotools Types 3.2.0.

Reverse the code of this issue: breaking changes shouldn't be included in Kotools Types 3.2.0.

Done.
Will be implemented by #37.


After install generator appears to not be installed

I'm trying to setup this generator on my system. After running npm install -g generator-bare-react everything installs ok. Then after running yo bare-react I get an error message stating.
Error bare-react

You don't seem to have a generator with the name bare-react installed.
You can see available generators with npm search yeoman-generator and then install them with npm install [name].
To see the 48 registered generators run yo with the `--help` option.

FYI I'm using npm v3

Thanks for the report! Fixed in 1176a5a, published 1.1.1.


Transaction with NACK is reported as OK

Current implementation of the I2C driver returns H7I2C_RET_CODE_OK in the case of an ACK bit not being received back. Would it be possible to handle the case of NACK with a different return code? This would help downstream applications to handle this case more easily (e.g. you can see here). Thanks!

Fixed in commit #109d420, where H7I2C_RET_CODE_PERIPH_IN_ERR_STATE is returned.
It's then the user's responsibility to read out which error state the driver is in and act accordingly.


Add .discardLocal client reset mode.

Adds a new clientResetMode property to the SyncConfiguration.
Adds two notification callback properties to SyncConfiguration. .notifyBeforeClientReset, .notifyAfterClientReset.
Adds a handful of admin api testing methods for fully integrated client reset tests.

Unfortunately, as of right now, it takes any where between 3-5 minutes to run a full client reset test. I ran into the same issues here and here. This is commented in line with the tests.

Needs Changelog. Should also edit the PR description to include sample usage.

@tgoyne
I re-requested review because I think addressed all but one point. Note that I'm still thinking about the objectStore schema to swift Realm issue.

@tgoyne @jsflax @leemaguire Ready for review

@tgoyne Ready for review again, thanks!


Add tool for organizing car pools

register need to be transported
register transportation possibilities
assign people to "cars"

See
https://nuudel.digitalcourage.de
https://doodle.com/de/


ViewHolder pattern for news feed

This is a draft PR. All tests do not currently pass.
This PR uses the ViewHolder pattern for the rendering of lists in the ForYou and Bookmarks screens.
At the moment, we use the LazyGridScope.newsFeed(...) extension to reuse the news feed across different screens. The ViewHolder pattern from the RecyclerView seems to do this just as well if not better bc:
Return of control to the call site
The use of the ViewHolder pattern returns control of the behavior and appearance of the list to the call site. The animateItemPlacement modifier can be passed to list items now allowing for animating items as the user edits the list either by changing interests or bookmarking items. This allows us to pass modifiers to each item in the grid. In the case of the PR, it's the 1animateItemContent()` modifier:
itemContent = { item ->
                when (item) {
                    is ForYouItem.News -> when (item) {
                        is ForYouItem.News.Loading -> Unit
                        is ForYouItem.News.Loaded -> NewsItem(
                            modifier = Modifier.animateItemPlacement(),
                            ...,
                        )
                    }
                    is ForYouItem.OnBoarding -> OnboardingItem(
                        ...
                        interestsItemModifier = Modifier
                            .animateItemPlacement()
                    )
                }
            }

Code portability
Reuse of the news item is no longer confined to the LazyGridScope.
Code readability
The list rendered is exposed as state in a single list from the screen level state holder. Anyone reading the code can immediately see that the screen presents a heterogenous list:
    val forYouItems: StateFlow<List<ForYouItem>> =
        combine(
            onboardingItems,
            newsItems,
            List<ForYouItem>::plus
        )
            .stateIn(
                scope = viewModelScope,
                started = SharingStarted.WhileSubscribed(5_000),
                initialValue = listOf(
                    ForYouItem.OnBoarding(OnboardingUiState.Loading),
                    ForYouItem.News.Loading,
                )
            )

Closing due to inactivity. If you still wish to submit this change, please create a new PR.


Update build step call to action and redirect behaviour for job applications

Changes in this PR

Always redirect to review page when updating subsequent job application
Update build step primary call to action based on the same criteria

Product sign off

[ ] Looks good!

Review app deployed to https://teaching-vacancies-review-pr-3357.london.cloudapps.digital


impl binop<Rhs=int> for Mint

It is pain to add two integers as Mint:
let a = 1usize;
let b = 2usize;
let c = Mint::new(a) + Mint::new(b);

Thus, I implemented Add<Rhs=int> for Mint and AddAssign<Rhs=int> for Mint:
let c = Mint::new(a) + b;

Yes, that's true. It is a pain.
According to these popular crates, It seems to be reasonable to implement Op<{integer}> and OpAssign<{integer}>.

num_bigint::BigInt
num_bigint::BigUint
num_complex::Complex<_>
num_rational::Ratio<_>
ordered_float::NotNan<_>


the minimum pandas version must be 1.4.0. In earlier versions, an err…

A bug appears when using panda versions earlier than 1.4.0.
The error appears when running irrigation method 3 (shedule).
I was following the example number 2. Estimation of irrigation water demands
The error log is:

Traceback (most recent call last):
  File "/Users/pacopuig/Desktop/PROGRAMACION/aquacrop/aquacrop/tests/test_irrigation.py", line 37, in test_predefined_schedule_strategy
    model.initialize()
  File "/Users/pacopuig/Desktop/PROGRAMACION/aquacrop/aquacrop/aquacrop/core.py", line 150, in initialize
    self.ParamStruct = read_irrigation_management(
  File "/Users/pacopuig/Desktop/PROGRAMACION/aquacrop/aquacrop/aquacrop/initialize.py", line 305, in read_irrigation_management
    df = df.reindex(ClockStruct.TimeSpan, fill_value=0).drop("Date", axis=1)
  File "/Users/pacopuig/Desktop/PROGRAMACION/aquacrop/aquacrop/venv/lib/python3.9/site-packages/pandas/util/_decorators.py", line 324, in wrapper
    return func(*args, **kwargs)
  File "/Users/pacopuig/Desktop/PROGRAMACION/aquacrop/aquacrop/venv/lib/python3.9/site-packages/pandas/core/frame.py", line 4767, in reindex
    return super().reindex(**kwargs)
  File "/Users/pacopuig/Desktop/PROGRAMACION/aquacrop/aquacrop/venv/lib/python3.9/site-packages/pandas/core/generic.py", line 4809, in reindex
    return self._reindex_axes(
  File "/Users/pacopuig/Desktop/PROGRAMACION/aquacrop/aquacrop/venv/lib/python3.9/site-packages/pandas/core/frame.py", line 4592, in _reindex_axes
    frame = frame._reindex_index(
  File "/Users/pacopuig/Desktop/PROGRAMACION/aquacrop/aquacrop/venv/lib/python3.9/site-packages/pandas/core/frame.py", line 4611, in _reindex_index
    return self._reindex_with_indexers(
  File "/Users/pacopuig/Desktop/PROGRAMACION/aquacrop/aquacrop/venv/lib/python3.9/site-packages/pandas/core/generic.py", line 4874, in _reindex_with_indexers
    new_data = new_data.reindex_indexer(
  File "/Users/pacopuig/Desktop/PROGRAMACION/aquacrop/aquacrop/venv/lib/python3.9/site-packages/pandas/core/internals/managers.py", line 673, in reindex_indexer
    new_blocks = [
  File "/Users/pacopuig/Desktop/PROGRAMACION/aquacrop/aquacrop/venv/lib/python3.9/site-packages/pandas/core/internals/managers.py", line 674, in <listcomp>
    blk.take_nd(
  File "/Users/pacopuig/Desktop/PROGRAMACION/aquacrop/aquacrop/venv/lib/python3.9/site-packages/pandas/core/internals/blocks.py", line 1145, in take_nd
    new_values = algos.take_nd(
  File "/Users/pacopuig/Desktop/PROGRAMACION/aquacrop/aquacrop/venv/lib/python3.9/site-packages/pandas/core/array_algos/take.py", line 101, in take_nd
    return arr.take(
  File "/Users/pacopuig/Desktop/PROGRAMACION/aquacrop/aquacrop/venv/lib/python3.9/site-packages/pandas/core/arrays/_mixins.py", line 97, in take
    fill_value = self._validate_scalar(fill_value)
  File "/Users/pacopuig/Desktop/PROGRAMACION/aquacrop/aquacrop/venv/lib/python3.9/site-packages/pandas/core/arrays/datetimelike.py", line 645, in _validate_scalar
    raise TypeError(msg)
TypeError: value should be a 'Timestamp' or 'NaT'. Got 'int' instead.

Maybe this error has to do with the bug 42921 that was fixed in pandas version 1.4.

Pathlib is a standard library in python since version 3.4 so it does not have to be installed. It does not make sense to use earlier versions of python as the libraries used are not compatible.
Also, when installing pathlib with virtualenv I get the following error:
Collecting pathlib
  Using cached pathlib-1.0.1.tar.gz (49 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [20 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/tmp/pip-install-phjjl5kw/pathlib_08ce30b937cf43a4b5a710a89135a38e/setup.py",

Thanks for this looks good


added permutation package & changed baseline accordingly

is this the way one does these things???
werner

now git asks me whether to close the pull request. i guess i should press that button.

Werner, I reopen the PR. You should merge the pull request to the main development branch and not close directly this PR.
I think this is better that someone else than the one who create the PR, should merge. I will review your changes and then merge them if I'm find them ok.


Cannot wait for async refs

Hello,
I am using refs in child components so I need to wait a little for them.
So I am getting an error (I need to use at least two refs), cannot use it in hook, because it is a hook.
How can I solve this?

I manage to create refs first as in example.
Can be closed.
Thanks for your work!

@piotrgolawski Can you tell me how to achieve that please? I'm in a situation where I have to pass ref to child components and initiate the hook at parent component.


Static libraries not supported

It is impossible to create a static library with a PCH today due to cyclic dependency.
The following fails at configure time:
cmake_minimum_required(VERSION 3.0)

list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/CMakePCHCompiler)

project(pchtest CXX CXXPCH)

add_library(engine src/engine.cpp src/library.cpp)
target_precompiled_header(engine src/prefix.h)

add_executable(demo src/demo.cpp)
target_link_libraries(demo engine)
target_precompiled_header(demo src/prefix.h REUSE engine)

The only difference to the readme example is removing the SHARED from the definition of engine.
Why is the cyclic dependency even required?

Found the root cause:
In line https://github.com/nanoant/CMakePCHCompiler/blob/6bab2842e7829333e6f79e44783af7d6b0895ab9/CMakePCHCompiler.cmake#L110
We add all libraries used by the target we are building, but if this is a REUSE call this list contains the target containing the PCH (which depends on it) - which causes the cyclic dependency
wrapping this line with if(NOT ARGS_REUSE) solves the problem, and it seems this extra dependency is unneeded for REUSE calls to the function. If this is correct I'd like to open a PR to fix this (the resolution works on my machine).


Adding deployment documentation for Railway

Description (required)
My pull request adds documentation for deploying to Railway

There is no deployment documentation for Railway and many users who want to deploy to Railway are having issues with it.
Related issues & labels (optional)

Closes #
Suggested label:
Improve on Documentation

Hi @chark1es ! There hasn't been any activity on this PR so I'm going to have to close it. It's missing some key information, as I requested earlier. If you decide you'd like to return to it, you are welcome to reopen it and add the extra changes we'll need for this to work in docs!


Missing migration guide for awaited.set(…) to sync { awaited.set(…) }

I upgraded from 14.4.10 to 15.1.7 and I got
Script compilation error:

  Line 27:                      awaited.set(false)
              ^ Unresolved reference: awaited

I think I found the refactoring that caused this: ce4ff64df6c1dfe5ca6270cf9874636fbc203f6b. From the looks of it, it seems this was released with 14.4.42; however, none of the release notes there or since mention what I need to do to upgrade.

Sorry about that. I almost don't have any time for upgrading plugin itself. Following semver rules adds another effort which I cannot handle within that limited time. So I am trying to describe major changes in release notes but I am not able to track and document minor changes. When some build script does not compile it means that I did some minor API change like renaming or sth. From functional perspective I don't remember if have broken something. If I will do such change i will for sure document it.

Now that task becomed https://github.com/wttech/gradle-aem-plugin/blob/master/src/main/kotlin/com/cognifide/gradle/aem/common/tasks/InstanceFileSync.kt

And there wrap awaited into sync block to configure this extracted service: https://github.com/wttech/gradle-aem-plugin/blob/master/src/main/kotlin/com/cognifide/gradle/aem/common/instance/FileSync.kt#L19

provided to you hints on how to upgrade, in future I will do my best to prevent such situations. closing for now.


add unit tests for snapshot evm

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

354 of 359 (98.61%)  changed or added relevant lines in 1 file are covered.
13 unchanged lines in 2 files lost coverage.
Overall coverage increased (+5.7%) to 57.093%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

chainsight-cdk-macros/src/canisters/snapshot_indexer_evm.rs
354
359
98.61%

Files with Coverage Reduction
New Missed Lines
%

../../../.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.70/src/wrapper.rs
4
44.44%

../../../.cargo/registry/src/index.crates.io-6f17d22bba15001f/uint-0.9.5/src/uint.rs
9
71.11%

Totals

Change from base Build<PHONE_NUMBER>:
5.7%

Covered Lines:
3413

Relevant Lines:
5978

💛  - Coveralls


SIGSEGV(SEGV_MAPERR)

mixed project
something wrong

1#00 pc 00415af6 dart::Instance::CheckedHandle(dart::Zone*, dart::ObjectPtr) (../../third_party/dart/runtime/vm/object.h:7485) [armeabi-v7a]
2#01 pc 004b16f5 DRT_Instanceof (../../third_party/dart/runtime/vm/runtime_entry.cc:870) [armeabi-v7a]
3#02 pc 003b5d64 /data/app/cn.shcab.passenger-XIcJml2QH67V8arhuqL2Yw==/lib/arm/libapp.so (_kDartVmSnapshotInstructions+7524) [armeabi::6db274d0516a44eba6391cf83564b69e]
4java:
5[Failed to get Java stack]

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.18363.836], locale zh-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
[√] Android Studio (version 4.1)
[√] Connected device (2 available)

! Doctor found issues in 1 category.

@JsonYuu
I am assuming mixed project means you have add2app with native Android.
Is the crash coming from production ? If so, can you provide the entire and complete crash log ?
Is there a way for you to provide reproducible code sample that possibly triggers this crash or steps to reproduce ?
Thanks.

yeah, add2app with native Android.
This crash come from production .
I don’t know how this crash happened, so I can’t provide sample code.
mobile phone info below:

network
Root
RAM SIZE
SD SIZE
RAM DESC

Wi-Fi
no
2.79 GB ( 50.59% )
73.63 GB ( 67.63% )
HuaWei/EMOTION/EmotionUI_10.0.0

complete crash log:
01-05 04:30:00.313 16769 16980 I CrashReport-Native: Got unwind context.
01-05 04:30:00.313 16769 16980 I CrashReport-Native: Initialization of unwind finished.
01-05 04:30:00.313 16769 16980 D CrashReport-Native: pc = 0xbcfa2af6, sp = 0xbca7f3f8
01-05 04:30:00.313 16769 16980 D CrashReport-Native: Try to search symbol info for pc: 0xbcfa2af6
01-05 04:30:00.313 16769 16980 I CrashReport-Native: Found symbol info.
01-05 04:30:00.313 16769 16980 D CrashReport-Native: Try to find module for pc: 0xbcfa2af6
01-05 04:30:00.313 16769 16980 D CrashReport-Native: Found the module: /data/app/cn.shcab.passenger-J0IQhWIhybmhcZgGfzWRnQ==/lib/arm/libflutter.so
01-05 04:30:00.313 16769 16980 D CrashReport-Native: Got module name: /data/app/cn.shcab.passenger-J0IQhWIhybmhcZgGfzWRnQ==/lib/arm/libflutter.so for pc: 0xbcfa2af6
01-05 04:30:00.313 16769 16980 I CrashReport-Native: Parsing ELF file: /data/app/cn.shcab.passenger-J0IQhWIhybmhcZgGfzWRnQ==/lib/arm/libflutter.so
01-05 04:30:00.313 16769 16980 D CrashReport-Native: symIndex = -1, dynsymIndex = 3
01-05 04:30:00.313 16769 16980 D CrashReport-Native: symbol_count = 0, dynsymbol_count = 3
01-05 04:30:00.314 16769 16980 D CrashReport-Native: Can not find function name for pc: 0xbcfa2af6
01-05 04:30:00.314 16769 16980 D CrashReport-Native: Function with offset 0x415af6 may only be contained in debug so of: /data/app/cn.shcab.passenger-J0IQhWIhybmhcZgGfzWRnQ==/lib/arm/libflutter.so
01-05 04:30:00.314 16769 16980 I CrashReport-Native: #00 pc 00415af6 /data/app/cn.shcab.passenger-J0IQhWIhybmhcZgGfzWRnQ==/lib/arm/libflutter.so [armeabi-v7a::dd380d0ea5fc87e0e286aa0bfeaef082]
01-05 04:30:00.314 16769 16980 D CrashReport-Native: Append to native stack.
01-05 04:30:00.318 16769 16980 D CrashReport-Native: pc = 0xbd03e6f5, sp = 0xbca7f410
01-05 04:30:00.318 16769 16980 D CrashReport-Native: Try to search symbol info for pc: 0xbd03e6f5
01-05 04:30:00.318 16769 16980 I CrashReport-Native: Found symbol info.
01-05 04:30:00.318 16769 16980 D CrashReport-Native: Try to find module for pc: 0xbd03e6f5
01-05 04:30:00.318 16769 16980 D CrashReport-Native: Found the module: /data/app/cn.shcab.passenger-J0IQhWIhybmhcZgGfzWRnQ==/lib/arm/libflutter.so
01-05 04:30:00.318 16769 16980 D CrashReport-Native: Got module name: /data/app/cn.shcab.passenger-J0IQhWIhybmhcZgGfzWRnQ==/lib/arm/libflutter.so for pc: 0xbd03e6f5
01-05 04:30:00.318 16769 16980 D CrashReport-Native: Can not find function name for pc: 0xbd03e6f5
01-05 04:30:00.318 16769 16980 D CrashReport-Native: Function with offset 0x4b16f5 may only be contained in debug so of: /data/app/cn.shcab.passenger-J0IQhWIhybmhcZgGfzWRnQ==/lib/arm/libflutter.so
01-05 04:30:00.318 16769 16980 I CrashReport-Native: #01 pc 004b16f5 /data/app/cn.shcab.passenger-J0IQhWIhybmhcZgGfzWRnQ==/lib/arm/libflutter.so [armeabi-v7a::dd380d0ea5fc87e0e286aa0bfeaef082]
01-05 04:30:00.318 16769 16980 D CrashReport-Native: Append to native stack.
01-05 04:30:00.319 16769 16980 D CrashReport-Native: pc = 0xbc245d64, sp = 0xbca7f488
01-05 04:30:00.319 16769 16980 D CrashReport-Native: Try to search symbol info for pc: 0xbc245d64
01-05 04:30:00.319 16769 16980 I CrashReport-Native: Found symbol info.
01-05 04:30:00.319 16769 16980 D CrashReport-Native: Try to find module for pc: 0xbc245d64
01-05 04:30:00.319 16769 16980 D CrashReport-Native: Found the module: /data/app/cn.shcab.passenger-J0IQhWIhybmhcZgGfzWRnQ==/lib/arm/libapp.so
01-05 04:30:00.319 16769 16980 D CrashReport-Native: Got module name: /data/app/cn.shcab.passenger-J0IQhWIhybmhcZgGfzWRnQ==/lib/arm/libapp.so for pc: 0xbc245d64
01-05 04:30:00.319 16769 16980 D CrashReport-Native: Got function name: _kDartVmSnapshotInstructions with offset: 0x1d64
01-05 04:30:00.319 16769 16980 I CrashReport-Native: Parsing ELF file: /data/app/cn.shcab.passenger-J0IQhWIhybmhcZgGfzWRnQ==/lib/arm/libapp.so
01-05 04:30:00.319 16769 16980 W CrashReport-Native: .ARM.attributes section not found
01-05 04:30:00.319 16769 16980 D CrashReport-Native: symIndex = -1, dynsymIndex = 5
01-05 04:30:00.319 16769 16980 D CrashReport-Native: symbol_count = 0, dynsymbol_count = 5
01-05 04:30:00.319 16769 16980 I CrashReport-Native: #02 pc 003b1d64 /data/app/cn.shcab.passenger-J0IQhWIhybmhcZgGfzWRnQ==/lib/arm/libapp.so (_kDartVmSnapshotInstructions+7524) [armeabi::6db274d008875f4ca6391cf8092639fa]
01-05 04:30:00.319 16769 16980 D CrashReport-Native: Append to native stack.
01-05 04:30:00.320 16769 16980 I CrashReport-Native: Stack is succesfully dumped by libUnwind.
01-05 04:30:00.320 16769 16980 D CrashReport-Native: Native stack:
01-05 04:30:00.320 16769 16980 D CrashReport-Native: #00 pc 00415af6 /data/app/cn.shcab.passenger-J0IQhWIhybmhcZgGfzWRnQ==/lib/arm/libflutter.so [armeabi-v7a::dd380d0ea5fc87e0e286aa0bfeaef082]
01-05 04:30:00.320 16769 16980 D CrashReport-Native: #01 pc 004b16f5 /data/app/cn.shcab.passenger-J0IQhWIhybmhcZgGfzWRnQ==/lib/arm/libflutter.so [armeabi-v7a::dd380d0ea5fc87e0e286aa0bfeaef082]
01-05 04:30:00.320 16769 16980 D CrashReport-Native: #02 pc 003b1d64 /data/app/cn.shcab.passenger-J0IQhWIhybmhcZgGfzWRnQ==/lib/arm/libapp.so (_kDartVmSnapshotInstructions+7524) [armeabi::6db274d008875f4ca6391cf8092639fa]
01-05 04:30:00.320 16769 16980 I CrashReport-Native: Record map file of thread: 16980
01-05 04:30:00.320 16769 16980 I CrashReport-Native: Read map file: /proc/16980/maps
01-05 04:30:00.349 16769 16980 I CrashReport-Native: Dumping of native stack finished.
01-05 04:30:00.349 16769 16980 I CrashReport-Native: Record EupInfo
01-05 04:30:00.349 16769 16980 I CrashReport-Native: EupInfo has been recorded.
01-05 04:30:00.349 16769 16980 I CrashReport-Native: Record native key-value list.
01-05 04:30:00.349 16769 16980 I CrashReport-Native: Native key-value list has been recorded.
01-05 04:30:00.349 16769 16980 I CrashReport-Native: Record native log.
01-05 04:30:00.349 16769 16980 I CrashReport-Native: Native log has not been initiated.
01-05 04:30:00.349 16769 16980 I CrashReport-Native: Native log has been recorded.
01-05 04:30:00.349 16769 16980 D CrashReport-Native: Start to record system log by executing 'logcat'.
01-05 04:30:00.362 16769 16980 D CrashReport-Native: Pid of subprocess: 17146
01-05 04:30:00.362 16769 16980 I CrashReport-Native: Wait for the subprocess to dump logcat...

@JsonYuu I am assuming mixed project means you have add2app with native Android. Is the crash coming from production ? If so, can you provide the entire and complete crash log ? Is there a way for you to provide reproducible code sample that possibly triggers this crash or steps to reproduce ?
Thanks.

@darshankawar

@JsonYuu
I guess this is same / similar case to your previous issue logged, https://github.com/flutter/flutter/issues/93703.
The crash log you provided doesn't seem to have frames to symbolise, so we would need to a reproducible code.


X Logo (fka Twitter)

Icon name
X
Use cases

Tons of websites have their X (fka Twitter) accounts on their landing pages.
Currently any app using lucide is using the old logo (blue bird).
Hence, we need to add a "X" representing the current twitter.

Design ideas

Source: https://icons8.com/icons/set/twitter-x
Checklist

[X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
[ ] I have searched existing icons to make sure it does not already exist and I didn't find any.
[ ] I am not requesting a brand logo and the art is not protected by copyright.
[X] I am not requesting an icon that includes religious, political imagery or hate symbols.
[X] I have provided appropriate use cases for the icon(s) requested.

@karsa-mistmere Why was this closed? It's a rather essential icon, so I'm now having to turn to other icon libs and mix their icons into my codebase, which is fine, but why not add X?

X is a brand logo and we do not accept any new brand logos because of copyright reasons, see our pinned issue at #670
There's also a large notice about this in the icon request issue form:

This, and also because two mandatory checklist items were left unchecked:

The former probably because this icon has already been requested on multiple occasions: #1468 #1528 #1561 #1717 #1490


Insert clause sharding column null text judgement

Fixes #3884.
Method createShardingCondition of InsertClauseShardingConditionEngine couldn't handle the situation that ExpressionSegment of null value in literal insert SQL is CommonExpressionSegment, and text of CommonExpressionSegment is "null".
Changes proposed in this pull request:

Method createShardingCondition of InsertClauseShardingConditionEngine modify null expression judgement with "null" text.

/run ci

Pull Request Test Coverage Report for Build 1282

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

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sharding-core/sharding-core-route/src/main/java/org/apache/shardingsphere/core/route/router/sharding/condition/ExpressionConditionUtils.java
0
1
0.0%

Totals

Change from base Build 657:
0.0%

Covered Lines:
10723

Relevant Lines:
16320

💛  - Coveralls


Move all assets to new folder

What does this PR do?
Moves all assets (except for metadata.csv) into a new assets folder
Also adds a new assets key to the manifest.json file for each integration to point to the relative path of these new assets.
Updates the ddev validations to accept this new folder structure (See this commit for those changes - https://github.com/DataDog/integrations-core/pull/3768/commits/3ff033074de9255f07dbb965046842f636c7ac98)
Motivation
After internal discussions we're standardizing the way we add and read new data from this repo.
Additional Notes
I made a script here that did this work:
from datadog_checks.dev.tooling.utils import get_valid_integrations, load_manifest, get_manifest_file
from datadog_checks.dev.tooling.constants import set_root

import os
import json

ROOT = '/Users/nicholasmuesch/git/integrations-core/'
NEW_MANIFEST = {
    'assets': {
        'monitors': {},
        'dashboards': {},
        'service_checks': '{}'
    }
}

def get_updated_manifest(service_check_path):
    NEW_MANIFEST['assets']['service_checks'] = service_check_path
    return NEW_MANIFEST

if __name__ == "__main__":
    set_root(ROOT)
    checks = get_valid_integrations()
    for check in checks:
        print(f'Modifying {check}')
        current_dir = f'{ROOT}{check}'
        manifest_file = get_manifest_file(check)
        manifest = load_manifest(check)

        # Make required dirs
        os.mkdir(f'{current_dir}/assets')
        if os.path.exists(f'{current_dir}/logos'):
            os.mkdir(f'{current_dir}/assets/logos')
            os.rename(f'{current_dir}/logos/', f'{current_dir}/assets/logos/')

        # Move contents from root to new dirs
        os.rename(f'{current_dir}/service_checks.json', f'{current_dir}/assets/service_checks.json')

        # Update the manifest file to include this new locations
        manifest.update(get_updated_manifest(f'{check}/assets/service_checks.json'))

        with open(manifest_file, 'w+') as f:
            f.write(f'{json.dumps(manifest, indent=2)}\n')

Review checklist (to be filled by reviewers)

[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] Feature or bugfix must have tests
[ ] Git history must be clean
[ ] If PR adds a configuration option, it must be added to the configuration file.

Doc wise we checked with @nmuesch and it's good to go, just ping us before merging it so that we can update one variable in our build script.

@gzussa I updated the ddev create templates to move the service checks file inside the assets folder and added the new assets section to the manifest.


Can't find element

Chrome/program crashing when i try to FindElement..

Element email = gc.FindElement(ByName("emailOrPhone"));

Edit: same with firefox

Just happen when i use selenium beta :(

@SrMilton,
I'm busy tonight, trying to find mistakes tomorrow.

@SrMilton
I made out a given oen old bug, he is bound because then the first developer made castoms shared_ptr and he is non-safe threads.
Fixing that bug will take a long time, since you need to completely replace Shared custom with standard C++ std::shared_ptr.

@SrMilton and @MaGicSuR,
Problem I fixed, new patch tested in firefox debian 10.
I looked for a problem in the code for a long time, it turned out that the server simply did not return the status value in the json file. Thank you so much for finding the bugs.
Commit: https://github.com/GermanAizek/webdriverxx/commit/f961b67a1cc9a50865e4d931fdfbcc1e319aa07b

@SrMilton,
Answer, please, did I fix the bug?

@GermanAizek sorry man, i have no time to test this now. Be patient 😄 :x..


Develop

Introduction
This is a

[ ] New feature
[ ] Fix for ...
[x] General improvement
[ ] Backward incompatible change

It closes #48
Describe the change
...
How to use it
...
Sample code

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@973f42c). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master      #49   +/-   ##
=========================================
  Coverage          ?   17.94%
  Complexity        ?      250
=========================================
  Files             ?       15
  Lines             ?      702
  Branches          ?        0
=========================================
  Hits              ?      126
  Misses            ?      576
  Partials          ?        0

Impacted Files
Coverage Δ
Complexity Δ

src/Console/InitCommand.php
0% <0%> (ø)
38 <0> (?)

src/Console/UpdateCommand.php
0% <0%> (ø)
17 <0> (?)

Continue to review full report at Codecov.

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


Create custom sign-up screen for GUI

We don't have any design for this screen, so it has been made with inspiration of the login screen.
Links for sign up for all the environments can be found here:
https://github.com/Energinet-DataHub/green-force-art/blob/main/wiki/datahub/environments/signup-and-signin-to-datahub-app.md

@frontend-specialisten Is it possible to make a link to the sign up page , on the login page?

@MadsBloendAndersen I will try look what we can do, but it should be possible

@frontend-specialisten i can create a new story for that if you'll like?


Upgrades package following deprecations.

Follows https://atom.io/docs/v0.186.0/upgrading/upgrading-your-package
for upgrading classes that extend SelectListView.
Updates specs.

Do you want to take over this package?  I have not been using Atom lately, so I probably won't work on it much.

I'd love to. Though, it should be solid for now and until the Atom team deprecates/changes things in the future.


Sync scrolling not working

I don't seem to get any synced scrolling behavior. I'm on MacOs 10.14 and Sublime 3.2.2 and just installed the plugin today via Package Control. Do I have to enable it somewhere? I don't see it in preferences.

It depends what you mean by sync scrolling.
I don't think there is a way to scroll the preview as you scroll the markdown file, because we can't detect scroll in a view.
All we can do is set the scroll offset when you type. I haven't implemented that in the new version, though looking at v2, it doesn't look like it should be too hard. I'll have a go at it soon (though any PR is more than welcome :slightly_smiling_face:)


Whitespace characters are near invisible in High Contrast theme

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.56.2
OS Version: 21H1 build 19043.985

Steps to Reproduce:

Set Theme to High Contrast
Via Settings, enable All whitespace characters
Observe some code

The whitespace characters are there, but very difficult to distinguish. I am a full time High Contrast theme user and the lack of contrast for whitespace characters forces me to switch themes if I want to actually see them.

Updated the colors so these are more prominent:

Which also allows them to be visible on selection:

I noticed that the whitespace is not rendering upon selection if I select selection on the "Render Whitespace" option.

It seems to just not be working on the high contrast theme.

It looks like the selection has been broken for a while now sine I can repro in stable. The fix here is to make this appear better for boundary and all. I'll create a separate issue for the selection state.


[KeyVault] adding id parsing commands

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[x] The PR has modified HISTORY.rst with an appropriate description of the change (see Modifying change log).

Command Guidelines

[x] Each command and parameter has a meaningful description.
[x] Each new command has a test.

(see Authoring Command Modules)

This introduces new commands to parse key vault identifiers.  It is intended as a workaround for https://github.com/Azure/azure-cli/issues/3499

Codecov Report

Merging #3881 into master will increase coverage by 0.02%.
The diff coverage is 89.47%.

@@            Coverage Diff             @@
##           master    #3881      +/-   ##
==========================================
+ Coverage   70.93%   70.95%   +0.02%
==========================================
  Files         428      428
  Lines       27048    27066      +18
  Branches     4119     4119
==========================================
+ Hits        19187    19206      +19
+ Misses       6608     6607       -1
  Partials     1253     1253

Impacted Files
Coverage Δ

...ault/azure/cli/command_modules/keyvault/_params.py
86.56% <100%> (+0.3%)
:arrow_up:

...yvault/azure/cli/command_modules/keyvault/_help.py
100% <100%> (ø)
:arrow_up:

...vault/azure/cli/command_modules/keyvault/custom.py
70.02% <100%> (+0.45%)
:arrow_up:

...ult/azure/cli/command_modules/keyvault/commands.py
100% <100%> (ø)
:arrow_up:

...zure/cli/command_modules/keyvault/_command_type.py
72.97% <33.33%> (-1.68%)
:arrow_down:

...c/azure-cli-testsdk/azure/cli/testsdk/utilities.py
72.72% <0%> (-13.64%)
:arrow_down:

src/azure-cli-core/azure/cli/core/cloud.py
70.9% <0%> (-2.28%)
:arrow_down:

...dback/azure/cli/command_modules/feedback/custom.py
31.25% <0%> (ø)
:arrow_up:

...li-cloud/azure/cli/command_modules/cloud/custom.py
14.45% <0%> (ø)
:arrow_up:

src/azure-cli-core/azure/cli/core/util.py
70.06% <0%> (ø)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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

Closing PR as there isn't an immediate need for this workaround.  If a greater need arises we can revisit.


--dump-extension-api-with-docs produces incorrect documentation for some data types

Tested versions
4.3-dev, d76c1d0e516fedc535a2e394ab780cac79203477 the first commit after 4.2
System information
MacOS Sonoma 14.0
Issue description
MacOS
Steps to reproduce
Run the Godot editor with the option --dump-extension-api-with-docs
And it seems to be filling some stubs for Vector operations with the stock documentation for it
Consider Vector4i, the operator '/' instead of producing this:
Divides each component of the [Vector4i] by the given [float].

Gets this node:
Divides each component of the [Vector4i] by the given [int].

Judging from my tool, this only happens for the Vector types:
 generated-builtin/Vector2.swift                     |   18 -
 generated-builtin/Vector2i.swift                    |   15 -
 generated-builtin/Vector3.swift                     |   30 --
 generated-builtin/Vector3i.swift                    |   15 -
 generated-builtin/Vector4.swift                     |   18 -
 generated-builtin/Vector4i.swift                    |   19 -

Minimal reproduction project (MRP)
No need for a project.

CC @rburing

Consider Vector4i, the operator '/' instead of producing this:

the operator? There are two divide operators?

It does indeed use the same description for each operator, will look at the generation code and see if there's some issue there

Sorry, I overlooked this. I can fix it, but if you're already on it then go ahead.

You go ahead, I was just looking into it 🙂

Gave up on my tweaking with this, but one observation for fixing this:
The extension generates operators that isn't in the documentation, for example String operator% generates for each type, but the documentation only contains one, for Variant (so the check needs to do some check for this)


video stops when set position in code behind

but audio keeps going.
if you need a file that can reproduce this issue, please contact me<EMAIL_ADDRESS>

@khouzam  How about this issue?

I'm not sure I see the issue.
I've added a click handler with the following code to seek when the button
void MediaPlayerCPP::MainPage::ButtonClicked(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e)
{
    Windows::Foundation::TimeSpan span;
    span.Duration = 500000000L;   // convert 1 sec to 100ns ticks

    mediaElement->Position = span;
}

This works both with force decode and not.
If you can share repro steps that would be really helpful.

Problem fixed after I updated source code of this repo.
Thanks.


Add Mplayer For videos and movies.

Could you please consider adding mplayer so it would be accessible to watch movies or videos.

You can look at using an unofficial solution such as Anberports for this.  https://github.com/krishenriksen/AnberPorts.  I will not be adding this feature natively at this time.

the Kodi on AnberPorts does not work could you possibly help


Additional variable in template influences on style merging behaviour

Version
3.0.0-rc.5
Reproduction link
https://codepen.io/MissedWarrior/pen/PoNqyWx
Steps to reproduce

Click "Toggle" button several times
Uncomment div block with backgroundColor variable
Click "Toggle" button several times after compilation

What is expected?
Behaviour is similar
What is actually happening?
In first case color is switching from red to white, in second case color is always red

Tested using the fiddle with the latest Vue 3 at #1828 and it works. (Note you have to use backgroundColor: 'blue' instead of background

@posva thanks for clarifcation. The only thing that I didn't undestand is behaviour when another variable is in the template: why does color always stay red? Does it trigger another update cycle that updates the state of styles?


CreateSharedWindowException when running implicitview

Hi, I get this exception when running implicitview
CreateSharedWindowException
"WindowConfig {configWidth = 640,
configHeight = 480,
configTitle = \"\",
configMonitor = Nothing,
configHints = [WindowHint'Visible False,
WindowHint'ContextVersionMajor 3,WindowHint'ContextVersionMinor 3,WindowHint'OpenGLForwardCompat True,
WindowHint'OpenGLProfile OpenGLProfile'Core], configSwapInterval = Nothing}"

It might be related to my system, I am running Nixos, with   hardware.opengl.enable =  true;, using the xmonad window manager. Not using any Nvidia cards or anything, and other OpenGL programs seem to work(at least, if they are wrapped with nixGL. I used stack build --nix-pure to build the project (because quickspec is broken in Nixpkgs) and wasn't in the provided nix-shell. Let me know if you need more information.
Thank you in advance.

Hi, thanks for the report! Hopefully fixed by #7, recent implicit doesn't need quickspec so nix-build works fine again.
I've also pinned it to good known revision of nixpkgs, to build using systems nixpkgs you can use nix-build --argstr rev local.
I've tested nix-built version on a laptop with Intel graphics and it works well. I'm xmonad user as well :smiley:

I can report that it works on my machine now! Thank you so much!

Cool, you're welcome!


587- side bar dimensions adjusted

"Discard all changes" button now fits in the screen.
Problem occurred because of wrong definition of dimensions in SCSS file.

Tested and accepted
Version: 3.3.1.SNAPSHOT


D3 zoom not working with mousewheel in safari Version 8.0 (106<IP_ADDRESS>) (Mac)

I am using d3.behavior.zoom().scaleExtent to achieve the zoom functionality. But this doesn't work in Safari Version 8.0 (106<IP_ADDRESS>) in Mac OS.
Even the example provided in the link http://bl.ocks.org/mbostock/6123708 doesn't work in above mentioned Safari version.
It works with double click and (shift + double click) but zoom with mousewheel doesn't work.

Unfortunately, I no longer have a way of testing on Safari 8 and I am unable to reproduce your problem on Safari 9, so I am unable to investigate further. If you can provide further information then I will take another look.

@mbostock
Hey, I have similar behavior and I can reproduce on Safari 10 (FF, Chrome works as expected).
Here is a fiddle https://jsfiddle.net/vbabenko/zq0v1rta/1/
Reproduce (Safari):

Wheel zoom on 'red' block

zoom works

Try to wheel zoom on svg element

wheel zoom doesn't work

Wheel zoom doesn't work on svg element. Note that dbClick is working on svg
Could you please advise? Everything is as described in original ticket.


DataFrame constructor when passed a Series

If I do:
a=Series([1,2,3],index=['a','b','c'],name='x')
b=DataFrame(a)
I would expect b to have a single column 'x' with indices a,b,c; instead only a.values is retained.

good point. added this in the above commit

I noticed that the series index is still ignored, and the resulting dataframe has a default index. Is this a specific design decision?

Oops-- an oversight. fixed and tested in the above commit


For consistency with other types, allow empty UINFO RDATA

Ref https://github.com/miekg/dns/pull/421#discussion_r90610949

thanks for the cleanup!


Fixed #598

Can you rename these PRs so they somewhat match the bug they're addressing? Thanks

Can you rename these PRs so they somewhat match the bug they're addressing? Thanks

Okay sure.


Adding SUSE to list of operating systems

SUSE is a supported operating system for SSM.
See BOTO3 docs:
http://boto3.readthedocs.io/en/latest/reference/services/ssm.html#SSM.Client.create_patch_baseline

Thanks!


chore(Java): add NKnights algorithm

This is a Java Program to find all the possible combinations to place N Knights in an N X N Chessboard such that they all are non-attacking to each other.
Please check my program.

This solution is for placing "N" Knights only in a" N*N "chessboard.

Have a look on this picture

In your program, you have checked for 4 moves but actually you have to check for all 8 possible positions.

Sorry, I got it, Since you are backtracking (recursion). We actually don't have to check for lower positions: we are placing knights row by row. So checking for each row we only have to check for upper positions.
Suggestion: Can you add description of your algorithm in the code. that would be helpful. THANKS


exceptions.AttributeError: 'schedulerName, tolerations' are not among the specified fields for v1.PodSpec

I got this from my Google Container Engine 1.6.4 cluster:
$ kubetop
Traceback (most recent call last):
Failure: twisted.internet.defer.FirstError: FirstError[#1, [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.defer.FirstError'>: FirstError[#1, [Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'schedulerName, tolerations' are not among the specified fields for v1.PodSpec
/usr/local/lib/python2.7/site-packages/twisted/web/_newclient.py:1220:_bodyDataFinished_CONNECTED
/usr/local/lib/python2.7/site-packages/twisted/web/client.py:2152:connectionLost
/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py:459:callback
/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py:567:_startRunCallbacks
--- <exception caught here> ---
/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
/usr/local/lib/python2.7/site-packages/eliot/twisted.py:82:callbackWithContext
/usr/local/lib/python2.7/site-packages/eliot/_action.py:389:run
/usr/local/lib/python2.7/site-packages/txkube/_network.py:311:<lambda>
/usr/local/lib/python2.7/site-packages/pyrsistent/_helpers.py:80:inner_f
/usr/local/lib/python2.7/site-packages/txkube/_model.py:94:iobject_from_raw
/usr/local/lib/python2.7/site-packages/pyrsistent/_pclass.py:113:create
/usr/local/lib/python2.7/site-packages/txkube/_swagger.py:756:discard_constant_fields
/usr/local/lib/python2.7/site-packages/txkube/_swagger.py:754:ctor
/usr/local/lib/python2.7/site-packages/txkube/_model.py:260:__new__
/usr/local/lib/python2.7/site-packages/pyrsistent/_pclass.py:52:__new__
/usr/local/lib/python2.7/site-packages/pyrsistent/_checked_types.py:221:_checked_type_create
/usr/local/lib/python2.7/site-packages/pyrsistent/_pclass.py:113:create
/usr/local/lib/python2.7/site-packages/txkube/_swagger.py:756:discard_constant_fields
/usr/local/lib/python2.7/site-packages/txkube/_swagger.py:754:ctor
/usr/local/lib/python2.7/site-packages/pyrsistent/_pclass.py:52:__new__
/usr/local/lib/python2.7/site-packages/txkube/_swagger.py:347:optional
/usr/local/lib/python2.7/site-packages/pyrsistent/_pclass.py:113:create
/usr/local/lib/python2.7/site-packages/txkube/_swagger.py:756:discard_constant_fields
/usr/local/lib/python2.7/site-packages/txkube/_swagger.py:754:ctor
/usr/local/lib/python2.7/site-packages/pyrsistent/_pclass.py:67:__new__
]]
]]

(kubetop <IP_ADDRESS>)
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.6", GitCommit:"7fa1c1756d8bc963f1a389f4a6937dc71f08ada2", GitTreeState:"clean", BuildDate:"2017-06-16T18:34:20Z", GoVersion:"go1.7.6", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.4", GitCommit:"d6f433224538d4f9ca2f7ae19b252e6fcb66a3ae", GitTreeState:"clean", BuildDate:"2017-05-19T18:33:17Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"}

Thanks.  I think this is the same issue as #33.  There's a PR, #44, which probably fixes it.  I've been unable to make progress on getting that PR merged because my 1.6.x cluster seems to behave differently from others with respect to stats collection (ie, I can't collect any stats from it).


0v reports 256% charge

Was reading the voltage and percentage, and one reading was completely off, leading to this result:
  voltage = lipo.getVoltage();
  soc = lipo.getSOC();
  Serial.println("Battery Voltage = " + String(voltage) + " (" + String(soc) + "%)");

output:
08:16:44.717 -> Battery Voltage = 4.17 (97.98%)
08:16:45.739 -> Battery Voltage = 4.17 (97.98%)
08:16:46.711 -> Battery Voltage = 4.17 (97.98%)
08:16:48.706 -> Battery Voltage = 0.00 (256.00%)
08:16:49.727 -> Battery Voltage = 4.17 (97.98%)
08:16:50.748 -> Battery Voltage = 4.17 (97.98%)

Looks like there's a bug where 0v equates to 256% instead of 0%.

Hi Morten (@dotMorten ),
Thanks for reporting this.
Looking at the getSOC code:
  uint16_t soc;
  float percent;
  soc = read16(MAX17043_SOC);
  percent = (float)((soc & 0xFF00) >> 8);
  percent += ((float)(soc & 0x00FF)) / 256.0;

The only way percent can be 256% is if soc is 0xFFFF. Which is clearly invalid... And also very weird since read16 will return 0x000, not 0xFFFF, if the I2C transmission fails.
getVoltage uses a completely separate I2C transmission ( vCell = read16(MAX17043_VCELL); ).
Best guess, the MAX1704n was having a momentary bad day, or there was a drop in I2C communication?
I can 'fix' this by checking for soc == 0xFFFF and then returning zero %. But maybe it is better to leave the code as-is? 256% is more obviously wrong. The battery could legitimately report zero % when depleted.
Does this happen often? It would be really useful to be able to see the debug messages around this. Could you repeat with lipo.enableDebugging(); enabled?
Very best wishes,
Paul

Thanks for this analysis. Yesterday I also observed a momentary 5.12v which also resulted in 256%.

Hi @dotMorten ,
I’m closing this… The 256% issue with the ESP was due to a lack of pull-up resistors on the I2C bus. With pull-ups, the issue goes away.
Hope you’re doing ok.
Very best wishes,
Paul


Error when download from lynda

When I download as Organisation with cookie from Lynda I get some python related error. How to fix it?
youtube-dl --write-pages --cookies cookies.txt --verbose https://www.lynda.com/JavaScript-tutorials/Webpack-Deep-Dive/604264-2.html

Error
File "/usr/lib/python2.7/httplib.py", line 1035, in putheader
    raise ValueError('Invalid header value %r' % (one_value,))
ValueError: Invalid header value 'litrk-srcveh=srcValue=direct/none&vehValue=direct/none&prevSrc=&prevVeh=\r; show-member-tour-cta=true\r; player_settings_0_7=player_type=2&video_format=2&cc_status=2&window_extra_height=148&volume_percentage=50&resolution=0\r ...........end a lot of other stuff

Carefully read new issue template and provide all requested information.


Enable optionals (non-nullable..) on lib/src only

On large projects we are really missing optionals (?) and @NonNullable. It's actually the main reason for our crashes from models. Almost all other frameworks have this for mobile development now, TS, Swift, Kotlin.
We are aware that this feature exists in Flutter but enabling it causes issues with 3rd party libraries and Flutter Widgets.
As the title would it be possible to have optionals expirimental feature on ONLY your own lib/src files?

@ollydixon Sorry to disappoint you but currently the Dart-Lang team is still working on these or have you seen this inside the Flutter framework?

@escamoteur I'm aware of all of that, but the problem is 3rd parties will never be supported fully.
Some libraries have not been updated in years which is way locational directory support is required like it is on other Flutter expiriments.

No that's not the only problem. As far as I know nullables are just finished yet.

@escamoteur they work fine if you have the flag on. If directory isolation was on for expirimentals that is all we need.

Doing this:

Is super lame for a modern langauge...

You should develop with c for some time 😏
Best to ask at the Dart repository.

The development of NNBD with incremental migration is tracked here:
https://github.com/dart-lang/language/issues/110
As soon as it is available in the dart language, they'll be available to Flutter - and we'll likewise start updating the flutter SDK to use them

@jonahwilliams thanks, is there any reason why we are calling this "non-nullables" instead of the correct name of optionals?

You'd have to ask a language designer :man_shrugging:


Look forward to the author adding agents for Chinese developers in the code, thanks a lot!

Describe the feature
Look forward to the author adding agents for Chinese developers in the code, thanks a lot!

You can try adding a proxy by replacing the default fetch: https://github.com/transitive-bullshit/chatgpt-api/issues/419#issuecomment-1452108845

I'd be very open to a PR which improves the readme around how to use a proxy here.

Closing this now as stale; feel free to follow up in the chinese section of our discord https://www.chatgpthackers.dev


Use the getpass module instead of "input" for obtaining user passwords

https://github.com/weskerfoot/DeleteFB/blob/748bd851e72881d55022bf14381ec52116a8c9e0/deletefb/deletefb.py#L54

@weskerfoot would you accept a pull request if I made one? I think this lies more in the security realm than the enhancement realm

Just created a pull request, it's a pretty simple drop-in replacement: https://github.com/weskerfoot/DeleteFB/pull/19

Fixed in https://github.com/weskerfoot/DeleteFB/pull/19
Thanks!


Correction for raw affiliation CEREA, Ãcole des Ponts ParisTech, EDF R&D, IPSL, Marne-la-VallÃ©e, 77455, France

Correction needed for raw affiliation CEREA, Ãcole des Ponts ParisTech, EDF R&D, IPSL, Marne-la-VallÃ©e, 77455, France
raw_affiliation_name: CEREA, Ãcole des Ponts ParisTech, EDF R&D, IPSL, Marne-la-VallÃ©e, 77455, France
new_rors: 02nwvxz07;03a84yw54;03wb8xz10
previous_rors: 02nwvxz07;03a84yw54
works_examples: W4386729427;W4366175302;W4385646305
contact: d7d1e8d021ee70b97aa19d230b75b966:32b491dbc3d6bf14225cf9a9f4911d @ recherche.gouv.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


Private results not showing up when using search

When searching by the id of a private item it is not showing up

Working now


doesn't work on safari/ios

Is there not a drag feature with safari on ios?
It's not working for me.

The library itself does not provide UI, do you mean the demo?


Missing Positional Arguments from CLI/Config File

Bug description
Based on this discussion, I am using dataclass_from_signature to give type hints to methods that are used to create Torch models in a LightningModule, so that the types of arguments passed from CLI/config file can be recognized.
However, I have some problems when those methods require positional arguments (e.g., depends on something created after starting the trainer).
What version are you seeing the problem on?
v2.0
How to reproduce the bug
My BoringModel

import torch.nn as nn
import lightning as L

import inspect
from dataclasses import make_dataclass, field, asdict
def dataclass_from_signature(component):
    fields = []
    for param in inspect.signature(component).parameters.values():
        if param.default is inspect.Parameter.empty:
            fields.append((param.name, param.annotation))
        else:
            fields.append((param.name, param.annotation, field(default=param.default)))
    return make_dataclass(f'{component.__name__}_parameters', fields)

from typing import List
def create_model(
    in_channels: int,
    layer_dims: List[int],
    out_channels: int = 1000,
    kernel_size: int = 3,
):
    l = layer_dims # do sth about layer_dims

    return nn.Conv2d(in_channels, out_channels, kernel_size=kernel_size)

model_kwargs_type = dataclass_from_signature(create_model)
class BoringModel(L.LightningModule) :
    def __init__(
        self,
        model_kwargs: model_kwargs_type = model_kwargs_type(),
    ):
        super().__init__()
        self.save_hyperparameters()

        model_kwargs = asdict(model_kwargs)
        in_channels = model_kwargs['in_channels']
        channels = model_kwargs['channels']
        self.model = create_model(in_channels, channels, **model_kwargs)

    def forward(self, x):
        pass

    def training_step(self, batch, batch_idx):
        pass

    def validation_step(self, batch, batch_idx):
        pass

    def test_step(self, batch, batch_idx):
        pass

My config yaml file
model:
  class_path: debug.pos_arg.boring_model.BoringModel
  init_args:
    model_kwargs:
      in_channels: 1
      layer_dims: [1,2,3]
      out_channels: 10
      kernel_size: 1

data:
  class_path: lightning.pytorch.demos.boring_classes.BoringDataModule

trainer:
  accelerator: auto

Error messages and logs
If there are some positional arguments, then it gives this error:
main.py [options] fit: error: Parser key "model":
  create_model_parameters.__init__() missing 2 required positional arguments: 'in_channels' and 'layer_dims'

It seems that this error is raised before model_kwargs_type() in BoringModel.init(...) is executed.
Environment
No response
More info

About the List[int] type parameter, also tried to use field(default_factor=...) as [here] (https://stackoverflow.com/a/73382762/11956857) suggested, but it resulted in another error:
main.py [options] fit: error: Parser key "model":
  cannot pickle 'mappingproxy' object

This seems to happen after model_kwargs_type() but before self.save_hyperparameters() in __init__(...)
I guess it is the List type positional argument causing this problem. Is there a recommended way to pass List/Dict type positional argument from CLI?

@tommycwh could you please share the content of your main.py file?
I've tried to reproduce you issue and can point out a few moments:

create_model_parameters.__init__() missing 2 required positional arguments: 'in_channels' and 'layer_dims' would hapen even without lightning. In = model_kwargs_type() you are trying to instantiate a model_kwargs_type instance without providing in_channels or layer_dims. This instantiation would happen when you try to import your model, regardless of Lightning CLI. To fix that you just need to make a folowing change:

            model_kwargs: model_kwargs_type = model_kwargs_type(),
            # ->
            model_kwargs: model_kwargs_type,

    channels = model_kwargs['channels']
KeyError: 'channels'

I guess you meant out_channels
3.
    self.model = create_model(in_channels, channels, **model_kwargs)
TypeError: create_model() got multiple values for argument 'in_channels'

Just change create_model(in_channels, channels, **model_kwargs) to create_model(**model_kwargs), you have all the args in model_kwargs anyway
If you do those steps, and would try following main.py file:
# main.py
from lightning.pytorch.cli import LightningCLI
from lightning.pytorch.demos.boring_classes import BoringDataModule

from debug.pos_arg.boring_model import BoringModel

def cli_main():
    LightningCLI(subclass_mode_model=True, model_class=BoringModel, subclass_mode_data=True, datamodule_class=BoringDataModule)

if __name__ == "__main__":
    cli_main()

It seems to work fine

I am sorry for my late reply. I tried the changes you recommended and all work well. As a reference, I put the updated code below, including main.py.
boring_model.py
import torch.nn as nn
import lightning as L

import inspect
from dataclasses import make_dataclass, field, asdict
def dataclass_from_signature(component):
    fields = []
    for param in inspect.signature(component).parameters.values():
        if param.default is inspect.Parameter.empty:
            fields.append((param.name, param.annotation))
        else:
            fields.append((param.name, param.annotation, field(default=param.default)))
    return make_dataclass(f'{component.__name__}_parameters', fields)

from typing import List
def create_model(
    in_channels: int,
    layer_dims: List[int],
    out_channels: int = 1000,
    kernel_size: int = 3,
):
    l = layer_dims # do sth about layer_dims

    return nn.Conv2d(in_channels, out_channels, kernel_size=kernel_size)

model_kwargs_type = dataclass_from_signature(create_model)
class BoringModel(L.LightningModule) :
    def __init__(
        self,
        # model_kwargs: model_kwargs_type = model_kwargs_type(), # error
        model_kwargs: model_kwargs_type,
    ):
        super().__init__()
        self.save_hyperparameters()

        model_kwargs = asdict(model_kwargs)
        self.model = create_model(**model_kwargs) # included all kwargs

    def forward(self, x):
        pass

    def training_step(self, batch, batch_idx):
        pass

    def validation_step(self, batch, batch_idx):
        pass

    def test_step(self, batch, batch_idx):
        pass

config yaml
model:
  class_path: boring_model.BoringModel
  init_args:
    model_kwargs:
      in_channels: 1
      layer_dims: [1,2,3]
      out_channels: 10
      kernel_size: 1

data:
  class_path: lightning.pytorch.demos.boring_classes.BoringDataModule

trainer:
  accelerator: auto

main.py
# main.py
from lightning.pytorch.cli import LightningCLI
import lightning as L

def cli_main():
    # note: don't call fit!!
    cli = LightningCLI(L.LightningModule, L.LightningDataModule,
                                   subclass_mode_model=True, subclass_mode_data=True,
                                   auto_configure_optimizers=False,
                                   )

if __name__ == "__main__":
    cli_main()
    # note: it is good practice to implement the CLI in a function and call it in the main if block

Thank you very much for your help!


[cxx-interop] Do not export enums with indirect associated values

We do not support any sort of indirect enums yet, the code gets into an infinite recursion. Let's skip exporting these types to C++ for now until proper support is implemented.
rdar://134852756

@swift-ci please smoke test


Allowing to use the Bridge card in Virtualbox

Would it be possible to allow your software to connect to a static IP address that we can set in the VMbox so we can connect to a IP from our routers?

the VM should be setup to use the static ip of the VM <IP_ADDRESS>

Thanks


lint-staged doesn't work out-of-the-box

Hi, great theme. When I went to set it up right now I got this error when trying to commit:
✔ Preparing lint-staged...
❯ Running tasks for staged files...
  ❯ package.json — 74 files
    ❯ * — 74 files
      ✖ prettier --plugin-search-dir=. --write [FAILED]
↓ Skipped because of errors from tasks. [SKIPPED]
✔ Reverting to original state because of errors...
✔ Cleaning up temporary files...

✖ prettier --plugin-search-dir=. --write:
[error] No parser could be inferred for file: public/assets/dev.svg
[error] No parser could be inferred for file: public/assets/logo.png
[error] No parser could be inferred for file: public/assets/logo.svg
[error] No parser could be inferred for file: public/astropaper-og.jpg
[error] No parser could be inferred for file: public/favicon.svg
[error] No parser could be inferred for file: public/robots.txt

I used npm create astro@latest -- --template satnaing/astro-paper because I'm on NPM 9.1.2. I installed into my current working directory (which was empty). I ran npm install after the install. Then I ran git add . and git commit -m 'Init AstroPaper blog' and that's when I got this error.

If you do not need to run prettier on public, you can simply remove it from the exceptions listed in .prettierignore. Otherwise, you can add in .prettierignore explicit ignore rules for extensions like svg or jpg. See this for more: https://github.com/satnaing/astro-paper/issues/52#issuecomment-1497424808

Thanks again for the great theme. I think my solution was to just rip out all the prettier stuff, which I did before even filing this bug. I just figured we should get this documented.


Touch up tutorial location and install reqs

Signed-off-by: TomSweeneyRedHat<EMAIL_ADDRESS>Changes tutorials.m to a README.md to make it link better.  Adds iptables and atomic-registries to the requirements in install.md.

I need to test on Ubuntu, please hold on merging this atm.

LGTM, waiting your tests.

OK, I'm done picking and it's working on Ubuntu now.  GTG.

LGTM

@TomSweeneyRedHat Git validation shows whitespace errors

Thx @mheon, and ugh. one space after one line.  Just repushed.

@rh-atomic-bot r+


update Godeps.json

like I commented in the slack and irc.
https://github.com/google/cayley/issues/372

Please remove Godeps/_workspace directory from commit

Error about x/sys/unix is related to godep issue https://github.com/tools/godep/issues/377. It's ok to include it in `Godeb.json as a workaround.

My godep was old version :-(  Now I update it and submit again.

@jcmartins Try to restart Travis job. #376 fixed the error.
Also, please squash all the commits and force-push them to your branch - it will at least evict _workspace change (and few other unrelated ones). It will also trigger a new build on Travis.

It was decided to switch to glide, so closing this. But thanks for your effort.


Support Tapyrus-Core 0.4.0

See also https://github.com/chaintope/tapyrus-core/blob/release/v0.4.0/doc/release-notes/tapyrus/release-notes-0.4.0.md

New 'networkid' parameter to configure multiple independent Tapyrus networks, each using a different "networkid".(e.g. magic bytes used in p2p message will change to networkid)
Changed fixed size 'aggregate public key' in block header into variable-length multipurpose ExtraField.
Reduced the number of supported network modes from three(main, testnet and regtest) to two(prod and dev).
Remove segwit address support

See also rust-tapyrus issue(https://github.com/chaintope/rust-tapyrus/issues/13)


Position newly added bond so that mouse cursor is over its atom

When user selects bond tool and clicks on empty space of canvas, the newly added bond is positioned so that its center appears under mouse cursor.

If user doesn't move mouse cursor and clicks again, the bond switches from single to double and from double to triple.

Instead the newly added bond should be positioned so that one of its ends (atoms) appears under mouse cursor.

In such a case additional clicks will lead to adding new bonds to the same atom.

#184005652

Newly added bond is positioned so that its center appears not under mouse cursor
https://github.com/epam/ketcher/assets/62464241/979be922-20a2-48cf-aecc-a9d4c2d77d08


Ngrok unable to delete tunnel sessions

ngrok-api                 0.10.0
if __name__ == "__main__":
    client = ngrok.Client("<token>")
    for ses in client.tunnel_sessions.list():
        client.tunnel_sessions.stop(ses.id)

ngrok.error.Error: (Error(...), 'You did not provide a Content-Type with your request. Please check your API client implementation and use one of the supported content types: https://ngrok.com/docs/api#content-types')

@stikkireddy Is there a you are using the ngrok-api-python library instead of  our python SDK? I'm curious if there's a capability you need that is in the former and not the latter.


AR-3229 once you hit 500+ indexes or have exceptionally large indexes…

…, the 30s default snapshot timeout in elasticsearch might not be enough. Robustifying to allow up to 30min for snapshot operations.

Looks good to me


[QUESTION] Server-scoped DI override for a shared Service

I have multiple servers in under the same file directory, that utilize shared generic Services
For example:
/shared/services/db.service.ts
@Injectable()
export class MySqlConfig implements PoolConfig { }

@Service()
export class DbService implements IDbService, OnDestroy {

  constructor(config: MySqlConfig) {
    this.core = new DbServiceCore(config);
  }

  private core: IDbService;

 // ...

}

The above is to be shared and used with the intent that each Server would override the DI for MySqlConfig and pass its own parameters in. Such as:
/auth/server.ts
export const MySqlConfigAuth: PoolConfig = {
  host: 'localhost',
  // ...
  database:  'db_auth'
}

registerProvider({
  provide: MySqlConfig,
  useValue: MySqlConfigAuth
});

And this works in limited use. But when I then attempt to unit test, it seems that the registerProvider method, overrides that in a scope outside of the server instance. So that the DI is not appropriately resolving when I then bootstrap the server on the PlatformTest
I can confirm this, because the errors I am getting are because the wrong SQL configs are being injected into my services.
Is there a way I can register providers on a Server specific level?

Hello @reed-lawrence
I think, you shouldn't use the useValue for this usecase.
If you have a configuration related to a the server, you should use the @Configuration decorator.
import {Configuration} from "@tsed/di";

@Configuration({
    mysql: {
      host: 'localhost',
      database:  'db_auth'
   }
})
export class Server {}

Then:
@Service()
export class DbService implements IDbService, OnDestroy {
  constructor(@Configuration() configuration: Configuration) {
    const mysqlConfig = configuration.get('mysql')
    this.core = new DbServiceCore(mysqlConfig);
  }
}

Unit test:

describe('DbService', () => {
    beforeEach(() => PlatformTest.create({
       mysql: {} // set props to you unit test
    })
    afterEach(PlatformTest.reset)
    it('should do something', async () => {
       const dbService = await PlatformTest.invoke(DbService, [])
    })
})

See you
Romain

Hello @reed-lawrence
I think, you shouldn't use the useValue for this usecase.
If you have a configuration related to a the server, you should use the @Configuration decorator.
import {Configuration} from "@tsed/di";

@Configuration({
    mysql: {
      host: 'localhost',
      database:  'db_auth'
   }
})
export class Server {}

Then:
@Service()
export class DbService implements IDbService, OnDestroy {
  constructor(@Configuration() configuration: Configuration) {
    const mysqlConfig = configuration.get('mysql')
    this.core = new DbServiceCore(mysqlConfig);
  }
}

Unit test:

describe('DbService', () => {
    beforeEach(() => PlatformTest.create({
       mysql: {} // set props to you unit test
    })
    afterEach(PlatformTest.reset)
    it('should do something', async () => {
       const dbService = await PlatformTest.invoke(DbService, [])
    })
})

See you
Romain

Excellent!

Excellent!


macOS Install Error: YARA-Python 4.3.1

Encountering an error on macOS platform when attempting to download the YARA-Python library, specifically version 4.3.1. This issue disrupts the installation process for requirements and results in a critical failure, preventing the tool from being executed.
Error Message:
Building wheels for collected packages: yara-python
Building wheel for yara-python (setup.py) ... error
error: subprocess-exited-with-error
python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [227 lines of output]
/opt/homebrew/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in setup.cfg
Environment Information:
macOS version: Sonoma 14
Python version: Python 3.11.6
Homebrew version: Homebrew 4.2.0

Hi @Andi-A sorry for the delay. I've changed the yara depenency, so if you pull the latest code it should work for you now. Please let me know if you have any issues.

Hey @chrisdoman, it's working just fine now. Thanks for helping out, appreciated it very much!


Azure Keyvault not loaded by Dapr Client during Asp net core web api app start

Ask your question here
In Azure Container apps; i have configured the Dapr Components and have assigned all System Identity permissions as shown:

In the ASP Net Core WebApi Startup or program.cs i have added below code:
 public static void Main(string[] args)
 {
     var builder = WebApplication.CreateBuilder(args);

     // Add services to the container.

     builder.Services.AddControllers();
     // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
     builder.Services.AddEndpointsApiExplorer();
     builder.Services.AddSwaggerGen();
     builder.Configuration.AddDaprSecretStore("keyvault", new DaprClientBuilder().Build(), TimeSpan.FromMinutes(1));

     var app = builder.Build();

And i have a controller as shown:
[Route("api/[controller]")]
[ApiController]
public class HelloController : ControllerBase
{
    IConfiguration m_Configuration;

    public HelloController(IConfiguration configuration)
    {
        m_Configuration = configuration;
    }

    // GET: api/<HelloController>
    [HttpGet]
    public IActionResult Get()
    {
        //using var client = new DaprClientBuilder().Build();
        //var result = client.GetBulkSecretAsync("keyvault").Result;

        return Ok(JsonSerializer.Serialize<IConfiguration>(m_Configuration));
    }
}

if i deploy above app in a container to container apps; it successfully deploys and when i visit/shoot API
GET /api/hello
then response is Empty i.e IConfiguration is empty
However; when i remove below line from Program.cs
 builder.Configuration.AddDaprSecretStore("keyvault", new DaprClientBuilder().Build(), TimeSpan.FromMinutes(1));
and uncomment below line in Controller Method:
 //using var client = new DaprClientBuilder().Build();
         //var result = client.GetBulkSecretAsync("keyvault").Result;

and then deploy. Upon shooting the same endpoint; the keyvault data is loaded and response is correct.
What am i doing wrong?
Basically i want the IConfiguraiton to be filled in with all KeyVault data during application start.
.NET 8.0
Dapr.AspNetCore 1.13.1
Dapr.Extensions.Configuration 1.13.1
Thanks

@ZenwalkerD I would expect to see some configuration values in the response, even if not those from Key Vault.  ASP.NET infrastructure typically populates a number of them.  I suspect that they're just not being output properly; if I use the same code, I also see no configuration values in the response (despite the IConfiguration  instance verified in the debugger to have many values).  I suspect that the JSON serializer just doesn't know how to deal with IConfiguration as it has no properties.  If, instead, I use:
        return Ok(JsonSerializer.Serialize(_configuration.AsEnumerable()));

I get a response that better matches what I expect.  I would look at doing the same and see if your secrets are, in fact, being loaded.

@ZenwalkerD I would expect to see some configuration values in the response, even if not those from Key Vault. ASP.NET infrastructure typically populates a number of them. I suspect that they're just not being output properly; if I use the same code, I also see no configuration values in the response (despite the IConfiguration  instance verified in the debugger to have many values). I suspect that the JSON serializer just doesn't know how to deal with IConfiguration as it has no properties. If, instead, I use:
        return Ok(JsonSerializer.Serialize(_configuration.AsEnumerable()));

I get a response that better matches what I expect. I would look at doing the same and see if your secrets are, in fact, being loaded.

Thank you. I shall look into this and revert back.


Invoke the CLI on a private hub endpoint

In the context of a private hub deployment, customers would like to use the CLI on their hub, not on the public hub. This doesn't seem to be configurable at the moment and it would be nice to add this feature.
huggingface_hub.HfApi supports configurable endpoints, but this isn't implemented in the CLI, see BaseUserCommand in https://github.com/huggingface/huggingface_hub/blob/4d6b35d41afd23d991e2657aaf3113aa18aa1717/src/huggingface_hub/commands/user.py
The same issue exists with the transformers and datasets library. I'm going to create issues there as well, and I'll reference them below.

For reference:
https://github.com/huggingface/transformers/issues/15514
https://github.com/huggingface/datasets/issues/3679

I have a patch for this. Will keep testing a bit more before sending the PR.


[3.x] export in built-in scripts not working with parent classes that inherit from internal classes in the AutoLoad

Tested versions
3.5.3-stable
System information
6.1.71-1-MANJARO
Issue description
export in built-in scripts not working with parent classes that inherit from internal classes in the AutoLoad. The ones from the script itself seem to work fine. The class gets inherited properly in runtime, however.
Steps to reproduce

Create a script file that contains internal classes.

extends Node
class_name BundleClass

export var my_parent_node_path: NodePath
export var my_parent_string = ""

class MyClass extends Node:
	export var node_path: NodePath
	export var my_string = ""

	func _ready() -> void:
		print(name + ":: I'm from MyClass")

func _ready() -> void:
		print(name + ":: I'm from BundleClass")

Attach the script from (1) into AutoLoad (singleton). In this case, named Bundle

Attach the built-in script to the nodes with scripts below

extends Bundle.MyClass

Export variables aren't shown in the editor.

Add a custom export for the built-in script itself.

export var my_string_2 := ""

The new export variable seems to work while the rest from parent classes don't.

Minimal reproduction project (MRP)
BuiltInScriptExportBug.zip

Weirdly enough, if the built-in script gets inherited using a global class registration (class_name fields), the inherited class instead shows exports from the parent class instead of the internal class from the parent.

Snapshot:
BuiltInScriptExportBug.zip


Workflows: Introduce Sona Scan

Ad the moment, the sona scan workflow is deactivated. We should fix the sonar scan and let it run on main and release branches.
Tasks

[ ] Make sonar scan work for main and release branches

Sonar Scan is not part of the quality assurance strategy for tractus-x at the moment


date ranger filter: suggest custom number interval

we have predefined (fixed) presets within the date range picker.

In case we put in a number, we should also generate on-the-fly possible options for the given time range.
E.g if you enter last 4, we could automatically display:

last 4 minutes
last 4 hours
last 4 days
last 4 months

Sentry does this for example:

From a technical perspective we can just check whether the input string starts with last <number>, and then automatically add the ranges (minutes, hours, days, weeks, month) based on the user retention range.

done in https://github.com/kamilkisiela/graphql-hive/pull/4594


Image URL in profile need not end with any extension

Please remove this limitation, this is not correct.
Usually gravatars are served as blobs. For example, here's mine:
https://avatars0.githubusercontent.com/u/1734792

Wow - I didn't realize this was possible! You're right, I'll remove the new form validation today. Thanks for pointing this out.

These changes are now integrated so I'm closing this issue.


Bugfix : package auto-documentation

Codecov Report
Patch coverage: 82.02% and project coverage change: +0.38 :tada:

Comparison is base (389d7bd) 61.36% compared to head (3d28bc3) 61.74%.

:exclamation: Current head 3d28bc3 differs from pull request most recent head a52e231. Consider uploading reports for the commit a52e231 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #778      +/-   ##
===========================================
+ Coverage    61.36%   61.74%   +0.38%
===========================================
  Files           30       30
  Lines         3507     3508       +1
===========================================
+ Hits          2152     2166      +14
+ Misses        1355     1342      -13

Impacted Files
Coverage Δ

macrosynergy/management/check_availability.py
46.55% <0.00%> (ø)

macrosynergy/panel/category_relations.py
37.50% <14.28%> (-0.80%)
:arrow_down:

macrosynergy/panel/view_timelines.py
91.07% <88.88%> (+15.20%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


The macOS app store still shows the old version, the ios app store shows the new version.

The macOS app store still shows the old version 1.1.0 , the ios app store shows the new version 1.2.0.
Can you also update the macOS app in the app store?

I second this. MacOS App Store version needs updated. it does not function

Yes, the app doesn't actually work on macOS unfortunately, since @fishcakeday updated it. This app is currently in a mostly unmaintained state as I am no longer a nostr user. If anyone would like to submit a PR to fix the app on MacOS, I will publish it. Otherwise, it may be a while.

The version that is uploaded in testflight, i.e. 1.2.0 works perfectly on macOS 15.
You just have to publish this version in the app store.

Check for it now

Yo! There it is 🙌 thanks!

Yup, I see the update now!
Sadly it's now marked as macOS 15.0 only, so doesn't work on my ancient iMac (but it does on my Macbook).


Remote debugging of Python function apps

Hi there,
is it possible to remotely debug a Python function app (premium or dedicated plan) in VS Code?
In Azure portal I was able to enable remote debugging of my as shown below:

When I try to start remote debugging using VS Code Azure functions extension (v1.10.4), I got an error that
Azure remote debugging is currently on supported for Node.js Function Apps running on Linux App Service plans. Consumption plans are not supported

Could you please confirm this and kindly give a hint whether there's any workarounds? Thank you!

We don't currently support remote debugging a Python function app. @MicroFish91 can you investigate this to see if we can add support?

I agree that this would be super helpful. I know there's an integrated debugging feature of .NET apps and Visual Studio, but for us VSCoders and Python folks, the possibility to remote debug would be super helpful.

Is this feature request still under investigation?

@MicroFish91 is this feature added 👀?
if yes, where i can find it's docs ?

I tried simply allowing the extension to try remote debugging a Python function app. While it was trying to create the tunnel proxy, there was no tunnel state returned.
I'm not sure if it's an error on the extension's end or if the service simply doesn't allow remote debugging for Python, but it's a little more complicated than me just turning it on for Python 😞
I'll keep investigating, but if anyone has any documentation for remote debugging on a Python function app, I'd appreciate it if you could share it with me.


Indium v1.0.27 incompatible with Sodium 0.5.5

Game wont launch because indium is incompatible with the latest sodium update. Please fix this.

https://github.com/comp500/Indium/pull/262

But we need it to work with 0.5.5

But we need it to work with 0.5.5

the simplest answer would be:
make it work then
because if you're not contributing to the development you shouldn't be rushing it.
gladly, somebody already has made it work
( if you don't mind checking the previously linked #262 )
else
either downgrade and calm down
or
disable indium and calm down

Should that version also work for 1.20.4?

Should that version also work for 1.20.4?

I'm unsure if you're asking about the capacity of the #262 port to run 1.20.4 or if there's a reason that it shouldn't be ported to 1.20.4,
but my answer resolves both:
it does run on 1.20.4
with the only issue, at the moment, being bad rendering of glass blocks underwater

@D-argon

with the only issue, at the moment, being bad rendering of glass blocks underwater

Are you sure that can be reproduced without Indium and just Sodium? Mind taking some screenshots with and without the Indium fork?

@Poopooracoocoo

Are you sure that can be reproduced without Indium and just Sodium? Mind taking some screenshots with and without the Indium fork?

it wasn't me that found that, it's in the #262 thread
they didn't gave any details except from the problem so idk how to reproduce it (or if its true)
but the similar issue I found occurs with/without sodium or indium

you can remove the version lock of the 1.0.27 .jar yourself: open the jar as a zip file, open fabric.mod.json, change the values for the minecraft version (hint, adding >= in front of the number), save the file back in the jar.


Test with Node v4 in Travis

Also drop Node v0.11 testing, but I can add it back if so desired.
And explicitly update dependencies while I'm at it.

:shipit:

Published as 3.2.0


Problem in using utilities.plot for multiple plots.

The additional features we add to the utilities.plot only work for the last plot.

The problem

is solved by defining the log scale for each axis.

If you look at the previous image I posted the cms styling is only applied to the second graph.


The clear function doesn't seem to work correctly.

Do you want to request a feature or report a bug?
Bug, perhaps caused by scaling.
What is the current behavior?
https://jsfiddle.net/magiclen/35paw6fL/
https://youtu.be/wzfhuZBmv_A
What is the expected behavior?
Clear the whole area.
Which versions of SignaturePad, and which browser / device are affected by this issue? Did this work in previous versions of SignaturePad?

SignaturePad: 4.1.4
Firefox 108.0.2 and Chromium 108.0.5359.124

SignaturePad 4.0 also has this issue.
My Solution
Use context.clearRect(0, 0, canvas.width / ratio, canvas.height / ratio);
https://jsfiddle.net/magiclen/g523x09p/

Your canvas.width is constant 960px but your css width is changing. If you change your canvas width to match the css width it will work.
See https://github.com/szimek/signature_pad#handling-high-dpi-screens

I want to export a fixed-size image instead of depend on the element size. That is why I use a constant canvas.width. Do you have any suggestion?

That isn't what signature_pad is for. It looks like you already have a way to solve it. I would just stick with that.


Only works with single sensor

Current version only works with a single sensor on the bus.
Likely related to the level shifter design.

Refactored to use circuit designed by Jim G on the raspberry Pi forum. Works with two sensors. Will test third soon.

Disabled interrupts during reads. Reads are now more reliable.
Tested with 3 sensors. With multiple sensors, voltage < about 12.5V causes read errors.

Works with 3 sensors, 20ft. of 20ga. wire when using 100ohm resistor and disabling interrupts.


Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@rollup/pluginutils'

Describe the bug
Creating a basic starter Vite + Vue + TS project via yarn create vite@latest fails to start dev server after installing vite-plugin-md.
Repro steps:

yarn create vite@latest -> choose Vue + Typescript
yarn install vite-plugin-md.
Perform install steps.
Start dev server via yarn dev.

Reproduction
https://github.com/mzenz/vite-plugin-md-bug
System Info
System:
    OS: macOS 12.6
    CPU: (4) x64 Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz
    Memory: 32.39 MB / 16.00 GB
    Shell: 3.5.1 - /usr/local/bin/fish
  Binaries:
    Node: 18.8.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.18.0 - /usr/local/bin/npm

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

I'm also trying to updated my project to use vite 3 and encountered that issue

Done it manually.

I see the same problem. I installed the dependencies, but the references in vite-plugin-md are outdated. New major versions of rollup and happy-dom are available. It would be great, if these dependencies could be updated in this project as well. Thanks.
WARN  Issues with peer dependencies found
.
└─┬ vite-plugin-md 0.20.4
  ├── ✕ unmet peer<EMAIL_ADDRESS>found 3.2.3
  └─┬ @yankeeinlondon/builder-api 0.4.1
    └─┬ @yankeeinlondon/happy-wrapper 2.6.0
      └── ✕ unmet peer<EMAIL_ADDRESS>found 7.5.13

I had a similar issue. And I need to fix it by installing happy-dom, I think the reason may be because I updated vite3 in my project

I believe everything after Release v0.22.0 should work fine now. Please re-open if that is not the case.


pod install fails with $RNMapboxMapsImpl = 'mapbox'

Environment

Dev OS: 13.12.1

Steps to reproduce
I installed v10  with yarn add rnmapbox/maps#main and updated my Podfile as per instructions.
But, as soon as I add this line $RNMapboxMapsImpl = 'mapbox'  and I do a pod install, I get
[!] Error installing MapboxCommon
[!] /usr/bin/curl -f -L -o /var/folders/09/fk50bt0s7sdct3833mjq06sh0000gp/T/d20230320-4581-1hxxt8j/file.zip https://api.mapbox.com/downloads/v2/mapbox-common/releases/ios/packages/23.3.2/MapboxCommon.zip --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.11.3 cocoapods-downloader/1.6.3'

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0    39    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 401

I am adding the line here
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '11.0'
$RNMapboxMapsImpl = 'mapbox'

target 'Foo' do
  config = use_native_modules!
  ...

When I remove the line $RNMapboxMapsImpl = 'mapbox', pod install  runns without throwing an error.

https://docs.mapbox.com/ios/maps/guides/install/#configure-credentials

you must create your secret file for your secret key.
touch ~/.netrc echo "machine api.mapbox.com" > ~/.netrc echo "login mapbox" >> ~/.netrc echo "password <YOUR_KEY>" >> ~/.netrc
then pod install.

@muhammedesadkaya Sorry for bothering again... I am trying to update from v8 to v10, and when I do a pod install I get

Warning: Duplicate Mapbox dependency found, it's consumed by both SwiftPackageManager and CocoaPods

Now, when I try to build the project I get

Missing package product 'Mapbox'
failed downloading 'https://github.com/maplibre/maplibre-gl-native/releases/download/ios-v5.12.1/Mapbox-5.12.1.zip' which is required by binary target 'Mapbox': Operation cancelled
fatalError

Do you have any ideas what might cause this?

@Stophface follow these steps; https://dev.to/ajmal_hasan/react-native-mapbox-v10-installation-7ga

@muhammedesadkaya I did all that, still the same error.

@santhosh-umapathi-appymango
netrc_path=~/.netrc

if [ ! -e "$netrc_path" ]; then
    touch $netrc_path
fi

new_login='mapbox'
# your download token
new_password=$MAPBOX_DOWNLOAD_TOKEN

machine_name='api.mapbox.com'

# remove the old credentials for the api.mapbox.com
temp_file="$(mktemp)"
sed "/^machine ${machine_name}/,/^$/d" ${netrc_path} > "$temp_file" && mv "$temp_file" ${netrc_path}

# add the new credentials for the api.mapbox.com
echo "\n" >> ${netrc_path}
echo "machine ${machine_name}" >> ${netrc_path}
echo "login ${new_login}" >> ${netrc_path}
echo "password ${new_password}" >> ${netrc_path}

It works but not with default token in case is required generate a new token with some credentials.