Updating some outdated testflight-samples

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context

People had a hard time when getting into spaceship for testflight, because of outdated docu

Executed and validated all commands with current version of fastlane
Description
Access to the build in a build-train has changed, also some commands of build-object and train-object

I signed it!

Hey @kevinm90, sorry it took so long to get a reaction again.
Is this all still valid and good to merge? Would be nice if you could rebase onto current master to get the new CI setup and make sure the merge will be fine.


Faster parsing - cache calls to getTagForSymbolName

Using std::map as the cache was sufficient. I wanted to try some prefix/radix tree, but with this change, all the parsing time is spent elsewhere, so I didn't try it.

I didn't try any compile-time approach because it seemed to me to be more complex. I wanted to try the simplest solution that might reduce the problem - and this caching made it disappear.

Alright. I would only suggest one change to this pr, then. The getTagForSymbolName symbol should refer to the cached version, not the uncached version.

@dwightguth Would renaming the generated getTagForSymbolName into _getTagForSymbolName and having a global cache work? I assume there is no threading involved.

I mean, not with that name, no. C/C++ has undefined behavior if a global variable or function starts with an underscore followed by a lowercase letter. But in general, renaming the function ought to work. I would make the cache thread-local though just to be on the safe side. There is no threading within the interpreter itself, but if you have a global cache and someone tries to embed an interpreter into a threaded application, then you're going to end up racing on accesses to the cache. In general we want to support cases like that, so making the cache thread-local is a good idea. But it should just be a matter of adding the thread_local specifier to the variable.

I will take this over since @h0nzZik is no longer working on RV-Match.


bug: systemd-networkd is still starting dhcp on wlan0

NetworkManager should manage this, have systemd-networkd either not run or ignore any interfaces managed by NetworkManager.

Fixed


Unexpected behavior of FutureOr when returning either nothing or a Future

This is possibly  related to issue #32443 and #35237.
If I have the following:
void main() async {
  final initialFuture = Future<int>.delayed(Duration(seconds: 1), () { return 1; });
  final secondFuture = initialFuture.then<void>((val) {
    if (val != 1) {
      return;
    }
    return Future<void>(() {
      print('void void void!');
    });
  });
  await secondFuture;
}

The compiler/analyzer will complain that the 'return' statement is invalid, even though it's a FutureOr.
If I reorder the code to just let it fall through:
if (val != 1) {
} else {
    return Future<void>(() {
      print('void void void!');
    });
}

Then the compiler/analyzer will not complain, and things work as intended.
Alternatively, I could explicitly return null; and that will work as well.
It seems to me that, ideally, the first case 'should just work'. The reordering of the code working properly surprises me given the inability to just return.

This is currently working as specified:
It is a compile-time error if $s$ is \code{\RETURN{};},
unless $T$ is \VOID, \DYNAMIC, or \code{Null}.

We could allow FutureOr<void> in that list as well.
For this specific case, inference would also need to be changed to infer FutureOr<void> for the return type, rather than the more specific Future<void> type.
cc @lrhn @eernstg

The rule for an asynchronous non-generator function is based on flatten(T) where T is the return type. So the return type can be Future<void>, and FutureOr<void> is allowed to join for free. ;-)
But the type FutureOr<void> is dubious in itself, because there is no safe way to distinguish the void case from the Future<void> case (cf. https://github.com/dart-lang/sdk/issues/35237#issuecomment-440660116).
In the case that we have here, a synchronous non-generator function, we can't use flatten because we don't want to allow return; in such a function when the return type is Future<void>.
To me, this is a hint in the direction that it isn't sufficiently justified to add FutureOr<void> to the list, such that FutureOr<void> f() { return; } is allowed.
Also note that the original example can be modified slightly to gain access to the special treatment of FutureOr<void> for asynchronous functions, which will allow it to compile with no errors:
void main() async {
  final initialFuture =
      Future<int>.delayed(Duration(seconds: 1), () { return 1; });
  final secondFuture = initialFuture.then<void>((val) async {
    if (val != 1) return;
    print('void void void!');
  });
  await secondFuture;
}

So maybe it's better to keep the rules as they are, and recommend using an async function in this kind of situation.

Working per specification, closing issue.


Bulletholes

About the PR

Added bulletholes that appear when a wall is hit by a bullet. These only appear when damage is done to a wall, so invincible walls do not get bulletholes (parity).
Why / Balance

Parity
Technical details

There are 10 bullethole configuration states and a max of 24 bulletholes. Each state and count gets a separate state in the rsi.
Bullethole component tracks state and count.
When an object with Bullethole component (base wall) is damaged by an entity with BulletholeGenerator component (base bullet), bullethole count is incremented, and an appearance update is sent out.
Bulletholes are displayed as a layer on top of the wall. They are hidden by xeno weeds (parity)
Media

https://github.com/user-attachments/assets/fd44f7e0-d31a-4b7d-9f2f-a718f8007fbf
Requirements

[x] I have read and am following the Pull Request and Changelog Guidelines.
[x] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl:

add: Added bulletholes.

it's beautiful

robust toolbox decal technology has now reached goldsrc levels


New Dry Run Feedback

Critical Changes
Changes

Consolidated dry run feedback based on design improvements

Issues Closed
New Metadata
Deleted Metadata

Tracking W-028757


Add Sphinx Documentation to Github Pages for Releases

Background

Currently, we only add the Sphinx documentation to Github pages for the main branch. We need the same for released versions.

Acceptance Criteria

Add Github Action to add Sphinx Documentation to Github Pages for Releases
Generate overview pages which shows the links to documentation for all available versions
Because of ongoing trouble with the deploy-to-github-pages.sh shell script, please rewrite it in python3

We decided to move this functionality to its own repository. So, this repository only requires to install the new tool and run in CI.

depends on https://github.com/exasol/sphinx-github-pages-generator


Proposition | New form of Zip: MultiZip

@atifaziz, as instructed
I used this in financial analytics. Its a form of a single Reduce step of Map/Reduce pattern. it implements Zip but on a variable number of sources, with the caveat that they are all of the same type.
Current values of all source streams are packed in an array and send to the caller suppled resultSelector reducer which will process them into TResult.
It takes several parameters:
public static IEnumerable<TResult> MultiZip<TSource, TResult>(
    IEnumerable<IEnumerable<TSource>> sourceList,
    Func<TSource[], bool[], TResult> resultSelector,
    MultiZipMissingSource missingSourceAction = MultiZipMissingSource.Remove,
    MultiZipMode operatingMode = MultiZipMode.Shortest,
    bool immutableResultSource = false)

sourceList is the list of streams. resultSelector is the reducer, missingSourceAction and operatingMode define how the cycling will be done (see below). Ultimately I've taken the naming scheme you used in the three separate Zip* methods with variable-type-fixed-streams you already have. Defaults to removing missing sources and doing the Shortest (exit on first exhaust) mode.
immutableResultSource controls allocation by reusing the results arrays, which can make a difference in a scenario with large number of sources. For most uses it can be reused, if caller wants to store arrays somewhere, they can flip this to true.
resultSelector is also supplied with a bool-map of which elements were sourced from streams and which are default(TSource) for exhausted streams in Longest mode of operation.
Explanation of enums:
        /// <summary>
        /// Determines the behavior of MultiZip extension when the list of sources contains a missing (null) source.
        /// </summary>
        public enum MultiZipMissingSource
        {
            /// <summary>
            /// Removes all missing (null) sources from the sourceList. This will affect the ordering of values sent to resultSelector. This is the default MultiZip behavior.
            /// </summary>
            Remove,
            /// <summary>
            /// Ignore missing (null) sources, treat them as empty, serving default values and indicating an exhausted source. Keep in mind that missing sources will prevent processing if exhausted action is break or error.
            /// </summary>
            Ignore,
            /// <summary>
            /// Throws InvalidOperationException if any of the sources is missing (null). Will not throw exception on valid but empty sources.
            /// </summary>
            Error
        }

        /// <summary>
        /// Determines the behavior of MultiZip when one or more sources are exhausted. Effectively implements Shortest, Longest and Equi variants of the MultiZip implementation.
        /// </summary>
        public enum MultiZipMode
        {
            /// <summary>
            /// Stops processing as soon as any of the sources is exhausted. The boolean map sent to resultSelector will always contain `true` values and can be ignored. This is the default MultiZip behavior and is the same as MultiZip-Shortest.
            /// </summary>
            Shortest,
            /// <summary>
            /// Continues processing until all sources are exhausted. Exhausted sources will continue serving the default value for T, please use the boolean map sent to resultSelector to determine which values are sourced and which are default. This behavior is the same as MultiZip-Longest.
            /// </summary>
            Longest,
            /// <summary>
            /// Will throw InvalidOperationException if any (but not all) sources are exhausted. If all sources are exhausted at the same time, it simply ends processing. The boolean map sent to resultSelector will always contain `true` values and can be ignored. This behavior is the same as MultiZip-Equi.
            /// </summary>
            Equi
        }

The version I have does not support async, but it can be made. Also, several overrides can be made to facilitate different forms of result selector.
Ok, let me know. I can post this relatively quickly, I already have the code, I just need to write some tests.

Btw, hwo come you chose to use "Equi" word in Zip? Why not "Equal" or some such?

This is already available as the operator Transpose.

https://morelinq.github.io/4.1/ref/api/html/M_MoreLinq_MoreEnumerable_Transpose__1.htm

https://morelinq.github.io/4.1/ref/api/html/M_MoreLinq_MoreEnumerable_Transpose__1.htm

Not really the same thing, though in theory you could use MultiZip to transpose (even fully transpose with default placements), its not its primary goal. MultiZip zips variable number of streams into one stream

Well, the transpose does not have a resultSelector, or am I missing something? you would still need to feed this stream into another e numerator to reduce the transposed rows.
Transpose would also not let me know which values came through and which streams exhausted. So, yea, transpose would return [[10, 20, 30], [11, 31], [32]] from the documented code mentioned above, but MultiZip in Longest mode would return [[10, 20, 30], [11, 0, 31], [0, 0, 32]] and would also return [[true, true, true], [true, false, true], [false, false, true]] to tell you which values were actually sourced and from which stream position.
Well, one of the examples where we used this was loan transaction processing where it was fed account payment streams grouped by month/year and produced a stream of monthly analitics. It had about 30000 input streams and produced one (as I sad its a from of a reduce pattern). Hence the reusable result array (but we can make it default true if that is a concern, although unless you are projecting the result array into TResult itself it does not really matter if its reused, the mutliZip itself does not project those rows like Transpose does). This is a heavy duty cruncher by design where variable number of sources would be generated dynamically. We mostly used it in Longest mode. This is not really for a small number of fixed manually generated streams.
Btw, Strict does sound better, imho.

Well, the transpose does not have a resultSelector, or am I missing something? you would still need to feed this stream into another enumerator to reduce the transposed rows based on custom logic. Transpose returns IEnumerable<IEnumerable<TSource>>, MultiZip returns IEnumerable<TResult>

Technically, resultSelector is just a shortcut for Transpose().Select()...

Suppose the following:
var matrix = new[]
{
    new[] { 10, 11 },
    new[] { 20 },
    new[] { 30, 31, 32 },
    new[] { 40, 41, 42, 43, 44, 45, 46 },
};

Transpose would also not let me know which values came through and which streams exhausted. So, yea, transpose would return [[10, 20, 30], [11, 31], [32]] from the documented code mentioned above, but MultiZip in Longest mode would return [[10, 20, 30], [11, 0, 31], [0, 0, 32]]

matrix.Transpose().TakeWhile(col => col.Count() == 4) will give you the same behaviour as Zip where it stops yielding as soon as one of the source streams is exhausted.
matrix.Select(row => row.Pad(7)).Transpose() will give you the same behaviour as ZipLongest where all other streams will be padded as long as one of the source streams is still yielding.
Now, admittedly, both of these require you to know one of the two dimensions, either in terms of expected columns or rows.

Well, one of the examples where we used this was loan transaction processing where it was fed account payment streams grouped by month/year and produced a stream of monthly analitics. It had about 30000 input streams and produced one (as I sad its a from of a reduce pattern).

Good to hear about real use cases and thanks for sharing. I'm not surprised to be honest. I've dealt with gigabytes of data processing in constant memory with (More)LINQ so can appreciate the scale and dynamic nature of sources you might be dealing with.

Hence the reusable result array (but we can make it default true if that is a concern, although unless you are projecting the result array into TResult itself it does not really matter if its reused, the mutliZip itself does not project those rows like Transpose does). This is a heavy duty cruncher by design where variable number of sources would be generated dynamically. This is not really for a small number of fixed manually generated streams.

If you're dealing with large arrays like 30,000 elements, it'll easily end up on the LOH. They won't be collected with younger collections and the LOH isn't compacted by default, which can lead to fragmentation. Reusing the array certainly makes sense if TResult is going to be small.
If we decide to add this, it seems to me that this will have a design similar to Batch that allows reuse of array from a pool. Did you have a look at its PR and implementation?
The MultiZipMissingSource option seems odd to me. I don't think anything else in LINQ does that.

Btw, Strict does sound better, imho.

Yeah, naming is hard. People used to get confused by Zip alone, but now have just gotten used to it.


Replace CloseShield* constructors with factory methods

Using CloseShieldInputStream, CloseShieldOutputStream, CloseShieldReader or CloseShieldWriter currently makes it easier to let resource leaks go undetected. That's because most IDEs are smart when it comes to wrapping an InputStream into another InputStream, and likewise for OutputStream, Reader and Writer - it will assume that the close method delegates and therefore assumes that closing the wrapper is safe. For instance, the following will not produce an IDE warning that the FileInputStream is never closed:
try (InputStream inputStream = new CloseShieldInputStream(new FileInputStream(file))) {
    // use inputStream
}

This PR should make it easier for IDEs to detect such resource leaks by two simple changes:

Add a static method to do the wrapping. IDEs are not smart enough to detect that these static methods simply wrap the given resource. (In fact, if I'd make a copy of Objects.requireNonNull, my IDE would complain about that too.)
Deprecate the constructors so people are encouraged to use the static methods. In version 3.x these can be made private.

Using a static import for the wrapper method, the above code snippet becomes the following, and there is an IDE warning that the FileInputStream is never closed:
try (InputStream inputStream = dontClose(new FileInputStream(file))) {
    // use inputStream
}

I've tried to import and use all of the separate dontClose methods in one class, and the compiler has no problems with that, so there will be no ambiguity errors if you statically import more than one dontClose method.

These failed tests are unrelated to this PR. They are caused by test FileUtilsTestCase.testForceDeleteReadOnlyFile that fails to delete the file on Windows. The same occurs on my local machine, it's the only failing test.

Coverage increased (+0.07%) to 88.593% when pulling 32ffd80b6c3393ca771831d73374d3457df74ea7 on robtimus:CloseShield.dontClose into 1dc7834e639b2245ada901bc011f651a09a98aaf on apache:master.

Hi @robtimus
Please rebase on git master which should give you a green set of builds.

Hi All:
I'm not a fan of the factory method name dontClose() as I usually only use static imports for JUnit methods, and this it's also weird to me to read code that says "don't do something", so CloseShieldInputStream.dontClose(...) is particularly odd to my ear, YMMV of course.
The following reads better to me:
try (InputStream inputStream = CloseShieldInputStream.on(new FileInputStream(file))) {
    // use inputStream
}

or:
try (InputStream inputStream = CloseShieldInputStream.with(new FileInputStream(file))) {
    // use inputStream
}

WDYT?

I've come to like code that almost reads as if it's English. I don't get a feeling about how to interpret the first one: "a CloseShieldInputStream on a new FileInputStream". The with option reads better, but it still sounds a bit off.
How do you feel about simply calling the methods "wrap" or "wrapping"?
try (InputStream inputStream = CloseShieldInputStream.wrap(new FileInputStream(file))) {
    // use inputStream
}
try (InputStream inputStream = CloseShieldInputStream.wrapping(new FileInputStream(file))) {
    // use inputStream
}

If you don't like those options (and can't think of a better one), I think "with" is the best of the other two alternatives: "a CloseShieldInputStream with a new FileInputStream" does say what it means.

I thought of another alternative that I think works both with and without static imports:
try (InputStream inputStream = CloseShieldInputStream.preventFromClosing(new FileInputStream(file))) {
    // use inputStream
}
try (InputStream inputStream = preventFromClosing(new FileInputStream(file))) {
    // use inputStream
}

I've come to like code that almost reads as if it's English. I don't get a feeling about how to interpret the first one: "a CloseShieldInputStream on a new FileInputStream". The with option reads better, but it still sounds a bit off.
How do you feel about simply calling the methods "wrap" or "wrapping"?
try (InputStream inputStream = CloseShieldInputStream.wrap(new FileInputStream(file))) {
    // use inputStream
}
try (InputStream inputStream = CloseShieldInputStream.wrapping(new FileInputStream(file))) {
    // use inputStream
}

If you don't like those options (and can't think of a better one), I think "with" is the best of the other two alternatives: "a CloseShieldInputStream with a new FileInputStream" does say what it means.

+1 to wrap, it really captures what is going on here.

I've renamed the methods to wrap, and removed the static imports in the test classes.

I will review all of this tomorrow (Thursday).

@robtimus Merged to git master. Thank you for the PR :-)

You're welcome :)


Selenium tool uses IE Edge Mode forces the infobar flags for security , causing issue in overall application usage.

Utilizing automation tools such as Selenium may inadvertently trigger IE Edge Mode, leading to the enforcement of infobar flags for security. This, in turn, can result in issues affecting the overall application usage. Two specific infobars, namely 'You are using an unsupported command line flag --ie-mode-force. This causes stability and security risk.' and 'Sites in this tab will open in Internet Explorer mode,' are particularly problematic. Unfortunately, these flags cannot be turned off, raising the question: Is there a registry setting available to disable them?
how to turn these off?

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

ID: de9fa537-f960-f6f9-a39f-5ea14b41f01f
Version Independent ID: de9fa537-f960-f6f9-a39f-5ea14b41f01f
Content: Use Internet Explorer Driver to automate IE mode in Microsoft Edge - Microsoft Edge Developer documentation
Content Source: microsoft-edge/webdriver-chromium/ie-mode.md
Service: microsoft-edge
Sub-service: devtools
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

Thanks for reaching out about this. @bwalderman can you help answer the above please?

Closing this since we didn't hear back.


Hide the protobuf generated code usage into a Helper class

Is your feature request related to a problem? Please describe.
Now, i see some proto auto-generated class appear the user-side API, it would be difficult and not graceful to let the user read the auto-generated class. Further more, as a contributor of Alluxio, i still don't want to touch the auto-generated class in the rpc server side.
Describe the solution you'd like
I think, we should create some ProtoBufferHelper class as a layer between the human readable class and proto auto-generated class, then, whichever side of rpc, it just call the xxxConvert method in the ProtoBufferHelper class to get the expected object.
Describe alternatives you've considered
As it would be some alternatives in the API, we can start this work anytime, but we should keep the legacy api live but with the annotation Deprecated the 2.x, removed it in 3.0.
Well, it could be a lot of refactor effort here, but do refactor in a IDE, it does not invoke many human work here.
We can separate this work into some sub task, and do it concurrently.
Urgency
Now, many applications use the alluxio.client.file.FileSystem, the developer of these applications have to open and read the auto-generated class, and build the instance of it, it is not a kind way.
Additional context
Hide the auto-generated class so that limited them into a small layer, few developer maintain it, many developer say bye-bye to these noisy classes.

@maobaolong Thanks for this issue! Will the helper classes be auto-generated? My concern would be the maintenance cost of keeping the helper classes consistent with the proto generated classes.

@gpang Yeah, it will be a little work about keep the consistent between both the auto-generated class and the human readable class with the helper class. But we can still keep the consistent by changes-invoke human mode, for example, if the message of proto change, the author should check the consistent in the helper class. For the other hand, if the human readable class changes, the author should check the helper too, this work well in the hadoop and ozone.

I think there are 3 way

Use proto auto-generated class directly.
With two method fromProto and toProto into a class which could be serialized and deserialized.
Define a ProtobufferHelper util class to convert between the human readable classes and generated classes.

Now, in Alluxio repo, the 1 and 2 is used, i think both 2 and 3 is ok, and 3 is better, because it bring the serialized and deserialized away from the main class make the main class clearly. But 1 is a worst way now, it bring the verbose classes to the others who don't want to see them.
So, let's discuss which way we should chose. @gpang

Don't we already have something like this in the GrpcUtils class along with the wire types?
https://github.com/Alluxio/alluxio/blob/master/core/common/src/main/java/alluxio/grpc/GrpcUtils.java
It may not be complete, but there is a good number of functions there.

@ZacBlanco Yeah, Indeed, it's great! It is what i almost expected, and we have a minor refactor work to do, we should rename the function name from fromProto, fromMountEntry, toProto to convert or to or whatever name it is, but the same name. So that the GrpcUtils user no need care about the detail, just use the one magic function, and it prove to let you use the right function by java function reload mechanism.


build(deps): bump GitHub Actions

Codecov Report

Merging #70 (680a22e) into master (f63de8c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #70   +/-   ##
=======================================
  Coverage   93.01%   93.01%
=======================================
  Files          13       13
  Lines         358      358
=======================================
  Hits          333      333
  Misses         18       18
  Partials        7        7


Create dataset loader for IndoNLU HoASA

https://indonlp.github.io/nusa-catalogue/card.html?hoasa

#self-assign


too many values to unpack(expected 2)

Hello,
I used talon_initialize_database,  there's error.
cmd : talon_initialize_database --f Mus_musculus.GRCm38.87.gtf --a gencode.v29 --g hg38 --o example_talon 1>x1.log
Traceback (most recent call last):
File "/home/luoluo/.local/bin/talon_initialize_database", line 10, in
sys.exit(main())
File "/home/luoluo/.local/lib/python3.7/site-packages/talon/initialize_talon_database.py", line 996, in main
genes, transcripts, exons = read_gtf_file(gtf_file)
File "/home/luoluo/.local/lib/python3.7/site-packages/talon/initialize_talon_database.py", line 496, in read_gtf_file
transcript = Transcript.get_transcript_from_gtf(tab_fields)
File "/home/luoluo/.local/lib/python3.7/site-packages/talon/transcript.py", line 286, in get_transcript_from_gtf
annotations = extract_transcript_annotations_from_GTF(transcript_info)
File "/home/luoluo/.local/lib/python3.7/site-packages/talon/transcript.py", line 306, in extract_transcript_annotations_from_GTF
key, val = pair.split()
ValueError: too many values to unpack (expected 2)
is there something wrong I did???

We have encountered this error internally and are working on a fix for it. This has to do with extra spaces being present in the last column (the attributes) of the GTF.

Hi, would you mind doing a fresh git pull from the mod_filtering branch and trying that out? I should have fixed the issue!


cannot simdize uint8_t array

Vc version / revision
Operating System
Compiler & Version
Compiler Flags
Assembler & Version
CPU

1.4 / b725a903
Linux
g++ 8.2.1
Vc defaults
GNU as 2.31.1
Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz

Testcase
https://godbolt.org/z/GBsaHY
Actual Results
https://raw.githubusercontent.com/VcDevel/Vc/1.4/godbolt/algorithm: In instantiation of 'struct Vc_1::SimdizeDetail::ReplaceTypes<const unsigned char*, 0, void, (Vc_1::SimdizeDetail::Category)6>':

https://raw.githubusercontent.com/VcDevel/Vc/1.4/godbolt/algorithm:415:69:   required by substitution of 'template<class T, long unsigned int N, class MT> using simdize = typename Vc_1::SimdizeDetail::ReplaceTypes<T, N, MT>::type [with T = const unsigned char*; long unsigned int N = 0; MT = void]'

https://raw.githubusercontent.com/VcDevel/Vc/1.4/godbolt/algorithm:1507:49:   required by substitution of 'template<class T, long unsigned int N, class MT> using simdize = Vc_1::SimdizeDetail::simdize<T, N, MT> [with T = const unsigned char*; long unsigned int N = 0; MT = void]'

<source>:7:33:   required from here

https://raw.githubusercontent.com/VcDevel/Vc/1.4/godbolt/algorithm:1471:45: error: 'Size' is not a member of 'Vc_1::SimdizeDetail::ReplaceTypes<unsigned char, 0, void, (Vc_1::SimdizeDetail::Category)0>::type' {aka 'unsigned char'}

<source>: In function 'void test(const uint8_t*, int)':

<source>:7:42: error: invalid conversion from 'const uint8_t*' {aka 'const unsigned char*'} to 'int' [-fpermissive]

Compiler returned: 1

Expected Results
no error and should work like for uint16_t and higher

Vc 1.4 doesn't have 8-bit integer support and I don't have the capacity to finalize the work that already went into it. The master branch has support for all arithmetic types, though. I recommend you check out my mattkretz/gcc repo to try out std::experimental::simd. Then again, simdize is not part of the Parallelism 2 TS. That's probably going to be a rewrite of the idea for Vc 2 (based on std::experimental::simd) with the goal to propose it to the C++ committee.
I'll turn this issue into a feature request for Vc 2. Vc 1.4 is a "won't fix" from me. I wouldn't turn a complete PR down (I recommend to invest into Vc 2 instead, though.)


Thanks

Not an issue, just: this is terrific, thank you for this. Very handy to have.

Thank you and glad you are enjoying it!


Add transaction models

High Level Overview of Change

Add transaction models
Add transaction flags
Remove TransactionFields
Fix unnecessary late definitions of some vars.
Rename State in AccountObjectType to RippleState

Context of Change
To make it as easy as possible to define a transaction there should be transaction objects.
Because rust does not support inheritance of two structs each transaction contain the common fields, making the TransactionFields object unnecessary. Doing so makes it easier for the user to define the transaction (define one object instead of two). This PR also includes transaction flags.
Type of Change

[x] New feature (non-breaking change which adds functionality)
[x] Tests (You added tests for code that already exists, or your new feature included in this PR)

Test Plan
Future Tasks

[ ] Add tests
[ ] Export transactions
[ ] Remove currently unneeded TRANSACTION_HASH_PREFIX
[ ] The field flags should be typed Option<Vec<AccountSetFlag>> instead of Option<Vec<u32>>. Unfortunately I currently have no solution getting the value from the enum, needed for iter_to_int. HELP WANTED

Remarks

I am still new to rust. This was the first time I really worked with markers. I orientated myself towards the existing requests objects. Please add/remove markers if it makes sense.
The documentation describing the transactions currently is very simple, at some points. Feel free to suggest some more specific descriptions.

Looks good! However, the src/models/transactions.rs file has implementations, methods, etc. and should have accompanying unit tests for each method. Tests should always be present before any merge otherwise they end up never being added later.


Authentication Investigation

Auth0 looks like it will be free for our small use case: https://auth0.com/pricing/
They have a high level overview of the architecture for our use case:  https://auth0.com/docs/architecture-scenarios/spa-api
And examples of integrating with Spring and React


minor fix: typo miss codespelling documentation

hello !, i have fix some miss grammar on tf-quant-finance wich has fixed with reference word from Merriam webster
thanks!, happy good day

I have missed this one. @slowy07 could you please sync to head and I will push it?

Thanks @slowy07 !This is now merged

thabk u sir @cyrilchim


Add gitter sidecar for admin/dev topics

This embeds the admin and dev chat channels on their respective tutorial and topic pages, to provide better support to people attempting the tutorials.

What a splendid idea!


feat(configuration): add 'pointerEvents' option to stage custom content option, liv-7918

We need to be able to skip the click on the custom content for some notification. For example, the live reaction does not need to intercept the click.
By doing this, we can fix the LIV-7918 (live reaction prevents from clicking on the active speaker when it is on the bottom right)

@TronchDeYack Could you provide a little description of the reason of this ticket ?

@jinevo it's done 😄


Does shedlock support redis cluster with jedisLockProvider?

Hi, @lukas-krecan
I see jedisLockProvider can only accept jedisPool, no jedisCluster.
I have version issue to use Spring RedisConnectionFactory.
Thank you.

Released in 4.3.0. I have also upgraded Jedis to 3.2.0


Add GenerationMixin class

Add generation abstraction, that's using inference_session.
Added modes:

Greedy, top-k/top-p sampling
Multibatch generation
Constraint abstraction
In the future, I'll add prefix-tuned generation, beam-search and more hf-like stuff.

I fix test/black/isort. Remove change in max_batch_size in server/handler.py.


Publish Microsoft Authored templates to azure samples browser

Publish ai-samples template to azure samples browser.
@hemarina and @JakeRadMSFT for notification.

@JakeRadMSFT Could you review this PR and merge it if it looks good? Thanks a lot.

@JakeRadMSFT Could you review this PR and merge it if it looks good? Thanks a lot.


Features/superbeeny/postgreschart

Description
Adding Postgres installation to the Radius Helm chart
Type of change

This pull request adds or changes features of Radius and has an approved issue (issue link required).

Fixes: #8071
Contributor checklist
Please verify that the PR meets the following requirements, where applicable:

[X] An overview of proposed schema changes is included in a linked GitHub issue.
[ ] A design document PR is created in the design-notes repository, if new APIs are being introduced.
[ ] If applicable, design document has been reviewed and approved by Radius maintainers/approvers.
[ ] A PR for the samples repository is created, if existing samples are affected by the changes in this PR.
[ ] A PR for the documentation repository is created, if the changes in this PR affect the documentation or any user facing updates are made.
[ ] A PR for the recipes repository is created, if existing recipes are affected by the changes in this PR.

@rynowak, @ytimocin please do not approve this PR until we get the feature request through triage. #8071

Functional test failure looks unrelated. Rerunning. If it fails again, it might be a resource limitation in the cluster.

BTW - I think the functional tests are failing due to a resource limitation (low memory) in the runner/cluster. The tests are reserving a huge amount of memory for SQL Server:
https://github.com/radius-project/radius/blob/main/test/testrecipes/test-bicep-recipes/sqldb-recipe.bicep#L56
Unfortunately we don't have logging for events, so we can't find the problem conclusively.
See logs:
SQL Server 2019 will run as non-root by default.
This container is running as user mssql.
To learn more visit https://go.microsoft.com/fwlink/?linkid=2099216.
2024-11-21 22:06:47.75 Server      Setup step is copying system data file 'C:\templatedata\master.mdf' to '/var/opt/mssql/data/master.mdf'.

2024-11-21 22:06:47.77 Server      Did not find an existing master data file /var/opt/mssql/data/master.mdf, copying the missing default master and other system database files. If you have moved the database location, but not moved the database files, startup may fail. To repair: shutdown SQL Server, move the master database to configured location, and restart.

2024-11-21 22:06:47.78 Server      Setup step is copying system data file 'C:\templatedata\mastlog.ldf' to '/var/opt/mssql/data/mastlog.ldf'.

2024-11-21 22:06:47.78 Server      Setup step is copying system data file 'C:\templatedata\model.mdf' to '/var/opt/mssql/data/model.mdf'.

2024-11-21 22:06:47.79 Server      Setup step is copying system data file 'C:\templatedata\modellog.ldf' to '/var/opt/mssql/data/modellog.ldf'.

2024-11-21 22:06:47.80 Server      Setup step is copying system data file 'C:\templatedata\msdbdata.mdf' to '/var/opt/mssql/data/msdbdata.mdf'.

2024-11-21 22:06:47.82 Server      Setup step is copying system data file 'C:\templatedata\msdblog.ldf' to '/var/opt/mssql/data/msdblog.ldf'.

2024-11-21 22:06:47.82 Server      Setup step is FORCE copying system data file 'C:\templatedata\model_replicatedmaster.mdf' to '/var/opt/mssql/data/model_replicatedmaster.mdf'.

2024-11-21 22:06:47.82 Server      Setup step is FORCE copying system data file 'C:\templatedata\model_replicatedmaster.ldf' to '/var/opt/mssql/data/model_replicatedmaster.ldf'.

2024-11-21 22:06:47.83 Server      Setup step is FORCE copying system data file 'C:\templatedata\model_msdbdata.mdf' to '/var/opt/mssql/data/model_msdbdata.mdf'.

2024-11-21 22:06:47.84 Server      Setup step is FORCE copying system data file 'C:\templatedata\model_msdblog.ldf' to '/var/opt/mssql/data/model_msdblog.ldf'.

2024-11-21 22:06:47.87 Server      Microsoft SQL Server 2019 (RTM-CU29-GDR) (KB5046860) - 15.0.4410.1 (X64)

	Oct 23 2024 15:50:49

	Copyright (C) 2019 Microsoft Corporation

	Developer Edition (64-bit) on Linux (Ubuntu 20.04.6 LTS) <X64>

2024-11-21 22:06:47.87 Server      UTC adjustment: 0:00

2024-11-21 22:06:47.87 Server      (c) Microsoft Corporation.

2024-11-21 22:06:47.87 Server      All rights reserved.

2024-11-21 22:06:47.87 Server      Server process ID is 388.

2024-11-21 22:06:47.87 Server      Logging SQL Server messages in file '/var/opt/mssql/log/errorlog'.

2024-11-21 22:06:47.88 Server      Registry startup parameters:

	 -d /var/opt/mssql/data/master.mdf

	 -l /var/opt/mssql/data/mastlog.ldf

	 -e /var/opt/mssql/log/errorlog

2024-11-21 22:06:47.88 Server      SQL Server detected 1 sockets with 2 cores per socket and 4 logical processors per socket, 4 total logical processors; using 4 logical processors based on SQL Server licensing. This is an informational message; no user action is required.

2024-11-21 22:06:47.88 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.

2024-11-21 22:06:47.88 Server      Detected 12785 MB of RAM. This is an informational message; no user action is required.

2024-11-21 22:06:47.88 Server      Using conventional memory in the memory manager.

2024-11-21 22:06:47.90 Server      Page exclusion bitmap is enabled.

2024-11-21 22:06:47.92 Server      Buffer pool extension is not supported on Linux platform.

2024-11-21 22:06:47.93 Server      Buffer Pool: Allocating 2097152 bytes for 1995515 hashPages.

2024-11-21 22:06:48.01 Server      Buffer pool extension is already disabled. No action is necessary.

2024-11-21 22:06:48.16 Server      Successfully initialized the TLS configuration. Allowed TLS protocol versions are ['1.0 1.1 1.2']. Allowed TLS ciphers are ['ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:!DHE-RSA-AES256-GCM-SHA384:!DHE-RSA-AES128-GCM-SHA256:!DHE-RSA-AES256-SHA:!DHE-RSA-AES128-SHA'].

2024-11-21 22:06:48.18 Server      Query Store settings initialized with enabled = 1,

2024-11-21 22:06:48.19 Server      Node configuration: node 0: CPU mask: 0x000000000000000f:0 Active CPU mask: 0x000000000000000f:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.

2024-11-21 22:06:48.19 Server      The maximum number of dedicated administrator connections for this instance is '1'

2024-11-21 22:06:48.20 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.

2024-11-21 22:06:48.21 Server      In-Memory OLTP initialized on lowend machine.

2024-11-21 22:06:48.23 Server      [INFO] Created Extended Events session 'hkenginexesession'

2024-11-21 22:06:48.23 Server      Database Instant File Initialization: enabled. For security and performance considerations see the topic 'Database Instant File Initialization' in SQL Server Books Online. This is an informational message only. No user action is required.

ForceFlush is enabled for this instance.

2024-11-21 22:06:48.24 Server      Total Log Writer threads: 2. This is an informational message; no user action is required.

2024-11-21 22:06:48.24 Server      clwb is selected for pmem flush operation.

2024-11-21 22:06:48.25 Server      Software Usage Metrics is disabled.

2024-11-21 22:06:48.26 spid9s      [1]. Feature Status: PVS: 0. CTR: 0. ConcurrentPFSUpdate: 1.

2024-11-21 22:06:48.26 spid9s      Starting up database 'master'.

ForceFlush feature is enabled for log durability.

2024-11-21 22:06:48.34 Server      CLR version v4.0.30319 loaded.

2024-11-21 22:06:48.34 spid9s      Converting database 'master' from version 897 to the current version 904.

2024-11-21 22:06:48.34 spid9s      Database 'master' running the upgrade step from version 897 to version 898.

2024-11-21 22:06:48.35 spid9s      Database 'master' running the upgrade step from version 898 to version 899.

2024-11-21 22:06:48.38 spid9s      Database 'master' running the upgrade step from version 899 to version 900.

2024-11-21 22:06:48.38 spid9s      Database 'master' running the upgrade step from version 900 to version 901.

2024-11-21 22:06:48.39 spid9s      Database 'master' running the upgrade step from version 901 to version 902.

2024-11-21 22:06:48.40 spid9s      Database 'master' running the upgrade step from version 902 to version 903.

2024-11-21 22:06:48.40 spid9s      Database 'master' running the upgrade step from version 903 to version 904.

2024-11-21 22:06:48.59 spid9s      Resource governor reconfiguration succeeded.

2024-11-21 22:06:48.60 spid9s      SQL Server Audit is starting the audits. This is an informational message. No user action is required.

2024-11-21 22:06:48.60 spid9s      SQL Server Audit has started the audits. This is an informational message. No user action is required.

2024-11-21 22:06:48.67 spid9s      SQL Trace ID 1 was started by login "sa".

2024-11-21 22:06:48.68 spid9s      Server name is 'sql-ctnr-bd5484bfc-84dtt'. This is an informational message only. No user action is required.

2024-11-21 22:06:48.68 spid23s     Password policy update was successful.

2024-11-21 22:06:48.68 Server      Common language runtime (CLR) functionality initialized.

2024-11-21 22:06:48.70 spid12s     [32767]. Feature Status: PVS: 0. CTR: 0. ConcurrentPFSUpdate: 1.

2024-11-21 22:06:48.70 spid9s      [4]. Feature Status: PVS: 0. CTR: 0. ConcurrentPFSUpdate: 1.

2024-11-21 22:06:48.71 spid12s     Starting up database 'mssqlsystemresource'.

2024-11-21 22:06:48.72 spid9s      Starting up database 'msdb'.

2024-11-21 22:06:48.72 spid12s     The resource database build version is 15.00.4410. This is an informational message only. No user action is required.

2024-11-21 22:06:48.76 spid12s     [3]. Feature Status: PVS: 0. CTR: 0. ConcurrentPFSUpdate: 1.

2024-11-21 22:06:48.76 spid12s     Starting up database 'model'.

2024-11-21 22:06:48.77 spid23s     A self-generated certificate was successfully loaded for encryption.

2024-11-21 22:06:48.78 spid23s     Server is listening on [ 'any' <ipv6> 1433].

2024-11-21 22:06:48.79 spid23s     Server is listening on [ 'any' <ipv4> 1433].

2024-11-21 22:06:48.80 Server      Server is listening on [ ::1 <ipv6> 1434].

2024-11-21 22:06:48.80 Server      Server is listening on [ <IP_ADDRESS> <ipv4> 1434].

2024-11-21 22:06:48.80 Server      Dedicated admin connection support was established for listening locally on port 1434.

2024-11-21 22:06:48.80 spid23s     Server is listening on [ ::1 <ipv6> 1431].

2024-11-21 22:06:48.81 spid23s     Server is listening on [ <IP_ADDRESS> <ipv4> 1431].

2024-11-21 22:06:48.81 spid23s     SQL Server is now ready for client connections. This is an informational message; no user action is required.

2024-11-21 22:06:48.82 spid9s      Converting database 'msdb' from version 897 to the current version 904.

2024-11-21 22:06:48.82 spid9s      Database 'msdb' running the upgrade step from version 897 to version 898.

2024-11-21 22:06:48.83 spid9s      Database 'msdb' running the upgrade step from version 898 to version 899.

2024-11-21 22:06:48.84 spid12s     Converting database 'model' from version 897 to the current version 904.

2024-11-21 22:06:48.84 spid12s     Database 'model' running the upgrade step from version 897 to version 898.

2024-11-21 22:06:48.85 spid12s     Database 'model' running the upgrade step from version 898 to version 899.

2024-11-21 22:06:48.85 spid9s      Database 'msdb' running the upgrade step from version 899 to version 900.

2024-11-21 22:06:48.86 spid9s      Database 'msdb' running the upgrade step from version 900 to version 901.

2024-11-21 22:06:48.86 spid12s     Database 'model' running the upgrade step from version 899 to version 900.

2024-11-21 22:06:48.87 spid9s      Database 'msdb' running the upgrade step from version 901 to version 902.

2024-11-21 22:06:48.87 spid12s     Database 'model' running the upgrade step from version 900 to version 901.

2024-11-21 22:06:48.88 spid12s     Database 'model' running the upgrade step from version 901 to version 902.

2024-11-21 22:06:48.88 spid12s     Database 'model' running the upgrade step from version 902 to version 903.

2024-11-21 22:06:48.89 spid12s     Database 'model' running the upgrade step from version 903 to version 904.

2024-11-21 22:06:48.94 spid12s     Clearing tempdb database.

2024-11-21 22:06:49.02 spid12s     [2]. Feature Status: PVS: 0. CTR: 0. ConcurrentPFSUpdate: 1.

2024-11-21 22:06:49.02 spid12s     Starting up database 'tempdb'.

2024-11-21 22:06:49.15 spid12s     The tempdb database has 1 data file(s).

2024-11-21 22:06:49.16 spid27s     The Service Broker endpoint is in disabled or stopped state.

2024-11-21 22:06:49.16 spid27s     The Database Mirroring endpoint is in disabled or stopped state.

2024-11-21 22:06:49.18 spid27s     Service Broker manager has started.

2024-11-21 22:06:49.19 spid9s      Database 'msdb' running the upgrade step from version 902 to version 903.

2024-11-21 22:06:49.19 spid9s      Database 'msdb' running the upgrade step from version 903 to version 904.

2024-11-21 22:06:49.31 spid9s      Recovery is complete. This is an informational message only. No user action is required.

2024-11-21 22:06:49.32 spid26s     The default language (LCID 0) has been set for engine and full-text services.

2024-11-21 22:06:49.42 spid26s     The tempdb database has 4 data file(s).

2024-11-21 22:07:24.55 spid9s      SQL Server is terminating in response to a 'stop' request from Service Control Manager. This is an informational message only. No user action is required.

2024-11-21 22:07:24.99 spid27s     Service Broker manager has shut down.

2024-11-21 22:07:24.99 spid9s      .NET Framework runtime has been stopped.

2024-11-21 22:07:25.01 spid9s      SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.


Watch other actions releases and propose a PR with the updated versions

Instead of doing this manually, we can use a GitHub Action workflow to periodically watch for newly released versions.

dependabot seem to manage it


Can you add support for apple/ml-cross-entropy?

This new method saves a lot of more memory, can you port it to unsloth?
Cut Your Losses in Large-Vocabulary Language Models
https://github.com/apple/ml-cross-entropy

I was coming here to ask the same. This seems like a perfect fit for Unsloth

Yes! Just tested it and it seems to work really well :)

Will add it probably in the next release :)

hey there  @danielhanchen  I've been trying to implement this in triton if it's ok and can i open a draft by tomorrow just so we can discuss and check if the code is all right

@dame-cell Oh I already managed to add Apple's one in :)

We're still testing though so it's not final or near finished.

For your information Apple's ML Cross Entropy was supported 2 weeks ago but we never announced it. If anyone would like to test it, let us know how it goes! 🙏

Apologies for the wait guys @dame-cell @iiLaurens @zfflxx @fzyzcjy but it's officially out now! You can read our blog here: https://unsloth.ai/blog/llama3-3
Tweet: https://x.com/UnslothAI/status/1866545164140810603


Allow grouping of package.nls*.json files in a custom folder

Description:
Currently, the package.nls.json and package.nls.{locale}.json files are expected to be located in the root of the project for VSCode to properly detect and apply translations. However, for projects with multiple locales, this can result in a large number of translation files cluttering the root directory.
Feature Request:
I'd like to propose a feature that allows grouping all package.nls*.json files inside a custom folder (e.g., packages-nls). The package.json would still reference these files in the usual way, but with the option to define their location, similar to how the l10n folder is currently used for bundle.l10n.json.
Example:
Instead of placing all translation files in the root, we could organize them as follows:
PROJECT_NAME
├── l10n
│   └── bundle.l10n.json
├── packages-nls
│   ├── package.nls.json
│   ├── package.nls.es.json
│   └── package.nls.de.json
├── src
│   └── extension.ts
└── package.json

And in the package.json, we could still use translation keys like this:
{
  "name": "my-extension",
  "version": "0.0.1",
  "main": "./out/extension.js",
  "l10n": "./l10n",
  "nls": "./packages-nls",
  "contributes": {
    "commands": [
      {
        "command": "my-extension.helloWorld",
        "title": "%my-extension.helloWorld.title%"
      }
    ]
  }
}

This way, developers could keep their root directory cleaner while still providing translation files.
Current Behavior:
If the package.nls*.json files are moved to a custom folder, VSCode does not recognize keys and extension shows %my-extension.helloWorld.title%

Thanks for the response, @TylerLeonhardt
I really like the grouping you suggested.
This approach keeps the structure cleaner, which I prefer, as it avoids adding more configurations at the root of the manifest. I also understand the second issue regarding the marketplace and how it might take some time, but overall, this seems like a great solution and I hope it can be implemented when possible.
Thanks for considering this improvement!


enable custom amount for badger button

If a badger button is pressed with no amount specified, open Badger extension on a page to enter the amount.  e.g. for donation buttons or the tipBCH app

Looks like a duplicate of https://github.com/Bitcoin-com/badger/issues/122 ?

you're right. closing.


modified readme

tried adding some more data

tried adding some more data

Get it assigned first the next time you contribute

tried adding some more data

Get it assigned first the next time you contribute

i ll make this sure before my next pr


Return none from ML models if nothing available for a given target.

Fixes #437

Codecov Report

Merging #438 (02af07e) into main (0a6b354) will decrease coverage by 0.02%.
The diff coverage is 50.00%.


Failed executor meter registration with using reactor's scheduler metric

Situation
When I use reactor and enable scheduler metric (https://projectreactor.io/docs/core/release/api/reactor/core/scheduler/Schedulers.html#enableMetrics--), I got exception like below
Caused by: java.lang.IllegalArgumentException: Prometheus requires that all meters with the same name have the same set of tag keys. There is already an existing meter named 'executor_seconds' containing tag keys [name, reactor_scheduler_id]. The meter you are attempting to register has keys [name].

When I check in reactor, it registered executor metric with additional tag key reactor.scheduler.id (https://github.com/reactor/reactor-core/blob/master/reactor-core/src/main/java/reactor/core/scheduler/SchedulerMetricDecorator.java#L70). meanwhile, Armeria registered executor metric without additional metric (https://github.com/line/armeria/blob/master/core/src/main/java/com/linecorp/armeria/server/ServerConfig.java#L162)
So there is conflict. (I don't know why Prometheus has the constrain same meter should have same tags..)
Suggestion
In my case, although I don't use ArmeriaBlockingTaskExecutor, but the metric is registered. I was wondering if there would be flags whether using ArmeriaBlockingTaskExecutor
Full stack trace
Caused by: java.lang.IllegalArgumentException: Prometheus requires that all meters with the same name have the same set of tag keys. There is already an existing meter named 'executor_seconds' containing tag keys [name, reactor_scheduler_id]. The meter you are attempting to register has keys [name].
 at io.micrometer.prometheus.PrometheusMeterRegistry.lambda$collectorByName$9(PrometheusMeterRegistry.java:382)
 at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1932)
 at io.micrometer.prometheus.PrometheusMeterRegistry.collectorByName(PrometheusMeterRegistry.java:369)
 at io.micrometer.prometheus.PrometheusMeterRegistry.newTimer(PrometheusMeterRegistry.java:175)
 at io.micrometer.core.instrument.MeterRegistry.lambda$timer$2(MeterRegistry.java:271)
 at io.micrometer.core.instrument.MeterRegistry.getOrCreateMeter(MeterRegistry.java:576)
 at io.micrometer.core.instrument.MeterRegistry.registerMeterIfNecessary(MeterRegistry.java:529)
 at io.micrometer.core.instrument.MeterRegistry.timer(MeterRegistry.java:269)
 at io.micrometer.core.instrument.Timer$Builder.register(Timer.java:477)
 at io.micrometer.core.instrument.composite.CompositeTimer.registerNewMeter(CompositeTimer.java:140)
 at io.micrometer.core.instrument.composite.CompositeTimer.registerNewMeter(CompositeTimer.java:31)
 at io.micrometer.core.instrument.composite.AbstractCompositeMeter.add(AbstractCompositeMeter.java:66)
 at java.base/java.lang.Iterable.forEach(Iterable.java:75)
 at java.base/java.util.Collections$SetFromMap.forEach(Collections.java:5581)
 at io.micrometer.core.instrument.composite.CompositeMeterRegistry.lambda$new$0(CompositeMeterRegistry.java:65)
 at io.micrometer.core.instrument.composite.CompositeMeterRegistry.lock(CompositeMeterRegistry.java:184)
 at io.micrometer.core.instrument.composite.CompositeMeterRegistry.lambda$new$1(CompositeMeterRegistry.java:65)
 at io.micrometer.core.instrument.MeterRegistry.getOrCreateMeter(MeterRegistry.java:585)
 at io.micrometer.core.instrument.MeterRegistry.registerMeterIfNecessary(MeterRegistry.java:529)
 at io.micrometer.core.instrument.MeterRegistry.timer(MeterRegistry.java:269)
 at io.micrometer.core.instrument.Timer$Builder.register(Timer.java:477)
 at io.micrometer.core.instrument.MeterRegistry.timer(MeterRegistry.java:396)
 at io.micrometer.core.instrument.internal.TimedScheduledExecutorService.<init>(TimedScheduledExecutorService.java:44)
 at io.micrometer.core.instrument.binder.jvm.ExecutorServiceMetrics.monitor(ExecutorServiceMetrics.java:126)
 at io.micrometer.core.instrument.binder.jvm.ExecutorServiceMetrics.monitor(ExecutorServiceMetrics.java:140)
 at com.linecorp.armeria.server.ServerConfig.<init>(ServerConfig.java:159)
 at com.linecorp.armeria.server.ServerBuilder.build(ServerBuilder.java:1623)
 at com.linecorp.armeria.spring.web.reactive.ArmeriaReactiveWebServerFactory.getWebServer(ArmeriaReactiveWebServerFactory.java:205)
 at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext$ServerManager.<init>(ReactiveWebServerApplicationContext.java:230)
 at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext$ServerManager.get(ReactiveWebServerApplicationContext.java:248)
 at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.createWebServer(ReactiveWebServerApplicationContext.java:91)
 at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.onRefresh(ReactiveWebServerApplicationContext.java:78)
 ... 8 common frames omitted

Meanwhile, please use MeterRegistry.config().meterFilter(MeterFilter) to amend the tag inconsistencies.

What @AmosDoan suggests is to provide a way to disable blockingTaskExecutor completely, so that Armeria does not register any metrics for executors.
I'm not sure I like the idea, because we can't add knobs for every executor we add in the future. We have only blockingTaskExecutor today, but we might have more executors internally and want to monitor them.
There are two options in my opinion:

Rename the meters, e.g. executor.* -> armeria.executor.*

We need to fork ExecutorServiceMetrics.

Let our users use MeterRegistry.config().

I believe the same problem will arise for Project Reactor as soon as a user tries to monitor his or her executor using ExecutorServiceMetrics.monitor() with different tags. Perhaps we should work with Micrometer and Project Reactor to so that:

ExecutorServiceMetrics allows a user to specify a different meter ID prefix than just executors., e.g. reactor.executor. or armeria.executor..
Project Reactor changes the meter ID prefix from executor. to reactor.executor. so that it does not conflict with other executor metrics.

/cc @smaldini @shakuzen


Fix issues with summary_data_from_transaction_data() when including monetary_values column

I've found two issues with the function summary_data_from_transaction_data() when including an optional monetary_values column:

transaction in the same period aren't reduced (summed) together,
all transactions are included in the average purchase amount, when generally these model are only concerned with repeated transactions/purchases.

The PR refactors summary_data_from_transaction_data() to address both of these issues (I refer to http://brucehardie.com/notes/022/RFM_summary_in_Excel.pdf and http://brucehardie.com/notes/025/gamma-gamma_calibration.xlsx for how I'm expecting monetary values to be processed).
I've also introduced a function find_repeated_transactions(), which explicitly groups transactions by period and labels repeated transactions. I've separated this functionality from summary_data_from_transaction_data() because I expect that it will be useful for other things like comparing model/actual transaction volume as a function of time.

Ah sorry I haven't looked at this yet. I promise I will this week :)

@rhydomako does this PR do more than what https://github.com/CamDavidsonPilon/lifetimes/pull/42 does? cc @jackyckma

I think #42 fixes my issue 1, but not issue 2. That is, I think only the repeated purchases should be included in the mean purchase amount. I've added a dedicated function to identify repeated transactions to address this issue.

I spent a bit of time trying to use more vectorized functions and indexes in place of apply calls, which I think helped the overall readability. As well, at least on my machine, this seems to speed up summary_data_from_transaction_data by something like 50%.

Amazing, that function was very slow, so great job for speeding it up. :+1: merging now.

@rhydomako Thanks for this great PR. I was looking into why summary_data_from_transaction_data does not take first_purchases into the mean of the monetary value for the customers. Wouldn't that skew the CLV distribution? (Given that non-repeating customers should contribute to lower CLV)?
https://github.com/CamDavidsonPilon/lifetimes/pull/40/files#diff-48a7adefd56b3316f39206b07dadd6f5R181

@harrisong Ok, this is a good question. The straightforward answer is that this is the way it is done in the original paper (see the XLSX in http://www.brucehardie.com/notes/025/ and http://brucehardie.com/notes/022/RFM_summary_in_Excel.pdf). Both the frequency and mean monetary-value per period are defined for repeat transactions only. The authors don't come out and say it, but my impression is that they've defined it this way to stay consistent across the board in terms of dropping first as well as singleton transactions. Dropping singleton transactions makes sense because without repeat transactions you can't really make any estimation of a transaction frequency, and I think dropping first transactions kinda followed in symmetry with that.
The corollary question is 'Is this a good idea when trying to estimate the mean monetary value of a user's transactions?' To be honest, I'm not sure. Like you say, we're dropping information that could be useful for estimating the distribution of transaction values. The Gamma-Gamma paper (http://www.brucehardie.com/notes/025/gamma_gamma.pdf) also just talks about user's mean transaction values and doesn't include any discussion about dropping transactions.
In general, I haven't seen as much validation of the Gamma-Gamma model, so I don't hold a strong opinion about its estimations. I kinda wonder if a simulation study might help give some insights into wether dropping these values throws a lot of bias into the estimates.


introduce new CI actions

New actions allow to use matrix conditions
static vs shared
xpress on/off
sirius on/off
Publish the assets during release and publish artifacts during stadard run.
I keep this as a draft for the time being.
Still to do:

[x] create the Windows action
[x] zip the assets/artifatcs instead of publishing the content of a directory

closes #8
closes #12

I deactivated some targets (samples and examples): we don't fill the disc of the github runner anymore!
The test release worked.
@flomnes and @pet-mit, can you test the new assets from the release?


Use NightCode for coding in a DSL

Hi,
I'm writing a simple language in French, currently embedded in another Lisp than Clojure:
http://microalg.info
I see that you embed plugins in NightCode to build for some different targets.
Would it be possible to configure/add a plugin to NightCode so as to make it an IDE for another language?
It should be as simple as preloading a .clj file, but I don't know where to begin.
Thanks.

I am not planning on supporting other languages at this time. If you're just looking to add syntax highlighting, you can look in utils.clj which is where it associates file extensions with highlighting rules.

Not sure I was clear enough.
 But maybe I should make it a regular module to import. I just wanted to avoid
  (:require [microalg :refer :all])

Syntax highlighting is a good addition indeed but not mandatory at this time. When I have time I may work on this and fork NightCode if there is no other mean. Do you plan to add an option to have rainbow parentheses?

I would like rainbow parens but I'm not sure how to implement that in RSyntaxTextArea.

I wrote a lexer for syntax highlighting my language in Lua for using in SciTE. See this file from line 116.
Now it's "just" a matter of adapting the algorithm for RSTA's mechanism!
One problem though: it may not be possible to make it a simple addition to the current highlighter of Clojure code. We may have to reimplement it.


Added Some more resources

What does this PR do?
Add resource(s)
For resources
Description
Added

C++
php
osdev
resources

Why is this valuable (or not)?
Php's mannual is filled with information wondering why it wasnt there till now.
One of the most popular series on C++ (The cherno) was missing .
Really wast resource of osdev.org was missing .
How do we know it's really free?
Yes every resource is free forever.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[ ] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Resolving linter error

Was unable to edit because of deleted head repo.


Using Open Source MuJuCo in Gym

Hey,
I'm the new maintainer of Gym (I'm a PhD student at UMD, I have no formal affiliation with OpenAI). As you may know, Gym has been using MuJuCo for a long time in it's MuJuCo and Robotics environments, and was in the process of replacing these in full with Brax (originally PyBullet, but plans changed) due to MuJuCo's status as closed source and a host of massive maintenance issues with the MuJuCo environments and mujuco-py. Are you guys interested in Gym support, and if so would you be willing to reach out to me to set up a time to briefly chat about plans? My email is<EMAIL_ADDRESS>

Sorry to hijack this after closure.
@jkterry1 could you point to an announcement regarding mujoco_py no longer being maintained? There have been 3 commits since your last comment.
Finally, where can we learn more about your exchanges with the MuJoCo team and possible roadmap?
Thanks


Bump version

For Spark-Packages

Coverage remained the same at 52.381% when pulling c1ac350dbbf0acb7523d7c97f94a7a798b5070f8 on develop into 03372d85eac50cb769b9bc83ed9d63fd4d1953c5 on master.


[Feature Request]: Working together on a helm chart

Description / Beschreibung
Hey there,
visiting https://docs.buanet.de/iobroker-docker-image/docs/ due to my interest in running ioBroker in a container env. i stumbeled uppon the guy with the role "Smarthome on docker" :)
I'am currently build out my homelab, switched from plain containerd/podman+docker-compose to k8s entirely. Next step is to run ioBroker in k8s and AFAICS, there is no helm chart yet, so i'am going to make one most probably.
That in mind, i asked myself if you are interested in working together on this adventure - my goals are

ensure one can run with out-discovery and utilizing VLAN based networking (home automation network isolation) - this is what i plan to use multus for
ensure to run ioBroker as slim as possible, keep services like redis and other things in seperate pods/containers (scaling)
scaling via multimode - since i have a 1+ node cluster anyway, this helps spreading the load (which ioBroker can be very good at creating :) )
i would avoid containerizing ioBroker myself is possibel , this is where this project might be interesting to use with

The last point might need a bit of adoption (more or less introducing ENV vars if any - but there is a lot here already, so might not be needed at all).
What are your thoughts about all of this?
Thanks for this little gem of a project :)

Created a first (working) draft here https://github.com/EugenMayer/helm-charts/tree/task/iobroker/charts/iobroker
Taken care of:

env based config
volume / persistence
ingress

TODO:

networking (multicast/broadcast) VLAN support via multus as an option

If I take a look into the ioBroker community, I only see a very very small target group for running ioBroker inside a kubernetes cluster... So, for me, there is no need to put time into this to make something like a helm-chart available to the community.
As I'm not able to put more time into this project, I will only focus to things with bigger target groups in the community.
That doesn't say, that I won't support your effort.
I'll convert this issue to an discussion. So if there is somebody out there waiting for a helm-chart her/ she can easily join you.
Regards,
André


Define new Celery queues to restrict the assignments of tasks to different GPU types

Done but not hardened.  The plan is to name queues based on the GPU architecture, e.g. gpu_k90_prod .


Images

Add options for a background image and completed segments image.

Added in release 1.0.


Screen flicker and mouse lag on G-SYNC display

Whenever Oni2 is focused on my primary G-SYNC display my entire screen starts a very subtle flicker and my mouse cursor movement starts lagging (moving at a much lower framerate), even when it is not over the Oni2 window. This will go away after keeping my cursor off of the window for around 3 seconds.  Keeping the mouse cursor still over the window for over 3 or for seconds will make the screen stop flickering.
Oddly, if the mouse cursor is moving over an open buffer the mouse lag goes away while it is over the buffer, but the screen still flickers.
If Oni2 is open but not in focus both of these issues go away. There are also no issues if i move the window to my non-G-Sync secondary monitor, or disable G-SYNC.
System Details:

Windows 10 64bit
Primary 2560x1440 144hz G-Sync
Secondary 1920x1080 60hz

Thanks for logging the issue and the details @mfish38 - it does seem like there is a bug here in terms of how we are integrating with g-sync. One issue that comes up with g-sync is flicker during loading screens or times of variable framerate.
I wonder if setting Onivim's vsync configuration setting changes the behavior? It'd be interesting to see if setting "vsync": true in configuration.json (will need to close & re-open Onivim after changing "vsync") has different behavior.
Would be helpful to know also:

What G-SYNC monitor are you using?
Which NVidia GPU is being used?

Thanks for logging the issue and the details @mfish38 - it does seem like there is a bug here in terms of how we are integrating with g-sync. One issue that comes up with g-sync is flicker during loading screens or times of variable framerate.
I wonder if setting Onivim's vsync configuration setting changes the behavior? It'd be interesting to see if setting "vsync": true in configuration.json (will need to close & re-open Onivim after changing "vsync") has different behavior.
Would be helpful to know also:

What G-SYNC monitor are you using?
Which NVidia GPU is being used?

@bryphe unfortunately setting "vsync": true and restarting the app does not change the behavior.
Launching the app with G-Sync in the NVIDIA control panel set to be for full screen mode only does make the issue go away, but I would assume this means G-Sync would then not work for games and apps that run as full screened windows.
More system details:

EVGA 2080 Super XC Ultra
GeForce 461.09 (Issue was also present on an unrecorded previous version that I upgraded from in hopes of a fix)
Dell S2716DG monitor.

@bryphe unfortunately setting "vsync": true and restarting the app does not change the behavior.
Launching the app with G-Sync in the NVIDIA control panel set to be for full screen mode only does make the issue go away, but I would assume this means G-Sync would then not work for games and apps that run as full screened windows.
More system details:

EVGA 2080 Super XC Ultra
GeForce 461.09 (Issue was also present on an unrecorded previous version that I upgraded from in hopes of a fix)
Dell S2716DG monitor.


direct control of white holes

gimme:

open and close (toggle, one frame)

[x] selected: ht, hf
[ ]  non-selected: :ht {entity id} / :hf {entity id}

link types:

[x] selected: :lt {link type}
[x] non-selected: :lt {entity id} {link type}

better control for non-selected with #36


Required alert at Email address shows even it is not blank

This error happens during setting up newly.
The latest version of codes in repo was used to build.

Also, I tried to submit without any data, alert is only at email textbox

This is a duplicated issue : https://github.com/openmsupply/msupply-dashboard-app/issues/73
So I close this.


Move app-frontend to docker-compose.yml

Overview
Currently, the app-frontend service is defined in docker-compose.test.yml. This configuration requires scripts/server and scripts/console to include docker-compose.test.yml in commands, which in turn builds/runs production-ready containers instead of the versions we use in development. This PR moves app-frontend to docker-compose.yml, allowing scripts/console and scripts/server to build the development versions of each service container.
Checklist
- [ ] Styleguide updated, if necessary
- [ ] Swagger specification updated, if necessary
- [ ] Symlinks from new migrations present or corrected for any new migrations
Demo
Optional. Screenshots, curl examples, etc.
Notes
Optional. Ancillary topics, caveats, alternative strategies that didn't work out, anything else.
Testing Instructions

Ensure scripts/console app-server ./sbt runs correctly
Run scripts/server. Make sure that app-frontend is not running.

Closes #1098

I think I'm following all of the changes being made here, and I think that they all make sense, but I'd prefer to simply drop docker-compose.test.yml from console. It seems as though console doesn't get used much for app-frontend in development (people are running that stuff outside of the VM with nvm).

That makes a lot of sense. Updated.


Update README.md

add new section Community Packages
and include first community packages Eleventy plugin

Hey @mosamy19, could you please review this? Let me know if I made any mistakes, but I couldn't find the collaboration documents.  TY

@Vectopus, I'm not sure if you've noticed this pull request, but it appears that there have been no updates since March 2024.


[New game]: Synonym Symphony

🎮 Game Request
Game logic and basic description: Players are given a word and must find as many synonyms as possible within a time limit. The challenge increases as they progress, with more obscure or context-specific synonyms required.
Point down the features
Game points:
The game checks if the player's input is a valid synonym and add 10 points.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @DharshiBalasubramaniyam !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @DharshiBalasubramaniyam ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


The Eject CDROM button should not be active if no CDROM is selected

Steps to reproduce:

Create a VM adding a disk whose type is CDROM
Check on the VM detail page

Result:

The Eject CDROM is always active though no CDROM is select.

It's better to have the Eject CDROM displayed in the same way, Eject CDROM or Eject CD-ROM, and the comma after disk-2 is not in an appropriate place, it should be: Are you sure you want to eject CD-ROM disk-2, this action will restart the virtual machine

Validated


Docker

[x] relative paths changed to absolute paths
[x] pyyaml missing from requirements
[x] Created Dockerfiles for local testing and deployment.

test.sh was for you! unless you dont want it


Increase coverage

PR Checklist

[x] Please add a description of your changes.
[x] We need your changes to come with unit tests in order to keep this project in quality and easy to maintain.
[ ] Please add a link to the open issue or task that this pull request will resolve.
[ ] Add a note to the changelog to indicate the change.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

If yes please indicate it and migration info into the CHANGELOG.md file.

Remove a not useful default value to the constructor since that there is already a default on the abstract worker.
Added a spy and a unit test to the thread worker

Not a clean branch


Change in Normalisation process between MRIQC version 0.14.2 and 0.15.1?

Hi, was there a change in the normalisation process for BOLD images between MRIQC version 0.14.2 and 0.15.1? I noticed a difference in the visual report for acquisition with small FOVz, with slices aligned along the Sylvian Fissure.
Output of 0.14.2:

Output of 0.15.1:

And a general question: what is the use of the normalisation step for MRIQC in BOLD images? Are there IQMS for bold that are calculated in the template place?

Hi, was there a change in the normalisation process for BOLD images between MRIQC version 0.14.2 and 0.15.1?

Wow, that is long ago - judging by your findings, yes, there seems to be. However, by looking at your plots it seems 0.15.1 is much better registration than 0.14.2.

And a general question: what is the use of the normalisation step for MRIQC in BOLD images? Are there IQMS for bold that are calculated in the template place?

I don't think so, but would bet any money on this answer. I'm certain we are bringing some knowledge from the atlas into the bold, particularly to create the carpetplot - other than that there shouldn't be much of a difference, I believe.

Closing due to the lack in activity.


Feature - Add on paused callback for 'YoutubePlayer' widget

Add on paused callback for 'YoutubePlayer' widget

There's a isPlaying already, why was a callback necessary?

There's already a isPlaying flag, why was a callback necessary?

I am using Firebase Analytics, and I am checking the position of the video when it's paused. It's more simple to do the job inside onPaused by getting the metadata.


Can not show multiple route during  search time.

ex : I have two route during 8/8~8/9?
how could i show tow route in explorer?

Solved thie thanks.


Issue : Uncaught node.js Error (cannot check current palette in CurrentColorsService)

I have this error when I draw and release the mouse button. On Windows 7 64bits.
Uncaught node.js Error
TypeError: Cannot read property 'id' of null
at a.CurrentColorsService.isCurrentColorsPaletteSelected_ (file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:13:1778)
at a.CurrentColorsService.onPiskelUpdated_ (file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:13:1526)
at Object.$.event.dispatch (file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:2:5581)
at Object.g.handle.h (file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:2:1588)
at Object.$.event.trigger (file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:2:4126)
at Object.eval (file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:2:11963)
at Function.$.extend.each (file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:1:14315)
at $.fn.$.each (file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:1:11034)
at $.fn.extend.trigger (file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:2:11939)
at Function.a.publish (file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:5:844)

Looks like something's wrong with your current palette. Do you have any
palette selected ?
I will modify this part of the code to make it more robust of course, but I
would like to understand how this could happen first :)
Could you upload a screenshot of your UI as well?
Thanks !
Le 7 mars 2015 23:31, "Dullgarian"<EMAIL_ADDRESS>a écrit :

I have this error when I draw and release the mouse button. On Windows 7
64bits.
Uncaught node.js Error
TypeError: Cannot read property 'id' of null
at a.CurrentColorsService.isCurrentColorsPaletteSelected_
(file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:13:1778)
at a.CurrentColorsService.onPiskelUpdated_
(file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:13:1526)
at Object.$.event.dispatch
(file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:2:5581)
at Object.g.handle.h
(file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:2:1588)
at Object.$.event.trigger
(file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:2:4126)
at Object.eval
(file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:2:11963)
at Function.$.extend.each
(file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:1:14315)
at $.fn.$.each
(file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:1:11034)
at $.fn.extend.trigger
(file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:2:11939)
at Function.a.publish
(file:///C:/Users/MYNAME/AppData/Local/Temp/nw4140_8958/dest/js/piskel-packaged-min-2015-01-23-11-12.js:5:844)
—
Reply to this email directly or view it on GitHub
https://github.com/juliandescottes/piskel/issues/253.

I don't understand why but now it's working flawlessly! I clicked under the palette menu on "current colors" and it worked! I think there was "no palette selected" or something like that as default but I can be wrong! It's disappeared, I can't repeat the error lol!

Glad you found a workaround. I will try to reproduce this myself before closing the issue.
Some questions if you have time :

did you create any palette yourself ?
did you open two windows of the Piskel application at the same time ?

Sorry for the late reply Julian, I completely forgot to check my post here!
To answer you, nope, I didn't create any palette or started the app twice... Hope it still help and relevant after 20 days...

Yes it helps, I have not investigated the issue yet.
Thanks !

Fixed with commit d1b12a0


[Feature][Connector-V2][Kafka]Kafka source supports data deserializat…

…ion failure skipping #4361
[Feature][Connector-V2][Kafka]Kafka source supports data deserialization failure skipping #4361

Purpose of this pull request

Check list

[x] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[x] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
[x] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

Add e2e test case to verify this pull reqeust. Thanks

Add e2e test case to verify this pull reqeust. Thanks

The function configuration has been added to the kafka-e2e project, and the local docker verification has been completed.
Thanks.

Add e2e test case to verify this pull reqeust. Thanks

The function configuration has been added to the kafka-e2e project, and the local docker verification has been completed.
Thanks.

BTW, SeaTunnel use the spotless plugin to guarantee the style of code, so before you submit pull reqeuest you should execute mvn spotless:apply to format you code

Add e2e test case to verify this pull reqeust. Thanks

Thanks a lot for the reminder.
I execute locally
mvn spotless: check
mvn spotless:apply returns successfully, but it is not clear why CI did not pass
[INFO] SeaTunnel : E2E : Connector V2 : DataHub ........... SUCCESS [  0.015 s]
[INFO] SeaTunnel : E2E : Connector V2 : Mongodb ........... SUCCESS [  0.015 s]
[INFO] SeaTunnel : E2E : Connector V2 : Hbase ............. SUCCESS [  0.014 s]
[INFO] connector-maxcompute-e2e ........................... SUCCESS [  0.014 s]
[INFO] SeaTunnel : E2E : Engine : ......................... SUCCESS [  0.013 s]
[INFO] SeaTunnel : E2E : Engine : Base .................... SUCCESS [  0.127 s]
[INFO] SeaTunnel : E2E : Engine : Console ................. SUCCESS [  0.016 s]
[INFO] SeaTunnel : E2E : Transforms V2 .................... SUCCESS [  0.015 s]
[INFO] SeaTunnel : E2E : Transforms V2 : Common ........... SUCCESS [  0.015 s]
[INFO] SeaTunnel : E2E : Transforms V2 : Part 1 ........... SUCCESS [  0.015 s]
[INFO] SeaTunnel : E2E : Transforms V2 : Part 2 ........... SUCCESS [  0.016 s]
[INFO] SeaTunnel : Dist ................................... SUCCESS [  0.013 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.417 s
[INFO] Finished at: 2023-03-17T22:41:47+08:00
[INFO] ------------------------------------------------------------------------
➜  incubator-seatunnel git:(521daichen/kafka-source-support-error-handle) mvn spotless:apply

maybe we need to collect the dirty data about this by engine，it's very important featur about ETL sofeware， Actually, this pr can slove the serialization of kafka data，can we get the more detail reason about serialization failure，sometimes，we need such feature as null as empty，null,'default data' to solve the dirty illegal column.

ok. I have added e2e
1、format_error_handle_way = fail
The data is invalid, an exception will be thrown
2、skip
The data is invalid and will be skipped

fixed


<IP_ADDRESS> branch

"select cast(sum(×××) as decimal)"
getColumnType return a INT type

Could you add a unit test for your column type change?

@gasup There are too many unrelated changes in this PR.  If you'd like to contribute your code, please open a PR for each change.  Thanks!


ECP Numerical Accuracy

I'm a Psi4 developer. We recently received a report of differences between scalar ECP matrix elements of Psi4 and PySCF, in the seventh decimal place. I am not an ECP specialist but would like to know the origin of this disagreement, to rule out a bug in our external ECP library. On Psi's side, when we increase our numerical integration grid for ECPs, we do see changes in our matrix elements, but several orders of magnitude smaller than the observed discrepancy, which has me looking to PySCF.
When I call mol.intor('ECPscalar'), what accuracy should I expect of the resulting integrals? Is there a way to increase the accuracy, for benchmark purposes? While I've found an ECP section in the documentation, I'm unable to even tell if these integrals are computed numerically or using some analytic formula.

In https://github.com/pyscf/pyscf/blob/master/pyscf/lib/gto/nr_ecp.c#L57
You can set LEVEL0 to 11 and LEVEL_MAX to a larger number . The number of grids on radial part was increased from 2^LEVEL0 to 2^LEVEL_MAX .

@JonathonMisiewicz , has this been resolved?

@JonathonMisiewicz , has this been resolved?

The remainder of this week is devoted to a grant, so I'll run the last set of checks next Monday. Thanks for the reminder - I empathize with wanting to cull the issue backlog.

I'm attempting to run those final checks, but I'm encountering a different error. The following script:
from pyscf import gto

geom = """Fe     0.000000    0.000000    0.000000
C      0.000000    1.811939    0.000000
C      1.569185   -0.905970    0.000000
C     -1.569185   -0.905970    0.000000
C      0.000000    0.000000    1.814011
C      0.000000    0.000000   -1.814011
O      0.000000    2.977582    0.000000
O      2.578662   -1.488791    0.000000
O     -2.578662   -1.488791    0.000000
O      0.000000    0.000000    2.976843
O      0.000000    0.000000   -2.976843"""
geom = geom.replace("\n", ";")
mol = gto.Mole()
mol.build(
    atom = geom,  # in Angstrom
    basis = 'lanl2dz',
    symmetry = False,
)
mol.charge = 1
print(mol.intor('ECPScalar'))

gives me pyscf/lib/libcgto.so: undefined symbol: ECPScalar_sph using Pyscf 2.2.1 via pip on LInux. What am I missing?

mol.intor('ECPscalar')

Thanks for the assistance so far.

In https://github.com/pyscf/pyscf/blob/master/pyscf/lib/gto/nr_ecp.c#L57 You can set LEVEL0 to 11 and LEVEL_MAX to a larger number . The number of grids on radial part was increased from 2^LEVEL0 to 2^LEVEL_MAX .

When I try increasing LEVEL_MAX to a larger number (such as 12), I get the warning:
/home/jonathon/bin/pyscf/pyscf/lib/gto/nr_ecp.c:6407:52: warning: iteration 2048 invokes undefined behavior [-Waggressive-loop-optimizations]
                         r2 = rs_gauss_chebyshev2047[i]*rs_gauss_chebyshev2047[i];
                              ~~~~~~~~~~~~~~~~~~~~~~^~~
/home/jonathon/bin/pyscf/pyscf/lib/gto/nr_ecp.c:6406:17: note: within this loop
                 for (i = 0; i < (1 << LEVEL_MAX); i++) {

Is this something I should worry about?

The quadrature roots and weights https://github.com/pyscf/pyscf/blob/72b045a791086017f1d406476d2a02db7bff640e/pyscf/lib/gto/nr_ecp.c#L3638
https://github.com/pyscf/pyscf/blob/72b045a791086017f1d406476d2a02db7bff640e/pyscf/lib/gto/nr_ecp.c#L4050
should be regenerated for more grids. For example, you can call dft.radi.gauss_chebyshev(4096) to generate them.


Disable shortcuts

Is there a way to get rid of all of the shortcuts in the browser build without having to edit the source code?

https://github.com/markdown-it/markdown-it-emoji#use you could pass empty object for shortcus in options. And this is not related to build anyhow.


RN-52: RN: Make create post and upload file actions optimistic

Summary
This PR allows for post to be submitted optimistically and retried if the request fails.
Ticket Link
https://mattermost.atlassian.net/browse/RN-52
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] Added or updated unit tests (required for all new features)
[ ] All new/modified APIs include changes to mattermost-redux (please link)
[x] Has UI changes
[x] Includes text changes and localization file updates

Device Information
This PR was tested on:
iPhone 6 iOS 10
iPhone 7 iOS 10
Galaxy s7 - Android 6.0 API 23
@jarredwitt

@jarredwitt eslint errors

@enahum rebased and updated.


Remove HTML from bc211 content responses

AC: No HTML markup appears in the content from the 211 data set

Note that this is mostly already implemented but only used in the context of computing the similarity scores. It is used there because HTML in the text data badly threw off the NLP computations. We just have to decide whether to strip out the HTML as part of the import step, meaning it can be removed from the similarity computation (since it uses the data as imported), or whether to do it at the REST API, meaning it still needs to be there in the similarity computation as well.


[Dashboard] Fix padding issue on NFT tab buttons

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR updates the environment configuration and modifies a component in the dashboard application to improve the UI.
Detailed summary

Added ANALYTICS_SERVICE_URL to apps/dashboard/.env.example.
Updated REDIS_URL in apps/dashboard/.env.example.
Refactored <ButtonGroup> in apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/[tokenId]/token-id.tsx for cleaner syntax.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#5357  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @kien-ngo and the rest of your teammates on  Graphite


Object.keys should return keyof T

Playground: https://www.typescriptlang.org/play/#src=const feature %3D {
	description%3A ''%2C%0D%0A%09screenshot%3A%20''%2C%0D%0A%09disabled%3A%20''%0D%0A%7D%3B%0D%0A%0D%0Aconst%20keys%20%3D%20Object.keys(feature)%3B
const feature = {
	description: '',
	screenshot: '',
	disabled: ''
};

const list = Object.keys(feature);

Current
keys(o: {}): string[];

typeof list = string[]

Expected
keys<T extends object>(o: T): Array<keyof T>;

typeof list = Array<"description" | "screenshot" | "disabled">

Workaround
const feature = {
	description: '',
	screenshot: '',
	disabled: ''
};

const list = Object.keys(feature) as Array<keyof typeof feature>;

Object.keys is not on TSJS-lib-generator. It should be directly fixed in TypeScript repo.

Indeed, moved to https://github.com/microsoft/TypeScript/issues/32321


Update README.md

Adjust python version

@schuenke any idea what i broke?
The tests did not run on this PR..


Bug bash to find samples for Key Vault that need to use the latest package

Update from @ramya-rao-a
Review the JavaScript & TypeScript samples for Key Vault in the below locations to find the ones that do not use the latest version of the Key Vault packages. Update this issue with the list of samples that need updating.

Key Vault JavaScript samples repos under Azure-samples org
Key Vault JavaScript samples under docs.microsoft.com/samples
Key Vault TypeScript samples repos under Azure-samples org
Key Vault TypeScript samples under docs.microsoft.com/samples

Additionally, ensure the samples that live next to the source code for Key Vault in this repo shows up in Key Vault JavaScript samples under docs.microsoft.com/samples and Key Vault TypeScript samples under docs.microsoft.com/samples. This is done by setting up the right metadata. Ensure that these samples are not outdated.
CC: @sadasant, since he'll probably be interested in what's going on in KeyVault documentation, even if he's not directly doing the work.

These samples appear to be out of sync with master - the links in the readme are fine but the actual .zip file seems out of date, at least with sample.env:

https://docs.microsoft.com/en-us/samples/azure/azure-sdk-for-js/keyvault-keys-javascript/
https://docs.microsoft.com/en-us/samples/azure/azure-sdk-for-js/keyvault-keys-typescript/

Thanks @richardpark-msft!

@ramya-rao-a , @sadasant  - there's also this "hidden" set of samples that are listed under 'node.js'. Would it make sense to "delist" them so we only either have javascript or typescript results but not some third set? Or should all of our JS samples also be listed under node.js?
https://docs.microsoft.com/en-us/samples/browse/?terms="Key Vault"&expanded=azure&languages=nodejs
(today's results with that search):

https://docs.microsoft.com/samples/azure-samples/azure-sdk-for-js-keyvault-secret-get-set-managedid/get-set-keyvault-secrets-managed-id-nodejs/
https://docs.microsoft.com/samples/azure-samples/azure-sdk-for-js-keyvault-secrets-get-nodejs-managedid/get-set-keyvault-secrets-managed-id-nodejs/
https://docs.microsoft.com/samples/azure-samples/key-vault-node-getting-started/quickstart-set-and-retrieve-a-secret-from-azure-key-vault-using-a-node-web-app/
https://docs.microsoft.com/samples/azure-samples/key-vault-node-quickstart/key-vault-node-quickstart/

A related question - there are a few samples that have a little bit about using v3 vs v4:
https://docs.microsoft.com/en-us/samples/azure-samples/azure-sdk-for-js-keyvault-secrets-get-nodejs-managedid/get-set-keyvault-secrets-managed-id-nodejs/
Should these samples just say "v4" and remove the v3 parts altogether? Or is there something in v3 (aside from compatibility) that would make us keep showing both?


chore: update Lake

Update to v3.1.0 v3.1.1 (hotfix)

Do you want to write up a changelog with the highlights (or a link) for RELEASES.md?

@Kha Sure, I am planning to add a tag for the release on the Lake repository itself with such highlights so either a link to that or the information itself can put in RELEASES.md. I just wanted to sanity check the build first in this PR (via CI) before creating the tag.

@Kha Release highlights (and changelog) are now at https://github.com/leanprover/lake/releases/tag/v3.1.0

@Kha Added note to RELEASE.md (and bumped to v3.1.1 due to an issue that need quick fixing.


Unique ID for the sensors

Hi.
I am still enjoying your integration.
HA has now the functionality to create categories and then add this to a sensor.  All the sensors that this integration creates are displayed in the Helpers overview.
I am not able to assign a category to the sensors due to this:
“This entity ('sensor.rsp1570_speaker_front_right') does not have a unique ID, therefore its settings cannot be managed from the UI. ”
Is it possible to make the integration giving the sensor a unique ID, so its possible to add a category. Would be so helpful since the integration creates so many sensors.

Hi,
Nice to hear from you!  I hope that all goes well.
I can take a look at this at the weekend but I just wanted to check that I'm understanding the problem correctly.   I'm working from memory here and I may not be remembering properly but I'm not sure that this integration creates any sensors.    However, the various media player states can be wrapped by template sensors that would be defined in configuration.yaml.   If that is the case then template sensors can have unique ids added in the yaml.
Apologies if I'm talking nonsense - I can have a proper look at the weekend.

Hi,
I've taken a look and I assume that you are using the example config, which does use the template sensors mentioned above.   I will update the examples to include unique ids and I'll also update them to use the 'modern' yaml format in order to future proof them.   Should be a cut/paste exercise to solve your problem.
I'm afraid that I spent most of my time this weekend getting my development environment up to date (HA 2024-10 and Python 3.12 etc.) so I probably won't finish this until next weekend at the earliest.   However, when I do release an update I will also take the opportunity to fix the various warnings about the integration using deprecated features.

That’s good news,  really appreciated!