Sails 1.0 internationalization issue

Hello,
I have an issue with sails internationalization. I have created a simple example for that. I want to translate a key to a different language other than default language in the controller.  My default language is en but in international controller I want to translate welcome in french. I referred few articles but got no success in old sails documentation there was a way
sails.__({
phrase: 'Welcome',
locale: 'fr'
});
to translate a key on the fly but it is running into error.
I am using
Sails version 1.0.0-45
Node version 8.9.1
npm version 5.5.1
DB Adaptor : sails-postgresql
Operating System : Windows 7, 8 as well as Ubuntu
The example project is here on git hub https://github.com/vkkmehra/international
Thanks

Thanks Vivek- especially for the repo demonstrating exactly what you mean!
I've updated the 1.0 docs (1, 2) to more clearly document intended usage.
The following still works for me in Sails v1.0:

I was able to recreate the issue you're seeing when using the second argument-- but I then realized why.  As of 1.0, we switched to a different, lighter-weight i18n module in the default i18n support provided out of the box.  That means some functionality that worked in v0.12 doesn't work anymore in v1.0.  Specifically, in this case, other arguments to sails.__ are now restricted to util.format()-esque (aka printf-style) usage.
If the original functionality is crucial to you, you can get it back by installing a hook we built for this contingency (see https://github.com/balderdashy/sails-docs/blob/af687db90049661cb0f9a25c586843cd1c4ba34c/upgrading/To1.0.md#i18n)
But from what I'm gathering, you might actually be better served by doing something like this in your view:
<%= __('Hello') %>

That'll work for most cases, assuming you want Sails to automatically use the right locale based on the requesting user's browser language settings.
But if you want more control (e.g. a "language dropdown" in the top right corner of your site), then you can also override this.  In the corresponding controller action that serves that view:
var locale = 'es';//« get this however you want, from database, session, etc.
this.req.setLocale('es');

Hopefully that gets it sorted!

Sails version 1.0.0-47
Node version 8.9.4
npm version 5.6.0
DB Adaptor : sails-disk
Operating System : Mac Os 10.12.6

[x] I am experiencing a concrete technical issue (aka a bug) with Sails (ideas and feature proposals should follow the guide for proposing features and enhancements (http://bit.ly/sails-feature-guide), which involves making a pull request).  If you're not 100% certain whether it's a bug or not, that's okay--you may continue.  The worst that can happen is that the issue will be closed and we'll point you in the right direction.

[x] I am not asking a question about how to use Sails or about whether or not Sails has a certain feature (please refer to the documentation(http://sailsjs.com), or post on http://stackoverflow.com, our Google Group (http://bit.ly/sails-google-group) or our live chat (https://gitter.im/balderdashy/sails).

[x] I have already searched for related issues, and found none open (if you found a related closed issue, please link to it in your post).

[x] My issue title is concise, on-topic and polite ("jst.js being removed from layout.ejs on lift" is good; "templates dont work" or "why is sails dumb" are not so good).

[x] I have tried all the following (if relevant) and my issue remains:

Make sure you have the right app lifted.
Make sure you've killed the Sails server with CTRL+C and started it again.
Make sure you closed any open browser tabs pointed at localhost before starting Sails.
Make sure you do not have any other Sails apps running in other terminal windows.
Make sure the app you are using to reproduce the issue has a clean node_modules/ directory, meaning:

no dependencies are linked (e.g. you haven't run npm link foo)
that you haven't made any inline changes to files in the node_modules/ folder
that you don't have any weird global dependency loops. The easiest way to double-check any of the above, if you aren't sure, is to run: rm -rf node_modules && npm cache clear && npm install.

and finally...

[x] I can provide steps to reproduce this issue that others can follow.

Ideally, this involves creating a new repo that demonstrates the problem (see instructions at http://bit.ly/sails-issue-repro).  Even though your issue may seem so simple to reproduce that a new repo is unnecessary, you'd be surprised how many solutions present themselves when you start from sails new and attempt to recreate your issue from scratch in a new app.  This ensures that the real issue isn't in your user code (a forgotten policy file, perhaps?) or in a third-party module.  If you're absolutely convinced that a new repo is unnecessary, provide clear, concise and specific steps to reproduce the problem in your post (not "create a model then do blueprint create").
Hello i was using the documentation and the example shown by @mikermcneil to set the locale to es in my action, my default locale is en, and then i call sails.__ and it does not use the locale from es.json. How do i know? i changed the default locale to es, use sails.__ and it changes perfectly the string but if i use this.req.setLocale('en'); and call  again the sails.__ it still uses the es locale.
code that illustrates the issue.
this.req.getLocale() => "es"
console.log(sails.__("Welcome")); => "Bienvenido"
this.req.setLocale('en');
this.req.getLocale() => "en"
console.log(sails.__("Welcome")); => "Bienvenido"

@mikermcneil I am facing the same issue as @krewx has mentioned above. I think its an issue here.

sails.__ uses a separate i18n instance.
However, there is no req.__ / req.i18n in a controller - but you can use res.locals.__ (which uses the locale set by req.setLocale)

@CyBot thank you so much ! That's should be documented !


qnamaker clone fixes

fix qnamaker schema difference between export and import :(
cleaned up logic around BotSecret
properly publishes now
Fixes #503, #504

Pull Request Test Coverage Report for Build 1158

3 of 7 (42.86%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.05%) to 68.668%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/QnAMaker/bin/qnamaker.js
3
7
42.86%

Totals

Change from base Build 1156:
-0.05%

Covered Lines:
3857

Relevant Lines:
5379

💛  - Coveralls


In NeRF-W, Can we get the mesh by extract_color_mesh.py?

How to get .ply in NeRF-W?

Hello. Has this problem been solved? I see that the paper got the mesh. Can this code get the mesh?

Hi~ have you solved yet, I wanna extract mesn of brandengurg scene...

@XGenietony Hello bro , have you solved it ? I have the same problem.


Do not check CBMC properties during coverage check

This PR is an alternative implementation of #1939.
This commit removes the majority of CBMC checks from the invocation of
CBMC that checks coverage, which dramatically decreases the proofs' run
time.
Currently, we run CBMC three times---once to check the actual safety
properties like memory safety and arithmetic overflow, and once to
compute how much code CBMC has covered. The second check is important
because it allows us to see whether the first check has missed any code,
giving us a false sense of security about the code's safety. However, we
had previously been passing the safety check flags to the coverage
check, which vastly increases the coverage check's runtime.
This commit changes the CBMCFLAGS variable to only contain flags passed
to all three invocations of CBMC, and introduces the CHECKFLAGS
variable, which contains flags (including memory safety checks) that
should only be passed to the property check runs.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #1942 into master will decrease coverage by 0.34%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1942      +/-   ##
==========================================
- Coverage   81.15%   80.80%   -0.35%
==========================================
  Files         231      232       +1
  Lines       17381    17487     +106
==========================================
+ Hits        14106    14131      +25
- Misses       3275     3356      +81

Actual numbers: this change brings the total CPU time of all proof runs down from 4712s to 2201s. The wall-clock time for all proofs together doesn't change much (from 19 to 18 minutes), although individual proofs do finish and post results more quickly.


[4.0.0-beta.3] ToastController doesn't work on web

Bug Report
Ionic Info
Ionic:

   ionic (Ionic CLI)          : 4.1.0 (/usr/local/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.3
   @angular-devkit/core       : 0.7.0-rc.3
   @angular-devkit/schematics : 0.7.0-rc.3
   @angular/cli               : 6.0.8
   @ionic/ng-toolkit          : 1.0.0
   @ionic/schematics-angular  : 1.0.1

Cordova:

   cordova (Cordova CLI) : 7.1.0
   Cordova Platforms     : not available
   Cordova Plugins       : not available

System:

   ios-deploy : 1.9.2
   ios-sim    : 6.1.1
   NodeJS     : v10.6.0 (/usr/local/bin/node)
   npm        : 6.4.0
   OS         : macOS High Sierra
   Xcode      : Xcode 9.4.1 Build version 9F2000

Environment:

   ANDROID_HOME : not set

Describe the Bug
The toastController doesn't work on web but on IOS is ok.
Related Code
async presentToast() {
    const toast = await this.toastController.create({
      message: 'Your settings have been saved.',
      duration: 2000
    });
    toast.present();
  }

Expected Behavior
Work on web

Hi there! I just tested this out and was able to get everything working. Copied your code and it worked fine in iOS, Android, and Web.

@mhartington I forgot to mention that I was in tab view.
I do not know if this can be the cause of the issue.

I just tested this in a tabs starter project and it worked fine for me. If you post on the forum, we can debug and go over there.


Accept multiple request merge responses

Unclear what should be done. @Endlessflow will create new clearer issues so I'll close this for now.


[PENDING] Non-Latin folder crash

Windows 7 x64, ProxyHuntr RC2 portable.
Launching ProxyHuntr.exe as admin from C:\Тестирование\ProxyHuntr, but it crashes immediately.

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	ProxyHuntr.exe
  Application Version:	<IP_ADDRESS>
  Application Timestamp:	5b8e995f
  Fault Module Name:	ucrtbase.DLL
  Fault Module Version:	10.0.10240.16390
  Fault Module Timestamp:	55a5b718
  Exception Code:	40000015
  Exception Offset:<PHONE_NUMBER>065a5f

P.S. Also the app lacks info what kind of proxy it is (HTTP/S/SOCKS4/5) and what its latency is (ms).

Err… Hello?

Errr… Hello?

Hi if your not getting a reply take a look at my project and see if it can suit your needs https://github.com/HiddenMotives/ProxyChecker

Sorry for the late response, I am not actively working on this project. Try running with administrator right? And are there any logs created?


Request for pipe-friendly command output

The CLI commands emit pretty-printed output but this is not suitable for piping to other programs. I'd like to see JSON format objects printed to STDOUT which would be readable by other programs.

Hi Robin,
We now have a --json flag on all the 'get' commands. Was there anywhere else you expect to see it?


campDevs email account

there needs to be an email account for this org
or
an individual needs to supply an email for a point of contact
this would be used for things like people needing to report issues or violations from the code of conduct
if we can set up a private email server we could all have personalized campDevs email as well

we will currently be using<EMAIL_ADDRESS>issue closed


Play TCP or UDP Stream Error

I want to play the video stream in tcp:// or udp:// format, but the playback fails and the error message Failed to recognize file format is prompted.
late Player player = Player(configuration:PlayerConfiguration(logLevel: MPVLogLevel.trace));

late final VideoController controller = VideoController(
  player,
  configuration: VideoControllerConfiguration(enableHardwareAcceleration:false),
);

player.open(Media("tcp://<IP_ADDRESS>:8000"));

The following is the log information
media_kit: VideoOutput: Create Texture:<PHONE_NUMBER>480
[ERROR:flutter/shell/common/shell.cc(1004)] The 'com.alexmercerind/media_kit_video' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.
See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.
flutter: VideoOutput.Resize
flutter: {handle:<PHONE_NUMBER>272, id:<PHONE_NUMBER>480, rect: {height: 0, left: 0, top: 0, width: 0}}
flutter: NativeVideoController: Texture ID:<PHONE_NUMBER>480
flutter: media_kit: wakelock: _count = 1
flutter: Failed to recognize file format.

Which platform? Every platform has separate implementation.

We do have TCP protocol enabled:
https://github.com/media-kit/libmpv-win32-video-cmake/blob/af821697a4d779bd6a09f9a5cf2fb6418d7ca2fd/packages/ffmpeg.cmake#L288

I have tested on both Windows and Mac. Currently, it cannot be played. I am using SinglePlayerSingleVideoScreen in media_kit_test for testing, but the playback prompt fails.

I use the ffplay command to play the video and it can be played successfully.
ffplay.exe -i tcp://<IP_ADDRESS>:8000 -fflags nobuffer -sync ext -probesize 32 -analyzeduration 0 -vf setpts=0 -flags low_delay

It must be noted that media_kit does not have all parsers, decoders or protocols enabled by default. This has been done to reduce the bundle size by a great margin. You can provide us details which one specifically you wish to be enabled.
Furthermore, you can find the relevant repositories under this GitHub organization to cross-compile.
Thanks!

We have full variants for some platforms; but not published as Flutter packages.


[Bug] Failed to open serial port on /dev/ttyUSB0

Hello,
I am getting **** Failed to open the serial port /dev/ttyUSB0. **** when trying to open the serial port on /dev/ttyUSB0 (which is the same port i am using for uploading and UART on my atmega328p and atmega32A).
I double checked the port if it was busy, but it is not in use while trying to open it via the plugin, i am using vs code plugin v0.1.0.
Thank you.

@Scrappers-glitch Feel free to try out the new release that was just released and let me know if that fixes your issues! If not, please let us know and we will look farther into it. Thanks for the feedback!

Closing as resolved, however, please re-open if the issue is persisting.


How to get the feature maps generated by the network?

When I use the workspace.Predictor to run a network, how can I get the feature maps generated by a special layer. I try to transform a caffe model to caffe2 but the result is not right, so I want to see where it is wrong. Could anyone help me, thanks.

The MNIST tutorial show 15th feature map of 'conv1' layer.
https://github.com/caffe2/caffe2/blob/master/caffe2/python/tutorials/MNIST.ipynb
Convolutions for this mini-batch
pyplot.figure()
conv = workspace.FetchBlob('conv1')
shape = list(conv.shape)
shape[1] = 1
We can look into any channel. This of it as a feature model learned
conv = conv[:,15,:,:].reshape(shape)
_ = visualize.NCHW.ShowMultiple(conv)

@astroli thanks for your reply ,but I have some problems about it yet.
my test code is like this
   with open(init_model_path) as f:
        init_net = f.read()
    with open(predict_model_path) as f:
        predict_net = f.read()
    net = workspace.Predictor(init_net, predict_net)

    init_img = cv2.imread('k.jpg')  # image read
    img = np.asarray(init_img, dtype=np.float32)
    img -= mean_value
    img = _img.transpose(2, 0, 1)
    img = _img.reshape((1,) + _img.shape)
    output_prob = net_0.run([_img])
    blobs = workplace.Blobs()#[]
    blob = workplace.FetchBlob('conv1')#error None

And in this way I can not get the blobs in the workspace, any ideas about it? thanks

I solve this problem, I should add another two line code first.
   with open(init_model_path) as f:
        init_net = f.read()
    with open(predict_model_path) as f:
        predict_net = f.read()
    #init the workplace
    workspace.RunNetOnce(init_net)
    workspace.CreateNet(predict_net)
    net = workspace.Predictor(init_net, predict_net)

    init_img = cv2.imread('k.jpg')  # image read
    img = np.asarray(init_img, dtype=np.float32)
    img -= mean_value
    img = _img.transpose(2, 0, 1)
    img = _img.reshape((1,) + _img.shape)
    output_prob = net_0.run([_img])
    blobs = workplace.Blobs()#[]
    blob = workplace.FetchBlob('conv1')#error None

thanks  a lot


Posting user to site_id = 2 returns an email in english, rather than site default language

If I post a user as follows:
payload = {
  :client_id => app_id,
  :client_secret => app_secret,
  :code => auth_code,
  :redirect_uri => redirect_uri,
  :grant_type => "authorization_code"
}
response = RestClient.post("#{site}/oauth/token", payload)
token = JSON.parse(response)["access_token"]
headers = {"Authorization" => "Bearer #{token}"}

username = 'testscot1111'
email =<EMAIL_ADDRESS>password = 'testscot1111'
site_id = 2

results = RestClient.post("#{site}/users.json?inat_site_id=#{site_id}", {"user[login]" =>
username, "user[email]" => email, "user[site_id]" => site_id, "user[password]" => password,
"user[password_confirmation]" => password}, headers)
puts "created https://www.inaturalist.org/users/#{JSON.parse(results)["id"]}"

I get the following email which is in english rather than Spanish (the default language of site_id 2)

The problem here was a bit unexpected: when you authenticate as a user, and then try to create a user, the default locale is that of the authenticated user instead of the site, so your new users were actually inheriting your locale. Users should not be able to create new users, so I'm going to make it generate an error when you try to do that, but the solution for your script is to remove all that stuff  about getting an oauth token and including in the http headers.


Keep dev updated with any bugfixes into master

Such as #702

Looks good. I'd written a comment, but got distracted by this.
Merging now.


Correct a path in the Windows build instructions

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci smoke test

Just doing a drive by test (not reviewing)

@swift-ci please smoke test


Traverse Not offering Fast Leaf Rendering in Optifine.

Sadly Traverse seems to be offing fast rendering correctly for just fast leaves. Sadly I reported a few mods back in the day they fixed it but I can't even remember them now. Hoping they can be fixed it did not seem like a big issue for it in the past.
Thanks.
https://i.imgur.com/GFt1JOh.png

Would you mind trying without optifine installed to see if it works then?

This should be fixed in the latest version


Anerdw: Watch onlinequranacademy.us

Anerdw requests the watch of the watch_keyword onlinequranacademy\.us. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

onlinequranacademy\.us has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Cow in Charcoal HQ


Text gets overlapped

Objective
Wallet01 and Choose the desired wallet text gets overlapped
Screenshot

Resources

Analyze the text in the app and make changes accordingly.

Would like to work on this.

Hey @susmit @vrajdesai78  can you label this issue?


[HOPSWORKS-1942] upgrade to kafka 2.4.1

https://logicalclocks.atlassian.net/browse/HOPSWORKS-1942

This PR is not needed for Spark 3 upgrade.


Updating reference arch diagram

Updating arch diagram to be a flat 2D diagram to address https://github.com/pinecone-io/aws-reference-architecture-pulumi/issues/63

LGTM! Thanks for doing this @aaronkao :raised_hands:


Fix/improve watcher test scripts: YAML support, metadata-git-commit, better error handling, --cacert, multiple time fields

Using YAML comes in handy for bigger watches 😉

As far as I can tell, the version of run_test.py in master is incompatible with ES 7.x. Any plans to merge those improvements?

@ypid-geberit :
Hi Robin, if you can rebase this I will review the parts that I understand, and I will look for reviewers for the parts that I do not personally know about.  Sorry for letting this sit for so long!

Done that. I went with merging the latest master into my branch which was way easier because here in this PR, I did some radical changes of run_test.py early on which git rebase cannot resolve automatically.
Note that we could drop --minify-scripts which was a workaround for ES before 6.6.0.

Ping @DanRoscigno, @legalastic @gingerwizard
I still think this is a useful enhancement. What do you think?

@DanRoscigno, @legalastic @gingerwizard: Any chance of getting this merged?

Done, thanks @ypid-geberit

So long and then so quickly merged. You are welcome, thanks for merging :)


Update Semaphore docs #trivial

I was not seeing working builds when adding Danger, running printenv did not give the results that we see across forks.

          1 Warning

  :warning:
  Tests were not updated

  Generated by :no_entry_sign: danger


Polish ConnectedWorkflowServiceStubs method

What was changed

move options lambda to the last argument of the function to support DSL-like usage
add a variation that accepts java.time.Duration timeout
make timeout optional and nullable

Why?
This change adapts the ConnectedWorkflowServiceStubs method that was introduced in SDK 1.11.0 to Kotlin idioms.

In order for the method to work as a "DSL" its lambda argument has to be the last. E.g. the existing method could be called asConnectedWorkflowServiceStubs({
  setTarget("myhost")
}, 30.seconds)

however if the options lambda is moved as the last argument it could be called asConnectedWorkflowServiceStubs(30.seconds) {
  setTarget("myhost")
}

The underlying WorkflowServiceStubs.newConnectedServiceStubs method supports a null value of timeout but the Kotlin wrapper doesn't allow null to be passed. Null is also set as the default value so the call could look likeConnectedWorkflowServiceStubs {
  setTarget("myhost")
}

Sometimes the client code might have a timeout as an instance of Java's java.time.Duration. We could accept both types by adding an extra overload.

Checklist

Closes: -

How was this tested: manually

Any docs updates needed? none

Thank you for looking after Kotlin module! ;)


GitHub issue linking

[Enter feedback here]

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

ID: 1023d1b4-ba6b-32ab-7e9c-7cfb7a4b07dd
Version Independent ID: 876ffb88-2999-179c-aab8-a7db6e773011
Content: AD FS MSAL Web app (server app) calling web APIs
Content Source: WindowsServerDocs/identity/ad-fs/development/msal/adfs-msal-web-app-web-api.md
Product: windows-server
Technology: ad-fs
GitHub Login: @billmath
Microsoft Alias: billmath

Closing GitHub issue as user feedback is unspecified. #please-close


update links for recent notes and upcoming agenda

This PR looks good to me, but are we going to make this upgrade somehow automatic in the future?

@littledan it's every two months so a human having to do it doesn't seem too awful


Adjusted ChevronRight(icon) color based on theme on landing-page

PR Fixes:

1 Fixed the issue with the ChevronRight(icon) color in Light theme

Resolves #504
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I assure there is no similar/duplicate pull request regarding the same issue

Demo:
https://github.com/code100x/cms/assets/88739731/dd9cf7a3-0dc7-4897-94d4-64698423bbbd

@hkirat could you have a look at it!!


revert sphinx to 5.3.0

relates to https://github.com/envoyproxy/gateway/issues/848

Codecov Report

Merging #849 (0c5397f) into main (4fdbb22) will decrease coverage by 0.21%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #849      +/-   ##
==========================================
- Coverage   64.23%   64.01%   -0.22%
==========================================
  Files          50       50
  Lines        6523     6523
==========================================
- Hits         4190     4176      -14
- Misses       2076     2087      +11
- Partials      257      260       +3

Impacted Files
Coverage Δ

internal/provider/kubernetes/controller.go
47.81% <0.00%> (-1.83%)
:arrow_down:

internal/provider/kubernetes/helpers.go
77.04% <0.00%> (-0.82%)
:arrow_down:

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


A-Netflix-Clone

Title and Issue number

Title :A Netflix-Clone-Project
Issue No. :#57
Code Stack : Html,CSS,Javascript
Close #<issue_no>

Checklist:

[X ] I have mentioned the issue number in my Pull Request.
[ X] I have commented my code, particularly in hard-to-understand areas
[ X] I have created a helpful and easy to understand README.md
[ X] I have updated the Index.html file for my contribution

Additional context (Mandatory )

[X ] I am a contributor in OSEN open source programme

[X ] I am a contributor in HACTOBERFEST 2023

@Jatingupta9120 thank u for your valuable contribution!!
Make more contributions in this repo

@Jatingupta9120 from next time please go through contributing.md file properly
please try to add proper readme.md fil e & also try to add your project in the index.html.md section


chore: Fixed example vpc-link-http to be able to delete ALB

Description
Minor follow-up after 3.0 release (#96)

This PR is included in version 3.1.1 :tada:


Handle command too long failure in typings installer

In the logs provided in https://github.com/Microsoft/vscode/issues/46025 , typing installer failed to install type packages because the command was too long. When TI installer fails, there is no attempt to reinstall which means user doesnt get intellisense from these typings hence we should avoid TI installation failures whenever possible.

@mhegazy do we want this for 2.8.3 ?

I think we are done for 2.8.3 for now. we already snapped the VS release.


fix params

I think to get the params to work from alternateRoutes the params will have to be constructed inside alternates.forEach((segments) => {...}). As it stands now the params are still being constructed using pre-alternateRoutes segments. I tried this out locally and it works beautifully.

Of course, you are right. I just quickly tried to add it this morning but overlooked that segments is the untranslated array.


Does not work properly in code-server

Env
code-server: 1.49.1
Trace Viewer for VSCode : v0.2.8
VSCode Trace Server : v0.2.3
jdk : 17.0.12

Description
I deployed a code-server using docker and installed Trace Viewer for VSCode and VSCode Trace Server. Here is my extension configuration:
{
    "trace-server.traceserver.path": "/home/coder/trace/trace-compass-server/tracecompass-server",
    "trace-server.traceserver.arguments": "-vmargs -Dtraceserver.port=8081",
    "trace-compass.traceserver.url": "http://localhost:8081"
}

When the official recommended sample data is opened, it shows that trace-server opens fine, but there is no data in the webview.

The traces have to be accessible from the node that the trace server is running. Right now, opening the files uses direct file path and hence traces and trace server need to be co-located. Moreover, the vscode also needs to be on the same node. There has not been any implementation to upload traces from the trace viewer app to the node where the trace server runs.
Alternatively, it's possible to use vscode-remote plug-in to run vscode on your laptop (for example) and the have traceserver/traces on a remote node. See here for more information about remote support: https://github.com/eclipse-cdt-cloud/vscode-trace-extension?tab=readme-ov-file#remote-ssh-support.

Use the host's ip in code-server instead of localhost directly, and map traceserver's port if deploying in docker.
You can close this issue, thank you.

Thanks @dingzhouL for providing this follow-up.


fix: update productino key to latest key

Fix lint issues
Update redis registry to point to "latest" instead of "production"

Can you also pin the version of ruff in the github actions file?

Our workflow file:
https://github.com/numaproj/numalogic/actions/runs/5393241432/workflow
Cause we do not have any versions listed, we make use of latest version (link)


Increment version for compute releases

Increment package version after release of Azure.ResourceManager.Compute

API change check
API changes are not detected in this pull request.

/check-enforcer override

Failure is unrelated to these changes; merging.


Fix bug without "import keras"

Why is this a bug?

Yes. The problem can be ignored, since I found it was cause by my own code. Thanks.


add: Sai Smruti Ranjan Das

Description

Related Issues

Changes Proposed

Checklist

[x] I have read and followed the Contribution Guidelines.
[x] All new and existing tests passed.
[x] I have updated the documentation to reflect the changes I've made.
[x] My code follows the code style of this project.
[x] The title of my pull request is a short description of the requested changes.

Screenshots
Note to reviewers

Hi @saismrutiranjan18 , thanks for your interest in contributing to DevDisplay!
We noticed you adding your profile on #DevDisplay but forgot to star the repo. It's like making an amazing sandwich and forgetting to take a bite! -- I think our repo's feeling a little lonely without your 🤗 So, be sure to star the DevDisplay GitHub Repository. 🌟
💌 This is a mandatory step for all contributors. & It's is the first priority of contribution in DevDisplay 💌
Thanks 👍🏻

Hi @saismrutiranjan18 , thanks for your interest in contributing to DevDisplay!
We noticed you adding your profile on #DevDisplay but forgot to star the repo. It's like making an amazing sandwich and forgetting to take a bite! -- I think our repo's feeling a little lonely without your 🤗 So, be sure to star the DevDisplay GitHub Repository. 🌟
💌 This is a mandatory step for all contributors. & It's is the first priority of contribution in DevDisplay 💌
Thanks 👍🏻

Thank you @madhukalita Dee for your help, I am really happy that you really help me a lot and you give me reply very fast, thank you again and really I am very happy to make a part of your open source community


add isTalking event

Adding pma-voice:isTalking event. It is disabled by default so it doesn't do useless logic if you don't want it

I don't think this is something thats really needed being perfectly honest, if someone wants this they could add it locally.
Also please don't include a bunch of indention changes when doing a PR.


[RESOLVED] High ICMP ping response time

Problem started at 02:07:15 on 2023.08.07
Problem name: High ICMP ping response time
Host: MF-FG
Severity: Warning
Operational data: Value: 126ms
Original problem ID: 34635
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23132&eventid=34635

Problem has been resolved in 3m 59s at 02:11:14 on 2023.08.07
Problem name: High ICMP ping response time
Host: MF-FG
Severity: Warning
Original problem ID: 34635


Share data from layout to leaf with Outlet

It would be useful to have an easy and already backed-in way to share data from a layout to a leaf route, it could be done easily using the Outlet component and a custom useParentData hook.
I built something like this, I wrap the React Router Outlet component with a context provider and I export a useRouteData hook,
import { createContext, useContext } from "react";
import { Outlet as RROutlet } from "react-router-dom";

type OutletProps<Data> = { data?: Data };

// we create the context
let context = createContext<unknown>(null);

// a wrapper of Outlet which receive the data and store it in the context, then render the outlet as children
export function Outlet<Data = unknown>({ data }: OutletProps<Data>) {
  return (
    <context.Provider value={data}>
      <RROutlet />
    </context.Provider>
  );
}

// a hook to access the data from that context, from the parent layout
export function useParentData<ParentData>() {
  let parentData = useContext(context) as ParentData | null;
  if (parentData === null) throw new Error("Missing parent data.");
  return parentData;
}

Maybe, Remix could export something like this so projects doesn't need to build something similar by hand.

This was implemented with the latest release of React Router, a next release of Remix using the new version will have it.


Add RFM-21 Hydra's Performance Contribution Report

Quick note as I was glancing through the plots: is the y-axis in this fig really log-scale? ttfpr-region-boxplot.png

Good catch, it's not! I'll correct that one 👍

Fixed :)


Add rdata ip filtering

We intend to use go-dnscollector to provide incident response and alerting for malicious queries/responses. So far, we can filter and keep only traffic that is matching the list of malicious patterns (domains and IPs) that we acquire from different sources.
This PR enables us to also use the same filtering for responses.

Look good to me:) Thanks for this pull request.
Just one thing, can you add some ipv6 address in your datas test ?

Look good to me:) Thanks for this pull request. Just one thing, can you add some ipv6 address in your datas test ?

Done, still getting familiar with the codebase :)


ISPN-11839 Create a test to check licenses in distributions

https://issues.redhat.com/browse/ISPN-11839

@diegolovison org.infinispan.server.license.LicenseTest.testLicense is failing in CI. needs to be fixed.

@pruivo I did the changes that you requested. The test is not failing on CI. Ready for review.

integrated! thanks @diegolovison !


remove mask logic in View add [pr]

real_stride can simplify

yea was mostly interested to see what are being merged now, the goal was to clean up the merging logic
btw process replay would pass if all merged vews are still merged, which is not the case without those mask logic


juno-acid-state package

It seems that Juno and acid-state (Hackage) is a match made in heaven - eventual consistency with ACID guarantees on each of the nodes, allowing for any* haskell datatype to be easily turned into a distributed shared variable. I was planning to implement this myself, but since large changes are planned, I thought I'd make the suggestion so it can be implemented internally instead of needing to be rewritten once the changes are made.

https://github.com/dmbarbour/haskell-vcache is also worthy of a mention then.

Agreed, that's probably an even better choice

Also I opened https://github.com/dmbarbour/haskell-vcache/issues/5 It would be very nice to have vcache for persistence, something like IPFS for transport, and then this as a rather-smaller layer on top.

This is a very interesting idea. Very interesting. Right now you could do this with a "new command" via https://github.com/buckie/juno/blob/master/src/Apps/Juno/Command.hs. I've run into something like this months ago, when we first got Juno running scheme. Basically, I had a full scheme REPL with one difference -- to clear out it's history I had to take down the whole cluster. Very odd sensation.
There are very massive changes coming but they only concern the cluster code itself - mild protocol enhancements though more still are needed + making nodes smarter + better crypto + some clever concurrency/parallelism stuff - with the impact of truly massive speed improvements and the (not-fully-tested because I lack the hardware on my part) hypothesis that our upgrades also allow for very large cluster sizes to perform with minor performance impact. The largest cluster size I have run so far was 50 on my MBP and though everything worked much faster than I expected, the nodes got in each others way (CPU bound) and I had to increase the open file limit on OSX to get it to run.
I can't say exactly when the release is coming out. I can say this however, the API for how things are run and stored is stable in the next release. As this should be all you'd need to touch to get what you want working, have at it.
Specifically this is stable and likely always will be https://github.com/buckie/juno/blob/master/src/Apps/Juno/Server.hs#L9-L16
As of right now, you could get any datatype with a correct Monoid & Serialize instance to run in under an hour. I'm not sure if there's a method for generic derivation of a record update syntax like thing that can also be serialized (basically something like a serialize-able lens) but I haven't considered it for more than a few minutes.
So long as the work you do can be made to work with the type
data Result a b = Env a | Response b
processCommand :: (Serialize a, Serialize b, Serialize c) => MVar a -> c  -> IO (Result a b)

... I believe whatever you do will always fit with Juno's API without even trying.

I should probably add that the reason I feel acid state is a good match for Juno is that it is basically implemented as a log of modifications to the datatype, with snapshots being stored occasionally, so the raft log perfectly marries with it.

So the key is only so much a little bit might change every iteration. Initially, the Haskell data type / virtual heap is stored and transferred as a Merkle dag, and Raft only worries about a single changing pointer into the virtual heap. So top level mutable references and immutable everything else.
Then there is what VCache does with the PVars---they don't have to be top level. That corresponds to immutable nodes including black box names. The raft log would correspond to a single top-level root pointer, but rather transactions over the (also changing as variables are added or dropped) map of bindings.

FYI: updates are out

I don't have a specific use-case in mind.
Versus postgres I have nothing super concrete either. The Merkle DAG maps to immutable functional program heap very well. But while relational DBs can probably the same Haskell datatypes, the mapping isn't as clean---some relational features aren't used, yet properties (immutability and access patterns) aren't expressible. Basically, I think some IPFS-like transport and persistence layer is the "correct" abstraction on which to layer this sort of consensus infrastructure, and I hope doing so long term allows more optimizations / less complexity.


move to floating go version vendored package

See https://github.com/cloudfoundry/bosh-package-golang-release, we would like to use the latest go 1.x version. So do not bind ourself to any minor.
This is a precursor to automation of updating this package whenever a new go release is made.

@cloudfoundry/wg-app-runtime-interfaces-buildpacks-stacks-approvers


Upload packages to Github Packages

Greetings, after KubeCon I wanted to give this a spin and integrate it with my fleet deployment of Falco.
Missing an official helm package, so maybe for now use GitHub to host it?

Hi,
Effectively, as long the project is still an alpha, I want to avoid to host the chart on artifacthub. We can use gchr for now. Thanks for your proposal.


time: Lack of monotonic time support on Solaris

What version of Go are you using (go version)?
1.12.17
Does this issue reproduce with the latest release?
I have no means of testing due to lack of access to the platform, but looking at the code it seems it should still happen on master.
What operating system and processor architecture are you using (go env)?
solaris amd64
What did you do?
Compared two values of time.Now() not that far from each other.
The latter time.Now() value was smaller than the value acquired first.
Essentially:
	x := time.Now()
	y := time.Now()
	fmt.Println(y.Sub(x))

resulted in a negative difference
What did you expect to see?
Difference in time to be zero or positive
What did you see instead?
The time difference was negative 87ms.
It seems that the problem stems from:
https://github.com/golang/go/blob/master/src/runtime/sys_solaris_amd64.s#L42
which still uses CLOCK_REALTIME
This originates from: https://github.com/lucas-clemente/quic-go/issues/2059

It does seem like we should change walltime to use CLOCK_REALTIME and change nanotime to use CLOCK_MONOTONIC.  That's how it works on GNU/Linux.


Iss161

Fixes #161

Hello @robfairh! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file temoa-uiuc/plot_reactor.py:

Line 28:9: E116 unexpected indentation (comment)
Line 32:9: E116 unexpected indentation (comment)
Line 33:9: E116 unexpected indentation (comment)
Line 34:9: E116 unexpected indentation (comment)
Line 35:9: E116 unexpected indentation (comment)
Line 36:13: E116 unexpected indentation (comment)
Line 39:5: E303 too many blank lines (2)
Line 47:1: W293 blank line contains whitespace
Line 71:9: E722 do not use bare 'except'
Line 75:9: E722 do not use bare 'except'
Line 95:1: E303 too many blank lines (3)

The new plots for the electrical capacity and generation are the following:

I also made a small change in data_parser to make the following plot:


Compatibility issue with touchpad++

Microsoft PowerToys version
0.49.1
Running as admin

[ ] Yes

Area(s) with issue?
Mouse Utilities
Steps to reproduce
I am running Trackpad++ to use touchpad shortcuts along with power toys but running both at the same time disables some Trackpad++ features such asfour finger swipe to show task view.
✔ Expected Behavior
I was expecting both to work in synchronity and be able to use trackpad++ shortcuts with power toys to open task view using a four finger swipe.
❌ Actual Behavior
Swipping with four fingers switches items selected on an active window.
Other Software
Trackpad++ 3.6

@Zach-Inca do you have any keyboard remappings active? And any other specific gestures tp++ has?

Yes I remapped the left window key to control key and f3 to window + tab

Might be that Keyboard Manager is converting key strokes received from Trackpad++.

This comment is why:
https://github.com/microsoft/PowerToys/issues/3703#issuecomment-638232708
three finger gestures look to be under-the-hood shortcuts.  @saahmedm directly mentioned a keystroke same remapping of a ctrl key  So this would be a dup of #3703

All of these bugs with keyboard remapping have been closed out and referenced to https://github.com/microsoft/PowerToys/issues/3703 but years later, it does not appear that, in https://github.com/microsoft/PowerToys/issues/3703 anything has been done to fix this problem.


It issues access token and refresh token when I request token by password grant_type, but I found that there was only refresh token in database.

It issues access token and refresh token when I request token by password grant_type.
But it get Invalid token error message when I use access token to visit api. I found that there is only refresh token in database. Should an access token be generated an stored in database.

I recommend that putting access_token an refresh_token on the same row on table of database. So access_token and refresh_token can be operate as atom.

thanks for a fix.


[BUG] Editing Time field misinterprets the "d" time element

Similar to #121 - but different result and still an issue.

Reset Time field
Double click Time Field to enter 'Edit Timer'
Enter 7h and click OK => Get 1d 0h 0m
Double click again and click OK: 1d 0h 0m => 3d 3h 0m
Repeat  3d 3h 0m => 10d 5h 0m

Entering 8h 30m correctly gives 1d 1h 30m so it's only a problem entering the "d" time element.
misinterprets

I have this same issue:

I have this same issue:


Clean up Task parameter validation logic

This commit adds docstrings for many functions in the substitution package and in task_validation.go. It also cleans up the substitution package by removing unused functions, adding tests for functions that lack them, renaming functions to better reflect their purpose, and replacing calls to regexp.MustCompile (which can panic) with regexp.Compile (which does not panic). It cleans up task_validation.go by removing functions that are just wrappers around functions in the substitution package, and splitting ValidateParameterVariables into several helpers. No functional changes expected as a result of this commit.
This refactoring will help to address https://github.com/tektoncd/pipeline/issues/6647.
/kind cleanup
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

n/a Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
n/a Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
Some functions in pkg/substitution have been removed or renamed.

message: 'The step "params-applied" in TaskRun "step-script-bdzk8" failed to pull
the image "". The pod errored with the message: "Back-off pulling image "python"."'

Test failure is due to network connectivity issue

/test pull-tekton-pipeline-integration-tests

/lgtm


Investigate limitations of GitHub Actions setup-python for Python 3.8 on macos-latest

Summary of changes

Second take on #4329
As per https://github.com/actions/setup-python/issues/860 it seems that the installation of pip inside setup-python GHA is not isolated enough and ends up being influenced by the contents of the current working directory.

This PR is an attempt of investigating that, by answering the question "what if we install Python prior to cloning the repo?"
Closes
Pull Request Checklist

[ ] Changes have tests
[ ] News fragment added in newsfragments/.
(See documentation for details)

OK, it does not work either...
https://github.com/abravalheri/setuptools/actions/runs/8984199833/job/24675550622

2024-05-07T11:06:34.3657630Z Current runner version: '2.316.1'
2024-05-07T11:06:34.3675760Z ##[group]Operating System
2024-05-07T11:06:34.3676230Z macOS
2024-05-07T11:06:34.3676500Z 14.4.1
2024-05-07T11:06:34.3676770Z 23E224
2024-05-07T11:06:34.3677050Z ##[endgroup]
2024-05-07T11:06:34.3677350Z ##[group]Runner Image
2024-05-07T11:06:34.3677690Z Image: macos-14-arm64
2024-05-07T11:06:34.3678010Z Version: 20240422.3
2024-05-07T11:06:34.3678760Z Included Software: https://github.com/actions/runner-images/blob/macos-14-arm64/20240422.3/images/macos/macos-14-arm64-Readme.md
2024-05-07T11:06:34.3679840Z Image Release: https://github.com/actions/runner-images/releases/tag/macos-14-arm64%2F20240422.3
2024-05-07T11:06:34.3680490Z ##[endgroup]
2024-05-07T11:06:34.3680810Z ##[group]Runner Image Provisioner
2024-05-07T11:06:34.3681260Z 2.0.369.1+55cddbb57f254a369b6e7b3b508cebdbee5d24be
2024-05-07T11:06:34.3681700Z ##[endgroup]
2024-05-07T11:06:34.3682370Z ##[group]GITHUB_TOKEN Permissions
2024-05-07T11:06:34.3683290Z Contents: read
2024-05-07T11:06:34.3683610Z Metadata: read
2024-05-07T11:06:34.3683920Z ##[endgroup]
2024-05-07T11:06:34.3685760Z Secret source: None
2024-05-07T11:06:34.3686150Z Prepare workflow directory
2024-05-07T11:06:34.4465850Z Prepare all required actions
2024-05-07T11:06:34.4568610Z Getting action download info
2024-05-07T11:06:34.6259370Z Download action repository 'actions/setup-python@v5' (SHA:82c7e631bb3cdc910f68e0081d67478d79c6982d)
2024-05-07T11:06:36.0876920Z Download action repository 'actions/checkout@v4' (SHA:0ad4b8fadaa221de15dcec353f45205ec38ea70b)
2024-05-07T11:06:37.0771370Z Download action repository 'actions/cache@v4' (SHA:0c45773b623bea8c8e75f6c82b208c3cf94ea4f9)
2024-05-07T11:06:37.1890580Z Download action repository 'codecov/codecov-action@v4' (SHA:5ecb98a3c6b747ed38dc09f787459979aebb39be)
2024-05-07T11:06:38.2421430Z Complete job name: test (3.8, macos-latest)
2024-05-07T11:06:38.3055380Z ##[group]Run actions/setup-python@v5
2024-05-07T11:06:38.3055870Z with:
2024-05-07T11:06:38.3056040Z   python-version: 3.8
2024-05-07T11:06:38.3056260Z   allow-prereleases: true
2024-05-07T11:06:38.3056480Z   check-latest: false
2024-05-07T11:06:38.3056930Z   token: ***
2024-05-07T11:06:38.3057130Z   update-environment: true
2024-05-07T11:06:38.3057340Z env:
2024-05-07T11:06:38.3057500Z   FORCE_COLOR: 1
2024-05-07T11:06:38.3057700Z   PIP_DISABLE_PIP_VERSION_CHECK: true
2024-05-07T11:06:38.3057970Z   PIP_NO_PYTHON_VERSION_WARNING: true
2024-05-07T11:06:38.3058230Z   PIP_NO_WARN_SCRIPT_LOCATION: true
2024-05-07T11:06:38.3058530Z   TOX_OVERRIDE: testenv.pass_env+=GITHUB_*,FORCE_COLOR
2024-05-07T11:06:38.3058860Z   SETUPTOOLS_USE_DISTUTILS: local
2024-05-07T11:06:38.3059090Z ##[endgroup]
2024-05-07T11:06:38.6569070Z ##[group]Installed versions
2024-05-07T11:06:38.6573570Z Version ~3.8.0-0 was not found in the local cache
2024-05-07T11:06:39.5760580Z Version ~3.8.0-0 is available for downloading
2024-05-07T11:06:39.5761330Z Download from "https://github.com/actions/python-versions/releases/download/3.8.10-8879978422/python-3.8.10-darwin-arm64.tar.gz"
2024-05-07T11:06:40.5991400Z Extract downloaded archive
2024-05-07T11:06:40.6249670Z [command]/usr/bin/tar xz -C /Users/runner/work/_temp/e6e2adc3-4cf6-4b62-b0e3-7fa6b5389711 -f /Users/runner/work/_temp/7f6a24dd-a37e-45ae-a0ba-539c2e7ffaf4
2024-05-07T11:06:40.6798880Z Execute installation script
2024-05-07T11:06:40.7131240Z Check if Python hostedtoolcache folder exist...
2024-05-07T11:06:40.7177180Z Install Python binaries from prebuilt package
2024-05-07T11:07:02.0411490Z installer: Package name is Python
2024-05-07T11:07:02.0427610Z installer: Upgrading at base path /
2024-05-07T11:07:02.0428510Z installer: The upgrade was successful.
2024-05-07T11:07:02.0518500Z Create hostedtoolcach symlinks (Required for the backward compatibility)
2024-05-07T11:07:02.0530070Z Create Python 3.8.10 folder
2024-05-07T11:07:02.0681720Z Create additional symlinks (Required for the UsePythonVersion Azure Pipelines task and the setup-python GitHub Action)
2024-05-07T11:07:02.0786220Z Upgrading pip...
2024-05-07T11:07:02.2205750Z ##[error]Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 203, in run_module
    mod_name, mod_spec, code = _get_module_details(mod_name)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 130, in _get_module_details
    spec = importlib.util.find_spec(mod_name)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/util.py", line 103, in find_spec
    return _find_spec(fullname, parent_path)
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/_distutils_hack/__init__.py", line 79, in find_spec
    return method()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/_distutils_hack/__init__.py", line 100, in spec_for_pip
    if self.pip_imported_during_build():
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/_distutils_hack/__init__.py", line 111, in pip_imported_during_build
    return any(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/_distutils_hack/__init__.py", line 112, in <genexpr>
    frame.f_globals['__file__'].endswith('setup.py')
KeyError: '__file__'
2024-05-07T11:07:02.2239850Z ##[error]Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ensurepip/__main__.py", line 5, in <module>
    sys.exit(ensurepip._main())
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ensurepip/__init__.py", line 206, in _main
    return _bootstrap(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ensurepip/__init__.py", line 125, in _bootstrap
    return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ensurepip/__init__.py", line 34, in _run_pip
    return subprocess.run([sys.executable, "-c", code], check=True).returncode
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/Library/Frameworks/Python.framework/Versions/3.8/bin/python', '-c', '\nimport runpy\nimport sys\nsys.path = [\'/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmpb6mu4_d9/setuptools-56.0.0-py3-none-any.whl\', \'/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmpb6mu4_d9/pip-21.1.1-py3-none-any.whl\'] + sys.path\nsys.argv[1:] = [\'install\', \'--no-cache-dir\', \'--no-index\', \'--find-links\', \'/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmpb6mu4_d9\', \'setuptools\', \'pip\']\nrunpy.run_module("pip", run_name="__main__", alter_sys=True)\n']' returned non-zero exit status 1.
2024-05-07T11:07:02.2251850Z ##[error]The process '/bin/bash' failed with exit code 1
2024-05-07T11:07:02.2638220Z Cleaning up orphan processes


ReduxForm keepDirtyOnReinitialize and enableReinitialize not updates arrays if they where empty by the first initialization

What is the current behavior?
ReduxForm keepDirtyOnReinitialize and enableReinitialize not updates arrays by reinitialization if they where empty by the first initialization.
export const ActionPlan = props => {     return (     <div>                        { Array.isArray(props.entity.prop1)  ?  props.entity.prop1.map((el, index) => <Field key={index} name={entity.prop1[${index}]} component="input" type="text" />) : null }     </div>   ) }
If by the initialization we have:
 {entity: {prop2:'repa'} } or   {entity: {prop1:undefined, prop2:'repa'} } or   {entity: {prop1:null, prop2:'repa'} }
And by the reinitialization we have
 {entity: {prop1:[10, 15], prop2:'repa'} }
After reinitialization in the form we will see 2 EMPTY fields.
What is the expected behavior?
After reinitialization in the form we will see 2 fields: one input with value 10 and another input with value 15
###Environment
Windows 10, node v8.4.0, "redux-form": "6.8.0".

1.5 years without a comment here, so I'm closing!
If the issue persists, please open a new one while still providing as much context as possible. Thanks!


Live Demo

We should get another Live Demo up and available for testing.
My proposal:
I've got a cluster of servers that I can throw the demo on that would be in sync with the master branch of the repo. I've got a handful of projects already running in this manner, and adding one more to the cluster would just be a matter of a couple minutes of configuration. I can also create a script to wipe and reseed the database every couple hours to ensure that there's always an admin and user account available for testing.
Other Options:

Set-up a auto deploying heroku app. This would also require a mongolab (or similar) account for the database. One downside that I see to this is that the heroku app would go to sleep and thus takes longer to load and give the user a good experience.
Try to see if we can get free AWS credit for being an open source project to host the live demo in relatively the same form as above.
....? Probably plenty others, so open to discussion.

To keep up with the open source model and transparency we should rely on a public service just like we do with Travis-CI, Coveralls, etc.

@lirantal What kind of public service gives that level of transparency though?

I was referring to the project's transparency level, meaning that both me and Ilan are able to configure Travis or Coveralls as required due to our permissions on the project and the Github integration that enables this.
I'm sure we can find some service that provides integration with Github for this use case.

@lirantal The closest one that I know of would be heroku, but it doesn't integrate with github permissions, whoever creates it would have to add contributors too it manually. But I',m not sure if mongo labs does the same thing or not. If anyone has any other suggestions that integrates with github even more I'm open to those ideas!

@codydaig have you tried openshift? I have not tried yet, but ...

it looks to be free for up to 3 nodes https://www.openshift.com/pricing/plan-comparison.html
you can push from travis http://docs.travis-ci.com/user/deployment/openshift/
it has a mean tutorial with the fullstack project https://developers.openshift.com/en/node-js-example-meanstack.html

@jloveland I have tried openshift, but I ran into deployment issues and had trouble actually getting a live server. If you can get anything working, we'll probably look at that as it's free.

@ryanjbaxter Would Bluemix have an option that would fit our needs?

@codydaig potentially.  We have IBM DevOps services which is part of Bluemix and would allow you to setup a build and deploy pipeline so that when a commit is made to the repo, a build is done and deployed to bluemix.  You can choose to use the free tier MongoLabs service or a build in experimental mongodb service for the db.  (You can even setup and configure the other social services if you want)
The one downside, right now anyways, is who owns the account it gets deployed to.  You get a 30 day free trial but then someone needs to enter a credit card for the account.  However you can continue to run a single instance of a MEAN app for free even after the 30 days as it should fall below the 375 GB/hrs you get free each month after the 30 days.

I'm pretty new here, but why not use AWS? Its fairly priced and a great platform

@sspohC We're looking for free and AWS (at least in my experience) doesn't make permissions easy.

Yeah the IAM permissions can be painful. I have associates at AWS that I would be happy to contact to see if free is feasible. I'm just getting into meanjs and I love it. Glad to help anyway I can!