Bind a web socket client to a specific local NIC

I have 1 LocalMachine with 2 NIC (NIC1, NIC2), on the same machine I run my java LocalApplication with 2 websocket client (WC1, WC2) running in parallel, those 2 threads are connected to 2 different websocket servers (WS1, WS2) to consume data.
What I would like to do is to bind on single local websocket client to 1 NIC, so to have the following configuration:
LocalMachine->LocalApplication->WC1.bind(NIC1).connectRemoteServer(WS1)
LocalMachine->LocalApplication->WC2.bind(NIC2).connectRemoteServer(WS2)
The goal is to use both NICs to read in parallel data from 2 different websocket and improve the performance of the application.

You can override the way that a client creates the socket using setSocketFactory method. Creating a socket bound to a specific interface should be possible using the 4 argument Socket constructor: https://docs.oracle.com/javase/8/docs/api/java/net/Socket.html#Socket-java.net.InetAddress-int-java.net.InetAddress-int- although I haven't tested this

Thanks, is there somewhere an example on how to do that in the library documents?

There is a similar example in Issue962Test.java in the test directory. It shows how to subclass SocketFactory to return sockets bound to a particular address.

Closing as solution is provided and no activity


Overhaul Linking Methodology

The older linking methodology was slow and rather inefficient. This new set makes better use of multiple dispatch and has a simpler, more consistent user interface. It also provides more robust documentation.

Codecov Report

Merging #11 (ab224d5) into master (4087aea) will decrease coverage by 8.14%.
The diff coverage is 55.99%.

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

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
- Coverage   71.82%   63.69%   -8.14%
==========================================
  Files          11       11
  Lines         749      942     +193
==========================================
+ Hits          538      600      +62
- Misses        211      342     +131

Impacted Files
Coverage Δ

src/links/downloadLinks.jl
0.00% <0.00%> (ø)

src/links/specialCases.jl
16.66% <16.66%> (ø)

src/links/identifierTypes.jl
38.79% <38.79%> (ø)

src/links/linkMethods.jl
38.88% <38.88%> (ø)

src/links/linkPairs.jl
66.21% <66.21%> (ø)

src/links/creatingLinks.jl
84.47% <84.47%> (ø)

src/utils.jl
75.87% <92.30%> (+1.36%)
:arrow_up:

... and 3 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Right whl package for Raspberry PI 4 64 bit OS beta, Kernel 5.10

I tried to install the
pip3 install https://github.com/google-coral/pycoral/releases/download/release-frogfish/tflite_runtime-2.5.0-cp37-cp37m-linux_armv7l.whl
But I am getting an error:
"tflite_runtime-2.5.0-cp37-cp37m-linux_armv7l.whl is not a supported wheel on this platform."
Is there a whl package that I can install my the RPI4 64 bit OS beta?
thx

@hackebike if it's a 64 bits OS, can you try the aarch64 wheel instead?
https://github.com/google-coral/pycoral/releases/

I was using a script from and got errors:
https://github.com/EdjeElectronics/TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi/issues/97
Is this the right whl for Raspberry PI 64 bit OS beta correct?
https://github.com/google-coral/pycoral/releases/download/v1.0.1/pycoral-1.0.1-cp38-cp38-linux_aarch64.whl
I can update the script

got this:
"pycoral-1.0.1-cp38-cp38-linux_aarch64.whl is not a supported wheel on this platform."

@hackebike and which python version do you have?
You tried a python3.7 for the 32bits wheel but a python3.8 for the 64bits wheel lol

I have python3.7 installed and I am on 64 bit.
Sorry I am confused with the naming,
Which is the correct whl file I need to install?

ok I got installed !
pip3 install https://github.com/google-coral/pycoral/releases/download/v1.0.1/tflite_runtime-2.5.0-cp37-cp37m-linux_aarch64.whl
I was confusing the python naming in the file name! Sorry!
Well at least I can report to the other project the update they need to do for Python3.7 and RPI 64 bit OS
thx

@hackebike nice!


Hardware Checksum Offloading & KVM virtio

If using virtio network devices on KVM on Linux and not having "Hardware Checksum Offloading" disabled, TCP packets will be dropped by next router.
Scenario:

next hop = openbsd
KVM on Intel XEON 64bit, virtio NIC for guest
guest config: 2 vcores, 1gb ram, 16gb HDD

Solution: Since we can detect virtio-devices, we should disable "Hardware Checksum Offloading" on such platforms. Default is enabled. I would not change the default for compatible platforms, just when virtio NICs are detected.

Out of scope, sorry. Adding the workaround is convenient, removing it will likely be forgotten long after the original guest/host issue will be fixed.

None of those issues ever get fixed. Same issue in FreeBSD/xen has never fully been fixed from 2005 till 2016 which is 11 years.
It makes sense to add a workaround instead of installing something that doesn't work.
It is not relevant if the bugfix stays in place by mistake since it will only mean a small performance degradation which is a different story than a very bad performance issue along with no functionality.
I know it's industry practice to let people suffer on those hw + vm offloading issues but I personally don't insist on suffering. Unless noone puts up testcases to validate working drivers, there's only one right thing to do.

@danrl @FlorianHeigl alright, auto-detect will always be tricky so we are opting for a portable solution: we're going to change the default to disable in the sample configuration going forward, which means factory reset or new installs will have this addressed within the scope of our project at least. This will also help the IPS folks who run into the same issues...
Thanks,
Franco


Is there a way to have errors popup on right side of screen?

When I get to bottom of a file and start writing code it pops up errors over top of my code. I end up having to put a dozen newlines at the bottom of my file and turning off my EOF newline trimmer while coding.
Is there a way with Atom to have the errors pop up on a right side toolbar or something?

I'm marking this as closed due to the fact that this is entirely handled by linter.
That being said, there is a re-write of the UI being worked on here, allowing much easier fixes to things, you might want to file an issue over there to see what can be done about this.

Cool, thanks!


Display Price on Individual Campground Listing Pages (#382)

📋 Description
This PR addresses issue #382 by adding a visible price section on individual campground listing pages. Previously, the lack of price visibility on these pages led to user confusion, as they couldn't find pricing details when viewing a specific campground.
🔨 Changes Made
Added a dedicated section for displaying the price on individual campground listing pages.

✅ Checklist

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation (if applicable).
[x] My changes generate no new warnings.
[x] I have tested it locally and it works fine.
[x] Any dependent changes have been merged and published in downstream modules.

🏷 Types of Changes

[x] Bug fix (non-breaking change which fixes an issue) 🐛
[x] New feature (non-breaking change which adds functionality) ✨
[ ] UI enhancement (non-breaking change which enhances UI) 🎨
[ ] Documentation update 📚

🤝 Related Issues
Fixes #382

Thankyou for Contributing!


MarkdownTOC disabled right after installation

Say, just downloaded MarkdownTOC and installed in my instance of SublimeText 2; but, when it appeared, it turned out that options "Insert TOC"  and  "Update TOC" are disabled, grayed-out...any ideas how to solve this?
thx

Sorry, but this plugin doesn't support ST2. Please use ST3.


Leaflet.Draw edits spawn a duplicate Leaflet.Draw menu control

also not sure what the edit / delete control on the top left corner means, it is already present in the bottom right corner.

The problem with the (always disabled) Leaflet.Draw edit control on the top left position of the map seems to be still active:


ci: Migrate to GHA

This now pushes to GAR. PR for deployment_tools is in preparation.

This will continue to push to GCR for now.

will it? 🤔 I can see the drone yaml being deleted + a new push to GAR action being used?

Fixed the description :)


UI not recomposed when locale changes

If you are in the app, go to settings and change the locale to another one that is supported the UI is not automatically recomposed so none of the strings will change to the new locale

Not sure this is something that can currently be fixed with lyricist as it seems compose does not expose a Locale State. Here is how I am looking to work around it on Android:
class MainActivity : ComponentActivity() {
    private val locale = mutableStateOf(Locale.current)
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        setContent {
            App(locale.value)
        }
    }

    override fun onConfigurationChanged(newConfig: Configuration) {
        super.onConfigurationChanged(newConfig)
        locale.value = Locale.current
    }
}

fun App(locale: Locale) {
    ProvideStrings(rememberStrings(currentLanguageTag = locale.toLanguageTag())) {
        Navigator(mainScreen)
    }
}

When I use ProvideStrings inside voyager navigator not working change local. You must restart application. Because of this: https://youtrack.jetbrains.com/issue/CMP-6891/Nesting-providesDefault-for-a-LocalProvider-blocks-changes-from-other-LocalProviders-from-being-propagated-down-the-line.


[request] ffmpeg

We got a request to add "ffmpeg" (via mailing list).
Downloads: https://ffmpeg.zeranoe.com/builds/

Pick dynamic build (its smaller)
version matching will be a bit complicated: ffmpeg-20160119-git-cc83177-win64-shared.7z

date+git hash
lets focus on the date

[ ] add crawler
[ ] add to registry
[ ] add to installers: full and web
[ ] installation target folder: "\bin\ffmpeg".

ffmpeg is also included in the ImageMagick package.
Is the ImageMagick package enough for you or do you really need the standalone builds of ffmpeg?
Please provide feedback. Thanks, Jens

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/30115469-request-ffmpeg?utm_campaign=plugin&utm_content=tracker%2F164029&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F164029&utm_medium=issues&utm_source=github).

Ok, not getting any response
ffmpeg is also included in the ImageMagick package


[Support]: Query/Inspect data in ProcessOutputBuffer

Support Request
Hi, I'm working on yet another tool using listr2 and have a couple of questions regarding the stdout, stderr handling by listr2. I've read the docs, but haven't understood it clear enough to solve the problem.
I have multiple tasks that dump MongoDB data from a remote server and the output of the dump command contains the progress information of the data being dumped. This is what the output looks like:
2023-05-13T23:13:40.350+0530 writing cms.users to dump/cms/users.bson
2023-05-13T23:13:40.722+0530[........................]  cms.users  0/20030855  (0.0%)
2023-05-13T23:13:43.721+0530[........................]  cms.users  101/20030855  (0.0%)
2023-05-13T23:13:46.718+0530[........................]  cms.users  7739/20030855  (0.0%)
2023-05-13T23:13:49.718+0530[........................]  cms.users  22577/20030855  (0.1%)
2023-05-13T23:13:52.717+0530[........................]  cms.users  36652/20030855  (0.2%)
2023-05-13T23:13:55.718+0530[........................]  cms.users  52389/20030855  (0.3%)
2023-05-13T23:13:58.718+0530[........................]  cms.users  52389/20030855  (0.3%)

I'd like to some how be able to read the information stored in the temporary buffer so I can just do task.output = Completed: 0.3%; or something to report the progress to the user.
Also if the app prints an error it would be easy for me to detect that and fail the task.
I am using the default render (since it's cleaner) and v6.4.2. Please let me know if you can help, or if you have any pointers.
Thanks,
Rushi
Preflight

[X] Read/Search existing issues and the provided documentation.

Hello @rushi,
This is an exciting use-case, but I find it very cool to do so.
ProcessOutput is only intended for renderers and to hook the process.stdout and process.stderr temporarily while rendering to not break how the log-update behaves, so it does not entirely fit this use case.
Even though you can use ProcessOutputBuffer as temporary storage to hold some string data inside of it, I realized I did not make it a ReadableStream so it can not be accessed through message events and writing them to task.output.
But we can use WritableStreams as process.stdout or process.stderr, and I usually just dump the whole output of a command to the task.output, but realized that I had no example for it in the documentation.
With a new version I have exposed the very basic of creating a temporary WriteStream the way I use for prompts and task.stdout().
I have added both examples, which is the case I use most, just dumping every output, and another one which I think will fit your case perfectly fine.
You can find them under, https://listr2.kilic.dev/task/output.html#render-output-of-a-command , a couple of minutes after this issue is closed and new documentation is published.

:tada: This issue has been resolved in version 6.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

@cenk1cenk2 You are absolutely amazing You have solved my problem so quickly and by explaining it so well. Doing a release and updating documentation on top of that is an extra bonus.
Thank you very much! ♥

No worries, you can reopen the issue if it does not fit your use case.


Documentation for k8s_nodepool is incorrect

Description
https://github.com/ionos-cloud/module-ansible/blob/master/docs/api/managed-kubernetes/k8s_nodepool.md
State the module name is k8s_nodepools
- name: Create k8s cluster nodepool
    k8s_nodepools:

It should be k8s_nodepool (without s!)
Expected behavior
Documentation should match module.

This should be solved in 7.4.1, please let us know if there are other issues.


fix buckets

If we are only moving one bucket step forward we only need to start one watcher.

Pull Request Test Coverage Report for Build 1684

14 of 22 (63.64%)  changed or added relevant lines in 1 file are covered.
8 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-2.2%) to 76.321%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Scanner/ChainScanner.ts
14
22
63.64%

Files with Coverage Reduction
New Missed Lines
%

src/Actions/Pending.ts
2
78.95%

src/EconomicStrategy/EconomicStrategyHelpers.ts
6
77.14%

Totals

Change from base Build 1680:
-2.2%

Covered Lines:
602

Relevant Lines:
758

💛  - Coveralls

This could be implemented in a way that when new bucket suppose to be started, the actually nextBucket do need to be stopped and started, as it actually becomes the currentBucket so
When it's time to start new bucket watcher

currentBucket.stop()
currentBucket = nextBucket
nextBucket.start()

@kosecki123 That's essentially what this is doing.


touchableopacity not working with custom next button beside play/pause button IOS only

I have an issue with my custom button that plays the next video, if I remove the marginTop from its style it works fine but if I allign it with the play/pause button using marginTop then touchableopacity onpress stop working in IOS only it worka fine in Android.
React native version: 0.63
IOS version: 14.5
iPhone 11
check the screenshot there are two custom buttons one is previous button and one is next button, next button onpress is working fine(because it is not aligned in same line with pause/play button) but previous button onpress is not working.

style for next button
`nextButtonMain: {
marginTop: 50,
marginLeft: 220,
alignItems: 'center',
width: 100,
zIndex: 200
},`
previousButtonMain: {
position: 'absolute',
marginTop: 100,
marginLeft: 50,
alignItems: 'center',
width: 100
},

Yes, I am also getting same issue . please provide the solution


Should choleskify return Cholesky type?

Currently, choleskify_factor turns any PSD matrix into a PSDMatrix, where the factor R is a valid Cholesky factor.
I personally think choleskify_factor should be split into a triangularize_factor() method, which turns any PSDMatrix into one with an UpperTriangular factor, and a choleskify method, which turns a PSDMatrix with an UpperTriangular factor into a Cholesky type. Why?

A method that is called choleskify would be easier to understand if it returned a Cholesky type
In most of our applications, triangular factors are sufficient, and the extra multiplication that turns upper triangular types into valid Cholesky factors can be avoided

Thoughts, @nathanaelbosch?

I agree with the split into "triangularize_factor" and "choleskify_factor", even just because triangular factors are often sufficient.
I'm a bit unsure about "choleskify" vs "choleskify_factor", where for me the former returns a Cholesky and the latter returns a PSDMatrix with a factor in Cholesky form. Intuitively, I'd have wanted to have the latter too, but I can't really think of any situation. Do you think that we're always fine with getting a Cholesky out of it? Then, maybe the function we're writing isn't actually choleskify, but a new constructor for Cholesky(::PSDMatrix)? What do you think?


@octokit/plugin-enterprise-compatibility v1.2.0

fixes #1063. Sorry, v1.2.0 was supposed to be v2.0.0 😅

Looks like sth else got broken, I'm on it


SAMZA-1926: Fix standalone configurations in configuration table.

Changes:

Fix the default value of debounce time configuration.
Remove the coordination.utils.factory configuration from the table(Infer that based upon job.coordinator.factory configuration).  Remove the definition of coordination.utils.factory from the configuration in unit tests.
Default the configuration job.coordinator.factory to ZkJobCoordinatorFactory if it is not defined by the user.

@xinyuiscool  @prateekm Please take a look when you get a chance.

@vjagadish1989 Do these changes look reasonable?

merged and submitted. @prateekm and @shanthoosh.


MIVisionX Setup - Install Updates

Boost Install Updates
Package install updates

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

See the complete overview on Codacy


fix: use td from current head for status

Previously, the network config was not using the total difficulty passed in the Head, causing hive tests to fail:
peering failed: status exchange failed: wrong TD in status: have<PHONE_NUMBER>4 want 131072000

This uses the total difficulty from the head to initialize the status.

Codecov Report

Merging #1386 (4fab2fd) into main (c415221) will increase coverage by 0.15%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main    #1386      +/-   ##
==========================================
+ Coverage   76.34%   76.50%   +0.15%
==========================================
  Files         354      354
  Lines       39540    39963     +423
==========================================
+ Hits        30187    30573     +386
- Misses       9353     9390      +37

Flag
Coverage Δ

integration-tests
22.78% <100.00%> (-0.22%)
:arrow_down:

unit-tests
70.54% <100.00%> (+0.24%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

crates/net/eth-wire/src/types/status.rs
71.80% <100.00%> (+0.15%)
:arrow_up:

crates/primitives/src/block.rs
83.85% <0.00%> (-9.01%)
:arrow_down:

crates/rpc/rpc-builder/src/lib.rs
65.90% <0.00%> (-6.24%)
:arrow_down:

crates/net/network/src/manager.rs
52.14% <0.00%> (-0.19%)
:arrow_down:

crates/primitives/src/lib.rs
100.00% <0.00%> (ø)

crates/rpc/rpc/src/eth/filter.rs
0.00% <0.00%> (ø)

crates/rpc/rpc-types/src/eth/filter.rs
0.00% <0.00%> (ø)

bin/reth/src/dump_stage/hashing_storage.rs
0.00% <0.00%> (ø)

crates/net/downloaders/src/headers/task.rs
83.67% <0.00%> (ø)

crates/storage/db/src/abstraction/table.rs
0.00% <0.00%> (ø)

... and 7 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Could not identify an equality operator for type json

Package
filament/forms
Package Version
3.0-stable
Laravel Version
v10.10
Livewire Version
No response
PHP Version
8.2.10
Problem description
Using below code for form creation
            Forms\Components\Select::make('services')
                ->multiple()
                ->relationship(name: 'apis', titleAttribute: 'name',modifyQueryUsing: fn (Builder $query) => $query->where('isActive',true))
                ->preload()
                ->searchable(['name', 'description'])
                ->loadingMessage('Loading...')->live()

will generate this error
SQLSTATE[42883]: Undefined function: 7 ERROR: could not identify an equality operator for type json LINE 1: select distinct "apis".* from "apis" left join "api_app" on ... ^

select
  distinct "apis".*
from
  "apis"
  left join "api_app" on "apis"."id" = "api_app"."api_id"
where
  "isActive" = 1
order by
  "apis"."name" asc

I think this is related to the fact I'm using postgresql database
Expected behavior
The select form field should list all options
                ->relationship(name: 'apis', titleAttribute: 'name',modifyQueryUsing: fn (Builder $query) => $query->where('isActive',true))

Steps to reproduce
Nothing special or any customization has been done, just do this:

Use Postgresql database (not sure about MySQL)
create "create" form with select and relationship (many to many with pivot table)
the second model should have json column
browse to "create" page and you will get this error

Reproduction repository
https://github.com/mrahmadt/filamentphp-bug-sql-json
Relevant log output
Route:

    App\Filament\Resources\AppResource\Pages\CreateApp@__invoke

    filament.admin.resources.apps.create

        panel:admin

Illuminate\Cookie\Middleware\EncryptCookies

Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse

Illuminate\Session\Middleware\StartSession

Illuminate\Session\Middleware\AuthenticateSession

Illuminate\View\Middleware\ShareErrorsFromSession

Illuminate\Foundation\Http\Middleware\VerifyCsrfToken

Illuminate\Routing\Middleware\SubstituteBindings

Filament\Http\Middleware\DisableBladeIconComponents

Filament\Http\Middleware\DispatchServingFilamentEvent

Filament\Http\Middleware\Authenticate

I'm not able to get around this issue, any workaround please?

As per canyongbs/advisingapp#324, the solution is to switch to a jsonb column. The distinct() part of the query does not come from the Filament codebase (as far as I can see), so there is not anything we can change about it.

Is avoiding jsonb a requirement? It should be a good replacement for json

Hi,
Thanks for the response. Let me read up on it (jsonb) and test it. It's not a requirement, was thinking that my data structure is wrong for some reason and I need to change my approach. Did not read the above correctly. My apologies.


Fixed product image resolution text and footer text

Issue Reference
Fixed product image resolution text and footer text

@shivendra-webkul
Checked and Found that the issue has been fixed, Please check the video for reference.
Video
https://github.com/bagisto/bagisto/assets/92721837/23aa695b-4370-40e4-97f5-6e1d5fa8a0dc


Fix #524

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:
fix #524

Coverage remained the same at 89.916% when pulling 69bbfcedfb3743c1f7daf290631ece7b96dab2f4 on qkdreyer:patch-1 into 8d245e7c3091b3047d4fbaf9e6dcaea31d5fc7c3 on vue-generators:master.


fix: Exception rework

Description
See #4358

add new Exception classes in CodeIgniter\Exceptions

LogicException
RuntimeException
BadFunctionCallException
BadMethodCallException
InvalidArgumentException

add domain-level ExceptionInterface to catch all Exceptions in the domain

Files
HTTP
Router

all Exception classes that the framework throws

implement CodeIgniter\Exceptions\ExceptionInterface
extend \Exception (not \Error)
extend \LogicException or \RuntimeException

Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

@codeigniter4/core-team Any comments?

@kenjis I like this one especially LogicException and InvalidArgumentException
But it will be useful to add some explanation and use cases in docs as well on https://www.codeigniter.com/user_guide/general/errors.html#using-exceptions

I would like to document that LogicException means a bug in the app code,
so the code should be fixed when LogicException occurs,
and that LogicException should not be caught.
I would like to know if this PR may or may not be merged into 4.5.


Progress bar keeps growing with dynamically created math

I have a case where math is dynamically created based on user input. Over time, the MathJax progress bar ("Typesetting ...") grows beyond all limits. I wish there was an (official) way of resetting it. I can reset MathJax.Message.typesetting etc. by hand, but it feels like MathJax should do this automatically after finishing its job.

Good point.  This is with messageStyle set to simple, I assume.  I agree that it should be reset for the next typeset operation.

The issue1428 branch of my fork of MathJax fixes the issue.

==> Merged.

==> In testsuite
UI/issue1428.html


ttx: use default network identity if not specified

This commit allows the developer to create a new
nomimal token transaction with the default identity
of the target network.
Comments have been added and the fungible integration test
now generate also nominal transactions to issue tokens.
Signed-off-by: Angelo De Caro<EMAIL_ADDRESS>

@KElkhiyaoui, @mbrandenburger, sorry, there were changes not related to issue addressed by this PR. I have cleaned up everything.


Delete Strings::format and no longer used unlocalized infrastructure.

This PR is the ultimate result of merging the following localization PRs:

https://github.com/microsoft/vcpkg-tool/pull/893
https://github.com/microsoft/vcpkg-tool/pull/913
https://github.com/microsoft/vcpkg-tool/pull/914
https://github.com/microsoft/vcpkg-tool/pull/919
https://github.com/microsoft/vcpkg-tool/pull/920
https://github.com/microsoft/vcpkg-tool/pull/921
https://github.com/microsoft/vcpkg-tool/pull/922
https://github.com/microsoft/vcpkg-tool/pull/924
https://github.com/microsoft/vcpkg-tool/pull/925
https://github.com/microsoft/vcpkg-tool/pull/928
https://github.com/microsoft/vcpkg-tool/pull/936
https://github.com/microsoft/vcpkg-tool/pull/937

This fixes all known localization problems and makes future ones less likely by mostly removing the infrastructure to print unlocalized messages outright.
Audited:

print2 (deleted)
vcpkg::printf (deleted)
Checks::not-msg (deleted)
Strings::format (deleted)
ExpectedS (deleted)
Strings::append (retained)
Strings::concat (retained)
add_generic_error (retained)

This kind of broke the output format of duration.
Before
Detecting compiler hash for triplet arm64-osx...
The following packages will be rebuilt:
    boost-uninstall[core]:arm64-osx -> 1.81.0#2
Removing 1/2 boost-uninstall:arm64-osx
Elapsed time to handle boost-uninstall:arm64-osx: 1.948 ms
Restored 0 package(s) from /Users/leanderSchulten/.cache/vcpkg/archives in 114.9 us. Use --debug to see more details.
Attempting to fetch 1 package(s) from HTTP servers
Restored 0 package(s) from HTTP servers in 206 ms. Use --debug to see more details.
Installing 2/2 boost-uninstall:arm64-osx...
Building boost-uninstall[core]:arm64-osx...
warning: -- Using community triplet arm64-osx. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /Users/leanderSchulten/git_projekte/vcpkg/triplets/community/arm64-osx.cmake
--
Please use the following command when you need to remove all boost ports/components:
    "./vcpkg remove boost-uninstall:arm64-osx --recurse"

-- Performing post-build validation
Uploaded binaries to 1 HTTP remotes.
Stored binary cache: "/Users/leanderSchulten/.cache/vcpkg/archives/66/669209711bf44e71d0470196cd78bc9b486cef0cf363c6cd577f9b70a053e1dc.zip"
Elapsed time to handle boost-uninstall:arm64-osx: 278.4 ms
Total install time: 487.1 ms

After:
Detecting compiler hash for triplet arm64-osx...
The following packages will be rebuilt:
    boost-uninstall[core]:arm64-osx -> 1.81.0#2
Removing 1/2 boost-uninstall:arm64-osx
Elapsed time to handle boost-uninstall:arm64-osx: 1.88325 ms
Restored 0 package(s) from /Users/leanderSchulten/.cache/vcpkg/archives in 682.708 us. Use --debug to see more details.
Attempting to fetch 1 package(s) from HTTP servers
Restored 0 package(s) from HTTP servers in 210.244292 ms. Use --debug to see more details.
Installing 2/2 boost-uninstall:arm64-osx...
Building boost-uninstall[core]:arm64-osx...
warning: -- Using community triplet arm64-osx. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /Users/leanderSchulten/git_projekte/vcpkg/triplets/community/arm64-osx.cmake
--
Please use the following command when you need to remove all boost ports/components:
    "./vcpkg remove boost-uninstall:arm64-osx --recurse"

-- Performing post-build validation
Uploaded binaries to 1 HTTP remotes.
Stored binary cache: "/Users/leanderSchulten/.cache/vcpkg/archives/ea/ea1a7b9817b0c937939d837215893858a607c709475ce50a9119f085c3cf5089.zip"
Elapsed time to handle boost-uninstall:arm64-osx: 293.621666 ms
Total install time: 506.937584 ms

Since this PR vcpkg depend-info crashes with
vcpkg has crashed. Please create an issue at https://github.com/microsoft/vcpkg containing a brief summary of what you were trying to do and the following information.

Version=2999-12-31-unknownhash-debug
EXCEPTION=unmatched '}' in format string
CMD=
vcpkg|
depend-info|
--dot|
vtk|


Implemented support for multiple file types for getFrameAtTime

Some other generic cleanup.

cfr #32

Anyway before creating the release I would like to verify the tests first.

Legitimate.

Can you advice how to install ffmpeg on linux machine nowadays ?

most package managers can do it pretty easily, just google the distro name and install ffmpeg and it will likely return some form of "apt-get install ffmpeg" or "yum install ffmpeg" or something like that.


Refactor logic for retrieving test resources

A better method is needed than to manually configure the subdirectory every time a new operation or a mixture of operation is tested. For example, #62 required to configure the move directory manually in AppTest.

One solution to avoid this is to recursively iterate over the src/test/resource directory and feed the resources to the tests. Further, we can name the test case on the basis of the deepest directory which would contain the two files - PREV and NEW.
Since we know that we will only have three levels of directory, we don't need to use recursion. We can instead use fixed number of for-loops. This solution will provide us with more control over how we can name our test cases.resources
├── delete
│   ├── entire_file
│   │   ├── NEW_EntireFile.java
│   │   └── PREV_EntireFile.java

A better method is needed than to manually configure the subdirectory every time a new operation or a mixture of operation is tested

While it's not too hard to do that, you would end up with just one concrete test method for all of the end-to-end tests. That's a bit annoying when you just want to run, for example, the insertion tests. Or the move tests. While it's relatively easy to select a specific parameterization of a test in IntelliJ, that's not necessarily the case for other test runners.
The easiest solution, I think, is to keep pure insert, move, update and deletes as separate concrete tests, and then have a final one just called "mix" or something like that. Combining everything into a single parameterized test is somewhat overautomating this problem, I think.

The easiest solution, I think, is to keep pure insert, move, update and deletes as separate concrete tests, and then have a final one just called "mix" or something like that.

Sounds like a better solution. If anyone still needs to run a specific test, they may refer to this article.

Will work on this once #66 is merged.


Mesh generation using voxblox

Hello,
I have a custom dataset in the TUM dataset format captured using a depth sensor. I looked at the cow and lady dataset rosbag and created a rosbag in the exact format and ran voxblox on it. I am able to run voxblox, integrate and generate mesh but visually the mesh doesn't look correct.
Below is generated mesh -

A sample video frame -

I have used the same parameters as cow and lady dataset for TSDFs integration.
T_B_C  and T_B_D were set to identity matrix.
Voxblox is receiving camera poses, point clouds and the integration is being performed but the mesh is incorrect as you can see.
I would like to ask if I am missing any obvious parameter or any other option that seems to be missing?

Hi @pavan4
Most likely your source of transformations (World to Base/Camera/Depth) is still wrong. Are you using the tf tree or the transform topic as source? If you use the former, check the tf tree of your bag and the frame names you pass in as world/sensor frame. If it's the latter the most likely thing that is wrong is simply the transformation itself. How I usually debug these things is to run the bag and visualize the point cloud in global coordinates (if you have tf tree that should automatically happen in rviz, for the stamped transform you need to transform it yourself or hack it into voxblox). If you visualize that way you should see pretty easily whether the point cloud makes sense and reflects the trajectory/viewpoints of the recording.

Hi @mfehr, thank you for this.
use_tf_transforms is set to false using <param name="use_tf_transforms" value="false" />. So I am sure I am using the transform topic.
I am using the camera transformation that was generated by the camera and create the TransformStamped using the transform values of tx ty tx qx qy qz qw from the same TUM dataset format. I am not sure if I have to modify the transformation into any format specific to voxblox. I still haven't figured out the where the issue is. I will try the visualization you suggested but if the transformation is incorrect then I am not sure how to check that.
I also wanted to mention that I used surfelmeshing with the same transform and it worked without any issue.

Yes, I would try the visualization to debug this, could be that surfelmeshing expects a different direction of the transformation or is in a different frame/convention. Check whether it needs to be T_W_B (transforms points from base to world) or T_B_W (transforms points from world to base). The base frame should be the local sensor frame the point clouds are expressed in, and of course the point clouds should be in that frame when passing to voxblox.

@mfehr, thanks for the tip on visualization. I was able to fix and generate the mesh using voxblox.
The issue was - depthmap needed to be resized to rgb image dimensions with intepolation=cv2.INTER_NEAREST . If I just used plain cv2.resize, the noise introduced made the integration generate mesh which was incorrect.


Choose / Create / Find logo

it should have something with technologies
it should have something with data management / databases

Rename the project to DEEM

[ ] Try to play with fonts
[ ] Tro to use NASA fonts

Tuesday evening we vote for our logo
Only changes accepted by Tuesday @Ovaday @mraxemax @paekva @Nikvasil @sunny-26

DEEM: We Exceed Your Expectations

I m making some combination you can also share
Meeds
Deems
Seemd
Esmed
Mesed
Eemds
Dseem
Edesm
Msdee

DIEM - Data-Intensive Enterprise Management

Logo designs:


swiperclocklaunch: fix detection of clock

swiperclocklaunch now reliably detects a clock, using existing logic in setUI instead of inspecting arguments

Currently testing - will merge if no issues


Add a transformer that accepts a URL pointing to Translator Knowledge Beacon Aggregator output

The  the /concepts/data/{queryId} or /statements/data/{queryid} data access endpoints in the Translator Knowledge Beacon Aggregator  generates JSON output documenting knowledge nodes and edges which could be harvested into a Translator Knowledge Graph standard graph.

The command can look like:
kgx kba-query {queryId} -o out.csv

We can allow the interface to be agnostic towards whether we're getting concepts or statements by just checking which endpoint the given queryId works for. A queryId should only work for one or the other.

is the idea that kgx would perform a crawl, given some parameters?

Actually, a query id is only issued once a client posts the parameters of the said query on the site.  At the moment, such queries are cached by the application indefinitely although a mechanism to expire such queries was roughed out (so as not to run out of memory).  The point is some client needs to issue a query first (with parameters) to get the queryId then it can be fed into kgx. Of course, we could wrap both KBA and KGX under one API (or maybe submit KGX functionality or make it callable from within KBA) to streamline the process. However, that said, a "URL crawl" is not really the mode of operation here (i.e. the queries are not like normal cached GET's of urls... not stable web resources)


Fix rubocop LineLength # see https://rubocop.readthedocs.io/en/latest…

…/cops_layout/#layoutlinelength
Pull request acceptance prerequisites:

[x] Signed the CLA (if not already signed)
[x] Rebased/up-to-date with base branch
[x] Tests pass
[-] Updated CHANGELOG.md with patch notes (if necessary)
[-] Updated CONTRIBUTORS (if attribution is requested)

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

Hi, I read and signed the above mentioned agreement already!?

Hi, I read and signed the above mentioned agreement already!?

Hi @thomas-merz . Everything seems to be fine with your Contributor License Agreement now.

I can't help with reviewing the PR, will leave that up to the repo maintainers :). Thanks for reaching out to get the CLA sorted.

This is incorrect for the version of rubocop used by this project.
See the build logs. https://travis-ci.org/github/elastic/puppet-elasticsearch/jobs/670673582#L349

Closing as this will be fixed with modulesync in https://github.com/voxpupuli/puppet-elasticsearch/pull/1125


meta: deleteSlice synchronously for non-session clients

Codecov Report
Patch coverage: 70.00% and project coverage change: +0.55 :tada:

Comparison is base (c159d9e) 55.24% compared to head (780aa64) 55.80%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3401      +/-   ##
==========================================
+ Coverage   55.24%   55.80%   +0.55%
==========================================
  Files         148      148
  Lines       36251    36258       +7
==========================================
+ Hits        20028    20232     +204
+ Misses      14047    13818     -229
- Partials     2176     2208      +32

Impacted Files
Coverage Δ

pkg/meta/base.go
65.32% <70.00%> (+1.00%)
:arrow_up:

... and 9 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Small fix on hyperparameter search

This fix an issue when initialising the model with head parameters: we should use clf object rather than creating a new logistic regression instance with no parameter when multi_target_strategy is not defined.

Sure. unit test added for the fix ✔


Fix ATR header in interpreter binary.

The ATR binary header contained in a8.bin specified a 720 sector disk, but is being appended to a 1040 sector disk. This PR fixes that by patching the number of paragraphs in the ATR header.
(this was discovered because the #FujiNet ATR code uses the # of sectors reported to return a NAK on an illegal sector access, properly emulating the real drive.)

confirmed and approved!


Toggling Fingerprint in Android settings causes issues

Steps to replicate:

Activate the fingerprint in the Android OS. (FingerprintAuth.isAvailable() returns true)
Call FingerprintAuth.show() and works successfully. (displays fingerprint popup)
Deactivate the fingerprint in the Android OS. (FingerprintAuth.isAvailable() returns false)
Call FingerprintAuth.show() and fails as expected.
Reactivate the fingerprint in the Android OS (FingerprintAuth.isAvailable() returns true)
Call FingerprintAuth.show() returns an error message "Failed to init Cipher and backup disabled."

Note: the clientId and clientSecret remained unchanged for all steps.

Log:
FingerprintAuth: Failed to init Cipher: InvalidKeyException: android.security.keystore.KeyPermanentlyInvalidatedException: Key permanently invalidated

Didn't realise we had to enable the backup when a new fingerprint is enrolled.
Perhaps the explanation of the backup functionality should be clearer?

I was going to say it looked like you were setting the disableBackup parameter to true if you were getting the "Failed to init Cipher and backup disabled." message.
I did design the plugin to invalidate the key in the keystore for the app if the enrolled fingerprints on the device change as a security feature, thus requiring a user to re-authenticate using the backup. https://developer.android.com/reference/android/security/keystore/KeyPermanentlyInvalidatedException.html
mKeyGenerator.init(new KeyGenParameterSpec.Builder(mClientId,
                    KeyProperties.PURPOSE_ENCRYPT |
                            KeyProperties.PURPOSE_DECRYPT)
                    .setBlockModes(KeyProperties.BLOCK_MODE_CBC)
                            // Require the user to authenticate with a fingerprint to authorize every use
                            // of the key
                    .setUserAuthenticationRequired(true)
                    .setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_PKCS7)
                    .build());

I could potentially create a plugin parameter to pass to the setUserAuthenticationRequired() so the developer could decide if they want the user's key to be invalidated or not under these circumstances.  Is that something you would be interested in?

Sounds great if that could be added in as an option.

@mjwheatley ,
Any updates on the new "setUserAuthenticationRequired" parameter.
I want it too :)
Thanks

added userAuthRequired parameter and published v0.1.0
Keep in mind that if it was true, you will have to use the backup authentication 1 time to create a new key with userAuthRequired set to false.


keosd connection error

OS: macOS High Sierra 10.13.4 (17E202)
EOS: 1.0.1 (379cb1a9)
I'm starting nodeos as such; Exactly the same as previous versions with the exact same config.ini.
nodeos -e -p eosio --config-dir ~/eosio-wallet
With the following config.ini
http-server-address = <IP_ADDRESS>:8888
access-control-allow-origin = *
access-control-allow-credentials = false
wallet-dir = "."
unlock-timeout = 3600
producer-name = eosio
enable-stale-production = true
plugin = eosio::http_plugin
plugin = eosio::chain_api_plugin
plugin = eosio::history_api_plugin
plugin = eosio::wallet_api_plugin
plugin = eosio::producer_plugin

And I'm receiving the following error when running cleos wallet list after migrating to EOS 1.0.1
"/usr/local/bin/keosd" launched
Unable to connect to keosd, if keosd is running please kill the process and try again.

And attempting to run keosd itself (even though nodeos starts it?) results in this error;
~/contracts/eos/libraries/appbase/application.cpp(304): Throw in function appbase::abstract_plugin &appbase::application::get_plugin(const string &) const
Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >
std::exception::what: unable to find plugin: eosio::chain_api_plugin

I've tried finding the keosd process, apparently none is running, and tried another build and install, though I'm not sure of ALL directories i should clean exiting files from.

the default url for the wallet API is now http://localhost:8900/ if you run the wallet api as part of a nodeos instance you will need to tell cleos to access the wallet on a non-standard URL with the --wallet-url option.
That said, Co-locating the wallet API and a running nodeos is deprecated and considered less secure than separating the process spaces which run untrusted code (WASM contracts) and sensitive data (private keys).

I compiled and installed EOS 1.0.1 on a fresh computer with no errors, but I'm still getting the same error on the computer I migrated.
Running cleos --wallet-url http://localhost:8900/ returns;
"/usr/local/bin/keosd" launched
Unable to connect to keosd, if keosd is running please kill the process and try again.

Running keosd returns;
749431ms thread-0   http_plugin.cpp:285           plugin_initialize    ] configured http to listen on <IP_ADDRESS>:8888
749431ms thread-0   main.cpp:52                   main                 ] /Users/mitch/contracts/eos/libraries/appbase/application.cpp(304): Throw in function appbase::abstract_plugin &appbase::application::get_plugin(const string &) const
Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >
std::exception::what: unable to find plugin: eosio::chain_api_plugin

@MitchPierias I have met the same issue, do you know how to fix it now?

@chebaogong No luck yet. Compiling and installing on a fresh machine works fine, but migration from EOS Dawn 4 too EOS 1.0.1 seems to produce this error for me, and I can't find all files to remove for a fresh install... rendering one of my development systems completely unusable at this time.

@MitchPierias, @chebaogong, looks like it's because previous port value exist in cleos config file. Change http-server-address in it and/or use same port in --wallet-url.  More info: https://eosio.stackexchange.com/a/858/1618

if you are using Docker, just run this on your command Line,
alias cleos='docker exec eosio /opt/eosio/bin/cleos --wallet-url http://localhost:8888'

cd ~/eosio-wallet/
vim config.ini
modify:
http-server-address = <IP_ADDRESS>:8889
added
plugin = eosio::http_plugin
plugin = eosio::wallet_api_plugin
then go to keosd folder
cd /path/build/programs/keosd
./keosd
2006570ms thread-0   http_plugin.cpp:290           plugin_initialize    ] configured http to listen on <IP_ADDRESS>:8889
2006570ms thread-0   wallet_plugin.cpp:39          plugin_initialize    ] initializing wallet plugin
2006570ms thread-0   http_plugin.cpp:377           add_handler          ] add api url: /v1/keosd/stop
2006570ms thread-0   http_plugin.cpp:331           plugin_startup       ] start listening for http requests
2006571ms thread-0   wallet_api_plugin.cpp:73      plugin_startup       ] starting wallet_api_plugin
2006571ms thread-0   http_plugin.cpp:377           add_handler          ] add api url: /v1/wallet/create
2006571ms thread-0   http_plugin.cpp:377           add_handler          ] add api url: /v1/wallet/create_key
2006571ms thread-0   http_plugin.cpp:377           add_handler          ] add api url: /v1/wallet/get_public_keys
2006571ms thread-0   http_plugin.cpp:377           add_handler          ] add api url: /v1/wallet/import_key
and then
./cleos --wallet-url="http://localhost:8889/" wallet list

@rainysiu had the same problem but now its working after this, Thanks

I've encountered the same issue before, turns out the problem is by default, cleos starts keosd at ::1:8900, however, cleos always trying to connect to <IP_ADDRESS>:8900.
So, an alternative solution is specifying wallet-url the first querying keosd through cleos. For example, I can try to list all imported keys(though at this point, the wallet wasn't created yet):
cleos --wallet-url http://<IP_ADDRESS>:8900 wallet keys

with that, cleos will have keosd started at <IP_ADDRESS>:8900.
The next time you can interact with keosd without --wallet-url specified.

Can confirm @chengevo's work around here worked for me when I had the same issue.

@chebaogong I found the problem was starting nodeos with the eosio-wallet config file and inherently configuring my eosio-wallet/config.ini with nodeos commands. This made the wallet start on incorrect ports and look for plugins which were specific too nodeos and not keosd. Thanks to @zxcat

@MitchPierias @zxcat Thank you very much. It works now.


Remove third_party directory

This commit removes the third_party directory, and updates hack/update-deps.sh to not store licenses in the third_party directory. It also removes symlinks to third_party in the kodata folders of code in cmd/, which results in third_party not being included in the images built from these directories.
The default build_test runner validates licenses stored in the vendor directory.
The reason we have the third_party directory is because some of our dependencies may have licenses that require distributing source code along with built images. However, we already include the (compressed) vendor directory in built images (see the release pipeline).
The reason to remove third_party is because it is redundant with the vendor directory, included in unit tests, and CI does not enforce keeping it up to date. As an alternative to this commit, we could instead enforce that third_party is kept up to date via hack/verify-codegen.sh (the approach taken by https://github.com/tektoncd/pipeline/pull/6342).
/kind misc
Closes https://github.com/tektoncd/pipeline/issues/6210
Closes https://github.com/tektoncd/pipeline/issues/6352
Closes https://github.com/tektoncd/pipeline/issues/6015
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

n/a Has Docs included if any changes are user facing
n/a Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
n/a Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
Images built as part of releases no longer contain contents of third_party/. (Images still contain contents of vendor/.)

/retest
/approve


Get validation error from child component.

I created a Google place autocomplete component. That component only has a location field. I'm using that component in several places in my site. But I'm not sure how can I get the validation error from that component in parent component.

Hi!
The idea was rather to pass the validation object down to child components than to extract it from them.
That way you can have something like
<MyInput :v="$v.value" v-model="value">

And then you can use this.v as usual inside the component. This keeps the convention of defining the whole validation schema in single place.
If you really don't like that idea, there is still a way though by referecing child components via $refs. I woudn't recomend that too hard though, as refs are not reactive by default. You have to assign them to data.
I think that could be possibly simplified by adding direct support for that case into vuelidate, but I'd like to stress out that passing v down should remain a preferred solution.
That's a messy but working example in current version (please forgive the inline render):
<template lang="pug">
  div

    .form-group(v-bind:class="{ 'form-group--error': $v.child.$error }")
      label.form__label Child component
      child(ref="child")

    .form-group(v-bind:class="{ 'form-group--error': $v.child.$error }")
    span.form-group__message(v-if="$v.$error") Child is invalid.

    pre
      | $v: {{ $v }}
</template>

<script>
import { required } from 'vuelidate/lib/validators'

const Child = {
  render (h) {
    return h('input', {
      staticClass: 'form__input',
      on: {input: (ev) => {
        this.value = ev.target.value.trim()
        this.$v.value.$touch()
      }},
      props: {
        value: this.value
      }
    })
  },
  data () {
    return {
      value: 'hello'
    }
  },
  validations: {
    value: {
      required
    }
  }
}

export default {
  components: {
    Child
  },
  data () {
    return {
      refs_: {}
    }
  },

  mounted () {
    this.refs_ = this.$refs
  },

  validations: {
    child () {
      return this.refs_.child && this.refs_.child.$v.value
    }
  }
}
</script>

Hope it helped and please share your feedback.

@Frizi the first example worked fine for me! Thanks.

In the first example: the validation schema is indeed in one place, but the template which displays the validation errors is inside the child component MyInput.
One could use slots, but then what's the point of the child component if it's not reusable.


Host and Connect to Power Platform Data Sources

I think a major difference between Report Server and the cloud service is the ability to host and connect to Power BI Datasets. Many organizations are looking to use this feature to establish a clean semantic layer and enable self-service reporting. I think it would be useful to call out this limitation of PBI RS on this page.

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

ID: a5e43027-f0e6-928a-8c16-4401ee8d0e52
Version Independent ID: 51c87d50-4316-c0d9-a31c-3163d1557e1f
Content: Comparing Power BI Report Server and the Power BI service - Power BI
Content Source: powerbi-docs/report-server/compare-report-server-service.md
Service: powerbi
Sub-service: powerbi-report-server
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Thanks for your post @rywilli - I've assigned the issue to the author, who will take a look and respond to the post.

Any update on this?


Fixed BiblioSpec DIA-NN reader finding first-pass report TSVs

fixed BiblioSpec DIA-NN reader to ignore the report TSV created by the first NN pass (reported by Andy)

/rebase

/squash


[BUG] The Void Event replay buffer does not fired in OnRegister

Describe the bug
Example: A void event is fired when the a listener object is disabled. When the listener object is enabled, I set in OnEnable button to listen the event (Register()). The void event at this moment has replayBuffer.count > 0. But the event is not fired in on Register.
I try check if replayBuffer.count > 0 and if it is, I can raise the event manually, but I would like clear the replayBuffer to the next time that I enable this listener gameobject , it doesn't fire again.
Environment

Unity Version [e.g. 2020.3]
Version of Unity Atoms [e.g. v4.3.0]

I think the Register and Unregister method in AtomEvent need a override
public **override** void Register(Action<T> action)
        {
            _onEvent += action;
            ReplayBufferToSubscriber(action);
        }

and the Register method in AtomEventBase need a virtual
public **virtual** void Register(Action<T> action)

if we listen to the event using the Void Listener component, the callback is always called in OnEnable because the replay buffer is not cleared after the event is called.

@AdamRamberg @miikalo

I rewrote the cases to explain better.
Case A: A event is fired by some game object G1.  In other game object G2 disabled there is a listener. When G2 is enabled, the replay buffer has size 1. The listener callback will be called. The proper behaviour. (When we use listener component)
But, after that, if the game object G2 is disabled and enabled, the listener callback will be called again even if there is no new event fired by game object G1. Is this the proper behaviour?
Case B: Replay buffer is not used by game object G2 if the setup of listener is made by code in OnEnable. The Test Function is not executed, even if replay buffer size is bigger than 0. (This case works when we use listener component in G2)
```

public VoidEvent ListerEvent;
private void OnEnable()
{
    ListerEvent.Register(Test);
}

private void OnDisable()
{
    ListerEvent.Unregister(Test);
}

public void Test()
{
    Debug.Log("Event listened");
}

But, after that, if the game object G2 is disabled and enabled, the listener callback will be called again even if there is no new event fired by game object G1. Is this the proper behaviour?

yes. the replay buffer is on the event. it has no memory which listener has listened to which event already.
the buffer is not cleared in that sense.
if you still feel that there is a bug, I'd ask for a unit test that shows the issue. thank you.
closed because of inactivity and (partial) invalidity.
reopen if needed


Recommend volume mounting with readOnly flag set to true

Under Reconciler Implementation section, the spec should recommend volume mounting with readOnly flag set to true.
The configuration will look like this:
...
    volumeMounts:
    - name: foo
      mountPath: "/etc/foo"
      readOnly: true

Looks like the secret is always mounted as read-only irrespective of readOnly flag value.
Refer:

CVE-2017-1002102
Discussion: https://github.com/kubernetes/kubernetes/issues/62099

But I think, a recommendation to set readOnly would be good to make it explicit.

This is something an implementation is free to do, but I don't believe it belongs in the spec as it doesn't define user facing behavior or aid portability.

This is something an implementation is free to do, but I don't believe it belongs in the spec as it doesn't define user facing behavior or aid portability.

Probably there should be another document, say "Recommendations for Implementations", to help implementors with these kinds of practical suggestions.

@baijum I've opened #100 and added this as the first thing we should cover.  If you're satisfied with that issue, we can close this one out.  Feel free to flesh out #100 a bit more if you'd like to note more of the content of this issue.

@baijum I've opened #100 and added this as the first thing we should cover. If you're satisfied with that issue, we can close this one out. Feel free to flesh out #100 a bit more if you'd like to note more of the content of this issue.

That must be issue #101
Thanks! I am closing this issue.


gui: text color for price info fixed for dark and light mode.

* My previous fix broke dark-mode.
* This one fetches the textcolor from platformStyle.

Co-authored-by: Julepalme<EMAIL_ADDRESS>


Addresses #62

#62

@krastanov Is this OK to merge? I have a larger PR that depends on this small change that I would like to submit.

thanks for the reminder. Yes, please go ahead and merge


Update es-sv.json

Hello there I'm new to Github and I find it pretty overwhelming there's so much stuff here. I'm using Acode to edit save game files in Baulders Gate game I'm playing. I don't have a clue what I'm doing lol. I don't know how to test them to see what changes have been made. If you can help me I'd be forever grateful. I enjoy it it's interesting and fun.


Discussion on the call process for training individual portraits Lora in AIGC

Destination
AIOS integrates AI portrait process. Includes personal ID photos, artistic photos, pictures of hairstyle changes, clothing changes, sense changs, etc
Basic process

Connect to a personal stable diffusion.
Verify the model and extension of the stable diffusion.
Encapsulate the return information of different states of stable diffusion, allowing users to perceive the steps.
AIOS kernel load the local directory, read 5 to 10 individual photos, and initiate training for the Lora model.
The LORA training process may take 10 to 20 minutes, depending on the GPU.
Once training is complete, notify the user and await a new input message.
The llm parses the message to a prompt and sends a request to the AIGC model. The AIGC can then generate ID photos, artistic photos, pictures of hairstyle changes, clothing changes, etc.

Other
More consideration should be given to using LLM to parse requirements and invoke commands, reducing the commands users need to input in the process, so that users only need to input their requirements.
@waterflier  @lurenpluto

Good idea~
Using an Agent to replace complex SD operations is a good idea. I thought about the process, is it like this: users can first pass a template (usually seen on social networks) to the Agent, and then the Agent guides the user to enter enough information to generate prompts through dialogue interaction, and automatically completes the SD model download, generation, and selection based on the existing LoRA model (this may rely on the GPT-V API).

This part of individual portraits is not easy to handle in terms of model detection and initialization. I'm still on hold.
On the other hand, regarding AGI or AIGC，
GPT4's API has many new features, including dall-e3, vision, and text to speech. You can consider integrating it first. Is it better to place these function calls in the agent or in the function?
@waterflier

I am focus on New Agent working cycle right now~  If you could add these new features to the openai_node, I would be very pleased, but make sure to follow the pattern we currently use for enhancing AI capabilities.
You wourld create some new issue about that features~~  Thank you!


Fixing presto docker build script

Description
Recently Presto changed the build pipeline which requires python3.

Codecov Report

Merging #6681 (a36c73e) into master (1beaab5) will decrease coverage by 0.58%.
The diff coverage is 62.64%.

@@            Coverage Diff             @@
##           master    #6681      +/-   ##
==========================================
- Coverage   66.44%   65.86%   -0.59%
==========================================
  Files        1075     1388     +313
  Lines       54773    67494   +12721
  Branches     8168     9790    +1622
==========================================
+ Hits        36396    44453    +8057
- Misses      15700    19884    +4184
- Partials     2677     3157     +480

Flag
Coverage Δ

unittests
65.86% <62.64%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...e/pinot/broker/api/resources/PinotBrokerDebug.java
0.00% <0.00%> (-79.32%)
:arrow_down:

...pinot/broker/api/resources/PinotClientRequest.java
0.00% <0.00%> (-27.28%)
:arrow_down:

...ot/broker/broker/AllowAllAccessControlFactory.java
71.42% <ø> (-28.58%)
:arrow_down:

.../helix/BrokerUserDefinedMessageHandlerFactory.java
33.96% <0.00%> (-32.71%)
:arrow_down:

...ker/routing/instanceselector/InstanceSelector.java
100.00% <ø> (ø)

...ava/org/apache/pinot/client/AbstractResultSet.java
66.66% <ø> (+9.52%)
:arrow_up:

...n/java/org/apache/pinot/client/BrokerResponse.java
100.00% <ø> (ø)

.../main/java/org/apache/pinot/client/Connection.java
35.55% <ø> (-13.29%)
:arrow_down:

...org/apache/pinot/client/DynamicBrokerSelector.java
82.85% <ø> (+10.12%)
:arrow_up:

...n/java/org/apache/pinot/client/ExecutionStats.java
68.88% <ø> (ø)

... and 1273 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 53c2a3c...a36c73e. Read the comment docs.


Feature/981 contextual menu

Contextual menu, first time use of new setup with contextual tokens

This was merged as part of #1474


Ensure anonymous classes are not reflected

Fixes #194

So isAnonymous doesn't work because PHPStand gives it a name. See https://github.com/nikic/PHP-Parser/issues/554


NFS mount fails with "Client credential too weak" error

NFS mount fails with mount: RPC: Authentication error; why = Client credential too weak on Mac.

Possible solution:
Add the following to /etc/nfs.conf:
nfs.server.mount.require_resv_port = 0

Then restarting the nfs daemon with:
nfsd restart

Credits to: https://gist.github.com/sirkkalap/40261ed82386ad8a6409#comment-1433482

I got this issue too. If I just did a vagrant reload it goes away the second time.


add yaml files to pypi release

In order for SchemaView to work properly using the pypi release of nmdc-schema, all the yaml files need to be available.
Specifically, the package data in setup.py needs to be modified:
package_data={
        "nmdc_schema": ["nmdc.schema.json", "gold-to-mixs.sssom.tsv", "nmdc.yaml"]
    }

Done in https://github.com/microbiomedata/nmdc-schema/pull/154


Allow calculate_mw_miles to be used for Scenario in Create state

Currently, this fails with the following traceback:
c:\python38\lib\site-packages\powersimdata\design\transmission\mwmiles.py in calculate_mw_miles(scenario, exclude_branches)
     15     """
     16
---> 17     original_grid = Grid(scenario.info["interconnect"].split("_"))
     18     ct = scenario.state.get_ct()
     19     upgrades = _calculate_mw_miles(original_grid, ct, exclude_branches)

c:\python38\lib\site-packages\powersimdata\scenario\scenario.py in __getattr__(self, name)
     56             return getattr(self.state, name)
     57         elif hasattr(self.state, "__getattr__"):
---> 58             return self.state.__getattr__(name)
     59         else:
     60             raise AttributeError(

c:\python38\lib\site-packages\powersimdata\scenario\create.py in __getattr__(self, name)
     67             raise AttributeError(f"Call set_grid first to access {name} attribute")
     68         else:
---> 69             raise AttributeError(f"Create object has no attribute {name}")
     70
     71     def __setattr__(self, name, value):

AttributeError: Create object has no attribute info

It is using our fancy new state attribute passthrough, but the failure really originates because we don't have an info attribute for the Scenario object. We can use a workaround via the _calculate_mw_miles function which takes a Grid object, instead of a Scenario, but it would be nice if we could avoid the use of this private function, which mostly exists for testability purposes (since instantiating a base Grid for a MockScenario is tricky).

We use _scenario_info in in the Create, Execute and Analyze classes. Could we use info instead to be consistent with the Scenario class?

@ahurli, @jon-hagg, do you see any issue that could arise from this renaming?

For a Scenario in Analyze state, scenario.info and scenario.state._scenario_info point to the same object; i.e. scenario.info is reference_scenario.state._scenario_info evaluates to True. Can we add something to the Scenario in Create state to achieve the same thing? Then we could successfully access scenario.info without inadvertently breaking anything that expects to be able to access State._scenario_info.

For a Scenario in Analyze state, scenario.info and scenario.state._scenario_info point to the same object; i.e. scenario.info is reference_scenario.state._scenario_info evaluates to True. Can we add something to the Scenario in Create state to achieve the same thing? Then we could successfully access scenario.info without inadvertently breaking anything that expects to be able to access State._scenario_info.

I guess we could do:
self._scenario_info = scenario.info

in the constructor of the Create class and do:
if not descriptor:
    self.info = OrderedDict(
            [
                ("plan", ""),
                ("name", ""),
                ("state", "create"),
                ("grid_model", ""),
                ("interconnect", ""),
                ("base_demand", ""),
                ("base_hydro", ""),
                ("base_solar", ""),
                ("base_wind", ""),
                ("change_table", ""),
                ("start_date", ""),
                ("end_date", ""),
                ("interval", ""),
                ("engine", ""),
            ]
        )
    self.state = Create(self)
else:
    ...

in the Scenario class

@danielolsen, can you try th

For a Scenario in Analyze state, scenario.info and scenario.state._scenario_info point to the same object; i.e. scenario.info is reference_scenario.state._scenario_info evaluates to True. Can we add something to the Scenario in Create state to achieve the same thing? Then we could successfully access scenario.info without inadvertently breaking anything that expects to be able to access State._scenario_info.

I guess we could do:
self._scenario_info = scenario.info

in the constructor of the Create class and do:
if not descriptor:
    self.info = OrderedDict(
            [
                ("plan", ""),
                ("name", ""),
                ("state", "create"),
                ("grid_model", ""),
                ("interconnect", ""),
                ("base_demand", ""),
                ("base_hydro", ""),
                ("base_solar", ""),
                ("base_wind", ""),
                ("change_table", ""),
                ("start_date", ""),
                ("end_date", ""),
                ("interval", ""),
                ("engine", ""),
            ]
        )
    self.state = Create(self)
else:
    ...

in the Scenario class

Can you implement this and see if calculate_mw_miles still raises an error?

I can confirm this works. Tested using the newly-pushed daniel/add_info_to_create branch.


E2e test in k8s cluster and Namespace option

What this PR does / why we need it:

Currently, the JOB_NAMESPACE is hardcoded in e2e test files. This limits a user to run these tests in the default namespace. A user might want to run these tests in a different namespace instead of the default namespace. One use case is using these tests in Kubeflow mode for training-operator conformance tests (or some other testing). As per the design doc of the conformance test, it seems we want to run these tests in kf-conformance namespace.

Currently, the training client initialization code looks for Kube config which may not be present if these tests are running inside k8s cluster. Fix training client initialization code to run inside and outside of k8s cluster.

Created conftest.py for pytest fixtures. Make job namespace a fixture. After this PR, users can pass the --namespace option from the command line to run e2e tests in a specific namespace.

As part of hack/python-sdk/gen-sdk.sh all the python files under the test directory gets deleted. We need to delete only autogenerated test files, not every file. Updated the code in the gen-sdk.sh file to delete python files that start with test_.

Testing: Tested modified tests on the NKE cluster from local.

without any namespace option

(kserve-env) ajaynagar@LJND24D43D python % pytest test/e2e -v
================================================================ test session starts =================================================================
platform darwin -- Python 3.9.6, pytest-7.2.1, pluggy-1.0.0 -- /Users/ajaynagar/venv/kserve-env/bin/python3
cachedir: .pytest_cache
rootdir: /Users/ajaynagar/work/training-operator/sdk/python
collected 12 items

test/e2e/test_e2e_mpijob.py::test_sdk_e2e_with_gang_scheduling PASSED                                                                          [  8%]
test/e2e/test_e2e_mpijob.py::test_sdk_e2e PASSED                                                                                [ 16%]
test/e2e/test_e2e_mxjob.py::test_sdk_e2e_with_gang_scheduling PASSED                                                                           [ 25%]
test/e2e/test_e2e_mxjob.py::test_sdk_e2e PASSED                                                                                [ 33%]
test/e2e/test_e2e_paddlejob.py::test_sdk_e2e_with_gang_scheduling PASSED                                                                       [ 41%]
test/e2e/test_e2e_paddlejob.py::test_sdk_e2e PASSED                                                                                [ 50%]
test/e2e/test_e2e_pytorchjob.py::test_sdk_e2e_with_gang_scheduling PASSED                                                                      [ 58%]
test/e2e/test_e2e_pytorchjob.py::test_sdk_e2e PASSED                                                                                [ 66%]
test/e2e/test_e2e_tfjob.py::test_sdk_e2e_with_gang_scheduling PASSED                                                                           [ 75%]
test/e2e/test_e2e_tfjob.py::test_sdk_e2e PASSED                                                                                [ 83%]
test/e2e/test_e2e_xgboostjob.py::test_sdk_e2e_with_gang_scheduling PASSED                                                                      [ 91%]
test/e2e/test_e2e_xgboostjob.py::test_sdk_e2e PASSED                                                                                [100%]

========================================================== 12 passed in 1094.55s (0:18:14) ===========================================================

with the given namespace option

(kserve-env) ajaynagar@LJND24D43D python % pytest test/e2e -v --namespace=kf-conformance-test
================================================================ test session starts =================================================================
platform darwin -- Python 3.9.6, pytest-7.2.1, pluggy-1.0.0 -- /Users/ajaynagar/venv/kserve-env/bin/python3
cachedir: .pytest_cache
rootdir: /Users/ajaynagar/work/training-operator/sdk/python
collected 12 items

test/e2e/test_e2e_mpijob.py::test_sdk_e2e_with_gang_scheduling PASSED                                                                          [  8%]
test/e2e/test_e2e_mpijob.py::test_sdk_e2e PASSED                                                                                [ 16%]
test/e2e/test_e2e_mxjob.py::test_sdk_e2e_with_gang_scheduling PASSED                                                                           [ 25%]
test/e2e/test_e2e_mxjob.py::test_sdk_e2e PASSED                                                                                [ 33%]
test/e2e/test_e2e_paddlejob.py::test_sdk_e2e_with_gang_scheduling PASSED                                                                       [ 41%]
test/e2e/test_e2e_paddlejob.py::test_sdk_e2e PASSED                                                                                [ 50%]
test/e2e/test_e2e_pytorchjob.py::test_sdk_e2e_with_gang_scheduling PASSED                                                                      [ 58%]
test/e2e/test_e2e_pytorchjob.py::test_sdk_e2e PASSED                                                                                [ 66%]
test/e2e/test_e2e_tfjob.py::test_sdk_e2e_with_gang_scheduling PASSED                                                                           [ 75%]
test/e2e/test_e2e_tfjob.py::test_sdk_e2e PASSED                                                                                [ 83%]
test/e2e/test_e2e_xgboostjob.py::test_sdk_e2e_with_gang_scheduling PASSED                                                                      [ 91%]
test/e2e/test_e2e_xgboostjob.py::test_sdk_e2e PASSED                                                                                [100%]

========================================================== 12 passed in 1052.87s (0:17:32) ===========================================================

Which issue(s) this PR fixes (optional, in Fixes #<issue number>, #<issue number>, ... format, will close the issue(s) when PR gets merged):
Fixes #
Checklist:

[ ] Docs included if any changes are user facing

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 39.382%

Files with Coverage Reduction
New Missed Lines
%

pkg/controller.v1/mpi/mpijob_controller.go
2
76.97%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
2728

Relevant Lines:
6927

💛  - Coveralls

@nagar-ajay Can you do a rebase  as #1775 is merged?

Thanks @nagar-ajay
/lgtm
/approve


Exceptions under Redhat 6.6?

Hi, Got exceptions and my python-fu is non existent.
[root@some-host-name plugins]# /usr/lib64/nagios/plugins/check_splunk.py -H <IP_ADDRESS> -U admin -P supersecret --license-pool=auto_generated_pool_enterprise license
CRITICAL :: Exception follows
Traceback (most recent call last):
File "/usr/lib64/nagios/plugins/check_splunk.py", line 413, in
CheckSplunk().check().exit()
File "/usr/lib64/nagios/plugins/check_splunk.py", line 155, in init
epilog_lines.append("  {}{}".format(string.ljust(command, 30), f.description))
ValueError: zero length field name in format
[root@some-host-name plugins]# python --version
Python 2.6.6
May I have some help please?

@jryberg Please update to the newest revision and let me know if this fixes your problem.
Thanks.

Hi,
Just tested. Got this error message instead
[root@some-host-name ~]# /usr/lib64/nagios/plugins/check_splunk.py -H <IP_ADDRESS> -U admin -P somepassword --license-pool=auto_generated_pool_enterprise license
CRITICAL :: Exception follows
Traceback (most recent call last):
File "/usr/lib64/nagios/plugins/check_splunk.py", line 413, in
CheckSplunk().check().exit()
File "/usr/lib64/nagios/plugins/check_splunk.py", line 215, in check
return check(splunkd)
File "/usr/lib64/nagios/plugins/check_splunk.py", line 250, in check_license
(used, capacity, pct) = splunkd.get_license_pool_usage(self.options.license_pool)
File "/usr/lib64/nagios/plugins/splunk.py", line 287, in get_license_pool_usage
used = self.get_license_pool_used_bytes(pool)
File "/usr/lib64/nagios/plugins/splunk.py", line 244, in get_license_pool_used_bytes
return int(self.get_pool_info(pool)["used_bytes"])
File "/usr/lib64/nagios/plugins/splunk.py", line 230, in get_pool_info
root = self._get_url("/servicesNS/nobody/system/licenser/pools/{pool_name}", pool_name=pool)
File "/usr/lib64/nagios/plugins/splunk.py", line 62, in _get_url
self.check_for_error(self.cache["urls"][url])
File "/usr/lib64/nagios/plugins/splunk.py", line 66, in check_for_error
msg = root.find("./messages/msg[@type='ERROR']")
File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 330, in find
return ElementPath.find(self, path)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 186, in find
return _compile(path).find(element)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 176, in _compile
p = Path(path)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 93, in init
"expected path separator (%s)" % (op or tag)
SyntaxError: expected path separator ([)
Regards Johan

It appears XPath support wasn't added until Python 2.7. I will make a note that this plugin is not supported on Python 2.6. We'll welcome a patch to support 2.6 but since 2.6 is no longer supported, we won't be adding support for it.
http://stackoverflow.com/questions/15964232/xml-parsing-error-in-python-2-6


Add LUSD, ETH and DAI pools to launch party

To be merged after https://github.com/ubiquity/ubiquity-dollar-development/pull/149 and https://github.com/ubiquity/ubiquity-dollar-development/pull/172
Nothing much to add basically pool1 are the following so far:
export const pools: PoolInfo[] = [
  {
    name: "uAD-ETH",
    poolAddress: "0x95e3547d5a326092661f16ec06e6fc5681c8d33c",
    tokenAddress: "0x95e3547d5a326092661f16ec06e6fc5681c8d33c",
    logo: "/tokens-icons/eth.png",
  },
  {
    name: "uAD-LUSD",
    poolAddress: "0xb065c77afc6e1a03b6166ac0fb2f4e84ff6a24d4",
    tokenAddress: "0x8824e0cd99f5c1eef50c8602987af364096625db",
    logo: "/tokens-icons/lusd.png",
  },
  {
    name: "uAD-DAI",
    poolAddress: "0xdae886e2c774c0773f2497a3e1dac44e10a13dbc",
    tokenAddress: "0xe8c94b3c4ec695f811328a5c3cf9afd477e1294b",
    logo: "/tokens-icons/dai.png",
  },
  {
    name: "uAD-USDC",
    poolAddress: "0x681b4c3af785dacaccc496b9ff04f9c31bce4090",
    tokenAddress: "0xA9514190cBBaD624c313Ea387a18Fd1dea576cbd",
    logo: "/tokens-icons/usdc.png",
  },
];

Also added the eth.png icon.

@Zequez the PRs don't automatically deploy as preview on Vercel - can you fix this?

Hey I just want to clarify that you are aware that you must use the Gelato GUNI tokens for:

uAD-LUSD
uAD-DAI
uAD-USDC

and UNIV2 for

uAD-ETH
uCR-ETH


Update examples to fractal-server 1.3 and fractal-tasks-core 0.10

[ ] In 01_cardio_tiny_dataset_with_import_export, I should go back to args file written from the script, instead of committing the json args file, unless I can find a better solution.

I can't remember what is the expected output of example 03 (the multiplexing one). I've updated it, but I'm not sure that the result is fine.
This is e.g. the output of napari --plugin napari-ome-zarr tmp_multiplex-3/20200812-CardiomyocyteDifferentiation14-Cycle1_mip.zarr/B/03/:

@jluethi does it match with what we would expect? I think this was just due to napari not supporting multiplex, right?

There should be 3 images in the B/03/ folder
1 with 1 channel. 1 with 2 channels, 1 with 3.
If you open them individually as path/to/B/03/0, path/to/B/03/1 and path/to/B/03/2, you'll see them.
This looks correct for the first.
Also, another reason why we eventually should have some minimal form of https://github.com/fractal-analytics-platform/fractal-demos/issues/37 :)

Perfect, thanks. I confirm the behavior is the expected one.

Also, let's merge this branch after the example 3 again. Just ran into the failing example 01 (because of the workflow yaml paths) and it's useful to have example 01 working in main for easy testing of new setups :)


how to use stable-diffusion2.1,768ema

It has successfully worked with stable-diffusion2.1-base(512), I wonder if I could use it with stable-diffusion-2-1(768)?

It has successfully worked with stable-diffusion2.1-base(512), I wonder if I could use it with stable-diffusion-2-1(768)?

Hi, did you try it with stable-diffusion-2-1(768)?

It has successfully worked with stable-diffusion2.1-base(512), I wonder if I could use it with stable-diffusion-2-1(768)?

Hi, did you try it with stable-diffusion-2-1(768)?

yesyes！ and I have successfully solved the problem!

use code in "diffusers" to replace method"ddim inversion"

@LiManyuan663 Thank you for your contribution! I will integrate your modifications into our GitHub repository soon.

@LiManyuan663 Thank you for your contribution! I will integrate your modifications into our GitHub repository soon.

My pleasure!!! I found that the picture I pasted before is the code from https://github.com/huggingface/diffusion-models-class/blob/main/unit4/01_ddim_inversion.ipynb,My code are here:
## Inversion (https://github.com/huggingface/diffusion-models-class/blob/main/unit4/01_ddim_inversion.ipynb)
    def invert_process(self, input, denoise_kwargs):

        pred_images = []
        pred_latents = []
        # latents = input.clone()
        decode_kwargs = {'vae': vae}

        # Reversed timesteps <<<<<<<<<<<<<<<<<<<<
        timesteps = reversed(self.scheduler.timesteps)
        num_inference_steps = len(self.scheduler.timesteps)

        with torch.no_grad():
            for i in tqdm(range(0, num_inference_steps)):

                t = timesteps[i]

                self.cur_t = t.item()

                # For text condition on stable diffusion
                if 'encoder_hidden_states' in denoise_kwargs.keys():
                    bs = denoise_kwargs['encoder_hidden_states'].shape[0]
                    input = torch.cat([input] * bs)

                # Predict the noise residual
                noisy_residual = self.unet(input, t.to(input.device), **denoise_kwargs).sample

                noise_pred = noisy_residual

                # For text condition on stable diffusion
                if noisy_residual.shape[0] == 2:
                    # perform guidance
                    noise_pred_text, noise_pred_uncond = noisy_residual.chunk(2)
                    noisy_residual = noise_pred_uncond + guidance_scale * (noise_pred_text - noise_pred_uncond)
                    input, _ = input.chunk(2)

                current_t = max(0, t.item() - (1000//num_inference_steps)) #t
                next_t = t # min(999, t.item() + (1000//num_inference_steps)) # t+1
                alpha_t = self.scheduler.alphas_cumprod[current_t]
                alpha_t_next = self.scheduler.alphas_cumprod[next_t]

                # latents = input
                # latents = (latents - (1-alpha_t).sqrt()*noise_pred)*(alpha_t_next.sqrt()/alpha_t.sqrt()) + (1-alpha_t_next).sqrt()*noise_pred

                latents = input
                # Inverted update step (re-arranging the update step to get x(t) (new latents) as a function of x(t-1) (current latents)
                # latents = (latents - (1-alpha_t).sqrt()*noise_pred)*(alpha_t_next.sqrt()/alpha_t.sqrt()) + (1-alpha_t_next).sqrt()*noise_pred
                beta_t = 1 - alpha_t
                pred_original_sample = (alpha_t**0.5) * latents - (beta_t**0.5) * noise_pred
                pred_epsilon = (alpha_t**0.5) * noise_pred + (beta_t**0.5) * latents
                pred_sample_direction = (1 - alpha_t_next) ** (0.5) * pred_epsilon
                latents = alpha_t_next ** (0.5) * pred_original_sample + pred_sample_direction

                input = latents

                pred_latents.append(latents)
                pred_images.append(decode_latent(latents, **decode_kwargs))

        return pred_images, pred_latents

it was the same problem :)

I've updated the repository. Thank you again


The Everything Update (UI Overhaul + Bug Fixes)

no longer uses the base game leaderboard
uses leaderboard core
fixed profile pictures
fixed cell clicking
added map info modal
added map link button to leaderboard
added ranking status header below panelview (coloured header that shows ranked status like stars)
added country rank to the panelview
fixed replay playback inconsistencies
removed old unity imgui replay ui
new screen space replay ui on desktop (with timebar scrubber)
fixed legacy replay method error
added setting to hide replay watermark if you are the user in the replay

I have probably forgotten something...

This spacing is rather odd, either the modal should be smaller or we need more data to fill it out

Personally would prefer if this was left aligned again

Maybe add some outer padding to this to add a close window button? If you want to get fancy a minimize button too where the difference is it'll put a tiny button in the bottom left of the screen to bring the window back up.
Or; simply a hint letting the user know about the "I" hotkey

Might also be a good idea to remove the Map info button & Map webpage button and present the modal when clicking the leaderboard header, the map webpage button should be in this modal


Seems like the cli is not working on Windows

@dweiger can you provide additional info? Like the error message e.g.?

@jurekbarth marc knows the issue he sit next to him when he tried it. but as i know its already solved @dweiger ?

I would close the issue since it was a wrong installation. It works fine!


Why are non-English models skipped in conversion?

Hello. Here in the model conversion script, non-English models are   "skipped" practically making it impossible to use them in DJL. Is there a technical reason for that?
Many thanks

@aghasemi
The script doesn't have a validation prompt for non-engine models, so we didn't enable it. You can update the script to import any model, but you need to verify the converted the model produce correct result.

@aghasemi
now you can set environment variable: export HF_IMPORT_ALL=true to import non-english model. But you may need to verify the model works as expected for your language.
See: https://github.com/deepjavalibrary/djl/blob/master/extensions/tokenizers/src/main/python/huggingface_models.py#L86C58-L86C71


Test install on various ubuntu versions

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.00%. Comparing base (9db7ceb) to head (c27b62a).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #16   +/-   ##
=======================================
  Coverage   97.00%   97.00%
=======================================
  Files          18       18
  Lines         901      901
=======================================
  Hits          874      874
  Misses         27       27

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


in a map, why there has to be a comma for the last or the only element?

Context: https://tour.golang.org/moretypes/21

It doesn't, but if you remove the comma you have to bring the closing bracket to the same line}, otherwise the "compiler" doesn't know what should be next.

Hi,
the Go project does not use its bug tracker for general discussion or asking questions about the language. The Github bug tracker is only used for tracking bugs and proposals going through the Proposal Process.
Please see the Questions wiki page; it has a list of good places for asking questions. Thanks!
Closing, since this is not a bug.


OpenStack Infra hide toolbars on scale page

OpenStack Infra hide toolbars on scale page
Fixes BZ:
https://bugzilla.redhat.com/show_bug.cgi?id=1277367

toolbars can't be shown at form page, each action will throw error
before:

after:


Feature extraction code

Hi,
Could you please provide the feature extraction code.

Sorry, we will not provide the features extraction code.
We mainly used the features provided by Collaborative Experts so we did not extract them ourselves.
Regarding the S3D features, the checkpoint to extract them is available here.
Also, we made the extracted features available at this page so that you don't have to extract them yourself in order to reproduce the results.


NextJS 13 App folder: Intl context not defined when navigating between pages

Description
I have followed the setup guide in the docs, including both the NextIntlServerProvider and NextIntlClientProvider. However, when navigating between pages, I get the following error...
Error: No intl context found. Have you configured `NextIntlServerProvider`?

Reproduction
CodeSandbox reproduction: https://codesandbox.io/s/next-intl-context-bug-unf6ro?file=/app/[locale]/page.js
Steps to reproduce:

Navigate to path /en/views/page-one
Click on "Go to page two"
See error:

Expected behaviour
I would expect page transitions to happen without this error being thrown.

I have the same problem is very annoying

Thank you for pointing this out! This is a known bug that I expect to be fixed upstream, see known bug no. 1 on my list here: https://github.com/amannn/next-intl/pull/149 (has a workaround).
I'll close this issue for the time being, I need to resolve all the points mentioned in the PR before the RSC support becomes stable. Until then, the support in client components is stable—so if you need this on a production site, this is currently the way to go!


where is the problem? Ios Notification Problem!

💬 Questions and Help
https://screencast-o-matic.com/watch/cqiur0OgOY
https://github.com/flashomer/xAppR5
I don't find where is the problem?
Everything is ok however it doesn't work the ios notifications.

Can you stop opening questions without proper description?

`2019-07-29 05:23:10.641812-0700 AppR5.iOS[2347:18766] -[AVAsset loadValuesAsynchronouslyForKeys:completionHandler:] invoked with unrecognized keys (
title,
artwork,
artist
).
Video : https://screencast-o-matic.com/watch/cqiur0OgOY
Sample: https://github.com/flashomer/xAppR5
I took a video and threw sample codes. If you follow, you understand the problem.`

I don't have time to look into your problems. As i said provide clear descriptions of any bugs you find and i might take a look.

oke, I'm sorry.
I did everything.
Visual Studio 2019
Plugin.MediaManager 0.7.7
it works perfectly at Android. However, it does not work background notification at Ios.
Music is work but the notification does not.  I try several mp3 and several codes :/
Please help me.
Logs:
2019-07-29 06:10:30.036490-0700 AppR5.iOS[3885:46343] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=3885 2019-07-29 06:10:30.037369-0700 AppR5.iOS[3885:46343] SecTaskCopyDebugDescription: AppR5.iOS[3885]/0#-1 LF=0 2019-07-29 06:10:30.052256-0700 AppR5.iOS[3885:46343] libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform. Thread started:  #2 Thread started: <Thread Pool> #3 Thread started: <Thread Pool> #4 Thread started: <Thread Pool> #5 Thread started: <Thread Pool> #6 2019-07-29 06:10:34.042338-0700 AppR5.iOS[3885:46343] -[AVAsset loadValuesAsynchronouslyForKeys:completionHandler:] invoked with unrecognized keys (     title,     artwork,     artist ). 2019-07-29 06:10:34.090552-0700 AppR5.iOS[3885:46391] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=3885 2019-07-29 06:10:34.090967-0700 AppR5.iOS[3885:46391] SecTaskCopyDebugDescription: AppR5.iOS[3885]/0#-1 LF=0 Thread started:  #7 2019-07-29 06:10:42.724127-0700 AppR5.iOS[3885:46466] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=3885 2019-07-29 06:10:42.724917-0700 AppR5.iOS[3885:46466] SecTaskCopyDebugDescription: AppR5.iOS[3885]/0#-1 LF=0
MainPage.xaml.cs:
` public MainPage()
{
InitializeComponent();
CrossMediaManager.Current.StepSize = TimeSpan.Zero;
CrossMediaManager.Current.Init();
CrossMediaManager.Current.NotificationManager.ShowPlayPauseControls = true;
CrossMediaManager.Current.NotificationManager.ShowNavigationControls = false;
    }

    private async void Button_Clicked_1(object sender, EventArgs e)
    {
        await StartMusicFunc();
    }

    private async Task StartMusicFunc()
    {
        var mediaItem = await CrossMediaManager.Current.Play("https://womenhairstyles.net/hs.mp3");
        mediaItem.Title = "Title";
        mediaItem.Album = "Album";
        mediaItem.Artist = "Artist";
        mediaItem.AlbumArt = "https://womenhairstyles.net/superFm.png";
        mediaItem.Art = "https://womenhairstyles.net/superFm.png";
        mediaItem.AlbumArtUri = "https://womenhairstyles.net/superFm.png";

        CrossMediaManager.Current.MediaQueue.Current.Title = "Title";
        CrossMediaManager.Current.MediaQueue.Current.Album = "Album";
        CrossMediaManager.Current.MediaQueue.Current.Artist = "Artist";
        CrossMediaManager.Current.MediaQueue.Current.AlbumArt = "https://womenhairstyles.net/superFm.png";
        CrossMediaManager.Current.MediaQueue.Current.Art = "https://womenhairstyles.net/superFm.png";
        CrossMediaManager.Current.MediaQueue.Current.AlbumArtUri = "https://womenhairstyles.net/superFm.png";

        CrossMediaManager.Current.NotificationManager.UpdateNotification();

        mediaItem.MetadataUpdated += (sender, args) => {
            var title = args.MediaItem.Title;
            var album = args.MediaItem.Album;
            var artist = args.MediaItem.Artist;
            var artwork = args.MediaItem.AlbumArt;
            var albumArt = args.MediaItem.AlbumArt;
            var art = args.MediaItem.Art;
            var MediaType = args.MediaItem.MediaType;
            var albumArtUri = args.MediaItem.AlbumArtUri;
        };
    }`

info.plist
<string>Assets.xcassets/AppIcon.appiconset</string>     <key>NSAppTransportSecurity</key>     <dict>       <key>NSAllowsArbitraryLoads</key>       <true/>     </dict>     <key>UIBackgroundModes</key>     <array>       <string>audio</string>       <string>fetch</string>     </array>   </dict> </plist>


Move base image to Alpine

I changed your Dockerfile to use Alpine 3.4 and the image is now shrinked to ~95MB (#1). Since I had to change the scripts and have (so far...) no AWS account, can you please test if it is working as expected?

You're awesome, thanks. I'll check it asap


State name dispaly on hover of any state.

I was using this package in one of my project. What I found was that there is no hover title for state. So I implemented that if u hover on any state,it will give the name of that state. Plz check if its ok to merge it.

Sorry for the delay on this, I will test this week and merge and release the new package version

Hi @gabidavila. Thanks for this amazing library. Is there any ETA to release this feature ?
Regards

Hello @gabidavila , any update on this? you have created a very nice feature but i am requesting you to add few more details to it which will look awesome.

Working on it now!


For dvrip video codec, only compare least significant 4 bits

I have another non-working DVRIP camera, this time h265.
This time the error was [DVRIP] unsupported video codec: 67, which is 0x43. At this point it became quite obvious that only the least significant 4 bits determines the video codec.
I confirmed that my other 2 cameras still work fine with this change.
This PR fixes that.

I'm not sure about 4 bit theory. Because it doesn't work for audio.

Should I then add the extra specific one I got then? (0x43)

Yes, I think without further confirmation of the theory, it is better to list the codecs directly

Allright, it now only adds  0x43 to the h264 list

Thanks!

https://github.com/AlexxIT/go2rtc/releases/tag/v1.6.0


Adding SPBM API Samples

list_vm_storage_policy.py - List all VM Storage Policies
update_vm_storage_policy.py - Update an existing VM Storage Policy

@lamw Thanks for the SPBM sample.
It seems there are still some format issues. Can you also squash the commits to one after fixing the format?
Thanks,
Tianhao