Allow preview mode for libraries

Clear and concise description of the problem
I am building a web SDK.
I used the lib mode to configure my outputs.
I am developing the library in esm and my library is gonna be served in cjs. In order to make sure it's working (tests and manually) I need to copy/create index.html file and reference the output script (vite does it on regular mode OOO).
Suggested solution
Therefore I want to allow 'lib preview' let me explain:

Developer run yarn vite preview
Preview server is starting (same as today), but it copies the HTML file to the dist and do the following (this piece of code I wrote in a vite plugin)

    transformIndexHtml: async (htmlString) => {
      const htmlStringWithScript = htmlString.replace(
        `<script type="module" src="./src/index.ts"></script>`,
        `<script src="sdk.cjs.js"></script>`,
      );
      return htmlStringWithScript;
    },

Alternative
Allow configuring 'preview' options to serve libraries
Additional context
I am also willing to contribute and open PR, if the authors will see this feature as meaningful to the platform
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Upvoting this. It would be great if this was possible so that we can more easily run our e2e tests on the production bundle.

This is definitly needed

A workaround Ive used is a second config file, i.e. vite.preview.js that's based on the default but doesnt have the library config.  Then change your packages.json preview script to be vite build -c vite.preview.js && vite preview.

+1, I need to run transformIndexHtml during preview only

This copies the index.html file used to demo my lib build to my output directory:
rollupOptions: {
  input: {
    'index.html': 'index.html',
  },
},

allowing me to npm run build and then npm run preview.
If you don't want the demo index.html file in your published build use an env var to adjust the config.

My solution was to create 2 vite.ts config files.
Default vite config ts is in lib mode using lib things and the second one without that has all the normal website stuff.
First one configured as lib and the other one as normal and then in my package json:
"scripts": {
    "dev": "vite --config vite-website.config.ts",
    "build": "bun run build:lib && bun run build:web",
    "build:lib": "vue-tsc && vite build",
    "build:web": "vue-tsc && vite build --config vite-website.config.ts",
    "preview": "vite preview"
  },

Output is in two folders:


Re-design usage of quotes / prices

Currently, we subscribe to BitMex for quotes.
The latest quote is used for:

New offers on the maker side
Calculating unrealized P/L of open positions
Suggesting a price during collaborative settlement

(1) is problematic because when to trigger a a new offer is external to the maker binary and influenced by several things including a significant change in the current price. It would be a lot more natural to have the actual price of the offer also be external to the maker binary.
(2) is just wrong, we should use the index price for this.
(3) is tricky. We don't want to put this on the user and offer them an input field.
Would it be correct to suggest settling based on the current index price @bonomat @da-kami @itchymax @scratchscratchscratchy?
If yes, then we could do the following:

Swap the subscription URL to use the index price instead of bid/ask from the current order book.
Use that price to calculate P/L
Change the new offer endpoint to require a price (and remove the price subscription entirely from the maker).[^1]

[^1]: This implies that we are no longer doing any P/L calculation for the maker which is currently happening within crate::projection and used by both parties. For now, we can just permanently pass None here for the maker but in the long run, these models should likely just separate and we need to projection modules, one for each binary.

Thanks for writing this up.
I agree with (1).
On

(2) Calculating unrealized P/L of open positions
(3) Suggesting a price during collaborative settlement

In my eyes there are two ways how a position can be closed:

Market order
Limited order

Let's focus only on (1) for now, which is what we have at the moment and leave (2) for the future.
Our collaborative settlement can be seen as closing with a market order as the user is not asked for any input.
He basically opens a position with the same amounts in the other direction and both positions get voided out.
That being said, he would not get the current index price but the current market price (bid/ask).
The important thing here is that the unrealized P/L as shown in the UI is not equal to what he would get. It's an estimate if the position was to closed at the current price.
For me this would mean two things:

unrealized P/L is calculated using the index price, and
for collaborative closing the current market price is taken.

Ideally, a maker comes up with the price but that's a bit challenging because for us the maker we market sell to is always the same we opened the position with in the first place.
We should keep that in mind for the future. For now, I would take the current bid/ask rates for collaboratively closing.

For now, I would take the current bid/ask rates for collaboratively closing.

That is tricky to as it would require us to track two different prices. Bid/ask and index. I was hoping to get away with only tracking one of the two within the taker binary for simplicity.


Merge: Implement backwards sync

Description
When besu is running as an execution client, the normal 'forward' sync process should stop at terminal-total-difficulty.  However, post-merge besu needs to do a 'backwards sync' and fetch blocks backward from a given block hash until we reach a common ancestor.
Specs are still a moving target on this but this behavior is specified :

https://github.com/fjl/p2p-drafts/blob/master/merge-sync/merge-sync.md#definitions
https://github.com/ethereum/execution-apis/blob/main/src/engine/interop/specification.md#engine_executepayload
https://notes.ethereum.org/@djrtwo/BJxKBaqNF

Acceptance Criteria

forward sync until TTD
backward sync upon executePayload for an unknown header
conformance to final sync spec

I would like to work on this one.


Processing TEROS data

Hi @bpbond!
I have written a script that visualizes the TEROS 12 data for each logger (9 total; 3/plot) and was hoping you could provide me some feedback on my method.
Files can be found here: TEMPEST/Data/Soil VWC, T, and EC (TEROS12)/ and my script is called "plottest.R"
Overview of the data structure:

TEROS 12 sensors record soil volumetric water content, temperature, and electrical conductivity (138 sensors total)
They are spatially distributed across the plots using the grid system (map shown in TEROS 12 folder)
Each data logger services 14, 15, or 17 sensors depending on its location
The output format from a logger is "Teros(1,1)", "Teros(1,2)", "Teros(1,3)". "Teros(2,1)"...."Teros(22,3)"
(n,1)=volumetric water content (requires conversion to be meaningful, m3/m3); (n,2)=temperature (C); (n,3)=electrical conductivity (uS/cm)
Data table channels differ for each logger and can be found here: https://docs.google.com/spreadsheets/d/1IFHNaE4Tr45rjDNR7MBg7i2Z2ewIPyAhl6q2vCB_Tbw/edit?usp=sharing
Monthly data for each logger are archived here: https://www.dropbox.com/sh/qc5vli7hgz65qtv/AADhO_BW0_LLkdfXZudCaLxFa?dl=0

What I have done:
-download archived and current data for each data logger
-delete rows 1, 3, and 4 (sensor ID info, cannot be loaded into R without deleting) and save as text file to logger folder on TEMPEST repo
-For each logger, create a list of text files in that folder and use bind_rows to merge all files together
-Create separate data frames for VWC, Temperature, and EC
-Plot data and note sensor ID and data gaps for each data table channel
-Clear R environment between data loggers and use same code
Does this make sense to you? Is there a better way to streamline this?
Also, you can check out the summary graphs for each data logger in "TEROS_Update_02272021,pdf", located under TEMPEST/Data/Soil VWC, T, and EC (TEROS12)/Updates/
Thank you and let me know if you have any questions!

Hi @ahopple 👋
Wow, those summary PDFs looks great! Nice job. Nonetheless, looking through your script, I think we can make it much shorter, clearer, and more robust.
First question:

-delete rows 1, 3, and 4 (sensor ID info, cannot be loaded into R without deleting) and save as text file to logger folder on TEMPEST repo

We'd really prefer not to do this, because then we have to hand-modify the downloaded files every single time. Plus, we'd like commits of the raw (untouched) files. For these reasons, I'd prefer to have R handle the raw files as necessary. Do you have copies of the raw files? Could you send me an example and/or commit them?
Second, you're hand-specifying the location of the various sensors in the script, which makes for a lot of code duplication. Do you have a list of the sensor locations in table form? Ideally the script just reads that table, merges it with the Teros data, and proceeds on its merry way.
Third I'd like to go over reshaping data frames for efficient plotting :) but we can discuss that later.
Great start! Thanks for touching base about this.

@ahopple It might be useful to set aside some time to go over coding specifically (as opposed to science). Lmk your thoughts.

@bpbond Completely agree on setting aside time to go over coding. I would like to use tomorrow's meeting to go over some specific questions from recent transplant and tempest analyses. I'll open a new issue under the transplant repo that details my questions. Does that sound good?


RetryTopicNamesProvider depends on an impl class instead of KafkaListenerEndpoint

In what version(s) of Spring for Apache Kafka are you seeing this issue?
2.8.6, but I think it has been like that since the creation of the RetryTopicNamesProvider
Describe the bug
We are using Spring Kafka to programatically register custom KafkaListenerEndpoint(s), using a custom MessageListener.
We are in the process of providing a retry mechanism, backed by Spring Kafka. However, when trying that out we realized that not all interfaces can be used. e.g. the RetryTopicNamesProvider depends on the MethodKafkaListenerEndpoint, when it can depend on the KafkaListenerEndpoint.
Expected behavior
I would expect to be able to use the RetryTopicNamesProvider with any KafkaListenerEndpoint

The issue is raised after a question in the gitter room

/CC @tomazfernandes
Thanks

Hi @filiphr, thanks for bringing this up.
The RetryTopicNamesProvider is part of the RetryableTopics feature, which only supports MethodKafkaListenerEndpoint, so that's why it appears there.
But I agree it'd be better to use the interface instead, and considering all methods in the default implementation are from the interface it should be a simple enough change.
TBH, I'm a bit curious about how you're going to use the DestinationTopic.Properties. Although in the default implementation we only use the suffix property, the user who contributed this interface needed the properties to be able to change the naming strategy between main, retry and dlt topics, so that's why we have it there. I guess you can just pass null in your implementation if that's not relevant for your use case.
If I understand correctly, that would be a breaking change though, so not sure if we should change that for 2.x or only 3.0. I'll defer to @artembilan and @garyrussell regarding this.
Either way, @filiphr, if you're welcome to open a PR with that change, if that's ok with the team.
Thanks

This does not justify as a bug of the out-of-the-box feature, more like an extendability support for some custom end-user scenario.
Therefore I'd see this only as a fix for the next 3.0 version.
Yes, it would be great to see more details about that "programmatic" use-case and why it cannot be achieved with existing framework high-level API.
But that's different story which goes out of scope of this RetryTopicNamesProvider design decision...

Hey @tomazfernandes  and @artembilan,
Thanks a lot for coming back to me so fast.

The RetryTopicNamesProvider is part of the RetryableTopics feature, which only supports MethodKafkaListenerEndpoint, so that's why it appears there.

I figured as much, a lot of the things around the retryable topics depend on the MethodKafkaListenerEndpoint.

TBH, I'm a bit curious about how you're going to use the DestinationTopic.Properties.

We are currently in the process of investigating this and trying it out. For now it has been quite a journey to be able to understand how all these things work.

Yes, it would be great to see more details about that "programmatic" use-case and why it cannot be achieved with existing framework high-level API.

We need the programmatic use case, because we allow our users to dynamically register and unregister listeners using some channel definitions. We currently have integrations with JMS, Rabbit and Kafka. All of the 3 integrations are based on different Spring projects. In case you are interested to see how we are doing it currently you can have a look at https://github.com/flowable/flowable-engine/tree/main/modules/flowable-event-registry-spring/src/main/java/org/flowable/eventregistry/spring. The main parts for Kafka are in https://github.com/flowable/flowable-engine/tree/main/modules/flowable-event-registry-spring/src/main/java/org/flowable/eventregistry/spring. As you said @artembilan, this is entirely different topic and if this is something that you think can be an interesting thing for Spring Kafka, I can look into creating a new issue where we can discuss this "programmatic" use case in more detail.

Once I iron out the details on our side I would be able to create some PR(s).

Nice one @filiphr 👍 !
I wonder why you don't use Spring Integration as unified way to deal with different protocols: https://spring.io/projects/spring-integration/...
With its IntegrationFlow dynamic registration you probably can achieve most of your requirements.
The way we deal with errors over there is also so generic that you probably don't need to dive too deep into retry topic feature, but just implement some common way independently of the middleware protocol choice.
Anyway this might be too biased and too broad to continue to discuss over here 😉
Feel free to raise a new Discussion here or in Spring Integration: https://github.com/spring-projects/spring-integration/discussions, if you have more questions or so!


HarfBuzz: Update to version 2.8.0

Update to the latest release: https://github.com/harfbuzz/harfbuzz/releases/tag/2.8.0

Thanks!


I have tried may time to get download directory's path through path provider and it shows: getDownloadsPath is not supported on Android

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
I have tried may time to get download directory's path through path provider and it shows: getDownloadsPath() is not supported on Android
E/flutter (23814): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Unsupported operation: getDownloadsPath is not supported on Android
E/flutter (23814): #0      PathProviderAndroid.getDownloadsPath (package:path_provider_android/path_provider_android.dart:85:5)
E/flutter (23814): #1      getDownloadsDirectory (package:path_provider/path_provider.dart:201:40)
E/flutter (23814): #2      DownloadNetworkFileController.downloadImage. (package:picsy_mobile_app/package/image_downloader/image_downloader.dart:62:43)
Expected results
Get download folder's path
Actual results
E/flutter (23814): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Unsupported operation: getDownloadsPath is not supported on Android
E/flutter (23814): #0      PathProviderAndroid.getDownloadsPath (package:path_provider_android/path_provider_android.dart:85:5)
E/flutter (23814): #1      getDownloadsDirectory (package:path_provider/path_provider.dart:201:40)
E/flutter (23814): #2      DownloadNetworkFileController.downloadImage. (package:picsy_mobile_app/package/image_downloader/image_downloader.dart:62:43)
Code sample
final appDir = await pathProvider.getDownloadsDirectory();

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel unknown, 3.7.7, on Microsoft Windows [Version 10.0.22621.1848], locale en-US)
    ! Flutter version 3.7.7 on channel unknown at C:\src\flutter
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[√] Chrome - develop for the web
[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components
[!] Android Studio (version 2021.2)
    X Unable to determine bundled Java version.
[√] Android Studio (version 2022.2)
[√] VS Code (version 1.79.0)
[√] Connected device (4 available)
[√] HTTP Host Availability

! Doctor found issues in 3 categories.

Hi @dishankgajera
It's a correct error message. getDownloadsPath is not supported currently. Please see Supported platforms and paths.
Closing this issue as it's not a plugin bug.

so how i can now get the download dictinory path


Poll having multiple question types

Ability to choose which type of question is to be asked

Pick one
Multi-choice
Star rating
Free text
Yes-no options
Thumbs up or down
Might be good to differentiate these later to different issues.


cc-wrapper around clang doesn't suppress default search paths

It looks like gcc actually gets patched to suppress search paths. Back when we had clang-wrapper, it passed in --sysroot=/var/empty instead. During the merger, we lost the /var/empty but didn't gain the source patch.
Not sure what the best solution is here. Do we patch clang (now we have to maintain patched code), or do we add some sort of standard search path suppression to cc-wrapper?
/cc @edolstra @shlevy @gridaphobe @jwiegley @joelteon

Well, the gcc patch seems quite small, so by hasty-generalization I suspect the clang patch may also be small :smile:

Furthermore, although I'm not super keen on maintaining patches, the comments at the top of cc-wrapper/default.nix suggest that the underlying cc is not supposed to have any hardcoded search paths.

I think this turns on how small/hard the patch is. If it's as trivial as the gcc one is (or was when I last checked), let's just do the patch. Otherwise we can move that in to cc-wrapper.

I think there are just two files to patch and not too many lines inside
them. We also need to make sure we remove framework search paths on Mac OS.
Anyone feeling particularly inclined to take this?
On Friday, February 6, 2015, Shea Levy<EMAIL_ADDRESS>wrote:

I think this turns on how small/hard the patch is. If it's as trivial as
the gcc one is (or was when I last checked), let's just do the patch.
Otherwise we can move that in to cc-wrapper.
—
Reply to this email directly or view it on GitHub
https://github.com/NixOS/nixpkgs/issues/6164#issuecomment-73242191.

Can it wait until next week at the earliest?

If so please assign to me :smile:

I'll probably do it sooner :smile: but if I don't get to it, happy to give it to you!

I fixed this for 3.5: https://github.com/NixOS/nixpkgs/commit/507d65d7d4f195ecd5b08ee5d24f6e96924f7b1c. Still need to do earlier versions, but the idea should be the same.

(triage) solved? @copumpkin

I think this can be closed unless @copumpkin has any problems with that.


Harley Seal AVX-512 implementations

Binary representations are becoming increasingly popular in Machine Learning and I'd love to explore the opportunity for faster Hamming and Jaccard distance calculations. I've looked into several benchmarks, most importantly the WojciechMula/sse-popcount library, that compares several optimizations for population-counts -the most expensive part of the Hamming/Jaccard kernel.

Extensive benchmarks and the design itself suggest that AVX-512 Harley Seal variant should be the fastest on long inputs beyond 1 KB. Here is a sample of the most recent results obtained on an i3 Cannonlake Intel CPU:

procedure
32 B
64 B
128 B
256 B
512 B
1024 B
2048 B
4096 B

lookup-8
1.19464
1.09949
1.21245
1.11428
1.69827
1.65605
1.63299
1.62148

lookup-64
1.16739
1.09284
1.19636
1.10018
1.69524
1.65319
1.63670
1.62359

harley-seal
1.00883
0.82805
0.51017
0.39659
0.54067
0.49312
0.46917
0.45787

avx2-lookup
0.45543
0.28456
0.20674
0.14150
0.18920
0.16951
0.15977
0.15527

avx2-lookup-original
1.53184
0.90269
0.61849
0.41858
0.34503
0.32416
0.23073
0.25976

avx2-harley-seal
1.03679
0.59198
0.37492
0.26418
0.20457
0.15556
0.13097
0.11904

avx512-harley-seal
3.36585
0.71542
0.40990
0.26028
0.29072
0.10719
0.07310
0.05560

avx512bw-shuf
2.56808
1.99008
1.04359
0.55736
0.48551
0.25119
0.20256
0.15851

avx512vbmi-shuf
2.51702
1.99085
1.09241
0.54717
0.49385
0.25181
0.20032
0.15249

builtin-popcnt
0.22182
0.28289
0.26755
0.31640
0.39424
0.38940
0.36062
0.33525

builtin-popcnt32
0.46220
0.46701
0.51513
0.59160
0.89925
0.85613
0.84084
0.84065

builtin-popcnt-unrolled
0.25161
0.17290
0.14147
0.12966
0.20433
0.22086
0.20939
0.20628

builtin-popcnt-movdq
0.21983
0.18868
0.17849
0.18037
0.34305
0.31526
0.29713
0.29047

I've tried copying the best solution into SimSIMD benchmarking suite and sadly didn't achieve similar improvements on more recent CPUs. On Intel Sapphire Rapids CPUs:
-------------------------------------------------------------------------------------------------------------
Benchmark                                                   Time             CPU   Iterations UserCounters...
-------------------------------------------------------------------------------------------------------------
hamming_b8_haswell_4096b/min_time:10.000/threads:1       50.3 ns         50.3 ns    277340752 abs_delta=0 bytes=162.807G/s pairs=19.8739M/s relative_error=0
hamming_b8_ice_4096b/min_time:10.000/threads:1           34.8 ns         34.8 ns    402233197 abs_delta=0 bytes=235.632G/s pairs=28.7636M/s relative_error=0
hamming_b8_icehs_4096b/min_time:10.000/threads:1         42.4 ns         42.4 ns    330077077 abs_delta=0 bytes=193.07G/s pairs=23.5681M/s relative_error=0

On AMD Genoa:
-------------------------------------------------------------------------------------------------------------
Benchmark                                                   Time             CPU   Iterations UserCounters...
-------------------------------------------------------------------------------------------------------------
hamming_b8_haswell_4096b/min_time:10.000/threads:1       40.5 ns         40.5 ns    346163289 abs_delta=0 bytes=202.502G/s pairs=24.7195M/s relative_error=0
hamming_b8_ice_4096b/min_time:10.000/threads:1           40.6 ns         40.6 ns    344646420 abs_delta=0 bytes=201.733G/s pairs=24.6257M/s relative_error=0
hamming_b8_icehs_4096b/min_time:10.000/threads:1         59.8 ns         59.8 ns    234058579 abs_delta=0 bytes=136.96G/s pairs=16.7188M/s relative_error=0

The kernel designed for Haswell simply uses _mm_popcnt_u64.
The kernel designed for Ice Lake uses _mm512_popcnt_epi64.
The icehs is an adaptation of the Harley Seal transform that "zip"-s two input streams with xor.

To reproduce the results:
cmake -DCMAKE_BUILD_TYPE=Release -DSIMSIMD_BUILD_TESTS=1 -DSIMSIMD_BUILD_BENCHMARKS=1 -DSIMSIMD_BUILD_BENCHMARKS_WITH_CBLAS=1 -B build_release
cmake --build build_release --config Release && build_release/simsimd_bench --benchmark_filter="hamming(.*)4096b"

Please let me know if there is a better way to accelerate this kernel 🤗

I'm interested in experimenting with this, but I don't have a CPU supporting AVX512. Do you test all these different instruction sets on cloud machines or do you have many CPUs? 😄
Maybe I could do some comparative experiments emulating with QEMU, but this most likely won't give enough info for finetuning.

@Wyctus, QEMU is a nightmare, I recommend avoiding it. I used to have some CPUs, but cloud is the way to go for R&D of such kernels. I recommend r7iz instances for x86 and r8g for Arm on AWS. 2-4 vCPUs should be enough 😉

Also, from priority perspective, if you can improve Harley-Seal - it's a huuuge win, but it proved to be quite hard and time consuming. If at any point it stop feeling rewarding - #159 and #160 are also important, more digestible, and untouched for now, @Wyctus 🤗

Thank you, I'll try AWS! 🙂 You are right, I messed a few hours with QEMU, and made me sick already....
The reason I picked this issue is that I used to mess with popcount stuff in the past, so I'm planning to dig up what I did and see if it's competitive enough, I don't remember.
But if I have time, I'll try to look into the other mentioned issues as well!

Hi @Wyctus! Any luck with this?

More context for this.

VPOPCNTQ (ZMM, ZMM):

On Ice Lake: 3 cycles latency and executes only on port 5.
On Zen4: 2 cycles and executes on both port 0 and 1.

VPSHUFB (ZMM, ZMM, ZMM):

On Skylake-X: 1 cycle latency and executes only on port 5.
On Ice Lake: 1 cycle latency and executes only on port 5.
On Zen4: 2 cycles and executes on both port 1 and 2.

Optimizing for Genoa and Turin we may want to combine the first and second approach.

More context. We can use the lookup table with sad intrinsics:

VPSADBW (ZMM, ZMM, ZMM)

On Ice Lake: 3 cycles latency and executes only on port 5.
On Zen4: 3 cycles and executes on both port 0 and 1.


[RFC]: Portable SIMD Libs Project Group

Establishes a new project group under libs for the production and stabilization of a core::simd and std::simd module. Based on the work of @hsivonen.
Rendered
cc @BurntSushi @hsivonen @Lokathor

cc @Licenser based on your work in simd-json you may also be interested in portable SIMD in the standard library?

@KodrAus Very much, portable SIMD in the standard library would be awesome!

LGTM. Thanks @KodrAus for putting this together!

Sounds great!  I have no desire to tie myself to particular intrinsics, but would love to be able to write my semantic meaning with a nice rusty library and have it compile to something good for the target.
To repeat my personal opinion from the lang issue linked in the RFC: I expect that this will be semantically indistinguishable from an implementation that lowers to just using scalar operations for everything (and would probably do that on targets without simd instructions) so am expecting there to be minimal-if-any lang changes here.  It'd be up to libs to bless an interface and libs-impl/compiler to agree on the best way to implement it.  So having it be a libs project sounds like the correct home.

To repeat my personal opinion from the lang issue linked in the RFC: I expect that this will be semantically indistinguishable from an implementation that lowers to just using scalar operations for everything (and would probably do that on targets without simd instructions) so am expecting there to be minimal-if-any lang changes here.

That works except in a few edge-cases: denormal floating-point numbers work differently on some architectures (ARM) when moving between SIMD/scalar, so requiring the exact same semantics would be detrimental.

Also: bitwise ops on f32 don't work properly on x86/x64 if sse isn't enabled, because signaling nans are converted to quiet nans.

Gonna have to slap a "if you compile this to a computer not made this century it may not work right" label on this stuff.

Rust has official i586 targets (tier2), which are i686 with sse/sse2 turned off (they are on by default in the i686 targets).

Indeed! I actually currently live with someone who uses a 32 bit computer, so I am being quite serious when I say that the project group will likely have to discuss including some sort of caution about how the behavior will be normalized across architectures as much as possible but architectural variation may yield alterations, or guidelines about programming around such, or something.

@Licenser @workingjubilee @programmerjake @scottmcm would any of you be interested in supporting the group and be added to the list? On that note...
@rfcbot fcp merge
Let's get the ball rolling on this so we don't lose any of this momentum!

I think @sebcrozet may be interested in this too.

Based on the current state of the Libs FCP list, I'll go ahead and check SimonSapin's box.

Establishes a new project group under libs for the production and stabilization of a core::simd and std::simd module.

Thank you for moving this forward! LGTM.
Sorry about the slow response this month.

Based on the work of @hsivonen.

@gnzlbg should get the credit for packed_simd.

There's a new simd crate, generic-simd, https://crates.io/crates/generic-simd and its author has shown interest in participating in this effort on Reddit (and states that they don't know how to participate in this groups).

That's me, I'd like to participate wherever I can be helpful!

@calebzulawski That's great! I'll add you to the list 😃
We're going to reach the end of the FCP soon so will be able to set up a dedicated workspace and figure out what our first steps will be.

I'm also interested in this in terms of using it in ultraviolet, which is currently using @Lokathor 's wide crate...
For a fair while I had a branch which was able to function with either wide or packed_simd as its underlying primitive type based on crate feature selection and I only had to minimally shim the two apis together to make that work... and the process of writing ultraviolet using these similar interfaces was quite pleasant, which as some others have mentioned is I think a good sign that at least the outward-facing APIs have converged to a good place. Hence, I'd say moving towards something stabilized in core/std is a reasonable goal...
A note (though perhaps this should be discussed more once this is kicked off properly and not here) is that packed-simd is currently using SLEEF as the backbone for a lot of the specifically SIMD-codegen'd versions of non-builtin math functions. I'm not sure what the precedent is here but it seems weird to have something in core/std depending on a C lib?

Lots of Rust has depended on C libs now or in the past. Obviously there's bindings to libc, and there's been various other bindings like to libbacktrace. The general precedent in the Rust project has been "use opportunistically, then increasingly Rust away the C when it causes problems." Obviously this project group is going to have one of its tasks be "so, what DO we do about SLEEF?"

While Rust depends on C libs for the libstd, libcore doesn't. libcore and liballoc can be built completely without a C compiler for as long as the c feature of compiler-builtins is disabled. Currently building for wasm doesn't use any C code, as there is no wasm capable C compiler that we can depend on to be available. Only when compiling for wasi do we use some C code in the form of a pre compiled libc. If SLEEF were to be added, you would need a C compiler to compile for wasm.

Right, if SLEEF is involved then APIs that depend on it should be in libstd but not libcore.

SLEEF is only for x86_64 and for specialized functionality. It's also disabled by default. It would make sense to start without the operations that call into SLEEF.

It looks like we've got the green light to make a start here! 🥳 As with the Error handling group, we might need some help from our friendly neighborhood @Mark-Simulacrum to set up a project-portable-simd stream in Zulip and a rust-lang/project-portable-simd repository in GitHub.
I'm happy to write up an announcement post for the Insiders Blog (unless somebody else would like to do it!).
I can also start up a HackMD doc that we can use to put together a list of first steps, then figure out a time for a kickoff meeting via Zulip?
What do you all think?

Just so that everyone subscribed to this thread can find it I've created a HackMD that we can all drop some first steps and things that need to be figured out into:
https://hackmd.io/_2MnKA4FTEaiac7RR1MG4A
There's a link to a poll for a regular meeting time too.

Alrighty, I've created a tracking issue for the project group in the Libs team repo that can be used to post status updates: https://github.com/rust-lang/libs-team/issues/4
Some of the links won't work just yet 🙂

I've updated the filename and links so with a ✔ we should be able to merge this one too.


[HofmeisterAn#464] #BUGFIX 'assemblyName: DotNet.Testcontainers'

{Made Resource Reaper compatible to containers being started on remote machines via use of WithDockerEndpoint method.}

Not sure how to properly create a test for this:

Doing it in a meaningful way would require additional test infrastructure (i.e.: an additional remote host)
Only testing whether or not the new parameter has been correctly applied (similiar to the existing test HostnameShouldMatchDockerGatewayAddress) is also not feasible, because the ResourceReaper class only provides public methods to start the reaper directly (i.e.: there is no way to only initialize the reaper without trying to start it at the same time).

Published in 1.6.0-beta.2232, closes #464.


Getting nugetRestore to do anything.

Hey there.
All I want is to have the nugetRestore to restore all the requisite packages for my solution file.
When I run
gradle nugetRestore
The command runs, and says 'up-to-date' when run.  But no nuget packages get restored.
I am running the command from the gradle root folder.  Sitting in my root folder is the sln file ,and in a subfolder are my projects.  If I run nuget restore MySolution.sln everthing works hunky dory.  All packages are restored.
My gradle configuration for nugetRestore looks like this
nugetRestore {
    solutionFile = 'Coactive.API.sln'
    packagesDirectory = 'packages'
}

A little help would be most appreciated on what I'm doing wrong.

Maybe run gradle with info log level to see what command it's calling (if any) ? (gradle -i)
Feel free to look at ILRepack build log to see the expected output and compare to yours
:nugetRestore (Thread[main,5,main]) started.
:nugetRestore
Executing task ':nugetRestore' (up-to-date check took 0.0 secs) due to:
  Task has not declared any outputs.
Restoring NuGet packages
Starting process 'command 'C:\Users\appveyor\.gradle\caches\nuget\3.5.0\NuGet.exe''. Working directory: C:\projects\il-repack Command: C:\Users\appveyor\.gradle\caches\nuget\3.5.0\NuGet.exe restore -NonInteractive -Verbosity normal

@gluck ,
Well-called, my friend.  It looks like the version of the gradle nuget package was an older one.  Once I upgraded to 2.12, it's now working like a champion.
Great stuff.  Thanks so much.


Fixes, minor features and cleanup

Re-factor the library into the resource as action_class helpers.
Mark password as sensitive
Readme cleanup
Output streamlining and cleanup
Add interactive property and set it to false: IMO, the chef run should fail instead of requiring interaction by default if a password is not given and login fails. Chef runs often operate automatedly, and blocking them on input by default seems like a bad thing to do.

Fixes #3, fixes #4.

@aklyachkin Are you going to review this?
If not, I’d like to have some guidance on how this repository should be managed. Shall I simply do things I consider sensible? How shall we trigger releases when I think that things are done? What if I accidentally remove a feature you depend on?


efficiency!

use oh.methods so you wont have to keep changing in individual scripts

ACCEPT ITS BEEN 3 DAYS

ohaux.lua is supposed to be standalone


Module incorrectly marked dead when contains non-dead type and submodule definitions

Running reanalyze https://github.com/rescript-association/reanalyze/commit/389dd682223201b42c33e5c444e5c79e0805adad on Goblint https://github.com/goblint/analyzer/commit/a544002114324a207df72f9e79eb656c3ebe7b5b revealed the following.
In the terminal output there's a dead module warning:
  Warning Dead Module
  File "./gobview/src/state/gvMessages.ml", line 1, characters 0-0
  +gvMessages is a dead module as all its items are dead.

  Warning Dead Value
  File "./gobview/src/state/gvMessages.ml", lines 22-28, characters 0-18
  +filter_by_line is never used
  <-- line 22
    List.filter pred [@@dead "+filter_by_line"]

Although the only value filter_by_line is indeed dead, it also contains a type t and module Message which are not. Therefore the GvMessages module should not be considered dead overall.

Not sure if include is treated correctly, for the inner module.


sync user settings before numItemsInBankSync call

Description:
sync user settings before numItemsInBankSync is called for some commands because there are cases where a minion can return from a trip but doesnt have the bank synced fast enough to realize the new items are there for the next command
fixes #497
Changes:

[] I have tested all my changes thoroughly.

the sync is for "synchronous", intended for use where you dont want to sync (which requres an asynchronous function). we could perhaps modify numItemsInBankSync to conditionally return a promise based on a  overload. I.e if you pass true, it returns a promise, otherwise it doesnt -  sounds like it would work to me.

ok that makes sense, the terminalogy of settings.sync and numItemsInBankSync got me confused i guess.  I thought that since it had Sync in the name it would sync the data then access it


typo: mutliple -> multiple

@nschonni : Thanks for your contribution! The author, @maggiesMSFT, has been notified to review your proposed change.

Verified the changes.

@ktoliver : Thanks for your contribution! The author, @maggiesMSFT, has been notified to review your proposed change.


Add Heap-Sort for the following languages

The following Algorithm needs to be implemented in the following languages.

[x] C
[ ] C++
[ ] Python
[ ] Java

Ground rules:

Whoever claims the Issue first, should send a Pull Request within 24 hours else it'll be assigned to another claimant and further Pull Requests regarding that issue will not be entertained.
Pull Requests sent without claiming and referencing the Issue will not be entertained.
Make sure your Pull Requests have just one commit in them. Squash multiple commits into one if you have to.
Make sure you put in the proper folder. If you do not know where to push the code for the Algorithm, feel free to ask in the comments section below. :smile:

Claiming C++

Go ahead, @nikitakorba !

can i claim for C?

Go ahead, @shubham-k7

Claim to work in java

Doing in py.

as viditjn is unable to do a pull request . I would like to do it in java.


set a static uid in dockerfile

to make sure we run as non root
Fixes #1003
Signed-off-by: Chmouel Boudjnah<EMAIL_ADDRESS>
Changes

Submitter Checklist

[ ] ♽  Run make test lint before submitting a PR (ie: with pre-commit, no need to waste CPU cycle on CI
[ ] 📖 If you are adding a user facing feature or make a change of the behavior, please verify that you have documented it
[ ] 🧪 100% coverage is not a target but most of the time we would rather have a unit test if you make a code change.
[ ] 🎁 If that's something that is possible to do please ensure to check if we can add a e2e test.
[ ] 🔎 If there is a flakiness in the CI tests then don't necessary ignore it, better get the flakyness fixed before merging or if that's not possible there is a good reason to bypass it. (token rate limitation may be a good reason to skip).

tested manually on controller and it seems to work :
% kcp
pipelines-as-code-watcher-6d9cf9d776-mbb5c      0/1   CreateContainerConfigError   0     37m
pipelines-as-code-webhook-57dc8f49cf-x48vf      0/1   CreateContainerConfigError   0     37m
gosmee-7bff6ff48c-fqttt                         1/1   Running                      0     29m
pipelines-as-code-controller-548fd87747-frrws   1/1   Running                      0     5m49s

Codecov Report

Merging #1004 (69a5154) into main (ead974f) will increase coverage by 0.19%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1004      +/-   ##
==========================================
+ Coverage   61.22%   61.42%   +0.19%
==========================================
  Files          98       98
  Lines        6007     5988      -19
==========================================
  Hits         3678     3678
+ Misses       1979     1960      -19
  Partials      350      350

Impacted Files
Coverage Δ

pkg/reconciler/controller.go
0.00% <0.00%> (ø)

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


How to get @select to return an Observable instead of AnonymousSubject?

At the moment the @select returns an AnonymousSubject which is breaking the CanLoad and Resolve routing guards in Angular 4 (or 2 and above). It seems just these two router guards cannot handle it as the CanActivate deals with AnonymousSubject without an issue.
Is there any way that I can force it to return an Observable or even a 'normal' Subject?
Thank you

If you have your CanLoad use ngRedux.select(.....) are you getting the same issue, just wondering if this is applying to just the decorator, or select in general.

It happens when using the @select as well as  ngRedux.select(.....).
I did a bit of investigating with the hope of submitting a PR. However, being from a Java background and being relatively new to JS/TS world, I don't know much of RX to be able to resolve this.
This happens as soon as any operator (filter / distinctUntilChanged / etc) is applied to the this._store$ variable (which is meant to be a BehaviorSubject) in the src/components/ng-redux.ts.
this._store$ = new BehaviorSubject<RootState>(null)
    .filter(n => n !== null)
    .switchMap(n => {
        return Observable.from(n as any);
    }) as BehaviorSubject<RootState>;

Although it's casted to a BehaviorSubject, it still get assigned as an AnonymousSubject.
The returned Observable also get changed to an AnonymousSubject when the this._store$.distinctUntilChanged is applied from the select<S>(...) method.
Hopefully, that will give some indication to what's happening and appreciate your help.
Thanks
Yohan

I'm running into this issue too.  I thought I followed the zoo-animals example fairly well but instead of the version number I'm getting [object][object] in my sidebar component.
https://github.com/arielpartners/capdash2/tree/cfulnecky/introduce-redux/webapp

Still looking into this, thanks for the insight.
In the route guard, could you do something like:
ngRedux.select('selector').asObservable(); // hides the subject, converts to observable

If that works out, I'll see if it's possible to update select to return the Observable<T> without introducing any breaking changes.

It didn't work :(
I couldn't directly use asObservable() and had to cast to a Subject and then use asObservable().
(<Subject<any>>this.ngRedux.select<any>('selector')).asObservable();
I think the fact that there is an AnonymousSubject  in the observer chain is causing it to break. Do you think it's a bug in the @angular/router / Resolve?
Another suggestion: if we bring the operators individually rather than hoping Webpack/SystemJS import the correct operators, do you think it might resolve the issue? I have a feeling when the filter, switchMap and the distinctUntilChanged are applied to the ngRedux store it's importing operators that generate  AnonymousSubject rather than a simple Subject which is the root cause of this problem - I may be wrong.
import 'rxjs/add/operator/filter'; import 'rxjs/add/operator/distinctUntilChanged';
Until there is a permanent fix, I am returning a Promise and within that subscribing to the store and only resolving the Promise when expected data arrive - a workaround :).

I know @SethDavenport has done quite a bit of refactoring of the guts of NgRedux - wondering if this is still an issue with the newer releases?

Concerning Angular router and redux with @select I posted an issue here: https://github.com/angular/angular/issues/18991
Does @select complete?

Any updates on this? I need to .concatMap Observables with the @select decorator, but it's not possible because @select always return  an AnonymousSubject.

@markusfalk @lvidal1 observables returned from @select and .select will not complete - they are Observable slices of state that remain active.
If you need to use them in a context where they need to 'complete' - such as in a resolver, route guard, etc - using an operator like .first() or .take() will get the current value and complete the observable.

Facing the same issue. Gone through the comments however didn't get the proper solution.
Can anyone help how to get the normal object while using @select?

Is there any update on this issue?


Menu issues for satellite sites

@padms - can I test this? If yes, please describe how :smile:

@meols This cant be tested at the moment as global development will always have global site like menu.

OK - then I assume you guys know that it is as it should and will deploy it :smile:


Pip Install Fails

Hey!
I attempted to install this package using pip, but ran into
flash_cosine_sim_attention/flash_cosine_sim_attention_cuda.cu:10:10: fatal error: dispatch.h: No such file or directory
         10 | #include "dispatch.h"
            |          ^~~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/nvcc' failed with exit status 1

Cloning the repo and running make install worked just fine, so I'm assuming setup.py (or whatever makes the pip package) just isn't including the dispatch.h header file.

@kradonneoh oh shoot, do you want to try 0.1.14? https://github.com/lucidrains/flash-cosine-sim-attention/commit/4afa8a00690e6ffe63c26d00c07f5762d63faf3b

Seems to be working :-)

@kradonneoh nice :^)


Error: Extension Path is not in the subpath of WebUI Path

In the webui-user.sh script, I have configured the --data-dir option to store extensions, models, etc. on a separate drive. Unfortunately, when tag_autocomplete_helper.py attempts to locate necessary files, it does so via Path().absolute() on line 10 of the tagcomplete Python script. Instead of returning the path of the extension's script, this returns the path of the stable-diffusion-webui/launch.py script, which results in the script attempting to load tags from a folder that doesn't exist:
Error loading script: tag_autocomplete_helper.py
Traceback (most recent call last):
  File "/home/username/stable-diffusion-webui/modules/scripts.py", line 229, in load_
scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "/home/username/stable-diffusion-webui/modules/script_loading.py", line 11, in
 load_module
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/path/to/sd/extensions/a1111-sd-webui-tagcomplete/scripts/tag_autocomplete_helper.py", line 191, in <module>
    write_tag_base_path()
  File "/path/to/sd/extensions/a1111-sd-webui-tagcomplete/scripts/tag_autocomplete_helper.py", line 166, in write_tag_base_path
    f.write(TAGS_PATH.relative_to(FILE_DIR).as_posix())
  File "/usr/lib/python3.10/pathlib.py", line 818, in relative_to
    raise ValueError("{!r} is not in the subpath of {!r}"
ValueError: '/path/to/sd/extensions/a1111-sd-webui-tagcomplete/tags' is not in the subpath of '/home/username/stable-diffusion-webui' OR one path is relative and the other is absolute.

This breaks the extension.
I'm unaware of any current workaround.

@CriticalSteffen Good news, if still needed:
With the most recent update, the extension can now work with data-dir.
You will need to add the --gradio-allowed-path argument to your webui start script to make this work, else the helper will not throw the error anymore, but the server will still return 403 Unauthorized for any extension javascript file or tags file the webui tries to load.
A word of caution if you share the webui on your local network or even as a public server:
The allowed path will be publicly exposed. A simple JavaScript fetch("file=path/to/file") can access any file contents in that directory and its subdirectories, as long as the filename is known. You need to be careful what you allow in there.
I suggest only allowing the install dir of tag autocomplete itself for base functionality, or if you use wildcard extensions and want to use the wildcard completion feature, the whole extensions dir at most.


VPN connected setup

Hello, I see there is a VPN connected in your screenshot. How to set this up? I can’t find it. Please tell me. Thanks.

I understand that I understood it wrong.


fermitools behaviour sensitive to the linux version

Hello,
I have installed fermitools-1.0.10 and when I work on interactive python, I have an import
error on :

import matplotlib.pyplot as plt
.../...
ImportError: /usr/lib64/libgobject-2.0.so.0: undefined symbol: g_date_copy

If I do "uname -a" on my machine, I get :
Linux sappcfermi.extra.cea.fr 3.10.0-957.21.3.el7.x86_64 #1 SMP Tue Jun 18 16:35:19 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
I do not meet this problem working on another machine with "uname -a" returning :
Linux sapgaia1.extra.cea.fr 3.10.0-123.4.2.el7.x86_64 #1 SMP Tue Jun 24 13:05:26 CDT 2014 x86_64 x86_64 x86_64 GNU/Linux
It seems to me that fermitools behaviour is sensitive to the linux version .
Can you have a check on it ?
Thanks in advance.
PS: whole output :
[gtpiplin@sappcfermi] ~ > python
Python 2.7.14 | packaged by conda-forge | (default, Oct  5 2017, 14:19:56)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
*** Using startup saving python history in ~/.pyhistory ***

import matplotlib.pyplot as plt
Traceback (most recent call last):
File "", line 1, in
File "/dsm/saplxglast/glast/fermitools/1.0.10/lib/python2.7/site-packages/matplotlib/pyplot.py", line 116, in
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
File "/dsm/saplxglast/glast/fermitools/1.0.10/lib/python2.7/site-packages/matplotlib/backends/init.py", line 60, in pylab_setup
[backend_name], 0)
File "/dsm/saplxglast/glast/fermitools/1.0.10/lib/python2.7/site-packages/matplotlib/backends/backend_qt5agg.py", line 16, in
from .backend_qt5 import (
File "/dsm/saplxglast/glast/fermitools/1.0.10/lib/python2.7/site-packages/matplotlib/backends/backend_qt5.py", line 18, in
import matplotlib.backends.qt_editor.figureoptions as figureoptions
File "/dsm/saplxglast/glast/fermitools/1.0.10/lib/python2.7/site-packages/matplotlib/backends/qt_editor/figureoptions.py", line 20, in
import matplotlib.backends.qt_editor.formlayout as formlayout
File "/dsm/saplxglast/glast/fermitools/1.0.10/lib/python2.7/site-packages/matplotlib/backends/qt_editor/formlayout.py", line 56, in
from matplotlib.backends.qt_compat import QtGui, QtWidgets, QtCore
File "/dsm/saplxglast/glast/fermitools/1.0.10/lib/python2.7/site-packages/matplotlib/backends/qt_compat.py", line 137, in
from PyQt5 import QtCore, QtGui, QtWidgets
ImportError: /usr/lib64/libgobject-2.0.so.0: undefined symbol: g_date_copy

I'll look into this.  It looks like the symbol is part of Glib which is a very low level date/time library.  This is a Red Hat machine?

Which version of the OS?

I have on the working machine :
(/dsm/saplxglast/glast/fermitools/1.0.10) landriu@sapgaia1:~$ hostnamectl
Static hostname: sapgaia1.extra.cea.fr
Icon name: computer-vm
Chassis: vm
Machine ID: 1b519139d44f4215ae4e9279bb0262cd
Boot ID: 3f815cc27af04272b87c5b889a2da8f8
Virtualization: kvm
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-123.4.2.el7.x86_64
Architecture: x86-64
as on the failing one :
[landriu@sappcfermi] ~ > hostnamectl
Static hostname: sappcfermi.extra.cea.fr
Icon name: computer-desktop
Chassis: desktop
Machine ID: bd434e39acbd481baab54df4b4d6eef2
Boot ID: fabd4dd51ba94cfb834f5e749dc61cce
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-957.21.3.el7.x86_64
Architecture: x86-64

Hi,
test is now working with beta : fermi-1.3.5 on both machines :
(fermi-1.3.5)
[landriu@sappcfermi] ~/dev/testFermi_beta/simple-with-1.3.5 > python
Python 2.7.15 | packaged by conda-forge | (default, Mar  5 2020, 14:56:06)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
*** Using startup saving python history in ~/.pyhistory ***

import matplotlib.pyplot as plt

(fermi-1.3.5)
Thanks again,  I close this issue


update: followup on 07029e1

Playbook must fail anyway, the rescue block has been introduced for
unmasking the unit after the playbook has failed.
Signed-off-by: Guillaume Abrioux<EMAIL_ADDRESS>

jenkins test centos-non_container-update

jenkins test centos-container-update

jenkins test centos-container-update

jenkins test centos-non_container-update


Combining several mask items

This works very well for me:
--mask-prompt "faces {*11} "  --mask-mode keep
This does not work at all for me (neither faces nor arms are kept):
--mask-prompt "faces {*11} and arms {*11}"  --mask-mode keep
What is the right syntax to keep faces and arms at same scale?

i dont think thats the right syntax. syntax is here: https://github.com/brycedrennan/imaginAIry#prompt-based-masking--by-clipseg

"(faces AND arms AND hands)  {*11}" ?

My use case is not 100% covered by the samples I feel.

Total brainfart :) Works now using OR :)


[onboarding experience improvement] Region support check

After region is selected check if:

service is support - e.g., SWA

Error: Command Failed: deployment failed: failed deploying: failed running az deployment sub create:
{'code': 'LocationNotAvailableForResourceType', 'message': "The provided location 'westus' is not available for resource type 'Microsoft.Web/staticSites'. List of available regions for the resource type is 'westus2,centralus,eastus2,westeurope,eastasia'."}

Is this still an issue? The validation seems to be happening and there aren't any resources created as yet and we fail during validation itself.
Tried the following with azd up and also azd provision.
azd up --template todo-nodejs-mongo-swa-func
Error: deployment failed: failed deploying: failed running az deployment sub create:
Deployment Error Details:
LocationNotAvailableForResourceType: The provided location 'southcentralus' is not available for resource type 'Microsoft.Web/staticSites'. List of available regions for the resource type is 'westus2,centralus,eastus2,westeurope,eastasia,eastasiastage,eastus2euap,centraluseuap'.

azd provision
Provisioning Azure resources can take some time.
Error: deployment failed: failed deploying: failed running az deployment sub create:
Deployment Error Details:
LocationNotAvailableForResourceType: The provided location 'southcentralus' is not available for resource type 'Microsoft.Web/staticSites'. List of available regions for the resource type is 'westus2,centralus,eastus2,westeurope,eastasia,eastasiastage,eastus2euap,centraluseuap'.

Shouldn't this be good enough to know the picked region isn't supported try again with the supported regions.

@puicchan to comment as that is the same error message she originally posted.


Make various network requests asynchronous

Make asynchronous the following:

Fetching user avatars

Fetching server icons

Sending the typing indicator

Sending messages

[X] I agree to the contributor agreements

What's the difference between making a pixmap and converting it to a QIcon and just making a QIcon?

What's the difference between making a pixmap and converting it to a QIcon and just making a QIcon?

A QIcon cannot be created directly from data, a QPixmap can. So, first we create a QPixmap from the raw data that FileRequestWorker got, and then create a QIcon from that QPixmap.


Bug: Diacretics in hierarchy fields

What I see in the Command Palette doesn't match the hiearchies I've configured in Breadcrumbs. Should I do a manual refresh somewhere, or is this a bug?
Palette options:

Breadcrumbs' settings:

Haha that is quite strange!
I imagine it is to do with the characters used in your hierarchy fields.
Just to be sure, please go to .obsidian.plugins/breadcrumbs/data.json, and check if your userHierarchies have any emoji in them

@thoresson please consider giving V4 a try, see here for more info: https://github.com/SkepticMystic/breadcrumbs/blob/master/V4.md


Design scalable waypoint XDS

Currently, the XDS of the waypoint is not very scalable. We have excessive per-workload listeners, multiple listener hops, etc.
This issue tracks optimizing the XDS. Stevens doc for doing the same for ztunnel can be referenced
Conceptually, we want the following logic:
Listen on Port 15008:

Terminate TLS. Verify the cert based on CA and trust domain, but nothing further.

Next, match the authority:

Case VIP:VIP_PORT -> Goto VIP
Case Pod_IP:* -> Goto Pod
unmatched -> 404

VIP:

If HTTP (sniffed or declared), parse HTTP
For each request (HTTP) or connection (TCP):

Trigger "Service" level policies
Select a single endpoint (pod) using configured LB policy
Goto PodKnownPort

Pod:

If HTTP (sniffed or declared), parse HTTP (can be skipped if done already)
For each request (HTTP) or connection (TCP):

Trigger "Pod" level policies applying to this port
Send HBONE request to Pod_IP:Port

What we actually have:
Listener:inbound_CONNECT_originate:

Terminate TLS. Verify the cert based on CA and trust domain, but nothing further.
A big inline route with :authority matches:

Case VIP:VIP_PORT -> internal vip:port cluster -> internal vip:port listener
Case Pod_IP:KNOWN_PORT -> Goto Pod:Port
unmatched -> 404. Note: we 404 on Pod_IP:UnknownPort

internal vip:port listener:

Same logic as "VIP" above, logically.
This is implemented by sending to a cluster for our VIP
That cluster has EDS resources pointing to internal pod clusters
internal pod clusters point to a single internal pod:port listener

internal pod:port listener:

Same logic as "VIP" above, logically.
Sending to HBONE is done by sending to an internal cluster inbound_CONNECT_originate with endpoint_id set to our pod:port

A single request will flow through:

inbound_CONNECT_terminate listener
to-internal-vip cluster
internal-vip listener
vip cluster
pod listener
pod cluster
inbound_CONNECT_originate listener
inbound_CONNECT_originate cluster

So we have 4 Cluster/listener pairs per request

Problems with this approach:

High overhead of listeners and clusters
Listener/Cluster per pod scales poorly, especially without delta
Route entry per pod scales poorly
Behavioral issue: cannot implement pod passthrough, as endpoint_id requires a hardcoded port. We need an "original dst" endpoint_id (https://github.com/istio/istio/issues/42637)
Typically, all pods in the same service are going to have the same RBAC (and others) policy. However, we duplicate it everywhere

Ideas:

Switch to delta XDS; ensure we have support in the control plane to incrementally send only relevant Clusters/Listeners on a pod update. (https://github.com/istio/istio/issues/42457)
Switch inbound_CONNECT_terminate to VHDS. Ensure we have support in the control plane to incremental send only relevant VHDS on a pod update
Switch RBAC, and possibly other policies, to use ECDS. Use a single shared ECDS resource when the set of policies is the same

Note: this is not granular. Envoy sees all authz policies as one resource, so if Pod1 has [a,b] and Pod2 has [b,c] they cannot share.

Somehow make endpoint_id dynamic... Not sure how

Can you replace with the right link to @stevenctl 's doc?

Updated

Can we move this discussion into a doc? I think the issue is being edited so it's difficult to follow the changes.

Forgot about this and wrote a new issue with more recent info, so lets consolidate there https://github.com/istio/istio/issues/43130


Create a decorator for the methods in the tests to print information about the current scenario being tested of the given feature. / Create a decorator for the classes in a test file that prints information about the feature that is being tested.

This PR solves this two issues:
https://github.com/Enroutemx/pyroute/issues/24
https://github.com/Enroutemx/pyroute/issues/25

I know that the code is redundant, but if anyone can feedback me relating to how can I make it simpler, I'd appreciate it. (Tacos involved)

@armando-montalvo please use rebase squash to meld the five commits into one.
$ git rebase -i HEAD~5

Fixed.


Axis does not presents correctly in vscode extension SandDance

The red marked happens in vs code extension version.
and if I choose y data<10.0, it shows me points up to 1.900 and does not include 2.000 or 2.3000 and any above in the axis.
When I use python extension version, it does not show any these weird behavior.
Are there anyway that I can fix this problem?

At first glance, it appears that these values are being sorted as strings. Can you ensure there are only numeric values in this column? It only takes one NaN to force the entire column to a string.

Thank you so much, I was mixing string and values. I am very happy with sanddance.

Thank you so much, I was mixing string and values. I am very happy with sanddance.


Use calicoctl docker image

This removes calicoctl from the charm resource, and uses the calicoctl docker image instead. This gives the charm access to the Tigera Secure EE version of calicoctl without the user having to attach it as a resource.

I'm confused by this change.  Doesn't this cause potential issues for network restricted deployments?  And why would the user have to attach the resource; wouldn't it be provided by the charm store?

I answered my own question about the reason behind this change by reading the design doc.  I still wonder whether the full image should be configurable to allow for testing newer versions without a charm release.

Doesn't this cause potential issues for network restricted deployments?

The assumption is that for network restricted deployments, the user will deploy their own docker registry and set the registry config to use it. That's necessary for non-calicoctl images anyway, so I don't think it hurts to make that a requirement for calicoctl as well.

And why would the user have to attach the resource; wouldn't it be provided by the charm store?

You figured it out already, but for anyone else following along: Tigera Secure EE uses a version of calicoctl that we can't upload to the charm store for legal reasons.

I still wonder whether the full image should be configurable to allow for testing newer versions without a charm release.

I just created a wishlist item for this. Can you take a quick look to make sure it captures your suggestion? https://bugs.launchpad.net/charm-tigera-secure-ee/+bug/1814332
I removed the image configs for the sake of time. The main use case for them in the Calico charm was to allow users to specify a different registry. That seemed unwieldy for 22 images so I went with the registry config instead.
You're right that we lost something along the way, but I think what we lost is more of a nice-to-have and not a must-have. Hence making it a wishlist item for now. Does that work for you?

Yep, wishlist item looks good.  And that makes sense about using the local image registry.


fix: set gist dependency to use latest 3.X.Y version

Complete each step to get your pull request merged in. Learn more about the workflow this project uses.

[ ] Assign members of your team to review the pull request.
[ ] Wait for pull request status checks to complete. If there are problems, fix them until you see that all status checks are passing.
[ ] Wait until the pull request has been reviewed and approved by a teammate
[ ] After pull request is approved, and you determine it's ready add the label "Ready to merge" to the pull request and it will automatically be merged.

Hey, there @jatinn 👋🤖. I'm a bot here to help you.
I think the title of this pull request is not in the correct format. Follow the instructions below and then edit the pull request title to a valid format. I'll check again after you make an edit 👍.

This project uses a special format for pull requests titles. Expand this section to learn more (expand by clicking the ᐅ symbol on the left side of this sentence)...

This project uses a special format for pull requests titles. Don't worry, it's easy!
This pull request title should be in this format:
<type>: short description of change being made

If your pull request introduces breaking changes to the code, use this format:
<type>!: short description of breaking change

where <type> is one of the following:

feat: - A feature is being added or modified by this pull request. Use this if you made any changes to any of the features of the project.

fix: - A bug is being fixed by this pull request. Use this if you made any fixes to bugs in the project.

docs: - This pull request is making documentation changes, only.

refactor: - A change was made that doesn't fix a bug or add a feature.

test: - Adds missing tests or fixes broken tests.

style: - Changes that do not effect the code (whitespace, linting, formatting, semi-colons, etc)

perf: - Changes improve performance of the code.

build: - Changes to the build system (maven, npm, gulp, etc)

ci: - Changes to the CI build system (Travis, GitHub Actions, Circle, etc)

chore: - Other changes to project that don't modify source code or test files.

revert: - Reverts a previous commit that was made.

Examples:
feat: edit profile photo
refactor!: remove deprecated v1 endpoints
build: update npm dependencies
style: run formatter

Need more examples? Want to learn more about this format? Check out the official docs.
Note: If your pull request does multiple things such as adding a feature and makes changes to the CI server and fixes some bugs then you might want to consider splitting this pull request up into multiple smaller pull requests.

Hey, there @jatinn 👋🤖. I'm a bot here to help you.
⚠ Pull requests into the branch beta typically only allows changes with the types: fix. From the pull request title, the type of change this pull request is trying to complete is: chore. ⚠
This pull request might still be allowed to be merged. However, you might want to consider make this pull request merge into a different branch other then beta.

This project uses a special format for pull requests titles. Expand this section to learn more (expand by clicking the ᐅ symbol on the left side of this sentence)...

This project uses a special format for pull requests titles. Don't worry, it's easy!
This pull request title should be in this format:
<type>: short description of change being made

If your pull request introduces breaking changes to the code, use this format:
<type>!: short description of breaking change

where <type> is one of the following:

feat: - A feature is being added or modified by this pull request. Use this if you made any changes to any of the features of the project.

fix: - A bug is being fixed by this pull request. Use this if you made any fixes to bugs in the project.

docs: - This pull request is making documentation changes, only.

refactor: - A change was made that doesn't fix a bug or add a feature.

test: - Adds missing tests or fixes broken tests.

style: - Changes that do not effect the code (whitespace, linting, formatting, semi-colons, etc)

perf: - Changes improve performance of the code.

build: - Changes to the build system (maven, npm, gulp, etc)

ci: - Changes to the CI build system (Travis, GitHub Actions, Circle, etc)

chore: - Other changes to project that don't modify source code or test files.

revert: - Reverts a previous commit that was made.

Examples:
feat: edit profile photo
refactor!: remove deprecated v1 endpoints
build: update npm dependencies
style: run formatter

Need more examples? Want to learn more about this format? Check out the official docs.
Note: If your pull request does multiple things such as adding a feature and makes changes to the CI server and fixes some bugs then you might want to consider splitting this pull request up into multiple smaller pull requests.

I modified the PR title to be a fix: PR title.
It was chore: and those types of commits do not create a new deployment. We want this PR to trigger a new deployment to customers.

:tada: This PR is included in version 3.3.0-beta.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


UFront tutorial website is down

Hi,
I would like test this framework but the website which contains tutorials is currently down.

Can you fix that, please?
Thanks,
Théo Sabattié

There isn't much information on that site actually.  If you need tutorials you can have a look at https://github.com/kevinresol/ufront-nodejs-guide

Ok', thanks, I tried to compile 01_advanced_auth and I get this error:
01_advanced_auth>haxe server.hxml && haxe tasks.hxml
\haxe\lib\compiletime/2,6,0/src/CompileTime.hx:207: characters 24-29 : Currently CompileTime.getAllClasses() can only search by package name or base class, not interface, typedef etc.
\haxe\lib\compiletime/2,6,0/src/CompileTime.hx:117: characters 34-72 : Called from
src/Tasks.hx:24: characters 14-46 : Called from
Aborted

Try to apply this patch to your CompileTime library https://github.com/jasononeil/compiletime/pull/7/files


Compiling without any issues, but it won't run at all

I haven't changed anything in the source code. It is compiling without any issues and I’m also able to flash without a problem. But I think the controller won't even boot. There are no signs that anything is running except for very little output over the serial port when powered up (mostly nulls).
I tried to comment things out in user_main.c until it started to run. I had to comment out everything that was related to mqtt... then it connected to my wifi (specified in user_config.h) and I was also only then able to see any output over the serial port.
I did the changes to user_config.h only to STA_SSID and STA_PASS and also after I tried everything without any changes.
Can someone please direct me in a direction on how to solve this issue?
Thank you in advance! And also a big thank you for investing so much time in such a project and making it open source!

Messing around a whole day with this...also reading other issues, but not the right one #62.
So I changed in the makefile:
flash: $(FW_FILE_1)  $(FW_FILE_2)
	$(ESPTOOL) -p $(ESPPORT) write_flash $(FW_1) $(FW_FILE_1) $(FW_2) $(FW_FILE_2)

to:
flash: $(FW_FILE_1)  $(FW_FILE_2)
	$(ESPTOOL) -p $(ESPPORT) write_flash $(FW_2) $(FW_FILE_2) $(FW_1) $(FW_FILE_1)

then everything worked fine

Just ran into the same problem.
Found this issue after about 2h looking for the error in my sources ... thanks a lot for the tip.
Saved my evening.


dep: move from govendor to dep

This is a first run of dep init.
Signed-off-by: zhouhaibing089<EMAIL_ADDRESS>

Outdated, close.


Unintentional behaviour with redstone ++

When you have installed redstone ++ and you can push tile entity's. The elevator can be pushed by a block and a piston.

Create a elevator.
Place stone next to elevator.
Place piston behind stone.
Send 1 redstone tick pulse into piston.
Elevator moves.

I expected the piston not to push the block or elevator.
I am using phone my computer is not working until later so I will add missing information.

Thutcore: will add later
ThutTech: will add later.
Minecraft: 1.12.2
Forge: (2854)

this probably also happens with vanilla pistons, ie without the Redstone++ mod?
elevators are entities, and those can be pushed by pistons

ok no problem that answers that one then


⚠ Bofrost.at has degraded performance

In fd00488, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1359 ms

Resolved: Bofrost.at performance has improved in fe49ce0 after 6 minutes.


asterisk-module-sccp: 4.3.4 -> 4.3.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/chan-sccp/chan-sccp/releases.
meta.description for asterisk-module-sccp is: Replacement for the SCCP channel driver in Asterisk
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.3.5 with grep in /nix/store/q3sl0qhidmlrkfjfck3w9nvz9li71ajn-asterisk-module-sccp-4.3.5
found 4.3.5 in filename of file in /nix/store/q3sl0qhidmlrkfjfck3w9nvz9li71ajn-asterisk-module-sccp-4.3.5

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
asterisk-module-sccp

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/q3sl0qhidmlrkfjfck3w9nvz9li71ajn-asterisk-module-sccp-4.3.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A asterisk-module-sccp https://github.com/r-ryantm/nixpkgs/archive/90698f7c7063ab22b0cec1c49847dd0ff8d27db1.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/q3sl0qhidmlrkfjfck3w9nvz9li71ajn-asterisk-module-sccp-4.3.5
ls -la /nix/store/q3sl0qhidmlrkfjfck3w9nvz9li71ajn-asterisk-module-sccp-4.3.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

asterisk-module-sccp

Maintainer pings
cc @dasJ for testing.

Result of nixpkgs-review pr 216525 run on aarch64-linux 1

Result of nixpkgs-review pr 216525 run on aarch64-linux 1

Result of nixpkgs-review pr 216525 run on aarch64-linux 1


WebID spec is not explicitly linked

https://solid.github.io/solid-oidc/ references WebID but, in contrast to https://solidproject.org/TR/protocol, does not link to https://www.w3.org/2005/Incubator/webid/spec/identity/
This is relevant for issues such as https://github.com/solid/specification/issues/376

How is WebID not linked? See the terminology section as well as the
specific bibliography section: https://solid.github.io/solid-oidc/#biblio-webid
Is there a particular section you see this link missing?

I apologize; I had taken the statement

In line with Linked Data principles, a WebID is a HTTP URI that, when dereferenced, resolves to a profile document that is structured data in an RDF 1.1 format.

from a non-normative section, where the concept is not linked. (But yes, non-normative.)
So this one can be closed for me; but solid/specification#376 might still be an issue.

Although we might also want explicit references in 8.4. OIDC ID Token Validation.


When open Sketch Plugin file, nothing shows

I m beginner, i tried to install but when I open the basic-setup plugin file, nothing is shown, just blank. (I see plugin is successfully installed on Sketch on Plugin tab)
| -------------------------------------------------------------------------------------------------

Reporting a bug or issue

After npm install

-><EMAIL_ADDRESS>install /Users/bhur/react-sketchapp/examples/basic-setup/node_modules/fsevents

node install

[fsevents] Success: "/Users/bhur/react-sketchapp/examples/basic-setup/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile

<EMAIL_ADDRESS>postinstall /Users/bhur/react-sketchapp/examples/basic-setup/node_modules/webpack/node_modules/uglifyjs-webpack-plugin
node lib/post_install.js

<EMAIL_ADDRESS>postinstall /Users/bhur/react-sketchapp/examples/basic-setup
npm run build && skpm-link

<EMAIL_ADDRESS>build /Users/bhur/react-sketchapp/examples/basic-setup
skpm-build

[1/2] 🖨  Copied src/manifest.json in 10ms
[2/2] ⚒  Built ./my-command.js in 963ms
success Plugin built
[1/1] 🔗  Symlinking the plugin basic-setup...
success Plugin basic-setup symlinked
basic-setup - 1.0.0
warning Starting with Sketch 45, you need to restart Sketch for your plugin to appear in the "plugins" menu
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN<EMAIL_ADDRESS>No repository field.
After npm run render,

<EMAIL_ADDRESS>render /Users/bhur/react-sketchapp/examples/basic-setup
skpm-build --watch --run

🖨  Copied src/manifest.json in 12ms
SyntaxError: Unexpected identifier 'j'. Expected either 'in' or 'of' in enumeration syntax..
Plugin “react-sketchapp: Basic Setup”, line 7314:
»   for (let j = 0; j < object.count(); j += 1) {
⛏  Built ./my-command.js in 4627ms
Sketch version:
47

What operating system are you on?

OS X El Capitan .Ver 10.11.6
From: Jon Gold<EMAIL_ADDRESS>Reply-To: airbnb/react-sketchapp<EMAIL_ADDRESS>Date: Wednesday, November 29, 2017 at 2:09 PM
To: airbnb/react-sketchapp<EMAIL_ADDRESS>Cc: Bin Hur<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [airbnb/react-sketchapp] When open Sketch Plugin file, nothing shows (#210)
What operating system are you on?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/airbnb/react-sketchapp/issues/210#issuecomment-347963808, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASc-Sk_0hM_bURSD2Rk4Yxg3uWJOfz1Xks5s7avQgaJpZM4QvdjE.

The information contained in this e-mail message and any attachments is confidential. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that any review, dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to this e-mail and delete the message and any attachments from your computer.

+1

I'm having the same issue, it works fine on my mac with Sierra, but with my other mac that runs El Capitan it throws the same error.
SyntaxError: Unexpected identifier 'j'. Expected either 'in' or 'of' in enumeration syntax..
Plugin “yaardvark-core: Render”, line 7287:
»   for (let j = 0; j < object.count(); j += 1) {

+1 HighSierra
SketchApp 48.1

I'm getting
TypeError: MSAttributedString.alloc().initWithAttributedString is not a function. (In 'MSAttributedString.alloc().initWithAttributedString(attribStr)', 'MSAttributedString.alloc().initWithAttributedString' is undefined)
line: 2957

Running High Sierra 10.13.1, Sketch 48.1

Wait nevermind, this is a different issue. @saiqulhaq see https://github.com/airbnb/react-sketchapp/issues/213#issuecomment-350017757, it doesn't work with Sketch 48

@maartenschumacher ok thanks, I will try

it does work with Sketch48, see https://github.com/airbnb/react-sketchapp/issues/225
This is issue is about El Capitan and lower

Hi - getting the same issue - also on El Cap - any ETA on this?

I follow the instructions and get so far:
Copied src/manifest.json in 12ms
SyntaxError: Unexpected identifier 'j'. Expected either 'in' or 'of' in enumeration syntax..
Plugin “my-command”, line 8430:
»   for (let j = 0; j < object.count(); j += 1) {
⛏  Built ./my-command.js in 2218ms
And then nothing.
node 9.3.0
npm 5.6.0
Sketch 48.1
OSX 10.11.6
I'm stumped.

I'm getting this same error as well.  Any updates ?
Sketch 49
OSX 10.11.6

workaround: update your macOS

Does that workaround post mean this is a wontfix?

I traced this to the<EMAIL_ADDRESS>library, which uses let, which the version of WebKit that Sketch has on 10.11 doesn’t like.
A quick check seemed to show that yoga-layout 1.9 is correctly restricted to ES2015 and probably would prevent this from happening.
I’m also looking into whether it’s feasible to hack the webpack config to run Babel on the yoga-layout package.

Sorry, I meant ES5. Updated my comment above.
FWIW I got this running locally by adding the following webpack.skpm.config.js file to my plugin’s root:
module.exports = function (config, isPluginCommand) {
  config.module.rules[0].exclude = /node_modules\/(?!(yoga-layout\/sources))/
  return config;
}

Note: This only works if yoga-layout was installed just inside node_modules, which is what npm will probably do, if you haven’t messed around and installed competing versions of it.


fix possible NullPointerException

LambdaProperties#getS3Buckets threw a NullPointerException, when no
config string was set.
This change replaces the manual comma-separated-value parsing with the
built-in Spring Boot functionality.

:+1:

:+1:

Codecov Report

Merging #522 into master will not change coverage.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master     #522   +/-   ##
=========================================
  Coverage     55.43%   55.43%
  Complexity      533      533
=========================================
  Files           136      136
  Lines          3110     3110
  Branches        211      211
=========================================
  Hits           1724     1724
  Misses         1305     1305
  Partials         81       81

Impacted Files
Coverage Δ
Complexity Δ

...p/plugin/lambda/config/LambdaPluginProperties.java
100% <100%> (ø)
3 <1> (ø)
:arrow_down:

...rg/zalando/stups/fullstop/config/ClientConfig.java

...rg/zalando/stups/fullstop/config/ClientConfig.java
92% <0%> (ø)
0% <0%> (?)

Continue to review full report at Codecov.

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


Add basic template.

Related https://github.com/Men-Digital-Solutions/Men-Digital-Solutions.github.io/issues/1

Utility scripts and sanitizers will be added on different pr.


.mp4 with multiple audio tracks to .mp3 output help

My .mp4 have multiple audio tracks.
I want to cut audio track 1 and output this track audio(.mp3)
I use:
--export audio --edit audio:stream=0,threshold=0.03 --frame-margin 15,20  --audio-codec mp3 --audio-bitrate 320k --keep-tracks-seperate --no-open
But auto editor said: Warning! 'mp3' container doesn't support multiple audio tracks.
And output a combine audio.
How can I write is right?
Help me please ! Thank you very much!

ffmpeg -i video.mp4 -map 0 -map -0:a:1 -c copy video_one_track.mp4
auto-editor video_one_track.mp4 -o out.mp3


⚠ ClamAV has degraded performance

In 979a0dc, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 105 ms

Resolved: ClamAV performance has improved in e196eee.


Change Subparser Metavar and Make Descriptions Lowercase

Made descriptions and titles lowercase to match argparse's default descriptions and titles. Subparser metavar changed also.

Ignore this.


Fixes #186: Use Event Recorder to verify failure caes instead of logs

This issue is suggested by https://github.com/knative/build-pipeline/issues/186.  In pipelinerun_test, we are using log observer to verify certain negative test cases.   We could instead refactor to inject fake recorder to generate events and then validate these events in the tests.
In reconciler.go, a recorder can be passed as an option.   If a recorder is presented in the option, it will be used.  Otherwise, a new recorder is created which keeps the old behaviour the same.   As mentioned, pipelinerun_test.go will pass a fake recorder in Reconciler's options.
Reconcile() can still return errors.   I am not sure if we want to change the method's return type at this point.  Especially, the method can fail/return before the pipeline run object can be obtained which is needed in order to log an event.

I signed it.
Thanks,
William
On Tue, Jan 1, 2019 at 11:27 PM googlebot<EMAIL_ADDRESS>wrote:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project (if not, look below for help).
Before we can look at your pull request, you'll need to sign a Contributor
License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here (e.g. I
signed it!) and we'll verify it.
What to do if you already signed the CLA Individual signers

It's possible we don't have your GitHub username or you're using a
different email address on your commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.

Corporate signers

Your company has a Point of Contact who decides which employees are
authorized to participate. Ask your POC to be added to the group of
authorized contributors. If you don't know who your Point of Contact is,
direct the Google project maintainer to go/cla#troubleshoot (Public
version https://opensource.google.com/docs/cla/#troubleshoot).
The email used to register you as an authorized contributor must be
the email used for the Git commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
The email used to register you as an authorized contributor must
also be attached to your GitHub account
https://github.com/settings/emails.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/knative/build-pipeline/pull/362#issuecomment-450785471,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AqAEoZm91lUmzblcszoAbmokez99adBxks5u_DUggaJpZM4ZmMe2
.


Updates the optimization tutorial for TensorFlow 2.0

Context: The existing TensorFlow tutorial was out of date (requiring the old TF1.3 backend), and hand-written using restructured Text.
Description of the Change:

Ports the tutorial to use the new TF2 backend

Adds a section to the tutorial on computing quantum gradients using the TF2 backend

Ports the tutorial to Sphinx-Gallery

Benefits: As the tutorial has been ported to Sphinx gallery, it is now executable, making it easy to test to see whether it provides the correct output.
Possible Drawbacks: n/a
Related GitHub Issues: n/a

Rendered version of the tutorial available here.


Consider adding a sample using the JWT authentication

I've been trying to implement this and am currently basing the implementation on some loose issues that show code of people implementing this. It would be very helpful if either the docs or this repository had a valid way of handling JWT tokens.
I realize it's probably an extensive topic, but a minimal implementation could be linking to a couple of good explanatory articles and then pointing towards one sample project that has this working.

@janpieterz  https://github.com/AzureADSamples have many samples showing how to validate a JWT.


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 14:12:29 on 2023.08.10
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 0, errors out: 0
Original problem ID: 35244
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=35244

Problem has been resolved in 3m 0s at 14:15:29 on 2023.08.10
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 35244


Updated: miktex 2.9.6942

${}

82a112c7-5ad5-43b5-8a37-b76c0263741c

Newer version of miktex (2.9.7407) is now available in master. 36e2fe6b867593f7d10a33f41875dc1759d87fa4


Improve startup performance in interactive mode

Currently, it takes quite long to load SoSSim in the browser. Some options to investigate:

Use pyodide directly instead of through pyscript. There isn't really any essential features added by pyscript, and some sources indicate that pyodide starts significantly faster.
Convert SoSSim to a package, and create a wheel file which can be loaded by pyodide. According to pyodide's documentation, this should be significantly faster, both because it is fetched as a single file instead of many files, and because it is a pre-compiled binary.

The potential drawbacks of these solutions are:

The build step becomes mandatory, so whenever a change is made during development, the wheel file needs to be built before they can be tested in the browser. This is manageable manually, but it could also be automated by invoking a wheel build in the web server whenever the wheel is fetched and some files are changed (can be enlisted using gitpython).
According to the pyodide documentation, the wheel file name is required to be on a specific format, which includes a version number. This means that the link to the script in the html file would need to be changed on each new build (at least when the version number changes). However, in a way this is already happening in pyscript, since the pyconfig.toml file is generated by build and must be regenerated when the file structure changes. So the html-file could import the content of a certain file whose name is always the same.  That file is generated by the build step and contains the file name of the wheel file (and possibly other things, such as imported packages). It could be as simple as the list of packages, including the wheel, and the file can be fetched in JS using fetch(url).then(r => r.text()).then(t => some_expression_to_process_the_text(t)).
A first step could be to change the pyconfig.toml into pyconfig.json. This would make the file directly readable from JS, and then the same file could be used independently if it is through pyscript or pyodide. UPDATE: It is only the next version of Pyscript that supports json files, so this does not work right now.

Making SoSSim into a package has other benefits. At some point, it will probably be desirable to put an outer loop that calls the simulator for a number of different scenarios and collects statistics, e.g. to evaluate how well a proposed SoS mechanism performs in different situations.

Implementation steps:

[ ] Rewrite build script to generate json instead, and change config file name accordingly in html file.
[ ] Create a package and the necessary files for generating the wheel, including adding an option in the build script for wheel generation. Possibly, it should also remove old wheel files.
[ ] Modify build script so that the fetched files are removed from the config file, and the package wheel file is added under packages. The building of the wheel file should also include building the config file.
[ ] Create a boilerplate html file for pyodide, that fetches the config file, installs all the packages mentioned using micropip, and runs the sossim.py script. This should replace the current sossim.html.

It turns out that the current stable version of pyscript does not support json config files, it is planned for the next release. Here is an alternative plan:

[ ] Rewrite the build script to generate a json config file containing packages and files.
[ ] Create a generic html file for pyodide, that fetches the config file, installs all the packages using micropip, reads all the module files and imports them.
[ ] Create a package and the necessary files for generating the wheel, including adding an option in the build script for wheel generation. Possibly, it should also remove old wheel files.
[ ] Modify build script so that the fetched files are removed from the config file, and the package wheel file is added under packages. The building of the wheel file should also include building the config file.

A problem when generating the packages is that there is currently also the copy of domed in this directory. A solution that packages sossim also requires to finally remove domed from this repo.

The repository has been refactored as follows:

sossim is now a package.
The browser version and all its relevant files are now moved to the directory app.
The pyconfig file is now generated to load the wheel file of sossim as a package rather than individual files.
The build script is now also able to generate the wheel file.
The domed package is now completely removed, and this repository relies on the pypi domed package instead of a local copy.

To make the app html file completely generic, the title element from the head has been removed. The intention was to set this dynamically in the user interface, but there does not seem to be an easy and obvious way to do this in domed?

Issue with title now resolved.

Returning to the issue with pyodide vs. pyscript. Given that the pyscript html file for the app is now completely generic, a similar generic file can be made for pyodide. It only needs to get information about what packages to load, otherwise all the rest can be hardcoded as in the case for pyscript.
To get the package information, the pyconfig.toml file needs to be parsed, at least rudimentary.

The file app/sossim_pyodide.html is now working. It does the same thing as sossim.html but without using pyscript. However, the startup time is almost the same, so it does not provide much benefit.


Question: What pm_type mptcpd has?

Hello, MPTCP developer.
I'm a newbie to understand MPTCP daemon.
Can I ask for one question?
What pm_type this mptcpd has?
Kernel type? or UserSpace type?
I'd like to know it.
Thanks,
Seongsik Kim.

Hello
Just to be sure, are you talking about the sysctl knob: net.mptcp.pm_type?
If yes, mptcpd can work with both, it depends on which path manager plugin you use, e.g. add-adv will setup the in-kernel path manager, while sspi will require the userspace PM.
The in-kernel PM can also be configured with ip and recent versions of Network-Manager.
Does it reply to your question?

Thank you matttbe,

are you talking about the sysctl knob: net.mptcp.pm_type?

Yes.
Actually, I would like to know if upstream_add_subflow function can be used in Userspace PM.
https://github.com/multipath-tcp/mptcpd/blob/7fb64162e167ae6822bd2f7e88daa59829eebcce/src/netlink_pm_upstream.c#L339
Can upstream_add_subflow function be used in Userspace PM?
Thanks.

Can upstream_add_subflow function be used in Userspace PM?

Yes it can. All functions taking a token are for the userspace PM because they do something per connection.
Please note that you are supposed to use public functions, see the doc, e.g. mptcpd_pm_add_subflow() in this case, instead of upstream_add_subflow().

I guess I replied to the original question, I can then close the ticket.
If not, feel free to continue the discussion here.

Thank you matttbe.


⚠ Samsung has degraded performance

In d10718c, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2406 ms

Resolved: Samsung performance has improved in a7f3a8d.


[Feature] The design of the loss name field is controversial

Describe the feature
losses=[
     dict(
             type='ChannelWiseDivergence',
             name='loss_cwd_logits', # ---------------- this---------------
             tau=1,
             loss_weight=5,
          )
  ]

From the OpenMMLab development model, there should be no additional loss name field, which will bring the following problems:

Registrar mode generally does not have this way of writing, which does not conform to the way of class registration.
The user needs to set this parameter every time, is it necessary?  This will increase the burden on users.

I am not sure about your specific needs, I hope to discuss this. Looking forward to your feedback.

Because there are several losses in distiller, they need to be distinguished according to name.
The name will be poped before build_loss.
https://github.com/open-mmlab/mmrazor/blob/4611be25e07b2e4d9d26d615215f06dc86a010ef/mmrazor/models/distillers/single_teacher.py#L64-L66


Unlike aima-python, index of algorithms in aima-java does not mention whether any unit tests have been written for a specific algorithm.

This may make it difficult for beginners to know which algorithm has been tested and which hasn't been tested.  I would like to fix this in the documentation. Shall I go ahead?

This is the difference in documentation I'm talking about:
aima-java:

aima-python:

Tests and notebook sections have been added. Hence I am closing this issue.