luci-app-bcp38: added bcp38 application

This application was moved from the packages repository to luci.
Signed-off-by: Dan Luedtke<EMAIL_ADDRESS>What I do not know how to implement best is this part:
define Package/luci-app-bcp38/postrm
#!/bin/sh
uci delete ucitrack.@bcp38[0]
uci commit
endef

What is the correct trigger in the LuCI build system for that?
This  PR depends on: https://github.com/openwrt/packages/pull/4013

No objections to this move, but the postinst/prerm hooks need to be carried over (or equivalent functionality needs to be added); otherwise things will break...

I hope I covered the postinst correclty with the uci-defaults script.
It was this before:
define Package/luci-app-bcp38/postinst
 #!/bin/sh
 [ -x /etc/uci-defaults/luci-bcp38 ] && /etc/uci-defaults/luci-bcp38 || exit 0
 endef

And now is in applications/luci-app-bcp38/root/etc/uci-defaults/60_luci-bcp38
For the prerm I have to admit that I do not know how it is handled in the LuCI build system. Maybe @hnyman can give me a hint?

Trouble is that the uci-defaults is not run until the next boot. And since this package is not likely to be installed as part of an image, without the postinst, what will happen is that people will install it, then go configure it, and it'll do... nothing...

Ok, that's bad. So this PR is not a candidate for merging until I figured out how to fix that. Thanks for the clarification!

Trouble is that the uci-defaults is not run until the next boot.

To my knowledge the uci-defaults of a package is run nowadays at the opkg installation to a live router with both LEDE and Openwrt master (since April-May 2016):
LEDE master:
https://github.com/lede-project/source/commit/9b9c78e071469313566473984fb79f54c1881c10
https://github.com/lede-project/source/commit/7f6945829640e82dadf928c9e214470fa0c5a321
Openwrt master (practically same patch has been applied twice...):
https://github.com/openwrt/openwrt/commit/ca78fd16b547604eae6757241acacf30bbe2904f
https://github.com/openwrt/openwrt/commit/535a2648b20d1ee10cb444d590aebfd488d2c180
Additionally, packages from the LuCI repo have ran uci-defaults at opkg install due to postinst automatics in luci-mk (since 2014):
https://github.com/openwrt/luci/blob/master/luci.mk#L11
https://github.com/openwrt/luci/blob/master/luci.mk#L189
Ps.
bcp38 does not have prerm. (It has a rather non-essential postrm)
https://github.com/openwrt/packages/blob/master/net/luci-app-bcp38/Makefile#L51

Ah, was not aware of that - that's awesome, we can probably lose the postinst then :)
And yeah the postrm (post, pre, who is really keeping track? ;)), it's not terribly important. Anyone knows what happens if the ucitrack entry is not removed? If it doesn't break things I'm fine with just going without it as well

There was a typo in dependencies that I fixed with https://github.com/openwrt/luci/commit/c0303598d5420324fa8991bfca8f34d341ab4d44


Microsoft.ML Packages

This error occurs when using the cloud platform or the standard lean engine with strategies that use Microsoft.ML.
even when packages are subscribed with $ lean library add "My Project" Microsoft.ML
Unhandled exceptions when trying to use Microsoft.ML packages other than the base Microsoft.ML package, including
Microsoft.ML.TimeSeries
Microsoft.ML.Mkl.Redist
Microsoft.ML.Mkl.Components
Microsoft.ML.FastTree
Microsoft.ML.DataView
Microsoft.ML.CpuMath
Potential Solution
Add supported Microsoft.ML Packages to the QuantConnect.Lean.Engine, implict installation is not enough.
I have been running these packages on my local version for the last 12 months, installed explictly into Lean.engine project.
To reproduce just try to train a fast tree (or most model types) in a QC strategy and it will crash. See https://learn.microsoft.com/en-us/dotnet/api/microsoft.ml.treeextensions.fasttree?view=ml-dotnet
Runtime Error: One or more errors occurred. (Unable to load shared library 'FastTreeNative' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libFastTreeNative: cannot open
System Information
QuantConnect Cloud and QuantConnect Docker / Lean Engine
Checklist

[ y] I have completely filled out this template
[y ] I have confirmed that this issue exists on the current master branch
[ y] I have confirmed that this is not a duplicate issue by searching issues

[ y] I have provided detailed steps to reproduce the issue

Hey @BurnOutTrader! Thank you for the report, if you could share a simple code snippet to reproduce the issue it would be great 🙏

Will, do. I have have a test and let you know. the problem wasnt adding the library itself but when I ran any sort of pipeline outside of the standard Microsoft.ML package it would return the errors. I found all the model types work locally on custom lean if all the correct packages are added explicitly to Lean.Engine at an earlier time I was adding them to a couple of projects, I think algorithm.csharp and algorithm but then I found, just adding directly to the engine was all that is needed. It is just trial and error for me, I didnt go far enough into the source code to know why, I am to amatuer to fully understand at this point.
The method below is the sort of thing I am running, predict column label and another for predict column values.
I will try the knew Lean version now, thankyou.
`public static class PredictColumnLabel
{
private static bool CheckDataSets(IDataView trainData, IDataView testData, string labelColumnName)
{
bool trainContainsTrue = false, trainContainsFalse = false;
bool testContainsTrue = false, testContainsFalse = false;
        // Checking the training data
        var trainRows = trainData.GetColumn<bool>(labelColumnName).ToList();
        trainContainsTrue = trainRows.Contains(true);
        trainContainsFalse = trainRows.Contains(false);

        // Checking the testing data
        var testRows = testData.GetColumn<bool>(labelColumnName).ToList();
        testContainsTrue = testRows.Contains(true);
        testContainsFalse = testRows.Contains(false);

        // Returns true only if both data sets contain both true and false
        return trainContainsTrue && trainContainsFalse && testContainsTrue && testContainsFalse;
    }
    //todo: make a method that allows List of dynamic objects to be used, where columns are matched automatically to type
    public static void BinaryClassification(Brain brain, List<Food> food)
    {
        var context = new MLContext();

        var data = context.Data.LoadFromEnumerable(food);

        var featureColumnNames = FeatureColumnFiltering.GetColumnNames(food[0].GetType());
        var dataSplit = context.Data.TrainTestSplit(data, testFraction: 0.2);
        var trainData = dataSplit.TrainSet;
        var testData = dataSplit.TestSet;

        var labelColumnName = brain.ModelJob.ToString();
        // Call CheckDataSets without brain.ModelJob as parameter since we now use the literal "Winner"
        if (!CheckDataSets(trainData, testData, labelColumnName))
        {
            Console.WriteLine("Invalid Data Set, returning");
            return;
        }
        var earliestFoodDate = food.Min(f => f.TimeCreated);
        var latestFoodDate = food.Max(f => f.TimeCreated);
        try
        {
            switch (brain.ModelType)
            {
                case ModelType.FastTree:
                    var pipeline1 = context.Transforms.Concatenate("Features", featureColumnNames)
                        .Append(context.Transforms.NormalizeMinMax("Features"))
                        .Append(context.BinaryClassification.Trainers.FastTree(labelColumnName: labelColumnName,
                            featureColumnName: "Features"));

                    var model1 = pipeline1!.Fit(trainData);
                    Evaluate(brain, testData, trainData, model1, context, labelColumnName,  earliestFoodDate, latestFoodDate);
                    break;

                case ModelType.Regression:
                    var options = new Microsoft.ML.Trainers.LbfgsLogisticRegressionBinaryTrainer.Options
                    {
                        LabelColumnName = labelColumnName,
                        FeatureColumnName = "Features",
                        OptimizationTolerance = 1e-4f,
                    };
                    var pipeline3 = context.Transforms.Concatenate("Features", featureColumnNames)
                        .Append(context.Transforms.NormalizeMinMax("Features"))
                        .Append(context.BinaryClassification.Trainers.LbfgsLogisticRegression(options));

                    var model3 = pipeline3!.Fit(trainData);
                    Evaluate(brain, testData, trainData, model3, context, labelColumnName,  earliestFoodDate, latestFoodDate);
                    break;

                // case ModelType.SDCA:
                //     var pipeline5 = context.Transforms.Concatenate("Features", featureColumnNames)
                //         .Append(context.Transforms.NormalizeMinMax("Features"))
                //         .Append(context.BinaryClassification.Trainers.SdcaLogisticRegression(
                //             labelColumnName: labelColumnName));
                //
                //     var model5 = pipeline5!.Fit(trainData);
                //     Evaluate(brain, testData, trainData, model5, context, labelColumnName);
                //     break;

                // case ModelType.Neural:
                //     var pipeline2 = context.Transforms.Concatenate("Features", featureColumnNames)
                //         .Append(context.Transforms.NormalizeMinMax("Features"))
                //         .Append(context.BinaryClassification.Trainers.AveragedPerceptron(labelColumnName: labelColumnName));
                //
                //     var model2 = pipeline2!.Fit(trainData);
                //     Evaluate(brain, testData, trainData, model2, context, labelColumnName);
                //     break;

                // case ModelType.FFM:
                //     var pipeline4 = context.Transforms.Concatenate("Features", featureColumnNames)
                //         .Append(context.Transforms.NormalizeMinMax("Features"))
                //         .Append(context.BinaryClassification.Trainers.FieldAwareFactorizationMachine(
                //             labelColumnName: labelColumnName));
                //
                //     var model4 = pipeline4!.Fit(trainData);
                //     Evaluate(brain, testData, trainData, model4, context, labelColumnName);
                //     break;

                // case ModelType.SymSgd:
                //     var pipeline6 = context.Transforms.Concatenate("Features", featureColumnNames)
                //         .Append(context.Transforms.NormalizeMinMax("Features"))
                //         .Append(context.BinaryClassification.Trainers.SymbolicSgdLogisticRegression(
                //             labelColumnName: labelColumnName));
                //
                //     var model6 = pipeline6!.Fit(trainData);
                //     Evaluate(brain, testData, trainData, model6, context, labelColumnName);
                //     break;

                default:
                    throw new Exception("Invalid Model Type in BinaryClassification() switch statement");
            }
        }
        catch (Exception e)
        {
            Console.WriteLine($"Error in PredictColumn Label switch {e}");
            throw;
        }

    }

    private static void Evaluate(Brain brain, IDataView testData, IDataView trainData, ITransformer model, MLContext context, string labelColumnName, DateTime earliestFoodDate, DateTime latestFoodDate)
    {
        Console.WriteLine("Evaluating New Model");
        var predictions = model.Transform(testData);
        var metrics = context.BinaryClassification.Evaluate(predictions, labelColumnName);

        Console.WriteLine($"{brain.Symbol} MicroAccuracy: {metrics.Accuracy:F2}, LogLoss: {metrics.LogLoss:F2}, LogLossReduction: {metrics.LogLossReduction:F2}");
        University.Graduate(brain, trainData, model, context, earliestFoodDate, latestFoodDate);
    }
}`

@Martin-Molinero Just thought i would report back that FastTree is now working on the update, I will start testing some of the other model types, I know some wont work on mac and linux due to dependency issues so Ill test the important ones.


WIP | Add support for lz4 and other layered codecs.

This pull request tracks efforts to support lz4 and potentially other compression algorithms.
What follows is a quick write-up on why only layered compression is being handled for right now.
--
In the future, it is also possible that alternate serialization codecs will be supported. Indeed, experimentally this PR is using a different codec for handling JSON data. However, there are a couple of issues:

It is unclear how to idiomatically use deferred decoding with alternate codecs. Even if we do solve that, one big issue is that the system currently uses json.Marshal internally for Message.SetData - which is trouble, because Message.SetData does not have access to the server/client state (rightfully.) It seems if we defer decoding successfully, the problem then is that we can't defer encoding.
As a direct consequence, if we don't defer decoding, we need to find an efficient way to extract the event name, then decode fully.

My best idea for how to solve this would be to pass a struct with only the name field to the decoder, then later decode the whole object. This works because you can change Message.Data to be an []interface{} array - at the very least, json.Unmarshal will pay attention if your []interface{} array is populated with writable objects like pointers.
So the general flow would go like this:

Decode event name.
Find function handle, and make an []interface{} array of empty arguments.
Make a second []interface{} array where everything is a pointer. Important for structs. May be important to make sure we don't make too many levels of indirection, but for at least structs we need at least one level of indirection.
Decode event data using that second []interface{} array as the value for Message.Data
Now, the first []interface{} array should be fully populated with arguments we can call the function with.

The most ugly part of this is simply the level of indirection needed for getting json.Unmarshal to write into our array using the types we want. It's much easier to handle this with deferred decoding. Otoh, I do not believe performance is significantly worse this way. Even with deferred decoding, there was still a need for the JSON parser to tokenize the entire body once, then again for each deferred decode - so it's not a pure gain. Doing deferred decoding this way should have a very similar advantage especially because the data that is deferred the first time is the biggest portion.
It also remains to be seen if github.com/ugorji/go/codec provides the necessary robustness to handle this all. It appears to special-case []interface{} which means the answer is "probably" - it may even solve the issue where pointers are necessary, so some testing will need to be done. It should provide a performance benefit, so hopefully it works out. But if it doesn't, another MessagePack library which does support decoding into []interface{} arrays of varying types will be needed.
OK, that's all for now.

@johnwchadwick wtf, why is this failing tests...

[Current coverage][cc-pull] is 60.83%

No coverage report found for master at 31b6510.

Powered by Codecov. Last updated by [31b6510...e3c8492][cc-compare]
[cc-base-branch]: https://codecov.io/gh/Benzinga/go-webrpc/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/Benzinga/go-webrpc/compare/31b6510d1056c5450f08162f5826c212bc5adf88...e3c8492751c6a7ca34012f5d8ac61b75d1a7799c
[cc-pull]: https://codecov.io/gh/Benzinga/go-webrpc/pull/1?src=pr

[Current coverage][cc-pull] is 60.83%

No coverage report found for master at 31b6510.

Powered by Codecov. Last updated by [31b6510...e3c8492][cc-compare]
[cc-base-branch]: https://codecov.io/gh/Benzinga/go-webrpc/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/Benzinga/go-webrpc/compare/31b6510d1056c5450f08162f5826c212bc5adf88...e3c8492751c6a7ca34012f5d8ac61b75d1a7799c
[cc-pull]: https://codecov.io/gh/Benzinga/go-webrpc/pull/1?src=pr

ey get out of here rob

I see no failed tests :)


deps: Bump python -> 3.12.3

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/retest

@RyanTheOptimist this one should be ready to land - the CI fail is unrelated ~permafail on main


badge number in store

RSOs report that the badge number box in the store does not allow anything to be entered.  To work around they have to check the guest box and have it automatically add the 9999 number for guests and then when the box is unchecked they can enter the badge number of the person making the purchase.  I have not noticed this on the badge sales computer but it is happening on the guest station one computer.  They were able to duplicate this to show it to me.

This appears to require a yum update on the Guest computers b/c cannot duplicate on other computers.

This appears to require a yum update on the Guest computers b/c cannot duplicate on other computers.

Needs testing removed javascript errors on that page

Needs testing removed javascript errors on that page

After talking with Jenn, we are closing the ticket.  RSO's aren't complaining.

After talking with Jenn, we are closing the ticket.  RSO's aren't complaining.

When BH logs in and goes to store, the App does load the BH data. However, his Guest wants to buy a target and the BH clicks the Guest checkbox. The badge number does go to 9999 and can't be edited - all good so far! Except, the first and last name populate automatically with info from a former guest. These fields should remain blank for the Guest to enter his info.


FR: allow closures for i18n messages or custom global message formatter

I am integrating parsley with a PHP app that has it's own i18n logic (with a client-side i18n lib). It's a plugin based app, where plugins can overwrite i18n values. Currently, we are tied to parsley's own formatMessage implementation. It would be great if there were a way to avoid maintaining messages objects for all the locales, and instead use a custom global message formatter, or set messages as closure that receives string, parameters and locale as arguments.

IIC, you'd like us to officialize the fact that you could override Parsley.getErrorMessage ?
That's the function that is responsible for computing an error message, for cases where there isn't a custom one defined for a field.
Or do you actually need that ParsleyValidatorRegistry.prototype.formatMessage be made global and overridable?

Yes, looks like overriding Parsley.getErrorMessage would do the trick. I would then be able to add a custom catalog with raw language keys, and use custom a formatter that is agnostic to Parsley's locale.

Re-reading your comment, it seems that officialize means that it's already possible. I am looking at the code, and not sure I see how to make that work. If you could point me in the right direction, I would appreciate it.

Yes, just load parsley, and then override it (Parsley.getErrorMessage = function(constraint) { .... };).
Currently, Parsley.getErrorMessage calls ParsleyValidatorRegistry.prototype.getErrorMessage, so check how it's done there for inspiration

Thanks. That works. The only problem is instance binding. this is not a validator registry.
The following works:
    window.Parsley.getErrorMessage = function (constraint) {
      // format message
    }.bind(window.Parsley._validatorRegistry);

So it's really just the formatter that you wanted to override (i.e. ParsleyValidatorRegistry.prototype.formatMessage)? That could be made global and overridable.

Hm, not entirely true, because getErrorMessage doesn't apply formatMessage to all messages. What I need is for all messages to go through the formatter. I have strings in format foo:bar, which all need to be mapped to their translation strings and sprintf'ed if there are parameters.


Added pubsub.schedule() support

I've added pubsub.schedule() support.
There's no unit test however...

Well, I guess no test after all, as cron functions require Blaze plan.
This is now published as 1.0.2.


unable to open input dataset file

When I try to train the jet_substructure I am facing with the reading the dataset.
tsp@06835eb13924:/workspace/logicnets/examples/jet_substructure$ python train.py --arch jsc-s --log-dir ./jsc_s/
Traceback (most recent call last):
File "train.py", line 292, in
dataset['train'] = JetSubstructureDataset(dataset_cfg['dataset_file'], dataset_cfg['dataset_config'], split="train")
File "/workspace/logicnets/examples/jet_substructure/dataset.py", line 35, in init
with h5py.File(input_file, 'r') as h5py_file:
File "/home/tsp/.local/miniconda3/lib/python3.8/site-packages/h5py/_hl/files.py", line 533, in init
fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
File "/home/tsp/.local/miniconda3/lib/python3.8/site-packages/h5py/_hl/files.py", line 226, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 106, in h5py.h5f.open
OSError: Unable to open file (file signature not found)
can you help me solve this issue

here is the more detailed explanation of the error.
FileNotFoundError: [Errno 2] Unable to open file (unable to open file: name = 'data/processed-pythia82-lhc13-all-pt1-50k-r1_h022_e0175_t220_nonu_truth.z', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

It sounds like you haven't downloaded the dataset. Or if you have, can you tell me what is the output of these commands

Hello @nickfraser ,
I had downloaded the dataset , here is the output of the download command
tsp@06835eb13924:/workspace/logicnets/examples/jet_substructure$ mkdir -p data
tsp@06835eb13924:/workspace/logicnets/examples/jet_substructure$ wget https://cernbox.cern.ch/index.php/s/jvFd5MoWhGs1l5v/download -O data/processed-pythia82-lhc13-all-pt1-50k-r1_h022_e0175_t220_nonu_truth.z
--2022-11-11 08:59:31--  https://cernbox.cern.ch/index.php/s/jvFd5MoWhGs1l5v/download
Resolving cernbox.cern.ch (cernbox.cern.ch)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to cernbox.cern.ch (cernbox.cern.ch)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://cernbox.cern.ch/s/jvFd5MoWhGs1l5v/download [following]
--2022-11-11 08:59:31--  https://cernbox.cern.ch/s/jvFd5MoWhGs1l5v/download
Reusing existing connection to cernbox.cern.ch:443.
HTTP request sent, awaiting response... 200 OK
Length: 3648 (3.6K) [text/html]
Saving to: ‘data/processed-pythia82-lhc13-all-pt1-50k-r1_h022_e0175_t220_nonu_truth.z’
data/processed-pythia82-lh 100%[=====================================>]   3.56K  --.-KB/s    in 0s
2022-11-11 08:59:31 (12.9 MB/s) - ‘data/processed-pythia82-lhc13-all-pt1-50k-r1_h022_e0175_t220_nonu_truth.z’ saved [3648/3648]

Here is what I got when I try to debug the error:
Exception has occurred: FileNotFoundError
[Errno 2] Unable to open file (unable to open file: name = 'data/processed-pythia82-lhc13-all-pt1-50k-r1_h022_e0175_t220_nonu_truth.z', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
File "/workspace/logicnets/examples/jet_substructure/dataset.py", line 35, in init
with h5py.File(input_file, 'r') as h5py_file:
File "/workspace/logicnets/examples/jet_substructure/train.py", line 292, in
dataset['train'] = JetSubstructureDataset(dataset_cfg['dataset_file'], dataset_cfg['dataset_config'], split="train")

Based on your new issue, I assume you were able to resolve this.

Hello @nickfraser,
I got this error with jest substructure example and was not solved yet. And my new issue is on cybersecurity example. Either of them is not working. can you help me solve this unable to open the data set in jet substructure example.
Thank You


How to include licenses of Swift packages

Hey there,
not sure if I just missed it in the docs... is there any way of automatically including the used swift packages as well.
In my App, I have only 2 dependencies left on Cocoapods while the rest are migrated to SPM. Would be great if it was somehow possible to mix both.
Cheers

Hello Martin, and thanks for your question!
Unfortunately, you’re right: there’s no way to automatically include the SPM list of dependencies for a given project with AcknowList. Right now, you need to either hard-code the list (as an array of Acknow instances), or create a plist similar to what CocoaPods is generating, and use the auto import.
But that would be my top-priority feature request for AcknowList. The problem is that I’m not sure how to do it.
To my knowledge, the best solution to find the list of resolved dependencies is to look at [appName].xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved, as hinted on https://developer.apple.com/documentation/swift_packages/building_swift_packages_or_apps_that_use_them_in_continuous_integration_workflows (it doesn’t include local packages, though). So maybe we’d have to import that file into the main target, like we do for the CocoaPods plist? That gives us the list of packages with names and URLs, but not the licenses. Should we try to somehow fetch the licenses from each repo? When compiling, or when running? Or just open the repo instead of the license?
I know, lots of questions, but again, I think that’s the next step for AcknowList, as SPM seems to slowly overtake CocoaPods.

Hi @vtourraine,
thanks for sharing your thoughts on this.
I understand now, it's tricky. I guess there is even no one-single-way of providing a license text as a Swift Package. However, having / including a list of packages is a good staring point & better than nothing, I would say.
Generally speaking, I am a big fan of simply baking such kind of stuff into the app. So gathering everything at build time. However, fetching various license texts on every build sounds horrible. Taking into consideration that this process may even attempt different patterns such as $repoBaseUrl/blob/master/LICENSE vs. $repoBaseUrl/blob/master/LICENSE.txt vs … and so on, only makes it worth. So if done at build-time some sort of caching would be needed. With that, we are almost at the plist file approach. For a plist file, some script could help to build it, but this would still be clunky as dev would have to take care of running at appropriate times.
Here is another idea:

Gather the list of Swift packages from the Package.resolved file and include them in the list of AcknowListViewController.
Then have a dedicated details screen for SwiftPM packages, which would display the data points we get from Package.resolved. This details screen could link to the GitHub project of package being displayed. One could take it from there.
To take this one step further, this details screen's ViewController could attempt to fetch the LICENSE[.txt] (whatsoever) from the packages repo. If none of the fetching works, it may just fail gracefully. I would include some sort of loading state while the license text is search for.

Regards, Martin

Alright, let’s do this 🚀
I’ve added a new branch: https://github.com/vtourraine/AcknowList/tree/parse-packages
Right now, it only parses the titles and repository URLs from Package.resolved files (I’ve actually found 2 different formats for those files). I’ll try to implement the rest later. It does change the model a little bit, so in theory this should be released as a major new version. I’ll try to find a nice programming interface to make it as easy-to-use and discoverable as possible, despite the added complexity of supporting multiple file types.

🤩 Awesome!

Alright, I’ve opened a pull request with the new SPM support (with Package.resolved files): #102.
There’s also a good amount of refactoring, especially around AcknowParser to manage the fact that we support multiple file types. Please give it a try, and let me know what you think. 🙌

Hey @vtourraine,
I just gave it a first try and it works great so far.
However, I am facing a crash on my private Swift packages, see https://github.com/vtourraine/AcknowList/pull/102/files#r893423676 pls.
For me, it is easy to work around this by simply filtering my private packages, which I am about to do anyways. However, you may wanna add some kind of a URL validation to prevent client apps from crashing?
Cheers,
Martin

Hey @vtourraine how are things going on your side?
I think PR #102 is done now, thus can get merged and eventually released.
Bests, Martin

Update: it’s now merged into main 🎉
As previously discussed, this will be a “version 3” update, given the amount of interface changes. I’m thinking of releasing it alongside Xcode 14 in September. Probably not much that will change because of iOS 16/Swift 5.7 per se, but that’s always a nice time to move things forward.


Several IBL shadow fixes

This PR addresses a few issues that I've found while using the IBL shadow pipeline.

The voxel tracing debug shader code was left on (_debugVoxelMarchEnabled = true). This has a small performance cost but shouldn't be on by default.
Using the toggleShadow function immediately after creating the pipeline wasn't working because it gets toggled internally when the pipeline is ready.
Double voxelization was being done as a hack before to get around some async issues that no longer exist. I've removed this.
There were some async issues with multiple calls to setIblTexture that would prevent the IBL from being initialized correctly.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15490/merge/testResults/webgl2playwright/index.html

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15490/merge/testResults/webgpuplaywright/index.html


Option to modify ~/.gitignore_global instead

I prefer my aider gitignore to be global instead of repo specific. I've added it to the global but now it asks me every time I use it, and that gets annoying. I'll make the contribution if you think it's a good idea.

Thanks for trying aider and making this suggestion!
I'm reluctant to have aider reach out and modify global config files. The expectation aider sets is that it is going to work within the repo you launch it in. So it can modify the .gitignore file there.
Users who are using aider across many repos can easily take it upon themselves to set up a global gitignore file.

How about a global config option for not checking any gitignore file? That would allow users to add it to their global gitignore without Aider repeatedly asking to add it to the local gitignore.

Good idea! I had aider add that feature to itself.

I also updated the logic to check if .aider is ignored by the repo already (either via local or global gitignore). If so, it won't ask to add it to the .gitignore file.

I'm going to close this issue for now, but feel free to re-open or file a new issue any time.

Thanks!


Amy Gaskins signed up under lightning talks move to speakers

I'd rather have her on Friday. I saw that last night and can reach out to
her.
On Tue, Aug 16, 2016 at 10:50 AM, Chris Mathews<EMAIL_ADDRESS>wrote:

Assigned #216 https://github.com/codeforraleigh/CityCampNC/issues/216
to @jhibbets https://github.com/jhibbets.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/codeforraleigh/CityCampNC/issues/216#event-757156660,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADgoV5gfw1WEPaC37EjXUnNN-yj4KpOnks5qgc5TgaJpZM4Jlfs_
.

It was the wrong form. Seeing if it can be moved or I'll copy it.


[FEATURE] Support for PEP 484 Redundant Module/Symbol Aliases

Is your feature request related to a problem? Please describe.
PEP 484 states

Modules and variables imported into the stub are not considered exported from the stub unless the import uses the import ... as ... form or the equivalent from ... import ... as ... form. (UPDATE: To clarify, the intention here is that only names imported using the form X as X will be exported, i.e. the name before and after as must be the same.)

Pyright calls

import A as A a redundant module alias
from X import A as A a redundant symbol alias

These imports are needed, but not actually used:

per PEP 484, to allow static type checkers to see the module's contents, and
for package maintainers, as a courtesy to users to avoid them having to use long dotted access lookups (Law of Demeter Violation)

These typically occur in __init__.py and __init__.pyi files, but I don't want to ignore these files entirely. I would also like to run pycln on them to remove old-form uppercase typing module types (e.g. List, Optional, Dict, etc.) after running pyupgrade and to find genuinely unused imports.
Currently, the pycln CLI arguments --exclude and --extend-exclude only accept files and path regex's, not regex's matching specific lines in modules.
To have pycln ignore these aliases, one currently must add a # nopycln: import to each import in the project that is being exported, which is quite tedious.
Describe the solution you'd like. A clear and concise description of what you want to happen.
Since PEP 484 redundant aliases have a specific form, it would be nice to have a regex feature to exclude imports of a specific form; i.e. those matching the patterns

import A as A and
from X import A as A

A backreference could be used in a regular expression, like so:
/import (\w*) as \1/gm

and
/from (\w*) import (\w*) as (\2)/gm

respectively.
Since the module/symbol name is being repeated (A) instead of renamed, it is clear these are intended for the purpose of exporting (as opposed to, say, import numpy as np or from matplotlib import pyplot as plt), so there is minimal risk of accidentally skipping an actually unused import.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
N/A
Additional context Add any other context or screenshots about the feature request here.
N/A

Hi @adam-grant-hendry, first of all, I'm happy to see you around and supporting the project. Second, this feature request is accepted and will be added in the next release (perhaps today). Third, thanks for providing a regex, but Pycln is based on code AST analysis instead of regex, so now I'm trying to find a way to parse the AST of .pyi files that supports all the supported Python versions by Pycln.

@hadialqattan Thank you for your support!

Second, this feature request is accepted and will be added in the next release (perhaps today).

That's wonderful! It would be great if it could be added today! Congratulations! 🎉

Third, thanks for providing a regex, but Pycln is based on code AST analysis instead of regex, so now I'm trying to find a way to parse the AST of .pyi files that supports all the supported Python versions by Pycln.

No problem at all. A regex was simply my first thought. I would be happy, personally, however it is implemented!
Thank you and your team for this wonderful package!
Question: How do you intend the feature will work? Will it be automatic, or will the user have to set a certain flag on the command line?

Question: How do you intend the feature will work? Will it be automatic, or will the user have to set a certain flag on the command line?

I think this should be automatic just like normal .py files, what do you think?

I think this should be automatic just like what pycln does with .py files, what do you think?

BTW, I'm not really familiar with .pyi files, but as far as I know (by reading PEP484) there are no edge cases that are true for .pyi and not for .py files (regarding importing).

That should be true, yes. AFAIK, the redundant nature (A as A) was intentional in PEP 484 for this reason: 99.99% of imports that are doing an import as are usually trying to rename the import (e.g. import numpy as np). Historically, most linters (flake8, pylint, etc.) would flag an import A as A as a kind of "useless-import" or "does not rename the import"; something to that effect. Those warnings have to be silenced for specific files in that instance (or specific lines with # noqa or # pylint: disable=)
I believe it is safe to say that the number of redundant imports (A as A) used purposefully for exporting would far outweigh any edge cases. Specifically, because these imports are now required by the PEP, so authors are having to refactor their existing __init__.py files (and others where this happens).
For any possible edge cases, you might need an argument like
--remove-imports

that always removes a named import regardless.
As a bonus, such an argument might be double-useful for authors who wish to purposefully remove a used import everywhere it appears where they want to force contributors to use a specific package.
However, honestly, I personally think the author could manually remove the import in that instance and adding an extra CLI argument like --remove-imports isn't necessary.

As an alternative, for backwards compatibility, you could optionally add a CLI argument
--remove-redundant-aliases

so users can opt-in or opt-out of the feature.

Lastly, I think it is VERY IMPORTANT to add a small bit of documentation explaining the new behavior.
PEP 484  is still not known by most people, so they might get confused that something their linter (flake8/pylint/etc.) previously flagged as "useless" or "not renaming anything" was kept by pycln.
It could be as simple as saying

pycln keeps redundant alias imports:
import A as A
and redundant alias symbols
from A import B as B
in compliance with PEP 484 for the purposes of exporting modules and symbols for static type checking. See PEP 484 Stub Files for details

As an alternative, for backwards compatibility, you could optionally add a CLI argument
--remove-redundant-aliases

so users can opt-in or opt-out of the feature.

I see your point, but I think that PEP484 is old enough to be the default behavior without an opt-out arg. Moreover, this feature is totally safe because it's about skipping certain types of imports (not removing them) which can't break users' programs.

Also, for simplicity, I believe that CLI tools should be default-first instead of having too many CLI arg that users should use.

Lastly, I think it is VERY IMPORTANT to add a small bit of documentation explaining the new behavior.
PEP 484 is still not known by most people, so they might get confused that something their linter (flake8/pylint/etc.) previously flagged as "useless" or "not renaming anything" was kept by pycln.
It could be as simple as saying

pycln keeps redundant alias imports:
import A as A
and redundant alias symbols
from A import B as B
in compliance with PEP 484 for the purposes of exporting modules and symbols for static type checking. See PEP 484 Stub Files for details

For sure. Thanks a lot for the suggested note ❤.

@adam-grant-hendry if you don't mind, could you test the master branch before creating a new release?

@hadialqattan Completely agree with you on all points. Thank you so much for this!
I can test early tomorrow as I am spending time with family right now for the 4th of July.
To clarify, would you like me to write unit tests or just confirm it works on my machine?

I can test early tomorrow as I am spending time with family right now for the 4th of July.

Happy Treason Day!

To clarify, would you like me to write unit tests or just confirm it works on my machine?

Only confirming it works on your machine the way you meant it to be.

Only confirming it works on your machine the way you meant it to be.

I'll get started on this right now 😃

Only confirming it works on your machine the way you meant it to be.

I'll get started on this right now 😃

Bro plz don't bother yourself thinking of every possible edge case, I meant you could test it only against the file(s) that you wanted to cleanup so you opened this issue 🌚

@hadialqattan Please bump up the version~ 🎉 🥳

@hadialqattan Please bump up the version~ 🎉 🥳

v2.0.1 has been released 🎉!


Killing Floor 2 Stuck - Steps 2/4

Bug Report
System Information

Ubuntu 22.04.4 LTS x86_64
AMP version <IP_ADDRESS> (Callisto)
Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV

I confirm:

[x] that I have searched for an existing bug report for this issue.
[x] that I am using the latest available version of AMP.
[x] that my operating system is up-to-date.

Symptoms

What are you trying to do?
Install Killing Floor 2 server

What are you expecting to happen?
For the installation to progress past step 2/4 (Start Server)

What is actually happening? ('Nothing' is not an acceptable answer!)
Steamcmd installation process starts, completes, then no activity. Web UI notifications persist (Running Update Tasks, etc.).

Reproduction

Install AMP on an Ubuntu Server with plenty of resources.
Install minecraft server to test things out, it works.
Install Killing Floor 2 server, it doesn't.
AMPLOG 2024-03-22 08-17-22.log

AMP bug. Workaround: stop your instance, edit GenericModule.kvp in the instance datastore, and add App.HasSuccessfullyUpdatedAtLeastOnce=True

This fix is released to Mainline.


error parsing terraform json: :: illegal char escape

An error message like this is printed when terraformer fails to parse terraform's JSON response. Could this message contain a fragment of the context around the error location in the JSON response, so that one might have a chance of figuring out what the problem is?

Can you provide example?

I'm not really invested in this anymore, but I optimistically believe that there is ultimately a single subroutine responsible for parsing terraform's response, and that subroutine can be modified to include a few lines of context in the error message thrown when there is a parse error. I don't think any example is necessary.


Missing linux wheels for release 0.4.16 on pypi

Hello
Several wheels are missing on pypi for the last release 0.4.16. The only available for linux is the one for python 3.6. They are missing for python 3.7, 3.8, 3.9... Even if I don't use them, other wheels are missing for MacOS and Windows...
Thanks

This issue is now resolved with release 0.4.17. Thanks for reporting!

Thanks


spring-social-showcase-boot gives error when booting in Eclipse

Hi @habuma , hope you are doing fine!!
I am getting error when booting spring-social-showcase-boot in Eclipse. I am running as Java Application as spring boot allows.
Seems that it is not getting the spring social configuration, cause the error is:
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.social.facebook.api.Facebook] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}

I managed to get it starting by doing the following changes:

In build.gradle, depend on the latest Spring boot version:

classpath("org.springframework.boot:spring-boot-gradle-plugin:1.3.3.RELEASE")

Also in build.gradle, do not override the versions of spring-social anymore:

compile("org.springframework.social:spring-social-facebook")
compile("org.springframework.social:spring-social-facebook-web")
compile("org.springframework.social:spring-social-config")

Add an application.properties file in src/main/resources:

spring.social.facebook.app-id=<>
spring.social.facebook.app-secret=<>

After doing this, it still failed because of a similar exception for LinkedIn and Twitter. Since I don't need those at the moment, I added a @Profile("linkedin") and @Profile("twitter") to the classes in org.springframework.social.showcase.linkedin and org.springframework.social.showcase.twitter. If starting without any profile, then Spring Boot will no longer complain that the controllers need that, since they are not started.

Note that the above makes the application start, but still does not work with Facebook. For that you need to change signin.html. Replace:
<input type="hidden" name="scope" value="read_stream,user_posts,user_photos"></input>

With:
<input type="hidden" name="scope" value="email"></input>


gvim plugin menu heading is not descriptive

It's a very minor issue, but I just started using gvim today, and noticed that the plugin menu isn't very descriptive:

Otherwise, thanks for a great plugin!

There isn't a ton of room for long descriptions, but if you can think of better wording for any of those menu items they are an easy fix in the source (see line 2857ff in plugin/NERD_commenter.vim). The wording mostly looks good to me but I would be happy to consider a pull request for any that could be improved, so hit edit and do your best. Just keep in mind that these are menu items, not full explanations of how to use the features (which is what the docs are for (as seen in :help nerdcommenter).


A build error on windows10 about glfw

I've built your code on win10 with vs2019 and glfw-3.3.2.
here is the error:
错误	LNK2019	无法解析的外部符号 __imp_strspn，函数 glfwUpdateGamepadMappings 中引用了该符号	surfelwarp_app	C:\Users\cscg\Desktop\surfelwarp\build\apps\surfelwarp_app\glfw3.lib(input.c.obj)	1
Does anyone know how to solve this？Maybe I should set some other libraries?

sorry,I've solved it already,that's because I use the 32-bit lib by mistake.


Relax pyspark typing for sql str functions

What changes were proposed in this pull request?

Relax pyspark typing for sql str functions. These functions all pass the first argument through _to_java_column, such that a string or Column object is acceptable.
Why are the changes needed?

Convenience & ensuring the typing reflects the functionality
Does this PR introduce any user-facing change?

Yes, but I think typing support is unreleased, so possibly no.
How was this patch tested?

Not tested. I am newish to Python typing, so someone should confirm this is the correct way to fix this.

Can one of the admins verify this patch?

Here's the _to_java_column source code:
https://github.com/apache/spark/blob/491a0fb08b0c57a99894a0b33c5814854db8de3d/python/pyspark/sql/column.py#L39-L50

Can one of the admins verify this patch?

@zero323 is this the right way to update the typing for these functions?

Thanks @dhimmel
Could you create a JIRA ticket and update the title to reflect that ([SPARK-XXXXX][PYTHON] Relax pyspark typing for sql str functions)?

@zero323 is this the right way to update the typing for these functions?

It looks reasonable. It is equivalent, to what's proposed before in pyspark-stubs ‒ personally I was concerned that this might be confusing  or ambiguous, but it might be overthinking.
About testing annotations, please check Contributing and Maintaining Type Hints. In general things look OK (I tested your PR locally and this is covered by existing tests).

Thanks @zero323 for the helpful info and pointing me towards https://github.com/zero323/pyspark-stubs/pull/420. I'll add the change to .locate as well. Perhaps if this is merged, @harpaj could get credit via the commit message and GitHub's:
Co-authored-by: Johannes Huber<EMAIL_ADDRESS>
Opened an issue at https://issues.apache.org/jira/browse/SPARK-33310.

cc @HyukjinKwon

ok to test

Test build #130495 has started for PR 30209 at commit 71be59e.

Test build #130495 has finished for PR 30209 at commit 71be59e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130495/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35099/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35099/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35099/
Test FAILed.

Merged to master.


Suggestion: add a disclaimer before exporting a model with incorrectly sized textures

not power of 2 sized

also if the texture is oversized, like 4k x 4k or more


Change mono/time to monochromatic/broadband

Yet another option for the discussion in #25.

Superseded by #135.


The Fuchsia SDK roll is failing

Starting with https://github.com/flutter/engine/pull/33252, the Fuchsia roll is failing on a link error:
FAILED: exe.unstripped/dart_runner_tests dart_runner_tests
/b/s/w/ir/cache/goma/client/gomacc  ../../buildtools/linux-x64/clang/bin/clang++ --target=x86_64-fuchsia --sysroot ../../fuchsia/sdk/linux/arch/x64/sysroot  -Wl,--fatal-warnings -fsanitize=address -m64 -o ./exe.unstripped/dart_runner_tests -Wl,--build-id=sha1 -Wl,--start-group @./dart_runner_tests.rsp  -Wl,--end-group ../../fuchsia/sdk/linux/arch/x64/sysroot/lib/libzircon.so ../../fuchsia/sdk/linux/arch/x64/lib/libfdio.so ../../fuchsia/sdk/linux/arch/x64/lib/libasync-default.so ../../fuchsia/sdk/linux/arch/x64/lib/libasync-loop-default.a ../../fuchsia/sdk/linux/arch/x64/lib/libsyslog.so ../../fuchsia/sdk/linux/arch/x64/lib/libtrace-engine.so -lzircon ../../fuchsia/sdk/linux/arch/x64/lib/libmemfs.so ../../fuchsia/sdk/linux/arch/x64/lib/libsync.a -ldl && ../../buildtools/linux-x64/clang/bin/llvm-strip -o ./dart_runner_tests ./exe.unstripped/dart_runner_tests
ld.lld: error: /b/s/w/ir/cache/builder/src/buildtools/linux-x64/clang/lib/clang/14.0.0/lib/x86_64-unknown-fuchsia/libclang_rt.asan.so: undefined reference to __sanitizer_get_configuration [--no-allow-shlib-undefined]
clang-14: error: ld.lld command failed with exit code 1 (use -v to see invocation)

/cc @akbiggs

Looks like https://fxrev.dev/676691 is the culprit. Coordinating with Fuchsia folks to find a good workaround for now.


cr: disk-based local dir block map

This turns the existing data structure localBcache into an interface called dirBlockMap.  This structure holds all the directory blocks while prepping updates, either for normal sync operations, or for conflict resolution.  In the latter case, the number of directories being updated could in theory be very large, so we want to store those in a disk-based cache instead of in memory.
To get this to work, this PR also fixes all the place in the code that assumed a directory block could be modified without re-putting it into the cache, or subsequently re-getting it from the cache.  This is necessary since, with the disk-based cache, the *DirBlock is re-assembled from disk each time it's accessed.
Issue: KBFS-3818

(Might be easiest to review commit-by-commit.)


Make anchors work in static pages

Handled click event for urls that contained #

And please verify this one as well @nicholas-haggerty

Working as expected:
Jumps down to point on the same page.
Opens link
Generates url to anchor point with #.....
Good work @padms


Align models with exisitng profiles

Align with the input from EE, CH, BE, others.

Solved in https://github.com/IHE/pharm-meow/commit/4fb9cf3f3bee703224543fec1d2b7a69b594d455


[not produceable] check_supplies failed in buy chips operation

2015-06-19T04:42:32    th_a:delegate_loop         extend_chain ] error applying block: 30026 unexpected_supply_change: unexpected supply change
7036
7037     {"id":1,"actual_delta":1000,"reported_delta":0}
7038     th_a  pending_chain_state.cpp:437 check_supplies        chain_database.cpp:1312
7039 2015-06-19T04:42:32    th_a:delegate_loop           push_block ] fork permanently rejected as it has permanently invalid block: 30026 unexpected_supply_change: unexpected supply change
7040
7041     {"id":1,"actual_delta":1000,"reported_delta":0}
7042     th_a  pending_chain_state.cpp:437 check_supplies
7043
7044     {"block_data":{"previous":"c9917e0b0c1f13849a87cbd0b7362cfb8c2af838","block_num":13,"timestamp":"2015-06-19T04:42:30","transaction_digest":"377d89a9ca6b15a95f31ca388f1b54411fd53d36bbdaaecc83c9c0c     d8ad51748","next_secret_hash":"f583e94b5e18005623c5b53e3797633f65bef19f","previous_secret":"0000000000000000000000000000000000000000","delegate_signature":"20540bcf51b3abfa9842d419c5a1546f11fb07cc02c     110ae4b878f682cd1a8008f769aa9c41fb24487a5f6d2c692e7eb7d5ab51b978ffc86e0988789d299330324","user_transactions":[{"expiration":"2015-06-19T05:18:29","reserved":null,"operations":[{"type":"withdraw_op_ty     pe","data":{"balance_id":"XTSJkcSLTkuaaQzXM9aPmDZxFHo6WA3Bfm3U","amount":150000,"claim_input_data":""}},{"type":"buy_chips_type","data":{"amount":{"amount":1000,"asset_id":1},"owner":"XTSBykrU5hcMynA     YNUSyzv3RVSUcdeuRC4LB"}}],"signatures":["1f691360dbaf14523932b28ad0a59f9ce7cd29a7f6a73117702af94d68828ea2856e412fb712b778fcf6b7f2b55461e53741a67f5a422f46580d9a194c5b80b5a3","1f18e31ee8eaaab7366d36d87     389b90f7654c4635c940dff63a446d8a985993c893b97a5092bffbaa81f3b95fbfc1e456c7beda9fa7a9ee82020e1b2c5ea6c5283"]}]}}
7045     th_a  chain_database.cpp:1331 extend_chain
7046
7047     {"block_id":"b081b268aff2094b1cfeb1c55e7836a25a93f6e4"}
7048     th_a  chain_database.cpp:697 switch_to_fork       chain_database.cpp:2045

This only happen occasionally

2015-09-16T07:38:50    th_a:delegate_loop         extend_chain ] error applying block: 30026 unexpected_supply_change: unexpected supply change

    {"id":1,"actual_delta":20000,"reported_delta":0}
    th_a  pending_chain_state.cpp:461 check_supplies                    chain_database.cpp:1334
2015-09-16T07:38:50    th_a:delegate_loop           push_block ] fork permanently rejected as it has permanently invalid block: 30026 unexpected_supply_change: unexpected supply change

    {"id":1,"actual_delta":20000,"reported_delta":0}
    th_a  pending_chain_state.cpp:461 check_supplies

    {"block_data":{"previous":"9fd012bf06d690c7e9012f917516a27940e1f11c","block_num":42915,"timestamp":"2015-09-16T07:38:50","transaction_digest":"2d650188a148ce04a1850240ff009709b457abf4b2bbf4cd0a95fd52a71539fa","next_secret_hash":"7f4f02512b3722ace8cf30b7b6508fb723f97d43","previous_secret":"fd262cf8ff578cbd6c6f8ffcb60b2fb1bc6242ca","delegate_signature":"201fb2e54c7b382f5819558264bbfd0ea42b98a84aa7cc49ffab363ffd0ba074c052cafcae467b65708424fe4fb5c5f272591bdf536d41f4086fd80b9698f95f33","user_transactions":[{"expiration":"2015-09-16T08:10:55","reserved":null,"operations":[{"type":"withdraw_op_type","data":{"balance_id":"XTSArzTs32sTCbQE8E1KoWtkfFf33TnrFh9o","amount":1050000,"claim_input_data":""}},{"type":"buy_chips_type","data":{"amount":{"amount":10000,"asset_id":1},"owner":"XTS6g66u9DxBxWBXCzdXSuYhHc8njh4RSnUU"}}],"signatures":["1f32d92b8fe68dfd381ae85900e19923e7eda64dd3d92384ef4ca4fd58c00d86701edc9a08ef73bfcfa6726ffd633637f743285e8959dde9854cd96224b22c9c4b","204538ccba8c006f06a63c035328fd8046d2effd003664a9e358502b850fc229ab77ead58012349a8c12f2b43ec19afdb8aa2940d7bc91d651df75fa5318e91585"]},{"expiration":"2015-09-16T08:10:41","reserved":null,"operations":[{"type":"withdraw_op_type","data":{"balance_id":"XTS3ngzgwwjnDHTurgZtn9B71hGAPMGpCrSf","amount":1050000,"claim_input_data":""}},{"type":"buy_chips_type","data":{"amount":{"amount":10000,"asset_id":1},"owner":"XTSHcu99sdoUYfAmPUF9KoGZPYmGAfiD4LKD"}}],"signatures":["20058a4245123e1021c382da5bf1c68fa58bb233f6726b9b2e6fa990ca3b37b54c0d8792b5200c47255e24e372567edf8d2b6182740557a313c075d1b06fef6c00","1f370c4caf0c5e603c98b5c341cc0128adee724710ea9a47122fecc47bc0129b1377c0493656a1c7091b02b04163dc04788f10f65e7f34133e3b7d45b02c87f875"]}]}}
    th_a  chain_database.cpp:1353 extend_chain

    {"block_id":"3f0a50eeafeb2c9d39f5b523c581a80aff567ee0"}
    th_a  chain_database.cpp:719 switch_to_fork                 chain_database.cpp:2070
2015-09-16T07:38:50    th_a:delegate_loop         on_new_block ] After push_block, current head block is 42914                  client.cpp:797

 {"id":1,"actual_delta":20000,"reported_delta":0,"*record":{"id":1,"symbol":"DICE","issuer":{"type":4,"issuer_id":1},"authority":{"required":1,"owners":["XTS5bEoC6iSNxH8M4SE8pSpgutWfhYQBce2e"]},"authority_flag_permissions":4294967295,"active_flags":0,"whitelist":[],"name":"DICE","description":"DICE","public_data":null,"precision":100,"max_supply":1000000000000000,"withdrawal_fee":0,"market_fee_rate":0,"collected_fees":0,"current_supply":1000000,"current_collateral":100000000,"registration_date":"2015-09-16T07:05:20","last_update":"2015-09-16T07:05:20"}}
    th_a  pending_chain_state.cpp:461 check_supplies                    chain_database.cpp:1334
2015-09-16T09:50:30    th_a:delegate_loop           push_block ] fork permanently rejected as it has permanently invalid block: 30026 unexpected_supply_change: unexpected supply change

    {"id":1,"actual_delta":20000,"reported_delta":0,"*record":{"id":1,"symbol":"DICE","issuer":{"type":4,"issuer_id":1},"authority":{"required":1,"owners":["XTS5bEoC6iSNxH8M4SE8pSpgutWfhYQBce2e"]},"authority_flag_permissions":4294967295,"active_flags":0,"whitelist":[],"name":"DICE","description":"DICE","public_data":null,"precision":100,"max_supply":1000000000000000,"withdrawal_fee":0,"market_fee_rate":0,"collected_fees":0,"current_supply":1000000,"current_collateral":100000000,"registration_date":"2015-09-16T07:05:20","last_update":"2015-09-16T07:05:20"}}
    th_a  pending_chain_state.cpp:461 check_supplies

    {"block_data":{"previous":"9fd012bf06d690c7e9012f917516a27940e1f11c","block_num":42915,"timestamp":"2015-09-16T09:50:30","transaction_digest":"2d650188a148ce04a1850240ff009709b457abf4b2bbf4cd0a95fd52a71539fa","next_secret_hash":"782ac874d6af19969534a45c03c1f1ab6c4a0762","previous_secret":"02ba0416ddf0d007ae608d07bf32e0bb1afd72cf","delegate_signature":"1f21e57efedbe1097ef128634a668aec18fe8dd0b24853fa9268e7601398b6b6c83f0dd5e81170e3d24daf2a9d1daec6a4394b31e7b5f5179801ff4649a284306b","user_transactions":[{"expiration":"2015-09-16T08:10:55","reserved":null,"operations":[{"type":"withdraw_op_type","data":{"balance_id":"XTSArzTs32sTCbQE8E1KoWtkfFf33TnrFh9o","amount":1050000,"claim_input_data":""}},{"type":"buy_chips_type","data":{"amount":{"amount":10000,"asset_id":1},"owner":"XTS6g66u9DxBxWBXCzdXSuYhHc8njh4RSnUU"}}],"signatures":["1f32d92b8fe68dfd381ae85900e19923e7eda64dd3d92384ef4ca4fd58c00d86701edc9a08ef73bfcfa6726ffd633637f743285e8959dde9854cd96224b22c9c4b","204538ccba8c006f06a63c035328fd8046d2effd003664a9e358502b850fc229ab77ead58012349a8c12f2b43ec19afdb8aa2940d7bc91d651df75fa5318e91585"]},{"expiration":"2015-09-16T08:10:41","reserved":null,"operations":[{"type":"withdraw_op_type","data":{"balance_id":"XTS3ngzgwwjnDHTurgZtn9B71hGAPMGpCrSf","amount":1050000,"claim_input_data":""}},{"type":"buy_chips_type","data":{"amount":{"amount":10000,"asset_id":1},"owner":"XTSHcu99sdoUYfAmPUF9KoGZPYmGAfiD4LKD"}}],"signatures":["20058a4245123e1021c382da5bf1c68fa58bb233f6726b9b2e6fa990ca3b37b54c0d8792b5200c47255e24e372567edf8d2b6182740557a313c075d1b06fef6c00","1f370c4caf0c5e603c98b5c341cc0128adee724710ea9a47122fecc47bc0129b1377c0493656a1c7091b02b04163dc04788f10f65e7f34133e3b7d45b02c87f875"]}]}}

2015-09-16T10:34:10    th_a:delegate_loop             evaluate ] Storing asset: {"id":1,"symbol":"DICE","issuer":{"type":4,"issuer_id":1},"authority":{"required":1,"owners":["XTS5bEoC6iSNxH8M4SE8pSpgutWfhYQBce2e"]},"authority_flag_permissions":4294967295,"active_flags":0,"whitelist":[],"name":"DICE","description":"DICE","public_data":null,"precision":100,"max_supply":1000000000000000,"withdrawal_fee":0,"market_fee_rate":0,"collected_fees":0,"current_supply":1010000,"current_collateral":101000000,"registration_date":"2015-09-16T07:05:20","last_update":"2015-09-16T07:10:40"}                     market_operations.cpp:176
2015-09-16T10:34:10    th_a:delegate_loop             evaluate ] Storing asset: {"id":1,"symbol":"DICE","issuer":{"type":4,"issuer_id":1},"authority":{"required":1,"owners":["XTS5bEoC6iSNxH8M4SE8pSpgutWfhYQBce2e"]},"authority_flag_permissions":4294967295,"active_flags":0,"whitelist":[],"name":"DICE","description":"DICE","public_data":null,"precision":100,"max_supply":1000000000000000,"withdrawal_fee":0,"market_fee_rate":0,"collected_fees":0,"current_supply":1020000,"current_collateral":102000000,"registration_date":"2015-09-16T07:05:20","last_update":"2015-09-16T07:10:40"}                     market_operations.cpp:176

2015-09-16T10:34:10    th_a:delegate_loop              execute ] Start executing in game client at block 42915                  client.cpp:253
2015-09-16T10:34:10    th_a:delegate_loop              execute ] Start execute the game dice                    client.cpp:260
2015-09-16T10:34:10    th_a:delegate_loop              execute ] Start execute in game engine...                        v8_game.cpp:468
2015-09-16T10:34:10    th_a:delegate_loop              execute ] Run the script to get the result...                    v8_game.cpp:493
2015-09-16T10:34:10    th_a:delegate_loop                Print ] The 0th parameter is "block number is 42915"                   v8_helper.cpp:155
2015-09-16T10:34:10    th_a:delegate_loop                Print ] The 0th parameter is "393b04508bb8f7e69beabca5a72601520d5ef397"                        v8_helper.cpp:155
2015-09-16T10:34:10    th_a:delegate_loop                Print ] The 0th parameter is<PHONE_NUMBER>                        v8_helper.cpp:155
2015-09-16T10:34:10    th_a:delegate_loop                Print ] The 0th parameter is 42905                     v8_helper.cpp:155
2015-09-16T10:34:10    th_a:delegate_loop     Get_Block_Digest ] The block number is 42905                      v8_api.cpp:231
2015-09-16T10:34:10    th_a:delegate_loop     Get_Block_Digest ] The block digest is {"previous":"1154bb5ffba1e76828fafecb78e6e73d6b92a931","block_num":42905,"timestamp":"2015-09-16T07:09:10","transaction_digest":"c8cf12fe3180ed901a58a0697a522f1217de72d04529bd255627a4ad6164f0f0","next_secret_hash":"eca75fe00a05efa90a25ceaebb71f60119bf8c0e","previous_secret":"6e7491b514694106789c23e9dea367e649148b7f","delegate_signature":"2027d1ea3cec81f6b1edc5388d272d3856094411e952dc59a817e351f6589ab01d440226417467ba6de574a20ab4fbfb78777a90ab98e071301b45de9596580144","user_transaction_ids":[]}                 v8_api.cpp:238
2015-09-16T10:34:10    th_a:delegate_loop     Get_Block_Digest ] get the result after cpp to json                       v8_api.cpp:253
2015-09-16T10:34:10    th_a:delegate_loop                Print ] The 0th parameter is "testing..."                      v8_helper.cpp:155
2015-09-16T10:34:10    th_a:delegate_loop                Print ] The 0th parameter is {"previous":"1154bb5ffba1e76828fafecb78e6e73d6b92a931","block_num":42905,"timestamp":"2015-09-16T07:09:10","transaction_digest":"c8cf12fe3180ed901a58a0697a522f1217de72d04529bd255627a4ad6164f0f0","next_secret_hash":"eca75fe00a05efa90a25ceaebb71f60119bf8c0e","previous_secret":"6e7491b514694106789c23e9dea367e649148b7f","delegate_signature":"2027d1ea3cec81f6b1edc5388d272d3856094411e952dc59a817e351f6589ab01d440226417467ba6de574a20ab4fbfb78777a90ab98e071301b45de9596580144","user_transaction_ids":[],"id":"7bec15c4a764acf6cb971943e976546ece8cc16e"}                        v8_helper.cpp:155
2015-09-16T10:34:10    th_a:delegate_loop                Print ] The 0th parameter is {"execute_results":[],"game_datas":[],"diff_balances":[{"owner":"XTS4Attt64KDdan23RJ1rf98cNPAmAp1YnSN","asset":{"amount":0,"asset_id":1}}],"diff_supply":[{"amount":0,"asset_id":1}]}                     v8_helper.cpp:155
2015-09-16T10:34:10    th_a:delegate_loop              execute ] The result of the running of script is {"execute_results":[],"game_datas":[],"diff_balances":[{"owner":"XTS4Attt64KDdan23RJ1rf98cNPAmAp1YnSN","asset":{"amount":0,"asset_id":1}}],"diff_supply":[{"amount":0,"asset_id":1}]}                   v8_game.cpp:506
2015-09-16T10:34:10    th_a:delegate_loop              execute ] End running the script in game engine...                       v8_game.cpp:604

https://github.com/bitsuperlab/cpp-play/commit/07ecf5eb1c69a02bce82490035326f537bf9c7c9


feat(map) - add navigation to company website

Signed-off-by: Vlad Tomsa<EMAIL_ADDRESS>All boxes should be checked before the PR can be accepted. Exceptions can be made, but they need to be argumented and discussed with the reviewer

STORY
Required

[x] Added QA classes on main containers and all actionable items like Buttons, Inputs, etc
[x] Ran Unit Tests and they pass successfuly
[x] Ran the linter with yarn lint
[x] No TypeScript warnings are introduced

Not Needed

[ ] Translated all the user facing text (static & dynamic)
[ ] Added unit tests for the code in earth-shared
[ ] I have made corresponding changes to the documentation

References

Include any links supporting this change such as a:

GitHub Issue/PR number addressed or fixed
StackOverflow post
Support forum thread
Related pull requests/issues from other repos

If there are no references, simply delete this section.

By submitting a PR to this repository, you agree to the terms within the Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

:tada: This PR is included in version 1.16.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.16.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


added EmptySpeakTag constant

Fixes #4311

added this to Microsoft.Bot.Schema namespace (as @stevengum suggested!)


Profile request

Awesome project btw, I have been wanting something like this for a long time.
I'd like to have my profile on ghuser.io, thanks!

Thanks so much

Thank you! Glad you like it :)


A few UI updates

Summary:

Remove Dat contextual items from dropdown menu
Live reloading is now in URL bar
Swarm debugger updates in beaker://library

I love these updates, but I think we can't remove the contextual items until the sidebar is landed.

Unless you think we should re-add the contextual items temporarily, I'm cool with waiting to merge this until we finish the sidebar.

Yep that's fine w/me

Yay can merge now


Problems with publish: js error

Sometimes I have error:
(node:2916) UnhandledPromiseRejectionWarning: TypeError: (s || "").replace is not a function
    at escapeData (/home/runner/work/_actions/tanaka-takayoshi/nuget-publish-to-github-packages-action/v2.1/dist/index.js:1268:10)
    at Command.toString (/home/runner/work/_actions/tanaka-takayoshi/nuget-publish-to-github-packages-action/v2.1/dist/index.js:1262:35)
    at issueCommand (/home/runner/work/_actions/tanaka-takayoshi/nuget-publish-to-github-packages-action/v2.1/dist/index.js:1225:30)
    at Object.issue (/home/runner/work/_actions/tanaka-takayoshi/nuget-publish-to-github-packages-action/v2.1/dist/index.js:1229:5)
    at error (/home/runner/work/_actions/tanaka-takayoshi/nuget-publish-to-github-packages-action/v2.1/dist/index.js:512:15)
    at Object.setFailed (/home/runner/work/_actions/tanaka-takayoshi/nuget-publish-to-github-packages-action/v2.1/dist/index.js:486:5)
    at /home/runner/work/_actions/tanaka-takayoshi/nuget-publish-to-github-packages-action/v2.1/dist/index.js:288:8
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

https://github.com/PrometheusClientNet/Prometheus.Client.HealthChecks/runs/703897357#step:6:42
But some build is ok...

unfortunately, im experiencing the same failure. any workaround?


23.11 is unmaintained

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 323657 run on x86_64-linux 1

2 packages blacklisted:

nixos-install-tools
tests.nixos-functions.nixos-test

27 packages built:

irods
irods-icommands
llvmPackages_12.clangUseLLVM
llvmPackages_12.libcxx
llvmPackages_12.libcxx.dev
llvmPackages_12.libcxxClang
llvmPackages_12.libcxxStdenv
llvmPackages_13.clangUseLLVM
llvmPackages_13.libcxx
llvmPackages_13.libcxx.dev
llvmPackages_13.libcxxClang
llvmPackages_13.libcxxStdenv
llvmPackages_14.clangUseLLVM
llvmPackages_14.libcxx
llvmPackages_14.libcxx.dev
llvmPackages_14.libcxxClang
llvmPackages_14.libcxxStdenv
llvmPackages_15.clangUseLLVM
llvmPackages_15.libcxx
llvmPackages_15.libcxx.dev
llvmPackages_15.libcxxClang
llvmPackages_15.libcxxStdenv
tests.cc-wrapper.llvmTests.llvmPackages_12.libcxx
tests.cc-wrapper.llvmTests.llvmPackages_13.libcxx
tests.cc-wrapper.llvmTests.llvmPackages_14.libcxx
tests.cc-wrapper.llvmTests.llvmPackages_15.libcxx
tests.cc-wrapper.supported


6-bit quantization

For smaller models, quantization causes more quality loss than large models. Could the repository try 6-bit / 128 groups for stuff like LLaMa-7B? This could be most useful for some of the smaller language networks in Stable Diffusion.

Yes.. 6b would work great for 13b and below to make the model smarter.


First frame is overlapped over last frame on tranparent animated GIF

I have looping transparent GIF and when the loop restarts, first frame is displayed over last frame from the sequence.

I made OnFrameAvailable listener and i do processing the frames to have alternating color background and then the single frame drawn there. The last frame contains both of the images. Can there be any problem with DISPOSAL_PREVIOUS for the last / first frame progression. It is displayed correctly in browser, mac preview etc. It is mostly trasparent animated gif so the two frames are visible as overlayed

Could you share your GIF? I had similar problem with following image,

and it looks like working well after following patch. (GifDecoder.java)

I just want to know my code is right.

Unfortunately I can't share the original picture, but I will try finding or creating some that has similar issue. That that seems to be the right fix.

Thanks for confirmation. I'll submit a PR.


Hi

I have translated swagger-ui to french and would like to contribute to spring-fox and add fr.js to the project. Can someone tell me where it should go ?
Thanks!

You need to submit the translation to swagger-ui


Make use of Data-Independent Timing (DIT) on Arm

aarch64 supports data-independent timing https://developer.arm.com/documentation/ddi0595/2020-12/AArch64-Registers/DIT--Data-Independent-Timing, which is also available on Apple silicon https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms#Enable-DIT-for-constant-time-cryptographic-operations. Would it be advantageous to make use of the feature in this crate?

FWIW I wrote a very barebones wrapper for it here: https://github.com/RustCrypto/utils/pull/1102

It looks like Intel has something similar, but I have no idea how well supported that is https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/best-practices/data-operand-independent-timing-isa-guidance.html

The aarch64-dit crate is now available: https://docs.rs/aarch64-dit
Though subtle could make use of it (and it supports nested usages) the real benefit would probably be the outer code which leverages subtle using it.


bluebird as a dependency

After updating to any version >= 0.3.x my build config is failing as the utils.js has an require to bluebird but that package is listed as an devDependency but mkdirp is in dependencies
Error: Cannot find module 'bluebird'
    at Function.Module._resolveFilename (module.js:513:15)
    at Function.Module._load (module.js:463:25)
    at Module.require (module.js:556:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/mariojerkovic/Documents/Projects/.../node_modules/autodll-webpack-plugin/lib/utils/fs.js:8:17)
    at Module._compile (module.js:612:30)
    at Module._extensions..js (module.js:623:10)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/mariojerkovic/Documents/Projects/.../node_modules/babel-watch/runner.js:63:7)
    at Module.load (module.js:531:32)
    at tryModuleLoad (module.js:494:12)

Thanks for the reporting and providing a solution, @mario-jerkovic!
A released a new version with a fix (0.3.5)


Upgrade the "time" library

It would be nice to upgrade the time library to 0.2.24.

We just use Timespec in one place and it works very well so far, if we upgrade to 0.2, we will add more dependencies.
https://github.com/wyhaya/see/blob/694ed6571ff375e272df83afcc07df3ebe6f9b89/src/option/directory.rs#L135

We just use Timespec in one place and it works very well so far, if we upgrade to 0.2, we will add more dependencies.
https://github.com/wyhaya/see/blob/694ed6571ff375e272df83afcc07df3ebe6f9b89/src/option/directory.rs#L135

What do you think about migrating to chrono? 🙂 If you agree, I can try to send a new PR replacing time by chrono  keeping the strftime()-like formatting style.

What do you think about migrating to chrono? 🙂 If you agree, I can try to send a new PR replacing time by chrono  keeping the strftime()-like formatting style.

time 0.1 works very well so far, has very few dependencies, is very simple, and although chrono is very powerful, I don't see any need to upgrade at all.
Can you tell me why I need to upgrade time?

time 0.1 works very well so far, has very few dependencies, is very simple, and although chrono is very powerful, I don't see any need to upgrade at all.
Can you tell me why I need to upgrade time?

Because it is marked as deprecated, i.e using it as own risk could introduce unwanted bugs/insecurities.

Because it is marked as deprecated, i.e using it as own risk could introduce unwanted bugs/insecurities.

Will be merged in #11

Will be merged in #11


1.21.4

please update

There are plans to update all my projects. I'm just busy with commissions. If you want this to happen faster you can always donate to me on ko-fi and ill put this is on my immediate to do list.


revert react-spring

PR Checklist
Check these before submitting your pull request:

[x] Visual and behavioral components are separated
[x] Exported components are documented with examples
[x] Props have JSDoc comments
[x] All relevant visual sub-components can be overridden via props

Revert of #113 - it appears that react-spring is not ready for production projects yet, as we have encountered numerous problems with it. In particular, it has an issue that conflicts with react-dnd.
This commit was made using git revert <hash>.

Seems ready to merge to me.


Debian bookworm (12) builds are failing

Debian bullseye (11) seems to still be the default for these containers, but it's approaching EOL date, if we are to believe https://wiki.debian.org/DebianReleases
Debian bookworm (12) containers haven't had a release in 2 weeks, possibly longer, given that e.g. the v15 release line for bullseye is at 15.7-5, whereas the bookworm release line is at 15.7-1 (not sure if this carries any significance).
The main branch status checks seem to indicate that all bookworm builds are currently failing.

Hello @dominykas
We're aware of it, but it's required sometimes to fix this issue since is due to a problem with the Barman build, we will keep this open until we fix it
Thanks for the heads up!
Regards!


Nav Component

Description:
Create a Nav container that will be colorful and will consist of different rendered buttons to have a navbar in the webpage.
Priority:
[High]
Type:
[Task]
User story - Current Behaviour:
The navbar is without a container
User Story - Expected Behaviour:
A colorful and suitable nav container must be included.
Steps to Reproduce:
Create a nav container.
Screenshots:
Nothing visible on webpage
Branch Name:
nav-Container
Additional Information:
N/A
Acceptance Criteria:
Check if the nav component is properly added to the webpage
Check if the nav component has a good styling.
Subtasks:
N/A
Assignees:

Leading Developer: @d-sholaakanbi
Leading QA: @nikomakr

Labels:
[React]
Due Date:
[React]
Dependencies:
None
Notes for Reviewers:
Nothing specific

All good. Thank you Shola


Update BCrypt DSA structure documentation

Fixes for various documentation bugs around DSA

Incorrect magic values
Reference to ImportKey instead of ImportKeyPair
Missing/incorrect information about layout of blobs in memory
Incorrect information about cbGroupSize

@samuel-lee-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks for your contribution! I've merged your changes and they should be live soon.


more tests for iter

Pull Request Test Coverage Report for Build 1672
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 88.679%

Totals

Change from base Build 1668:
0.0%

Covered Lines:
2624

Relevant Lines:
2959

💛  - Coveralls


Error when yarn not installed

I don't have the exact error message but here is what happens. If yarn is not installed, caniuseyarn returns false and packageManager value is not asked to the user.
But while evaluating the template we are checking for its value which is undefined. May be we should initialize it to 'npm' as the default value.
Forgot to mention : Awesome work, just what I was looking . pure. perfect. thanks

Whoops, should be fixed now. Thanks for reporting! 😄


Update changelog for v0.3.2 release

Codecov Report

Merging #57 (48246c7) into main (833f8a0) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #57   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines          135       135
=========================================
  Hits           135       135

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


HTML5 exports fail to run (CanvasShaderGLES3: Program linking failed)

Godot version
4.0.beta5
System information
MacOS Monterey 12.2.1
Issue description
Building any godot application for web fails to load with the following error:
USER ERROR: CanvasShaderGLES3: Program linking failed
at: _display_error_with_code (drivers/gles3/shader_gles3.cpp:237)
USER ERROR: Method/function failed.
at: _compile_specialization (drivers/gles3/shader_gles3.cpp:397)

Steps to reproduce
Create any project using Godot 4.0 beta 5 official.
Add a button and link it to a print just to test things.
Run the project once to assign a root.
Build for html.
Deploy using some server. Itch.io is the easiest, just be sure to enable the SharedBufferArray.
Try to run the game. It will block after loading, and then crash with lots of errors, the above being the first.
Minimal reproduction project
Godot4WebExportFail.zip

Which browser(s) did you test?

I tested on Brave, Safari, and Chrome. Each had the same error.

As a side note, I tried building using my friend's windows laptop and got the same error from the site.
If you want a live example of my game failing (Not a simple project), you can go here:
https://melodious-granita-9bfb98.netlify.app/
The game with load and then stall for a good 30 seconds to a minute before throwing the error.

As a side note, I tried building using my friend's windows laptop and got the same error from the site. That was built with Godot 4.0.beta3 however, not beta 5. Both seem to have the same issue.
If you want a live example of my game failing (Not a simple project), you can go here: https://melodious-granita-9bfb98.netlify.app/
The game with load and then stall for a good 30 seconds to a minute before throwing the error.

The only related errors I get running this sample scene are due to it using GPUParticles which weren't implemented yet in Beta3 but they are in Beta 5.
The fact that the error message you pointed to above is an error only with linking the Shader makes me think that the issue is also related to GPUParticles. Can you please check an example scene without GPUParticles and confirm whether you get the same error message? Apologies in advance, I don't have a macOS devices with which to test this

@clayjohn Alright, just tested with my test project above.
Built it, and deployed it here:
Same error. I'm building from my macOS here. I will try later using my friends laptop (After updating to Godot 4.0 beta 5) on windows to see if that resolves the issue with the GPUParticles.
If that does resolve the GPUParticles, then this is a macOS build issue.

Some additional feedback for this:
If I build my game on windows, I can run my game on a windows machine, but not on macOS.
I haven't tested if I can build the game on macOS and run it on windows.
This seems to simply be an issue with macOS not being able to run my html5 game.
Any thoughts?
I hope my added details are helpful.

This seems to simply be an issue with macOS not being able to run my html5 game.

macOS has different graphics drivers compared to Windows, and there is no native OpenGL support. Apple still provides OpenGL support by translating OpenGL to Metal, but this comes with its own bugs and limitations.

That sounds like an inconclusive “We have now way to fix this”.
But that can’t be right. What are our options?

macOS has different graphics drivers compared to Windows, and there is no native OpenGL support (WebGL uses OpenGL behind the scenes). Apple still provides OpenGL 4.1 support by translating OpenGL to Metal, but this comes with its own bugs and limitations.

AFAIK this only happens on M1 and M2 systems. The older intel based Macs still attempt to run over ordinary OpenGL and the drivers are indeed very buggy.

That sounds like an inconclusive “We have no way to fix this”.
But that can’t be right. What are our options?

For starters, someone who can reproduce the bug needs to investigate further and determine what shader is failing to link (e.g. by process of elimination), then we need to identify what exactly is causing that shader to fail to link and figure out a workaround.

Godot 4.0 beta 7 doesn't work on Macbook pro Intel.
Not sure if godot 4.0 has the Shader Compl. Mode. I was unable to find it.

Still occurring on Beta 8. This issue crashes Firefox and Chrome, and freezes Safari. I have an M1 MacBook Pro (Late 2020).


todo panics when executing Get on /todo/all window

steps to reproduce

open Acme editor
execute todo -a
execute Get on tag line of /todo/all window

panic: interface conversion: interface is nil, not error

goroutine 6 [running]:
9fans.net/go/acme.(*Win).execute(0xc0000f6000, 0x1245ca0, 0xc0000a0060, 0xc0000947c0, 0x3, 0x3)
	/Users/lufia/pkg/mod/9fans.net/go@v0.0.1/acme/acme.go:864 +0x496
9fans.net/go/acme.(*Win).EventLoop(0xc0000f6000, 0x1245ca0, 0xc0000a0060)
	/Users/lufia/pkg/mod/9fans.net/go@v0.0.1/acme/acme.go:796 +0x103
created by main.open
	/Users/lufia/pkg/mod/rsc.io/todo@v0.0.2/acme.go:110 +0x373

This looks like issue of 9fans.net/go/acme.
https://play.golang.org/p/kutgsDd4-eT

Hi @rsc - Thanks for this handy tool! I still experience this issue when executing Get in the /todo window in Acme, though it appears the underlying fix has been applied upstream. Bumping the version as suggested in PR #3 resolved the issue for me.


Allow Passwords as arrays of Uint8 and Salts as UTF-8 strings

First off, thank you for this! Many years later this plugin is still coming in handy :D
Overview
I'm using Scrypt in a separate web-based client library. Prior to running passwords through the algorithm, I convert them to Array Buffers using JavaScript's charCodeAt, rather than the string's UTF-8 encoding.* Unfortunately this means this plugin is incompatible with my existing client library, unless I can pass in passwords as arrays of Uint8, just like salts.
So I implemented it!
While implementing, I also realized both passwords and salts could be implemented in the same way, and salts could therefore also accept UTF-8 strings in case anyone wanted to do that.
A note on Android installation difficulties
I used Android version 6.4.0 to test. I'm having trouble getting the plugin installed on the latest version of Android. I get conflict errors related to the .so files. At one point I got it working by removing all these source file links, but I'm tentative to mess with those considering this is my first experience with Cordova.
*I convert strings using JavaScript's charCodeAt rather than the string's UTF-8 encoding because it saves space -- I use the conversion for large inputs as well, and just reused it for password conversion which in hindsight likely wasn't the best move.

Hey,
Thanks so much for the kind words and contribution. Unfortunately I've stoped maintenance of the plugin a long time ago, but forgot to update the docs. I will now archive this repo.


[BUG] Issues with column name escaping approach

Describe the bug
A feature we released back in 0.8.0 has been causing some problems ever since: Column Name Escaping.
We originally implemented this to account for problem columns coming from source data, such as reserved words and columns with spaces in them.
We are re-thinking the design of this as it is having unexpected consequences and is becoming painful to maintain.
Essentially, we will be stripping all use of column escaping from everywhere but staging, and even then will only provide the functionality through a toggle. This toggle already exists and is well documented.
This should have been how it was implemented from the start, and we apologise for any inconvenience this has caused!
Bug reports
We've had a lot of community feedback on this issue, so your issue may have already been raised, however if you feel you've found another case where this is causing problems, please submit another report.
The following existing bug reports are related to this issue:

#166
#159
#157
#163

Hi! Any idea when you will release a new version?

Good progress has been made on this and we should have all of these issues fixed in the next release. Thank you for your patience!

0.9.1 Released which should address the majority of these problems. Thanks everyone for you patience! Please let us know if you continue to have issues

0.9.1 Released which should address the majority of these problems. Thanks everyone for you patience! Please let us know if you continue to have issues


Docs: fix formatting in Formula Cookbook

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] ~Have you written new tests for your changes? Here's an example.~
[ ] ~Have you successfully run brew style with your changes locally?~
[ ] ~Have you successfully run brew tests with your changes locally?~

This provides a minor formatting fix for recent changes in #5737 where the URLs were displayed verbatim and not as links.

Doh, thanks again @davidjb! Always confused GitHub and GitHub Pages markdown rendering defaults.

All good, that syntax sticks with me because I see it a lot with markdownlint (https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md#md034---bare-url-used).  Does seem odd Jekyll/GH pages doesn't incorporate that syntax though...


Add .styles to barrel export exception

Please verify the following:

[x] yarn ci:test jest tests pass with new tests, if relevant
[x] README.md has been updated with your changes, if relevant

Describe your PR

Adds an exception to exclude adding files containing name .styles to index.ts in generators.ts. This is needed to avoid manual deletion of styles file from index.ts if we add a custom template to generate separate styles file.

Thanks @haricharan-bole !

:tada: This PR is included in version 6.5.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Connections between FRQ and PBL

FRQ 1
This FRQ involves Arrays and 2D Arrays. These can be used to store data for later use, meaning that they are a very important part of any Java project. In our project, we use 2D arrays in our quiz game. We have a 2D array to store the quiz questions, where each question is an "array" in the 2D array, and each array has the question, the answer choices, and the true answer.
//example of 2D Array
  String[][] allQuestionsMCQs = {
        {
            "What is the result of True and False in Java?",
            "A) True",
            "B) False",
            "C) None",
            "D) Error",
            "Answer: B) False"
        },
        {
            "What does the 'not' operator do to a boolean value?",
            "A) Changes True to False and vice versa",
            "B) Performs a logical 'AND'",
            "C) Performs a logical 'OR'",
            "D) None of the above",
            "Answer: A) Changes True to False and vice versa"
        },
        {
            "How can you check if two values are not equal in Java?",
            "A) =!",
            "B) <>",
            "C) !=",
            "D) ~=",
            "Answer: C) !="
        },
        {
            "What is the outcome of '5 > 3 or 2' in Java?",
            "A) True",
            "B) False",
            "C) 2",
            "D) SyntaxError",
            "Answer: A) True"
        },
        {
            "How does Java evaluate 'not True or False'?",
            "A) True",
            "B) False",
            "C) None",
            "D) Error",
            "Answer: B) False"
        },
        {
            "What is the result of 'True and not False'?",
            "A) True",
            "B) False",
            "C) None",
            "D) Error",
            "Answer: A) True"
        },
        {
            "How do you check if a value is greater than or equal to another in Java?",
            "A) >=",
            "B) =>",
            "C) =<",
            "D) <=",
            "Answer: A) >="
        },
        {
            "What does 'False or True and False' evaluate to?",
            "A) True",
            "B) False",
            "C) None",
            "D) Error",
            "Answer: B) False"
        },
    };

Having a 2D array to store our questions enables us to quickly and easily access the questions and the answers to display to the user, and to check if the answer the user has inputted is correct.
FRQ 2
This FRQ involves classes, and their creation. Obviously every Java project is going to involve the creation of classes. In our project, we use Java classes when we make a new GameScore when the user is finished with a game and passes their score to the backend to be stored there and called when scores need to be updated.
static class GameScore {
        private String username;
        private String gametype;
        private int score;

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getGametype() {
            return gametype;
        }

        public void setGametype(String gametype) {
            this.gametype = gametype;
        }

        public int getScore() {
            return score;
        }

        public void setScore(int score) {
            this.score = score;
        }
    }

The GameScore class has private variables that are initialized at the beginning of the class, and it has getter and setter methods to update and return those variables. Because of these methods, along with the fact that the class does not implement or extend any other classes, the GameScore class is a POJO, or a Plain Old Java Object. POJOs allow for data to easily be stored and reused. This makes them necessary for our project, since they enable us to score the data needed for us to store score data in the backend, like the user's username and their score.
FRQ 3
FRQ number 3 also deals with 2D arrays, though in this FRQ, it is a specific type of 2D arrays, the sparse array. Since I already talked about how our final project uses 2D arrays, I'll talk about how we could use sparse arrays in our project. We have not used sparse arrays as of yet, but one area where we could use sparse arrays is on our frontend. We store the score and username details for the current user on the frontend, so we could use sparse arrays if the user does not have a score for any game yet.
FRQ 4
This FRQ deals with methods and control structures. We used control structures in our quiz project, to generate a list of 10 questions from the 2D array mentioned earlier.
@GetMapping("/allqs")
    public ResponseEntity<?> getQuestions() {
        var response = new Object() {
            int[] randIndex = new int[10];
            String[][] questions = new String[10][];
            Random rand = new Random();
            {
            for (int i=0; i<10; i++) {
                int rand1 = rand.nextInt(allQuestionsMCQs.length);
                randIndex[i] = rand1;
                questions[i] = allQuestionsMCQs[rand1];
            }
            }
            public final String[][] mcqs = questions;
        };
        return ResponseEntity.ok(response);
    }
}

After generating a list of 10 random integers, we use a for loop to add the questions located at those indices in our questions array. This for loop enables us to easily loop through and add the random questions to a list, which can then be sent to the frontend.
Final Reflection
Taking this exam gave me valuable experience, not only in taking College Board FRQs, but by giving me a chance to review concepts in Java that I may not have used in our final project as of yet, and ones I might be rusty in. It also gave me an opportunity to think further about our project, and about ways to improve and add onto it in the future.
While the FRQs weren't overly challenging in themselves (that is to say they provided a fun challenge to solve), I found that the one thing I struggled most in was time management. I feel like it took me too long to do the FRQs, especially since I will have only an hour and 30 minutes to complete the FRQs on the actual AP exam. Part of the reason for this problem is the fact that I needed to use the internet to figure out things like syntax, since I had forgotten them. I won't be able to use things like Google on the AP exam, so I need to work on memorizing syntax.
In the future, I will work on more FRQs to practice my skills. This will not only benefit me on the AP exam, but I think it will help me in future PBL projects in CSA, since taking more FRQ tests can give me ideas on how to solve problems in our Java code, or give us ideas on new features to add.

FRQ Relation Crossover Review
Comments:
I think that your reflection is very insightful and clearly shows the learning you have gained from doing the FRQs. The fact that you had most of the elements from the FRQs in your project is also a great demonstrator of the power of PBL as an educational method.
For your FRQ #3 response, I understand that SparseArrays are pretty uncommon (I did not use one either), but you could have still related the problem to Methods and Control Structures. However, I do appreciate the inclusion of how you could include SparseArrays specifically.
Score:
I would like to further highlight your future plans, as writing out your next steps is an excellent way to solidify learning and prove that what you did was actually meaningful.
Overall, I would give you a 3.9/4.0 for your FRQ Relation.

FRQ Crossover Review
FRQ Scores:

FRQ
Score
Comments

1
1/0.9
Identified this FRQ as an Arrays/ArrayLists or 2D Arrays type FRQ (accurate) also includes nested for loops

2
1.1/0.9
Shows understanding of application of these CB concepts

3
0.95/0.9
Identified this FRQ as 2D Arrays type FRQ (accurate) Very thorough

4
1/0.9
Shows understanding/ Identified FRQ type as Interfaces (but also Methods and Control Structures) (correct)

Overall
4.05/3.6

I find your reflection to be remarkably insightful, showcasing a clear understanding of the knowledge gained through engaging with the FRQs. It's noteworthy that the incorporation of most FRQ elements into your project underscores the effectiveness of Project-Based Learning (PBL) as an educational approach.
Association Score:
3.85/3.6


How to setup user constraints via ClickHouseInstallation?

Is it possible to set max_execution_time on a user using the CRD?

multiple ways
look to https://github.com/Altinity/clickhouse-operator/blob/master/docs/custom_resource_explained.md
kubectl explain chi.spec.configuration.files
kubectl explain chi.spec.configuration.users
kubectl explain chi.spec.configuration.profiles

spec:
  configuration:
    profiles:
      default/max_execution_time: 30


Corda 5 Glossary Functions and Styling

Test page to review the functions in action - https://nadine.preview.docs.r3.com/en/platform/corda/5.0-beta/introduction/glossary.html

There's no punctuation marks between terms and description and formatting looks a bit weird. If we want to keep the unordered list, I'd add a colon or an M dash between the term and its definition, if possible. Another option is to use a definition list which imo makes more sense when it comes to structuring a glossary. See https://www.oxygenxml.com/dita/styleguide/Syntax_and_Markup/c_Definition_Lists_vs_Tables.html

There's no punctuation marks between terms and descriptions and the formatting looks a bit weird. If we want to keep the unordered list, I'd add a colon or an M dash between the term and its definition, if possible. Another option is to use a definition list which imo makes more sense when it comes to structuring a glossary. See https://www.oxygenxml.com/dita/styleguide/Syntax_and_Markup/c_Definition_Lists_vs_Tables.html

Thanks, Anna. I had played with using a table but was trying to avoid them after our experience with the Release Notes. I hadn't thought of a definition list though so will test that now.

Merging the following:

shortcode to retrieve tootlip definitions for inline terms
shortcode to retrieve full list of terms and definitions
css for tooltips
css for glossary page
"draft" glossary page - leaving as draft to exclude from builds until we have a more complete and reviewed list of terms (to come in future PR(s))
JSON file to define Corda 5 terms