Add an .eslintrc file.

In order to encourage a consistent code style, we should add an .eslintrc file that can be picked up by contributors' editors.

cc @danielfdsilva

Added in https://github.com/hotosm/oam-browser/commit/52ae7fbd29f7934bd46bdccec68596787cd19686


Scrobbler Doesn't See Amazon Alexa "Now Playing" Page Until Chrome Refresh

I use this scrobbler so that Last.FM sees Spotify music played directly from Alexa (as opposed to being started from my phone or PC), since their is no native functionality for this yet.
On my server, I have Chrome start with Windows, and have the "Now Playing" page (http://alexa.amazon.com/spa/index.html#player) set as my homepage. When Chrome starts, the scrobbler extension is grayed out, and won't see the music until I hit refresh. Then it all works as expected. It also works as expected with no need for a refresh if I launch the "Now Playing" page manually rather than launching as my home page.
Has anybody seen anything like this, and/or have any ideas on how to get around it? This method is so close to being a solution for Alexa scobbling.
I'm thinking about setting up an AHK to refresh Chrome a single time at X amount of seconds after Chrome launch, but that's silly workaround pasted on top of a silly workaround. There has to be a better option.
Side note- every browser refresh creates a duplicate scrobble. Is that expected/known behavior?

@mainadungo I cannot reproduce this issue on latest Chrome Canary. Can you try to reproduce in on Canary?
Can you also provide the extension logs? How to debug extensions.
Here are the steps to get the proper logs:

Start your browser.
Collect the logs after page is loaded.
Refresh the tab with Alexa page.
Collect the logs again and paste them it this thread using any pastebin service.

Side note- every browser refresh creates a duplicate scrobble. Is that expected/known behavior?

No, it's not expected and is not known behaviour.

Yep, reproducible on Canary. Same exact behavior. I'll send logs ASAP.
The browser refresh (F5) issue does NOT occur in Canary, and doesn't even occur in regular Chrome all the time. Seems intermittent. Also, I've seen the duplicate scrobbles while a song is playing ("a minute ago" and "scrobbling now"), but it clears itself out once the song is done. So maybe a non-issue?

Got the refresh issue to show itself. This was after several F5s in Chrome and Canary.

Okay, here are the post-refresh logs.
https://gist.github.com/mainadungo/a85cf87dc85568aab68e2b90d4e12fe0
Interesting problem- if I already have another instance of Chrome running, such as the Developer Tools where the logs are kept, the issue does not occur. So I can't capture logs of the actual issue.

Okay, here are the post-refresh logs.

I see no issues in this logs.
Is is also happening with other websites or just with Alexa page?
I didn't reproduce "refresh" issue. I don't understand totally what are you talking about, but I've tried to reproduce it by a following way:

Open some music website (I used Spotify) and play some song (1).
Refresh the tab and play another song (2).

The extension doesn't scrobble song (1), as it's expected. Am I correct?

Sorry I wasn't more clear- when I hit refresh, it scrobbles the same song over and over again, as if I listened to it twice. (See Iron Maiden screenshot above.)
Very interesting... the original bug only seems to occur on the Alexa "Now Playing" page. If I set my homepage to Spotify or Youtube, it functions completely as expected and desired.

Update- I'd love to hear the future status of these two issues whenever updates become available, but for now I think I'm set.
I'm using Super Auto Refresh Chrome extension, set to 3 minutes, and that takes care of the issue where the scobbler doesn't see the Alexa "Now Playing page". 3 minutes also seems like a slow enough  refresh to not cause the refresh issue (Iron Maiden) yet. I'll report back if that ends up not being the case.

@mainadungo I still can't reproduce the issue. Btw, I have no Alexa device (but I can open the player page, though); don't know if it matters.
What operating system do you use? I'm on Windows 10.
Please also make sure you're not redirected to another page.
I'm still waiting for logs after first browser start (when the extension doesn't see the Alexa page).

Reproduced on Kubuntu.

I'm not sure if this issue is on the extension side. I tried debugging the extension and found out the chrome.tabs.onUpdated event is not fired for tabs opened on Chrome startup. This is true for Linux (I reproduced the issue on Kubuntu running on VirtualBox). I have no issue while using the extension on Windows 10. I also tried to add a random URL supported by web scrobbler as a homepage; the story is the same.

https://bugs.chromium.org/p/chromium/issues/detail?id=750487

Nice job, thanks a lot for sticking with this. Very interesting findings. I'm on Win7x64.

I close this one because it cannot be fixed on the extension side. Probably, it was resolved already.


The artifact name in your docs for the gradle import don't match the one published to maven

compile 'com.21buttons:bottomnavigationview:1.0.0'
should be
implementation 'com.21buttons:bottom-navigation-view:1.0.0'

Oops! You were right. I just fix it :) Thanks!


FIFO ordering is violated by the clist_mempool

Tests have failed demonstrating that FIFO ordering is not ensured by the clist_mempool.
On instance 1, it was on a branch modifying the mempool but on instance 2 it was on a test that just limited the concurrency of the broadcastTX routine.
Resetting the clist next pointer when a block is decided could cause a transaction to be sent multiple times and filling the mempool could cause transactions to not be added to the pool, but these are not the cause here as the consensus was not playing a part in the test and the number of transactions was small.

The test that fails in 0.37 and 0.38 should also fail in main. The reason it does is because it ignores the order of transactions in the receiving reactor in main. #1627 makes  the unit test behave the same.
Checking the order of transaction will require another PR.

#1628 puts the breaking of FIFO in evidence and will fix cases that can be FIXED.


Per-project disabled packages

Hi,
I'm trying something along the lines of:
"my-project-template":
  settings:
    editor:
      tabLength: 2
    disabledPackages: [
      "linter-jshint"
    ]

But this doesn't seem to be having the intended effect - is it supposed to be supported? If so, what am I doing wrong?

Aha, found my issue, the config path is not settings.disabledPackages but settings.core.disabledPackages.


Non-null assertion is not assignable to NonNullable of indexed access type on generic

🔎 Search Terms
not assignable to type NonNullable
🕗 Version & Regression Information
Present in 4.4.2, 4.3.5
⏯ Playground Link
Playground link with relevant code
💻 Code

interface ServerResponse<T> {
  data: T[]
}

function getResponseData<T, J extends ServerResponse<T>>(a: T[]): NonNullable<J['data']> {
  return a! // Type 'T[]' is not assignable to type 'NonNullable<J["data"]>'.ts(2322)
}

🙁 Actual behavior
It doesn't pass typecheck with that return signature.
Not a major bug for me or anything, I just thought it was interesting!
🙂 Expected behavior
The non-null assertion operator should cause this to pass typecheck, the same as if the return signature were NonNullable<T[]>.

The non-null assertion operator doesn't do anything here, because the type of a is not nullable in the first place.

Sorry, I might've lost some context there trying to make the repro more minimal. The odd thing about it is that this code passes typecheck:
interface ServerResponse<T> {
  data: T[]
}

function getResponseData<T>(a: T[]|null): NonNullable<T[]> {
  return a!
}

But this code does not:
interface ServerResponse<T> {
  data: T[]
}

function getResponseData<T, J extends ServerResponse<T>>(a: T[]|null): NonNullable<J['data']> {
  return a! // Type 'T[]' is not assignable to type 'NonNullable<J["data"]>'.ts(2322)
}

Even though the type of J['data'] in the second should be identical to T[] in the first, as far as I can tell.

J extends ServerResponse<T> does not mean that J is identical to ServerResponse<T>. It means only what it says—that J will be constrained to a subtype of ServerResponse<T>. If T is number, J can legally be ServerResponse<0>, because that is assignable to ServerResponse<number>. Then, you’d be trying to return a number where you need a 0.

That’s the theoretical reason why it doesn’t type check, but you can also zoom out to intuitive human programmer view and note that J is useless in this definition, and that’s the high-level reason the behavior seems weird. But again, it’s hard to tell what’s relevant in a super simplified example like this, because from what’s posted here, the signature needs only be
function getResponseData<T>(a: T[] | null): T[]

but I’m sure you have some reason to have ServerResponse<T> involved.

Ah, I think I see! Yes, the actual real-world function I was writing was this:
  async request<T, J extends PostgrestResponse<T> | PostgrestSingleResponse<T>>(query: PromiseLike<J>): Promise<NonNullable<J['data']>> {
    const promise = new Promise<J>((resolve, reject) => {
      query.then(res => {
        if (res.error) {
          reject(res.error)
        } else {
          resolve(res)
        }
      })
    })
    NProgress.promise(promise)
    const { data } = await promise
    return data! as NonNullable<J['data']>
  }

It wraps a library to add progress indicators and throw errors on failure. Since data only comes back as null when there's also an error, it never returns null data. I thought it might be a bug that the "as" at the end there was necessary-- but more likely I just don't quite know how to accurately express the signature in TS.

It certainly looks to me like you should just rewrite each reference to J in terms of T.


[Feature Request]: Can we support toBigInt?

BigInt Reference

I would also like this. Would be open to contributing a PR if you can provide some context @MikeMcl and its something that makes sense.
FYI, I notice that using BigInt(bigNumber.toString()) has some precision loss.  Is there another suggest way in the meantime?


Resolution too low to screen share on zoom

Is there a way to increase the resolution?
It is pixelated right now (https://github.com/bordaigorl/rmview was not, but is a pain to use -- thanks so much for making this so much easier!!!)

That should be fixable...
I essentially can just make the window any size and scale the screen of the tablet onto it.

I have one more exam in my current exam phase, but afterwards I'd be glad to implement this.
It just be some JavaScript...
Thank you for using my software :)

I just made a small release.
The canvas should now resize with your browser window and not waste any leftover space.
I am not sure if this is really a good solution, as I haven't tested it much, yet.
So I would be glad about your feedback if this helps you.
Here is the link to the new release: https://github.com/AnyTimeTraveler/pipes-and-rust/releases/tag/1.1.0
Running the install script will take care of everything.
If you like the old version better, you can just run the install script of that version again to return to that version.

Thanks so much!
This is definitely better, but unfortunately the lines are not crisp. I wonder what the solution may be - vectorizing or svg? No idea how the backend works.
Example:

(compared to the previous screenshot it is definitely more usable :)
Thanks so much! This is definitely far and away the best solution so far in terms of installation ease.

The backend just decodes what the pen does.
It then sends the coordinates and pressure to the frontend via websockets.
Theoretically, you can change the drawing logic completely.
I just don't know enough JavaScript to really do much with it.
If you do, feel free to take a stab at it :)


Template sensors

Hi, is it possible to change the sensors with the new yaml format for use with template: ?
thnx, appreciated

I've updated all the templates for my x5 card, so as long as you feel like adjusting your entities names, feel free to use these:
https://github.com/convicte/ha-bmw-x5-card/tree/main

thnx for sharing!


[libjpeg-turbo] Build error mingw version outdated

Host Environment

OS: Windows
Compiler: revision

To Reproduce
Steps to reproduce the behavior:
./vcpkg install libjpeg-turbo
Failure logs
https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst: failed: status code 404
Additional context
Please update to 0.29.3

@Tcalp, Thanks for posting this issue, I clone a new vcpkg and use command ./vcpkg install libjpeg-turbo install successfully the port, and the mirrors version is 0.29.2-3, could you please use command git pull get the latest vcpkg and try again?
PS F:\Feature-test\libjpeg-turbo\vcpkg> ./vcpkg integrate install
Applied user-wide integration for this vcpkg root.
CMake projects should use: "-DCMAKE_TOOLCHAIN_FILE=F:/Feature-test/libjpeg-turbo/vcpkg/scripts/buildsystems/vcpkg.cmake"All MSBuild C++ projects can now #include any installed libraries. Linking will be handled automatically. Installing new libraries will make them instantly available.
PS F:\Feature-test\libjpeg-turbo\vcpkg> ./vcpkg install libjpeg-turbo --editable
Computing installation plan...
A suitable version of cmake was not found (required v3.24.0). Downloading portable cmake v3.24.0...
Downloading cmake...
  https://github.com/Kitware/CMake/releases/download/v3.24.0/cmake-3.24.0-windows-i386.zip -> F:\Feature-test\libjpeg-turbo\vcpkg\downloads\cmake-3.24.0-windows-i386.zip
Extracting cmake...
The following packages will be built and installed:
    libjpeg-turbo[core]:x86-windows -> 2.1.4
  * vcpkg-cmake[core]:x64-windows -> 2022-07-18
  * vcpkg-cmake-config[core]:x64-windows -> 2022-02-06#1
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
A suitable version of powershell-core was not found (required v7.2.5). Downloading portable powershell-core v7.2.5...
Downloading powershell-core...
  https://github.com/PowerShell/PowerShell/releases/download/v7.2.5/PowerShell-7.2.5-win-x86.zip -> F:\Feature-test\libjpeg-turbo\vcpkg\downloads\PowerShell-7.2.5-win-x86.zip
Extracting powershell-core...
A suitable version of 7zip was not found (required v21.7.0). Downloading portable 7zip v21.7.0...
Downloading 7zip...
  https://www.7-zip.org/a/7z2107-extra.7z -> F:\Feature-test\libjpeg-turbo\vcpkg\downloads\7z2107-extra.7z
Extracting 7zip...
Restored 2 package(s) from C:\Users\test\AppData\Local\vcpkg\archives in 1.88 s. Use --debug to see more details.
Installing 1/3 vcpkg-cmake:x64-windows...
Elapsed time to handle vcpkg-cmake:x64-windows: 60.07 ms
Installing 2/3 vcpkg-cmake-config:x64-windows...
Elapsed time to handle vcpkg-cmake-config:x64-windows: 23.91 ms
Installing 3/3 libjpeg-turbo:x86-windows...
Building libjpeg-turbo[core]:x86-windows...
-- Downloading https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.1.4.tar.gz -> libjpeg-turbo-libjpeg-turbo-2.1.4.tar.gz...
-- Extracting source F:/Feature-test/libjpeg-turbo/vcpkg/downloads/libjpeg-turbo-libjpeg-turbo-2.1.4.tar.gz
-- Applying patch add-options-for-exes-docs-headers.patch
-- Applying patch workaround_cmake_system_processor.patch
-- Using source at F:/Feature-test/libjpeg-turbo/vcpkg/buildtrees/libjpeg-turbo/src/2.1.4-30a6482500
-- Downloading https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/win32/nasm-2.15.05-win32.zip;https://fossies.org/windows/misc/nasm-2.15.05-win32.zip -> nasm-2.15.05-win32.zip...
-- Found external ninja('1.10.2').
-- Configuring x86-windows
-- Building x86-windows-dbg
-- Building x86-windows-rel
-- Fixing pkgconfig file: F:/Feature-test/libjpeg-turbo/vcpkg/packages/libjpeg-turbo_x86-windows/lib/pkgconfig/libjpeg.pc
-- Fixing pkgconfig file: F:/Feature-test/libjpeg-turbo/vcpkg/packages/libjpeg-turbo_x86-windows/lib/pkgconfig/libturbojpeg.pc
-- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst -> msys-mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst...
-- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst -> msys-mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst...
-- Using msys root at F:/Feature-test/libjpeg-turbo/vcpkg/downloads/tools/msys2/9a1ec3f33446b195
-- Fixing pkgconfig file: F:/Feature-test/libjpeg-turbo/vcpkg/packages/libjpeg-turbo_x86-windows/debug/lib/pkgconfig/libjpeg.pc
-- Fixing pkgconfig file: F:/Feature-test/libjpeg-turbo/vcpkg/packages/libjpeg-turbo_x86-windows/debug/lib/pkgconfig/libturbojpeg.pc
-- Installing: F:/Feature-test/libjpeg-turbo/vcpkg/packages/libjpeg-turbo_x86-windows/share/libjpeg-turbo/copyright
-- Performing post-build validation
-- Performing post-build validation done
Elapsed time to handle libjpeg-turbo:x86-windows: 22.5 s

Total elapsed time: 41.32 s

The package libjpeg-turbo is compatible with built-in CMake targets:

    find_package(JPEG REQUIRED)
    target_link_libraries(main PRIVATE ${JPEG_LIBRARIES})
    target_include_directories(main PRIVATE ${JPEG_INCLUDE_DIR})

We already updated pkg-config to 0.29.2-3:
https://github.com/microsoft/vcpkg/blob/927006b24c3a28dfd8aa0ec5f8ce43098480a7f1/scripts/cmake/vcpkg_find_acquire_program.cmake#L528
Please git pull vcpkg and try again.
Thanks.

I believe the issue was that I was likely pulling from release, as I pulled the git just this morning.  I ended up working around the issue by manually updating/patching the cmake files on my side, but I do see they are equally reflected with the active build git pull.


Extremely annoying UI bug

It seems the UI is exceedingly white throughout the entire app. The issue is consistent across desktop and mobile clients. Requires an urgent fix. The excess white is really annoying considering the app is meant to be used all day.
I think this may be a related issue: #16272. Please address.

Yes, please fix. Even something like a total color-inversion script would be excellent at this point.

Dark mode released in Keybase 4.6.0 under Settings->Display->Appearance.


[dnm] what mypy version are we using?

mypy 1.11.2 (compiled: yes)

Can also see this in the pip logs for the setup-cached-python step btw


hive_catalog incomplete support for metadata information

Search before asking

[X] I had searched in the issues and found no similar issues.

Description
When using database connection tools or BI tools to connect to the Drios hivcatalog, it is often difficult to obtain table and field information. Is it because Doris' catalog does not support the JDBC protocol well
Solution
I hope the catalog level also supports the JDBC protocol perfectly
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

give an example:
(1) Use superset to directly connect to Doris' Hive Catalog, default to internal_ Catalog, therefore unable to obtain metadata information from external catalogs, therefore unable to see table information;
(2) After SuperSet connects to Doris, when obtaining Doris' table information, it will be based on the information_ Schema. tables table field TABLE_ TYPE filters and only retains the real table of 'BASE TABLE', so external tables are not visible.

@Echo18322276280 you can try doris 1.2.4 and set fe config infodb_support_ext_catalog to true


Raise TranscriptsDisabled if 'playerCaptionsTracklistRenderer' is not found (Fixes #136)

Looks like the 2.7 builds have been failing for a while, so I won't try to fix it.
Not sure if you want to, but you could probably remove support for 2.7 anyway considering it is passed its EOL.

Hi @xenova,
thank you for the PR!
Although I was able to run the test suite locally with python 2.7 without a problem, I wasn't able to figure out what made them fail on Travis. However, as you pointed out, python 2.7 is no longer supported, therefore I just dropped its support and removed it from the build plan. I merged those changes into master, therefore you should be able to fix your build by merging master into yours.

Okay - all should be good to go :)


Update netlify cli to pick up dependancy

Description

https://github.com/FlowFuse/website/security/dependabot/27
cross-spawn needs updating, github dependabot is struggling so making it easier by reducing the things with bad versions
Related Issue(s)

Checklist

[x] I have read the contribution guidelines
[ ] I have considered the performance impact of these changes
[ ] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

Thanks Ben!


doc: Add docs for math_core

Hi @KonstantinUshenin
I just added code documentation to math_core.py.
Kindly review and let me know what you think.
Warm regards.

Thanks.
And yes, I am interested in participating.
Looking forward to further collaborations.


how to run?

How to run your code and where to get  .tif files in the  jsonfile.

Hello, you can download the dataset used in our paper from this link


How do create custom multi-select filter class?

I am trying to make a custom multiselect filter.  I have a code skeleton that looks like:
class MyCustomMultiSelectTypeFilter(MultiSelectFieldListFilter):
    title = "Title"

    def lookups(self, request, model_admin):
        return [
            (True, "Is Government"),
            (True, "Is private")
        ]

    def queryset(self, request, queryset):
        pass

I'm getting:
line 483, in get_fields_from_path     pieces = path.split(LOOKUP_SEP) TypeError: 'str' object is not callable
Instantiating it like this in the model admin class:
list_filter = (         (MyCustomMultiSelectTypeFilter, MultiSelectFieldListFilter),     )
What do I need to add?

list_filter = ( (MyCustomMultiSelectTypeFilter, MultiSelectFieldListFilter), )

should probably become
list_filter = ( ("field_name", MyCustomMultiSelectTypeFilter), )
with "field_name" being the name of the field you want to filter on.
if you want implement your own logic, you should just include MyCustomMultiSelectTypeFilter  as list_filter = (MyCustomMultiSelectTypeFilter,)


No migration file generated for PowResetPassword

Same as #485
This is to be expected for extensions that doesn't have migrations like PowResetPassword. I've reworded it in #487 so it's more clear.


Deprecate the COVID-19 Target Prioritisation Tool

As noted in the a Community thread, the Open Targets COVID19 Target Prioritisation tool will be deprecated in February 2022.
To do:

[x] Create Community thread with information on the deprecation and replacement options using the Open Targets Platform
[x] Add deprecation notice to the Open Targets COVID-19 Target Prioritisation Tool
[x] Setup Netlify redirects from https://covid19.opentargets.org/ to https://platform.opentargets.org/disease/MONDO_0100096/associations
[x] Update Community thread once redirects are live
[x] Transfer ot_covid19-frontend and ot_covid19 repositories to our GitHub archive -- opentargets-archive

The Open Targets COVID-19 Target Prioritisation Tool has now been deprecated. Ticket closed.


Removing @apply_defaults decorator use

As of Airflow 2.1, the @apply_decorator has been deprecated and is built in to the meta class of BaseOperator.  This has been noted a breaking change with Airflow providers.  Updating both the FivetranOperator and FivetranSensor to reflect this Airflow update.

Breaking changes
Auto-apply apply_default decorator (#15667)
Warning
Due to apply_default decorator removal, this version of the provider requires Airflow 2.1.0+. If your Airflow version is < 2.1.0, and you want to install this provider version, first upgrade Airflow to at least version 2.1.0. Otherwise your Airflow package version will be upgraded automatically and you will have to manually run airflow upgrade db to complete the migration.

To note, this update will require that this version of the provider is only compatible with Airflow 2.1+.

Closing this PR. I am unable to reproduce issues observed earlier with extensive testing.  While the decorator is deprecated. there is a shim in place that will log an error message about the deprecation.  Although the change is considered "breaking" with 2.1, there is cross-compatibility with older Airflow versions.


pip-compile ignores dependencies in metadata.json

Some packages define their dependencies in a file named metadata.json, while pip-compile only looks for pydist.json, leading to missing dependencies.
For example, paramiko:
$ pip show paramiko | grep Requires
Requires: pycrypto, ecdsa
$ cat requirements.in
paramiko==1.15.1
$ pip-compile requirements.in
Dependencies updated.
$ cat requirements.txt
paramiko==1.15.1

Since metadata.json uses the same format of pydist.json the fix is easy, in package_manager.py just replace line 513 with:
name = find_file(unpack_dir, 'pydist.json') or find_file(unpack_dir, 'metadata.json')

Fixed by #134.


Fork partially working on Linux - no option for text document, "Sync time on select" goes to frame 0 and "place strip" problems

Hi there,
Amazing work on what you've done with the fork so far, thanks a lot. Rhubarb is essential. :)
I've gotten the plug-in working on Linux Mint - up to a point. I can get the capture working on the speech audio file, but some of the keyframing is missing. I hand-'baked' the keyframes to an action strip by clicking on the outputs below the capture button generated by your fork and then applying the appropriate animation, as created by me, from Blender's new(ish) pose library. The keyframes that your fork suggested were perfect in terms of timing and choice of mouth shape. However, there were several that were missing. Do you plan to include the option to load in a text file, to support the audio file a user wishes to keyframe? As you know, this was available in the original version of Rhubarb.
Also, the fork's "Place as strip" function is placing the audio on frame 0, channel 128(!) of the VSE, regardless of the instructions I give it.
Having the outputs that are returned once one captures from audio work as buttons, which move the play-head to the appropriate place in the timeline is an excellent work-around whilst automatic mapping/baking is still in development. However, the time jumps between the keyframes are currently relative from frame 0, not where the relevant sound block is located in the VSE.
I'm sure these are all teething problems, though. You have on your hands a fork which could surpass the original in every respect.

Hi @ShockBock,
Thanks for the heads up and sorry for the delay.  I've released a new version which should be somehow more usable (hopefully).

Do you plan to include the option to load in a text file, to support the audio file a user wishes to keyframe? As you know, this was available in the original version of Rhubarb.

If I understand correctly you are looking for the so called Dialog file option. This can be provided by pressing the down arrow button beside the bake button. I have not actually tested this option. So hope it would work for you..

Also, the fork's "Place as strip" function is placing the audio on frame 0, channel 128(!) of the VSE, regardless of the instructions I give it.

I believe this works as expected in the latest release. And the start frame is respected on all the relevant places. Including  the time-line syncing with the captured cues.
Note you need the remove/place the sound strip again if you change start frame later.

Thanks for the reply and update. Unfortunately, I couldn't get the latest version to work. I downloaded blender_rhubarb_lipsync_ng-master.zip and installed it within Blender, as per the last version, as a plugin. This seemed to go okay, if the message in the console is anything do go by:
Modules Installed () from '/home/[myname]/Downloads/blender_rhubarb_lipsync_ng-master.zip' into '/home/[myname]/.config/blender/3.6/scripts/addons'.
However, when I searched for the installed plugin using terms like 'rhubarb' and 'lipsync' to active it, it didn't show up.

Perhaps you have downloaded a source snapshot? The blender_rhubarb_lipsync_ng-master.zip file name looks suspicious. You need to download it from the Releases page and select the proper file based on your platform (-linux):

Can you please try to v0.9.1 now?
I left some unused imports in place which were likely causing that error.

I believe the issue mentioned here has been already fixed. Please open a new ticket should you find any other issue or have any suggestion.


How to specify the route to the gateway?

I want to create a 'hierarchy' of edge devices and using therefore the gateway mechanism. For the moment the gateway is just a transparant gateway, which passes the messages to the IoT Hub. (https://docs.microsoft.com/en-us/azure/iot-edge/how-to-create-transparent-gateway-linux).
Situation: I have two edge devices, say 'Sensor' and 'Gateway'. How do I specify the route in the deployment that the output of 'Sensor' needs to go to the 'Gateway' before going upstream to the IoT Hub?
Sensor route: "route": "FROM /messages/* INTO ???"
Gateway route: "route": "FROM /messages/* INTO $upstream"

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

ID: 71acc49c-a23e-493f-c3f5-4ec46846616c
Version Independent ID: bd3abb8d-1b48-0efd-f6a4-1b3f7a12c039
Content: Create a transparent gateway with Azure IoT Edge - Linux
Content Source: articles/iot-edge/how-to-create-transparent-gateway-linux.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

@ArneVlietinck Thanks for the feedback. We are actively investigating and will get back to you soon.

@ArneVlietinck Are you looking absolute values, better documentation, or how is this configuration implemented?
This is what an example route would look like, and is from the following tutorial: Tutorial: Deploy Azure functions as IoT Edge modules (preview)

{   "routes": {     "sensorToCSharpFunction": "FROM /messages/modules/tempSensor/outputs/temperatureOutput INTO BrokeredEndpoint(\"/modules/CSharpFunction/inputs/input1\")",     "CSharpFunctionToIoTHub": "FROM /messages/modules/CSharpFunction/outputs/output1 INTO $upstream"   } }
Additional information about Routes
Routing messages from downstream devices

Hi @ArneVlietinck, currently the implementation that you want to do is not supported. You can't string multiple Edge devices together. Edge gateways only work for non-edge devices at this time.

@ArneVlietinck You can make feature and enhancement request through the Azure IoT Edge User Voice forum. Please navigate to the User Voice to make a recommendation.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion. Regards, Mike

The recommendation.


Add taucharts js library

Attempt to add taucharts js plotting library. I wanted to use faceting capabitlity of this library. However, I get the following js error then evaluating CustomTauChart widget for the second time:
Uncaught Error: Mismatched anonymous define() module: function (b){return a(b)}

Added example in viz/Custom TauCharts.snb
@andypetrella

as I understand #579 superseeds this PR. so I'm closing this one.


Split services registration by features and support parameterized constructor syntax

Service registration
Instead of doing this

    static MauiAppBuilder RegisterServices(this MauiAppBuilder builder)
    {
....
        builder.Services.AddTransient<ILandingService, LandingService>();
        builder.Services.AddSingleton<INotificationService, NotificationService>();
        builder.Services.AddSingleton<IPairingService, PairingService>();
        builder.Services.AddSingleton<INewsFeedService, NewsFeedService>();
        builder.Services.AddSingleton<IProfileService, ProfileService>();

        return builder;
    }

We should do this
    static MauiAppBuilder RegisterFeatures(this MauiAppBuilder builder)
    {
        builder.RegisterShared();
        builder.RegisterAuth();
        builder.RegisterGames();
        builder.RegisterHome();
        builder.RegisterLanding();
        builder.RegisterMessaging();
        builder.RegisterPairing();
        builder.RegisterProfile();
        return builder;
    }

Parameterized Constructor Syntax
Instead of doing this
public partial class SignInPageViewModel : BaseViewModel
{
    private readonly IAppSettingsService appSettingsService;

    public SignInPageViewModel(
        IAppSettingsService appSettingsService,
        IAppNavigator appNavigator)
        : base(appNavigator)
    {
        Form = new();
        this.appSettingsService = appSettingsService;
    }
}

We will do this instead
public partial class SignInPageViewModel(
        IAppSettingsService appSettingsService,
        IAppNavigator appNavigator) : BaseViewModel(appNavigator)
{
    private readonly IAppSettingsService appSettingsService = appSettingsService;
}

Great job.


Debug Console: open in Editor Area

I have a strong preference for using my terminal in the editor area because I can place it at the beginning of the tab row and use custom hotkeys ⌘+1 .. ⌘+9 to focus the appropriate tabs, just like I would in iTerm and also Safari.
It would be very much appreciated if the debug console could also be put in the editor area because I often have to switch to it and then switch back to a terminal or editor window. The user experience of having the debug console in either open, closed, or partial and having it operate with a completely isolated paradigm is hard to deal with at times.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Allow remote ipam driver to return nil address

This brings the remote ipam driver in pair with the local one. As of now remote driver package is assuming a valid address in CIDR form is always present in a nil error AddressRequestResponse,      which is no longer true as community has requested to remove this limitation.
We are ok to remove it until we can provide a null ipam driver option in future releases.

Issue was pointed out by @pyakpyak in comment
Signed-off-by: Alessandro Boch<EMAIL_ADDRESS>

@aboch pls write a proper test to make sure it works e2e.

@mavenugo Sure, let me add one

@mavenugo
The right place for testing the remote nil ipam driver is in the integration test.
For that I need dnet to be able to pass the ipam options via rest api.
In other words, I need #648, which was actually pushed for this purpose.

@aboch okay. make sense.
LGTM as is. We can address the IT after #648 is reviewed and merged.


unbindAll doesn't work as expected

Hi,
I have a reference to channel as returned by pusher.subscribe(channelName) which binds to a few events.
When I no longer want the event callbacks to trigger, I call channel.unbindAll(). I also call pusher.unsubscribe(channelName) and pusher.disconnect()
However, when I resubscribe to the channel and events, the callback triggers twice.
Perhaps the way I am handling the pusher object's lifecycle is incorrect.
Best regards.

Do you have a sample project or if that's not possible, just a copy and pasted version of the Pusher-related code that's leading to this behaviour? Thanks!

Below is a snippet of code I use to enable pusher so you get the idea. I basically put all my logic into the 2 functions: start and stop. I bind using channel as I am not interested in global events.
let pusher = Pusher(key: PusherKeys.apiKey)
private var channel: PusherChannel?

// called during viewWillAppear()
func startListening() {
        let channel = pusher.subscribe(PusherKeys.channel)

        channel.bind(eventName: PusherKeys.addItem) { [weak self] data in
            guard
                let data = data,
                let post = self?.parseAddItem(data: data)
                else { return }

            // handle add
        }

        channel.bind(eventName: PusherKeys.removePost) { [weak self] data in
            guard
                let data = data,
                let postID = self?.parseRemovePost(data: data)
                else { return }

            // handle remove
        }

        self.channel = channel
        pusher.connect()
    }

// called during viewDidDissapear()
func stopListening() {
        channel?.unbindAll()

        let channelName = PusherKeys.channel
        pusher.unsubscribe(channelName)
        pusher.disconnect()
    }

I experience exactly the same, only after managing state (pusher.connect/disconnect) and only seemingly once per a channel.

Hi guys, I've tried to recreate this locally (literally copy and pasted the code @zkyronex added above) and am unable to get duplicate closures being called on message receipt.
Are you able to provide a full sample project that exhibits this behaviour?

I'm under a deadline for Friday but will if I have time. I think the issue is that channels/event call backs don't use thread safe getters/setters.
As a workaround I cast the payload data into a dictionary and retain that dictionaries hashValue property, if the next message matches it, the call back block returns. (Doesn't work really well on ARM32)

My scenario seems to be less complicated than @thefredelement. When I revisited this issue, I found that my preparation and binding setup was incorrect. I cannot replicate this issue anymore. Apologies for not updating everyone on this sooner.
@hamchapman Could you advise (maybe put some documentation in) on handling the lifecycle and setup of the Pusher instance (connections and channels) as well as how to clean up and tear down when no longer needed.
Also, something noteworthy is the internal connectionState handling which goes on within PusherSwift.
As the state updates rely on the Starscream WebSocketDelegates, calling connect() and disconnect() may not trigger the expected behaviour all the time.
The connect() function could guard against an extra state of .connecting to avoid duplicate connection calls.
The disconnect() function could execute on .connected as well as .connecting to stop the disconnect() function from failing without getting handled (maybe during viewcontroller.viewDidDissapear)
The above are merely my opinions based of what I managed to observe by stepping through and testing the library. Happy to hear back and if there is something I could do to improve the library, I'd be happy to make a PR.
Cheers!


Build on jdk11

This PR fixes the Pac4j build on JDK11. No functional changes were made.
2 SAML related tests were fixed in a 'quick and dirty' way, but that seemed the best to me in the current code base. These tests would benefit from something like xmlunit, but that would require many more changes.

Can you prepare the same PR for master?


Fix Issue #917 for CA service instance naming

Pull Request (PR) description
Fixes the problem where the CA service was not properly started in SPFarm when a non-english farm was used.
This Pull Request (PR) fixes the following issues

Fixes #917

Task list

[x] Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
Entry should say what was changed, and how that affects users (if applicable).
[x] Resource documentation added/updated in README.md in the resource folder.
[x] Resource parameter descriptions added/updated in schema.mof
and comment-based help.
[x] Comment-based help added/updated.
[x] Localization strings added/updated in all localization files as appropriate.
[x] Examples appropriately added/updated.
[x] Unit tests added/updated. See DSC Resource Testing Guidelines.
[x] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[x] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Closing and reopening PR to kick off AppVeyor run

Codecov Report

Merging #922 into dev will decrease coverage by <1%.
The diff coverage is 71%.

@@          Coverage Diff          @@
##             dev    #922   +/-   ##
=====================================
- Coverage     92%     92%   -1%
=====================================
  Files        115     115
  Lines      11454   11454
  Branches       1       1
=====================================
- Hits       10623   10611   -12
- Misses       830     842   +12
  Partials       1       1

Several tests are failing and the PR needs a merge from Dev

And the code coverage for the diff is not high enough


[Fix] Add dstate to mol attention batch

Dependency of the PR
Commits to be reviewed in this PR
[Fix] Add dstate to mol attention batch
This patch fixes that dstate does not have the batch size updated
Self evaluation:

Build test: [X]Passed [ ]Failed [ ]Skipped
Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #1761. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.


Adding route table terraform output for Azure

Adding a route table output type for the azurerm terraform provider.

@googlebot I signed it!

@jgarverick Can you fix lint errors?


Update DraggablePhysics.json to force Kinematic to Dynamic

Change Kinematic mode to Dynamic mode to prevent crash
Set "left" mouse button as default

Playable game
https://liluo.io/games/02910630-65f7-4dc4-aa26-3f262bc888ec
This object is assigned kinematic, but the extension forces it to be dynamic.
Project files
DraggableNonDynamic_BugFix.zip

What about the static body type? Won't the same issue happen?

What about the static body type? Won't the same issue happen?

I checked and objects that are "static" does not cause the error messages on the browser console.

Could the check only be done in onCreate? It will still avoid bad configurations and I doubt beginners will change the body type with events.

I really like this idea, but for some reason, that method makes the object's position always start at 0,0.
https://user-images.githubusercontent.com/8879811/179432450-8c9c5fa2-b136-429e-b453-fd1fe25604be.mp4


/scan should be able to receive a free-form JSON data

@pccosta-pdm suggests the removal of the validator on
https://github.com/PharmaLedger-IMI/acdc-components/blob/19c59465460361dc84cc5c79f4729b3f48580188/backoffice-backend/src/scan/scan.controller.ts#L20

92ef49c37c12f6a458913578ddd4fc7e40a6a21c
29ff4dc545df415062625bc521f36cd351001b5c
git pull and restart on acdc-dev

Later on, we might need to add these (and some more fields) on EventInputDataDto, but for now, anything is accepted.
Thank you for the suggestion @pccosta-pdm


Run tello_driver

Helle great job, i have a question i installed all python dependendes an flock , but when i run  python ~/flock_catkin_ws/src/flock/flock_driver/scripts/environment_test.py in cmd of ros shows that send request but never conect.
So when i run roslaunch flock_base teleop.launch is the same , some suggestion??

environment_test.py doesn't rely on ROS -- it's there to test all of the dependencies and configuration. If it fails to connect, then something in your configuration is wrong. I suggest trying to get TelloPy to work by itself -- see https://github.com/hanyazou/TelloPy.


chore: move images to assets dir

I think it would be a good idea to keep all images in a separate directory, so they don't distract ))

Missed it :) corrected, thank you)

Looks good, I'll merge!


Print Kiosk

Provide an app/hardware that allows generation of pre-created maps and/or custom maps based on the users requirements. Would have the ability to add layers, overlays, analytics, annotations, and provide for the ability to print various sizes with an attached plotter.

Might be worth checking with Doherty on some of the custom AGOL printing ESRI was working on

Is the goal to 'print' the aforementioned maps with specified layouts/file types and then manually print or would we prefer/need printing directly from web app to plotter?

The general best practice for mapping products has been to create PDF exports (whether directly or 'print to PDF') and then print the PDF.  This started due to some funkiness in the old ArcMap, but has a few benefits: allows the SITL to make small edits by changing the PDF and not re-engaging the GISS and allows the georeferenced PDFs to be used in Avenza in an offline environment.
Currently FEMA US&R is 'solving' the print service issue by 'Print to PDF' using Letter or Tabloid size and then upscaling to print on a 24" plotter.  Here is their Intel Manager that serves as a Task Force level self service shop since they don't deploy with GISS currently.

Collaborating with the FDNY GIS group to create a custom printing service as a web tool. ArcGIS Enterprise is necessary for this solution, AGOL is not sufficient.

This may be able to be accomplished by utilizing the process here:
https://www.esriuk.com/en-gb/news/we-talk-tech/printing-custom-layouts-from-arcgis-online
I have made a quick attempt to get this going and a couple things of note:

There appears to be a screenshot missing that covers loading the arpx, loading the features, and setting the extent. Naturally, I am getting errors loading the arpx. I have reach out to ESRI in an attempt to directly contact the author.
It's not documented in the article how to select/add may layers. I'm guessing it will have to be done on the arpx side (with arcpy). It may be a bit of a pain and this process may be best served to print simple overview maps.
We will need to script the creation of this process for initial setup. It's not the most straight forward setup and it took me a couple hours to get it this far.

Open to thoughts on this front.

I should have known it wouldn't be as straightforward as the linked article
makes it seem... Did ESRI ever put you in touch with the author? I found
his e-mail address:
@.***
I'm guessing you wouldn't have put the time in on this unless the Metrotech
team didn't follow-up with good news for a print service on their end?
Steven
On Mon, Jul 18, 2022 at 8:15 AM pounde @.***> wrote:

This may be able to be accomplished by utilizing the process here:
https://www.esriuk.com/en-gb/news/we-talk-tech/printing-custom-layouts-from-arcgis-online
I have made a quick attempt to get this going and a couple things of note:

There appears to be a screenshot missing that covers loading the
arpx, loading the features, and setting the extent. Naturally, I am getting
errors loading the arpx. I have reach out to ESRI in an attempt to directly
contact the author.
It's not documented in the article how to select/add may layers.
I'm guessing it will have to be done on the arpx side (with arcpy). It may
be a bit of a pain and this process may be best served to print simple
overview maps.
We will need to script the creation of this process for initial
setup. It's not the most straight forward setup and it took me a couple
hours to get it this far.

Open to thoughts on this front.
—
Reply to this email directly, view it on GitHub
https://github.com/imt-things/IMT-GIS-Tools/issues/3#issuecomment-1187253991,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXNNJ2AHCKTGVZHDES4BVZLVUVDHXANCNFSM5LKOOZQA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I have been put in touch with him. I have reached out and got one reply. I'll check back with him again. Thanks for the bump.

I did get this working. Unsure why it was not working originally. The process to implement will need to be fleshed out. Probably a good candidate for v0.3.


[Question]: MySQL server has gone away

Describe your problem
Such errors may occur during conversations：
ERROR: (2006, "MySQL server has gone away (BrokenPipeError(32, 'Broken pipe'))")

But I checked that the MySQL Docker container is working properly.
I don't understand how this error was caused and how to solve it.
Thank you for your reply.

Describe your problem
Such errors may occur during conversations：
ERROR: (2006, "MySQL server has gone away (BrokenPipeError(32, 'Broken pipe'))")

But I checked that the MySQL Docker container is working properly.
I don't understand how this error was caused and how to solve it.
Thank you for your reply.

One possibility is that the SQL statement sent is so long that it exceeds the size of max_allowed_packet, if this is the reason, you just need to modify my.cnf and increase the value of max_allowed_packet.
There is also a possibility that the timeout is due to some reasons, such as the program to get the database connection using Singleton practice, although many times to connect to the database, but in fact, using the same connection, and the program of a two-time operation of the database interval exceeds the wait_timeout (SHOW STATUS can see this setting), then it may be The simplest way to deal with this is to change the wait_timeout setting. The easiest way to deal with this is to change the wait_timeout to a larger one, but of course you can also drop in a mysql_ping() every now and then in your program so that MySQL knows that it's not fighting alone.
Translated with DeepL.com (free version)

The issue still exists. How can I resolve it?


Resource errors not handled

Issue
When subscribing to a resource which references error resources, the client throws errors instead of handling the error resources.

Resolved in PR #13


Events.

Select any element (containers, leave relationships) should raise an event and the event raising
should be parametrizable to avoid to raise too many uncessary events.

Currently the events are defined in the model, then many actions of the model you can do it with code or with the visual events

This also is realated to the menu items, where the visualization provides a system to plug new interaction with nodes, canvas and links

There is the package 'Hierarchical-Model-Events'


ethercat: Package kernel modules, documentation and SystemD unit file

Description of changes
This PR packages the kernel modules, documentation and SystemD unit file of the IgH Ethercat master.
See also: https://github.com/NixOS/nixpkgs/issues/274191
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Some feedback is welcome about my usage of common.nix in this PR.
It is currently just a plain set of shared attributes of the package and kernel-module derivations.
But I think maybe even cleaner if common itself is a derivation, and we simply override attributes specific for the package and the kernel module?
Using the exact same derivation does not work as standard packages are build independently from a kernel...

i'm wondering why choosing to package a development build instead of the stable branch (stable-1.5), but that's your choice of course

Thats a valid question.. I've opted to package the current development version due to these reasons:
* The last stable release [1.5.2](https://gitlab.com/etherlab.org/ethercat/-/tags/1.5.2) is really outdated. I was released 11 years ago.

* There were several packaging related changes in 1.6-devel regarding the building of documentation. I wanted to package it for the new changes rather the old to avoid redoing it once 1.6 becomes stable.

* I've seen quite some activity in the repo recently which gives me to believe that 1.6 could become stablized soon at which point I will bump the package in Nixpkgs.

The tag is old but the stable branch is still maintained, getting frequent bugfixes.
But indeed if you think 1.6 stabilisation is near, it's not worth the hassle to support the older version,

Hey @simonkampe,
do you maybe have some minutes to review this PR? I would really like to see the Kernel module beeing merged in Nixpkgs :)

I've rebased the PR to latest master. We are now using the upstream release v1.6.0 instead of the previous devel version.

I've updated/rebased the PR to the latest master.
Additional reviews or a merge to master would be very welcome :)

Can we somehow include the building of the documentation still in the Hydra tests? E.g. building the derivation with the withDocs argument?
I've have tested it now only locally.

You should probably build the documentation in the buildPhase, e.g. in postBuild, and only move the files to $doc in the postInstall hook. I haven't built this derivation yet, is the documentation reproducable? It seems to include the build time in the pdf.
The PDF files should be copied to $doc/share/doc/, so that they are actually merged in /run/current-system/sw/share/doc if you have documentation.doc.enable = true in your NixOS config.

Resolved with 2850d8272119b6314ffbfcf52c0ebad76db7d401

Thank you for your understanding, as I am a NixOS noob with no previous NixOS experience.
I got to the point, that I can run ethercatctl start. But this results in the error:
/run/current-system/sw/bin/ethercatctl: line 108: /sbin/modprobe: No such file or directory

Looking at the ethercatctl script it is no wonder, as some execs are expected at the "default" locations:
LSMOD=/sbin/lsmod
MODPROBE=/sbin/modprobe
RMMOD=/sbin/rmmod
MODINFO=/sbin/modinfo
IP=/bin/ip

Any idea how this can be solved?

@Necropaw Can you test it with my latest fix in https://github.com/NixOS/nixpkgs/pull/302959/commits/89eb8c6af54338c4f8acb0372485ef7085b9d811?

@stv0g this also rewrites the shebang and results (on my system) in the first line in ethercatctl:
#!/nix/store/izpf49b74i15pcr9708s3xdwyqs4jxwl-bash-5.2p32/nix/store/vg4vfjx3iigcp9d762ciqkjibz3hgfq1-iproute2-6.10.0/bin/bash

Sorry, my fault. Fixed in 5c3fa7f454ff7860ab26b6208a0f9f8ccc118293

@SuperSandro2000 Do you maybe have some bandwidth to revisit this PR? I have addressed all your comments.

I also added a new NixOS module to configure the EtherCAT kernel module in b51ca578ae500cbcabd7af2df97ce2deb9ef00d8, as well as a NixOS VM test alongside it in 7e95ba9df377bfe5f5463a325e201c53af067609 which verifies that the kernel module can be loaded and the userspace tooling detects a dummy EtherCAT master interface.


No devices found

Hi,
I just installed this plug-in but it does not seem to find my Yeelight Meteorite Table Pedant Light
When the homebridge starts it only logs this:
Apr 14 11:36:00 raspberrypi homebridge[22305]: [4/14/2020, 11:36:00 AM] Loaded plugin: homebridge-yeelight-wifi
Apr 14 11:36:00 raspberrypi homebridge[22305]: [4/14/2020, 11:36:00 AM] Registering platform 'homebridge-yeelight.yeelight'
Apr 14 11:36:00 raspberrypi homebridge[22305]: [4/14/2020, 11:36:00 AM] [Yeelight] Initializing yeelight platform...
Apr 14 11:36:01 raspberrypi homebridge[22305]: [4/14/2020, 11:36:01 AM] [Yeelight] Searching for known devices...
Apr 14 11:36:01 raspberrypi homebridge[22305]: [4/14/2020, 11:36:01 AM] [Yeelight] Sending search request...
Apr 14 11:36:16 raspberrypi homebridge[22305]: [4/14/2020, 11:36:16 AM] [Yeelight] All known devices found. Stopping proactive search.

How can I expose my lamp to Homekit?
I'm using the basic (minimum) config:
{
  "platforms": [
    {
      "platform": "yeelight",
      "name": "Yeelight"
    }
  ]
}

Any help appreciated

OK, I figured it out
I'm using the Xiaomi Mi Home app which does not have the Developer mode (LAN Control) option.
You have to install the Yeelight app to be able to enable LAN Control
Now the devices are discoverable in homebridge


Refactor configs & transform

Summary
This diff starts to actually separate configs into two individual ones with distinct keys rather than overlaps. It requires a bunch of rewrites because some config fields were passed into the wrong places in the first place. For example, I made it so we passed "watch" to babel-jest, which should not know anything about how it is being used. I had to rewrite the entire transform pipeline (transform.js to ScriptTransformer.js) to cache transform specific data (like the location of .babelrc) per test rather than globally. However, I think it was worth it. The new ScriptTransformer makes much more sense than the spaghetti file we had there before.
There'll be more diffs on top of this, I recommend reviewing this in the order of the commits, with the last one being the biggest one. There'll be many more diffs to separate configs more.
Test plan
jest

Codecov Report

Merging #3376 into master will decrease coverage by 0.75%.
The diff coverage is 25%.

@@            Coverage Diff             @@
##           master    #3376      +/-   ##
==========================================
- Coverage   64.89%   64.14%   -0.76%
==========================================
  Files         176      176
  Lines        6521     6523       +2
  Branches        4        4
==========================================
- Hits         4232     4184      -48
- Misses       2288     2338      +50
  Partials        1        1

Impacted Files
Coverage Δ

packages/jest-environment-jsdom/src/index.js
0% <ø> (ø)
:arrow_up:

packages/jest-config/src/constants.js
100% <ø> (ø)
:arrow_up:

packages/jest-config/src/normalize.js
89.54% <ø> (ø)
:arrow_up:

packages/jest-environment-node/src/index.js
69.56% <ø> (ø)
:arrow_up:

packages/jest-cli/src/runJest.js
0% <0%> (-59.04%)
:arrow_down:

packages/jest-cli/src/runTest.js
15.55% <0%> (ø)
:arrow_up:

packages/jest-jasmine2/src/setup-jest-globals.js
0% <0%> (ø)
:arrow_up:

packages/jest-jasmine2/src/index.js
0% <0%> (ø)
:arrow_up:

packages/jest-cli/src/reporters/SummaryReporter.js
26.15% <0%> (ø)
:arrow_up:

packages/jest-jasmine2/src/jest-expect.js
0% <0%> (ø)
:arrow_up:

... and 6 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 dfcc4b2...e665d2d. Read the comment docs.

I renamed the transform-test.js file. Thanks for that recommendation and the thorough review!


fix: don't timeout when calling functions on the runtime

fix: don't timeout when calling functions on the runtime
Found by a user whose project takes > 5 seconds for Credo to run

Current dependencies on/for this PR:

main

PR #196   👈

This comment was auto-generated by Graphite.


proposal: math: fixed decimal types

Proposal Details
I propose reconsidering the inclusion of fixed decimal types as a standard language feature.
This has been extensively discussed in these two issues:

Issue #12127
Issue #26699

Motivation
Currently, fixed decimal types are supported by several third-party packages, including the popular shopspring/decimal. However, a recent PR suggests that the long-term maintenance of this library is uncertain. This situation forces the community to constantly adapt to the latest maintained fork, which is a long-term burden on the ecosystem.
Decimal libraries are also crucial in various core areas, such as database drivers, validation, and testing libraries. Standardization of a fixed decimal type would ensure that:

Database drivers can reliably unmarshal to a standardized type.
go-playground/validator can natively validate decimal types.
stretchr/testify can natively support decimal types.
Passing data between libraries using different decimal implementations would no longer require conversion.

For these reasons I think it is a worth another look at one of the above proposals or a suitable alternative that supports standards and furthers interoperability.

We want to avoid the trap of continually revisiting old decisions.  That can easily consume all of our time and make it difficult to move forward.  Is there significant new information on this topic that would lead us to make a different decision this time?

The impetus for opening this for me was noticing that a package my employer depends on heavily at the moment (shopspring/decimal) seems to be semi-abandoned as it's now actively pointing at forks.   The previous proposals rely on the existence of these tools in the community as part of the justification for exclusion from the language.
Primitive decimal math is something that deserves a higher level of support for interoperability, security and long term stability.

rsc's comment (from 2016) when #12127 was closed: https://github.com/golang/go/issues/12127#issuecomment-262075744 . FWIW https://pkg.go.dev/github.com/shopspring/decimal?tab=importedby lists 34,460 known importers.

In my opinion, shopspring/decimal hasn't been the most optimal decimal implementation in the ecosystem for many years now. Projects should be looking to migrate to https://github.com/cockroachdb/apd

In my opinion, shopspring/decimal hasn't been the most optimal* decimal implementation in the ecosystem for many years now. Projects should be looking to migrate to https://github.com/cockroachdb/apd

in terms of performance and correctness

I think this highlights the problem of something so fundamental being relegated to library support - we are forever stuck with a fragmented ecosystem for solutions that traditionally rely on fixed decimal (e.g. finance).

I'm here for this proposal. That Go doesn't have a native type for decimals is IMHO a deficiency of the language. Claiming that "yeah, but there's non-native packages" is an acceptance of a shortcoming of a type critical for any measurement or financial use case.
IMHO this https://github.com/golang/go/issues/19787 would be the optimal spot for the discussion (and has it earmarked for Go v2, whenever that may be delivered)

#19787 (which is no longer marked v2) is about decimal float types, this issue is about decimal fixed types.

#19787 (which is no longer marked v2) is about decimal float types, this issue is about decimal fixed types.

Good catch (v2)! And 🤦🏼 on my behalf.

I read some articles, blogs and nothing has changed:
•	no float is good for any decimal analysis even if float32 is used
•	The Cobol had fixed point arithmetic’s at base 10- that works and good precision.
•	Most in finance use integers or still run on Cobol for above reason
•	Python import decimal works well as long as a = Decimal(‘0.1’) as string and it is good module with easy syntax, some book teach a=Decimal(0.1) but that will cause problems, library allows to type as no string.
•	GO does not have decimal module out of box, lots of proposals, there are third party libraries but some are not good. That does not help single standard as multiple choices exist and bring confusion.
Decimal module with easy syntax would help GO adoption- to migrate some finance program from Cobol, and for average users that are familiar with Python and understand floating point problems.
I am learning GO so write that as novice observing space.

I watched original release vide from over 14 years ago.
The point was to declutter, but if generics are missing there is opposite effect if there are multiple libraries doing same things. None of decimal implementations including in Python are good to me as visual mess.
If to implement there should be single import and all to be treated as fixed point arithmetic’s with decent precision up to 9 to cover crypto and no added syntax and people could do their flaot32 or 64 as variables.
Just to type 0.2 + 0.4 and have correct results rather than in Python Decimal("0.2") + Decimal("0.4")
Out of box base 10 with 9 decimal spaces would be enough for generic use.
Of course they made originally GO for Google.
Many generics are missing:  simply Tkinter equivalent GUI, what 1990 QBASIC had INKEY$ (to read key), time, power, random was all out of box- single standard, not some imports.
I still use QBASIC to prototype, VGA standard each color as integer, can draw on screen and use keys if needed and have plenty precision. QBASIC was compiling with two math options.


how to print each loss&acc for every classes

i am doing a object detection project for 9 classes(including background), but in the end it prints out the loss and classfication score for overall classes. so i am wondering how could I print out loss and acc(ie, rnploss&acc, rcnn loss&acc) for each class?

Proposed labels: "Discussion"
Please ask this question on http://discuss.mxnet.io/

Can you please ask usage related questions at - https://discuss.mxnet.io/
Please feel free to reopen if you encounter any issues.


added SKIP status and removed critical attribute (fixes #3726)

fixes #3726

Comments about the PR:

Looks good to me in general.
Critical Tests have been removed under statistics/total, but it seems schemas aren't strict enough to notice that.
We are going to add SKIP as a message level so that should be taken into account as well. Was it already added @yanne? Can you @bitcoder add it to schemas?

While looking at the schemas, I noticed we still have attributes like html that has value yes or no. I'd like to change that to true/false (i.e. xs:boolean) and possibly see are there others where we could use the standard XSD types. Do you @bitcoder have opinion is that a good idea? Using standard types sounds good in general for my but I'm worried about backwards incompatible change? It would need a separate issue anyway.

@pekkaklarck ,

I've added SKIP to the schemas

Critical Tests have been removed under statistics/total, but it seems schemas aren't strict enough to notice that.

well, the schema as it is defines the possible attributes; it doesn't restrict you from using other attributes (including the one that we removed)

on the html yes/no topic, I think the xs:boolean type in fact makes more sense; I haven't changed it as it may require a broader decision, as you mentioned, that could affect other attributes

According to @yanne this PR now covers all changes in RF 4.0 so I'll merge it. Changing yes/no to true/false and doing other such changes can be considered but needs a separate issue.


turbo-ignore do not work on a single repo

Verify canary release

[X] I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue
https://github.com/devjiwonchoi/repro-turbo-ignore-single-app
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Which canary version will you have in your reproduction?
turbo 1.13.4-canary.4
Describe the Bug
Context: Using turbo on a single Next.js app (non-monorepo)
turbo build --dry json returns the packages as undefined, so it throws an error as below:

Expected Behavior
In tuborepo, we need to add logic to include a single repo to packages value as well.
To Reproduce
Run the following commands:
pnpm i
pnpm turbo build
npx turbo-ignore

Confirm that the packages value is missing
pnpm turbo build --dry=json

Additional context
x-ref: #8171

Hey @devjiwonchoi thanks for the report. This shouldn't straight up fail, so we can fix that. However using turbo-ignore with a single package repo is not necessary, since turbo only has package level granularity it will never ignore.

@tknickman Thank you for the fix!
I came across from this video by Anthony where it introduces to use turbo-ignore to possibly skip everything on CI before even installing deps, as well as from the docs.
As I'm benefitting so much from turbo build and the remote cache on my Next.js app, I'd love to benefit even more with turbo-ignore where I can turbo build locally, remote cached, and not even installing deps on Vercel and save money for Vercel and time for myself.
I think it's feasible.. or maybe I misunderstood the feature?

That's awesome you're benefiting from turbo build!
turbo-ignore helps when deploying in CI (it works best on Vercel!) to determine if your changes are relevant to the app you're deploying. It does this by determining if your package, or any of your packages dependencies have changed. When you're working with a single package application - a deployment will only be queued when it has changes, thus running turbo-ignore won't matter as it will always determine that the project should build.

Ah, understood. Thank you for your kind explanation!!

No problem - thanks again for the report of the issue!


How to debug with multi-gpu training

Hi, I am trying to debug multi-gpu training with Pycharm. But the multi-gpu training directly called the module torch.distributed.launch. I didn't find out how to debug it on Pycharm. I configure it this way

But it threw out error 'no module named tools/train.py'
Could you please help, I am trying to understand the codes by debugging.

I suggest using single gpu for debugging. It is hard to debug in the distributed training mode.

Hi, I am trying to debug multi-gpu training with Pycharm. But the multi-gpu training directly called the module torch.distributed.launch. I didn't find out how to debug it on Pycharm. I configure it this way

But it threw out error 'no module named tools/train.py'
Could you please help, I am trying to understand the codes by debugging.

Where you able to find out about this?

Solution: Module name: /home/user/.local/lib/python3.6/dist-packages/torch/distributed/launcher.py
or wherever your module.distributed.launch is...

I solve the bug by this in remote python interpreter

Dear @Dejan1969
I am doing remote debugging. How can I apply this?

@ghasemikasra39
Did you solve this problem？ Thanks！

launch

Thank you, it works well.

I solve the bug by this in remote python interpreter

@purity77
Thank you, it works well for me


support LargeListArray in pyarrow

import numpy as np
import datasets
a = np.zeros((5000000, 768))
res = datasets.Dataset.from_dict({'embedding': a})

'''
  File '/home/wenjiaxin/anaconda3/envs/data/lib/python3.8/site-packages/datasets/arrow_writer.py', line 178, in __arrow_array__
    out = numpy_to_pyarrow_listarray(data)
  File "/home/wenjiaxin/anaconda3/envs/data/lib/python3.8/site-packages/datasets/features/features.py", line 1173, in numpy_to_pyarrow_listarray
    offsets = pa.array(np.arange(n_offsets + 1) * step_offsets, type=pa.int32())
  File "pyarrow/array.pxi", line 312, in pyarrow.lib.array
  File "pyarrow/array.pxi", line 83, in pyarrow.lib._ndarray_to_array
  File "pyarrow/error.pxi", line 100, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: Integer value<PHONE_NUMBER> not in range: -2147483648 to<PHONE_NUMBER>
'''

Loading a large numpy array currently raises the error above as the type of offsets is int32.
And pyarrow has supported LargeListArray for this case.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Hi, thanks for working on this! Can you run make style at the repo root to fix the code quality error in CI and add a test?

Hi, I have fixed the code quality error and added a test

It seems that CI fails due to the lack of memory for allocating a large array, while I pass the test locally.

Also, the current implementation of the NumPy-to-PyArrow conversion creates a lot of copies, which is not ideal for large arrays.
We can improve performance significantly if we rewrite this part:
https://github.com/huggingface/datasets/blob/83f695c14507a3a38e9f4d84612cf49e5f50c153/src/datasets/features/features.py#L1322-L1323
as
 values = pa.array(arr.ravel(), type=type)

@xwwwwww Feel free to ignore https://github.com/huggingface/datasets/pull/4800#issuecomment-1212280549 and revert the changes you've made to address it.
Without copying the array, this would be possible:
arr = np.array([
    [1, 2, 3],
    [4, 5, 6]
])

dset = Dataset.from_dict({"data": [arr]})

arr[0][0] = 100 # this change would be reflected in dset's PyArrow table -> a breaking change and also probably unexpected by the user

@xwwwwww Feel free to ignore #4800 (comment) and revert the changes you've made to address it.
Without copying the array, this would be possible:
arr = np.array([
    [1, 2, 3],
    [4, 5, 6]
])

dset = Dataset.from_dict({"data": [arr]})

arr[0][0] = 100 # this change would be reflected in dset's PyArrow table -> a breaking change and also probably unexpected by the user

Oh, that makes sense.

passed tests in ubuntu while failed in windows

@mariosasko Hi, do you have any clue about this failure in windows?

Perhaps we can skip the added test on Windows then.
Not sure if this can help, but the ERR tool available on Windows outputs the following for the returned error code -1073741819:
# for decimal -1073741819 / hex 0xc0000005
  ISCSI_ERR_SETUP_NETWORK_NODE                                   iscsilog.h
# Failed to setup initiator portal. Error status is given in
# the dump data.
  STATUS_ACCESS_VIOLATION                                        ntstatus.h
# The instruction at 0x%p referenced memory at 0x%p. The
# memory could not be %s.
  USBD_STATUS_DEV_NOT_RESPONDING                                 usb.h
# as an HRESULT: Severity: FAILURE (1), FACILITY_NONE (0x0), Code 0x5
# for decimal 5 / hex 0x5
  WINBIO_FP_TOO_FAST                                             winbio_err.h
# Move your finger more slowly on the fingerprint reader.
# as an HRESULT: Severity: FAILURE (1), FACILITY_NULL (0x0), Code 0x5
  ERROR_ACCESS_DENIED                                            winerror.h
# Access is denied.
# 5 matches found for "-1073741819"

What's the proper way to skip the added test in windows?
I tried if platform.system() == 'Linux', but the CI test seems stuck

@mariosasko Hi, any idea about this :)

Hi again! We want to skip the test on Windows but not on Linux. You can use this decorator to do so:
@pytest.mark.skipif(os.name == "nt" and (os.getenv("CIRCLECI") == "true" or os.getenv("GITHUB_ACTIONS") == "true"), reason="The Windows CI runner does not have enough RAM to run this test")
@pytest.mark.parametrize(...)
def test_large_array_xd_with_np(...):
    ...

Hi again! We want to skip the test on Windows but not on Linux. You can use this decorator to do so:
@pytest.mark.skipif(os.name == "nt" and (os.getenv("CIRCLECI") == "true" or os.getenv("GITHUB_ACTIONS") == "true"), reason="The Windows CI runner does not have enough RAM to run this test")
@pytest.mark.parametrize(...)
def test_large_array_xd_with_np(...):
    ...

CI on windows still stucks :(

@mariosasko Hi, could you please take a look at this issue

@mariosasko Hi, all checks have passed, and we are finally ready to merge this PR :)

@lhoestq @albertvillanova Perhaps other maintainers can take a look and merge this PR :)

same issus come from pyarrow.Is there a solution for this?
file parquet:50GB
datasets version: 2.14.4
pyarrow :12.0.1
Generating train split: 0 examples [01:22, ? examples/s]
Traceback (most recent call last):
File "/opt/conda/lib/python3.10/site-packages/datasets/builder.py", line 1925, in _prepare_split_single
for _, table in generator:
File "/opt/conda/lib/python3.10/site-packages/datasets/packaged_modules/parquet/parquet.py", line 79, in _generate_tables
for batch_idx, record_batch in enumerate(
File "pyarrow/_parquet.pyx", line 1315, in iter_batches
File "pyarrow/error.pxi", line 115, in pyarrow.lib.check_status
OSError: List index overflow.

when this feature adds to the newest version?

LargeListArray support is not ready yet, there is one remaining change:

I think the key is to add the large parameter to Sequence and update the functions you modified in this PR to use pa.list_() if large is False, and pa.large_list otherwise

Gents, any move on this. Convert largse list of dicts to Datasets is a nightmare and took all RAM possible. Is there any other alternative?
Thanks,
Steve

Arrow large_list is supported since datasets 2.21.0. See: https://github.com/huggingface/datasets/releases/tag/2.21.0

#7019


Iframe-Resizer is not working on cross domain.

Hi,
Iframe-resizer first benefit "height and width resizing of the iFrame to content size." is not working.
i tried all methods but didn' work. And couldn't use any method of plugin (getpageinfo, getid etc).
Page A (Main)
Im calling  iframeResizer.js on  main page.
jquery codes:
		$("iframe#test").on("load", function () {
			$('iframe#test').iFrameResize( [{
			checkOrigin:false,
			log:true,
			enablePublicMethods     : true,
                         heightCalculationMethod : 'max'
			}] );

			});

html codes:

Page B (http://www.myiframedomain.com)
Im calling  iframeResizer.contentWindow.min.js on    Page B.
P.s: im loading last version of jquery both pages. Page A and B are different domains.
My main page console log is "[iFrameSizer][Host page: test] IFrame has not responded within 5 seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ingored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning." (only 1 message. no have any error log.)
Problem:  There is no change height of  id#test iframe . While the page is first loading im seeing scrollbar of iframe ( height  100-150px - real iframe height 1700px) but suddenly scrollbar is closing (like overflow:hidden) and my iframe height still 100-150px. (page is loading in 2-3 seconds)
In summary; is not working. What is the wrong ? How can do it?

It would appear that the iframeResizer.contentWindow.min.js has not been loaded correctly in the iFrame.

i used  cdn instead of iframeResizer.contentWindow.min.js and worked. Thanks...
But other problem is:  when  my iframe source change iframe height/weight still  same (first iframe soruce's height).
For example:
First iframe source height: 1300.
Second iframe source height: 200.
Third iframe source height: 500.
so im changing  source with  in each iframe's own button but iframe height still first iframe heigt.
i wanna  adjust iframe height by which iframe source  loaded.
i called function onload event. When i click button of first iframe to loading next iframe  error log is "[iFrameSizer][Host page: test] Ignored iFrame, already setup."
How can i resize iframe's height again. (by the which source loading)

You have to have the contentWindow JS file in each page you load into your
iframe

There is contentWindow JS in each page load . Can i destroy setup before loading.  After again setup. (Destroy -Create cycle when page is loading).
i tried giving  random classname to iframe. and selector is this random classname but still same error. :/
`				$("iframe#test").on("load change", function () {
			var randomClassName =randomText();
			$('iframe#test').removeClass();
			$('iframe#test').addClass(randomClassName);

		var selectorClass = "."+randomClassName;
		$(selectorClass).iFrameResize( [{
		checkOrigin:false,
		log:true,
		sizeHeight:true,
		scrolling:true,
		enablePublicMethods     : true,
       heightCalculationMethod : 'max'

		}] );`

And Eror log is "[iFrameSizer][Host page: test] Ignored iFrame, already setup."
i am thinking  "i can not use class instead of id for selector" aren't i?

You don't have to do anything on the parent page.
As long as the contentWindow file is correctly in each page in the iFrame
it will just work.
If not check your css or try different ways of calculating the size.
On Fri, 5 May 2017 at 12:27, isabas<EMAIL_ADDRESS>wrote:

There is contentWindow JS in each page load . Can i destroy setup before
loading. After again setup. (Destroy -Create cycle when page is loading).
i tried giving random classname to iframe. and selector is this random
classname but still same error. :/
` $("iframe#test").on("load change", function () {
  	var randomClassName =randomText();
  	$('iframe#test').removeClass();
  	$('iframe#test').addClass(randomClassName);

  var selectorClass = "."+randomClassName;
  $(selectorClass).iFrameResize( [{
  checkOrigin:false,
  log:true,
  sizeHeight:true,
  scrolling:true,
  enablePublicMethods     : true,
   heightCalculationMethod : 'max'

  }] );`

And Eror log is "[iFrameSizer][Host page: test] Ignored iFrame, already
setup."
i am thinking "i can not use class instead of id for selector" aren't i?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/davidjbradshaw/iframe-resizer/issues/486#issuecomment-299441266,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAkHEmdbQQjcJfqCIkgxyWBGN7jAMaSqks5r2wesgaJpZM4NRTW-
.

--
Sent from my iPhone.

i solved this problem. (Ignored iFrame, already setup.) Thnx.
i changed id every page load(when iframe source changing)
my jquery codes
`
$("iframe.ABC").on("load change", function () {
var createID =makeid(); // returned random text
$('iframe.ABC').attr('id','');  // clear prev id
 $('iframe.ABC').attr('id',createID);
 var giveID= "#"+createID; // id selector created u can use  $("#"+createID) instead of this
		$(giveID).iFrameResize( [{
		checkOrigin:false,
		log:true,
		sizeHeight:true,
		scrolling:true,
		enablePublicMethods     : true,
       heightCalculationMethod : 'bodyOffset'

		}] );

		}); `

html code
if is there like this  problem u to can  call more iframe on page A (main). And every page is resizing according to the content. But i added inline css style each Page B (Page B  has iframeResizer.contentWindow.min.js)
my inline css code  each Page B: body { position:absolute; height:auto;}. its  necessary because after first iframe (2. 3. 4. ....) plug-in  is calculating body height:100%.(more than iframe height)  With this css code  body height= content height.
Have nice day.


Add a Google Colab Notebook for stock trading with fundamental data

I added my notebook for stock trading with fundamental data. Please let me know if there are any issues!

key point: jupyter notebook for stock trading with fundamental data (PE, PS, ROA, ROE, etc)


Make this an ipython widget?

Hi!
I've been looking for an accessible python TDA module for a while. This looks really cool and I'm looking forward to trying it out.
Would you consider making an ipython widget  or putting in a PR to Bokeh  so it can be more widely utilized in the python community?
Thanks!

Thank you for interests!
I didn't thought about ipython widget or bokeh, but seems like that it can be quite useful if interactive works can be done in ipython notebook or bokeh visualization.
I will do porting work after investigation about possibilities of two.

Cool!
I left a related pr in bokeh here: https://github.com/bokeh/bokeh/issues/3049
Bokeh is it's own plotting library and server with JS interaction possible from python, though you can add external modules.


Filter listed recipies based on tags.

Using the tags given from the NLP bot, create a list of tags, display them as buttons and filter the recipes on click.

Merged PR containings tags


Closes #165 | Add BLOOM-LM dataset

Closes #165
Checkbox

[x] Confirm that this PR is linked to the dataset issue.
[x] Create the dataloader script seacrowd/sea_datasets/my_dataset/my_dataset.py (please use only lowercase and underscore for dataset naming).
[x] Provide values for the _CITATION, _DATASETNAME, _DESCRIPTION, _HOMEPAGE, _LICENSE, _URLs, _SUPPORTED_TASKS, _SOURCE_VERSION, and _SEACROWD_VERSION variables.
[x] Implement _info(), _split_generators() and _generate_examples() in dataloader script.
[x] Make sure that the BUILDER_CONFIGS class attribute is a list with at least one SEACrowdConfig for the source schema and one for a seacrowd schema.
[x] Confirm dataloader script works with datasets.load_dataset function.
[x] Confirm that your dataloader script passes the test suite run with python -m tests.test_seacrowd seacrowd/sea_datasets/<my_dataset>/<my_dataset>.py.
[ ] If my dataset is local, I have provided an output of the unit-tests in the PR (please copy paste). This is OPTIONAL for public datasets, as we can test these without access to the data files.

Test log of Bloom LM (.log file attached):
test_bloom_lm.log

@holylovenia @jamesjaya Hello! I've spoken with our linguists and they've advised that it's better to label it as psp as it is its own distinct language, and is treated separately no matter what Philippine language it is aligned with in a parallel corpus. A sign language to Cebuano dataset would therefore be psp-ceb.

Hi @sabilmakbar, please let us know if you need help with the dataloader or if you still have some questions.

Done updating, pls have a check and let me know if the suggested changes have been implemented


Unable to expand Tables of the storage Account

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.24.3
Regression From
No response
Architecture
x64
Storage Explorer Build Number
No response
Platform
Windows
OS Version
No response
Bug Description
Unable to retrieve child resources.

Closing due to lack of response. If you're still running into this problem we recommend opening an Azure support ticket via the Azure Portal. Alternatively you can open a new issue here.


Bleep did not work for Neovim/VsCode for me. This should fix it

This should fix #378
Tested with Neovim 0.10.0 and metals 1.3.1.
I've also tested it with VsCode and it seems to work fine there.
When running bleep compile  --watch I am seeing errors reported twice, but I am not sure if that is related to this in any way.

The main fix here was already done on master, bumping the bloop-rifle version to latest (I think it wars 1.5.16 that had the fix)

oh, more of these. thanks!
I'll cut a release within a day or two with this 👍


Imports view

Way to view imports

Would you consider this finished since it's available in the triage plugin?

Not really this, #160 and #69 are all going to be part of a "functions list" refactor

Closing this as #69 already covers this.


Filter session by type

As an... author
I want to... filter submitted sessions by type
In order to... avoid submitting something that conflicts with another session by accident OR to know what sessions are my direct competitors.

Also as program chair I want to be able to follow up on new session types and give early feedback to authors that are using them, so I can increase the chances that those sessions can be approved and are delivering what we expected and/or are aligned with our expectation for them.

hmm.. what does 'follow up on session types' means?
Getting an email whenever there is a submission or update for that type? Having it as a 'saved search'? How would that look like? Is it an admin thing or can anyone do it?

I was thinking "low tech", but I was most certainly planning on weekly, during the submission period, entering the system and searching for the following session types: duel, are you sure of it? and be creative!, just to be sure that the submissions capture the right idea of what we want them to deliver. Personally, since we don't have so many people that can work on the issues, I rather build simple functionalities that serve multiple purposes than ones that are too specific.

Commits between 1837d5917ad9d10ef2fdc5808aba0fd4a6c434a3 and 1fc6680104ec3558a96dd26900c49b837bf7bb4b from @celsoMartins solved this issue. @ericabriones confirmed it was all good! :+1:


ServiceBus to Blockchain connection not working (when using existing Blockchain)

When I push a message through the ServiceBus to the Blockchain, the event does not seem to get to the Blockchain - this is only true if instead of creating a new Blockchain (when I create the Workbench resource), I use an existing Blockchain (i.e. I use the Azure template to create a PoA ethereum resource and then associate that endpoint to the Workbench Template).  I'm leveraging the latter so I can then use explorer like blk.io to view the blocks, contracts, transactions on the blockchain...

That's strange - are you getting any error messages as documented here: https://docs.microsoft.com/en-us/azure/blockchain/workbench/messages-overview#input-api-error-codes-and-messages


4.0.1 fails on missing checksums

In 4.0.1, declaring a file with no "checksums" in the outer data fails. yeilding a 500 error to the client.

Fixed in https://github.com/fermitools/metacat/commit/7c4bc91b2ca606b422cc1cb90cd20c395d9e004b


Key-value put method sometimes throw error

Trying to upload these files: https://testeron.pro/osm/tiles_sw.zip with this script https://github.com/fairDataSociety/galileo/blob/master/scripts/upload-map.js.
The script will put ~7000 key-value pairs. In the end of this loop pairs stops to put with error below.
On swarm part I get error "bytes upload: split write all"
time="2021-09-22T17:54:37Z" level=info msg="api access" duration=0.001275302 ip=<IP_ADDRESS> method=GET proto=HTTP/1.1 size=66 status=404 uri=/chunks/0bf61d1d70f4a3eb4ff931cf33fcdd0feb7db7ab8e87f8e51cf7d08f85913896 user-agent=Go-http-client/1.1
time="2021-09-22T17:54:38Z" level=info msg="api access" duration=0.493528625 ip=<IP_ADDRESS> method=GET proto=HTTP/1.1 size=380852 status=200 uri=/bytes/805f3c31d334a23fae97c8dc38a7c342eace4e95b04c37476389f412d6f8ae51 user-agent=Go-http-client/1.1
time="2021-09-22T17:54:38Z" level=error msg="bytes upload: split write all"
time="2021-09-22T17:54:38Z" level=info msg="api access" duration=0.437061943 ip=<IP_ADDRESS> method=POST proto=HTTP/1.1 size=72 status=500 uri=/bytes user-agent=Go-http-client/1.1
time="2021-09-22T17:54:39Z" level=info msg="api access" duration=0.001808463 ip=<IP_ADDRESS> method=GET proto=HTTP/1.1 size=66 status=404 uri=/chunks/33ec4e6f6e2e1fabccb73d8c233d7421dd31cdc3e7ba9d9fa90f02d016f7e2cc user-agent=Go-http-client/1.1

Seems an old bee issue. Closing this for now.


v6.19.0 doesn't work with selenium-webdriver 4

I may just be seeking clarification. Is the intention that 6.19.0 only works with selenium-webdriver  3.142.7? After the release of 6.18.0 which worked with selenium-webdriver 4, I didn't expect the next release to back down from that.
Meta -
Watir Version: 6.19.0
Selenium Version: 4.0.0.beta2
Expected Behavior -
These gems work together.
Actual Behavior -
watir requires selenium-webdriver 3.142.7

Watir 6.x is not guaranteed to support Selenium 4 (or Ruby 3).
6.19 is intended to support the way that Watir 7 will work with Selenium 4, so that you can update your code in Watir 6.19 with Selenium 3 in a way that will work in Watir 7 with Selenium 4.
All of that being said, what is the specific issue you are facing?

Thanks for the quick response. My issue was that 6.18 allowed me to experiment with selenium 4 beta and 6.19 doesn't, since the dependency in the gemspec now specifies selenium-webdriver = 3.142.7. That surprised me so I filed this ticket.

Oh, I see what you mean. Ok, yeah, that was an oversight. I hard coded it for running my tests and then didn't change it.

Fixed in 6.19.1
6df06192f384644c3c8acb6404a0cbfb28dbbc5f


[#109060102] Use spruce version 0.13.0 instead of 0.12.0

https://www.pivotaltracker.com/story/show/109060102
What
Use the latest version of spruce, 0.13.0 which has been tested with the vanilla CF
manifests.
How to test?
(Note: recommended use a ruby manager like RVM)
bundle install
bundle exec rake build:spruce spec:spruce

Who?
Anyone but @keymon

:+1:  LGTM


Add an API that returns whether a client used TLS False Start

Problem:
TLS False Start is an optional behavior of TLS client that reduces latencies of requests by 1-RTT in TLS 1.2. Modern browsers and s2n support this behavior. Add an API that can help determine whether a client has connected with False Start.
Solution:
A description of the possible solution in terms of S2N architecture. Highlight and explain any potentially controversial design decisions taken.
Add
bool s2n_connection_has_false_started(conn)

When the server is handing Client Finished / Server CCS, peak into the receive buffer to see if there's application data. If so, a client has probably used False Start.

Does this change what S2N sends over the wire? No
Does this change any public APIs? Yes
Which versions of TLS will this impact? Any

Requirements / Acceptance Criteria:
What must a solution address in order to solve the problem? How do we know the solution is complete?

RFC links: https://tools.ietf.org/html/rfc7918
Related Issues: -
Will the Usage Guide or other documentation need to be updated? Yes
Testing: Test with popular browser (eg. Chrome/Firefox)

Will this change trigger SAW changes? No
Should this change be fuzz tested? Will it handle untrusted input? No

Out of scope:
Is there anything the solution will intentionally NOT address? No

onn->in is not hydrated by s2n_connection_recv_stuffer() even though there may be data after CLIENT FINISHED. this is because the state machine switches to write until SERVER_FINISHED is sent. since source buffers is not exposed, some options may be to have a peek api or attempt s2n_recv() prematurely, but this does not seem so straight forward or simple now.


Fix restoration of windows saved state

Suggested code changes alter current behavior of window saved state restoration to address the following issues:

window saved bounds not being restored when they extend past screen bounds in any direction;
divider location of main window's split pane is restored incorrectly when main window state is restored to maximized.

Changes with extended state is fine, but you can't just remove isContainedInAnyScreen method because it was added with a purpose (from PR #521):

This change accepts the stored windows positions only if they are completely inside one of the visible screens, otherwise show it by the default location in the default screen.
The reason of this, if a user changes from two screens to one screen, then he won't be able to see the windows at all.
Ideally, we should check if a part of the window is inside the screen, or if the window is split between two screens, but I don't think this is necessary at this time.

And looks like it is a time to somehow merge these requirements. Maybe also save screens config and if it changes ignore saved position.

Ideally, we should check if a part of the window is inside the screen
It does seem that such check is enough to handle all cases in which window saved bounds aren't included in any screen.

Maybe also save screens config and if it changes ignore saved position.
Why would this be needed, assuming the check above is sufficient for handling problematic cases properly? Is it not?

@CmP-lt looks good now, thanks!

451cc3d adds handling for cases when window saved bounds are outside of all screens by implementing the check described above. isAccessibleInAnyScreen is a new (suitable, I suppose) name for isContainedInAnyScreen method in which Rectangle's contains method is replaced with intersects.


Add documentation

Currently this is undocumented. Please add documentation.

It's a library mod for Qmunity mods, there is not much to document?

I use it a lot in my mods, If you need help with something basic I could help. If I get time I might be able to write a bit.


ability to disable helium network (for example, for sales of mysterium dvpn nodes of thingsix nodes)

ability to disable helium network (for example, for sales of mysterium dvpn nodes of thingsix nodes)

possibly using an env variable @KevinWassermann94 ?


We need a sample HostConfig containing all tweakable options

None of the sample hostconfigs we currently have cover every single configurable option. We should probably have a "kitchen sink" hostconfig for demonstration purposes (h/t: @DeeJayTC).
We don't, for example, have a sample hostconfig that includes the "Highlight" color configuration. There are likely other options that aren't represented.

For what it's worth, the testVariantHostConfig.json was meant to be that for the purposes of testing all the properties in the test app, although it seems it's not up to date with all the latest properties. It's maybe not serving the exact same purpose (i was intentionally trying to set every value to something different from the default for test purposes, rather than trying to have "realistic" sample values), but we should consider combining/reconciling any host config we make for this bug with that one.

agreed. I'm thinking we should implement a Serialize method on HostConfig, and then place it under unit test (to make sure we don't introduce new options without updating tests)...

@paulcam206 assigning to you