[fix] sample resources opt

removed unused behavior on sample app.
removed unused resources
layout formatting
layout warnings check and correction

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@9838cf1). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #879   +/-   ##
==========================================
  Coverage           ?   31.64%
==========================================
  Files              ?      326
  Lines              ?    17388
  Branches           ?     1555
==========================================
  Hits               ?     5503
  Misses             ?    11228
  Partials           ?      657

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 9838cf1...e9963a3. Read the comment docs.


更新版本信息显示功能，去除进程名显示

更新版本信息显示功能，去除进程名显示。完全由用户自定义版本内容
resolved guonaihong/clop#88

Codecov Report

Merging #91 (3e8ee84) into master (03d9af3) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #91   +/-   ##
=======================================
  Coverage   81.48%   81.48%
=======================================
  Files          11       11
  Lines         886      886
=======================================
  Hits          722      722
  Misses        108      108
  Partials       56       56

Impacted Files
Coverage Δ

clop.go
85.29% <100.00%> (ø)

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 03d9af3...3e8ee84. Read the comment docs.


Add border_width to ReferenceRect

With #42906, helps godotengine/godot-proposals#1687.
These changes complement the engine's functionality as provided by CanvasItem.draw_rect() used by both ReferenceRect and ColorRect. Yet ColorRect cannot draw non-filled rectangles, so these changes may be worth to cherry-pick to 3.2. But perhaps it's worth to merge the ReferenceRect functionality into ColorRect in 4.0, as done in #42931.

Thanks!

Cherry-picked for 3.2.4.


Reorganize and revise basic paradigms with a less linguistic, more intuitive format

Implement #131 for all basic paradigm *.layout files.

Done for basic paradigms with the mobile layouts, see:
https://victorio.uit.no/langtech/trunk/langs/crk/inc/paradigms/mobile/
What remains are the full and other paradigm layouts, not just for mobile but other platforms as well.


way of tode doesn't follow way of tode

something doesn't feel write about the way of tode so far. It's too wordy and complicated + detailed. It doesn't follow my mantra of keeping things brief + simple at all. I'm gonna play around with some different formats in the wip folder.

I tried a different format but still no good. I think the way of tode would be better off as a multi-page thing. I've started drafting up some things at https://l2wilson94.gitbook.io/way-of-tode/

Wow that really is simple


Enable deletion of outdated modules in the dashboard reports

Please provide an option to delete a module from the Stryker dashboard, either via UI or at least via an API call.
Background:
I used stryker to analyse my projects (see Testably.Abstractions. Later on I removed the "Testably.Abstractions.Extensions" project, but the latest analysis is still present in the combined analysis for the main branch and also changed the total score for the Badge.
Note: the latest branch-specific analysis doesn't contain this project.
I already tried removing the repository and creating a new API key, but to no avail.

I want to track this in #129.


#24 still persists on auto-increment tables

#24 still persists on auto-increment tables
I know I created another issue and disregarded it - my apologies for that, I've found a workaround not realizing the issue itself is still persisting.
If I were to create an auto-increment table and save it twice, it would create two entries, even if I wait for the previous instance to save asynchronously.

Could not reproduce in the latest version:
local item = reportsModel({
    Time = os.time(),
    Staff = "765611980898989898",
    Reporter = "765611980898989898"
})

item:save()
print(item1.ID)

item:save()
print(item1.ID)

Console:
[SQLITE] INSERT INTO `reports`(`Time`, `Reporter`, `Staff`) VALUES('1656255391', '765611980898989898', '765611980898989898')
1
[SQLITE] SELECT * FROM `reports` WHERE `ID` = '31' LIMIT 1
[SQLITE] UPDATE `reports` SET `Reporter` = '765611980898989898', `Time` = '1656255391', `Staff` = '765611980898989898' WHERE `ID` = '31'
1


MZmine 4.1.0 not compatible with Intel Core Mac with OS 14.5?

Basic information

My operating system and version:
Processor: 2.4 GHz 8-Core Intel Core i9
Graphics: Intel UHD Graphics 630 1536 MB
Memory: 64 GB 2667 MHz DDR4
MacOS 14.5 (23F79) Sonoma
My mzmine version: 4.1.0

What happened
I downloaded mzmine_macOS_installer-4.1.0-academia.dmg but when I try to install it, I receive this message: "You can’t open the application “mzmine” because this application is not supported on this Mac." I get the same message when attempting to use the .zip version.
I was able to install and run MZmine version 4.0.8
Thanks again for all of your amazing work!

Hi bsedio,
apparently github moved the macOS action from x86 to arm, making new releases only compatible with arm chips. A x86 action is only available to paying repositories, which is not feasible at the moment. You can either use mzmine 4.0.8 or compile mzmine yourself. Basically follow this guide: https://mzmine.github.io/mzmine_documentation/contribute_intellij.html


Flight model diagnostic

Conceptually the same thing as for EPS (https://github.com/HeronMkII/eps/issues/35), but for the PAY data/actions.

@YongDaLi Work in progress, have some small issues needing correction right now

current reading after enabling heaters are off
current reading on 10V is off
(by off we mean comparing to the reading on the power supply)

I fixed a few of the issues and merged to have an almost-complete version, but there are still a few problems you need to work through.


Can't build fuzzer/fullBench on VS in Release x64: warning treated as error

After doing a clean checkout of the repository, I can't build the fuzzer and fullBench VS projects because there are two warnings (see below) and they are configured with TreatWarningAsError set to true. Projects zstd and zstdlib are fine because the setting is set to false.
Severity	Code	Description	Project	File	Line	Suppression State
Error	C2220	warning treated as error - no 'object' file generated	fullbench	C:\Data\Git\GitHub\zstd\lib\zstd_compress.c	221
Warning	C4334	'<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)	fullbench	C:\Data\Git\GitHub\zstd\lib\zstd_compress.c	221
Warning	C4334	'<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)	fullbench	C:\Data\Git\GitHub\zstd\lib\zstd_compress.c	294

https://github.com/Cyan4973/zstd/blob/389648cc6d65e00abff5dca851fe3e231a2e7033/lib/zstd_compress.c#L221
    const size_t hSize = 1 << params.cParams.hashLog;

https://github.com/Cyan4973/zstd/blob/389648cc6d65e00abff5dca851fe3e231a2e7033/lib/zstd_compress.c#L294
        const size_t hSize = 1 << srcCCtx->params.cParams.hashLog;

Not sure about the warnings themselves, but do you require TreatWarningAsError absolutely? can they be set to false for these projects? (I can submit a PR if that's ok)

I found a few misc things in the vcxproj as well, see #170

Likely solved by b3a9938d0c78f213136ba841aef3240f46785bb6

Fix within v0.6.1


[WIP] enable list_miq_expression custom attributes spec

This seems to be working, so I un "skipped" it
@lpichler This was added in https://github.com/ManageIQ/manageiq/pull/16443
Do you have a reproducer for https://github.com/ManageIQ/manageiq/pull/16418 ?

diff --git a/spec/lib/miq_expression_spec.rb b/spec/lib/miq_expression_spec.rb
index 0db9e1e373..f5cf1cfd9c 100644
--- a/spec/lib/miq_expression_spec.rb
+++ b/spec/lib/miq_expression_spec.rb
@@ -15,8 +15,12 @@ RSpec.describe MiqExpression do
          vm_name)
     end

+    it "test" do
+      ChargebackVm.load_custom_attributes_for(['virtual_custom_attribute_attr_1']) # this can be invoked by running a chargeback report like we in have specs:
https://github.com/ManageIQ/manageiq/blob/1a4de9c0193651c3bc6d2e6c44fdc1429a61c6fe/spec/models/miq_report_spec.rb#L1131

+    end
+
     it 'lists custom attributes in ChargebackVm' do
-      skip('removing of virtual custom attributes is needed to do first in other specs')
+      # skip('removing of virtual custom attributes is needed to do first in other specs')

       displayed_columms = described_class.reporting_available_fields('ChargebackVm').map(&:second)
       expected_columns = (ChargebackVm.attribute_names - extra_fields).map { |x| "ChargebackVm-#{x}" }

and run those two specs:
 rspec spec/lib/miq_expression_spec.rb:18:22
so issue is still present and but I guess issue is relevant only to tests.

@lpichler thanks so much

The issue is that we need to call add_custom_attribute which forever modifies the classes.
looking into possibilities of not modifying the underlying class.
tangentially related: add_custom_attribute is the one that displays "bad tag name" deprecation methods.

@lpichler I'm wondering if we need custom attributes to work exactly like regular attributes
As it is currently implemented, we add getters and setters. (that know how to get the data they need) - which is very slick
I wonder if we need the model to do that metadata.
Do you think it would be a lot of work to have the code that displays data to know it is a custom attribute and fetch it via model.custom_attribute(name) instead of model.name?
just trying to figure out costing for this. if it is a lot of work, then we can look for some other option.

this is test only (but was sporadic)
Pushing the latest and seeing if this is working


Handle web3 connection errors

It was fixed after a couple of refreshes
Definition of Done

in case of connection issue a dialog with error should be shown with try again later message
also a refresh button should be shown to try and reload the page

@LiavGut On what action did you get this error?

@Nordwhale When coming back to the app

@Nordwhale happened to me also

@sirpy  Looks like we have to finish this task: https://app.zenhub.com/workspaces/gooddollar-5d50833888a83c6880d3e345/issues/gooddollar/gooddapp/685
The error will be handled then ( error code DASHBOARD-3). We're waiting for the Error messages:
https://docs.google.com/spreadsheets/d/1zkFtmIgl2tf8bSta4PJXZpjB_6X5-H-wxYsZf0teXOs/edit#gid=0

@Nordwhale i'm not sure it is dashboard-3 can you give an example use case to replicate this?

@AnastasiiaOdnoshevna

Checked on QA environment.

If webapp is open on the background for a long time, after user return back to it, the splash screen is shown, and after that webapp dashboard is open.
If user open payment link after app was in background for a while, the link is proceed successfully (using 3 time periods:  <2 min, from 2 till 5 min, and >5 min)
if internet connection lost, the network error is shown. After internet connection is recover, the splash screen is shown and dashboard is open.
The case: user open payment link and minimize webapp and get connection lost at the same time. After user open it from background when connection is restored, the link is proceed successfully (using 3 time periods:  <2 min, from 2 till 5 min, and >5 min)


PARQ: Support full summarised output

In a deep exploration of a Parquet file on Windows, we might want to pipe the whole file output (or in future a skip/take sample of the file). In such a case, the interactive view is not optimal.
Note: this issue doesn't cover the display of complete cell contents, which will still be limited by DisplayMinWidth

Fixed! 🥇


Errors found if a find with no results is piped in

Hello,
I'm using ImageOptim in a bash script. It gives me an error when used in combination with a find command that doesn't return anything. For instance:
$ find "/path/to/folder/without/gifs" -name '*.gif' | imageoptim
The error message is the following:
sort: open failed: /var/folders/nd/klg579_d44g9xkmlv9dsmsc80000gn/T//imageoptim-cli/index.txt: No such file or directory
Running ImageOptim...
Runtime error (func=(main), adr=9): Divide by zero
(standard_in) 2: parse error
TOTAL was: 0kb now: 0kb saving: 0kb (%)

I tried to use imageoptim with find -exec like in find "path" -name '*.gif' -exec imageoptim {} + but ImageOptim doesn't support this.
Any idea on what I could do to prevent the error message?

Thanks @pecuchet, I think some hardening is needed around the cases where no images are passed — it's a corner case I've overlooked.

You could imageoptim --directory "/path/to/folder/without/gifs", but that would process everything, not just the GIFs.

Quick PR to address this: #147

Released in 1.15.1 🎉 Thanks to @jamesstout


docs: use new CCLA form

No need - the project website will be populated automatically when you select a Project.


[WIP] Manager refresh inventory build

depends on https://github.com/ManageIQ/manageiq/pull/13585 merged
addresses some of https://github.com/ManageIQ/manageiq/issues/13113
only the last two commits are interesting
The idea is to have a method .build(hash) on an InventoryCollection which creates an InventoryObject and adds it to the collection in one go.
It's leaned towards the AR Api, where build creates and adds an object to an AR assoc
@Ladas @agrare please review

@miq-bot add_label enhancement, wip

@durandom yes, very nice addition :-)

was superseded by https://github.com/ManageIQ/manageiq/pull/13585


loadbalancer_algorithm -what are accepted values?

Hi,
what are accepted values for loadbalancer algorithm?
I copiel LB_OVERRIDE from the JSON output and it does nto work.
lb_override does nto work as well.
The documentation provides this:
loadbalancer_algorithm - (Required) loadbalancer_algorithm to determine which host is selected. (String).
but does not specify which are allowed/expected string values.
https://registry.terraform.io/providers/volterraedge/volterra/latest/docs/resources/volterra_origin_pool

The string "LB_OVERRIDE" should have worked fine.
 [
    "ROUND_ROBIN",
    "LEAST_REQUEST",
    "RING_HASH",
    "RANDOM",
    "LB_OVERRIDE"
]

The issue here is to update the docs to include the allowed strings.


Is it possible to send a message to a channel without an event?

I'm developing a bot and my idea is to run it every hour or so. Using the youtube api I want to check if there's new videos on a channel (Arleady done) the problem is: How can I send a message to a channel without $message->reply(); ? I've been looking for a docs but I couldn't find anything. Any help? ;)

$guild = $discord->guilds->get('id', 'guild id');
$channel = $guild->channels->get('id', 'channel id');

$channel->sendMessage('my message here');

How can I get the id and the guild id of the first line? Also, what's the id at the second line?

Replace channel id with the ID of the channel you want to send the message to and replace guild id with the guild the channel is in. You can get both of those by enabling developer mode in the client by going to User Settings -> Appearance -> Enable Developer Mode and right clicking on the guild and channel you want.

And the two 'id' set as the first parameter of the functions? Do I leave they? Like when you use true or false on a fucntion? I mean, do I have to change them?

Yeah, leave the id as that is the key you are looking for. If you want you could change the id's to name and then put in the names of the guild and channel but that isn't recommended.

Okay, thanks ;)

I think I have something wrong here? Basically the message is sent three or four times and not just one
http://hastebin.com/zihicemahi.php

Yeah, you need to call an exit() or die() after sending the message so that it will only send once.

Sorry to reopen something old, but I seem to be having the same issue.
I can send and receive messages with the "->on('message')" event, but cant seem to send anything from outside that.
Here is my code:
http://pastebin.com/Tz42UDQF
The only reason I am attempting to do it this way is because the factory does not seem to work either.
$channel = $discord->factory(Channel::class, ['id' => '{{channel_id}}']);
It returns a channel instance, but all fields except "id" are null and "->sendMessage()" does not send a message (returns promise though);
Any ideas? Am I just doing something wrong? Any debug info I should provide?


Normalization seems to be unnecessary

Hi there! Thanks so much for this! While playing around with the model, I realized that the initial normalization step seems to be unnecessary, since the model already has InstanceNormalization layers.
I tried running a few tests and it seems to give the same hash regardless of whether we normalize the inputs.

TBH I don't know how the layers work. But in Apple's implementation input images are normalized. Probably it's because Vision framework does it anyway.


bug(google-maps): google.maps.Marker is deprecated

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
Deprecation warning shows when using @angular/google-maps.
As soon as map-marker component is loaded in app the warning is shown in console.

According to google google.maps.Marker is now legacy and google.maps.marker.AdvancedMarkerElement should be used instead.
In the code for example map-marker.ts we can see that the legacy code is being used.
Please see https://developers.google.com/maps/deprecations for additional details and https://developers.google.com/maps/documentation/javascript/advanced-markers/migration for the migration guide.
Reproduction
Steps to reproduce:

git grep google.maps.Marker

Expected Behavior
To use google.maps.marker.AdvancedMarkerElement instead of google.maps.Marker
Actual Behavior
google.maps.Marker is used in map-marker.ts and deprecated warning is shown in console.
Environment

Angular: 17.3.0
CDK/Material: 13.3.1
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows 11

Package Version
Angular CLI: 17.3.0
Node: 20.11.1
Package Manager: npm 10.2.4
OS: win32 x64
Angular: 17.3.0
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Package Version
Angular CLI: 17.3.0
Node: 20.11.1
Package Manager: npm 10.2.4
OS: win32 x64
Angular: 17.3.0
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
@angular-devkit/architect       0.1703.0
@angular-devkit/build-angular   17.3.0
@angular-devkit/core            17.3.0
@angular-devkit/schematics      17.3.0
@angular/cdk                    17.3.1
@angular/google-maps            17.3.1
@schematics/angular             17.3.0
rxjs                            7.8.1
typescript                      5.3.3
zone.js                         0.14.4
@types/google.maps 3.55.5

As of #28525 there's an advanced marker component that can be used instead of the deprecated one.


test: unit test for tasks module

Is your feature request related to a problem? Please describe.
This issue is in connection to issue #15
The current code-base does not have a test for tasks module.
This is a Python module that has scripts defining a Celery task named task__track_task_progress that is responsible for relaying a task run request to a remote TES (Task Execution Service) API, and then tracking the progress of the task.
Within the task, there is code for creating a database client, updating the state of the task to INITIALIZING, fetching the task log, and then tracking the task progress by continuously polling the remote TES API. The task state is updated in the database as the task progresses, and finally, once the task has finished, the document in the database is updated to reflect the final state and the output logs.
Describe the solution you'd like
The test will have following test:

mocks the DbDocumentConnector and tes.HTTPClient classes and the Flask app instance.
tests whether the update_task_state and get_document methods are called with the correct arguments
test whether the upsert_fields_in_root_object method is called with the correct root and arguments after the task has finished.
tests whether the get_task method of tes.HTTPClient is called with the correct arguments and whether the state of the task is updated correctly in the database.

Additional context
The tests will be added to test folder.

Thanks @SohamRatnaparkhi, please go ahead if you like :)


Versioning policy update: # of Events emitted --> # of version increments. Even if state is NOT modified

In the lifecycle of Aggregate handling a command is always followed by emitting one or more events. In turn they are fed to the Aggregate's event appliers and modify its state. All event appliers are called in scope of a transaction.
When a transaction is committed, there is a check of the state modifications made. If there weren't any, no increment of version is performed.
However, there may be a case when some events are emitted after handling a command, but applying them does not change the Aggregate state — perhaps, because the Aggregate instance is already in the desired state. In this case events get N + 1, N + 2, ... version numbers — where N is an initial version of this Aggregate.  However, an Aggregate is left with N.
The problem is that if we load this instance from the events, it will get N + 2 version — as the Aggregate version always follows the version of its source event, when loading from EventStore. So there's a collision of behavior.
This PR fixes this issue.
From now on emitting any event will lead to a version increment, has the instance been modified or not.
The framework version has been increased  to 0.9.74-SNAPSHOT.

@alexander-yevsyukov PTAL.


nerdctl --user flag with volume mount does not behave the same as docker

Description
When adding a bind mount using docker cli, when the --user flag is passed in, the user is assigned as owner of the mount. In nerdctl, the owner of the mount is still the root
Steps to reproduce the issue

docker run -it -v /tmp:/remote/dir --user 61000 busybox:latest ash
sudo nerdctl run -it -v /tmp:/remote/dir --user 61000 busybox:latest ash

Describe the results you received and expected
Using nerdctl, I would expect the owner of the mounted volume inside the container to be the specified user
 ❯ docker run -it -v /tmp:/remote/dir --user 61000 busybox:latest ash
~ $
~ $ cd /remote
/remote $ ls -lrt
total 0
drwxrwxrwt   12 61000    root           384 Feb 17 15:56 dir

$ sudo nerdctl run -it -v /tmp:/remote/dir --user 61000 busybox:latest ash
~ $
~ $ cd /remote
/remote $ ls -lrt
total 24
drwxrwxrwt   30 root     root         20480 Feb 17 16:01 dir

What version of nerdctl are you using?
1.2.0
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
parallels@ubuntu-linux-20-04-desktop:~/Downloads/nerd$ sudo ./bin/nerdctl info
Client:
Namespace:	default
Debug Mode:	false
Server:
Server Version: 1.5.9-0ubuntu3.1
Storage Driver: overlayfs
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Log: fluentd journald json-file syslog
Storage: native overlayfs
Security Options:
apparmor
seccomp
Profile: default
cgroupns
Kernel Version: 5.15.0-60-generic
Operating System: Ubuntu 22.04.1 LTS
OSType: linux
Architecture: aarch64
CPUs: 2
Total Memory: 3.82GiB
Name: ubuntu-linux-20-04-desktop
ID: e1bc2c73-e713-4ca9-9a5f-eda7429bf51e
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled

When adding a bind mount using docker cli, when the --user flag is passed in, the user is assigned as owner of the mount.

I can't confirm this.
Tried Docker 23.0.1 and 20.10.23 on Linux.

@AkihiroSuda I was (stupidly) testing the docker command on my mac instead of on linux. The difference is probably due to the underlying filesystem. Sorry for the bad report, closing this out.


can be prevent searching relative dates

I am looking for dates only in my string like
"25th march 2015 , 26th july 2018 , i need this report today."
I need only dates when search using search.search_dates()
but it also showing today.
Is any way to prevent this.

The same feature in the parse function would be great to have as well, or a simple way to tell that the date was relative.

May this be a duplicate of #312?

In the last version 0.7.4 this can be done through the PARSERS setting. :tada:


Footer Component

I attempted to complete the language changes, however I was unsuccessful.

@jmb521 Thank you! This is exactly what we wanted.
I went through the the changes and everything looks fine.
According to multilingual support:
You can get inspired by i.e. translation of OurStory component:
https://github.com/Kentico/cloud-sample-app-react/commit/d102d009ff284b8a6b84e34ac2015a6100fc3721

It is necessary to add translation to local files with appropriate codenames:
i.e.:

{
...
"Footer" :    {
    "codename" : "Some translation we want to add to the footer"
    }
}

src/Localization/en-US.json
src/Localization/es-ES.json

Encapsulate component to the HOC on src/Components/Footer.js:

import { translate } from 'react-translate'
...
const Footer = (props) => {
...
}
export default translate("OurStory")(OurStory);

use {props.t("codename")} to get the content in the localization json

Hint:
You can use parameters in resource strings:
https://www.npmjs.com/package/react-translate
Some more info:
Application loads all json files in folder /src/Localization https://github.com/Kentico/cloud-sample-app-react/blob/master/src/Utilities/LocalizationLoader.js and stores them as an initial object for TranslatorProvider https://github.com/Kentico/cloud-sample-app-react/blob/master/src/LocalizedApp.js#L46 from package https://www.npmjs.com/package/react-translate.

I made the changes. Not sure what I need to do now, if anything.

Fixes #65

Thank you, it is awesome to get as precise pull request 👍
Everything you have dome is exactly, what was required in this task.
Thank you very much.
If you are looking for another issue to grab, it would be the best to remove two unnecessary fields in the Article model (/Models/Article)  described in issue comment:
https://github.com/Kentico/cloud-sample-app-react/issues/55#issuecomment-351025455
We have also defined a content snippet in the brewer content type (first part of the issue) (https://deliver.kenticocloud.com/975bf280-fd91-488c-994c-2f04416e5ee3/items/aeropress) but we need to decide, how do we want do use them on the sample app. It will be probably something similar as in our .net sample app https://github.com/Kentico/cloud-sample-app-net.
So if you are interested, just let me know and i will prepare the description.
Thanks again :-)


allow to pass sparse limit from command line

Like with Android fastboot
https://android.googlesource.com/platform/system/core/+/b407502c98ff62fe0b450fc1e6fd85682e533cac/fastboot/fastboot.cpp#1827
it is handy for differnet setups to pass to pass the sparse limit by command line.
Signed-off-by: Denis Osterland-Heim<EMAIL_ADDRESS>

Hi Frank,
I got your point.
I will look into details and change patch according to your suggestion.
Regards Denis

Hi Frank,
are in new patch version any blocking points remaining?
Regards, Denis

Sorry, I missed first notification. A new comments added


Ds 119/cards

DS-119/cards
Reminder: Add all changes for this PR to the CHANGELOG.md
Main Reviewer: @jvaddinen
Description & Background Context:
Cards component
Where should the reviewer start?
File name: Cards folder in src
How should this be tested?
Using storybook branch to test component. Also pull branch and test importing component into another project
Are there any breaking changes?
No

Looks Good


Failure to read flash

This system has a problem where it fails to load anything but ff's from flash. While there's not much that skiboot could do, perhaps we could detect this and print a helpful message before aborting?
[   37.488023096,5] OPAL v5.10-3-g90e34127e356 starting...
[   37.488029257,7] initial console log level: memory 7, driver 5
[   37.488032834,6] CPU: P8 generation processor (max 8 threads/core)
[   37.488036104,7] CPU: Boot CPU PIR is 0x0028 PVR is 0x004d0200
[   37.488039621,7] CPU: Initial max PIR set to 0x1fff
[   37.488457398,7] OPAL table: 0x300f9630 .. 0x300f9b80, branch table: 0x30002000
[   37.488463353,7] Assigning physical memory map table for unused
[   37.488467797,7] FDT: Parsing fdt @0xff00000
[   37.489211974,3] DT: dt_attach_root failed, duplicate sensor@33
[   37.489216814,3] DT: Found duplicate node: sensor@33
[   37.490234335,6] CHIP: Initialised chip 0 from xscom@3fc0000000000
[   37.490283983,5] CHIP: Chip ID 0000 type: P8 DD2.0
[   37.490287533,7] XSCOM: Base address: 0x3fc0000000000
[   37.490296146,7] XSTOP: XSCOM addr = 0x2010c82, FIR bit = 31
[   37.490299974,6] MFSI 0:0: Initialized
[   37.490302530,6] MFSI 0:2: Initialized
[   37.490305064,6] MFSI 0:1: Initialized
[   37.490497865,5] LPC: LPC[000]: Initialized, access via XSCOM @0xb0020
[   37.490505900,7] LPC: Default bus on chip 0x0
[   37.490572317,6] MEM: parsing reserved memory from node /ibm,hostboot/reserved-memory
[   37.490589713,7] HOMER: Init chip 0
[   37.490592803,7]   PBA BAR0 : 0x0000000ffd800000
[   37.490596008,7]   PBA MASK0: 0x0000000000300000
[   37.490599084,7]   HOMER Image at 0xffd800000 size 4MB
[   37.490603194,7]   PBA BAR2 : 0x4000000ffda00000
[   37.490606386,7]   PBA MASK2: 0x0000000000000000
[   37.490609386,7]   SLW Image at 0xffda00000 size 1MB
[   37.490613225,7]   PBA BAR3 : 0x0000000fff800000
[   37.490616315,7]   PBA MASK3: 0x0000000000700000
[   37.490619297,7]   OCC Common Area at 0xfff800000 size 8MB
[   37.490761831,5] PLAT: Fixing up PSI BAR on chip 0 BAR=3fffe80000001
[   37.490792125,7] AST: PNOR LPC offset: 0x0e000000
[   37.490864687,5] PLAT: Using virtual UART
[   37.491135392,7] UART: Using LPC IRQ 4
[   37.493632053,5] PLAT: Detected Palmetto platform
[   37.493709655,5] PLAT: Detected BMC platform AMI
[   37.494248008,5] CENTAUR: Found centaur for chip 0x0 channel 1
[   37.494337047,5] CENTAUR:   FSI host: 0x0 cMFSI0 port 2
[   37.494604771,5] CPU: All 32 processors called in...
[   39.164168133,3] FFS: Reading the flash has returned all 0xFF.
[   39.164307097,3]      Are you reading erased flash?
[   39.164409433,3]      Is something else using the flash controller?
[   39.164512657,4] FLASH: No ffs info; using raw device only
[   39.164609471,5] BT: Interface initialized, IO 0x00e4
[   40.113582618,4] NVRAM: Query before is done loading
[   40.113663743,4] NVRAM: Waiting for load
[   40.113736824,2] NVRAM: Failed to load
[   40.113792399,4] NVRAM: Query before is done loading
[   40.113889356,4] NVRAM: Waiting for load
[   40.113953471,2] NVRAM: Failed to load
[   40.114010015,5] STB: Found ibm,secureboot-v1
[   40.114073771,4] NVRAM: Query before is done loading
[   40.114194206,4] NVRAM: Waiting for load
[   40.114251631,2] NVRAM: Failed to load
[   40.114314655,5] STB: secure mode off
[   40.115223874,4] NVRAM: Query before is done loading
[   40.115319247,4] NVRAM: Waiting for load
[   40.115368959,2] NVRAM: Failed to load
[   40.115432158,5] STB: trusted mode off
[   40.115487970,5] OPAL: Using OPAL UART console
[   40.115545914,4] NVRAM: Query before is done loading
[   40.115609106,4] NVRAM: Waiting for load
[   40.115668828,2] NVRAM: Failed to load
[   40.115800364,5] SLW: HB-provided idle states property found
[   40.115891540,5] SLW: Enabling: nap
[   40.115943668,5] SLW: Enabling: fastsleep_
[   40.116004269,5] SLW: Enabling: winkle
[   40.116062178,4] NVRAM: Query before is done loading
[   40.116140425,4] NVRAM: Waiting for load
[   40.116197455,2] NVRAM: Failed to load
[   40.116270855,4] FLASH: Can't load resource id:2. No system flash found
[   40.116272273,7] FLASH: Queueing preload of 1/0
[   40.116296696,6] NX0: RNG BAR set to 0x0003ffff40000000..0x0003ffff40000fff
[   40.116301583,6] NX0: Crypto at 0x2010000
[   40.116303740,7] NX0:   DMA 0x00000188eb80002c
[   40.116305272,6] NX0:   SYM CT already set to 1
[   40.116306319,6] NX0:   SYM CI already set to 1
[   40.116308181,7] NX0:   SYM Config 0x8008010000000000
[   40.116310432,6] NX0:   ASYM CT already set to 2
[   40.116311468,6] NX0:   ASYM CI already set to 1
[   40.116312990,7] NX0:   ASYM Config 0x8020020000000000
[   40.116315331,7] NX0:   CRB Input Queue 0x0000000000000000
[   40.116317071,7] NX0:   Engine Enable 0x8000000000000003
[   40.116318461,6] NX0: Crypto Coprocessors Disabled (not supported)
[   40.116320093,6] NX0: 842 at 0x2010000
[   40.116323191,7] NX0:   DMA 0x00000188ff8000af
[   40.116325232,6] NX0:   842 CT set to 3
[   40.116326185,6] NX0:   842 CI already set to 1
[   40.116327615,7] NX0:   842 Config 0x00080300f8000001
[   40.116330415,7] NX0:   Engine Enable 0x8000000000000003
[   40.116331810,6] NX0: 842 Coprocessor Enabled
[   40.116397988,5] Chip 0 Found PBCQ0 at /xscom@3fc0000000000/pbcq@2012000
[   40.116402108,7] PHB3[0:0]: X[PE]=0x02012000 X[PCI]=0x09012000 X[SPCI]=0x09013c00
[   40.116405885,7] PHB3[0:0] REGS     = 0x0003fffe40000000 [4k]
[   40.116408127,7] PHB3[0:0] PCIBAR   = 0x0003fffe40000000
[   40.116410516,7] PHB3[0:0] MMIO0    = 0x0000200000000000 [0x0000010000000000]
[   40.116412766,7] PHB3[0:0] MMIO1    = 0x00003fe000000000 [0x0000000080000000]
[   40.116414895,7] PHB3[0:0] BAREN    = 0xf800000000000000
[   40.116417647,7] PHB3[0:0] NEWBAREN = 0xf800000000000000
[   40.116419493,7] PHB3[0:0] IRSNC    = 0x0100000000000000
[   40.116421165,7] PHB3[0:0] IRSNM    = 0xff00000000000000
[   40.116422591,7] PHB3[0:0] LSI      = 0xff00000000000000
[   40.116429347,5] Chip 0 Found PBCQ1 at /xscom@3fc0000000000/pbcq@2012400
[   40.116433352,7] PHB3[0:1]: X[PE]=0x02012400 X[PCI]=0x09012400 X[SPCI]=0x09013c40
[   40.116436438,7] PHB3[0:1] REGS     = 0x0003fffe40100000 [4k]
[   40.116439914,7] PHB3[0:1] PCIBAR   = 0x0003fffe40100000
[   40.116442378,7] PHB3[0:1] MMIO0    = 0x0000210000000000 [0x0000010000000000]
[   40.116445247,7] PHB3[0:1] MMIO1    = 0x00003fe080000000 [0x0000000080000000]
[   40.116447439,7] PHB3[0:1] BAREN    = 0xf800000000000000
[   40.116450434,7] PHB3[0:1] NEWBAREN = 0xf800000000000000
[   40.116452492,7] PHB3[0:1] IRSNC    = 0x0200000000000000
[   40.116454364,7] PHB3[0:1] IRSNM    = 0xff00000000000000
[   40.116455759,7] PHB3[0:1] LSI      = 0xff00000000000000
[   40.116462693,5] Chip 0 Found PBCQ2 at /xscom@3fc0000000000/pbcq@2012800
[   40.116466666,7] PHB3[0:2]: X[PE]=0x02012800 X[PCI]=0x09012800 X[SPCI]=0x09013c80
[   40.116469238,7] PHB3[0:2] REGS     = 0x0003fffe40200000 [4k]
[   40.116471754,7] PHB3[0:2] PCIBAR   = 0x0003fffe40200000
[   40.116473993,7] PHB3[0:2] MMIO0    = 0x0000220000000000 [0x0000010000000000]
[   40.116476714,7] PHB3[0:2] MMIO1    = 0x00003fe100000000 [0x0000000080000000]
[   40.116478820,7] PHB3[0:2] BAREN    = 0xf800000000000000
[   40.116481927,7] PHB3[0:2] NEWBAREN = 0xf800000000000000
[   40.116484189,7] PHB3[0:2] IRSNC    = 0x0300000000000000
[   40.116486453,7] PHB3[0:2] IRSNM    = 0xff00000000000000
[   40.116487855,7] PHB3[0:2] LSI      = 0xff00000000000000
[   40.116520567,7] PHB#0000:00:00.0 PCI: Registered PHB
[   40.116522963,6] PHB#0000: Found /pciex@3fffe40000000 @[0:0]
[   40.116525037,6] PHB#0000:   M32 [0x00003fe000000000..0x00003fe07fffffff]
[   40.116526801,6] PHB#0000:   M64 [0x0000200000000000..0x000020ffffffffff]
[   40.116528794,7] PHB#0000: Base location code not found !
[   40.116530127,6] PHB#0000: Max link speed: GEN3
[   40.116531317,7] PHB#0000: Override lane equalization settings:
[   40.116532525,7] PHB#0000:   0x3333333333333333 0x3333333333333333
[   40.116534255,7] PHB#0000:   0x3333333333333333 0x3333333333333333
[   40.116714624,7] IRQ: Registering 0800..0ff7 ops @0x300c0e78 (data 0x3052b5f8)
[   40.116717064,7] IRQ: Registering 0ff8..0fff ops @0x300c0ea8 (data 0x3052b5f8)
[   40.116719007,7] PHB#0000: Initializing PHB...
[   40.120616548,4] FLASH: Can't load resource id:0. No system flash found
[   40.120694942,4] FLASH: Can't load resource id:1. No system flash found
[   40.176471690,3] CAPP: Error loading ucode lid. index=200ea
[   40.296526803,4] NVRAM: Query before is done loading
[   40.296646955,4] NVRAM: Waiting for load
[   40.296721835,2] NVRAM: Failed to load
[   40.296776989,4] NVRAM: Query before is done loading
[   40.296850193,4] NVRAM: Waiting for load
[   40.296932302,2] NVRAM: Failed to load
[   40.296995281,4] NVRAM: Query before is done loading
[   40.297081640,4] NVRAM: Waiting for load
[   40.297140311,2] NVRAM: Failed to load
[   40.297188089,4] NVRAM: Query before is done loading
[   40.297250960,4] NVRAM: Waiting for load
[   40.297301096,2] NVRAM: Failed to load
[   40.297441595,4] NVRAM: Query before is done loading
[   40.297544267,4] NVRAM: Waiting for load
[   40.297601960,2] NVRAM: Failed to load
[   40.307934851,5] PCI: Resetting PHBs and training links...
[   41.410518629,5] PCI: Probing slots...
[   43.057372728,5] PHB#0000:00:00.0 [ROOT] 1014 03dc R:00 C:060400 B:01..ff SLOT=Slot2
[   43.057588179,5] PHB#0001:00:00.0 [ROOT] 1014 03dc R:00 C:060400 B:01..07 SLOT=Backplane PLX
[   43.057720610,5] PHB#0001:01:00.0 [SWUP] 10b5 8718 R:aa C:060400 B:02..07 LOC_CODE=Backplane PLX
[   43.057869165,5] PHB#0001:02:01.0 [SWDN] 10b5 8718 R:aa C:060400 B:03..04
[   43.121705167,5] PHB#0001:03:00.0 [ETOX] ffff ffff R:ff C:ffffff B:04..04 LOC_CODE=Backplane PLX
[   43.121938881,5] PHB#0001:02:02.0 [SWDN] 10b5 8718 R:aa C:060400 B:05..05
[   43.122065819,5] PHB#0001:05:00.0 [EP  ] 104c 8241 R:02 C:0c0330 (      usb-xhci) LOC_CODE=Backplane PLX
[   43.122200661,5] PHB#0001:02:03.0 [SWDN] 10b5 8718 R:aa C:060400 B:06..06
[   43.122327813,5] PHB#0001:06:00.0 [EP  ] 14e4 1656 R:10 C:020000 (      ethernet) LOC_CODE=Backplane PLX
[   43.122471087,5] PHB#0001:06:00.1 [EP  ] 14e4 1656 R:10 C:020000 (      ethernet) LOC_CODE=Backplane PLX
[   43.122612671,5] PHB#0001:02:04.0 [SWDN] 10b5 8718 R:aa C:060400 B:07..07
[   43.122722406,5] PHB#0001:07:00.0 [LGCY] 1b4b 9235 R:11 C:010601 (          sata) LOC_CODE=Backplane PLX
[   43.122867922,5] PHB#0002:00:00.0 [ROOT] 1014 03dc R:00 C:060400 B:01..ff SLOT=Slot1
[   43.123092726,5] IPMI: Resetting boot count on successful boot
[   43.123217727,5] INIT: Waiting for kernel...
[   43.123297263,5] INIT: platform wait for kernel load failed
[   43.123375864,5] INIT: Assuming kernel at 0x20000000
[   43.123455071,3] INIT: ELF header not found. Assuming raw binary.
[   43.123544726,5] OCC: All Chip Rdy after 0 ms
[   43.125722586,4] NVRAM: Query before is done loading
[   43.125795263,4] NVRAM: Waiting for load
[   43.125832566,2] NVRAM: Failed to load
[   43.129735234,5] INIT: Starting kernel at 0x0, fdt at 0x305b6950 54517 bytes)
[   43.129890640,3] ***********************************************
[   43.129992054,3] Fatal Exception 0xe40 at<PHONE_NUMBER>000000
[   43.130108937,3] CFAR :<PHONE_NUMBER>0051c4
[   43.130191411,3] SRR0 :<PHONE_NUMBER>0028b0 SRR1 :<PHONE_NUMBER>1a1000
[   43.130306910,3] HSRR0:<PHONE_NUMBER>000000 HSRR1:<PHONE_NUMBER>001000
[   43.130447300,3] DSISR: 42000000         DAR  :<PHONE_NUMBER>809000
[   43.130562885,3] LR   :<PHONE_NUMBER>0144d8 CTR  :<PHONE_NUMBER>000000
[   43.130725951,3] CR   : 20002802         XER  : 00000000
[   43.130877503,3] GPR00:<PHONE_NUMBER>014494 GPR16:<PHONE_NUMBER>000000
[   43.130969202,3] GPR01:<PHONE_NUMBER>ca3b80 GPR17:<PHONE_NUMBER>000000
[   43.131108784,3] GPR02:<PHONE_NUMBER>101600 GPR18:<PHONE_NUMBER>000000
[   43.131200969,3] GPR03:<PHONE_NUMBER>5b6950 GPR19:<PHONE_NUMBER>000000
[   43.131294257,3] GPR04:<PHONE_NUMBER>000000 GPR20:<PHONE_NUMBER>000000
[   43.131433394,3] GPR05:<PHONE_NUMBER>000000 GPR21:<PHONE_NUMBER>000000
[   43.131549178,3] GPR06:<PHONE_NUMBER>504150 GPR22:<PHONE_NUMBER>000000
[   43.131664841,3] GPR07:<PHONE_NUMBER>000001 GPR23:<PHONE_NUMBER>0cb591
[   43.131804182,3] GPR08:<PHONE_NUMBER>000000 GPR24:<PHONE_NUMBER>0b8362
[   43.131897015,3] GPR09:<PHONE_NUMBER>0050b0 GPR25:<PHONE_NUMBER>301440
[   43.131988784,3] GPR10:<PHONE_NUMBER>0050b0 GPR26:<PHONE_NUMBER>31cc18
[   43.132105657,3] GPR11:<PHONE_NUMBER>000000 GPR27:<PHONE_NUMBER>000000
[   43.132220769,3] GPR12:<PHONE_NUMBER>002808 GPR28:<PHONE_NUMBER>0b8201
[   43.132337603,3] GPR13:<PHONE_NUMBER>ca0000 GPR29:<PHONE_NUMBER>000000
[   43.132475925,3] GPR14:<PHONE_NUMBER>002680 GPR30:<PHONE_NUMBER>301600
[   43.132594081,3] GPR15:<PHONE_NUMBER>000000 GPR31:<PHONE_NUMBER>31cbd8
[   43.132687590,0] Aborting!
CPU 0028 Backtrace:
 S:<PHONE_NUMBER>ca3870 R:<PHONE_NUMBER>013640   .backtrace+0x44
 S:<PHONE_NUMBER>ca3910 R:<PHONE_NUMBER>019e38   ._abort+0x4c
 S:<PHONE_NUMBER>ca3990 R:<PHONE_NUMBER>027b44   .exception_entry+0x18c
 S:<PHONE_NUMBER>ca3b80 R:<PHONE_NUMBER>001f10 *
 S:<PHONE_NUMBER>ca3d60 R:<PHONE_NUMBER>014494   .load_and_boot_kernel+0xa30
 S:<PHONE_NUMBER>ca3e30 R:<PHONE_NUMBER>014bbc   .main_cpu_entry+0x614
 S:<PHONE_NUMBER>ca3f00 R:<PHONE_NUMBER>0026e0   boot_entry+0x1b8

In that case we could just check that the 32 bits at 0x20000000 isn't all 0s and bail out.
Something like this could work (untested):
diff --git a/core/init.c b/core/init.c
index 5633a9d38f..a84c562c40 100644
--- a/core/init.c
+++ b/core/init.c
@@ -405,6 +405,10 @@ static bool load_kernel(void)

 	if (kh->ei_ident != ELF_IDENT) {
 		prerror("INIT: ELF header not found. Assuming raw binary.\n");
+
+		/* Check there is something there before we branch to it */
+		assert(*(uint32_t *)kh != 0);
+
 		return true;
 	}

How about this?
diff --git a/core/init.c b/core/init.c
index 5633a9d38f..c768dde9d1 100644
--- a/core/init.c
+++ b/core/init.c
@@ -405,6 +405,13 @@ static bool load_kernel(void)

 	if (kh->ei_ident != ELF_IDENT) {
 		prerror("INIT: ELF header not found. Assuming raw binary.\n");
+
+		/* Check there is something there before we branch to it */
+		if (*(uint32_t *)kh == 0) {
+			prerror("INIT: raw binary is zeros, can't execute!\n");
+			assert(0);
+		}
+
 		return true;
 	}

which gives this output:
[    0.006667359,4] FLASH: Can't load resource id:1. No system flash found
[    0.007001230,5] PCI: Resetting PHBs and training links...
[    0.007010769,5] PCI: Probing slots...
[    0.007183899,5] INIT: Waiting for kernel...
[    0.007188863,5] INIT: platform wait for kernel load failed
[    0.007194061,5] INIT: Assuming kernel at 0x20000000
[    0.007205006,3] INIT: ELF header not found. Assuming raw binary.
[    0.007210219,3] INIT: raw binary is zeros, can't execute!
[    0.007215088,0] Assert fail: core/init.c:412:0
[    0.007221311,0] Aborting!
CPU 0000 Backtrace:
 S:<PHONE_NUMBER>c03ba0 R:<PHONE_NUMBER>01362c   .backtrace+0x48
 S:<PHONE_NUMBER>c03c40 R:<PHONE_NUMBER>019e64   ._abort+0x4c
 S:<PHONE_NUMBER>c03cc0 R:<PHONE_NUMBER>019ee0   .assert_fail+0x34
 S:<PHONE_NUMBER>c03d40 R:<PHONE_NUMBER>013c80   .load_and_boot_kernel+0x268
 S:<PHONE_NUMBER>c03e30 R:<PHONE_NUMBER>014bd0   .main_cpu_entry+0x610
 S:<PHONE_NUMBER>c03f00 R:<PHONE_NUMBER>0026e0   boot_entry+0x1b8

Posted patch: http://patchwork.ozlabs.org/patch/879478/

Fixed in 18d7ee718bef3c95787473e3537be5f0653470c4


[Failing CI] Main branch build is failing

Description
main CI started failing due to an effort to migrate http client/core to 5.x via https://github.com/opensearch-project/OpenSearch/pull/4459
Since we transitively pull these dependencies which were removed, the CI failed.
  api "org.apache.httpcomponents:httpclient:${versions.httpclient}"
  api "org.apache.httpcomponents:httpcore:${versions.httpcore}"
  api "org.apache.httpcomponents:httpasyncclient:${versions.httpasyncclient}"
  api "org.apache.httpcomponents:httpcore-nio:${versions.httpcore}"

There is an ongoing effort to fix this.
Expectations
CI should be green

https://github.com/opensearch-project/security/issues/2171

Closing this as it was solve via: https://github.com/opensearch-project/security/issues/2171


How to use SnapKit 3.2.0 in my project with Xcode8.3 and Swift3.1?

New Issue Checklist

[√] I have looked at the Documentation
[√] I have read the F.A.Q.
[√] I have filled out this issue template.

Issue Info

Info
Value

Platform
iOS

Platform Version
10.3

SnapKit Version
3.2.0

Integration Method
carthage

Issue Description
How to use SnapKit 3.2.0 in my project with Xcode8.3 and Swift3.1?
I update Xcode and convert project , and get the Error "Module compiled with Swift 3.0.2 cannot be imported in Swift 3.1"

@cly6226700 you probably need to re-build your Carthage frameworks?

@robertjpayne Thanks for your answer, I have dealt with this Error.Thanks again!


Builtin terminal doesn't redraw line if terminal size is too small

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

VS Code Version: 1.69.2
OS Version: MacOS 12.3.1

Steps to Reproduce:

start a python app that shows a progress bar
split the terminal window so that the progress bar doesn't fit on one line
the progress bar now repeats instead of redrawing until the terminal is resized

Please provide a screenshot or a gif illustrating the problem (attaching images won't work via email, you need to go to github.com). See this wiki page for more general info on how to report actionable terminal issues.
/label info-needed terminal


hello, help me

I'm sorry, but I don't understand how to compile the driver, I 2 weeks I am suffering and I can't do it help me please

If you do not know how to compile this, you should not use it.
It is foolish to use an already detected cheat without any relevant knowledge.


allow user to create the custom role

A  flag that can disable deploy.sh from attempting to create the custom role (the one named iris3), so that the user can pass in the name of an existing role

Hi JoshuaFox,
How do you run deploy.sh script?

Hello, Installation is described here, including the running of deploy.sh.
Do you have any specific questions?

Not fixing this, as the user can easily do all this by editing the deployment scripts

Not fixing this, as the user can easily do all this by editing the deployment scripts

Not fixing this, as the user can easily do all this by editing the deployment scripts


Model does not seem to use GPU

Hi,
I've been trying to use TotalSegmentator to assist me in creating additional segmentation files as part of the RSNA Kaggle challenge on blunt abdominal injuries. However, TotalSegmentator does not appear to "find" or to use my GPU. I am running this in a Windows 11 environment, with Python 3.10.12, on a machine that has an NVIDIA GeForce RTX 4080. For example, I run the following in Python:
from totalsegmentator.python_api import totalsegmentator

totalsegmentator('D:\\rsna-2023-abdominal-trauma-detection\\train_images\\430\\18935',
                 'D:\\rsna-2023-abdominal-trauma-detection\\segmentations\\18935', ml=True, verbose=True,
                 roi_subset=['spleen'])

I get the following output:
If you use this tool please cite: https://doi.org/10.48550/arXiv.2208.05868

tmp_dir: C:\Users\probi\AppData\Local\Temp\nnunet_tmp_walvveuu
Converting dicom to nifti...
  found image with shape (512, 512, 299)
Resampling...
  from shape (512, 512, 299) to shape (333, 333, 399)
  Resampled in 7.74s
Computing parts: ['class_map_part_organs'] based on the provided roi_subset
Predicting part 1 of 1 ...
using model stored in  C:\Users\probi\.totalsegmentator\nnunet\results\nnUNet\3d_fullres\Task251_TotalSegmentator_part1_organs_1139subj\nnUNetTrainerV2_ep4000_nomirror__nnUNetPlansv2.1
This model expects 1 input modalities for each image
Found 1 unique case ids, here are some examples: ['s01']
If they don't look right, make sure to double check your filenames. They must end with _0000.nii.gz etc
number of cases: 1
number of cases that still need to be predicted: 1
emptying cuda cache
loading parameters for folds, [0]
using the following model files:  ['C:\\Users\\probi\\.totalsegmentator\\nnunet\\results\\nnUNet\\3d_fullres\\Task251_TotalSegmentator_part1_organs_1139subj\\nnUNetTrainerV2_ep4000_nomirror__nnUNetPlansv2.1\\fold_0\\model_final_checkpoint.model']
starting preprocessing generator
starting prediction...

While I was expecting to get the segmentation output in about 2 minutes (based on the runtimes you have published), the output took a little more than 1 hour to be  produced. Looking at Task Manager, it was clear to me that the model was using the CPU to process the input, one slice every 15 seconds, and that the GPU was idle. I tried using fast=True, but I obtained the same result, albeit a bit faster (~40 minutes).
1- Is there anything wrong or missing in the code I am using?
2- Is there a way to force TotalSegmentator to use the GPU?
Thanks in advance for your help.

I forgot to mention that I am using PyTorch 2.0.1

When you simply open a python terminal in the same environment you are using for TotalSegmentator and then do
import torch
torch.cuda.is_available()

What does it return?

import torch

torch.cuda.is_available()
Out[7]: True

torch.version.cuda
Out[8]: '11.7'

I was running this using Spyder 5.4.3. Just out of curiosity, I decided to try running in Jupyter and it seemed to work (maybe with one exception):
If you use this tool please cite: https://doi.org/10.48550/arXiv.2208.05868

Using 'fast' option: resampling to lower resolution (3mm)
tmp_dir: C:\Users\probi\AppData\Local\Temp\nnunet_tmp_am6kdb3s
Converting dicom to nifti...
  found image with shape (512, 512, 299)
Resampling...
  from shape (512, 512, 299) to shape (167, 167, 199)
  Resampled in 3.79s
Predicting...
using model stored in  C:\Users\probi\.totalsegmentator\nnunet\results\nnUNet\3d_fullres\Task256_TotalSegmentator_3mm_1139subj\nnUNetTrainerV2_ep8000_nomirror__nnUNetPlansv2.1
This model expects 1 input modalities for each image
Found 1 unique case ids, here are some examples: ['s01']
If they don't look right, make sure to double check your filenames. They must end with _0000.nii.gz etc
number of cases: 1
number of cases that still need to be predicted: 1
emptying cuda cache
loading parameters for folds, [0]
using the following model files:  ['C:\\Users\\probi\\.totalsegmentator\\nnunet\\results\\nnUNet\\3d_fullres\\Task256_TotalSegmentator_3mm_1139subj\\nnUNetTrainerV2_ep8000_nomirror__nnUNetPlansv2.1\\fold_0\\model_final_checkpoint.model']
starting preprocessing generator
starting prediction...
getting data from preprocessor
got something
predicting C:\Users\probi\AppData\Local\Temp\nnunet_tmp_am6kdb3s\s01.nii.gz
debug: mirroring False mirror_axes (0, 1, 2)
step_size: 0.5
do mirror: False
data shape: (1, 199, 167, 167)
patch size: [96 96 96]
steps (x, y, and z): [[0, 34, 69, 103], [0, 36, 71], [0, 36, 71]]
number of tiles: 36
computing Gaussian
initializing result array (on GPU)
moving data to GPU
initializing result_numsamples (on GPU)
copying results to CPU
prediction done
aggregating predictions
applying transpose_backward
initializing segmentation export
done
inference done. Now waiting for the segmentation export to finish...
WARNING! Cannot run postprocessing because the postprocessing file is missing. Make sure to run consolidate_folds in the output folder of the model first!
The folder you need to run this in is C:\Users\probi\.totalsegmentator\nnunet\results\nnUNet\3d_fullres\Task256_TotalSegmentator_3mm_1139subj\nnUNetTrainerV2_ep8000_nomirror__nnUNetPlansv2.1
  Predicted in 13.17s
Resampling...
  back to original shape: (512, 512, 299)
Undoing canonical...
Saving segmentations...
  Saved in 0.60s

What is the meaning/consequence of the postprocessing warning?

Great that it worked. You can safely ignore the postprocessing warning.


The window is not responding

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
I was using a jupyter notebook on VS when VS started unresponding. Now, whenever I run a code, after a few seconds a window opens with 'The window is not responding, you can reopen or close the window or keep waiting'. I have restarted VS, my computer, tried to disable some extensions but nothing works.
VS Code Version
Version: 1.87.2 (user setup) Commit: 863d2581ecda6849923a2118d93a088b0745d9d6 Date: 2024-03-08T15:20:17.278Z Electron: 27.3.2 ElectronBuildId: 26836302 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: <IP_ADDRESS>-electron.0 OS: Windows_NT x64 10.0.22621
Jupyter Extension Version
v.2024.2.0
Jupyter logs
no output can be seen

Coding Language and Runtime Version
Python 3.9.5
Language Extension Version (if applicable)
v.2024.2.1
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Local

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Broken link on kubectl-commands page

Problem:
Link of https://index.docker.io/v1/ give 404 error
Proposed solution:
update link to https://index.docker.io
Page to update:
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#-em-secret-docker-registry-em-
/kind documentation
/good-first-issue

/assign @kadtendulkar

/assign

/assign i would like to work on this

/assign @kadtendulkar

/remove-good-first-issue
This is generated documentation, and newcomers might not find a fix straightforward.

Hi @sftim if https://index.docker.io/v1/ is not a web page. Can I close this issue?

You're welcome to close this issue @ashish-jaiswar

closing this issue


Using toolkit should add toolkit-test dependecy for test scope

Issue in Toolkit repo: https://github.com/scala/toolkit/issues/13
Using the toolkit directive (using toolkit ...) should add a dependency on toolkit-test artifact in the test scope.
The same behavior should be present for the command line option.

Thanks for reporting! So the toolkit artifact no longer depends on toolkit test? munit dependency is completely separate?

Yes. The munit is only in the Toolkit-test now.
On Mon, May 8, 2023, 11:26 Tomasz Godzik @.***> wrote:

Thanks for reporting! So the toolkit artifact no longer depends on toolkit
test? munit dependency is completely separate?
—
Reply to this email directly, view it on GitHub
https://github.com/VirtusLab/scala-cli/issues/2060#issuecomment-1538050193,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEKSCUPE4DGL6N2YYOLRKLXFC347ANCNFSM6AAAAAAXMPC4LA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Email correspondence is considered personal data processing. Check out our
Privacy Policy https://virtuslab.com/gdpr for details about the
controller of your data and your rights according to GDPR/RODO.

Okay, so here's what we want to do:
//> using toolkit latest

The standard using toolkit directive will only include the standard toolkit, no toolkit-test.
//> using test.toolkit latest

The current test-scope using test.toolkit directive will include the toolkit-test dependency for the test scope.
Additionally, including the standard using toolkit directive in a test-scope source will include both toolkit and toolkit-test (in test-scope only).
cc @szymon-rd

In no cases, would one want to use only toolkit-test in the test scope, without the toolkit.

Ach I thought that toolkit-test depends on toolkit, that changes things a bit.

Ach I thought that toolkit-test depends on toolkit, that changes things a bit.

Yeah, I also wondered if that should be the case, but I couldn't think of any justification for it, besides that it probably wouldn't hurt.

I think that the best approach would be to make the integrations work in a way that it doesn't matter, if nothing is sacrificed by that. (It removes one requirement from toolkits specification)

Ok so if test-toolkit doesn't depend on toolkit the we should do as suggested by @szymon-rd .
Any other opinions?


Make the App Client Asynchronous using asyncio

Before submitting the issue, I'm sure that I have:

[x] Updated to the lastest version v1.5.7
[x] Read the README and docs
[x] Searched the bugtracker for similar issues including closed ones
[x] Reviewed the sample code in tests and examples

Which client are you using?

[x] app (instagram_private_api/)
[ ] web (instagram_web_api/)

Describe your Feature Request:
The feature description is really simple to express, I want to use this library within an asyncio loop, and to do so it need to be asynchronous to use asyncio at full power, otherwise it would block the loop until the request is done.
You could suggest me to spawn a subprocess or do some multithread stuffs, but I think that asyncio is the future of Python and the implementation of async, await in Python language is an important direction of where we will go in the future.
I think that we could make the client async with just a few more line of code, and without make any breaking change, so who won't want to use asyncio features can doing that in the "legacy" (old) way.

What you ask is a huge undertaking and would require a separate library, rather than being just "a few more line of code". Additionally, asyncio doesn't exist on Python 2, and this library goes out of its way to maintain compatibility with 2.7 (to the point I suspect the author does most of his development and testing on 2.7).
I'd suggest either forking the project and trying to write it yourself, or using established methods of running blocking calls within an async loop.


Cosmwasm plus compatibility

Closes #18
Required for https://github.com/CosmWasm/cosmwasm-plus/pull/29
This adds a second script that handles the cosmwasm-plus case nicely, while leaving the optimize.sh script untouched.
The one issue that changes in the external API is that we cannot use entrypoint anymore. The default (no argument) compile works as is, but the cosmwasm compile process now requires optimize.sh ./contracts/hackatom at the end.
Updated the README to explain these cases.

Interesting point Simon.
I tried cargo build --release --target wasm32-unknown-unknown on the repo root and it generated all contract wasm (even faster than once per dir) and didn't include the non-contract packages.
It doesn't even require any arguments there. I will update and talk tomorrow.
Good night

Interesting point Simon.
I tried cargo build --release --target wasm32-unknown-unknown on the repo root and it generated all contract wasm (even faster than once per dir) and didn't include the non-contract packages.
It doesn't even require any arguments there. I will update and talk tomorrow.
Good night

Yes, but what about non-workspace contracts?

The other issue I see with this (and any multi-target build system in general) is how source code verification can work. If we don't get verification, we don't need rust-optimizer, so those go hand in hand.
The following conventions would not be followed with the current approach:

The builder is a docker image that works out of the box with docker run .
The builder takes a volume mounted at /code which is the root of the code to be built.
The builder must create a contract.wasm in the current directory.

https://github.com/CosmWasm/cosmwasm-verify#the-builder
The reason for those is that we need to be able to verify without project specific meta information: https://github.com/CosmWasm/cosmwasm-verify/blob/master/src/main.sh#L67-L73
This then leads us to the question what the source code archive of a cosmwasm-plus contract contains.

The builder is a docker image that works out of the box with docker run .
The builder takes a volume mounted at /code which is the root of the code to be built.
The builder must create a contract.wasm in the current directory.

Okay, this doesn't work for cosmwasm contracts right now either. But let's revisit it. How about we change it to the following (this is a 0.9 -> 0.10 so we can break stuff):

The builder is a docker image that works out of the box with docker run (removed .)
The builder takes a volume mounted at /code which is the root of the repo/workspace to be built.
The builder must create one or more *.wasm files in a directory called artifacts and a contracts.txt with their respective hashes
The *.wasm files must be named according to the crates that were compiled

With this, the verification steps are:

Download the source code and uncompress it
Run the docker container, mounting the source code under /code
Check if a line in contracts.txt matches the desired hash -> grab the name of the contract
(optional) validate the sha256sum of the named contract is correct
find crate with the given name inside the code directory -> and return this source/schema

If this is not desired to change, then I can change the multi-optimizer.sh to have the same output as optimizer does (but then it takes a subpath.... not according to spec either).
In either case, I should do some workspace-detection tricks, so we don't need arguments in the validator

this doesn't work for cosmwasm contracts right now either.

Right, this is why I call them "development contracts" whenever I can to express those must not be taken seriously. There is no concept for source publication for them either.

The proposed rules are good. Some additional comments:

There is no dot in the docker run call. This was the end of the sentence and the <builder> valiable got lost. Bottom line: don't use html tags as placeholder in markdown. See point 1 in https://github.com/CosmWasm/cosmwasm-verify#the-builder. So this point can remain unchanged.
Do we need a separate builder for the monorepo then?
The *.wasm files must be named according to the crates that were compiled I'm a fan of this and we tried that before: https://github.com/CosmWasm/rust-optimizer/pull/8

Okay, I would agree with these changes. I would try to make mono-repo and single-contract run in the same builder. (and say we don't support cosmwasm builds except with additional arguments, but violating the verifier approach).
This means, I can make a default CMD that only supports cosmwasm-template and cosmwasm-examples (rooted in one crate) or cosmwasm-plus (rooted in repo root) style and not cosmwasm style. The cosmwasm style could be a non-default script and require arguments. Do I understand this properly?
I think I can unify these use cases as long as cosmwasm support is separate.
I will make all scripts return a set in artifacts along with names.

This means, I can make a default CMD that only supports cosmwasm-template and cosmwasm-examples (rooted in one crate) or cosmwasm-plus (rooted in repo root) style and not cosmwasm style. The cosmwasm style could be a non-default script and require arguments. Do I understand this properly?

Yes, perfect. Whatever we do in the cosmwasm repo is for VM maintainers only (relative paths to vm and std) and should never be deployed to any serious chain.

Okay @webmaster128 please check out the latest commit (or just check the README usage).
I tested this manually on cosmwasm-examples (mounting the erc20 package as root), cosmwasm-plus (mounting repo root), and cosmwasm (using a non-standard argument ./contracts/burner).
All have the same behavior of placing named wasm files inside artifacts along with a contracts.txt file. Given this is how we publish them (also in cosmwasm) and not committing wasm to the source repo, this seems like a nicer standard approach that works for all cases.


foundry: init at nightly-0688b5a

This introduces a new built-from-source foundry package and renames the old binary package from the foundry.nix repo to foundry-bin following the nixpkgs convention.
svm-rs
One quirk of foundry builds is the svm-rs crate dependency, which by default fetches a list of all available solc binaries for each platformbuild.rs. As there is no hash or versioning of the file itself, the file can change between fetches (e.g. when new solc versions are added).
Fortunately svm-rs exposes a SVM_RELEASES_LIST_JSON env var which allows for pointing to a local file path instead making support for Nix feasible without having the package break each time a new solc version is released. A script called update-svm-lists.sh is included that allows for downloading the latest lists for linux and darwin.
also cc @shazow you might be interested!

Hi @mitchmindtree thanks for the PR!  Awesome work!
In the past @shazow and I, discussed adding support directly to Foundry here in #126 (just in case to give you more context).
In the upcoming weeks, I'm about to work on improving the existing automation for auto-updating the packages without manual intervention (the existing solution works partially and there are a lot of packages in the blacklist these days).
Foundry is a special beast with no stable releases and flaky monthly ones but in the context of Ethereum.nix I think ideally we should support only monthly ones (and treat it like the stable release). I would like to hear your opinions (@shazow and @mitchmindtree) on this specific subject (for now we will focus on updating it manually whenever it makes sense).
In terms of the PR itself, I would also add the removal of foundry.nix input.

That's awesome.
I'm a big +1 to adding a build-from-source derivation for foundry, this would allow us to maintain stable pins regardless of the unreliable official release assets. Bonus points if we can cache the builds somehow (cachix?).
If ethereum.nix doesn't want to merge/maintain it at this time, I'm happy to include this in https://github.com/shazow/foundry.nix until it's sufficiently gestated. :)
Also, as mentioned in #126, I'm also generally happy to merge my foundry.nix into ethereum.nix and hand over the reins/collaborate here moving forward.
Whatever works best. :)

In the upcoming weeks, I'm about to work on improving the existing automation for auto-updating the packages without manual intervention

@aldoborrero Awesome! I was planning on checking in about this :heart:

Foundry is a special beast with no stable releases and flaky monthly ones but in the context of Ethereum.nix I think ideally we should support only monthly ones (and treat it like the stable release).

I empathise with the concern around foundry having no versioned, stable releases... that said, I'm not sure how much benefit only selecting a new nightly once a month would have over selecting a new one at whatever ethereum.nix's regular update schedule is? :thinking:
I think as long as the auto-update process at least tries to build the updated packages (and do the check phase) before committing them, that's totally fine. I imagine we simply skip the nightly versions that fail to build?
If there are obscure runtime issues due to foundry instability, I guess there's not much we can do about that whether we update monthly or nightly... at least if we update more regularly, ethereum.nix users have more options of different versions (by using ethereum.nix at different commits).
In general, I imagine trying to decide on release schedules for downstream users might be a tricky line to walk as different folks might have different ideas of what a good schedule is for different pkgs? Perhaps ethereum.nix might be best just making available whatever it can from upstream at whatever rate it's comfortable with, and then let downstream decide what versions of things they want to pin to by choosing their own commits / when to run nix flake update? Kinda like how most people seemingly tend to use nixos-unstable to get the latest patches/updates/features, and just update the input when they're ready to?

Bonus points if we can cache the builds somehow (cachix?).

@shazow I think this is already happening using the nix-community cache (the substituter that gets added when you build the flake) though I could be wrong, I haven't looked too closely! I originally opened PRs at nixpkgs so we could get this and reth in the default nixos cache, but neither have had any action yet :sweat_smile: We can probably move a bit quicker here anyways?

I empathise with the concern around foundry having no versioned, stable releases... that said, I'm not sure how much benefit only selecting a new nightly once a month would have over selecting a new one at whatever ethereum.nix's regular update schedule is? 🤔
I think as long as the auto-update process at least tries to build the updated packages (and do the check phase) before committing them, that's totally fine. I imagine we simply skip the nightly versions that fail to build?
If there are obscure runtime issues due to foundry instability, I guess there's not much we can do about that whether we update monthly or nightly... at least if we update more regularly, ethereum.nix users have more options of different versions (by using ethereum.nix at different commits).

Fair enough. Let's then try to keep the package updated every day and skip those that fail to build.

In general, I imagine trying to decide on release schedules for downstream users might be a tricky line to walk as different folks might have different ideas of what a good schedule is for different pkgs? Perhaps ethereum.nix might be best just making available whatever it can from upstream at whatever rate it's comfortable with, and then let downstream decide what versions of things they want to pin to by choosing their own commits / when to run nix flake update? Kinda like how most people seemingly tend to use nixos-unstable to get the latest patches/updates/features, and just update the input when they're ready to?

Exactly, that's the typical situation in general with nixpkgs. Ideally, I think in the context of Ethereum.nix whenever a stable release is released, we should update the package definition quickly (hopefully automatically). If we provide tooling like nixpkgs-versions we can help in the discoverability of when certain packages hit certain versions, in case the user might decide to pin specific pkgs for whatever reason. I'm happy to discuss more of this in another issue to nail it down.

Bonus points if we can cache the builds somehow (cachix?).

@shazow I think this is already happening using the nix-community cache (the substituter that gets added when you build the flake) though I could be wrong, I haven't looked too closely! I originally opened PRs at nixpkgs so we could get this and reth in the default nixos cache, but neither have had any action yet 😅 We can probably move a bit quicker here anyways?

The main idea of this repository is to have fast access to the latest versions of packages. Period. It's a small community effort, there's no necessity for big coordination efforts like nixpkgs.
Also, for @shazow let's proceed then to join efforts in this repo!


BurnStreamsAtRoads - --roads does not use --wd

It appears that the BurnStreamsAtRoads tool does not use --wd / working_directory for --roads.
This command errors:
$ whitebox_tools.exe --run=BurnStreamsAtRoads --dem=dem.tif --streams=streams.shp --roads=streets.shp --width=270 --output=burn.tif -v --wd=E:/temp
*********************************
* Welcome to BurnStreamsAtRoads *
*********************************
Reading streams and roads data...
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }', src\vector\shapefile\mod.rs:238:56
stack backtrace:

Whereas this works as expected:
whitebox_tools --run=BurnStreamsAtRoads --dem=dem.tif --streams=streams.shp --roads=E:/temp/streets.shp --width=270 --output=burn.tif --wd=E:/temp

https://github.com/jblindsay/whitebox-tools/blob/6c41158d8464636ae6c4860a121308bf4f429e72/whitebox-tools-app/src/tools/hydro_analysis/burn_streams_at_roads.rs#L238-L258
I think following lines are missing:
 if !roads_file.contains(&sep) && !roads_file.contains("/") {
     roads_file= format!("{}{}", working_directory, roads_file);
 }

I've just added code to append the working directory to the roads file if unspecified. This fix should resolve your issue and will be available in the upcoming v 2.1 release.


Upgrade TF pip package

It's been a while since we upgraded and we had to revert a change to our use of TFLite APIs because the new API wasn't in our pip version. This is blocked by https://github.com/google/iree/issues/6589 since TF dropped support for Python 3.6 with the 2.7 release.

https://github.com/google/iree/pull/6618 is the PR to upgrade to 2.7. It causes many KWS tests (all of them?) to time out. I'm able to repro this locally by upgrading to tf-nightly 2.7 in another venv

The diff of the logs between the successful and failing tests is not very helpful. Both print out some TF warning spam, complain about the lack of cuda, and then say how they're optimized with oneDNN. Then with 2.6 everything passes and with 2.7 it hangs forever. We actually even have less warning spam with 2.7.

Ah if I run the python directly instead of through ctest, it actually prints out quite a bit more output before hanging. I was able to interrupt it and get sort of a stack trace: https://gist.github.com/GMNGeoffrey/62eea9395ee2acfc1a57c097b36260cd

That doesn't really elucidate anything to me, but I can update KWS and now everything works :-P That's a really annoying failure mode, but I may just not look too closely...

@rybakov any idea why using an older KWS commit https://github.com/google-research/google-research/commit/4bfbfe4ec19fe39cf9d1803e894d8bfb5fd56a45 with the latest TF would cause tests to hang?

 Now the vulkan tests are all failing with errors about cuda :-/
Someone decided to make CUDA a hard dependency in https://github.com/tensorflow/tensorflow/pull/50292. Luckily that got rolled back. I'll try a later tf-nightly that includes the revert


Command line flags

The command line flags -rootDirs and -includePatterns are using camelCase which is quite unusual for flags. You should also consider making them shorter, e.g. just -dirs and -include.
Now for the flag defaults:

the flag -rootDirs with default as content might not really cover many of the use cases for developers. Actually, not many projects I worked with used content directory anywhere. I'd suggest using something like ., because I'm rather certain that general use case for this is to verify links in their entire repository. This is also default for most of, if not all, of the go tools.
the flag -includePatterns doesn't have defaults even shown in the usage help (-h) and forces you to use the basic patterns without any option to change it. What if someone someone just wants to check *.md files only?
the flag -fail isn't currently very useful, because even if I set it to false the program panic after failing to connect to some URL.

I implemented all of your suggestions. Thanks again for identifying them. I released a new version in case you want to try it out.


Rebuild with OpenSSL 3 (PKG-2339)

Rebuild with OpenSSL 1 and 3 (PKG-2339).
Depends on:

https://github.com/AnacondaRecipes/libnetcdf-feedstock/pull/12
https://github.com/AnacondaRecipes/gdal-feedstock/pull/22

I will probably need some guidance before merging since this is a snowflake package.

Linter check found the following problems:
The following problems have been found:
ERROR: clone/recipe/meta.yaml:30: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: clone/recipe/meta.yaml:30: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: clone/recipe/meta.yaml:30: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: clone/recipe/meta.yaml:30: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: clone/recipe/meta.yaml:30: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: clone/recipe/meta.yaml:30: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found


Is x-correlator support required at OIDC endpoints?

Context
The CAMARA APIs define 401 and 403 error responses that include an optional x-correlator header. For example, in SimSwap v1.0.0  and CAMARA_common.yaml r0.4.0. In architectures where the AZ validates the request before it reaches the service API, x-correlator support may be required at the AZ level.
Questions

Is x-correlator support required at all OIDC endpoints (e.g. GET /auth,  POST /bc-authorize, POST /token)?
Should the ICM documentation make a note about expected x-correlator behaviour for 401/403 service API responses?

CAMARA defines the x-correlator header for CAMARA APIs calls as per https://github.com/camaraproject/Commonalities/blob/main/documentation/API-design-guidelines.md#9-architecture-headers.
However, the authentication flows follow the OAuth/OIDC/CIBA standards and have their own interface definitions, errors, headers, etc. I see no reason for ICM to require x-correlator header for the authentication flows endpoints just because it is defined for CAMARA APIs requests/responses.


Uncaught DOMException when removing an ROverlay

Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
I've been struggling with a variation of this. I've adjusted the above reproduction with this case (and RLayers 1.5.2): https://github.com/stefgootzen/rlayers-reproduction
I get the same error when only removing the ROverlay, like:
{
  features.map(f => <RFeature key={f.id} geometry={new Point(fromLonLat([f.longitude, f.latitude]))}>
    {/*
            Adding an ROverlay to a feature will cause a crash when the overlay is removed
        */}
    {
      (f.id === activeFeatureId) && (
        <ROverlay key={f.id}>
          <div>{f.id}</div>
        </ROverlay>
      )
    }
  </RFeature>)
}

(Relevant file here)
Any thoughts on how to fix this? Thanks in advance!
Originally posted by @stefgootzen in https://github.com/mmomtchev/rlayers/issues/1#issuecomment-1614172176

Fixed by #164


google play shows Phonegap app developer as incompatible for Asus tablet ME172V Android 4.1.1

Please take a look at https://github.com/phonegap/phonegap-app-developer/issues/408.
Unfortunately your device does not meet some minimum standards that we require for our app. You can still manually download the apk and install it yourself and it may work just fine for your needs. But some of the features might not work as intended.
Closing this issue.


npm run dev breaks on windows

Bug Description
npm run dev command does not work on windows
To Reproduce
Steps to reproduce the behavior:

cd express-autodocs
run npm install
run npm run dev
Error message: 'NODE_ENV' is not recognized as an internal or external command

Expected behavior
NODE_ENV  is set to development and run index.js
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop :

OS: Windows 10

Additional context
The error occurs because NODE_ENV=development node index.js   syntax is not supported by windows
Possible Solutions

Using modules like cross-env or dotenv for managing environment variables
handling environment variables in index.js

Thank you for letting me know this issue, I will get back to you in a few minutes 😁

@KulkarniSuraj, this issue is now fixed, Thank you 😇
The changes have been added to the latest version @ v0.0.2-beta.1, make sure to pull from master to get the latest changes :)

Oh wait, It breaks in the production mode 😂

Fixed it by using dotenv module to create .env file which sets the environment to development when we run the dev script
Checkout the PR #7 for more details.
Thank you 😇 Make sure to pull the changes


tentative admin plumbing for DIF cred get/list/delete

For consideration. I think we may be able to consolidate holder/routes.py into fewer endpoints later, once revocation is in place for DIF credentials, but this allow admin API access for the current state of affairs.
Signed-off-by: sklump<EMAIL_ADDRESS>

OK, stay tuned, I will amend tomorrow morning early.


Update starrocks-fe.yaml

moving to scarf
Signed-off-by: Albert Wong<EMAIL_ADDRESS>

close this PR, not necessary any more.


Make sure the correct error gets reported during manifest parsing.

firstError was being cleared each round while incrementally processing
items in manifest parsing. This meant that the most recent error was
reported rather than the first error.
Also cleaned up the types a little.

g3 passing except 1 test that is broken on head; this patch should not impact that test.


Added AgeCaluclator Project in Android.

Description 📜
-This is a simple guide to make AgeCalculator app in Kotlin.
Here, in this application a user can calculate his/her exact age.

Domain of Contribution 📊

[ x] App Development

Checklist ✅

[x ] I follow Contributing Guidelines & Code of conduct of this project.
[x ] I have performed a self-review of my own code or work.
[ x] I have commented my code, particularly in hard-to-understand areas.
[x ] My changes generates no new warnings.

Nice 👍


Real-time background replacement in a web browser

Is it possible to use it in a browser for real-time video background replacement? Are there instructions?
Something like:
https://ai.googleblog.com/2020/10/background-features-in-google-meet.html

you basically just use a virtual (fake) webcam in the browser app, the background replacement reads a real webcam and feeds the virtual one, all outside of the browser task/thread/process

It will be a better UX to be able to do it in a web app without installing a separate virtual webcam app.
Is it possible to use ONNX.js, tfjs or mediapipe to run the matting in the browser?

I have attempted to try tfjs, but it is very slow and not usable. ONNX.js straight up can't be converted.

@PeterL1n can you please share your tfjs code and model? The Google Meet model is fast in the browser so we could probably make BackgroundMattingV2 model fast too.


Nested configs won't initialize if no environment variable of that nested config is set

I'm submitting a...

[ ] Regression
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request

Current behavior
If using nested configs, nest-typed-config will not initialize a nested config when no environment variable was set for this config, even though default values for this configuration are present.
Output when starting (for the concrete ExampleConfig, see the example below):
Nest can't resolve dependencies of the AppService (?). Please make sure that the argument ExampleConfig at index [0] is available in the AppModule context.

It looks like when no environment variable for a nested config is set, the nested config will not be initialized.
When I set an environment variable that is contained inside the nested config, everything works just fine.
Expected behavior
The nested config should be available, even though no environment variables for this config were set.
Minimal reproduction of the problem with instructions
config.ts:
import { Type } from 'class-transformer';
import { IsInt, Min, ValidateNested } from 'class-validator';

export class ExampleConfig {
    @IsInt()
    @Type(() => Number)
    @Min(0)
    public readonly helloWorld: number = 1337;

    @IsInt()
    @Type(() => Number)
    @Min(0)
    public readonly justANumber: number = 42;
}

export class RootConfig {
    @ValidateNested()
    @Type(() => ExampleConfig)
    public readonly example!: ExampleConfig;
}

app.module.ts:
import { Global, Module } from '@nestjs/common';
import { dotenvLoader, TypedConfigModule } from 'nest-typed-config';
import { RootConfig } from './config';
import { AppService } from './app.service';

@Global()
@Module({
    imports: [
        TypedConfigModule.forRoot({
            schema: RootConfig,
            load: dotenvLoader({
                separator: '_',
            })
        })
    ],
    providers: [
        AppService
    ]
})
export class AppModule {}

app.service.ts:
import { Injectable } from '@nestjs/common';
import { ExampleConfig } from '../config';

@Injectable()
export class AppService {
    constructor(
        private readonly exampleConfig: ExampleConfig
    ) {}
}

Environment

Nest version: 9.0.11

For Tooling issues:
- Node version: v18.9.0
- Platform:  Mac

Others:
Package manager: Yarn

First of all, is the example property in RootConfig optional? If it's optional, you should provide default value for it, if it's not, you should add @IsDefined to the example property to make it fail early.
If you use fileLoader with .env.json, you will find out json with example field will pass, and initialized with default values successfully:
{
    "example": {}
}

But if you provide an empty json file, it will fail. Default values resides in ExampleConfig, but as example property is not provided in raw config, ExampleConfig object will not be created.
For the solution, I'd suggest:
// add default value
public readonly example: ExampleConfig = new ExampleConfig();

The fix you provided indeed works, thanks ^^
To add to this, I think that this should be documented somewhere. In my opinion, this is not intuitive behavior.


Option to Keep Key Illuminated When Held Down [Request]

When using the "key fade" mode on an  interactive layer, the keys begin fading to the secondary color immediately after being pressed even if they are held down.  It would be good to have the option to keep them on the primary color for as long as the key is held down, then to begin fading on release.  I think this should be the default behavior, but having the option would be even better.

This was added thanks to PR #676 and is available in development releases.


What if i want to use Combination of annotation in Spring？

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

for example ，i worote an custom annotation MyScheduled：
@Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Scheduled
@Async
@SchedulerLock
public @interface MyScheduled {
@AliasFor(
annotation = Scheduled.class
)
String cron();
@AliasFor(
annotation = SchedulerLock.class,attribute = "name"
)
String name();
@AliasFor(
annotation = SchedulerLock.class,attribute = "lockAtMostFor"
)
String lockAtMostFor() default "";
@AliasFor(
annotation = SchedulerLock.class,attribute = "lockAtLeastFor"
)
String lockAtLeastFor() default "";
}
I tested，SchedulerLock does not work.

Hi, thanks for feedback, I will take a look at it.

Released as 5.6.0


⚠ ClamAV has degraded performance

In 94cbe5e, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 101 ms

Resolved: ClamAV performance has improved in baaddaf.


Bump required k8s version for csi-driver

This comes from using CSIDriver v1 unilaterally in v0.8.0
Note: K8s docs may differ slightly on the exact version when CSIDriver v1 was introduced.
Here points to v1.19 as the first version with v1 available.
That doesn't match here which claims GA (and presumably v1) came in v1.18. We use v1.19 here for safety and because these versions are so ancient that it really doesn't seem to matter.

/approve
/lgtm


Update 08-create-power-bi-dashboard.md

Module: 00
Lab/Demo: 00
Fixes # .
Changes proposed in this pull request:

Submitted by AnthonyOakley on behalf of MOC Labs Review

My workspace still needs to be expanded.


Compilation error on Windows 10 + vc15

Hi,
I followed your instructions to the point,  however I get this error:

Can you help?

It happened due to the changes in https://github.com/KhronosGroup/OpenGL-Registry/pull/183
Fixed in gl3w in https://github.com/skaslev/gl3w/commit/99ed321100d37032cb6bfa7dd8dea85f10c86132
I'll update gl3w soon.

Fixed in 179cc610ee3e9cc5c30806954f4e503a378abb3c


Images no longer normalised by default

Codecov Report

Merging #150 (9ebe0cc) into main (9fb51ab) will decrease coverage by 0.71%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #150      +/-   ##
==========================================
- Coverage   78.19%   77.49%   -0.71%
==========================================
  Files          10       10
  Lines        1284     1284
==========================================
- Hits         1004      995       -9
- Misses        280      289       +9

Files Changed
Coverage Δ

src/spatialdata_plot/pl/basic.py
85.24% <ø> (ø)

src/spatialdata_plot/pl/utils.py
62.12% <ø> (-1.18%)
:arrow_down:

src/spatialdata_plot/pl/render.py
93.33% <100.00%> (-0.75%)
:arrow_down:


Don't hash the crate name in the cache key

I'd like to see the cached crate when looking at the caches for the repo, right now for example I see like 10 entries with cargo-install-{hash}

Hello! Thanks for the suggestion, I just released a new update that changes the cache key format. Since it is a major update, you'll need to manually update your workflows to use the v2 tag (changelog).


Find and replace with regex on does not allow replacing with \n

The same applies to \r and \t, not sure if there are any others.
Repro

Open a file
Ctrl+H to bring up find and replace
Turn on regular expression matching
Match a word
Put \n in the replace text box
Press Replace All

Expected
The matched words are replaced with new lines
Actual
The matched words are replaces with \n

Thanks for fixing this!

When verifying this issue please also consider this test case: https://github.com/Microsoft/vscode/issues/1227#issuecomment-164392805

With version 0.10.4 the issue is partially solved.
That is, "Test Case 2" is solved.
Thanks for that!
"Test Case 1" is  still open, in that searching for '\n' does not work.
Searching for '\t' works.
Furthermore '\r' is not recognized.
'\n' apparentely is the RexEx for CRLF....

@karlti thank you for verifying :+1:. Let's track searching for \r and \n in #313


Doesn't seem to be able to download file from drive

using the command
gdown --id fileID
it gives the error
/usr/local/lib/python3.7/dist-packages/gdown/cli.py:131: FutureWarning: Option --id was deprecated in version 4.3.1 and will be removed in 5.0. You don't need to pass it anymore to use a file ID.   category=FutureWarning, ``Access denied with the following error:
Cannot retrieve the public link of the file. You may need to change
the permission to 'Anyone with the link', or have had many accesses.

You may still be able to access the file from the browser:`
even though the main file has permission allowed for editing for anyone with the link.

yeah i cant download anything either. maybe gdown should update for it.

Same problem here, it worked in my other computer but not my new one

The solution was to upgrade gdown pip install --upgrade gdown


Add java support

This should be done today! Ref: https://github.com/codecrafters-io/build-your-own-http-server/pull/17#issuecomment-1825664443

@urielsalis I pushed a couple of changes related to compiling templates, but looks like the starter code is failing tests:

Could you try to get the tests working? You'll find instructions on how to execute them in the readme here: https://github.com/codecrafters-io/course-sdk

@urielsalis We're also working on a way to make course-sdk easier to use, which should be ready mid next-week. That should make the whole language support experience more user-friendly.
I'll wait for that to land before looking at the other PRs, linking them here so that the github timeline links here:

https://github.com/codecrafters-io/build-your-own-sqlite/pull/52
https://github.com/codecrafters-io/build-your-own-grep/pull/48
https://github.com/codecrafters-io/build-your-own-http-server/pull/17
https://github.com/codecrafters-io/build-your-own-git/pull/56
https://github.com/codecrafters-io/build-your-own-git/pull/55
https://github.com/codecrafters-io/build-your-own-redis/pull/107

@rohitpaulk I was missing the dest address. It should work now.

Works with course-sdk!

And I made sure to run the same in all the other PRs :D

@urielsalis awesome! Added the Java guide here: https://docs.codecrafters.io/challenges/language-support/java. Will quickly test this against the new course-sdk we're working on and hoping to merge tomorrow!

Looks good!
Might be worth adding a link to Intellij Community edition (same as for Kotlin). Makes Java way more begginer friendly than the vscode plugins

Will quickly test this against the new course-sdk we're working on and hoping to merge tomorrow!

@rohitpaulk did this myself just now and all of them, including sqlite which didnt work with the previous sdk, seem to work!