accept_ranges field is not camelCased in JSON

Serde rename_all as an attribute on an enum is renaming all the variants of the enum, not all the fields of those variants.
Missing rename_all on enum variant

We're going to use this as an exercise in change management for 0.2.x releases.
As a general approach, I'm proposing:

a serde alias for the corrected name; this gives clients forward-compatibility
wait a release
change the field default to the correct name, alias the incorrect name
wait (a couple releases? until 0.3?)
drop the alias

Merged in #253


Global: remove caching functions except image caching

Motivation:

Caching doesn't gain too much performance boost. According to my benchmark, fastfetch without caching is only about  10ms faster than fastfetch --nocache. Most truly expensive operations such as networking can't be cached.

We don't have a strategy to invalidate caching.  Most users newly come to fastfetch are not aware of caching, resulting in issues https://github.com/LinusDierheimer/fastfetch/issues/346

Caching increases code complexity. We often need different branches to handle cached results

There are bugs affects caching: https://github.com/LinusDierheimer/fastfetch/issues/342

Caching is annoying when debugging. I have experienced several times that the result never changes no matter how I modify the code. It's a small issue, but does decrease coding experience.

I left this PR for discussion. If it gets no attentions, I will merge it.

I am fine with merging it. Caching was required when detection wasn't as good, but now it indeed doesn't really boost performance anymore.


torch.cuda.OutOfMemoryError: CUDA out of memory

Is there a way to configure the start for this can work with rtx 3060ti?
I'm getting this error:
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 12.00 MiB (GPU 0; 8.00 GiB total capacity; 7.30 GiB already allocated; 0 bytes free; 7.33 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

You shouldn't have problems with your state-of-the-art GPU. Did you try the different commandline arguments as described here?

startwith ‘ -smallmodels’


Migrate to custom tasks beta

There is a work going on to bring custom tasks to beta version and by that approval tasks should follow to implement beta version and bring up its version to beta as well.
https://github.com/tektoncd/community/blob/main/teps/0114-custom-tasks-beta.md
https://github.com/tektoncd/pipeline/pulls?q=is%3Apr+is%3Aopen+0114

implemented as part of 0.6.0 release


Add AZ-301 exam self assessment

Exam AZ-301: Microsoft Azure Architect Design
https://docs.microsoft.com/learn/certifications/exams/az-301

Added


Small fix to installation

Fixes overwriting of scripts with the data

Now fixes https://github.com/pcyin/tranX/issues/16 as well by adding documentation.


Mails not send when using Mailgun as mail driver

Seems to be working fine for me, using my Mailgun account.
Here's my .env setup in the Laravel project (with domain/key changed):
MAIL_DRIVER=mailgun
MAIL_HOST=<IP_ADDRESS>
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAILGUN_DOMAIN=sandbox123456789123456789123456789.mailgun.org
MAILGUN_SECRET=key-123456789123456789123456
Please let me know what errors you're getting when you try.

Let me know if you're still having trouble. I'll close this issue tomorrow if I don't get more information. Thanks.


dead link: https://geospatial.streamlit.app/

geospatial apps dead link
https://geospatial.streamlit.app/

Try: https://streamlit.gishub.org/


RGSoC issues

Since RGSoC applicants have to chose a single task to plan during their summer of code, we're tailoring a lost of issues that applicants can choose from:
#95: urwid testing
Write something to support testing the interactive screens (both funcitonality, and layout). IMHO, this is the most useful and interesting choice.
#62: Full-fledged curses-based interface
This includes a list, and all cli-options accessible from a central UI. There's an incomplete PR for this, and it might be too short for RGSoC.
Maybe we can also include writing a few custom widgets that we can use:

Pulldown widgets for list selection
A "progress bar" like one to move urgency and completion percentage
Probably something else.

#17: Support for repeating reminders
Complete support for repeating reminders (using alarms, probably, this also has a bit of research), and always bumping up repeating reminders if recurrances are pending.
#16 Checklists
Not sure if possible. @untitaker ?
Note: This list is not final. We've some discussion pending with @untitaker.

I don't see why checklists shouldn't be "possible", though the DESCRIPTION-based implementation mostly benefits people who synchronize with OpenTasks.
I also consider https://github.com/pimutils/todoman/issues/144 to be a good project for rgsoc.

I don't see why checklists shouldn't be "possible", though the DESCRIPTION-based implementation mostly benefits people who synchronize with OpenTasks.

I believe there were some limitations regarding vdirsyncer syncing?
And yes, being OpenTasks-specific, maybe we should have it as behind some flag to enable it (in settings).

I also consider #144 to be a good project for rgsoc.

Definitely, I actually started this list because of it and forgot. Added it now.

Yeah, that doesn't sound too good. I don't think that particular task is a good candidate. Interest in it is also rather low.

regarding #62 "Pulldown widgets for list selection": those can probably be taken from khal, there is a basic implementation by @untitaker and one which allows you to narrow the list by typing into a Text field (EditSelect in branch feature_timezones).
Perhaps it would then be time to start a new project urwid-contrib or something like that.

todoman now has a very simple task list selector in TodoEditor.

@hobarrera may I know is any team is selected for RGSOC 2017 from todoman.

I think you should have recieved an email by rgsoc? If not please contact the organizers.
On 5 May 2017 18:31:56 GMT+02:00, Anubha Agrawal<EMAIL_ADDRESS>wrote:

@hobarrera may I know is any team is selected for RGSOC 2017 from
todoman.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/pimutils/todoman/issues/146#issuecomment-299512585

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Hi. I got an email a few minutes ago that, regrettably, no teams have been selected for todoman.


list index out of range when parsing 20th march

timefhuman('20th march')
gives : list index out of range
also when is try with 'march 20th'
it gives : 'DayToken' object has no attribute 'isnumeric'

I think part of the problem is the "th" suffix. The library works fine with the string "march 20".
The other suffix works fines ("st", "nd", "rd") just the "th" one cause this kind of bug

Thank you for reporting @saroup! @igornfaustino was kind enough to introduce a PR fixing issue. #11 has now been merged.


Revert "Revert to mvn vespa:deploy for now"

deploy with Vespa CLI

merging to get a test run

👍


Drag is not fluid enough

I compared flutter_map to the normal google maps. Don't get me wrong, flutter_map's drag works fine, but it's as not smooth as the one in google maps. Do you have any idea what's the difference?

Google Maps SDK has prebuilt vectorisation. Thats why this zooming in/out feels so smooth when in the meantime its downloading all relevant tiles. Not sure what would need to be done to make the UX better, maybe some rasterisation of the tiles before we get a new one from the network.

also related to flinging behavior: https://github.com/johnpryan/flutter_map/issues/271

I compared flutter_map to the normal google maps. Don't get me wrong, flutter_map's drag works fine, but it's as not smooth as the one in google maps. Do you have any idea what's the difference?

but I see it even when all the needed tiles are loaded

Right now what we have is a rough attempt to allow for two-finger dragging and zooming. Pull requests are accepted :)

I will take a look at it,

Right now what we have is a rough attempt to allow for two-finger dragging and zooming. Pull requests are accepted :)

I will take a look at it, also it is possible that it would be better if I could run it in 60fps, I can't go above about 40 fps even in performance mode.

Right now what we have is a rough attempt to allow for two-finger dragging and zooming. Pull requests are accepted :)

Do you think the whole plugin could be made more fluid by multi threading some back-end work? Ex the gesture could be calculated on a different thread or isolate as it's called in flutter I think.

I feel that putting gesture calculation in isolate would yield worse performance. Or is that calculation that much demanding? Perhaps some perf measurement could help.

Hi, @virshlee could please take a test ride with #572 PR, maybe it resolves this issue.


A way to pull all tickers available on WeBull and the correct TickerID/#

It would be really nice to have a way to see all tickers that are on webull to then loop through other functions.

The get_active_gainer_loser function defaults to 20 records but it can return all active tickers if you set the count high enough.

len(wb.get_active_gainer_loser('active', 9999))
5124

You could also use wb.run_screener with very broad filters.

Is there any api to query watchlists and belonging tickers?

@alexonab That is a great idea. However, I am getting the following error when I paste in the line of code you wrote.
TypeError: get_active_gainer_loser() takes from 1 to 2 positional arguments but 3 were given

?

is there a way to pull tickers from watchlist?

Is there any api to query watchlists and belonging tickers?

is there a way to pull tickers from watchlist?

Yes. You can find it in recent commit

It asking to pass a 'regional_id' as a parameter. How can we get this?

I am a Year late . lol . I have just started to use webull and found it useful.
Here is url that can be used to pull list of all stocks
https://securitiesapi.webullfintech.com/api/securities/market/v5/card/stockActivityPc.advanced/list?regionId=12&userRegionId=1&hasNum=0&pageSize=9999
region id:1		"China"
region id:2		"Hong Kong"
region id:3		"Canada"
region id:4		"United Kingdom"
region id:5		"Japan"
region id:6		"United States"
region id:8		"Italy"
region id:12		"India"
region id:13		"Singapore"
region id:14		"Germany"
region id:50		"Denmark"
region id:59		"Finland"
region id:77		"Iceland"
region id:83		"Israel"
region id:105		"Malaysia"
region id:144		"Russia"
region id:166		"Sweden"
region id:169		"Taiwan"

Thanks you it's still helpful
On Mon, Dec 27, 2021, 2:55 PM amitmahesh99 @.***> wrote:

I am a Year late . lol . I have just started to use webull and found it
useful.
Here is url that can be used to pull list of all stocks
https://securitiesapi.webullfintech.com/api/securities/market/v5/card/stockActivityPc.advanced/list?regionId=12&userRegionId=1&hasNum=0&pageSize=9999
region id:1 "China"
region id:2 "Hong Kong"
region id:3 "Canada"
region id:4 "United Kingdom"
region id:5 "Japan"
region id:6 "United States"
region id:8 "Italy"
region id:12 "India"
region id:13 "Singapore"
region id:14 "Germany"
region id:50 "Denmark"
region id:59 "Finland"
region id:77 "Iceland"
region id:83 "Israel"
region id:105 "Malaysia"
region id:144 "Russia"
region id:166 "Sweden"
region id:169 "Taiwan"
—
Reply to this email directly, view it on GitHub
https://github.com/tedchou12/webull/issues/62#issuecomment-1001719686,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACI7TBZYPLXO325GJZSMRLLUTDABJANCNFSM4ONTVHFA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

#341


Use proc/cpuinfo for hardware serial

Acceptance Criteria:

Use /proc/cpuinfo for hardware serial mainly
Use current path (/proc/device-tree/serial-number) as backup

this requies more work. if is there but all zero disregard that.

Closing this in favour of #507 as the fix is in. Just needs better tests


Add 1-player WUSBMote v2.2

Add 1-player WUSBMote v2.2 (wii controller to usb adapter) for Mac OS X

Could you provide mapping using a Wii Classic controller, if you have one available ? Thanks

They provided the following string:
030000009b2800008000000022020000,1-player WUSBMote v2.2,platform:Mac OS X,a:b1,b:b4,x:b0,y:b5,back:b2,guide:b10,start:b3,leftshoulder:b6,rightshoulder:b7,dpup:b12,dpdown:b13,dpleft:b14,dpright:b15,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:b8,righttrigger:b9,
using a Wii Classic Controller Pro instead of the Wii Classic Controller (the shoulder buttons are digital on the pro instead of analog). Will this be enough?

Good enough for me ! Thanks


Add tags and attributes from HTTP Live Streaming 2nd Edition draft-pa…

…ntos-hls-rfc8216bis-09.
New tags:
EXT-X-PART
EXT-X-PRELOAD-HINT
EXT-X-RENDITION-REPORT
EXT-X-SKIP
EXT-X-PART-INF
New variant and I-frame variant attributes:
SCORE
ALLOWED-CPC
STABLE-VARIANT-ID
New alternative rendition attribute:
STABLE-RENDITION-ID
Also, the CHANNELS attribute has been reinterpreted into a new model.
Signed-off-by: Finn Hermansson<EMAIL_ADDRESS>

Thanks!


Add S3 support for Announcements Model

Subject of the issue

Announcement model has an image and file field. All these data should be stored in S3 bucket.

Expected behaviour

Announcement list page should link images and uploads to S3 URL.

I am testing this one.

Announcement model has an image and file field. All these data should be stored in S3 bucket.

Do we have cloudfront ?

No cloudfront setup @bobinson

There are couple of issues in this PR.

When we make pinned announcements
Then the pinned announcement won't shown in the list ( but shows in Red color as priority, but no hyperlink for anouncements

What if the annoucement team uploads file (with same name, chances are there) in that s3 will throw exception,

@kracekumar , @biswaz , @bobinson  -- go through my comments


contributing and delivery

https://github.com/NorthPage/telegraf-cookbook/issues/51
Don't want to intrude but since I was working on it anyway. Here is a draft from the chef-cookbooks community.

sorry it took a while ;)

Thanks for this!


fixes signal payload injection for Signal1 and Signal2

Nice one, Thanks

One thing I'd suggest while adding features/fixing issues would be to work on the develop branch. Cheers


documentation: fix a typo in Quickstart

I fixed a typo in a CLI and added a cosmetic update to a sentance.

I created this issue before I decided to fix the code and ask for a pull:
https://github.com/riscv-software-src/riscof/issues/49

Thank you for the PR. A changelog update and version bump is needed to merge this. There seems to be residual mentions of arch-tests in commands.rst. Please replace those too.

Hi Pawan, I am reading the documentation further and will combine all the fixes into a single merge request with an updated CHANGELOG at the end. It will probably take me a week (I am trying to run tests on my CPU at the same time).


Use portable-atomic only for 32-bit architectures

A new take on how to use the atomics without bringing in the portable-atomic crate for 64-bit architectures where one can use just std.
Believe this approach could satisfy the requirements, and be easier to use for everyone, but I'm not super familiar with this crate so may have missed something also.
Resolves #346
Resolves #323
Changed

Only use portable_atomic::AtomicU64 for 32-bit platforms, for 64-bit platforms use std.

Added

Re-export AtomicU64 so one have an easy and convenient way to get the used atomic counter type regardless if one 32-bit or 64-bit architectures and without depending on external crates when using this crate.

Removed

Removed the std-atomics Cargo feature as it is not longer needed

I ended up replicating this by hand in a3a706b as I wanted to slightly tweak some things. I'm going to close this PR with that in mind, but I did make sure to credit you for that change in the CHANGELOG, as it ultimately overlapped with your diff by nearly 100%.
Thanks again for your contribution and kicking my butt to get this solved in a cleaner way.

thanks!

Released as<EMAIL_ADDRESS>Thanks again for your contribution!


#601 from CSP-Coders-2025

add login button to all themes.

I don't think these are accurate.  The id needs to be loginArea.
      Login

It looks like you figured out the pull request, but some of the changes I question.


Obsolete method in example "Copy a blob"

FYI:
'TransferManager.CopyAsync(CloudBlob, CloudBlob, bool, CopyOptions, SingleTransferContext, CancellationToken)' is obsolete: 'Replaced by overload that takes CopyMethod'
Using the following package references:
<PackageReference Include="Microsoft.Azure.Storage.Blob" Version="11.1.3" />
<PackageReference Include="Microsoft.Azure.Storage.Common" Version="11.1.3" />
<PackageReference Include="Microsoft.Azure.Storage.DataMovement" Version="1.3.0" />

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

ID: ccebf561-f09a-42ae-ece7-1c194e921252
Version Independent ID: 8a552618-aed8-5230-726b-05dfaddac479
Content: Transfer data with the Data Movement library for .NET - Azure Storage
Content Source: articles/storage/common/storage-use-data-movement-library.md
Service: storage
Sub-service: common
GitHub Login: @tamram
Microsoft Alias: tamram

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

@aykay76 For better understanding on your query:  Can you please elaborate more on your query? May I know what exactly are you trying to accomplish

Sure. I was following the example code to copy a blob here: https://docs.microsoft.com/en-us/azure/storage/common/storage-use-data-movement-library#copy-a-blob
When I compile the code I had an error stating that the CopyBlob method referred to was obsolete, and that an overload using the CopyMethod parameter should be used instead.
I used the overload and it worked fine, I was just notifying you so that the documented example could be updated.

@aykay76 Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@aykay76 - Thanks for pointing out this compilation error. I've updated the example code to use the correct overload. The change should go live in the next day or so.
#please-close

Sure. I was following the example code to copy a blob here: https://docs.microsoft.com/en-us/azure/storage/common/storage-use-data-movement-library#copy-a-blob
When I compile the code I had an error stating that the CopyBlob method referred to was obsolete, and that an overload using the CopyMethod parameter should be used instead.
I used the overload and it worked fine, I was just notifying you so that the documented example could be updated.

Hello, I am having the same issue but I don't know how to use overload instead, could someone please give me the sample code to replace this obsolete function? Thank you in advance.


[Channel 0-89] Update rubocop-rails (2.7.1)

@filipesperandio could you please have a look at this PR and approve? I got constant errors from CodeClimate since I've updated rubocop-rails quite some time ago but codeclimate-rubocop haven't followed so far 🤔


struct_field_align_threshold option not working

I cannot seem to get the example for struct_field_align_threshold = 20 to work from the Configurations.md.
formatting this struct:
struct Foo {
    x: u32,
    yy: u32,
    zzz: u32,
}

to look like this:
struct Foo {
    x:   u32,
    yy:  u32,
    zzz: u32,
}

my rustfmt --version is 0.9.0-nightly ( )
my rustc --version is rustc 1.19.0-nightly (2d4ed8e0c 2017-05-03)
repo steps (note before I cat main.rs I pasted in the unformatted Foo struct):
[~] cargo new --bin format-test
     Created binary (application) `format-test` project
[~] cd format-test
[format-test] echo "struct_field_align_threshold = 20" >> rustfmt.toml                                                                                master  ✱
[format-test] cat rustfmt.toml                                                                                master  ✱
struct_field_align_threshold = 20
[format-test] cat src/main.rs                                                                                master  ✱
struct Foo {
    x: u32,
    yy: u32,
    zzz: u32,
}

fn main() {
    println!("Hello, world!");
}
[format-test] cargo build                                                                                master  ✱
   Compiling format-test v0.1.0 (file:///home/will/format-test)
warning: struct is never used: `Foo`
 --> src/main.rs:1:1
  |
1 | / struct Foo {
2 | |     x: u32,
3 | |     yy: u32,
4 | |     zzz: u32,
5 | | }
  | |_^
  |
  = note: #[warn(dead_code)] on by default

    Finished dev [unoptimized + debuginfo] target(s) in 0.23 secs
[format-test] rustfmt src/main.rs                                                                                master  ✱
[format-test] cat src/main.rs                                                                                master  ✱
struct Foo {
    x: u32,
    yy: u32,
    zzz: u32,
}

fn main() {
    println!("Hello, world!");
}
[format-test]

I should note that using cargo fmt has the same result.

Could you please update your nightly toolchain and try with the latest rustfmt-nightly? Instructions are on README.md.

For some reason I was stuck on rustc 1.19.0-nightly when I did rustup update. I had to reinstall nightly rust as described here and now I'm on rustc 1.21.0-nightly. I then did rustup run nightly cargo install rustfmt-nightly --force and the issue I was describing is resolved.


Developer build instructions?

So I want to PR in some minor QOL changes, namely optionally soft-capped min/max range and more supported events for text-inputs (onkeydown, onkeyup, etc....). Maybe some other stuff too.
Could not for the life of me figure out how to do a dev-build.

 Am I doing this right?

Appears I forgot to npm install from packages/tweakpane though I coulda sworn I tried that. Also had issues where when trying to build this while nested inside another project


Generating source/target image is too slow

It seems that the code doesn't use GPU acceleration too much, which makes the process very slow. It takes nearly 3s to generate a single image..

@0oshowero0 have you solved this problem?

@0oshowero0 have you solved this problem?

I forget since it's really long ago. You can refer to my issue at #18 to see whether is your problem.


Resize settings window

Hey there, just started using 7.0. Works like a charm! Well done!
Only thing is, now that I used the settings window a few times, it keeps opening up a bit larger than the height of my screen.
If you could resize it to maybe half that size, that would be great. Not every tab needs that much space, and it seems it takes the biggest size, the playback controls, as a base.

Yeah I need to cut it down. I just used the default font sizes.

The settings UI has been redone in the latest version 0.7.1 and takes up less space.


Adding Python encryption program

fiture
encoding and decoding base64
encoding and decoding base16

Hey there, @ahmadsutojo! It looks like all's in order, thanks for contributing!


Support timing for browsers other than chrome

Ideally, a calendar should pop up for the date and a drop-down list for the time.

Based on https://stackoverflow.com/questions/38186517/rails-datetime-field-does-not-display-control-buttons , it seems that datetime_local_field helper that is currently being used renders a type that is not supported in Firefox. I changed it to datetime_field and it rendered but the time could no longer be inputted.
I will investigate more but I think the main problem currently lies with the browsers (such as firefox) being unable to render some input types.


Add support for iarange in einsum-based Dice

Addresses #915
Pair coded with @eb8680
This fixes a number of bugs in the einsum backend for Dice, and switches to this backend for all models.
Tested

enabled einsum backend on existing unit tests (some of which failed before this PR)
added unit tests for sumproduct

Codecov Report

Merging #1315 into dev will increase coverage by 0.45%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##              dev    #1315      +/-   ##
==========================================
+ Coverage   95.38%   95.83%   +0.45%
==========================================
  Files         120      120
  Lines        6411     6379      -32
==========================================
- Hits         6115     6113       -2
+ Misses        296      266      -30

Impacted Files
Coverage Δ

pyro/infer/util.py
98.5% <100%> (+2.25%)
:arrow_up:

pyro/ops/sumproduct.py
97.06% <100%> (+35.41%)
:arrow_up:

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 0dbb560...81b3b1f. Read the comment docs.


$output's output is somewhat gross for CSS classes

Adds a lot of ugly stuff and doesn't seem to work on various devices. col-6 works fine, but something like col-sm-6 breaks.

@microcipcip I messed with this but couldn't get it. Any chance you could take a look at it and give me your thoughts?

Removing $output since it just adds a ton of bloat and doesn't work. Will revisit this as a separate issue in the future.


[BUG] Email.AttachFromFilename does not dispose stream

It seems that GitHub won't let me fork this repo, because I already have a fork of lukencode/FluentEmail. But please take a look at https://github.com/lukencode/FluentEmail/pull/384 and implement that fix here -- disposing of the file stream after reading the file to attach.

Do you know if anyone is working on this already? if not, I can work on it.

There's already a suggested fix here. I just can't fork this repo because I already have a fork of the source repo.

Thanks! I'll review and get it in ASAP.   You should be able to fork into a differently named repo though.


Login WebView Not showing mobile login

I've got login working in my app using the code from the sample application. However, when the login page is loaded from Instagram it's showing the desktop login view instead of the mobile version (which the sample app does).
Am I missing something somewhere?

I managed to resolve this by changing some properties on the web view in interface builder. If the web view doesn't have it's content mode set to Scale to Fill the behaviour above is the result. Simply changing it resolves the issue.


syntastic: error: checker ansible/ansible_lint: can't parse version string (abnormal termination?)

syntastic: error: checker output:
ansible-lint ^[[1;36m6.15^[[0m^[[1;36m.^[[0m^[[1;36m0^[[0m using ansible ^[[1;36m2.14^[[0m^[[1;36m.^[[0m^[[1;36m1^[[0m
syntastic: error: checker ansible/ansible_lint: can't parse version string (abnormal termination?)
$ ansible-lint --version
ansible-lint 6.15.0 using ansible 2.14.1
$ ansible --version
ansible [core 2.14.1]
config file = /home/lkthomas/Documents/ansible.cfg
configured module search path = ['/home/lkthomas/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/lkthomas/.local/lib/python3.11/site-packages/ansible
ansible collection location = /home/lkthomas/.ansible/collections:/usr/share/ansible/collections
executable location = /home/lkthomas/.local/bin/ansible
python version = 3.11.0 (main, Oct 24 2022, 00:00:00) [GCC 12.2.1 20220819 (Red Hat 12.2.1-2)] (/usr/bin/python3)
jinja version = 3.1.2
libyaml = True

Syntastic is no longer maintained, you should consider switching to something like ALE instead.
However, if you insist to make this work, the problem seems to be that the output of ansible-lint --version when run from Vim contains ANSI colors.  Fix that, and syntastic should start working again.


Koenig - Open links in new tab

Is there a way to configure to open links in a new tab when using the new Koenig editor?

Hi @ @tomkerkhove 👋
We ask that you please do not use GitHub for help or support, the default issue template pointed you to our forum for this type of question 😄 We use GitHub solely for bug-tracking and on-going feature development so we try to keep it noise free.

Well from what I've seen it's not there hence the feature request, but maybe the wording was wrong.
Will post it over there and create a new issue if need be.

As stated in the issue template picker, and in the issue template which you deleted when you originally wrote your issue, and already explained by Kate, we use GitHub solely for bug reports. Feature requests belong on https://forum.ghost.org/c/ideas.


Add MJ to contributors

@all-contributors please add @mjdelbianco  for infrastructure, tests and code

@all-contributors please add @mjdelbianco for infrastructure, tests and code

@all-contributors please add @Ishdril  for infrastructure, tests and code

@all-contributors please add @Ishdril for infrastructure, tests and code

@all-contributors please add @mjdelbianco for infrastructure and code


DBZ-1097 High-level design description of SQL Server streaming

https://issues.jboss.org/browse/DBZ-1097

Very nice, thanks!


Build failure after importing a generated file

Hi everybody,
I'm new to AngularDart and I'm trying to play a bit with Firebase.
I'm getting this error everytime I try to compile
[INFO] Caching finalized dependency graph completed, took 562ms

[SEVERE] build_web_compilers|entrypoint on web/main.dart (cached):
Unable to find modules for some sources, this is usually the result of either a
bad import, a missing dependency in a package (or possibly a dev_dependency
needs to move to a real dependency), or a build failure (if importing a
generated file).

Please check the following imports:

import 'package:ganizr/app_component.template.dart' as ng; from ganizr|web/main.dart at 4:1

[SEVERE] Failed after 1.6s

My pubspec.yaml
name: ganizr
description: A web app that uses AngularDart Components
# version: 1.0.0
# homepage: https://www.example.com
# author: double11one<EMAIL_ADDRESS>
version: 0.0.1

environment:
  sdk: '>=2.0.0 <3.0.0'

dependencies:
  angular: ^5.0.0
  angular_forms: ^2.0.0
  angular_router: ^2.0.0-alpha+19
  http: ^0.11.0
  stream_transform: ^0.0.6
  firebase: ^5.0.0
  googleapis_auth: ^0.2.5
  service_worker: ^0.2.3

dev_dependencies:
  angular_test: ^2.0.0
  build_runner: ^0.10.0
  build_test: ^0.10.2
  build_web_compilers: ^0.4.0
  test: ^1.0.0

analyzer:
  errors:
    uri_has_not_been_generated: ignore

My main.dart
import 'package:angular/angular.dart';
import 'package:firebase/firebase.dart';

import 'package:ganizr/app_component.template.dart' as ng;

void main() {
  initializeApp(
    apiKey: "***",
    authDomain: "***",
    databaseURL: "***",
    storageBucket: "***",
    messagingSenderId: "***",
    projectId: "***",
  );

  runApp(ng.AppComponentNgFactory);
}

app_component.dart
import 'package:angular/angular.dart';

import 'src/data_service.dart';

@Component(
  selector: 'app',
  templateUrl: "app_component.html",
  styleUrls: ['app_component.css'],
  providers: [DataService],
)

class AppComponent implements OnInit {
  final title = 'Orders';
  final DataService _dataService;

  bool get isServiceLoading => _dataService.loading;

  AppComponent(this._dataService);

  @override
  ngOnInit() {
    _dataService.init();
  }
}

Don't know what I'm doing wrong.
Thank in advance.

Dart SDK Version: 2.0.0
Angular: 5.0.0
macos_x64

@leonsenft yes, exactly.

Sometimes an earlier failure that is responsible for the missing file isn't shown on repeated compilation, so perhaps there's another error you missed. Could you please try the following:

Upgrade your dependencies:
pub upgrade

Clean out the generated code
pub run build_runner clean

Try compiling again and see if there are any new errors
pub run build_runner serve

@jacob314 @natebosch I think you already have an issue tracking this, but this seems to be a common issue users experience with build_runner: an earlier error that prevents the generation of a file isn't shown again on repeat compilations.

We do now show errors on repeat compilations by default - but only in more recent versions of build_runner, so hopefully this sort of confusion becomes less prevalent as people upgrade.


[SuiteHeader] Masthead dynamic company name

What package is this for?

[X] React

Summary
Currently, the text "IBM" cannot be edited in the MAS header. Large business partners who preform heavy configuration have the right to re-sell applications or entire Maximo instances branded as their own.
Specific timeline issues / requests
MAS 8.5
We need to add a configuration property to allow for this.

Available extra resources
What resources do you have to assist this effort?
Carbon add-ons for Watson IoT is a collaborative system. We encourage teams to
build components and submit them for integration.

@JordanWSmith15 The SuiteHeader allows passing all the same props as Header, so IBM can be changed in SuiteHeader using the <SuiteHeader prefix="KSP" /> prop. It does not show up in documentation because the Header propTypes are not being extended in SuiteHeader we can fix that with this issue to make it more clear.


RDK-46636 - NetworkManager backward compatibility

Reason for change: Need to support the network and Wi-Fi manager legacy API such that Network Manager can be used without any of the code for Network and Wi-Fi manager plugin
Test Procedure: Build and verified with curl commands Risks: Low
Priority: P1
Signed-off-by: Gururaaja ESR<EMAIL_ADDRESS>

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/4815/rdkcentral/rdkservices

Commit: bc4ec221399ca2fa2bc0b1cfc9238332d4af2671

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/4815/rdkcentral/rdkservices

Commit: bc4ec221399ca2fa2bc0b1cfc9238332d4af2671

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/4815/rdkcentral/rdkservices

Commit: 4e68ad3a1446f29f834dc1ea06ae027a57d614ad

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/4815/rdkcentral/rdkservices

Commit: 4e68ad3a1446f29f834dc1ea06ae027a57d614ad

Report detail: gist

WARNING: A Blackduck scan failure has been waived
A prior failure has been upvoted

Upvote reason: Approved - not code, data matching

Commit: 4e68ad3a1446f29f834dc1ea06ae027a57d614ad

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/4815/rdkcentral/rdkservices

Commit: 2157f3628c914048d3fec0a92d8366c5cbf3a529

Report detail: gist

WARNING: A Blackduck scan failure has been waived
A prior failure has been upvoted

Upvote reason: As before

Commit: 2157f3628c914048d3fec0a92d8366c5cbf3a529

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/4815/rdkcentral/rdkservices

Commit: b0a84bae941b1f964016e9535b326c65adc9a281

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/4815/rdkcentral/rdkservices

Commit: 0b36b460257cd89d30f76db4627edd1a47e0b1d8

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/4815/rdkcentral/rdkservices

Commit: 0b36b460257cd89d30f76db4627edd1a47e0b1d8

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/4815/rdkcentral/rdkservices

Commit: 0b36b460257cd89d30f76db4627edd1a47e0b1d8

Report detail: gist


(optional) Navigation Icon for Weekly / Monthly notes

Currently there's the "Open Today" icon on the side bar (maybe driven by the core plugin?).
As I want to use weekly notes more often, it would be great to enable an "Open Week" button as well.

Hi @eXpl0it3r, you can right-click on the Open Today button to see the other options. Sorry it's not super discoverable, but I didn't want to take up too much room in the app ribbon.

Oh, that's neat! Maybe a note somewhere in the readme would help with the discoverability. 🙂


Via: Last chance VIA updates related to #1534

See #1534 #1988 #2018 #2024

[approve ci autest]

[ci approve autest]

what is the reason in doing that? i must have missed some conversation?

Still showing the protocol stack (as we discussed).

Kit: The reason is that adding this (like we are) to the Via header breaks the protocol / RFC. This logic should go in a separate header, as I've discussed with others, it should likely go with with the Forwarded header (https://tools.ietf.org/html/rfc7239)

This still looks odd to me:
Via: ATS (ApacheTrafficServer/8.0.0 [uScHs f p eN:t cCHp s ]), http/1.1 tls/1.2 tcp ipv6

The second string, after the comma, would be interpreted as another hop in the Via chain (which is clearly not right).

@zwoop  - That's because you have your ATS misconfigured.

Ok, how about we do this:

Revert these new configurations.
Add a new state to the existing configuration, "4", which means also include the protocol stack.
Fix the strings such that they are always RFC compliant (even in the "4" state).

Like this, I presume
Via: 1.1 vegur, http/1.1 tidus (ApacheTrafficServer/8.0.0 http/1.1 tcp ipv6)

Right.

At verbosity 4, it is
Via: 1.1 vegur, https/1.1 tidus (ApacheTrafficServer/8.0.0 [uScMsSf pSeN:t cCMp sS] [http/1.1 tls/1.2 tcp ipv4]

[approve ci autest]

[approve ci autest]

[ci approve autest]


Inconsistency in XLA Compiled Model with tf.minimum and Additional Outputs on GPU

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.15.0
Custom code
Yes
OS platform and distribution
Ubuntu 22.04.3 LTS
Mobile device
No response
Python version
3.10.0
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
cuda : 12.2 / cudnn 8.9.04
GPU model and memory
Tesla V100S-PCIE-32GB
Current behavior?
An inconsistency arises in a TensorFlow model under XLA compilation when using tf.minimum along with an additional output nodes. This inconsistency does not occur when either the tf.minimum or the extra output node is removed.
Testing and Observations

Removing the tf.transpose operation or one instance of tf.minimum prevents the inconsistency, suggesting their involvement in the issue.
Intriguingly, removing either the second tf.minimum (referred to as min2) or the outputs of tf.split also resolves the inconsistency. This observation indicates that the specific combination and arrangement of these operations contribute to the problem.

This error is seen on specific input tensor. Please refer this colab notebook.
Please reproduce the bug with the V100 GPU.
Standalone code to reproduce the issue
class Model1(tf.keras.Model):
    def __init__(self):
        super().__init__()
        # Tensor objects (with comments for shapes)

        # Layers or other Keras model objects

    @tf.function(jit_compile=True)
    def __call__(self, inp):
        # Forward pass logic using TensorFlow operations
        # inp: [17, 10, 42] : complex128
        trans = tf.transpose(inp, perm=[2, 1, 0])
        cast = tf.cast(trans, dtype=tf.int64)
        sliced = cast[(slice(None, None, None), slice(-1,<PHONE_NUMBER>854775807, 1), slice(None, None, None))]
        min1 = tf.minimum(cast, sliced)
        min2 = tf.minimum(min1, min1)
        return min1, min2,

class Model2(tf.keras.Model):
    def __init__(self):
        super().__init__()
        # Tensor objects (with comments for shapes)

        # Layers or other Keras model objects

    @tf.function(jit_compile=True)
    def __call__(self, inp):
        # Forward pass logic using TensorFlow operations
        # inp: [17, 10, 42] : complex128
        trans = tf.transpose(inp, perm=[2, 1, 0])
        v6_0, v6_1 = tf.split(trans, 2, axis=0)
        cast = tf.cast(trans, dtype=tf.int64)
        sliced = cast[(slice(None, None, None), slice(-1,<PHONE_NUMBER>854775807, 1), slice(None, None, None))]
        min1 = tf.minimum(cast, sliced)
        min2 = tf.minimum(min1, min1)
        return min1, min2, v6_0, v6_1

Relevant log output
=========RUNNING WITH PICKLE FILES===========
=========eager_output(version:2.15.0)================
XLA_eager does not trigger assertion
=========compiled_output(version:2.15.0)================
XLA_complie triggers assertion

Not equal to tolerance rtol=0.001, atol=0.001
at checking 0th
Mismatched elements: 3261 / 7140 (45.7%)
Max absolute difference: 197
Max relative difference: 93.
 x: array([[[-25,  35, -17, ..., -87,  44,  12],
        [-75, -40,  90, ...,  57, -40,  13],
        [-31,  16, -95, ..., -82, -65,  14],...
 y: array([[[-25, -94, -94, ..., -87, -49,  -2],
        [-75, -94, -94, ...,  13, -49,  -2],
        [-31, -94, -95, ..., -82, -65,  -2],...

@GwiHwan-Go,
The code you have mentioned has random number generation, the outputs cannot be guaranteed for each run.
I have tried by setting seed and enabling op determinism and it still produces random results.
tf.random.set_seed(42)
tf.config.experimental.enable_op_determinism()

Hi @tilakrayal,
I don't believe that the problem you mentioned is influencing this issue. This is because we generated random inputs before feeding them to the models and ensured that the same inputs were given to both models. Additionally, the fact that eager mode does not trigger this behavior seems to support this perspective.

@Gwihwan-Go,
Inside the call function you are generating the value for tensor, which in each calls generates different random values because XLA currently ignores TF seeds to random operations which makes the output different for obvious reason. Please refer known issues from XLA section.  Also Providing additional outputs does not result in matching outputs. This behavior is expected. Thank you!

@tilakrayal, could you explain which APIs in the code above are used to generate a tensor? They include tf.transpose, tf.split(trans, 2, axis=0), tf.cast(trans, dtype=tf.int64), slice, and tf.minimum.

Hi,
Providing additional outputs does not result in matching outputs. This behavior is expected.


[ART-2682] Verify flaw bugs are attached and associated with specific…

… builds
Requires https://github.com/openshift/elliott/pull/239

@joepvd PR has been updated to be incorporated in promote-assembly.

/lgtm


We should provide a better error message when using autodeploy without selecting a location. It's an unhandled exception at the moment.

Closed by #272


Terminal closes to update without asking permission

Environment
Windows build number: Version 10.0.18363.752
Windows Terminal version (if applicable): 0.11.1121.0

Steps to reproduce

Have the terminal app open
Expected behavior

Am I seeing things, or does terminal automatically closes to update without asking permission? It happend to me for the 2nd time.
When I got back to my computer, I realised that my running server was stopped because the terminal app was closed, turns out it got updated (as always its icon was in the "stuck progress" state, but that's a Windows 10 bug and is not related to this issue)

Actual behavior
Terminal closes automatically to update without asking permission.

Before I triage this-

Knowing Microsoft developers, I understand that they don't care

Hi, we are real people. You do not need to resort to ad hominem to make your point.

@DHowett-MSFT sorry mate, I edited it out.
I just lost too much unsaved work too many times because Windows 10 restarted after updating while I was away from the computer without asking any permission.

@DHowett-MSFT sorry mate, I edited it out.
It's just I lost too much unsaved work too many times because of Windows 10 restarting without asking permission after updating while I was away from the computer.

I know, it’s pretty crappy. We haven’t yet cracked the API that lets us tel the store to hold off yet. We try, though, when there are multiple tabs open. I’ve seen reports that clicking “cancel” in the “are you sure you want to close all these fine tabs?” dialog just makes the store kill us instead of waiting :/

(Also, thank you. I’ve filed bugs out of anger, and I always feel bad afterwards. Sorry we made you lose some work :()

There's also #3915 - maybe we should dupe this thread?

@DHowett-MSFT yeah thanks for understanding. I know we shouldn't get annoyed by stuff like this, you guys are doing your best, you made the app open source, you are improving it every day, what is there more to ask, it takes time, you guys are doing a good job!
I suppose we can dupe this thread since there's a similar one opened, I didn't see it.

Thanks!
/dup #3915


Docker Compose for local development and testing

I propose to add docker-compose.yml and use in both Travis CI and local development. Something like this we are doing in PromHouse:

https://github.com/Percona-Lab/PromHouse/blob/master/.travis.yml
https://github.com/Percona-Lab/PromHouse/blob/master/misc/docker-compose.yml
https://github.com/Percona-Lab/PromHouse/blob/master/.github/CONTRIBUTING.md

It's a good idea, I'll add docker-compose file in the future or you can create a PR


Search number Phone in google

Suggestion: implement a search through Google to try to identify what is spam or redirect directly to Google passing the phone number as a query (parameter)

Previously I had similar idea, query a third party database, such as TrueCaller and Robokiller, but I suppose after a couple of queries there will be the "human verification".
Some may provide an API key,  if you paid for that key, you can use it in the query parameter to avoid those limitations. But in that case, I think, since the user rely so much on that database, he would've been using their own app. So I gave up on that idea.
But I've never thought about searching on Google. I tried these queries and got tons of unrelated information.

the number only
something like: "is this a spam number?<PHONE_NUMBER>"

What about the "should I answer" database ? Yet Another Call Blocker (https://gitlab.com/xynngh/YetAnotherCallBlocker) uses it, not sure though how the database is accessed. It's here https://gitlab.com/xynngh/YetAnotherCallBlocker_data but not obvious how the SIA db is incrementally added to that base.

@hayvan96
The SIA database is mysterious to me as well, but it's proprietary to YACB, I can't integrate it unless they made it public.

Search in apps: telegram, whatsapp and others (display list of options).  In google search the first 3 results on the first page.

Search in apps: telegram, whatsapp and others (display list of options).

Technically impossible.

In google search the first 3 results on the first page.

I don't see Google shows anything useful, can you show me a screenshot about the top three results?

@hayvan96 The SIA database is mysterious to me as well, but it's proprietary to YACB, I can't integrate it unless they made it public.

According to YACB, it's "borrowed without asking" and, as far as I can see, not updated for 3 years now. So I guess there's no official API.

As I understand, those spam numbers are contributed by the users, they cannot directly commit them to the data repository, there must be a server gathering those numbers, packing and uploading them to the data repository periodically.
So I guess the data repository is just a snapshot for downloading the initial database, the incremental numbers are downloaded from the real server, that's why it may still work fine.
Anyway, I don't think they would make it public for any rival app, that would decrease their user base and in turn decrease their crowd-sourced numbers.


ubuntu bakery vmware 12.5 scaleio extract failed

Vmware 12.5 has new 7zip 16.04 wich fails to extraxt the ubuntu tree because of path depth !
Workaround: manually extract tar files until new version of receive-labscaleio is published

switchrd to new y7za in vmware required new sitches


Preparation of tutorials in English

I would like to create a tutorial in /docs in markdown format. In the tutorial, I would like to write:

How to tune faiss for developers
Explanation of learning and inference parameters for beginners

First, I will write the tuning method of the former faiss and create a PR by ~4/19.

That helps a lot. Thank you very much!

What do you plan to use to create the manual?
I think mkdocs-material or Docusaurus. Personally, I think mkdocs is better because you only have to add one file, so it's less messy in the repository.
@nadare881


[Learning CKAD] In ReplicaSet question cause ambiguity with delete a pod & check fails

There is a question which specifies to delete a pod out of the 4 which are created using replicaset.
If someone deletes a pod by scaling down the replicaset, a pod is actually getting deleted and the "Check" passes the question.
What causes the problem is the next question asks how many pods are present (which is 3), but expect the answer 4.
May be hint with the question is to make sure to ONLY delete pods.

PS: No way to assign labels - seems like don't have auth to do it.

Hi @robin-carry
We have a community forum for this sort of question. Please raise at https://community.kodekloud.com/
Thanks

This is 2yrs old question (even I forgot about it) + I got CKAD/CKA... and other certificates long back.
Thank you so much for the content.

No worries @robin-carry
I was tasked with closing down all the old issues following the repo update :-)


[Feature]:  Add integrations support in the operator

Checklist

[X] I've searched for similar issues and couldn't find anything matching
[X] I've discussed this feature request in the K8sGPT Slack and got positive feedback

Is this feature request related to a problem?
No
Problem Description
Feature parity with K8sGPT current implementation:
More specifically, the operator at the moment doesn't support the integrations feature (trivy).
Recently we introduced in k8sgpt cli a no-install subfeature in the integrations which effectively won't install Trivy.
Solution Description
K8sGPT CR will have a new integrations section to support this feature which will not install integrations but assume they are already installed
e.g trivy operator is already deployed to a K8s cluster that K8sGPT operator is running
example CR:
...
integrations:
  trivy:
    enabled: true
...

Benefits
Feature parity with K8sGPT and ability to extend integrations support in the future
Potential Drawbacks
No response
Additional Information
No response

@arbreezy - please assign me on this.

please assign me

This is dependent on the configuration API work
@eyal-sofer how are you intending to do this?

If no one has started solving it yet, I will finish it by next Monday.

I  find three ways to Implement this：

need some changes in project k8sgpt-ai/k8sgpt add env or config to install  trivy when server start.
we can install helm chart in k8sgpt-operator directly and set active_filters in server's config file in a init container.
Do it by grpc client , add new method active filter.

hey @wujunwei ,
firstly, I can assign it to you if you want and thanks for showing interest in the project !
re: 2. I believe is better to not install anything directly to the cluster from the operator and assume trivy is already running, maybe a check if operator can find trivy's workload in a cluster.
Installing or not,  integration charts like trivy, GRPC new methods will be required to interact with K8sGPT integrations handler

We are very close to this being possible now configuration API has been merged in
https://github.com/k8sgpt-ai/k8sgpt-operator/pull/201

This is a WIP https://github.com/k8sgpt-ai/k8sgpt-operator/pull/225


Add Dockerfile

This pull request adds a Dockerfile to the repository to make deployment with Docker easier.

Thank you for your contribution!

No problem :D

I would also like to ask you to add docker to the main README as a runnable option

Will do.

No problem. 😎


Sails res.redirect get ?? when the url param contains chinese char.

Issue Describe
Hello, When I used sails res.redirect api，get some trouble.
My Code:
res.redirect('/audit?status=3000&step=/info&failreason=%E9%A9%BE%E9%BE%84%E4%B8%8D%E7%AC%A6%E5%90%88%E8%A6%81%E6%B1%82%EF%BC%88%E5%AE%9E%E9%99%85%E9%A9%BE%E9%BE%841%E5%B9%B4%E4%BB%A5%E4%B8%8A%EF%BC%89%EF%BC%9B');

But，the unexpected result in chrome：

the url param contains chinese word，It's ok when changed to normal character (a-Z)
My VERSION INFO
Sails version: v0.11.2
Node version: v8.9.0
NPM version: 5.6.0
Chrome version: 66.0.3359.139
Look forward to your reply，Thx!

Hey @freestyle21, thanks for posting this.  Just a hunch, but is there any chance the issue is related to the /?
e.g. what if you tried wrapping that piece in encodeURIComponent()?
res.redirect(
'/audit'+
'?status='+encodeURIComponent(3000)+
'&step='+encodeURIComponent('/info')+
'&failreason='+
'%E9%A9%BE%E9%BE%84%E4%B8%8D%E7%AC%A6%E5%90%88%E8%A6%81%E6%B1%82%EF%BC%88%E5%AE%9E%E9%99%85%E9%A9%BE%E9%BE%841%E5%B9%B4%E4%BB%A5%E4%B8%8A%EF%BC%89%EF%BC%9B'
);


Update preferences-outlook.md

Added 3 new pref keys

Duplicate of https://github.com/MicrosoftDocs/OfficeDocs-DeployOffice-pr/pull/3693


Porting: Improve "tl;dr" section

Task Description
Page: https://github.com/solettaproject/soletta/wiki/Porting#tldr
Before the bullet list add a brief text explaining what the list is about.
Consider renaming it to "Quick Overview" if such renaming makes sense.

[ ] Add brief text to "tl;dr" section
[ ] Consider renaming the "td;dr" section to "Quick Overview" or something like that if such renaming makes sense
[ ] If section is renamed make sure that no link is left broken

Dependencies
None

I won't rename the section, tl;dr is fine imo but just below it's explained it's about a quick overview and explain what is the list about.
done


#1207 Expose sigma in ExtendedStatsAggregation

This PR adds the sigma field to ExtendedStatsAggregation.
Addresses #1207

I prefer to get an error if you use invalid values of sigma. It tells you directly that you've done something wrong without hiding it.


Create pathutils package

Move homeDir and expandHome functions to pathutils package for reuse.
Signed-off-by: wwwil<EMAIL_ADDRESS>

/lgtm


PopArt implementation?

Hi there!
I love the paper "Multi-Task Deep Reinforcement Learning with PopArt" which brings huge improvement on the base of IMPALA!
Do you have any open-sourced implementation of PopArt variant of IMPALA? Or any suggested repo for this? Thanks!

Hi, unfortunately we haven't open sourced a version of it at this point.
Best, Lasse

I open-sourced an implementation of IMPALA + PopArt a couple of years ago: https://github.com/steffenvan/IMPALA-PopArt that tries to follow the same structure as the code in this repository (with minimal changes to the structure). It's not really in a super readable state, but I think it should give an idea of how it can be done. However, since it only supports Python 2.7, I would recommend looking into this more updated version: https://github.com/aluscher/torchbeastpopart that uses Facebook's PyTorch implementation of IMPALA that integrates the PopArt normalisation with it.


define your own blocks (feature request)

I think it would be really nice if you could define your own blocks by combining a bunch of blocks together, so that you can reuse that piece of code. In javascript this would then be a function. So it would be really nice if you can also pass arguments into this block/function.

Duplicate of https://github.com/Microsoft/pxt/issues/1249


move state and national summary json into queue

There are issues with the order in which things are located that has been causing errors, see https://github.com/USGS-VIZLAB/water-use-15/issues/268#issuecomment-385294530. Since these files are small and won't significantly impact the initial load time, I moved them into the overall queue and then rearranged the queue from what is was in #285 so that the if-else statement didn't repeat file paths. I no longer see the error mentioned in #268.
This also required me to add national_pie and rank_states_utils as resources to the main fig since loadPie and rankEm are called in fillMap. I think we were lucking out that they were inside d3.json calls which allowed enough time for those functions to become available when their resources were loaded later down the page.

I'm going to merge this, check out dev, then deploy to beta. I will leave #268 open until others can test it out, too.


Timeout while waiting for machine to shutdown

time ./deploy_packer_box.sh sfoger.json
rm: kali_rolling_virtualbox.box: No such file or directory
virtualbox-iso output will be in this color.
==> virtualbox-iso: Downloading or copying Guest additions
virtualbox-iso: Downloading or copying: file:///Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
==> virtualbox-iso: Downloading or copying ISO
virtualbox-iso: Downloading or copying: http://cdimage.kali.org/kali-2017.1/kali-linux-2017.1-amd64.iso
==> virtualbox-iso: Starting HTTP server on port 8290
==> virtualbox-iso: Creating virtual machine...
==> virtualbox-iso: Creating hard drive...
==> virtualbox-iso: Creating forwarded port mapping for communicator (SSH, WinRM, etc) (host port 2449)
==> virtualbox-iso: Executing custom VBoxManage commands...
virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1498425472 --memory 1024
virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1498425472 --cpus 1
==> virtualbox-iso: Starting the virtual machine...
==> virtualbox-iso: Waiting 3s for boot...
==> virtualbox-iso: Typing the boot command...
==> virtualbox-iso: Waiting for SSH to become available...
==> virtualbox-iso: Connected to SSH!
==> virtualbox-iso: Uploading VirtualBox version info (5.1.22)
==> virtualbox-iso: Uploading VirtualBox guest additions ISO...
==> virtualbox-iso: Pausing 9s before the next provisioner...
==> virtualbox-iso: Provisioning with shell script: /var/folders/90/k4mvndls3yn9018nzgr9w8c00000gn/T/packer-shell611398491
virtualbox-iso: running provisioner
==> virtualbox-iso: Gracefully halting virtual machine...
virtualbox-iso:
virtualbox-iso: We trust you have received the usual lecture from the local System
virtualbox-iso: Administrator. It usually boils down to these three things:
virtualbox-iso:
virtualbox-iso: #1) Respect the privacy of others.
virtualbox-iso: #2) Think before you type.
virtualbox-iso: #3) With great power comes great responsibility.
virtualbox-iso:
virtualbox-iso: sudo: no tty present and no askpass program specified
==> virtualbox-iso: Timeout while waiting for machine to shut down.
==> virtualbox-iso: Unregistering and deleting virtual machine...
==> virtualbox-iso: Deleting output directory...
Build 'virtualbox-iso' errored: Timeout while waiting for machine to shut down.
==> Some builds didn't complete successfully and had errors:
--> virtualbox-iso: Timeout while waiting for machine to shut down.
==> Builds finished but no artifacts were created.
real	17m23.774s
user	0m46.331s
sys	0m30.154s
The only difference with my sfoger.json packer definition is that I changed the provisioner to echo some text instead of running the script to update sudoers since that script is failing for me right now.

https://github.com/ninp0/csi/issues/5 is a direct cause of this failure. Without password-less sudo for vagrant in place, the shutdown command will not execute.

This has been fixed and is working now: https://github.com/ninp0/csi/blob/master/packer/http/kali_rolling_preseed.cfg#L76


Improved documentation about Nomad ACL minimum rights

What does this PR do?
Add missing information in documetation about what richt traefic needs in a nomad ACL setup
Motivation
Not having this makes the documetation very incompleet and the fact its documeted in a issue is ver very dumb
More

[X] Added/updated documentation

Additional Notes

Thanks for opening this PR. Just one minor suggestion:

Processed it its not my main lanaguage so any sugetsion is welcome.


Validation and performance benchmarks.

We should incorporate the following validation tests which we can also use for performance benchmarking.

[ ] Free convection (check heat budget, mixed layer depth, and turbulent kinetic energy)
[ ] Rayleigh–Bénard convection (compare Nusselt and Péclet numbers)
[x] Deep convection (regression test)
[x] Rising thermal bubble?
[ ] Stress-driven flow (not clear which experiment we run)

Deep convection and rising thermal bubble regression tests (or golden master tests) have been implemented in PR #140.
@SandreOuza Do you have time to work on the Rayleigh–Bénard convection and free convection tests? I think you understand the physics that need to be tested better than anyone.

I can work on some of these simulations on Friday

That'll be awesome, we can work on them together.

Some ideas for testing free convection:

[ ] Check to see if the volume temperature drifts linearly as expected.

I would also experiment with the 'molecular' diffusivity/viscosities. What happens when they are all set to the same number? Some mixing up of the constants could cause a bug.
Changing the reference density might be a good sanity check. It drops out of the incompressible Navier-Stokes equations so it's value shouldn't change results (ie it could be 1 or it could be κh)...

Closing this as we have decided to go with the verification experiments outlined in https://github.com/climate-machine/Oceananigans.jl/issues/346.


[KYUUBI #2156][FOLLOWUP] Fix configuration format in document

Why are the changes needed?

fix #2157 cofiguration format error
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

If possible, when you touch the document, would you please build the document in local and paste the previous screenshot in your PR description?

Codecov Report

Merging #2165 (9c89c08) into master (449c426) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #2165   +/-   ##
=========================================
  Coverage     61.31%   61.31%
  Complexity      117      117
=========================================
  Files           321      321
  Lines         15515    15515
  Branches       1992     1992
=========================================
  Hits           9513     9513
  Misses         5192     5192
  Partials        810      810

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 449c426...9c89c08. Read the comment docs.

the previous page

after changed

Thanks, merging master/branch-1.5


BND support for annotation

Includes dev_bnd.
Remark: given an alignment involving a read R, a path P, and a call C that might occur multiple times in P, length_of_evaluated_region is currently set to the max over all occurrences of C in P, and identity is set to the max over all occurrences of C in P. This makes length_of_evaluated_region incomparable to the values in the old implementation (it is generally equal or bigger, but it can also be smaller).

The branch now includes a program for pre-processing a VCF to transform large events into BNDs.


Bundle size optimization

Since Moment.js has entered a maintenance only status and dayjs offers a similar API like momentjs but a much smaller bundle, It would be a nice idea for this project to switch from momentjs to dayjs.
And webpack configuration could be updated to split out and share common vendors like Vue and Lodash between various entries.

Resolved in f84afa40.


optim(davide): r2d2-optimization

Description
Related Issue
TODO
Check List

[ ] merge the latest version source branch/repo, and resolve all the conflicts
[ ] pass style check
[ ] pass all the tests

This PR will be continued in future version


linux-mainline: Update base image and fix build failures

[   DEBUG] toltec.builder: build(): In file included from /opt/x-tools/arm-remarkable-linux-gnueabihf/arm-remarkable-linux-gnueabihf/sysroot/usr/include/features.h:489,
[   DEBUG] toltec.builder: build(): from /opt/x-tools/arm-remarkable-linux-gnueabihf/arm-remarkable-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33,
[   DEBUG] toltec.builder: build(): from /opt/x-tools/arm-remarkable-linux-gnueabihf/arm-remarkable-linux-gnueabihf/sysroot/usr/include/stdio.h:27,
[   DEBUG] toltec.builder: build(): from certs/extract-cert.c:15:
[   DEBUG] toltec.builder: build(): /opt/x-tools/arm-remarkable-linux-gnueabihf/arm-remarkable-linux-gnueabihf/sysroot/usr/include/gnu/stubs.h:7:11: fatal error: gnu/stubs-soft.h: No such file or directory
[   DEBUG] toltec.builder: build(): 7 | # include <gnu/stubs-soft.h>
[   DEBUG] toltec.builder: build(): |           ^~~~~~~~~~~~~~~~~~
[   DEBUG] toltec.builder: build(): compilation terminated.

This might be due to trying to use the system pkgconfig instead of the toolchain version.

Fixed! (Hopefully)

Anything else for me to do here?

Just the standard testing of the package build in the pipeline on 2.15 and 3.3.2 is required. I don't have capacity right now to do any testing.

So one issue on 3.3.2 is that this kernel doesn't provide uinput, which breaks compatibility with the current version of oxide as well as keyd (#744).
@alistair23 you have two options here to resolve this:

Update the kernel to include uinput
Mark this package as conflicting with oxide, and we update #744 to indicate it conflicts with linux-mainline


Allow custom header

I get an error when using a custom header
Request header field my-custom-header is not allowed by Access-Control-Allow-Headers in preflight response.

I already add corsHeaders() to the middleware

Did you pass in the custom header in the corsHeaders function?
final headers = {
  'my-custom-header': 'my-value'
 };
corsHeaders(headers: headers);

I tried. but the my-value is always different. So how will that work?

This is a bug. Will update with a fix.

my-value is always set by the mobile client. so it will always be different.

I've pushed an update with the fix

NICE!

Thanks for your quick support


Upgrade maven-site-plugin 3.12.0 -> 3.12.1

This PR contains the following updates:

Package
Type
Update
Change

maven-site-plugin
build
patch
3.12.0 -> 3.12.1

[ ] If you want to rebase/retry this PR, check this box

Warning
Renovate's suggested commit message is being replaced with improved initial commits to enable automerging. As a side effect, these suggested commit messages might have changed. Consider comparing the initial commit message and this message to determine the most suitable one. Please leave feedback in #sys-renovate.

Suggested commit message:
Upgrade maven-site-plugin 3.12.0 -> 3.12.1

See https://github.com/apache/maven-site-plugin/compare/maven-site-plugin-3.12.0...maven-site-plugin-3.12.1

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


GET /v1/_q returns data with 405 Not Allowed

If I run bindle-server with the following parameters:
><> bindle-server --unauthenticated

Then try to curl the endpoint, I receive a 405 Not Allowed:
><> curl http://localhost:8080/v1/_q -I
HTTP/1.1 405 Method Not Allowed
content-type: text/plain; charset=utf-8
content-length: 23
date: Thu, 07 Apr 2022 17:04:18 GMT

...But I still get data back from the server.
><> curl -s http://localhost:8080/v1/_q | tail -n 2
role = "host"
at =<PHONE_NUMBER>

Is this unintentional behaviour?

Yeah, definitely a bug


added open source flutter app 'shooting-sports-analyst'

Fixes #67
@ashitaprasad please review and merge this PR

@ashitaprasad please add 'level1' and 'gssoc' labels
Thank you!


dockerTools: add streaming image support, improve speed and reduce IO

Motivation for this change
In the context of client work, we (@utdemir and myself) have been producing large (multi-GB) docker images with Nix. These images work nicely once produced, with the obvious limitations of unwieldy images, but the machinery for producing them via Nix is costly in a couple of senses:

A great deal of IO is performed in the course of building images, since intermediate tar files are created for each layer, then a final tar created for the full image.
Docker images are often immediately loaded into a docker daemon or copied around with tools like skopeo, but dockerTools always realises them into the Nix store, where they will be included in binary caches and generally take up lots of disk space, particularly in a CI environment.

We set about addressing both of these costs, by using the following scheme:

Firstly, we rewrite the Nix + bash code for producing a docker image tarball as a Python program which avoids creating intermediate files.
Next, we provide a streamLayeredImage function, analogous to buildLayeredImage, but which produce as their outputs scripts which - when run - write the corresponding docker image to stdout, streaming directly from the underlying layer content store paths. For many users, this will be all they need.
buildLayeredImage uses the new streamLayeredImage machinery to realise the image tarballs into the Nix store as before, for those users who still want this functionality.

Our results have been encouraging locally. Given the following example large image definition:
{nixpkgs}:
let
  pkgs = import nixpkgs { };
in
pkgs.dockerTools.buildLayeredImage {
  name = "test";
  maxLayers = 4;
  tag = "latest";
  contents = [
    (pkgs.writeScriptBin "test" "echo 1212")
    pkgs.ghc
    pkgs.qt4
    pkgs.qemu
    pkgs.clang
  ];
  config = {
    Cmd = "ghci";
  };
}

building after these changes takes 1m33s vs 5m58s with the previous code. Additionally, with the streamLayeredImage function, the same image can be piped to docker load in 2 minutes 30 seconds.
We're presenting these changes for feedback on API and approach. Some further notes:

These changes pass the existing nixos tests.
Other offline testing in our local project environment has taken place.
We target a newer Docker image standard (1.2) than the previous code, and therefore do not need to use tarsum. We believe that the newer standard - which has been supported since Docker 1.12 - should be fine for all reasonable real-world uses.
There was previously the ability to override ownership of files in images to a non-root user, but this does not seem necessary or desirable, and we have not provided that option.
If additional documentation is needed as part of this, we'd be happy to provide it if directed.
We have yet to add some separate tests for the streaming API: the code is covered by existing tests, but specific test cases may be helpful to prevent regressions later.
buildImage does not use buildLayeredImage to build a one-layered image, since previously those two functions had parallel implementations. We have not changed this, but there is an opportunity to do so.

Thanks!
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

I guess there aren't really any user-facing changes are there? Which means there is no documentation that needs to be updated, unless there is documentation with implementation details.

I guess there aren't really any user-facing changes are there?

buildLayeredImage is not supposed to have any user-facing change, except the uid and gid omission Steve mentioned above (which are already not covered by the existing docs). However, it might be useful to mention the new streamLayeredImage function alongside with commands like:
$(nix-build) | docker load
$(nix-build) | gzip --fast | skopeo --insecure-policy copy docker-archive:/dev/stdin docker://some_docker_registry

since they avoid realizing the image tarball in the Nix store, which is desirable in some cases.

[…] However, it might be useful to mention the new streamLayeredImage function alongside with commands like:
$(nix-build) | docker load
$(nix-build) | gzip --fast | skopeo copy docker-archive:/dev/stdin docker://some_docker_registry/myimage:tag

since they avoid realizing the image tarball in the Nix store, which is desirable in some cases.

Ack :+1: That'd be really nice :-)

Thank you for the suggestions @gilligan and @flokli. We updated the PR accordingly (and also did a rebase from master).
Let us know if there is anything else we should do to get this in a mergeable state, or if there is any other suggestions or clarifications I can make.

I think we forgot to tag @grahamc in to take a look at this too...

This likely also closes #89075, #75810 and #75888.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/204

This is improving the current situation, and if there's any fallout, it can be fixed. :+1:

Found some weird regression:
$ cat ./test.nix
{ pkgs }:
let
  testFile = pkgs.writeText "test.conf" ''
    some data
  '';
  test = pkgs.writeShellScriptBin "test" ''
    set -e

    ${pkgs.coreutils}/bin/cat ${testFile}
    ${pkgs.coreutils}/bin/ls -l ${testFile}
    ${pkgs.utillinux}/bin/hexdump ${testFile}
  '';
in
pkgs.dockerTools.buildLayeredImage {
  name = "test";
  tag = "latest";
  contents = test;
  config = {
    Cmd = [ "/bin/test" ];
  };
}
$ docker load -i $(nix-build -E 'with import <nixpkgs> { }; callPackage ./test.nix { }')
$ docker run --rm -it test:latest
-r--r--r-- 1 0 0 10 Jan  1  1970 /nix/store/xgbvc06x2qqw4pxysx1s50rc4s2r40ym-test.conf
0000000 0000 0000 0000 0000 0000
000000a

Without this change:
$ docker run --rm -it test:latest
some data
-r--r--r-- 1 0 0 10 Jan  1  1970 /nix/store/y4jabd8y6cgy2q8zj23q65isjglnfp2s-test.conf
0000000 6f73 656d 6420 7461 0a61
000000a

@misuzu Sorry about that, I think I know the reason; the code currently assumes all the top level store paths are directories, which is obviously not always the case. I'll fix it this weekend.

@misuzu I opened https://github.com/NixOS/nixpkgs/pull/92255 which should fix your issue. Could you try that one please?

@utdemir any idea how to make the script produced by streamLayeredImage work on macOS? I use nix-community/linuxkit-nix as remote builder to build docker images on macOS by passing { system = "x86_64-linux";  } to nixpkgs  (as it's done here, but when using streamLayeredImage the shebangs of the created python script, and the bash script wrapping it, point at linux versions of python/bash executable so use directly on macOS. Are you aware of any trick I could use to make this work?

Hi @adrian-gierakowski -- co-author of the change here. I'm a Mac guy, and I can't get linuxkit to work for me on Catalina, so I'm working on getting access to a Linux build machine for testing purposes.
Here's my take on what you're seeing: in the buildImage world, the image itself is assembled entirely inside the Linux builder. What you (quite reasonably) want in your use case is for the streamLayeredImage result script to run on the darwin host system, but for the store items which form the contents of the image to be built by the Linux builder. So I feel like something like this should work:
let
  linuxPkgs = import <nixpkgs> {  system = "x86_64-linux"; };
  hostPkgs = import <nixpkgs> {};
in
hostPkgs.dockerTools.streamLayeredImage {
  name = "hello";
  contents = [ linuxPkgs.hello ];
  config = {
    Cmd = [ "${linuxPkgs.hello}/bin/hello" ];
  };
}

@purcell That worked, thanks! I did have to jump through a bunch of hoops though to make it work as a few things turned out to be broken on MacOS. All of the fixes below are needed to create an image on MacOS with the new implementation:

#93757
#93585
#93601

And somehow unrelated, /nix/store permissions on the image need a fix to be able to run the image as a non root user: #93811

Another regression is that extraCommands no longer lets you create writable directories inside the image. This is one of the proposed scenarios when it was introduced here https://github.com/NixOS/nixpkgs/pull/52870
Having the uid and gid functionality would also be nice but I can understand that might cause some confusion and a better API would probably be better.

Another regression is that extraCommands no longer lets you create writable directories inside the image.

That is interesting. As far as I can see extraComands does not change the permissions. @thatsmydoing, do you have an example I can use to reproduce your issue?

Running the following:
{ pkgs }:

with pkgs;

dockerTools.buildLayeredImage {
  name = "test";
  tag = "latest";
  contents = [ busybox ];
  extraCommands = ''
    mkdir -m 1777 tmp
  '';
  config.Cmd = [ "stat" "/tmp" ];
}

results in
  File: /tmp
  Size: 4096            Blocks: 8          IO Block: 4096   directory
Device: 24h/36d Inode: 1720124     Links: 2
Access: (0555/dr-xr-xr-x)  Uid: (    0/ UNKNOWN)   Gid: (    0/ UNKNOWN)
Access: 2020-08-06 09:52:00.000000000
Modify: 1970-01-01 00:00:01.000000000
Change: 2020-08-06 09:52:00.000000000

The main difference is that previously, the layer tar is made as part of the runCommand so permissions can be preserved as they were. Now that it's only built as a store path, the permissions get reset by nix and then the layer tar is made.

Oh, right. Thanks @thatsmydoing . I'll fix it tomorrow, probably by making the customisation layer derivation create a tar archive instead of a directory.

@purcell @grahamc
Apologies for digging up a closed PR. I wasn't quite sure where to ask the question.
I'm looking to load some nix images into Bazel, but if the intermediate layers are compressed, the load is faster.
https://discourse.nixos.org/t/dockertools-buildlayeredimage-possible-to-compress-layers/14417/5
From what I can gather from the awful specs, is that I'm looking for OCI compatible images that are:
application/vnd.oci.image.layer.v1.tar+gzip
From what I can ascertain, the default for Docker is to export images with compressed layers. It seems to be the default, but it doesn't seem to be required or recommended from what I can see.
Is there a reason why the dockerTools uses uncompressed intermediate layers or was this only easier to implement or not seen as necessary / useful? If I was to find time to create a patch, would it be accepted and would you help point me in the right direction? Or should it rather be a different function to streamLayeredImage / buildLayeredImage? Or is my only option to try and perform surgery on the image outside dockerTools using my own function to hack it to work for my needs?

Hi @groodt,

From what I can gather from the awful specs, is that I'm looking for OCI compatible images that are: application/vnd.oci.image.layer.v1.tar+gzip

The standard streamLayeredImage is aiming to implement is Docker Image Specification v1.2 , and as far as I can see it does not mention being able to compress the layers.
I am not super familiar with OCI compatible images, so I don't know if they are compatible/similar to what is implemented; or even possible to implement this with our unusual appraoch.

Is there a reason why the dockerTools uses uncompressed intermediate layers or was this only easier to implement or not seen as necessary / useful

The reason I can think of is that, streamLayeredImage works by traversing the store paths twice, initially just to calculate the file sizes of the layers, and again to actually stream it as a tarball. This was the only way to stream the tarball without writing to disk; since tar file format puts the file size before the file contents, and that forces us to calculate the layer size before emitting the layer itself. If we were to compress the layers, I assume that'd require us to do the compression twice, and I'm afraid that'd be too wasteful.

If I was to find time to create a patch, would it be accepted and would you help point me in the right direction?

If it ends up as a performance gain (smaller images, faster image creation etc.), I don't see why it wouldn't be accepted. As for the direction, it's pretty much modifying stream_layered_image.py to emit a tarball according to the standard. I can't say more because I just don't know the OCI standard, but I'd be happy to help if you have any questions with the existing script/approach.

Or is my only option to try and perform surgery on the image outside dockerTools using my own function to hack it to work for my needs?

To be honest, that sounds like the easiest. Likely something like skopeo can do the trick. If you're keen to contribute and think that is useful, maybe we should even have it as part of dockerTools in some form.

We've written our own image building tools that generate OCI here https://github.com/iknow/nix-utils/tree/master/oci if you're interested. The paradigm works a bit differently from dockerTools though, we eschew runAsRoot entirely and everything has to be specified declaratively. And since it's working with raw layers directly, there's a few footguns.
That said, based on my experience, it probably wouldn't be too hard to port dockerTools to build OCI instead and there are some advantages. Layer-wise, OCI is pretty much just an unpacked docker image so there's no need to do multiple passes as you don't have to put the layer tars into the main docker image tar. That should amount to less building done overall (and less space usage since you can share layers across images).

Isn't there already a separate ociTools too? @utdemir and I didn't work on that, so at this stage I'm not sure how much overlap there is between it and dockerTools.

Thanks for the replies everyone. There's a lot for me to look at.
It does appear that OCI is the best-bet for longer-term compatibility and that Docker is now using https://github.com/distribution/distribution/blob/main/docs/spec/manifest-v2-2.md
which is very similar to OCI from what I can gather
https://github.com/opencontainers/image-spec/blob/main/media-types.md#compatibility-matrix
@purcell I think ociTools seems like it isn't really solving the same problem. It seems to build quite a minimal single layer image. It also seems to be the older format and not schemaVersion 2.

I think ociTools seems like it isn't really solving the same problem. It seems to build quite a minimal single layer image. It also seems to be the older format and not schemaVersion 2.

Yeah, that could well be. Like I say, we overhauled dockerTools, but it was only just after ociTools was added IIRC.


Include unified and remark in allowed dependencies

I'd like to add some types for Remark plugins, but doing so without including these types seems flaky.

@LukeCarrier do you already have a PR open on DefinitelyTyped?

@andrewbranch not yet, I was trying to determine how best to test the typings locally as it's the first time I've contributed to DT. I'll follow up this weekend, apologies for the delay!

@andrewbranch apologies for the delay; I've raised the PR against DT: DefinitelyTyped/DefinitelyTyped#49069

Thanks @andrewbranch!


#testDateTime fails on Dolphin

The #testDateTime test fails on Dolphin due to different time precision between GemStone/Pharo and Dolphin.
The test should take this into account.

Dolphin is no longer supported. Closing as a result.


Add package.json to git repo

It helps to port npm modules to native OS packages.
see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840170

file added, sorry for the delay


[RESOLVED] High ICMP ping response time

Problem started at 13:06:33 on 2023.05.05
Problem name: High ICMP ping response time
Host: S100-Santiago
Severity: Warning
Operational data: Value: 1s 119ms
Original problem ID: 20354
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23518&eventid=20354

Problem has been resolved in 6m 0s at 13:12:33 on 2023.05.05
Problem name: High ICMP ping response time
Host: S100-Santiago
Severity: Warning
Original problem ID: 20354


Include a link to Elm Search

Elm Search is useful (there are questions asked on Slack that can be answered by it), but it is not currently very discoverable (I think I found out about it on Slack from its creator as I was asking after such a tool).

I believe I've asked this elsewhere, but how is it loading all the information it needs? From package.elm-lang.org servers directly? Or is something crawling and grabbing the info? If so, how often?

There is a target in the Makefile to build the index wich gets served via the gh-pages feature. all-packages.json gets loaded on every build, and then only the documentation.json files of new and updated packages, sow the load for package.elm-lang.org is minimal. New builds are triggered manually at the moment, at most a few times a day. This will be done automatically on a CI in the future.

Thanks for the technical details, that seems totally fine!
Should be added in the catalog sidebar in a different way.


Potential formula confusion

The ion-ion potential in K.Michaelian paper is:

and the one found in the Compphys minmax is:

and in the paper, the potential formula is referenced to:

For this homework, which formula should we follow?

I have explained it in group5.
https://github.com/ubsuny/23-Homework7G5/issues/28
Hope this helps.


Fixes for Debugger when attaching to exited process

#912
Bug
We can currently crash or hang when attaching to a node process that exits quickly.
Fixes
This change adds a few fixes:

In Send, don't treat RPC failure hresults as true failures that should throw exceptions.
Fix infinite hang by timing out correctly.
Handle  InvalidOperationException when trying to access TcpClient.Stream

closes #912

:+1: but let's also file an issue to revisit so that we don't have to debug Aggregate exceptions


Validation cleanup

No new features. Fix tests, move stuff around, clean dependencies, add test coverage.

Changes Unknown when pulling c2f3fdf7e467738a5cb517a837504a72fdcc2ef1 on validation-cleanup into ** on master**.


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration

new changes


Features/key TTL

Addresses #165

@slorello89
Thanks for the comments!
Regarding section 2, what's the alternative?
Because in the JSON.SET and HSET commands I did not see that there is a built-in option of inserting a TTL in the command, which requires doing it in two commands.
I didn't quite understand what you meant when you said "those need to be run in either a batch or transaction".
In the meantime I'm working on the rest of the comments..


Adding Vocab to handle "Ignition config" term

Adding Vocab to handle "Ignition config" term.
Fixes https://github.com/redhat-documentation/vale-at-red-hat/issues/272

Closing. This is not the correct way to handle this.


Allow arrays as constant values in generated constants

const FOO = array('bar'=>'foobar');

This is a valid const, but can't be generated

@basz can you add a test case for it?

@Ocramius update by author

@basz merged, thanks!
master: zendframework/zend-code@8856a3286031e0623c43129b40407ceac90555ee
develop: zendframework/zend-code@4606aad2bd0c1ce3223d4b30c51e75f54c5d99c0


[Navigation Material] Prevent closing Bottom Sheet

I'm using a migrated version of ModalBottomSheetLayout for material3.
Everything works fine so far. But there is a use-case where I want to prevent the user from closing the BottomSheet.
Description
I have a form in my BottomSheet.

User fills out that form
User forgets to click save
User either presses back from phone, clicks into the grey area, clicks close icon inside BottomSheet or lastly drags the BottomSheet down.
The BottomSheet closes without data being saved.

Interrupting back press and _clicking the close icon _ is easy but the other two ways to close the BottomSheet are not so easy to solve. I would like to display a Dialog to the user which asks him if he want to discard the data. If he presses yes, the BottomSheet can close, otherwise it should stay open (or reopen if the user dragged it down).
Is there a way to achieve my use-case without modifying the internal code too much?

I came here to post exactly this issue!

I have several use cases where I want to prevent the bottom sheet from being closed (like displaying progress indicator for a pending network action, or cancelling form like above)
I have a use case where I want it to be dismissed but control the navigation as this happens

Is there an update if there is a workaround or will be worked on any time soon?

ping

wtf, why did it get closed?

I guess the bot is buggy. Anyway, working on more bottom sheet stuff right now so still a priority issue for me

Any news on this?

Might need to make a new issue and link to this one? This process is frustrating to say the least 😅


TypeError: Can't instantiate abstract class CommunitySummaryKnowledgeGraph with abstract method similar_search

Search before asking

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

Operating system information
Linux
Python version information

=3.11

DB-GPT version
main
Related scenes

[ ] Chat Data
[ ] Chat Excel
[ ] Chat DB
[X] Chat Knowledge
[ ] Model Management
[ ] Dashboard
[ ] Plugins

Installation Information

[X] Installation From Source

[ ] Docker Installation

[ ] Docker Compose Installation

[ ] Cluster Installation

[ ] AutoDL Image

[ ] Other

Device information
gpu
Models information
qwen2.5-7B-Instruct
What happened
Traceback (most recent call last):
File "/home/user/Code/zyh/DB-GPT/dbgpt/app/knowledge/api.py", line 425, in batch_document_sync
doc_ids = await service.sync_document(requests=request)
File "/home/user/Code/zyh/DB-GPT/dbgpt/serve/rag/service/service.py", line 243, in sync_document
await self._sync_knowledge_document(space_id, doc, chunk_parameters)
File "/home/user/Code/zyh/DB-GPT/dbgpt/serve/rag/service/service.py", line 512, in _sync_knowledge_document
vector_store_connector = VectorStoreConnector(
File "/home/user/Code/zyh/DB-GPT/dbgpt/serve/rag/connector.py", line 127, in init
raise e
File "/home/user/Code/zyh/DB-GPT/dbgpt/serve/rag/connector.py", line 123, in init
client = self.connector_class(config)
TypeError: Can't instantiate abstract class CommunitySummaryKnowledgeGraph with abstract method similar_search
What you expected to happen
fix the error
How to reproduce
.
Additional context
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

what's your dbgpt version?

Please the latest version v0.6.1

hi @yugezheng Please use the latest version v0.6.1

I use git command lastest for source code deployment.But when I created knowledge graph,the error occurred.I don't know whether I don't create some py files by myself or some project I don't build.

was closed by the author, it was resolved.

yeah，I had solved the issue,thank you!


Should create/update gitignore

Packages copied in should be added to /packages/.gitignore file. @jperl

Good idea. Will do.


Windows 10 starting desktop application error

Hello,
I use FlaUI version 2.0.0-alpha6 to test WinForms application. Everything was fine until I started testing this application on Windows 10. I start app in this way:

The error I get is:

When I check the process id of started application in commandline it is different. First I faced problem testing calc.exe but found out that win32calc.exe works fine. I tried app.GetAllTopLevelWindows(automation)[0], app.GetMainWindow(automation) but it doesn't work as started application has exited.
What is the correct way to start and attach to WinForms application using FlaUI under Win10? Thanks in advance for help.

Is it a WinForms Application or a Windows Store Application? It might be that the exe you are starting is just some kind of shim which in the end starts the real executable and closes the shim. That is the same with calc.exe on windows server as you wrote above. Check if multiple processes are started when you start your application.


timed_draw example not clearing background

The timed_draw example doesn't work as it seems to be intended, the drawn texture remains after the 3 second counter (though it doesn't get redrawn, and gets squished if I resize the window)
Running on Wayland/Sway

Duplicate of #34, fix coming soon.


Fix build errors in case-sensitive filesystems

This fixes errors when building the site/ folder because of case-sensitive matching (issue #9 )
Note: I haven't been able to test these changes on a Mac.

I'm running a Mac - just tested and works fine. Thanks!


Scope out how hudi can be integrated underneath Gobblin..

Gobblin-385 is about first adding Spark support for Gobblin

Moved to https://issues.apache.org/jira/browse/HUDI-39


Use  typeKey for relationship instead of attribute name for build fixture relationship

When building a fixture with relationships, FactoryGuy.build() is called with the relationship attribute name rather than that attributes model type.
It currently works only when relationship attributes have the same name as the model type they're related to.
So this works:
User = DS.Model.extend({
company:     DS.belongsTo('company',)
});
But this doesn't:
User = DS.Model.extend({
default_company:     DS.belongsTo('company',)
});
Build tries to find a factory named 'default_company' rather than the 'company' factory.

Thanks Christina for fixing that up. Can't believe I did not see that before. If you want me to make new version that has this change let me know and I will bump to v0.9.11

Thanks. Up to you if you want to bump the version. We can point to the SHA until there's a new version.

@cristinawithout .. version 0.9.11 was released a few days ago .. fyi
also, I noticed that you have made the ember-cli-factory-guy  package an ember-addon.
2 questions.
How ( when using as add on ) .. do you update the version of ember-data-factory-guy?
I it better to keep your project or make mine into an addon ( basically merging what your project has into mine )
I was just about to embark on making mine into an addon when I noticed you already did that. Anyway .. alittle confused since there are so many ways to use factory-guy.  I just include it in my ember-cli bower.json and others use your addon ( adding to package.json ) ( which I think is great by the way ) ..   so I thought it might be nice to have just one package ( ember-data-factory-guy )  and then use it this way or that .. if you know what I mean.


Main Page Button Preview Box

On the main Page at https://styled-components.com/ the button preview box where you can change the code and the buttons will reflect how the code was changed.
Anytime editing the code in the box (CSS) their is a cursor issue and perhaps a delete character issue.
For Example:
If i have
const Button = styled.a<{ $primary?: boolean; }>`
--accent-color: white;
/* This renders the buttons above... Edit me! */
background: transparent;
border-radius: 3px;
border: 1px solid var(--accent-color);
color: var(--accent-color);
display: inline-block;
margin: 0.5rem 1rem;
padding: 0.5rem 0;
transition: all 200ms ease-in-out;
width: 11rem;
&:hover {
filter: brightness(0.85);
}
ERROR:
( If I delete the #1  I'm left with =  border: 1x solid var(--accent-color); )
If I delete 0 in  padding: 0.5rem 0; I'm left with =  padding: 05rem 0;
If i try deleting 0 again I'm left with = padding: 0rem 0;
Thus happens with any character being deleted . Sometimes it will also delete character to the right then cursor moves one space left .  Something is not correct.

Website After clicking on Documentation button , all the editable code boxes have the same issue when trying to play around with the code to preview it.
Link: https://styled-components.com/docs/basics#getting-started


Bump version for beta release

So we can do some more thorough testing of the new release in a deployed environment for the IdP, prior to an official release.
Versioning follows SemVer: https://semver.org/#spec-item-9

I'm just going to skip the pull request and publish straight to NPM from local copy.


Add Sentry to Smoothie

https://docs.sentry.io/platforms/flutter/

#65

#65

How is the progress here, in the main.dart is already an initialization. What else is planned

How is the progress here, in the main.dart is already an initialization. What else is planned

Already added in https://github.com/openfoodfacts/smooth-app/commit/35b62cc5a3f03ec569478ee243e120d4ff39557e#diff-4ac9b6b30fb198e199e18233d4f34fa513953477e2dd75b11ffed1faccf6b389