Sample on using your tool

Hi,
Thanks for your help earlier, would you be able to provide a code snippet or how can I update some existing code to use your emulator, as I have some existing code which sends up files to an Amazon S3 bucket, but I don't see how I retarget this towards your S3 ninja docker image? - and think that would be great info to have in your readme.
Thanks

Hello @wifilocator 👋 This depends very much on the library/tool in use. For the official AWS Java library, you can see samples in our test cases, for instance here. In a Docker environment, make sure to use the correct port, as listed in the output of docker ps. Still, examples in the README would be useful, agreed. We will see to add them the next time we work on the tool. Thanks for pointing this out. Cheers!

Path style access means that the library generates URLs like http://<server>/<bucket>/<key> when talking to S3 Ninja. This is the old standard. By default, subdomains are used these days, leading to URLs like http://<bucket>.<server>/<key>. (Sorry if I state the obvious here. As this issue may serve as future reference for others as well, I have decided to still put it here. 😉)
In theory, S3 Ninja should support both access styles; or at least, it is somewhat prepared for subdomain-style access. That is, if the request reaches the server at all. The problem is that network routing needs to work properly for the requests to reach S3 Ninja, including the requested full host name (in order to extract the bucket name). Depending on the setup of your system, you may need to edit your hosts file, for instance. While this can be done of course, we generally recommend (and use) path-style access. It is just the simpler solution, considering that S3 Ninja is a development tool and you probably want to invest your time into something more fruitful than its setup… 😅 However, if subdomain-style access works for you right out of the box: Great, even better! 😊


Implementing prediction early stopping

Hi there.
I was experimenting with early stopping for prediction, which can reduce prediction time significantly. My current test was something like:
std::vector<double> GBDT::PredictRawEarlyStopping(const double* value,
        const EarlyStoppingConfiguration &config) const {
  std::vector<double> ret(num_class_, 0.0f);

  for (int i = 0; i < num_iteration_for_pred_; ++i)
  {
    // should we early stop?
    if ((i > 0) && (i % config.iterationsPeriod == 0))
    {
        auto votes = ret;
        std::partial_sort(votes.begin(), votes.begin() + 2, votes.end(), std::greater<double>());

        const auto margin = votes[0] - votes[1];

        if (margin > config.marginThreshold)
            return ret;
    }

    for (int j = 0; j < num_class_; ++j)
    {
      ret[j] += models_[i * num_class_ + j]->Predict(value);
    }
  }
  return ret;
}

It checks the margin of the top-ranked class and stops if it is higher than a given value.
I am wondering what would be the preferred way for implementing this to have it structured enough and customizable. It could be a callback function, and we would need to specify how often it should be called (e.g. config.iterationsPeriod). Would that fit well in the LightGBM code? I'm open to other possibilities as well.

@cbecker
this is only for multi-class, right ?

It would also work for binary. Then the margin would be fabs(2 * score), what do you think?
Actually if we have a callback it can be user-defined, and then it could also be non-symmetric if the user needs that.

@cbecker
sure, welcome to create a PR for this.

Thanks, where would you prefer the function ptr to be stored (I mean in which structure)?

@cbecker
I think using a callback (or a class?) is good and we can use the config to specific the used callback.
Maybe a global dictionary (std::unordered_map<std::string, std::function...>) is needed to store the mapping from name to  callback.

Thanks. I've just noticed that in the latest master PredictRaw() is parallelized, which makes applying this type of early stopping more difficult, and it may slow down prediction.
Would it make sense to have a separate function to predict with a single thread? Also, for some cases users may want to do this in a single thread, as it would be faster to parallelize at the sample level, if multiple samples are being classified at the same time. (actually that's what we're doing now where I work, but we're using an earlier version of LightGBM)

@cbecker
Our early parallel prediction version is parallel at the sample level, and it is faster in the most cases.
Actually, I am also think about rollback it, and find another way to speed up the prediction for only one sample.

What about passing a parameter num_threads to the prediction function? Or making it part of the boosting class, so by default it uses a single thread, otherwise multiple ones?
This can be done with very little overhead (to be tested) by using #pragma omp parallel for schedule(static) num_threads(number_of_threads)

This was already merged in master, closing the issue.


operators [CI] starboard-operator (0.15.2)

Signed-off-by: chenk<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions
[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Have you considered whether you want use semantic versioning order?
[ ] Is your submission signed?
[ ] Is operator icon set?New Submissions
Updates to existing Operators

[x] Did you create a ci.yaml file according to the update instructions?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[ ] Modify more than one operator
[ ] Modify an Operator you don't own
[ ] Rename an operator - please remove and add with a different name instead
[ ] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description about the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/approve

/merge possible

/merge possible

/merge possible

/merge possible

/approve

@J0zi @mvalarh what else do we need to approve this PR? @chen-keinan is a new maintainer of Starboard Operator and we authorize all changes.

/hold cancel

/merge possible

@J0zi @mvalarh What else are we missing here? Please help as we have v0.15.3 in the pipeline already.

/merge possible

@danielpacak reason is here:) https://github.com/k8s-operatorhub/community-operators/pull/1032#issuecomment-1090253385


Indentation missing for List.filterMap identity

When optional args are present for an object, indentation of List.filterMap identity is missing. This indentation is necessary for the Elm compiler.
Below is an example of this issue from a generated Elm file for the Github API.
module Api.Object.Actor exposing (..)

import Graphqelm.Builder.Argument as Argument exposing (Argument)
import Graphqelm.FieldDecoder as FieldDecoder exposing (FieldDecoder)
import Graphqelm.Builder.Object as Object
import Graphqelm.SelectionSet exposing (SelectionSet)
import Api.Object
import Json.Decode as Decode
import Graphqelm.Encode as Encode exposing (Value)

selection : (a -> constructor) -> SelectionSet (a -> constructor) Api.Object.Actor
selection constructor =
    Object.object constructor
avatarUrl : ({ size : Maybe Int } -> { size : Maybe Int }) -> FieldDecoder String Api.Object.Actor
avatarUrl fillInOptionals =
    let
        filledInOptionals =
            fillInOptionals { size = Nothing }

        optionalArgs =
            [ Argument.optional "size" filledInOptionals.size (Encode.int) ]
|> List.filterMap identity -- 👈 Indentation should be present here
    in
      Object.fieldDecoder "avatarUrl" optionalArgs (Decode.string)

login : FieldDecoder String Api.Object.Actor
login =
      Object.fieldDecoder "login" [] (Decode.string)

resourcePath : FieldDecoder String Api.Object.Actor
resourcePath =
      Object.fieldDecoder "resourcePath" [] (Decode.string)

url : FieldDecoder String Api.Object.Actor
url =
      Object.fieldDecoder "url" [] (Decode.string)

Hey @martimatix, I just pushed a fix for this, should be all good now!
I've been running elm-format in my local testing, but I can't figure out a way to run elm-format from the published package. It would be convenient if I could. But for now with this fix at least the generated code is syntactically valid. People shouldn't ever need to manually edit the generated code so that should be sufficient I think.


trimming beyond adapter?

Hey There.
I've been using your tool quite a bit lately.   It has been the best option for adapter trimming in my hands.
I've just been handed some illumina reads which are much longer than the insert, so I expect to see quite a lot of adapter.
I'm wondering if skewer will work if I can only provide the first 50 bases of the adapter sequence but the read contains more adapter sequence after what I provided.  For example.  my read is 200 bases, and there is only a 50 base insert which means I'll be getting an extra 150bp off the end of my insert.   If I only know the first 50 bases of the adapter/primer sequencer, will the extra 100bp after my provided adapter sequence still be trimmed, or will no trimming occur?
thanks,
Richard

After a quick test with a dummy fastq file, with only the sequence:
ACCTTNTCCCAAGCAAATGGCAAACATAATAAAGGGTATAATCCCATAGGAGGAT
and ./skewer -x TGGCAAAC -l 1, I get
ACCTTNTCCCAAGCAAA.
So everything downstream of the adapter seems to be removed.


sdk fails to build with latest cyw43-driver

In file included from /home/peterh/source/pico/pico-sdk/lib/cyw43-driver/src/cyw43_ll.c:40:
/home/peterh/source/pico/pico-sdk/lib/cyw43-driver/src/cyw43_config.h:51:39: fatal error: firmware/wifi_nvram_43439.h: No such file or directory
51 | #define CYW43_WIFI_NVRAM_INCLUDE_FILE "firmware/wifi_nvram_43439.h"

merged into develop


Enforce valid package names on flutter create

Fixes #9564

LGTM

Changes LGTM

... but Travis isn't happy.

Maybe check for common package name conflicts as well, like we do in the IntelliJ plugin:
https://github.com/flutter/flutter-intellij/commit/83fe71d957400d06ee6dc828826ba72247930f92#diff-f1a44d57d2a0cf70016d6ef1c0e16213R178

@skybrian We already check for that: https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/commands/create.dart#L286


data-gen.sh问题

配置：DATA_PATH=/home/yipeng/jupyter_dir/NeuralSpeech-master/FastCorrect/data/werdur_data_aishell/   #。运行后出现问题：
/home/yipeng/jupyter_dir/NeuralSpeech-master/FastCorrect/runs/../FC_utils/preprocess_fc.py: 27: /home/yipeng/jupyter_dir/NeuralSpeech-master/FastCorrect/runs/../FC_utils/preprocess_fc.py: Syntax error: newline unexpected (expecting ")")
有人可以帮助一下如何解决这个问题吗？把log代码注释后仍然出现问题，不是很清楚整个训练流程，

Syntax error is strange and should not happen. Have you mistakenly edited the code?

I had resolve the problem, see https://blog.csdn.net/weixin_34185320/article/details/85849712,i add '#!/usr/bin/env python' code on the first line of  preprocess_fc.py


Support for multi CSS files would be useful e.g. when use multiple CSS chunks

I'd like to leave a feature request for supporting an option which only inserts when the algorithm find the @import-normalize; inside the file. Reason for this: In our current setup we process multiple CSS files with one common setup from inside a complex Webpack configuration. When using this plugin right now it appends the whole "matched" normalize rules to each individual output stylesheet which adds some duplication to our bundles.

Done via v4.0.0. Published!

Perfect!

Added to: https://github.com/sebastian-software/edge-postcss/releases/tag/0.6.0


Sure added.

    aws:ec2:InternetGateway (test):
      error: 1 error occurred:
      	* updating urn:pulumi:p-it-fv-az471-9-alb-new-py-60454d0b::alb-legacy-py::aws:ec2/internetGateway:InternetGateway::test: 1 error occurred:
      	* updating EC2 Internet Gateway (igw-086504add14ec4a3b): error attaching EC2 Internet Gateway (igw-086504add14ec4a3b) to VPC (vpc-0ab2dcaa778377b4b): Resource.AlreadyAssociated: resource igw-086504add14ec4a3b is already attached to network vpc-0ab2dcaa778377b4b
      	* ```

Some issues with account cleanup?

CI test appears to have failed due to improper cleanup from the last run. Manually deleted the resources in AWS and rerunning tests now.


[bitfinex] Unexpected market order on book

"BitfinexAdapters - Unexpected market order on book. Defaulting to limit order"
I sent in a market order via XStream and got a dozen these warnings.  Two proposals:
a) this patch
b) just remove the warning at line 503
this is probably because XStream is also using this adaptOrders function when getting updates on the socket
Personally, I prefer this patch, as it extends the functionality of adaptOrders

BitfinexOrderStatusResponse [id=39458872000, symbol=ETHUSD, price=273.37, avgExecutionPrice=273.35, side=buy, type=exchange market, timestamp=1581559027.922, isLive=false, isCancelled=false, wasForced=false, originalAmount=0.1, remainingAmount=0, executedAmount=0.1]
It is worth noting that isLive==false, and therefor this is not technical an OpenOrder, however this also applies to LimitOrders and StopOrders
also, for every processAuthenticatedMessage adaptOrder is getting called a lot (10+ times)

ok, however adaptOrders is in dire need for a refactor in the future


Sidekiq 6.5.1 deprecation warning options use

On exiting Sidekiq the following warning is issued:
WARN: config.options[:key] = value is deprecated, use config[:key] = value: ["/Users/javinto/.rvm/gems/ruby-3.1.2@app/gems/sidekiq-limit_fetch-4.2.0/lib/sidekiq/limit_fetch.rb:37:in bulk_requeue'", "/Users/javinto/.rvm/gems/ruby-3.1.2@app/gems/sidekiq-6.5.1/lib/sidekiq/launcher.rb:60:in stop'"]
Ruby 3.1.2
Sidekiq 6.5.1
Sidekiq-limit_fetch 4.2.0

Yes, it is. It’s just a different place in the code where it emerges as well.

Op 21 jun. 2022, om 11:37 heeft Dean Perry @.***> het volgende geschreven:
Looks like this is linked with #129 https://github.com/deanpcmad/sidekiq-limit_fetch/issues/129
—
Reply to this email directly, view it on GitHub https://github.com/deanpcmad/sidekiq-limit_fetch/issues/130#issuecomment-1161506792, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACY2N46LXM2FUZGRVKIC4LVQGENVANCNFSM5ZLUUY6Q.
You are receiving this because you authored the thread.

Any update on this? I am facing this too.

I've not had chance to take a look at this yet but if anyone fixes it, feel free to submit a PR :)

This should now be fixed thanks to @BobbyMcWho. v4.3.0 has been released.


Inconsistence between equation (2) in the paper and code implementation

Equation (2) in the paper detects the closest point from predicted model points to each of ground truth model points for symmetric shapes which is consistent with the equation (6) in PoseCNN paper, but in the code implementation (line 44-47 in lib/loss.py) you instead find the closest point from ground truth model to each predicted model point, which is opposite. Can you explain? Because those two metrics are different. Thanks!

There isn't too much difference when the model points are from the same one. You can switch them during training, there is no strict rule.


Camera access example

Seems easy enough:
protected void intentCamera()
{
    permissionHelper
        .setForceAccepting(false)
        .request(MULTI_PERMISSIONS); // CAMERA and WRITE_EXTERNAL_STORAGE

    showCamera();
}

But doesn't work as expected, as showCamera() is called regardless of the status of the permissions. Does showCamera() go into onRequestPermissionsResult()?

It goes into the on permission granted callback, when the permission is granted you should start the camera. in ur above code, the method will always be called.

But that method handles a specific permission. For camera I need Camera and Write_External. How would I call cameraStart if one perm is camera but the next is Write_External? I need both to be granted then call cameraStart.

You should be using one of permissionHelper methods to tell you if both
permissions are granted on permission granted callback  ex: if
permissionHelper.isPermissionGranted(....) and
permissionHelper.isPermissionGranted(....) Do things.
On Oct 8, 2016 10:48 AM, "Mike Purcell"<EMAIL_ADDRESS>wrote:

But that method handles a specific permission. For camera I need Camera
and Write_External. How would I call cameraStart if one perm is camera but
the next is Write_External? I need both to be granted then call cameraStart.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/k0shk0sh/PermissionHelper/issues/25#issuecomment-252398083,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6o_-9ZvEep75UcvF1jokaV3ZBxGTRiks5qxwSWgaJpZM4KRcID
.

Ya I tried that first. But if u wrap startCamera with those perms it won't fire off if the perms were just granted. I have to click the button again then the camera opens.

@Override public void onPermissionGranted(@NonNull String[] permissionName)
{ //do the checking here. This method will always be called if permissions
is granted. Its straight forward tbh }
On Oct 8, 2016 10:56 AM, "Mike Purcell"<EMAIL_ADDRESS>wrote:

Ya I tried that first. But if u wrap startCamera with those perms it won't
fire off if the perms were just granted. I have to click the button again
then the camera opens.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/k0shk0sh/PermissionHelper/issues/25#issuecomment-252398405,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6o_8Xd7aBEt7h_AtdIo-rQxERpXMkFks5qxwZ2gaJpZM4KRcID
.

For a single permission right? I can't call startCamera in that method for the reason I stated above. I need both perms to be granted.

if you called request with multiple permissions, then that method method will return multiple permissions if they are granted.
public static List<String> declinedPermissionsAsList(@NonNull Context context, @NonNull String[] permissions) {
you might consider using that method onPermissionGranted this method will return you declined permissions, if its empty then both permissions are granted.

Dope I'll try that. Thanks.


Multiple patterns in Host Route Predicate

In our case there are multiple host names. Some micro-services are shared for these host names, while others have separated instances. Ideally, we should have a config like this:
  - id: host_route_common
    uri: http://example-common.org
    predicates:
    - Host=**
    - Path=/common/**
  - id: host_route_abc
    uri: http://example-abc-shared.org
    predicates:
    - Host=**.A.org, **.B.org, **.C.org    # if any matches.  Not supported in 2.0.1
    - Path=/abc/**, /foo/**    # if any matches.  Not supported in 2.0.1
  - id: host_route_de
    uri: http://example-de-shared.org
    predicates:
    - Host=**.D.org, **.E.org              # if any matches.  Not supported in 2.0.1
    - Path=/de/**, /foo/**     # if any matches.  Not supported in 2.0.1

However, Host Route Predicate (version 2.0.1) supports only ONE host name pattern in config. As a workaround, we have to duplicate the route config for each host. That makes it harder to maintain.
Similarly, Path Route Predicate might be enhanced like that too. W/o multiple patterns supported, we need m*n config entries (one for each Host*Path combination).

pls take a consideration on #256 again?

It would be very nice to have such a feature in yaml. It would save a lot of redundant lines.

Despite the multiple routes feature was added... I can't find official documentation about this.


Making consistent Layout through out the app

Idea:
To make a united layout throughout the app.

Make a Layout component
Include in it the components navbar and logos and remove them from DiagnosticContainer component
using Material-UI theming

Motivation:

Keep consistency in the styling of the app
Make it easier for anyone new coming on board to follow the same flow
Start implementing and using the feel and advantages of Material-UI

What needed?

Give your opinion if you agree or not.
If not why?
if yes, please can you help?

What should be inside DiagnosticContainer component?

I agree with what was mentioned last night about putting navbar at the highest level possible so it's consistently available throughout the app. Perhaps we can convert DiagnosticContainer into this layout component?

The login functionality and showing

What should be inside DiagnosticContainer component?

it can be as @Afrogrrrl said, will see and update

I think anything top-level like this could go within App.js, unless that's bad practice, not too sure.
I was thinking DiagnosticContainer would be the wrapper component for the Health Log, containing both the overview and also weekly view. I don't know if we should repurpose this.

Agree. That would be the best

I think it is good practise to put all the react providers in App.js and the constant components into something like Layout.js, then the components for all routes can make use of Layout as top level component.

I can take a crack at this. I might have some time later this afternoon.

Sounds good @JWaltuch !

O am sorry I should assigned to myself, @JWaltuch , talk to me. I was working on it

No problem!
I'd say you and @JWaltuch should collaborate / pair up so we don't end up losing any valuable code, but let's try to stick with @JWaltuch creating the PR for this now to keep consistency/clarity 👍

@AdhamAH Let me know where you are at and your thoughts, because I was just about to start it so I don't have any code to contribute yet. I don't know if you'd prefer to collaborate or for me to tackle something else if you are already deep into it.


How do you pack all files within project and access them?

Probably just some examples I'm missing but how do you pack and access resource files? For example my project consists of:
lib/python/.... (python modules)
run.py (run function as entrypoint)
.env
README.md
etc.

How do I access .env file for example? because now my app is failing due to dotenv.load_dotenv function
Traceback (most recent call last):
  File "/home/mariusg/.pyenv/versions/3.9.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/mariusg/.pyenv/versions/3.9.9/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/mariusg/Documents/Projects/infra-terraform/./app.pyz/__main__.py", line 3, in <module>
  File "/tmp/pdm-pack-rpnrz65t/lib/run.py", line 10, in run
    load_dotenv()
  File "/tmp/pdm-pack-rpnrz65t/lib/dotenv/main.py", line 331, in load_dotenv
  File "/tmp/pdm-pack-rpnrz65t/lib/dotenv/main.py", line 298, in find_dotenv
  File "/tmp/pdm-pack-rpnrz65t/lib/dotenv/main.py", line 255, in _walk_to_root
OSError: Starting path not found

run.py:
#!/usr/bin/env python3

from dotenv import load_dotenv

def run():
    # Load up .env files
    load_dotenv()

Package command:
pdm pack -m run:run -c --pyc --no-py --exe -o app.pyz

resource files must be either read from outside of the zip, like a normal file, or loaded using importlib.resources utilities, in this way the resource must belong to a package.


Fix last_modified attr in S3ObjectStat

last_modified attribute in S3ObjectStat is datetime, while Local fs's last_modified attribute is floating point value.

/test

/test


⚠ PrivateHD has degraded performance

In 95ba319, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 1749 ms

Resolved: PrivateHD performance has improved in 6788093.


Add swift-format documentation

What's in this pull request?

Also, rename some options to improve consistency across the rest of the
driver options.
Resolved bug number: (SR-2310)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

A smoke test on macOS does the following:

Builds the compiler incrementally.
Builds the standard library only for macOS. Simulator standard libraries and
device standard libraries are not built.
lldb is not built.
The test and validation-test targets are run only for macOS. The optimized
version of these tests are not run.

A smoke test on Linux does the following:

Builds the compiler incrementally.
Builds the standard library incrementally.
lldb is built incrementally.
The swift test and validation-test targets are run. The optimized version of these
tests are not run.
lldb is tested.

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci please smoke test
Lets get a CI run for the non-documentation bits of the change.

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge

Linux is out, merging.


Using the credentials of NuGetAuthenticate task on build agents outside azure hosted pool

I am trying to find an alternative to using PAT on build agent outside azure hosted pool.
If I run NugetAuthenticate task on a hosted VM, I can access VSS_NUGET_ACCESSTOKEN and VSS_NUGET_URI_PREFIXES environment variable. I tried to pass these variables to a script which runs on a VM outside azure hosted pool. I am accessing this VM(non hosted) from within the hosted VM.
However, I don't see that the variables are injected into the credential provider and I get 401 unauthorized error. Please note that variables are still active since the scope of the job in yaml file is not over yet.
As per documentation, I know that VSS_NUGET_EXTERNAL_FEED_ENDPOINTS env. variable is supposed to be used in this scenario. I tried replacing the password with VSS_NUGET_ACCESSTOKEN but it didn't work since it seems the token is too large for credential provider to consume.
I would like to know if the combination of VSS_NUGET_ACCESSTOKEN and VSS_NUGET_URI_PREFIXES can work in build agents outside hosted pool.

Is this build agent an Azure Pipelines self-hosted agent? if so, have you tried just running the NuGet authenticate task on the self-hosted agent?

Yes running NuGet authenticate task on the self-hosted agent sets VSS_NUGET_ACCESSTOKEN and VSS_NUGET_URI_PREFIXES environment variables. Can I copy these variables to a non-hosted agent and feed it to credential provider there ?

I am closing this issue since the approach that I was trying is indeed possible.


feat(header/p2p): implement gcing for peerTracker

Resolves https://github.com/celestiaorg/celestia-node/issues/1411

Codecov Report

Merging #1298 (a89d15b) into main (da4f54b) will increase coverage by 0.11%.
The diff coverage is 70.66%.

:exclamation: Current head a89d15b differs from pull request most recent head c31f1eb. Consider uploading reports for the commit c31f1eb to get more accurate results

@@            Coverage Diff             @@
##             main    #1298      +/-   ##
==========================================
+ Coverage   56.02%   56.13%   +0.11%
==========================================
  Files         188      188
  Lines       11551    11616      +65
==========================================
+ Hits         6471     6521      +50
- Misses       4443     4454      +11
- Partials      637      641       +4

Impacted Files
Coverage Δ

header/p2p/peer_stats.go
93.54% <ø> (ø)

header/p2p/options.go
65.59% <46.15%> (-4.91%)
:arrow_down:

header/p2p/peer_tracker.go
69.38% <96.87%> (+12.03%)
:arrow_up:

header/p2p/exchange.go
73.02% <100.00%> (ø)

nodebuilder/header/module.go
94.25% <100.00%> (+0.20%)
:arrow_up:

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


Added this project to comparison of starters

Hi all,
I'm not sure why I hadn't seen this project before now, but now I have.
I have added a column for this project to my head-to-head-to-head comparison of such things.
Completing the facts in this resource will go a long way in helping relieve the suffering of developers who are confronted with an overwhelming set of options for starting a new project.  It's really hard to know what the trade-offs are between projects but it doesn't have to be.  I've laid all the groundwork for solving this problem and am just looking for experts in each project to disclose what it does and doesn't do.
I've read through the sales material for this project and added YESes/NOs for things I found there, but I'm no web-starter-kit expert and am sure I've missed some things.
So, who would like to help fill in the details about web-starter-kit?  Let me know and I'll add you to the editor list.
Thanks,
Dan

Thanks for filing this issue and adding us to your comparison list. We're currently working on a newer rework of the project that changes quite a fit pieces. We'll be updating the README as we go on to highlight how we differ from other projects in this same space.


Add Ctrl + S and Ctrl + O keyboard shortcuts for alternative to import/export commands

Also should make sure that program is interrupted and HID inputs are finished if they are pressed.

Was created after UX testing with some friends!

Implemented some time ago, forgot to close!


Attempt to invoke virtual method [Error]

Trying to fetch all music in my local storage(Internal and SD card} in ComponentDidMount but my app is giving this error.

react-native :0.48.2
wix-react-native-navigation:1.12.2

@mnehal69 please check if react-native run-android is working when you add the library in your project.

Fixed in V2


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 453 ms

Resolved: ClamAV performance has improved in 91561e5.


How to disable prefetch in vue-cli v4

Version
4.3.1
Environment info
vue info doesn't seem to work in vue-cli v4

Steps to reproduce
I am trying to disable prefetch for webpack.
I am following the docs here:
https://cli.vuejs.org/guide/html-and-static-assets.html#prefetch
Deleting the prefetch plugin, in vue.config.js
chainWebpack: config => {
  config.plugins.delete('prefetch')
}

Or disabling it for each view in the router:
function loadView (view) {
  return () => import(
    /* webpackChunkName: "view-[request]" */
    /* webpackPrefetch: false */
<EMAIL_ADDRESS>}

What is expected?
I expect not to load the views at startup
What is actually happening?
all views are actually loaded

There's also a preload plugin, too.

I mean, you need to disable both prefetch and preload plugins.

i do this,but this problem is also exists.

    config.plugins.delete('prefetch')
    config.plugins.delete('preload')

the above code does not work

Same here using version 4.5.7 and Vue 3.0 core.

It seems vuejs/preload-webpack-plugin is forked from GoogleChromeLabs/preload-webpack-plugin and is 23 commits ahead, 62 commits behind GoogleChromeLabs:master.
Those unmerged commits are since September 2017.

const PreloadPlugin = require("@vue/preload-webpack-plugin");
// in option configureWebpack
config.plugins = config.plugins.filter(p => !(p instanceof PreloadPlugin));

const PreloadPlugin = require("@vue/preload-webpack-plugin");
// in option configureWebpack
config.plugins = config.plugins.filter(p => !(p instanceof PreloadPlugin));

This doesn't work as plugins property is not an array.
However, this worked for me when using multipage setup:
chainWebpack: (config) => {
    config.plugins.store.delete('prefetch-app');
    config.plugins.store.delete('preload-app');
},

Currently on vue-cli 0.5.8
But neither of this works.
Everything are still prefetched.
Any update on this one?
chainWebpack: config => {     config.plugins.delete("prefetch");     config.plugins.delete("preload");     // or     config.plugins.store.delete("prefetch");     config.plugins.store.delete("preload"); }

Hello,
this issue is closed but using this solution is not working for me
 config.plugins.delete('prefetch')     config.plugins.delete('preload')
is there any update ?

@mrzdevcore  update vue-router package

The issue is closed and I don't know why @sodatea even thought of closing this, as this issue hasn't been resolved. I've tried everything above and nothing worked

open a new issue and provide a reproduction, please. this issue didn't include one (even though one it required), and from what was available to deduct from the short example code given, sodatea provided the likely solution.

my config keep working well and the generated html did not contain any prefetch..
"@vue/cli-service": "^4.5.7",
const PreloadPlugin = require("@vue/preload-webpack-plugin");

// in option **configureWebpack**  not **chainWebpack**
config.plugins = config.plugins.filter(p => !(p instanceof PreloadPlugin));

i have same problem,but i found some interesting.maybe use the wrong dash?
prefetch-app
"-".charCodeAt()// copy from console.log(config.plugins).it's work for me
45
prefetch—app
"—".charCodeAt() // copy from network ,failed
8212

have the same issue, rather then fix it the vue.config.js method, can i do anything in the webpack magic comments to disable prefetching?


Issue handling of some special characters (like #)

Proposed solution:
"#" should be converted to %23
Browser error text:
Error loading: file:///X:/Video%20Projects/Uploaded/2022-11-26%2021-38-26%20-%20Maxell%20#1%20-%20Huntington.mp4
Console error:
obs-random-videos.html:240 Error loading: file:///X:/Video%20Projects/Uploaded/2022-11-26%2021-38-26%20-%20Maxell%20#1%20-%20Huntington.mp4 errorFunction @ obs-random-videos.html:240 error (async) (anonymous) @ obs-random-videos.html:219
Screenshot:

Acter further testing, I actually think this is an issue in the video player in Chrome. I did a quick test and found without your code at all, the video player fails with files with a "#" character in the file name.

results in a failure.

plays fine
However, if I manually convert the "#" in the file name to a %23, it plays, like this.

@dege13 can you test out https://github.com/UpDownLeftDie/obs-random-videos/releases/tag/v3.4.4 and let me know if you see any improvement?

@jaredkotoff Works great! Thank you!


Bringing labtest up to date

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

mixed-reality-docs/3d-app-launcher-design-guidance.md
:white_check_mark:Succeeded
View

mixed-reality-docs/creating-a-holographic-directx-project.md
:white_check_mark:Succeeded
View

mixed-reality-docs/directx-development-overview.md
:white_check_mark:Succeeded
View

mixed-reality-docs/exporting-and-building-a-unity-visual-studio-solution.md
:white_check_mark:Succeeded
View

mixed-reality-docs/getting-a-holographicspace.md
:white_check_mark:Succeeded
View

mixed-reality-docs/images/sensor-stream-viewer.jpg
:white_check_mark:Succeeded
View

mixed-reality-docs/implementing-3d-app-launchers.md
:white_check_mark:Succeeded
View

mixed-reality-docs/porting-guides.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[DNM] zephyr: serial: Align with new callback signature

Align the code to the new UART callback signature, see:
https://github.com/zephyrproject-rtos/zephyr/pull/26426
Signed-off-by: Carles Cufi<EMAIL_ADDRESS>

Please do not merge until zephyrproject-rtos/zephyr#26426 is merged.

@d3zd3z and @utzig this can be merged now.


fix: revert accidental Node 18.x bump

Description

This pull request addresses the issue described here:

In this pull request, I have reverted the unintended breaking change.

The build is passing (except for one error related to a weird retry attempt — which needs an investigation in a sprint related to Allure integration).


Added Export csv support for XY components

Changes made:

Component-based drop-down menu implementation that takes showing condition, click function with argument
Added support for exporting table data as csv for xy-output-component

This will provide export CSV option for XY graphs
Signed-off-by: Neel Gondalia<EMAIL_ADDRESS>

@AlexDoanBB  please follow this PR


Refine group

This request is to refine Group class and group method in DataFrame.

Group summary function will be created by define_method.

Group key comes first (leftmost) in the result.
DataFrame.new(x: [1,2,2], y: [4,5,6]).group(:x).count
#=>
#<RedAmber::DataFrame : 2 x 2 Vectors, 0x000000000001877c>
        x   count
  <uint8> <int64>
1       1       1
2       2       2

Show only one :count if all count result is the same.
df.group(:x).count(:x, :y)
# same result as above

Add block acceptability in the DataFrame#group (#28).
The block is in the context of instance (instance_eval).

Fix unnamed column in table formatter.
Used special column key for index column in the Table format.

Rename empty key to :unnamed#{n} in DataFrame.new.
Key name in :"" will renamed to unnamed1. If it is used, use unnamed1.succ.

Add more examples and images in README.
Add more useful examples and add images of method manipulation.

Add doc. of group manipulations in README.

Added 2 commits:

Renew DataFrame#group document in DataFrame.md .
Fix DataFrame#key?, DataFrame#key_index when called with fresh instance.
They cause an error called when @keys is not initialized. Method chain in grouped result was failed.


WebTV/MSN TV

What's the Product's Name?
WebTV (later MSN TV)
Describe the product in a single sentence.
A set top box that allowed people to browse the internet on a television set.
When was the product launched? Provide a specific date, if possible.
September 1996
When was the product discontinued? Provide a specific date, if possible.
September 30, 2013,
What type of product was it? App, Service, or Hardware?
Hardware & Service

Added as service https://github.com/fabianoriccardi/killed-by-microsoft/commit/85c6b67a6612687985be31eff276f5b4c4f75eb3
If I understand correctly, the hardware was designed to support MSN TV and a few other services (email and internet browsing). Moreover, many manufacturers launched their hardware clients supporting this service (products are listed on the wiki page), but I don't see a specific item produced by Microsoft.
Thanks for the contribution!


Added IT lab of Pierre-and-Marie-Curie University (Paris)

Website is https://www.lip6.fr/

@orion78fr On the first glance the lab seems to be a research institution, with some students working there. If I am not mistaken, the best option for the students there would be requesting their free licenses using their email addresses in other universities where they study. Do I understand right that the lab has no students who study in the lab only? If I am mistaken, it will be possible to add the lab email domain to this repository, however it will be essential to note that free educational licenses for JetBrains tools are for educational purpose and for students and teachers only, not for researchers.

The lab is the IT lab of UPMC (Paris 6 University). It contains both IT teachers (who are also researchers for the most part) and Phd students.

@orion78fr Pull request merged. Thank you for the clarification.


Add GDScript exports for pre-loaded const Resource scripts and Resource-derived script classes.

Fixes #22641, #6763.
Allows you to export resource scripts if they are preloaded constants or script classes. Custom types can't be supported this way since custom type information is not accessible at runtime.
There is a known "bug" if you do either of these though. The EditorInspector won't display the right icon or show a class name in the editor property, so there's something wonky going on there. That can be a follow-up fix though.

Took out the icon method changes in editor_node.cpp since they pertain to the separate bug, and I'd rather keep this PR as cherry-pickable as possible.

Instead of using preloaded consts, can strings also be supplied if class_name is used to register the resources elsewhere?  Doing something like
export(MyResource) var template

or even
export(Resource, "res://my_resource.gd") var template

I feel could be equally useful/clean.

@nhydock

Instead of using preloaded consts, can strings also be supplied if class_name is used to register the resources elsewhere? Doing something like
export(MyResource) var template

See OP.

Allows you to export resource scripts if they are preloaded constants or script classes.

The feature you described is already handled by this PR.

@MysteryGM FYI, if you haven't already seen this PR, it's a pretty quick change that comes with some minor UI bugs in 3.1, but either way, you could easily build this into the version of Godot you guys use and it would greatly simplify your guys' workflow.

this could really be cherry picked... hope it does!
Takes away a lot of inspector headache!
btw @willnationsdev does this work for Arrays as well?!

Is there any reason this shouldn't be merged? Are there bigger plans related to this?

I'm okay with this (apart from my comment). It needs a rebase to fix conflicts though.

Been a while since I've looked at this. Will have to rebase and retest. As I recall, there was a resulting GUI error in the Inspector when I did this, even though it would "work" functionally.

@willnationsdev Should this PR be marked as closed/abandoned in favor of #26162

@nhydock yes, I think so.

Closing as superseded by #26162 then.


Add an option for encoding the description.

Currently the file name is used as the description in the mbtile metadata if the geojson has no description. Would it be possible to add an option to encode the description, similar to how you can now add attribution to the metadata?

Oh sure, this should be pretty easy to add. Thanks for pointing out the omission.

This will be in https://github.com/mapbox/tippecanoe/pull/382

Merged.


I'd like the colour of the number widget to change when the % difference between the last and current values exceeds a certain number...

Hello,
I've a situation where I use the widget to monitor the elasticsearch server and pull data from it every minute. I'd like to set an upper limit for the % change (between the current values and last values) so that if that upper limit is breached then the background colour of the widget changes.
This is my coffescript code:-
class Dashing.Number extends Dashing.Widget
@accessor 'current', Dashing.AnimatedValue
@accessor 'difference', ->
if @get('last')
last = parseInt(@get('last'))
current = parseInt(@get('current'))
if last != 0
diff = Math.abs(Math.round((current - last) / last * 100))
"#{diff}%"
else
"0%"
@accessor 'arrow', ->
if @get('last')
if parseInt(@get('current')) > parseInt(@get('last')) then 'icon-arrow-up' else 'icon-arrow-down'
onData: (data) ->
if data.status
# clear existing "status-*" classes
$(@get('node')).attr 'class', (i,c) ->
c.replace /\bstatus-\S+/g, ''
# add new class
$(@get('node')).addClass "status-#{data.status}"
@accessor 'isTooHigh', ->
(@get('current') - @get('last') / @get('last')*100%) > 5
However when I run the code, it doesn't work.
Is it possible to change the background colour of a widget based on the % change?

I wonder how often @get receives callouts from CoffeeScript code that isn't wrapped in pre-formatted text blocks...
This is an awesome idea for a widget -- it's like the Hotness Widget but with relative values instead of absolutes. I suggest taking a look at this code: https://gist.github.com/rowanu/6246149 ... Specifically, finding a way to set warm and cold dynamically based on previous values.
Please post back on this thread with any progress you make, I think I might take a crack at it as well.

Hi Tyler,
Thanks for the tip and will do!


Remove dangling nodes

Removes dangling nodes
solves https://github.com/CodeReclaimers/neat-python/issues/250

Removes dangling nodes
solves CodeReclaimers#250

Hey mark I’m getting an error on this, says the trim config item is unknown. I’m importing base neat, I have it in the [NEAT] Section. Does it belong somewhere else?

Removes dangling nodes
solves CodeReclaimers#250

Hey mark I’m getting an error on this, says the trim config item is unknown. I’m importing base neat, I have it in the [NEAT] Section. Does it belong somewhere else?

Figured it out, the configuration name isn’t listed in reproduction.py

Ok back on last bit, AttributeError: 'DefaultGenome' object has no attribute 'trim_network'
more fully:
Traceback (most recent call last):
File "filename", line 43, in
winner = p.run(eval_genomes,1000)
^^^^^^^^^^^^^^^^^^^^^^^^
File "\site-packages\neat\population.py", line 110, in run
self.population = self.reproduction.reproduce(self.config, self.species,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "\site-packages\neat\reproduction.py", line 104, in reproduce
member.trim_network(config.genome_config)
^^^^^^^^^^^^^^^^^^^
AttributeError: 'DefaultGenome' object has no attribute 'trim_network'
yeeted half the file names to keep my stuff safe but yeah thats a lil funky

Did you install the correct version of NEAT?
"trim_network" is a function i implemented to trim dangling nodes.
You can do it the following way
git clone https://github.com/markste-in/neat-python.git
cd neat-python
pip install -e .

the "-e ." installs the module from the current folder as "editable project". That means you can import neat normally without local references but still make local changes to the file in the project and see the changes in the module immediately.
If you did it correctly you should see the "trim_function" in the neat-python/neat/genome.py in line 302
if you just do  pip install neat it will pull neat from pypi without the changes.

Yep turns out most of my problems came from that. Though I do recommend a couple of quick fixes in your code. Just a sec

        if self.reproduction_config.trim_dangling_after_n_generations_wo_improvment >= 0:             for specie in species.species.values():                 if  generation - specie.last_improved > self.reproduction_config.trim_dangling_after_n_generations_wo_improvment:                     for member in specie.members.values():                         member.trim_network(config.genome_config)
And at line 28, add in ConfigParameter('trim_dangling_after_n_generations_wo_improvment',int)

yeah u r right. it makes more sense that way. Gonna change it and test it and then push it

Yeah, it yelled at me when that wasn’t there so I had to put it in manually

Yeah, it yelled at me when that wasn’t there so I had to put it in manually

Depending where you add ConfigParameter('trim_dangling_after_n_generations_wo_improvment',int) you have to add trim_dangling_after_n_generations_wo_improvment at different places in the config file. Before you had to add it to the "NEAT" area. Now I changed it to the reproduction area


Explroe BlockScout Explorer Support

Problem
Blockscout is an open source EVM explorer.
It currently has no support for Hedera but there shouldn't be anything technically blocking
Solution
### Explore BlockScout support
- [ ] Run a local instance and point to a local relay as if Ethereum. This should work and we should capture and resolve any issues encountered
- [ ] Submit a PR to https://github.com/blockscout/blockscout to add Hedera

Alternatives
No response

They also support contract verification, so I guess we could also validate that verifying a contract using a local instance of Blockscout works as well (they are part of the Verifier Alliance, https://verifieralliance.org/who.html).
They provide a form to add new chains https://airtable.com/appei1B8KwfA8kfol/pag9lBN2gDqhVSom7/form.


Homework5: Pavel Mitrafanau

Hello, Sergei,
My second PR is ready for review

Strange, but PR title job passed but no comment from it =(

Done


fix(frontend): forward Host header as X-Forwarded-Host

When Host header is forwarded as-is, service meshes such as Istio will erroneously send the request to the the host specified there instead of the intended target.
Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[x] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Hey @jjoyce0510, thanks for reviewing the PR! I fixed some mistakes, rebased the commit and locally made sure that the build and tests runs correctly (haven't used Java and Gradle in a while).


fix: scheduler shutdown

Description
This PR is a fix for the issue : #1235
How Has This Been Tested?

Running server locally with command : `python dbgpt/app/dbgpt_server.py
Shutting down server with Ctrl + C

Snapshots:
Include snapshots for easier review.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have already rebased the commits and make the commit message conform to the project standard.
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] Any dependent changes have been merged and published in downstream modules

@polBachelin  Thanks for your PR， we fill make a test and merge.


Do not generate EMF images unless Word output is specified

Only the Word output requires converting SVGs into EMF files. When no Word output is requested, do not generate these EMF files which take up lots of unnecessary processing time.
This can be done in conjunction with the latest Vectory refector (ping @alexeymorozov )
/opt/homebrew/bin/inkscape --export-type="emf" /var/folders/2t/xmdrn2sd2lv2w49dv0zw9_q00000gp/T/image20231207-286-xuuhuf.svg
2023-12-07 11:47:51.060 inkscape[867:16327601] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
Checking /var/folders/2t/xmdrn2sd2lv2w49dv0zw9_q00000gp/T/image20231207-286-xuuhuf.svg.emf
Converting...
/opt/homebrew/bin/inkscape --export-type="emf" /var/folders/2t/xmdrn2sd2lv2w49dv0zw9_q00000gp/T/image20231207-286-8xbt5m.svg
2023-12-07 11:47:51.851 inkscape[868:16327687] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
Checking /var/folders/2t/xmdrn2sd2lv2w49dv0zw9_q00000gp/T/image20231207-286-8xbt5m.svg.emf
...

This was already done in https://github.com/metanorma/metanorma-bsi/issues/446 a month ago: https://github.com/metanorma/isodoc/blob/8e5521a0d902a58e84a860e745d965e65cdec8e1/lib/isodoc/presentation_function/image.rb#L111
Just compiled mn-samples-bsi/sources/pd-19650-0, which contains SVGs. Inkspace not invoked once. Suggest you update your Metanorma.

@opoudjis I'm using isodoc version 2.7.1, which is the latest version.
You can check this issue in https://github.com/metanorma/iso-10303-srl :
git clone --recurse-submodules -j2 git@github.com:metanorma/iso-10303-srl.git
cd iso-10303-srl
bundle
bundle exec metanorma documents/iso-10303-41/document.adoc

Then you will see inkscape processing SVG files into EMF.

OK then...

OK, I see what is going on. Word is an ISO output format, but it happens not to be invoked for this document, which means I need to pass that attribute on from the metanorma-cli call.
That's doable, but harder than what I was doing excluding it from BSI.

 (SVG is converted into EMF in Presentation XML, but is only required at Word.)


Stemming

Adds a new WordStemmingFilter (and our first Filter, period!) that wraps the nltk.stem module. First argument is the name of an nltk stemmer (defaults to 'porter', for PorterStemmer); subsequent arguments are passed on to the selected stemmer's init.

Coverage increased (+1.0%) to 80.405% when pulling cfa67feb50a8ea374a52081a7a92f1fd077a923e on stemming into 8c2059a2a87d58e1ee0fe8f3258af202bd5dca80 on master.

Tests are failing on travis-ci on Python2, but it's a timeout in the TensorFlow inception model download, and everything's passing locally, so merging anyway.

Coverage increased (+1.0%) to 80.405% when pulling 7b6e66bdb0eb515f2eb73034f6a361aa9f3cfb1d on stemming into 8c2059a2a87d58e1ee0fe8f3258af202bd5dca80 on master.


Update the unmanaged-node document name.

Summary of the Pull Request
What is this about?
Update miss-spelled document name.

Codecov Report

Merging #2882 (6ce2aca) into main (6cd53b1) will decrease coverage by 1.54%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2882      +/-   ##
==========================================
- Coverage   28.13%   26.60%   -1.54%
==========================================
  Files         302      125     -177
  Lines       35577    13408   -22169
==========================================
- Hits        10011     3567    -6444
+ Misses      25566     9841   -15725

Impacted Files
Coverage Δ

...nt/onefuzz-task/src/tasks/merge/libfuzzer_merge.rs

src/agent/coverage/src/record/linux/debugger.rs

...t/onefuzz-task/src/local/libfuzzer_crash_report.rs

src/agent/srcview/src/modoff.rs

src/agent/debugger/src/debugger.rs

src/agent/onefuzz-agent/src/worker.rs

...nt/onefuzz-task/src/tasks/fuzz/libfuzzer/dotnet.rs

src/agent/win-util/src/handle.rs

src/agent/onefuzz-task/src/tasks/config.rs

src/agent/onefuzz-task/src/tasks/task_logger.rs

... and 167 more

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


Refactor controller unit test

Get rid of fake client and only use envtest client
Create all test objects with envtest client
Cleanup all objects after each test
Some more needed changes for getting all tests back to working

/retest

/retest

webhook failed, probably fixed by #146
/retest

/lgtm


Add-AzureRMAccount call in AzureResourceGroupDeployment task almost 1 minute on a Standard DS2 VM agent

For some reason within the AzureResourceGroupDeployment task (and also AzureFileCopy, AzurePowerShell), the call to Add-AzureRMAccount takes almost one minute.

Any ideas? We've run similar commands locally and it takes a few seconds at most. Since we have three tasks within our release process this is adding a lot of time to our CI process.

Thanks for reporting. This is a known issue. This is added to backlog.

Thanks @KrishnaAdityaB. Any visibility on when it may be fixed?

here is the corresponding Azure SDK issue https://github.com/Azure/azure-powershell/issues/1865
There is a work-around discussed in that thread. You can try that too.


Gamepad support for network diffs

We used the network diffing functionality of this library for our game jam game: https://prawl.itch.io/stellar-squeezebox which overall turned out great and it was really helpful for getting something off the ground quick!
Unfortunately, gamepad support was really lacking when diffing actions with a couple major issues:
A. There is no support for axis data for ActionDiff
B. If you use an axis as a button (e.g. turn left) you can't set a deadzone or it stops being recognized on the server. Example:
SingleAxis::negative_only(GamepadAxisType::LeftStickX, 0.1).with_deadzone(deadzone)
I'd like to contribute towards this, so if you have any thoughts about how you want this to work let me know. (I'll probably taking a few days to relax now that the jam is over, so might be a bit)

Looks like that's a bit of an undertaking but I would be totally down with helping out with it.

Discovered that problem B was mostly user error. .with_deadzone() shouldn't  be used with SingleAxis::negative_only instead I should have been adjusting the threshold value passed to SingleAxis::negative_only which needed to be negative. I think this would have caused issues under non-networked use too. I should have made a minimal repo to test and would have caught this, was just lazy after cramming for the jam.
Gamepads are working for our game now! Just have to treat everything as a button since there isn't axis data in actiondiffs.

Discovered that problem B was mostly user error. .with_deadzone() shouldn't be used with SingleAxis::negative_only instead I should have been adjusting the threshold value passed to SingleAxis::negative_only which needed to be negative. I think this would have caused issues under non-networked use too. I should have made a minimal repo to test and would have caught this, was just lazy after cramming for the jam. Gamepads are working for our game now! Just have to treat everything as a button since there isn't axis data in actiondiffs.

Is this behavior documented properly?
Might be worth it to open up a doc issue for this in case that others might run into the same problem :)

It kind of is, but you have to think about what it's saying and already understand what the values on SingleAxis mean.

Creates a SingleAxis with the axis_type and negative_low set to threshold.
Positive values will not trigger the input.

Source
Could probably be improved to help avoid it being a footgun.


Setup localstack use

Setup localstack use

Look at https://github.com/contentauth/c2pa-python-example/pull/12/ instead


Integrate PodDefaults rock to CKF 1.9

Context
We now have rocks being built/published for PodDefaults webhook

https://github.com/canonical/kubeflow-rocks/pull/124

We need to ensure our 1.9 charms are using them
What needs to get done
Integrate the rock in the charm
Push the charm changes to stable
Definition of Done
PodDefaults rock is used by the CKF 1.9 bundle

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."


ConPTY fills background incorrectly when resized

Repro:

echo -e '\x1b[41mabc'
Resize terminal vertically

Expected (conhost/wsl.exe):

Actual (vscode/conpty/bash.exe):

This may be another case of #32, but it looks craaaaaaaazy so I'm going to leave it open.

Looks like this was fixed at some point in the past, unclear when

So, I guess it wasn't #32 after all.


[Bug] - Missing answer for JavaScript question

What bug did you find in the codebase?
It looks like we have a missing answer for this JavaScript question.

I would also like to change the distractor options.
Here is the fix I am looking for.
  {
    Question: "In JavaScript, what will the following code return: typeof a?",
    Answer: "undefined",
    Distractor1: "string",
    Distractor2: "object",
    Distractor3: "number",
    Explanation:
      "In JavaScript, if you use the typeof operator on an undeclared variable then it will return undefined. ",
    Link: "https://www.freecodecamp.org/news/javascript-typeof-how-to-check-the-type-of-a-variable-or-object-in-js/",
  },

This question is located in the JavaScript quiz here:
https://github.com/freeCodeCamp/Developer_Quiz_Site/blob/main/src/data/javascript-quiz.ts
Please read through the contributing documentation first
https://github.com/freeCodeCamp/Developer_Quiz_Site/blob/c2896c9957c075f3bab7801f7576f9766d8f161d/CONTRIBUTING.md
If you are interested in working on this issue, please reply asking to be assigned.
Please note: this issue will only be assigned on a first come basis and will only be assigned to those who are new to the Developer Quiz site

Hi @jdwilkin4 I'm interested in this FTO

The issue has been assigned to you. 👍


safeeyes: swayidle not detected

Describe the bug
SafeEyes has swayidle support with the Smart Pause plugin but it doesn't work on NixOS because the swayidle binary is not found.
Steps To Reproduce
Steps to reproduce the behavior:

Open SafeEyes settings
Click on Plugins
See image:

Expected behavior
The Smart Pause plugin should be working properly when swayidle is present in the profile (or on the system).
Notify maintainers
@srghma
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.37, NixOS, 23.11 (Tapir), 23.11pre502741.408c0e8c15a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.15.1`
 - channels(user): `"home-manager"`
 - channels(root): `"nixos, nixos-hardware, stable-22.11"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

This is most likely caused by swayidle not being referenced in the derivation and SafeEyes runs in its own isolated profile. I don't know how to fix this though (other than putting swayidle in the derivation inputs but that would pull swayidle everywhere unnecessarily).


Improve console utility

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
✔

Fix #240

https://github.com/yiisoft/db-migration/blob/master/docs/en/usage-standalone.md and https://github.com/yiisoft/db-migration/blob/master/docs/en/usage-with-symfony.md should be updated.

👍 overall.


i18n: add i18n to new upscale feature

This PR depends on #128 , don't merge it unless #128 was merged.

Superseded by contributing translations on Crowdin, close this.


Stateful marquee vscode spotify widget

@sourishkrout thanks for the feedback. Should be cleared with those now.


[Sidechain] Fetch state snapshot from peer validateer

This is related to #444 , but describes an edge case. When a validateer is offline for an extended period of time and needs to re-sync its sidechain blocks from a peer, it can happen that it needs more sidechain blocks that are cached in the sidechain storage (currently set to 100 blocks).
We need to detect that case and then fetch and apply the state snapshot before continuing with the sidechain block syncing.
As a workaround, the validateer can be restarted which will cause it to fetch and sync its state and sidechain blocks correctly.

Closing, duplicate of #650


Can not use global validation messages

I would like to use english as main language for errors but I can not override validation messages. It is still in your language.
Code:
const DEFAULT_GLOBAL_VALIDATION_MESSAGES = {
  required: 'This option cannot be empty',
  maxlength: 'The length of this option input cannot be greater than {requiredLength}',
  minlength: 'The length of this option input cannot be less than {requiredLength}',
  ngxUniqueCheck: 'The input value already exists, please re-enter',
  email: 'The format of the input message is incorrect',
  repeat: 'Inconsistent input twice',
  pattern: 'The option input format is incorrect',
  number: 'Must enter a number',
  url: 'The input URL format is incorrect',
  max: 'The input value of this option cannot be greater than {max}',
  min: 'The input value of this option cannot be less than {min}'
};

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    SharedComponentsModule,
    SessionsRoutingModule,
    NgxValidatorModule.forRoot({
      validateOn: 'submit',
      globalValidationMessages: DEFAULT_GLOBAL_VALIDATION_MESSAGES
    }),
  ],
  declarations: [SigninComponent]
})
export class SessionsModule { }

I can't reproduce this issue, i follow your steps in Demo, it override default validation messages.

please provide more information, or live demo online in http://stackblitz.com/

I also tested your code and it is working fine.
NgxValidatorModule.forRoot({
      validateOn: 'submit',
      globalValidationMessages: DEFAULT_GLOBAL_VALIDATION_MESSAGES
    }),

must also be set in root app.module.ts file and then is fine. Thank you.


FADD.S/FSUB.S underflow

Hi,
The manual says FADD.S and FSUB.S can set NV, OF, UF, NX.
We cannot find any cases where UF (underflow is set). We have complete FPU verification and used a formal proof to show that it cannot happen.
Can you please confirm if UF is possible, and if it is possible tell us how to set it?
Regards
Tariq Kurd

https://stackoverflow.com/questions/19053681/causing-underflow-in-ieee-754-floating-point-format-using-subtraction

from that link: "When default exception handling is in effect, a subtraction that produces a tiny (in the subnormal interval1) non-zero result conceptually causes an underflow exception, but there is no observable effect"
I agree, we can't observe it, so I think the ISA manual shouldn't state that it is possible to observe it.

Hi Tariq Kurd:
May I ask which formal tool do you use to do the FPU verification?

Yes, this is all true.

Hi Rolfy360 we use Jasper from Cadence

Hi Rolfy360 we use Jasper from Cadence

Thank you for the reply, we use the same one. :)


Dispatch Export Support

This PR adds the Dispatch Export support with Optional Params to Export Only Selected Platforms.

Thanks @vini-guerrero for the PR and @Andrea-Miele for the review :)


[DOCS] Add Brand file and add brand palette color

Description

create a file named BRAND.md
add the colors to be used as a community brand, accordingly to the pic below

Hex codes
#030e2c
#718fe9
#5fbec4
#49127b
#708fe6
Font: Poppins Bold

Assign me @FrancescoXX

go!


Dataset api not working properly

So from my understanding rather than manipulating the dom with using sort/insert etc
I got from this line:
"We believed that in the right circumstances however, developers should be able control MixItUp directly via changes to their application data model, and bypass the uglyness of working with the DOM directly."
That you can simply update the data model and that will be reflected in the dom.
Now this kind of works for me.. But it only works on the first update, updates after that seem to fail.
See jsfiddle here:
https://jsfiddle.net/Samus/68up9rbt/
Am I doing something wrong here?

Hi Lyricalz,
This does appear to be an issue with the dirtyCheck feature. I've disabled it in your JSFiddle and the sorting is working as expected:
https://jsfiddle.net/68up9rbt/1/
I've also blocked clicks when an operation is in progress as there seems to be a second issue related to the animation queue and dataset.
I will try to get a patch out for these asap.

Hi again,
These issues have now been fixed in v3.1.1
Here's a fully working modified version of your original fiddle:
https://jsfiddle.net/68up9rbt/2/
Please let me know if you continue to have issues.

Awesome thanks!

Hey again,
I'm once again facing issues with this, see fiddle:
https://jsfiddle.net/Samus/68up9rbt/
If you run the buttons one by one, you get expected results.. But if you try to immediately run the 'Update' button, then you get the same issue that was happening before.
basically it still isn't really taking a completely new dataset and performing the appropriate updates/sorting/inserting etc

Hi. I'm trying to load data from API via jQuery AJAX and dataset method, but it render data only at first call. I'm receiving new data from API, pass it to the dataset() and it won't update.
Here is my code:
var post_type = 'styles',
taxonomy = 'type',
button = $('button.filter'),
container = document.querySelector('[data-ref="container"]'),
term = '';

var mixer = mixItUp(container, {
  selectors: {
    target: '[data-ref="item"]' // Query targets with an attribute selector to keep our JS and styling classes seperate
  },
  data: {
    uidKey: 'id' // Our data model must have a unique id. In this case, its key is 'id'
  },
  render: { // We must provide a target render function incase we need to render new items not in the initial dataset (not used in this demo)
    target: function(item) {

      var link = item.link,
      thumb = item.better_featured_image.media_details.sizes["style-thumb"].source_url,
      alt = item.better_featured_image.alt_text,
      title = item.title.rendered;

      return '
'+title+'
';
    }
  }
});

function load_items(term) {
  var url = 'http://' + window.location.host + '/wp-json/wp/v2/' + post_type + '?filter['+taxonomy+']=' + term;

  $.ajax({
    url: url,
    success: function (items) {

      mixer.dataset(items)
      .then(function(state) {
        console.log(state);
      });

    }
  });
}

load_items(term);

// filter button
button.click(function () {
  var s = $(this);
  load_items( s.data('category') );
});

@Lyricalz Thanks for the fiddle that was very helpful. The issues were related to simultaneous sorting/inserting/dirty-checking, and should now be fixed in v3.1.5. The CDN referenced in your fiddle has been updated, and it appears to be working as intended now.
@ninjakvas One thing I can see is that the HTML string returned by your render.target function does not match your specified selectors.target selector.
It should be:

I'm afraid I can't tell much else without seeing your data model or testing the full lifecycle of an API call. If you could provide a jsfiddle reproduction of your issue that would help. You could use an array literal to represent your returned data to keep things simple (as @Lyricalz did in his fiddle).

@patrickkunka that's much appreciated! Thank you for the fast turn around!

@patrickkunka That was it. I missed data-ref="item". Now all works fine. Thank you very much for your help!


Docs: fix little typo

Description
Fixed little typo
Type of change

[X] Documentation update

Checklist

[X] I have merged the original branch into my forked branch
[ ] I added relevant documentation
[X] follows the style guidelines of this project
[ ] I did a self-review of my code
[ ] I made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

Hi @anakin87,
Thanks again for creating a fix for the docs!:)
Your help is really appreciated every time.


permission issue on home/vscode/.azure/config when running make all

Describe the bug
On Windows, when you run make all, At one point you have the following error :
The command failed with an unexpected error. Here is the traceback:
[Errno 1] Operation not permitted: '/home/vscode/.azure/config'
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 658, in execute
raise ex
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 721, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 692, in _run_job
result = cmd_copy(params)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 328, in call
return self.handler(*args, **kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/config/custom.py", line 41, in config_set
cmd.cli_ctx.config.set_value(section, name, _normalize_config_value(value))
File "/opt/az/lib/python3.6/site-packages/knack/config.py", line 161, in set_value
self._config_file_chain[-1].set_value(section, option, value)
File "/opt/az/lib/python3.6/site-packages/knack/config.py", line 240, in set_value
self.set(config)
File "/opt/az/lib/python3.6/site-packages/knack/config.py", line 229, in set
os.chmod(self.config_path, stat.S_IRUSR | stat.S_IWUSR)
PermissionError: [Errno 1] Operation not permitted: '/home/vscode/.azure/config'
Steps to reproduce
(issue occured on 2 unrelated env)

On Windows with WSL, follow tutorial steps
At "Make All" you have the issue above.

Analysis
This is related to :
az config set extension.use_dynamic_install=yes_without_prompt
in devops/scripts/control_tre.sh
Workaround was to :

run "sudo rm ~/.azure/commandIndex.json"
in control_tre.sh, replace the line with : sudo az config set extension.use_dynamic_install=yes_without_prompt
run make all again

Wonder if this is the same as #1288, @chboudry  was this a fresh creation of the dev container? I rebuilt from clean yesterday and was fine. Wonder if its down to files already existing on WSL/Windows.
@ross-p-smith @stuartleeks any thoughts?

Customer encountered this issue yesterday,
pretty sure it's related to WSL/Windows yes

Apologies - I've just spotted that you are running this inside the dev container. Could you run it again, but on the host in WSL?

I've seen this issue before also and found this issue on the azure-cli repo which seems to suggest it arises from previously running an az command with sudo. See here
Removing the file highlighted in the error (/home/vscode/.azure/config in this case) should resolve the issue and allow the script to run as intended.

Thanks @oliver7598 . After some further discussion with @chboudry , it turned out that the repo was cloned and opened from the Windows file system. Re-cloning into WSL and opening from there seemed to resolve it.

Closing the issue since per the last few comments

Created a new TRE and stubble into this issue again.
You might want to update the documentation
so far for windows user, as per the doc, we clone the repo (from windows) and then open the dev container, so we are bound to have this issue

@stuartleeks Created a new TRE and stubble into this issue again. You might want to update the documentation so far for windows user, as per the doc, we clone the repo (from windows) and then open the dev container, so we are bound to have this issue

I faced this same issue, but was able to resume the process as per steps by @oliver7598 . Thanks.
Something in the docs related to this would be really useful!

Reopening this, will add a clear comment to the docs.
Also we will consider notifying users if they are running make commands from a repo cloned to windows.


python310Packages.nianet: init at 1.1.1

Description of changes
Python package for designing and constructing neural network topologies using nature-inspired algorithms: LINK

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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

[ ] 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/)
23.05 Release Notes (or backporting 22.11 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

@SuperSandro2000, I would like to ask you for one review if you have time. Many thanks for considering my request.

@fabaff, please review if possible. Thanks.

@ofborg build python310Packages.nianet


Use upper case for LEGACY_TIME_PARSER_POLICY to fix a spark UT

Fix #10902
This PR sets the value of spark config LEGACY_TIME_PARSER_POLICY to uppercase to fix a match error from spark UT case SPARK-37360: Timestamp type inference for a mix of TIMESTAMP_NTZ and TIMESTAMP_LTZ.
Also remove the exclude in Spark UT setting.

build


Architect Deployment order of Static assets

Hello!  I did a deep dive into this stack tonight and have found an issue that I would like to get your thoughts on.  It appears when Architect deploys the static assets, it does it in alphabetical order (or maybe random?).  As you can guess, if we upload root first and a User goes to the app, they will get unexpected results since all the assets are not fully published.  I have recreated this very easily by changing a few different files and adding new tailwind css classes so it will regen the .css file.  I don't think this is a technical issue with Remix but I wanted to bring this up and offer to help drive a solution.  Off the top of my head, I think the solution is uploading all of the assets except for the root file, leaving that last.  I did some api doc searches in Architect, but I could not find a config that would allow us to affect the static asset upload process.
Great job on all of the work Remix has done so far!

I think this issue in architect is related: https://github.com/architect/architect/issues/1312 and I think it may have been fixed in the meantime


Upgrading facebook-api library from v2.0 to v3.1

The latest Facebook SDK on their API servers is 3.3, but a corresponding
Python facebook-api library is not yet in general release.

👍


Dark mode icon is sun on first load if system theme is dark

If the system theme is dark, and the website is loaded for the first time, the dark mode switch is still in sun mode even if the whole site is in dark mode.
It works fine after you switch to light mode and switch it back to dark mode.
It is also the same with your deployed application https://nextjs-starter-blog-demo.netlify.app/
Reproducible when you open the link in incognito mode.

Thanks for creating an issue! I'll fix it as soon as possible.

Thanks for creating an issue! I'll fix it as soon as possible.

Hello, thanks for the quick fix. But the fix leads to another bug.
When you click the dark mode button now, the button itself disappears and cant switch anymore.


Layout does not after updating Padrino to 0.12.5

I updated a project from Padrino 0.12.2 to 0.12.5
After the update my (ERB) layouts don't work anymore. They used to work with the older version. I did not do any code changes.
The layout is stored in app/views/layouts/application.rhtmla (sample) view is stored in app/views/main/index.rhtml. There is no special code to activate the layout, as I did not need it before.
What can I do?
Gemfile
source 'https://rubygems.org'

gem "skylight"
gem 'mail', '2.5.3'
gem 'thor', '0.18.0'
gem 'pg'
gem 'rake'
gem 'savon'
gem 'bcrypt'
gem 'erubis'
gem 'activerecord', '>= 3.1', :require => 'active_record'
gem 'composite_primary_keys'
gem 'safe_attributes'
gem 'mysql2'
gem "binding_of_caller"
gem 'padrino', "=0.12.5"
gem "sinatra-activerecord"
gem 'paper_trail', '~> 3.0.6'
gem 'phone'
gem 'htmlentities'
gem 'hipchat'
gem "psych"
gem "thin"

System stats
jojo-macmini:~ admin$ padrino -v
Padrino v. 0.12.5
jojo-macmini:~ admin$ ruby -v
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]
jojo-macmini:~ admin$ uname -a
Darwin jojo-macmini.local 14.1.0 Darwin Kernel Version 14.1.0: Mon Dec 22 23:10:38 PST 2014; root:xnu-2782.10.72~2/RELEASE_X86_64 x86_64

I can reproduce the error with a fresh project.
$ padrino g project -e erb myapp
$ cd my app
$ bundle
$ padrino g controller ctrl
# create index action in fresh controller:
#   get :index do
#     render 'index'
#   end

# create view in app/views/ctrl/index.rhtml (Contents: index.rhtml)
# create layout in app/views/layouts/application.erb (Contents: application.erb <%= yield %>)

Observation: No layout applied.
The problem also occurs when using the HAML renderer.
Rendering the view with render 'index', :layout => "application" does work however
Calling layout :application in the app.rb does not help.
Please help!

Is there any particular reason to use '.rhtml' extension? It works fine if you use '.html.erb' instead.

Using .html.erb for my index-file does work.
Renaming application.rhtml to application.html.erb(or .erb, .html, .rb for that matter) does not work - the application layout is still not applied.

Padrino does not recognize '.rhtml' extension as ERB format. This extension is legacy and was dropped 80 years ago by Rails community. Is there any particular reason to use it? How do you end up using it, is there any Padrino or documentation that encourages it?

I like '.rthml', that's why I use it. It used to work when I started the project with 0.11, so I kinda stuck with it.
However even using ".html.erb" for my view and layout file does not resolve the issue.

Padrino '0.12.2' is the only Padrino version that applies default layout to unrecognized rendering engines ('.rhtml' is unrecognized). This behavior is not intended and was introduced as regression. This bug was reported in #1727 and fixed in Padrino '0.12.3'.
I can not reproduce the issue using proper '.html.erb' extension.
To make Padrino '0.12.5' allow default layout for '.rhtml' extension you can add to your app:
Padrino::Rendering.engine_configurations[:rhtml] = Padrino::Rendering.engine_configurations[:erb]

This fix however does not work on Padrino edge. I will investigate further.

To clarify my problem: I am unable to get an ERB layout to work with 0.12.5 - no matter what extensions I use.
I documented the steps I took in my second posting. Can you get a layout to work or do you see a blatant error on my side?

I followed your steps and I can not reproduce your problem using proper '.html.erb' extension. Please, publish your app demonstrating broken behavior with Gemfile.lock on Github.

OK, now I think I'm having a break-through: For the layout to work it is imperative for both the view and layout file to have the extension .html.erb. Actually naming the view/layout ".erb" seems to suffice. Using rhtml means no cake (Even when setting the engine_configurations as you suggested)
I think this resolves the actual problem for me. However I think supporting deprecated extensions and not using layouts is confusing (at least for me)- please change the default behavior, if possible.

Setting layout 'application.rhtml' adds this layout even if the engine is not supported for layouts by Padrino. No actual need for https://github.com/padrino/padrino-framework/issues/1904#issuecomment-88934300
As for deprecation, right now '.rhtml' is supported by Tilt, that's why it gets rendered.
Closing the issue as resolved.


Writing text to characteristic fails

Describe the bug
Using .write() doesn't seem to work for any DataView I send. I tried textToDataView('string') and new DataView( new TextEncoder().encode('string').buffer ) but neither one seem to get written to the endpoint (bleno running on a raspberry pi). Using LightBlue, it works fine, and other Pis are able to write to it, so I don't think it's the receiver. The log in XCode says it was sent successfully, it just doesn't get there.
Reads also work fine on this characteristic, it's just the writes that have an issue.
[log] - - writing: log::hello-1622051334558
⚡  To Native ->  BluetoothLe write 48144307
Resolve write|0000EC00-0000-1000-8000-00805F9B34FB|0000EC0E-0000-1000-8000-00805F9B34FB Successfully written value.
⚡  TO JS undefined

To Reproduce
Raspberry Pi 3b running a Bleno server.
Performing the write from an iPad, if that matters.
Expected behavior
I expect the message to go through.
Plugin version:

@capacitor-community/bluetooth-le: [e.g. 0.4.0]

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: Ipad Pro 2018
OS: 14.4.2

Thanks for using this plugin.
Unfortunately, I cannot reproduce this and without an error from XCode, I don't know what to do. When you get Successfully written value after using write, this means that iOS responded successfully with didWriteValueFor.
Do you get any logs from you bleno server if a write was attempted at all? Could you try it with another device?

Sorry it was for work so I couldn't fool with it much more and used a different plug-in.
Hopefully it's isolated to whatever I was doing. I'll close it out.


New BRDF

Nice work you're doing!
'can't wait for the doc about un/correlated BRDF 'cause I've no idea at all about what is this  :-p

Yup I ll do an update and if you want to understand about it now. Those are good reads:
https://twvideo01.ubm-us.net/o1/vault/gdc2017/Presentations/Hammon_Earl_PBR_Diffuse_Lighting.pdf
https://jo.dreggn.org/home/2016_microfacets.pdf


MakeMKV not updating to latest

My Docker skills are newb at best.
But when I started up your docker, it seems like it is using an old image rather than using your install.sh
Mainly because your install.sh should update the makemkv to the latest version 1.10.8 as of today.
educate me if you would ;)
root@8fa7fc9a3b99:/# makemkvcon info
MakeMKV v1.10.7 linux(x64-release) started
The new version 1.10.8 is available for download at http://www.makemkv.com/download/
Use: makemkvcon [switches] Command [Parameters]

I have triggered a current dockerfile build... seems my automated build on new versions has not triggered automatically..


feat(codespaces): add configuration for GitHub Codespaces

reopened by https://github.com/thematters/matters-web/pull/2057


Fix bug where scraper only looks for online courses

The new NYU site defaults to online instruction mode.  Gotta fix it.
TBH it's kinda unclear whether the behavior is happening ONLY in browser or also in the scraper as well. We will see I guess.

Not a bug. The website I was using to test stuff on the browser was saved in my history with the instructionMode=OL query parameter, so on my browser things were set to Online Learning by default but this didn't affect the scraper.


Auto shutdown after N minutes

I find myself leaving the SS turned on on my desk with the usb cable connected.
Bad habit which I need to lose, yet I see how others might fall to the same.
A function to auto-turnoff after 20 minutes, maybe less, maybe more, could add to the security of the device.
Either this, or, to the same effect, erase the temp seed storage.

I too like the idea of a user settings adjustment as a security solution to forgetting about the seedsigner being left on.
I'd like to hear what others prefer as to how to go about that solution... shutdown? or restart? or forget seeds? or demand a pin?
There may also be an issue of wasted energy/usage when idle (if on battery pack)?   I've been turning off the backlight for this personally, it keeps the rpi2 cooler and doesnt bump its cpu-usage from 2% to 60% like the screensaver does.  If this interests anyone, take a look at my repo's screensaver_blankscreen branch commit.

Nice input.
There can be a safety+convenient feature (still better than leaving the SS on at the mercy of anyone) where operation is "locked", and you have the option to shutdown, continue operation purging seeds, or restore seed access by entering the Mth and Nth word, asked at random, so you at least save yourself the pain of entering the whole seed again in case of automatic shitdown

Hm, if the seedsigner is left active on the desk, how far away is the seed or qr which had been used before to be loaded into seedsigner.
The time of the timer needs to be elapsed until the auto-lock function works...what happens within this time-frame. Or you need to do an action like lock-screen but then you could also have been pulling the power cable before leaving.
I am thinking about a pin s.o. sets on the device (once at first usage or every time sesi is switched on) which will be requested for all actions where the seed is involved (like exporting the seed words or qr / signing a tx / ...). You can go to the settings and change the pin but then need the old one or if you forget it you need to re-flash the software and 1st start will ask you again to set a pin (or any action involving the seed can tell you that there is no pin yet). Something like that just to make sure that someone can not easily get access to such sensitive information if the door bell rings and you go to the door but have visitors (or other people living there) at home.
If the sesi is powered with a power bank (portable power device), then someone could take it with him while powered on and try all the possible combinations, so the pin number must be a bigger one, 6-7 digits, idk.


No updates, is this abandoned?

Hi been about a month since the last update. The IDE is still broken, shadows don't work on platforms 8.1 and 10 and it gives game guru error messages instead of dbpro error messages.
Is this project not being managed and updated anymore? Is it dead?

Hi dcforeman,
IDE
My best guess is that the uploaded binary will remain for now as it is unless Lee decides otherwise.
The reason is that the IDE cannot be fixed directly from the source code in the repository because it requires a commercial component to complete its compilation. At this moment, as far as I know, only Lee has access to the component in the version required by the solution.
As Lee already said, the source code can be amended to use the latest version of the component. The component is available at http://www.bcgsoft.com/bcgcontrolbarpro.htm.
The project hasn't been abandoned. Lee has already done his part by very generously making DBP an open source project and spontaneously uploading a binary version later on. Now it's up to the community to keep DBP alive, healthy and running in its new ecosystem. In that regard, there is an undergoing effort to replace the IDE with a full open source alternative. However, there are no dead lines set or a scheduled release for it.
Shadows

Could you please elaborate on what's wrong with the shadow commands? A snippet could be very helpful.
What are the exact specifications of the computers? Please include the specific edition of the OS being used (e.g. Windows 10 Home, Pro or Education).

Error Messages
I will let @LeeBamberTGC answer this one.

LEE: Alas I'm several years out of circulation with this source code.  I recommend writing your own shaders and shadow techniques so you can understand and debug any shadow code you might need fully. I did this with GameGuru using a modified shadow mapping technique and it worked quite well with just shaders and a few camera image commands :)
LEE: The GameGuru references are due to the latest code I could find to make open source, and there was some crossover but you can simply change the text to put it back as DBP :)


Add Firefox to Linux/arm64 browser images

What would you like?
Add Mozilla Firefox to Linux/arm64 browser images when this browser becomes available for arm64 on Linux via the cdn release location https://download-installer.cdn.mozilla.net/pub/firefox/releases/.
Why is this needed?
Firefox is needed on Linux/arm64 to complement the availability on Linux/amd64 Cypress Docker images.
Mozilla is currently providing Firefox for arm64 on the nightly channel. See Firefox Nightly Now Available for Linux on ARM64 aka AArch64.
Other

Follows on from issue https://github.com/cypress-io/cypress-docker-images/issues/695

Upstream status

Firefox - Please provide an official linux ARM64 build opened Nov 19, 2020
Firefox Nightly Now Available for Linux on ARM64 dated April 19, 2024 - see https://download.mozilla.org/?product=firefox-nightly-latest-ssl&os=linux64-aarch64 for download location

I built a custom cypress docker image with both Chromium and Firefox installed to execute Cypress tests on a Macbook Pro M3 Max.  Both install and execute tests without issue.  I did switch to Firefox ESR for more stability in testing, but Firefox Rapid Release also works without a problem.
Why is this still an open issue?

@lhridley

I built a custom cypress docker image with both Chromium and Firefox installed to execute Cypress tests on a Macbook Pro M3 Max. Both install and execute tests without issue. I did switch to Firefox ESR for more stability in testing, but Firefox Rapid Release also works without a problem.

It's great to hear that you were able to run Cypress tests on a MacBook Pro M3 Max!
Could you share how you built your custom Cypress Docker image including Firefox? What was your download location for arm64  / aarch64 versions of Firefox for Linux?

Ok to clarify a bit (I did leave something out here)...we are using DDEV for local development for Drupal sites, and to also build and test a project in our CI/CD pipeline.
DDEV web images are, at their base, Debian slim images, with PHP, NginX, and NodeJS (v20) installed.  The current images are based on Debian "bookworm" (version 12).  The base image that is used as the starting point depends on the host system, which in my case is Apple Silicon (aarch64).
With DDEV you can add additional build instructions to the base images before the dev environment spins up.
I have logic in in the additional build instructions that is based on the Dockerfile for the Cypress browsers-internal images, including the logic from lines 14 - 75, with the following changes:

Remove lines 36 - 40, and instead install libayatana-appindicator3-1 via apt-get install.
Install chromium and  firefox-esr via apt-get install.  (using the debian package manager).
Remove lines 52-58

I then install cypress with npm after the web image spins up.
Since the current base image for NodeJS 20 for Cypress also uses Debian Slim bookwork, it logically makes sense that the base image can be modified to install chromium and firefox by default, and only check the processor type before attempting to install Chrome or Edge.
At least in this case, you get three browsers for testing using a docker image on ARM based processor machines.

I've asked in https://bugzilla.mozilla.org/show_bug.cgi?id=1678342 if there is any update.
https://blog.nightly.mozilla.org/2024/04/19/firefox-nightly-now-available-for-linux-on-arm64/in April 2024 said:

Our goal is to integrate ARM64 builds into Firefox’s extensive automated test suite, which will enable us to offer this architecture across the beta, release, and ESR channels.

so it would be good to know when this is going to be Generally Available.


CollisionObject2D nodes inside CanvasLayer with FollowViewport enabled are not affected by movement

Godot version: 3.2 Beta 6
OS/device including version: Windows 64bit
Issue description: CollisionObject2Ds inside a CanvasLayer do not take the layer offset/position into account when FollowViewport is enabled in the CanvasLayer
Steps to reproduce:

Create a 2D scene with:
-- Camera2D (current with movement)
-- CanvasLayer with FollowViewport enabled. (changing scale doesn't seem to matter)
-- CollisionObject2D (like Area2D) with a CollisionShape2D with a connected signal (I used mouse entered/exited - easiest to see the issue with)
-- Turn on visible collision shapes
Note that the CollisionShape2D appears to move when the camera moves, but the area on the screen where the collision shape registers collisions remains the same.

Minimal reproduction project:
FollowViewportIssue.zip

This may be related to: #35965 ???  Could be wrong, but they both deal with matrix space transforms maybe not being applied right.

Still valid in 3.2.4 beta4

still happening in 3.4.3.stable

I verified, that this is a duplicate of #35965
and that it gets fixed in V4 by #59682

I tested #https://github.com/godotengine/godot/pull/59682 and it does not seem to fix the issue.

@KoBeWi This MRP also makes #64652 visible.
If you apply #59682 together with #66076, you will see, that this MRP works as expected.


Multilingual not available in new version.

Since the IDE was updated to 4.0.1, multilinguals are no longer available.
Can this feature be fixed?

What do you mean? The IDE has been translated into 32 languages.

Language selection in preference does not work.
I chose Chinese and restarted the software, but the interface is still in English.

Is this on a Mac? Which OS?
But, yes, can fix this soon.

I tested Windows10 and MacOS, and neither worked.

Windows should have works. Okay, will determine what is broken and fix it ASAP.

Please let me know if the issue is fixed here: https://github.com/openmv/openmv-ide/releases/tag/development

This seems to work now.

Yes, it works now.


reference included template by id using twig.js with node

Hi @justjohn
I am using twig templates with Pattern Lab and twig.js and would like to reference included twig templates with an ID instead of via a template path. This will help when transferring the templates in and out of PL as well as opening them up to use in different environments with different directory structures.
I see this is possible when using twig.js in the browser (https://github.com/justjohn/twig.js/wiki#browser-usage) and pulling in the templates via ajax.
Is there a way to write my includes when using twig.js in node scripts?
In theory, instead of something like this:

  {% include 'atoms/images/img/img.twig' with img %}

{{figure.caption.text}}

I would like to be able to write my templates with something like this:

  {% ref:'imageTemplate' with img %}

{{figure.caption.text}}

thanks, Scott
ps
This is a copy of a dormant thread I started on Stack Overflow, but I wanted to post it here to see if you or anyone could help. thanks for looking!

Hi @scottnath ,
There are several ways you can reach your goal.
But the easiest would be the following:
{# main.twig #}
{% for img in images %}
  {% include path.imageTemplate with img %}
{% endfor %}

{# img.twig #}

// render.js
var twig = require('./twig').twig;

var context = {
  path: {
    imageTemplate: 'img.twig'
  },
  images: [{
    src: 'test1.jpg'
  }, {
    src: 'test2.jpg'
  }]
};

twig({
  id: 'imageTemplate',
  path: 'main.twig',
  load: function (template) {
    var output = template.render(context);
    console.log(output);
  }
});

@scottnath has your question been answered sufficiently?

Blast from the past! Sure did @plepe
Thank you @evgenius
closing issue


Markdown for Instructions timing?

Currently have only lorem ipsum placeholder text, do we have an idea when the instructions for this course will be updated here?

No official date at this time.