Ubuntu rails 3 doesn't work

I have a problem, there are my config:
My env:
SHELL=/bin/bash
TERM=xterm-color
OLDPWD=/var/log
USER=root
SUDO_USER=ubuntu
SUDO_UID=1000
USERNAME=root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
MAIL=/var/mail/ubuntu
PWD=/var
LANG=en_US.UTF-8
SHLVL=1
SUDO_COMMAND=/bin/bash
HOME=/home/ubuntu
LOGNAME=root
LESSOPEN=| /usr/bin/lesspipe %s
SUDO_GID=1000
LESSCLOSE=/usr/bin/lesspipe %s %s
_=/usr/bin/env
My gem env:
RubyGems Environment:

RUBYGEMS VERSION: 1.3.7
RUBY VERSION: 1.9.2 (2011-02-18 patchlevel 180) [x86_64-linux]
INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.9.1
RUBY EXECUTABLE: /usr/local/bin/ruby
EXECUTABLE DIRECTORY: /usr/local/bin
RUBYGEMS PLATFORMS:

ruby
x86_64-linux

GEM PATHS:

/usr/local/lib/ruby/gems/1.9.1
/home/ubuntu/.gem/ruby/1.9.1

GEM CONFIGURATION:

:update_sources => true
:verbose => true
:benchmark => false
:backtrace => false
:bulk_threshold => 1000
"install" => "--no-ri --no-rdoc"
"update" => "--no-ri --no-rdoc"

REMOTE SOURCES:

http://rubygems.org/

However, when I create a whenever and execute, the error that I have is:

Command 'bundle' is available in '/usr/local/bin/bundle'
The command could not be located because '/usr/local/bin' is not included in the PATH environment variable.
bundle: command not found

Is solved this using the crontab -e and editing 'bundle exec rake' -> '/usr/local/bin/rake'
Somebody can helpme?

Try setting PATH at the top of your schedule.rb file: env 'PATH', ENV['PATH']

Thanks for your help! but I've tried that whit this line:
env :PATH, '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin'
but doesn't work
ENV['PATH'] works on rails3???
El 22/10/11 9:43, Javan Makhmali escribió:

Try setting PATH at the top of your schedule.rb file: env 'PATH', ENV['PATH']

If you ssh in to your server does which bundle work?

Hello javan,
I tried again and everything it's OK. I tried with ENV['PATH'] at the begin of mi schedule.rb, I thought that didn't work on rails3.
Other question, can a task be executed automatically when another was finished??

Cron doesn't have any way to run a task when one completes, but you could program that in to the task itself.

Thanks for help javan!!!, whenever is a great gem


Dubiously similar repo

Came across this 'other' repo which could easily be mistaken for this one.
https://github.com/mattnh/go-sqlite3
Wasn't sure if this was yours or someone doing something undesirable. Thought it worth mentioning, if it isn't yours I'm not sure if Github openly police this kind of thing.

They are indeed doing something undesirable - sending your query parameters to some unknown IP address. I reported the other repository.
https://github.com/mattnh/go-sqlite3/commit/a5a3f1f805b9de29f038024fd8cec78ac3fa2fad#diff-2b10fcf999dec2c93bce3364fdeefd688eda6ad78934ac1a2d8b359b57ee7687R2146

wow. nasty typosquatting. reported as well!

Thank you for the reporting this. The offending repository has been removed from GitHub and the Go module proxy.
Closing as I don't believe any further action is needed.

Thank you all.


Enable remote debugging option

I'm unsure if Google Play allows this when adding the app to their app store, but it would be really useful if this app were able to have remote debugging enabled.
More info here:
https://developers.google.com/web/tools/chrome-devtools/remote-debugging/webviews
p.s. Very useful app - thanks!

Hi, I added what you wanted, check out new release either here or on Google Play. I'm not sure if it does what you want though, so feel free to contact me again if it isn't working. For now, I'm closing this.

Thanks @lsrom ! That feature is so incredibly useful. None of the other webview tester apps on Android do this either. Thanks for the speedy implementation and release! Legend!


Cosmetic: Missing newline after "Progress bar"

Using: subliminal, version 2.0.rc1
Progress bar its not adding adding newline making the next log message in the same line as progress bar
https://github.com/Diaoul/subliminal/blob/develop/subliminal/cli.py#L395
Downloading subtitles  [##----------------------------------]    6%  .S01E01.1080p.WEB-DL.DD5.1.H.264-Abc.mkvINFO:subliminal.core:Listing subtitles with provider '' and languages set([<Language [*]>])

I think you should report this to click but I don't know if adding a newline character would solve the issue without other consequences. Have you tried it?

Im not sure how to fix it
If "Listing subtitles" its always the next log line maybe adding a new line before "\nListing subtitles"

If you want to dissociate debug logs from output, save it to a file: subliminal --debug [...] 2> debug.log


Macro's Section

It does not cover about the selector! macro and about what it does and an example of it.

@Akashneelesh any updates?


[IPv6] Add 2 Network Policy tests

2 upstream Network Policy tests didn't consider netmask for IPv6, this patch
is to add correct tests. When bug is fixed in latest release, these 2 tests can be deleted.
https://github.com/kubernetes/kubernetes/blob/v1.20.0-alpha.0/test/e2e/network/network_policy.go#L1365
https://github.com/kubernetes/kubernetes/blob/v1.20.0-alpha.0/test/e2e/network/network_policy.go#L1444

Codecov Report

Merging #1399 into ipv6 will decrease coverage by 17.09%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             ipv6    #1399       +/-   ##
===========================================
- Coverage   58.55%   41.46%   -17.10%
===========================================
  Files         157       85       -72
  Lines       13082    10641     -2441
===========================================
- Hits         7660     4412     -3248
- Misses       4610     5835     +1225
+ Partials      812      394      -418

Flag
Coverage Δ

#kind-e2e-tests
?

#unit-tests
41.46% <ø> (+0.04%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/agent/agent_linux.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/ovs/openflow/default.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/agent/config/node_config.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/ovs/openflow/logs.go
9.52% <0.00%> (-90.48%)
:arrow_down:

pkg/controller/networkpolicy/tier.go
0.00% <0.00%> (-90.00%)
:arrow_down:

pkg/apis/controlplane/register.go
0.00% <0.00%> (-85.72%)
:arrow_down:

pkg/agent/client.go
0.00% <0.00%> (-77.42%)
:arrow_down:

...kg/apiserver/registry/system/supportbundle/rest.go
9.88% <0.00%> (-65.70%)
:arrow_down:

pkg/agent/util/iptables/iptables.go
0.00% <0.00%> (-59.75%)
:arrow_down:

pkg/ovs/openflow/ofctrl_group.go
0.00% <0.00%> (-53.13%)
:arrow_down:

... and 119 more

/test-ipv6-conformance

/test-e2e

/test-e2e

I still don't see any link to an upstream K8s issue or PR in the commit message / PR description. You have included links to the upstream tests there but that's not as useful. Is there no upstream issue yet?

Sorry, I thought it were the testcase links. I have added the link to the PR to support IPv6 in commit message.

/test-e2e
/test-ipv6-e2e
/test-ipv6-only-e2e

/test-ipv6-e2e
/test-ipv6-only-e2e

/test-ipv6-e2e

/test-ipv6-e2e

The 2 testcases are only for IPv6 environment and they need IPv6 Network Policy support. So currently, this PR can be merged without check.


[BEAM-3095] Add withCompression to TextIO.Write

It appears that one helper method was missed when adding withCompression to the TextIO class. The work around requires using Deprecated apis.
SDK Java Core Code Owner: @lukecwik

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---
---

Run Java PreCommit

Run Java PreCommit

Run Java PreCommit

Kyle, I added you as a contributor to the project in JIRA and the owner of the issue which I resolved on your behalf.


AMBARI-23808. Cannot turn off file cache update for Ambari Agent

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2218/
Test PASSed.


cleanup and repair of test_e2e.sh

cleaned up installation of bpf2go and j2, repaired printout of test results to work with new output from k8s e2e tests

/lgtm
/approve


Add Telegram Intregration

A new controller for Telegram
Updated HTML within ThirdParty/index.js
At least boiler code for test suites.

It does not look like Botkit currently supports Telegram. This may require further custom code for completion.

The third party element has been stripped out and seems to be working much better. Just need to create some tests as well as try all edge cases.


Reintroduce stack_size for MIMXRT1170 targets

858a5c25 changed target-gen so that it doesn't suggest a target's stack size. 858a5c25 also removed the stack_size parameter from existing targets. At the moment, the stack_size parameter is important for the MIMXRT1170 targets, and probe-rs can't program the target without it.
858a5c25 preserved the probe-rs paths that consider a target's stack size (see flashing/flash_algorithm.rs), so this commit re-introduces the value for a target I'm using. Even if we're not suggesting a target's stack size when we generate the definition, could we still keep the stack_size parameters for targets that need them?

Sizing the stack based on the available RAM works for me. Closing in favor of #2375.


Here's a new site I'd like you to consider blocking

Here's a new site I'd like you to consider blocking:
https://www.tiktok.com
(please include any other relevant details)

I just tried it out and it seems to be blocking comments okay on there. Is there a specific page you can share where it's not? Do you see any errors in the browser console?

Let me know if you have more information, and I'll look into it.


Use 2-space indentation consistently

Current code uses tabs and spaces mixed, so this PR fixes it.

I guess that must have been a mix up with the last PR or my own editor setup. Thanks!


Use mobile header for tablet view

Description
We need to have simular view for app header on mobile and tablet views
Use case/motivation
On tablet view users mostly working without side panels and it's really helpful to have new conversation button in header to reduce amount of clicks to create it
Related issues
No response
Confidential information

[X] I confirm that do not share any confidential information

The "New conversation" button was redesigned and added to tablet view.

currently, we do not have interface documentation for anything other than desktop resolution


Adding the Breeze agent to the node version

I am considering we should change the default agent from StratisBitcoin to be StratisNode.
Alternatively we can also enforce a certain structure in the agent name to stratis:[node-description]:version.
Then for the fullnode it will be stratis:fullnode:1.0.2 and for breeze it will be stratis:breeze:1.0.2
We could also put macros to for example for the version, Breeze has its own version this will allow to override version.

totah


[Selectable Components: Structured List] Update Component Overview Image

Acceptance criteria

Need to update the image on the Component > Overview page for Structured List to follow our new selectable design.
Current image below shows a checkmark icon when selected, but there should be a checked radio button when selected, and empty radio buttons on all other rows. The selectable controls should be on the left of the structured list.
Jeannie has the file for these images.

To do

[ ] Designer needs to create image
[ ] Dev needs to update on website

@laurenmrice I think this would just be replacing this .svg file - it might be feasible for a designer to do without the help of dev? Happy to help out either way though!


Not an issue, only an idea ;-)

Could you add configurable repair (%), after certain time (in sec or minutes), and a reduced stamina/food drain (%) ? Thank you, have a nice weekend. :-)

Both of your ideas already implemented at BetterWards by Azumatt.
https://valheim.thunderstore.io/package/Azumatt/BetterWards/
I don't want to duplicate the functionality besides "Protective" and basic ones :).
Although reduces stamina drain isn't implemented it's better be included in BetterWards than this mod so you better send the idea to Azumatt.

I have checked your another opened issue and consider to think about a little extension to functionality since BetterWards is indeed already bloated and we need something more lightweight.

@Florandoa I've made new 1.1.0 release for Hildir patch. I won't publish it until public stable Hildir release. But you can take it from release section here.


Irish customization available

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

#sign-off


Update Landing Page UI

Another update for landing page
Switch to  completely Icon based page instead of buttons

New and improved UI on release
Still need to make buttons floating
will create new issue and release this at a later date

Another UI Revamp has been planned.
A toolbar will be added and background changed. This will be for all pages and will end up affecting this UI most likely removing the icons


Some errors when using multi-gpus

Training is too slow, and I want using a 4xTian xp to speed up it.
when I set
opts.gpus=[1,2,3,4]
then I get some errors as:
`Warning: Function labindex has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name
conflict.

In path at 109
In addpath at 86
In cnn_train_dag at 11
In trainig_siameseFC at 97
In run_increasingData at 6
Warning: Function numlabs has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name
conflict.
In path at 109
In addpath at 86
In cnn_train_dag at 11
In trainig_siameseFC at 97
In run_increasingData at 6
Starting parallel pool (parpool) using the 'local' profile ... connected to 1 workers.
cnn_train_dag: resetting GPU
Lab 1:
ans =
Error using cnn_train_dag>(spmd) (line 492)
The parallel pool that SPMD was using has been shut down.

Error in cnn_train_dag>prepareGPUs (line 492)
spmd
Error in cnn_train_dag (line 92)
prepareGPUs(opts, epoch == start+1) ;
Error in trainig_siameseFC (line 97)
[net, stats] = cnn_train_dag(net, imdb, batch_fn, opts.train);
Error in run_increasingData (line 6)
trainig_siameseFC(imdb_data, 86);

The client lost connection to worker 1. This might be due to network problems, or the interactive communicating job might have
errored.
`

Sorry, we haven't tested support for training with multiple GPUs. These look like errors coming from matconvnet and/or the parallel toolbox.


Add button to open requirements.txt when in requirement selection QuickPick

Verification steps:

Open a folder in VS Code that contains a requirements.txt file.
Run the Python: Create environment command
Select venv
Select any python
You should see requirements.txt to select, and a button like this:


(Staging) V2: Update Copy for FOX asset page

Add this copy to the FOX asset page on V2:
"FOX is an ERC-20 token created by ShapeShift which serves as the governance token for the ShapeShift DAO, token holders can vote on proposals relating to the operation and treasury of the DAO. The token supports and provides utility for a borderless, cross-chain crypto trading platform and portfolio manager for user self-sovereignty.
As the ShapeShift ecosystem expands, users will be able to earn FOX tokens for activity that generates revenue for the DAO via affiliate partnerships (i.e. earning yield, buying/selling/trading crypto and nft's, buying swag or a y.at, etc.). The ShapeShift DAO earns revenues, and the user earns FOX tokens which can represent entitlement to those revenues.
The total capped supply of FOX is 1,000,001,337 tokens."

reached out to CoinGecko to see if they could update on their end 🙏

fixed upstream by coingecko. don't develop - delegate. thanks @willyogo


ply-core compatiblity with plutus haskell library version <IP_ADDRESS>

These were the changes I needed to do to make it compatible with mentioned dependency but other packages (besides ply-core) are broke as they depend upon plutarch which in turn depends upon older plutus version.

Never thought I'd see the day when Plutarch would be the one out of date. I suppose it is high time for an update there as well.
Is this new plutus version basically for use by the newest node?

I think I'll make a sideline branch and merge it there and make a tag out of it since it's not fully working until Plutarch gets an update

@TotallyNotChase

Is this new plutus version basically for use by the newest node?
The current node version 8.1.2, using plutus haskell library version 1.5 (^>= 1.5) under the hood. Later ones would be using >= 1.6.

Can you see if version 0.7.0 has the right dependencies for you?
see: #55

@TotallyNotChase Yup that works, thank you!


Ensure there are 2 options at least for a ballot

Should ensure there are at least 2 options, I believe another failure we saw was when attempting to create a ballot with only one option.

Fixed by #60


Update WeFactAPI.php

Underscore missing before the sendByEmail function. You cannot call that function otherwise.

Thanks! I missed that :).


Fixed typo (reques)

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

Correction confirmed. Thanks.


Internal proxies

The X-Accel-Redirect header support is useful as a way of injecting an authentication middleware into the request stack, but once authentication is complete, I would like to be able to redirect client requests to another backend api, not just to a local directory for serving files.
Could you consider adding support for X-Accel-Redirect into proxy routes and also supporting the internal keyword inside a proxy definition?

Let me defer to @mschoebel on this, as I don't have much (any) experience using the X-Accel suite of headers. If we do make a change, we should be careful not to duplicate much/any code, if possible...

The internal directive is not restricted to serving files. I just tried this ...
<IP_ADDRESS>:8000
internal /backend/protected_api
proxy /backend http://<IP_ADDRESS>:9000

package main

import (
    "fmt"
    "net/http"
)

func apiAuthenticationHandler(w http.ResponseWriter, r *http.Request) {
    w.Header().Set("X-Accel-Redirect", "/backend/protected_api")
    w.WriteHeader(http.StatusOK)

    fmt.Fprint(w, "This is ignored.")
}

func protectedApiHandler(w http.ResponseWriter, r *http.Request) {
    w.WriteHeader(http.StatusOK)

    fmt.Fprint(w, "Protected API result.")
}

func main() {
    http.HandleFunc("/backend/api_authentication", apiAuthenticationHandler)
    http.HandleFunc("/backend/protected_api", protectedApiHandler)

    http.ListenAndServe(":9000", nil)
}

... and it works like expected: accessing http://localhost:8000/backend/protected_api results in a 404 and http://localhost:8000/backend/api_authentication returns the "Protected API result.".
@bhilton Does this match your use case?

Yes, this is perfect, thank you! It wasn't clear to me that I could combine the internal keyword and the proxy keyword for the same path. Now that I see your example it makes sense and in my local testing it works exactly as desired.

Hurray - drinks all around! :tropical_drink:


Added branch with prices for Generation kWh

Closed in favor of https://github.com/hectorespert/som-energia-hass/pull/15


Create new admin/user#show view

We would like to be able to display admin/user view that will display user_object (deleted or active).
Things to be displayed on the page:

user

login
email
ip
bio

user assets
user comments

We could reuse the existing admin views partials on users / tracks / comments here as a first step.


Remove trailing whitespace from pie directory

Copy-paste seems to frequently add spaces to the end of pie directory which can be hard to detect. This helps me be lazier and may not benefit anyone else.

I like it but this would prevent typing spaces into the textfield unless your cursor is not at the end. I don't know of any directories using spaces but that should probably be checked, I'll do that this weekend

Oh, is this ran every time a character is entered? I probably should have checked for that. It does seem like they use a mix of snake and camel case, so it'd likely be fine, but yeah, that's not ideal.

So in summary I highly doubt anyone would run into an issue with this, I'll give it some final thought if maybe there is something different that could be done but I'll probably just merge this sometime in the coming days, thanks for the PR :)
@Mixin(ProfilerSystem.class)
public abstract class ProfilerSystemMixin {
    @Unique
    private final Set<String> WHITESPACE_LOCATIONS = new HashSet<>();

    @Shadow
    private String location;

    @Inject(
            method = "push(Ljava/lang/String;)V",
            at = @At("TAIL")
    )
    private void printProfilerLocationsWithSpaces(String location, CallbackInfo ci) {
        if (StringUtils.containsWhitespace(location) && WHITESPACE_LOCATIONS.add(this.location)) {
            StandardSettings.LOGGER.warn(this.location.replace('\u001e', '.'));
        }
    }
}


HTTP Request sampler displays default values in some fields

Expected behavior
Protocol and Content encoding fields in HTTP Request sampler should display empty value in GUI by default.

Actual behavior
When you add or display HTTP Request sampler then Protocol and Content encoding fields display a default value. Removing the values and saving the test plan causes displaying the default values again.
Steps to reproduce the problem
Add a new HTTP Request sampler to a test plan and check Protocol and Content encoding fields or open a test plan created in a previous version of JMeter where HTTP Request sampler had Protocol and Content encoding fields empty.
JMeter Version
5.6.1
Java Version
No response
OS Version
No response

Does it really bother you?
What problems does it bring?
By the way, the default value is not saved, so JMX is not getting larger, and default values do not exist in memory, so Java heap usage is not increased.

I saw that behavior, and after a bit of thought I concluded it is fine, and it makes it easier for the users to see what is the actual encoding.

It is very confusing especially along with HTTP Request Defaults, see following:

You see that HTTP Request overrides values in the HTTP Request Defaults but actually the HTTP Request executes with the values set in the HTTP Request Defaults because the HTTP Request displays just the default values. Basically you can't distinguish between default and overridden values.
BTW the same behaviour have HTTP Request Defaults config element but it is acceptable.

Just wondering what would you say about checkboxes?
For instance, open "HTTP Request Defaults", switch to "Advanced" tab, and try to guess if [ ] Save response as MD5 hash? would override the corresponding setting in HTTP request defaults or not.
What would you expect if you have [x] Save response as MD5 hash? for HTTP Request, and the same checkbox is unchecked for HTTP Request Defaults?

That's good question. You cannot distinguish between false and default state. I would leave the bevaviour as it was in version 5.5 and below for now. What about using a tri-state checkbox in a future version of JMeter (or completely get rid of checkboxes for such cases)? With states true, false, default/inherit.


ghost node error

.carto file to reproduce: ghost node (on 2016-10-31 at 17.02.56).carto.zip
STR

create a map with a point layer [A] + polygon layer [B]
add a distance AOI analysis to [A]

add an Intersection analysis to [B]. Select [A1] as Intersect layer

the layers panel should look like:

NOTE: Use the .carto attached to get directly to this point

Drag [A1] node out to get a different layer
The UI 'breaks' and we cannot do anything

Reload the page. The UI is lost, the map is not rendered and we cannot do anything else

We can see several errors in the console:

sourceId 'c1' doesn't exist

Error: Map instantiation failed(…)

Uncaught TypeError: Cannot read property 'queryGeometryModel' of undefined(…)

Happily fixed in https://github.com/CartoDB/cartodb/pull/10557/.

vamos! 💪


[da-vinci][server] Got rid of bounded memory queue for ingestion exceptions

Previously, StoreIngestionTask is using a memory-bounded queue to buffer
the ingestion exception, which is working fine for most of the scenarios,
but it could block StoreBufferService if the exception queue is full without
draining, and it happened when some StoreInestionTask is closed, but there
are still some pending messages in the drainer queue, which would throw a lot
of exceptions to stuck the SToreBufferService since the exception queue is full.
The fix is to use Map to store the last exception per partition, which would never block.
In the meantime, this code change also fixed a couple of flaky tests in StoreIngestionTaskTest.
Also this code change modified the way how to track the ingestion exception per partition:

Record the ingestion exception whenever there is an exception thrown.
Unsubscribe the errored partition to avoid the data gap issue or useless consumption.
Only cleanup the partition exception during rebalance.

How was this PR tested?
CI.

Does this PR introduce any user-facing changes?

[x] No. You can skip the rest of this section.
[ ] Yes. Make sure to explain your proposed changes and call out the behavior change.

Can we add a test simulating the stuck drainer queue?

I am going to write a unit test against setIngestionException, since an E2E test involving StoreBufferService is very tricky to build.


Muted doesn't work

Bug
I tried to use muted={true} on a video and I still have sound of the video on Android
Platform
Which player are you experiencing the problem on:

Android ExoPlayer
Android MediaPlayer

I don't know if I have ExoPlayer or no (I don't think so beacuse fullscreen doesn't work too)
Environment info

React native info output:
react: 16.9.0 => 16.9.0
react-native: 0.61.5 => 0.61.5
Library version: 4.4.5
Expected behaviour

No sound on the video

Reproducible sample code
<Video source={PrezVideo}   // Can be a URL or a local file.
ref={(ref) => {
this.playerAndroid = ref
}}
paused={false}
muted={true}
// onEnd={() => this.onEndAndroid()}                                // Store reference
// onBuffer={this.onBuffer}                // Callback when remote video is buffering
onError={(e) => this.videoError(e)} // Callback when video cannot be loaded
resizeMode="contain"
repeat={true}
// fullscreen={true}
style={this.getVideoStyle()}
/>

Closing as fixed in this PR https://github.com/react-native-community/react-native-video/pull/1699


Create set of resource YAML that can be used for testing

@bryanl commented on Wed Oct 03 2018

[x] Cron job
[x] daemon set
[x] deployment
[x] Job
[x] Replica set
[x] Replication controller
[x] Stateful set
[ ] Ingress
[x] Service
[ ] Config map
[x] PVC
[ ] Secret
[ ] Role
[ ] Role binding
[ ] Event?

I can help with this, if still needed.

@wsandin Sure! This would be very helpful

So if I understand correctly, we still need (Ingress|ConfigMap|Secret|Role|Role Binding|Event) and not the already ticked ones. Can you assign me this issue?

@wsandin yeah the already checked ones we have example YAML for, but it may be good to give them a review while we are adding the new ones.

hey @wsandin wanted to check-in and see where you were at with this?

Happy to help with this as well if needed

Looks like all of the objects listed have been covered now. Is there anything else needed?


added ultimate topics list for competitive programming

What does this PR do?
Add Resource
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
https://blog.shahjalalshohag.com/topic-list/
Description
The Ultimate Topic List(with Tutorials, Problems, and Templates). everything at once. it will surely help the programmer who are aimless in competitive programming
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

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

Follow-up

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

@davorpa can you plz add the hacktoberfest label in this pr ? it will be helpful for me

@davorpa can you plz add the hacktoberfest label in this pr ? it will be helpful for me

hacktoberfest-accepted is not needed since repo is tagged as hacktoberfest. It will count anyway :wink:


WSL2 http.Server not accessible from Windows11 [experimental] networkingMode=mirrored

Windows Version
Windows11
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-1
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
After creating a new vswitch with an IP address:
   IPv4 address. . .: <IP_ADDRESS>
   mask. . . . . . . . . : <IP_ADDRESS>

I can see the result in Windows side:
Carte Ethernet vEthernet (AAOS_networking) :

   Suffixe DNS propre à la connexion. . .
PS C:\Users\myUser> wget <IP_ADDRESS>:8000

StatusCode        : 200
StatusDescription : OK
Content           : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

                    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
                    <title>Directory listing fo...
RawContent        : HTTP/1.0 200 OK
                    Content-Length: 1459
                    Content-Type: text/html
                    Date: Fri, 17 Nov 2023 15:57:10 GMT
                    Last-Modified: Fri, 17 Nov 2023 09:57:16 GMT
                    Server: SimpleHTTP/0.6 Python/3.8.10

                    <!DOCTYPE HTM...
Forms             : {}
Headers           : {[Content-Length, 1459], [Content-Type, text/html], [Date, Fri, 17 Nov 2023 15:57:10 GMT], [Last-Modified, Fri, 17 Nov 2023 09:57:16 GMT]...}
Images            : {}
InputFields       : {}
Links<EMAIL_ADDRESS>innerText=.ansible/; outerHTML=.ansible/; outerText=.ansible/; tagName=A; href=.ansible/}, @{innerHTML=.bash_history; innerText=.bash_history; outerHTML=.bash_history; outerText=.bash_history; tagName=A; href=.bash_history}...}
ParsedHtml        : System.__ComObject
RawContentLength  : 1459

When I m starting my http.server on <IP_ADDRESS>:8000, I m able to make:
 wget <IP_ADDRESS>:8000
--2023-11-17 17:13:10--  http://<IP_ADDRESS>:8000/
Connecting to <IP_ADDRESS>:8000... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1459 (1.4K) [text/html]
Saving to: ‘index.html.19’

index.html.19                                        100%[===================================================================================================================>]   1.42K  --.-KB/s    in 0s

2023-11-17 17:13:10 (474 MB/s) - ‘index.html.19’ saved [1459/1459]

But not in Windows Side
Expected Behavior
I m expecting to acces the http.Server running on the vswitch internal address by sharing the same interface between Windows and WSL2 through mirror feature.
I tried both features, describe in https://github.com/microsoft/WSL/issues/10769
tried toggling the new experimental.firewall/wsl2.firewall, but it doesn't seem to make any difference.
and
Get WSL VM Id:
$ Get-NetFirewallHyperVVMCreator

VMCreatorId  : {40E0AC32-46A5-438A-A0B2-2B479E8F2E90}
FriendlyName : WSL
Disable Firewall (from an elevated/admin Terminal):
$ Set-NetFirewallHyperVVMSetting -Name '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}' -Enabled False

Actual Behavior
For now, I got an error:
PS C:\Users\myUser> wget <IP_ADDRESS>:8000
wget : The underlying connection was closed: An unexpected error occurred on a receive.
Au caractère Ligne:1 : 1
+ wget <IP_ADDRESS>:8000
+ ~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation : (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest],WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Diagnostic Logs
No response

Hi, you run it in Windows Insiders canary and Release Preview Channel?

Does it require an insider channel build now that we already have 23H2 in stable?
On my computer with the latest stable Windows, all WSL 2 2.0.x (including networkingMode=mirrored) features seem to work.

my .wslconfig:
[wsl2]
memory=8G
swap=4G
networkingMode=mirrored
autoProxy=true
dnsTunneling=true
[experimental]
firewall=false
autoMemoryReclaim=gradual

another machine(my phone) can visit wsl2 http.server while win11 can not call wsl2 http.server(by ip).

Hi, you run it in Windows Insiders canary and Release Preview Channel?

Hi @zhaoqiu-china  yes I m running with

Hi @tusharsnx ,
What do you mean by it works? I perhaps wrong with my test but I hope to use the my interface as desccribed on top. But not sure about that. I created my interface on windows side. I m running a http.server on wsl2 side on this inerface and I tried to get from windows. Can you execute this case?

I added all options:
networkingMode=mirrored
hostAddressLoopback=true
dnsTunneling=true
firewall=true

Starting my http.server in wsl2 with
vswitch : <IP_ADDRESS> => Working (wget from windows StatusCode        : 200)
SwitchName <IP_ADDRESS> =>Working (wget from windows StatusCode        : 200)
The one I created <IP_ADDRESS>=>Not Working (curl : The underlying connection was closed: An unexpected error occurred on a receive.)


Add chart plugin

My submission for the snapshot plugin bounty. There's a Youtube video to demo this plugin: https://youtu.be/Ax_68hQMs6U
I'm also submitting another pull request to the other repository with the plugin class.
Dependencies installed:

chart.js

This submission delivers 3 charts to visualize the votes in a proposal:

Total votes per day - shows the total amount of votes added in a particular day
Share of voting power - how much voting power each address added, sorted in descending order in a pier chart.
Total voting power throughout time for each option

It also includes strings for English and Spanish, but for the other languages it uses English.

The demo video explains how each of these can be useful and helps you visualize them.
A few caveats:

This may not work right away since I hardcoded (but didn't commit) the plugin class to this repository to test. The version I'm submitting relies on my other pull request being accepted and deployed on npm.
In the thanku.eth space (which I used to test), the page may break since two people were working on a plugin that doesn't exist in the snapshot.js list but exists in the database (once saved) . I added a check while I was testing but didn't think it was necessary to commit that as well. This is what I'm referring to.
I am not a Vue developer, I've only used it once besides now. Tried my best to keep it clean but my thinking process comes from React.

Hopefully people find this useful :) Thanks for the opportunity.

@Zerquix18 can you add me to your repo, I'd like to add some fixes.
Also I'm not seeing the charts in my proposal when testing locally. This is what I see:

These are my settings:

@samuveth Added you to the repo.
Can you share the link of your test proposal so I can see the error?

@samuveth Added you to the repo.
Can you share the link of your test proposal so I can see the error?

Hey sorry I was busy with some other things. I will give this another try today

Hi thanks for your contribution.  This is something that will be used only on space that enabled the plugin it's better if this dont get loaded for all users but only when needed.

Hi @bonustrack  thanks for the feedback. I added an update and now chart.js package will be loaded after the component is mounted.
With regards to @samuveth 's issue, I realized the settings have enabled while the code checked for enable. I think that's a typo in my part so now the code will check for enabled. I'm not sure if this is the best way to structure the settings. Let me know what you think.
I added the plugin to the thanku.eth space which I'm using to test, so it should be visible in the proposals there.
Locally, I'm adding this code:
export default class Plugin {
  public author = 'zerquix18';
  public version = '0.1.0';
  public name = 'Charts';
}

// @ts-ignore
plugins.charts = Plugin;

to useSearchFilters.ts since the plugin is not on the other repo yet.
Let me know if you encounter any other issue :)

Hey @Zerquix18 I made a pull request on your branch with some changes.

Otherwise it works well for me! Great work!

@samuveth  Tested on my computer and it works great. Thanks for reviewing!

@Zerquix18 can you make the charts more compact, like bonustrack mentioned already?

@Zerquix18 the top and bottom padding are too big on the 2nd chart, see below:

Also can you make the chart title to be link-color?

@samuveth @bonustrack
Now it's separated into tabs & reduced the size of the 2nd chart.

@Zerquix18 can you resolve the conflicts?

@Zerquix18 sorry happened again..

Hey sorry last suggestions:
1: Title of the tab is not correct (duplicate of the first tab), could you fix it?

2: Could you remove the title in the charts, we can see the title in the tab already I dont think we need to repeat it, i see it overlap sometime like this

^ @Zerquix18

@Zerquix18 would be great if you could finish off this PR. If you don't have time please let us know


Makefile: make a few small fixes & refactor

This PR makes the following changes to the Makefile:

removes trailing whitespace & unneeded tabs
use the PKG_DIRS variable to pass arguments to the targets invoked by checks; fixes weird behavior
moves the shell completion installation to its own target & uses it where it makes sense (in the container based builds and in the vagrant VMs) to not require sudo when running make run-build
~makes the all-CI target run the checks and attempt to compile before spinning up VMs~ removed

@jojimt: Could you let me know what changes you'd like me to make to this PR, please?

I've reverted the changes made to the CI target. The other changes are needed for other improvements and other work.
@jojimt: PTAL


How can I test the face detection program on Xcode?

Hi , I am a new xcode developer, now I am trying to build a face counting program on ios.
I saw your code on github and tried to run it , but the error appeared "Can not record", I guess that is because the program can not get access to the camera in the iphone simulator, is there any solution to this ?

iphone simulator does not have a camera

As @tharak pointed out, there is no camera on the simulator, so this needs to be run on a device. (Thanks @tharak!)
If you're interested in detecting faces from images not taken from a camera, I'd suggest reviewing the code and seeing how to feed 'CIImage' objects in to the face detector. 😊


How to send (screen sharing stream) with SIPJS 14 ?

hello
i wrote post on google forums , but no answer yet , so im hoping that i can find one here pls
and here is the link to google question
My question on google forums
I'm using SIPJS to make calls between 2 callers using web browser.
Now i want to add (Screen sharing) feature , so far i managed to open chrome screen sharing window and i get the stream and played it in video element.
But what i really need is to send this stream to the other caller so he can see my screen sharing.
What I've tried so far:

After i get the (screen sharing stream) i pass it to session.sessionDescriptionHandler.peerConnection , and then catch the stream (or track) using these events onTrackAdded , onaddTrack , onaddStream , onstream
But none of there events get anything.
Also tried to send the stream with video constraint before the call start

video: {
mandatory: {
chromeMediaSource: 'desktop',
// chromeMediaSourceId: event.data.sourceId,
maxWidth: window.screen.width > 1920 ? window.screen.width : 1920,
maxHeight: window.screen.height > 1080 ? window.screen.height : 1080
},
optional: []
}

Even tried to send the stream with video constraint

navigator.mediaDevices.getDisplayMedia(constraints)
    .then(function(stream) {
      //We've got media stream
      console.log("----------then triggered-------------");
      var options = {
            sessionDescriptionHandlerOptions: {
              constraints: {
                  audio: true,
                  video: stream
              }
            }
          }
        pub_session = userAgent.invite(reciver_name,options);
    })
    .catch(function(error) {
      console.log("----------catch-------------");
      console.log(error);
    });

also didn't work.
Here is my Code
First get the screen sharing stream and send it to the other user
// Get screen sharing and send it.
 navigator.mediaDevices.getDisplayMedia(constraints)
    .then(function(stream) {
      //We've got media stream
      console.log("----------then triggered-------------");
      var pc = session.sessionDescriptionHandler.peerConnection;
      stream.getTracks().forEach(function(track) {
        pc.addTrack(track, stream);
      });
    })
    .catch(function(error) {
      console.log("----------catch-------------");
      console.log(error);
    });

Then catch that stream at the other side
// Reciving stream or track
userAgent.on('invite', function (session) {
    session.on('trackAdded', function() {
        console.log('-------------trackAdded triggered--------------');
      });

      session.on('addTrack', function (track) {
        console.log('-------------addTrack triggered--------------');
      });

      session.on('addStream', function (stream) {
        console.log('-------------addStream triggered--------------');
      });

      session.on('stream', function (stream) {
        console.log('-------------stream triggered--------------');
      });
});

But still get nothing from that code above
So how can i pass that stream or track to the other caller after the call starts ?
thank you so much

Instead of hacking into the session description handler, I recommend making your own custom session description handler. That should make it very straightforward to see what is going on. You can likely just copy/paste the default one, then make a few changes to at least test that it would work.


jax.distributed.initialize: specify bind address.

By default the coordinator process now listens on all interfaces.
Previously, the default behaviour was to bind to the same address that all distributed nodes were connecting to.
This caused problems on systems with multiple network interfaces, as incoming connections to the coordinator could arrive on interfaces that the coordinator was not listening to.
cc: @hawkinsp

Note the mypy failure in CI.


JTReg test fail - Windows : sun/net/www/protocol/file/DirPermissionDenied.java

Test https://github.com/ibmruntimes/openj9-openjdk-jdk11/blob/openj9/test/jdk/sun/net/www/protocol/file/DirPermissionDenied.java consistently fails on Windows with ...
"TEST RESULT: Error. failed to clean up files after test"
Examples ...
https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/664/testReport/junit/sun_net_www_protocol_file_DirPermissionDenied/java/DirPermissionDenied
https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/665/testReport/junit/sun_net_www_protocol_file_DirPermissionDenied/java/DirPermissionDenied
https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/666/testReport/junit/sun_net_www_protocol_file_DirPermissionDenied/java/DirPermissionDenied
No such problem is observed running against other platforms e.g. ...
Linux x86_64 - https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/682/console
Linux PPC64 - https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/667/testReport/junit/sun_net_www_protocol_file_DirPermissionDenied/java/DirPermissionDenied
MacOS - https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/670/testReport/sun_net_www_protocol_file_DirPermissionDenied/java/DirPermissionDenied

I think dup of #749

Test is excluded in openj9, will also exclude in HS.

Closing this as there is an existing issue covering it and want to clean up the issue list.


Generate bindings with sequential layout instead of fixed

I want to use the generated C# bindings with both 32bit and 64bit dlls.
The problems is that the generated structures look like this:
[StructLayout(LayoutKind.Explicit, Size = ....)] and the pointers are all 8 bytes aligned,
making the generated structures 64 bit only.
Is there any option of changing the layout type to Sequencial and remove the FieldOffset attributes from the structure fields? This would be enough to make the points be 4 bytes for 32bit dlls.

@ha11owed we considered unifying 32 and 64-bit bindings long ago. The problem is that having universal internal structures wouldn't be enough. ABI-s differ between 32 and 64 as well which would force each function to have two internal versions and check the current architecture on each call in order to know which internal function to call. This effectively means significantly increasing the size of resulting bindings. Therefore there would be little gain in switching to sequential layouts which we have considered doing by itself too. It is difficult to get right in all cases because of packing and the risk is just not worth it considering that, as I said, it would be unreasonable to merge 32/64 bindings anyway.
Having said that, in case your binding has some specifics which enforce such a requirement, we'd be ahppy to hear about them.

@ddobrev In my case i only have C exports. This means there is no need to have two different functions (even the name mangling is the same on both of my dlls).
Actually I just did a manual replace of the LayoutKind in the StructureLayout attribute and removed the FieldOffset attributes and got an version that works with both my 32bit and 64bit dll.
I suppose the only issue is that Marshal.AllocHGlobal still uses the fixed size of the 64bit structures instead of Marshal.SizeOf(typeof(myType.__Internal)). But in my particular case this is not an issue.

@ha11owed I am afraid this is something which cannot be done with passes. However, I'll discuss with @tritao the possibility of switching to sequential layouts after all, this way C bindings would get what you want for free.

@ha11owed @tritao and I discussed this and we could add it, possibly optional. However, we are both too busy with much other work, both features and bugs. So I would like to ask you to help with this effort, it would actually cost you less than writing our own custom pass. To begin with, could you please send us a pull request replacing the hard-coded number of bytes used by Marshal.AllocHGlobal with Marshal.SizeOf(typeof(myType.__Internal)), as you suggested?

@ddobrev Ok, I will do the changes and send a pull request

Fixed by https://github.com/mono/CppSharp/commit/66bbc388e16368781a6bfe4c79893781501a5357, https://github.com/mono/CppSharp/commit/6e42ef36a68ed81c1371db6303d74e82438033d0, https://github.com/mono/CppSharp/commit/73321c2e10267bf8bc1853980412477262325848 and https://github.com/mono/CppSharp/commit/ab32637e14f9e5c674588066e51747b25d489512.


Boundary Conditions as Collage-Decapodes

Closes #144
With @p-stokes , this branch will encode boundary conditions and initial conditions as morphisms between Decapode diagrams.
One Decapode represents the physical equations, and the other represents values to set along boundaries.
TODO:

[ ] Add docs page
[x] Pass simple masking test with a discrete boundary Decapode
[x] Initial conditions

~Pass masking test where a Var in the discrete Decapode is computed from other vars in that Decapode.~

This feature is "extra", and so lies out of the scope of this PR.

I have marked this PR as "ready for review" since the source code and tests are complete (up to passing the review stage). So, the code and tests themselves are ready to review as I concurrently write the docs and example scripts to accompany this new feature set.
@jpfairbanks @p-stokes

Sadly this didn't get merged before the component-arraypocalypse. so it needs to be brought up to date (@lukem12345). There are also merge conflicts now.

Disadvantage to not using findnode as a thin wrapper around getfield, but such is git.

What are your thoughts on the docs page. Good enough for merge? The accompanying demo is the so-called brusselator_bounded.jl example. @jpfairbanks

DiagrammaticEquations.jl has the collage source and test code now, so this PR is closed by that repo!


Enable GitHub Action testing on Darwin and Windows

See https://github.com/senzing-garage/sz-sdk-go-core/issues/240
Re-enable .github/workflows/go-test-darwn.yaml after the following issue is resolved:
https://github.com/docker-practice/actions-setup-docker/issues/38

Pull request:

https://github.com/senzing-garage/go-sdk-abstract-factory/pull/208


Private Key size invalid

Hello, I'm working on a project that needs to generate keys, then sign a message and verify a message. The function signatures are below:
{publicKey, privateKey} keygen()
string signMessage(string message, string privateKey)
bool verifyMessage(string message, string signature, string publicKey)
When I use @helium/crypto to generate the key pair I get the privateKey.length = 64, and publicKey.length = 32. However, when I try to recreate the keypair object using FromEntropy, I would expect to pass the private key, but I need to pass a 32 byte string array.
Where is this seed generated? Is there a missing method to collect this or some other way to derive the seed from the private key? Thanks!

hey @sawyerru. You can see how fromEntropy is used in this test case:
https://github.com/helium/helium-js/blob/master/packages/crypto/src/__tests__/Keypair.spec.ts#L49
Its intended use case is, given 32 bytes of entropy, that entropy can be stored in a database and used to recreate a keypair.
You can generate the entropy any way you like, but we include a utility method that uses the same libsodium library to generate those bytes and format them correctly:
import { Keypair, utils } from '@helium/crypto'

const keypairEntropy = await utils.randomBytes(32)
const keypair = await Keypair.fromEntropy(keypairEntropy)

This feature is probably under documented, but always happy to accept documentation PRs :)


The file changes if select "Don't upload" when saving it

OS: Win 10
Build: 20220803.1
Regression: Not a regression
Repro Steps:

Expand a web app -> Expand the "Files" node -> Open the hostingstart.html file -> Edit the file and make changes -> Ctrl + S -> Select "Don't upload" -> Close the file -> Reopen this file.
Check whether the file doesn't change.

Expect:
The file doesn't change.
Actual:
The file changes.
More Info:

If click circle icon to close the file and select "Don't save", the file doesn't change after reopening it.
Refresh can fix this issue.

This is happening because while the file isn't getting uploaded, it is being saved locally.  We don't re-poll the data every time we open the file, so we probably just save the contents directly to the tree node.
The refresh is fixing it because it is recreating the files node from data it is getting from Azure, so it is reverted back to what it originally was.
This bug seems pretty edge-case and low-risk unlikely to happen to most users so I'll close this as wontfix unless we have customer feedback indicating that we should resolve this issue.


Is there a way to disable animations altogether?

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[x] support request/question

Current behavior
Component uses animations for tag entry, exit, etc. I'm wondering if there's a way to disable those.

not at this time, sorry

If I were to make a PR, do you have any pointers for where I should start? Is it even possible at all?

@sylvaingi,
while I was implementing it and was looking for the same exact thing (e.g. an @input property to enable it optionally), but I do not thing Angular makes it possible at this moment.

Well that's a bummer. Thanks anyway 👍

@sylvaingi,
Out of curiosity, is it a requirement to remove the animations or do you just not like them at all? :)

If you were to fork it is just going to be a bunch of lines to be removed anyway

Well, I have a settings page with many tags-input that can hold a lot tags, and whenever I refresh the backing data, I lose the scroll position because of the animation. It's also quite distracting with that many elements.

It's entierely possible I am not using the component the way it was designed though.

I see - thanks!

Not quite sure when exactly it was added, but It looks like now it's possible to control animations disabled state by defining<EMAIL_ADDRESS>binding on <tag-input> component https://angular.io/api/animations/trigger#disabling-animations


Deliver: Could not find option 'version' in the list of available options

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
The issue is pretty straight forward I'm having issues executing the deliver command in my fastlane file.
It's telling me that there's no option for 'version', but I'm not even using version. I've followed the migration guide and as you can see I'm not using any deprecated methods of deliver. Fastlane is on the latest version as well as the deliver module.
Any help would be appreciated. 😄
Complete output when running fastlane, including the stack trace and command used
[06:17:08]: ---------------------------
[06:17:08]: --- Step: opt_out_usage ---
[06:17:08]: ---------------------------
[06:17:08]: Disabled upload of used actions
[06:17:08]: -------------------------------------------------
[06:17:08]: --- Step: Verifying required fastlane version ---
[06:17:08]: -------------------------------------------------
[06:17:08]: fastlane version valid
[06:17:08]: ------------------------------
[06:17:08]: --- Step: default_platform ---
[06:17:08]: ------------------------------
[06:17:08]: Driving the lane 'ios SubmitAppUpdate' 🚀
[06:17:08]: ------------------------------------------
[06:17:08]: --- Step: Switch to ios updateApp lane ---
[06:17:08]: ------------------------------------------
[06:17:08]: Cruising over to lane 'ios updateApp' 🚖
[06:17:08]: ---------------------
[06:17:08]: --- Step: deliver ---
[06:17:08]: ---------------------
[06:17:09]: Variable Dump:
[06:17:09]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios SubmitAppUpdate"}
[06:17:09]: Could not find option 'version' in the list of available options: username, app_identifier, app, ipa, pkg, metadata_path, screenshots_path, skip_binary_upload, skip_screenshots, app_version, skip_metadata, force, submit_for_review, automatic_release, price_tier, build_number, app_rating_config_path, submission_information, team_id, team_name, dev_portal_team_id, itc_provider, app_icon, apple_watch_app_icon, copyright, primary_category, secondary_category, primary_first_sub_category, primary_second_sub_category, secondary_first_sub_category, secondary_second_sub_category, app_review_information, description, name, keywords, release_notes, privacy_url, support_url, marketing_url

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | opt_out_usage                       | 0           |
| 2    | Verifying required fastlane version | 0           |
| 3    | default_platform                    | 0           |
| 4    | Switch to ios updateApp lane        | 0           |
| 5    | deliver                             | 1           |
+------+-------------------------------------+-------------+

[06:17:09]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...

[06:17:10]: Error finding relevant GitHub issues: undefined method `map' for nil:NilClass

[!] Could not find option 'version' in the list of available options: username, app_identifier, app, ipa, pkg, metadata_path, screenshots_path, skip_binary_upload, skip_screenshots, app_version, skip_metadata, force, submit_for_review, automatic_release, price_tier, build_number, app_rating_config_path, submission_information, team_id, team_name, dev_portal_team_id, itc_provider, app_icon, apple_watch_app_icon, copyright, primary_category, secondary_category, primary_first_sub_category, primary_second_sub_category, secondary_first_sub_category, secondary_second_sub_category, app_review_information, description, name, keywords, release_notes, privacy_url, support_url, marketing_url

Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
private_lane :updateApp do |options|
  	deliver(
		username: ENV["DELIVER_USER"],
		app_identifier: ENV["APP_IDENTIFIER"],
		app: ENV["DELIVER_APP_ID"],
		skip_screenshots: true,
		skip_metadata: true,
		release_notes: ENV["RELEASE_NOTES"],
		ipa: ENV["IPA_PATH"],
		submit_for_review: true,
		automatic_release: true,
		app_version: ENV["APP_VERSION"]
  	)
  end

lane :SubmitAppUpdate do
  	# Push app update to the app store.
  	updateApp()
  end

Environment
fastlane version (run fastlane -v): 1.97.2
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)? No
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)? No

@KrauseFx Can you please help me out here, this is currently holding us back on moving to production using fastlane.
Thanks :smiley:

@Darkreaper101 Thanks for reaching out.  If you set force: true does the issue persist?
Thanks!

@TKBurner I've set the force to true and it's still occurring, the odd thing is it's submitting some of the times and sometimes it give me the exception mentioned in OP.

@Darkreaper101 at least for us, this error was caused by defining version in our fastlane Deliverfile
commenting out or deleting that definition resolved this error in our case

@ILI4S Thanks for responding, but I'm not even using a Deliverfile I'm working straight from the Fastfile and defining all the required properties in the Fastfile.

@Darkreaper101  Did you run deliver init on the project to get started? Thanks!

I am experiencing this same issue.  Please help or give and update @TKBurner
private_lane :updateApp do |options|
deliver(
username: ENV["DELIVER_USER"],
app_identifier: ENV["APP_IDENTIFIER"],
app: ENV["DELIVER_APP_ID"],
skip_screenshots: true,
skip_metadata: true,
force: true,
release_notes: ({
'en-US' => ENV["APP_VERSION"] + " - " + ENV["RELEASE_NOTES"],
}),
ipa: ENV["IPA_PATH"] + "{{AppName}}.ipa",
submit_for_review: true,
automatic_release: true
)
end
My setup:

Running deliver through a fastfile
I have updated to lastest fastlane (sudo gem update fastlane)
Error message:

[!] Could not find option 'version' in the list of available options: username, app_identifier, app, ipa, pkg, metadata_path, screenshots_path, skip_binary_upload, skip_screenshots, app_version, skip_metadata, force, submit_for_review, automatic_release, price_tier, build_number, app_rating_config_path, submission_information, team_id, team_name, dev_portal_team_id, itc_provider, app_icon, apple_watch_app_icon, copyright, primary_category, secondary_category, primary_first_sub_category, primary_second_sub_category, secondary_first_sub_category, secondary_second_sub_category, app_review_information, description, name, keywords, release_notes, privacy_url, support_url, marketing_url
Executing lane SubmitAppUpdate For: MYOLOGY

[08:40:25]: ---------------------------
[08:40:25]: --- Step: opt_out_usage ---
[08:40:25]: ---------------------------
[08:40:25]: Disabled upload of used actions
[08:40:25]: -------------------------------------------------
[08:40:25]: --- Step: Verifying required fastlane version ---
[08:40:25]: -------------------------------------------------
[08:40:25]: fastlane version valid
[08:40:25]: Driving the lane 'ios SubmitAppUpdate' 🚀
[08:40:25]: ------------------------------------------
[08:40:25]: --- Step: Switch to ios updateApp lane ---
[08:40:25]: ------------------------------------------
[08:40:25]: Cruising over to lane 'ios updateApp' 🚖
[08:40:25]: ---------------------
[08:40:25]: --- Step: deliver ---
[08:40:25]: ---------------------
[08:40:26]: Variable Dump:
[08:40:26]: {:PLATFORM_NAME=>:ios, :LANE_NAME=>"ios SubmitAppUpdate"}
[08:40:26]: Could not find option 'version' in the list of available options: username, app_identifier, app, ipa, pkg, metadata_path, screenshots_path, skip_binary_upload, skip_screenshots, app_version, skip_metadata, force, submit_for_review, automatic_release, price_tier, build_number, app_rating_config_path, submission_information, team_id, team_name, dev_portal_team_id, itc_provider, app_icon, apple_watch_app_icon, copyright, primary_category, secondary_category, primary_first_sub_category, primary_second_sub_category, secondary_first_sub_category, secondary_second_sub_category, app_review_information, description, name, keywords, release_notes, privacy_url, support_url, marketing_url
+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | opt_out_usage                       | 0           |
| 2    | Verifying required fastlane version | 0           |
| 3    | Switch to ios updateApp lane        | 0           |
| 4    | deliver                             | 0           |
+------+-------------------------------------+-------------+
[08:40:26]: fastlane finished with errors

@Devnovaz Can you provide your deliver file, your fastfile and your full input and output including the table with the summary of input values? Thanks!


Usertype method bind fail, if it takes reference to primitive type as argument.

It seems that Sol2 don't like primitive type' references as usertype method arguments. Following sample of code:
#define SOL_SAFE_USERTYPE 1
#define SOL_SAFE_REFERENCES 1
#define SOL_CHECK_ARGUMENTS 1
#define SOL_PRINT_ERRORS 1
#define SOL_SAFE_FUNCTION 1
#define SOL_SAFE_FUNCTION_CALL 1
#define SOL_SAFE_GETTER 1
#define SOL_EXCEPTIONS_SAFE_PROPAGATION 1
#include "sol.hpp"
int f1(int a) {
    return a + 1;
}
void f2(int &a) {
    a ++;
}
struct Type {
    int f1(int a) {
        return a + 1;
    }
    void f2(int &a) {
        a ++;
    }
};
int main() {
    sol::state lua;
    lua.set(f1);
    lua.set(f2);
    lua.new_usertype<Type>("Type", "f1", &Type::f1, "f2", &Type::f2);
    return 0;
}
generates (via g++ -llua ref.cpp) following error:

(...) ref.cpp:37:68:   required from here
sol.hpp:12721:20: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
return (mem.*fx)(std::forward(args)...);
~^~~~~~~~~~~~~~~~~~~~~
sol.hpp:12721:48: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
return (mem.*fx)(std::forward(args)...);

I'm making binding for external library, so I can't just rewrite a method to be bound. I'm not very familiar with modern templating. Maybe there's a reason for such a behaviour. Please, give me any advise, if possible.

Non-const references of primitives types cannot be bound, because there is no way to properly feed that information back out of Lua. Lua has no references for primitive types: create a wrapper around the function to have the desired effect of changing the variable, and then returning it + any results you need.


GH-174: Remove redundant KafkaProdMH.Attributes

Resolves spring-projects/spring-integration-kafka#174
Since Spring Integration 4.3.12 all the ErrorMessageStrategy
implementation are able to deal with null for the AttributeAccessor

Do not merge until SI-4.3.12 makes it into the libs-release.

Needs rebase.

Rebase for what? This is 2.3.x fix

Doh... Sorry.


SEO: Site Map

Include link in footer
Show all resources
Group by resource type and keyword

Part of #970

This has been implemented and merged. Closing.


windows: use ENV & SHGetFolderPathW for APPDATA/LOCALAPPDATA

It was pointed out here that etcetera simply concats the default location for Roaming & Local AppData instead of consulting the system.
Based on it, I've changed the behavior to the following:

Check if APPDATA & LOCALAPPDATA environment variables are defined & use them.
This is what Go does.
(On Windows) use SHGetFolderPathW API (similar to how it is used in the home crate) to get these locations.
This is what the dirs crate does.
Finally, if the above yield None, only then fallback to the default locations.
This is what we do right now

This does add a new dependency, but it is already used by the home crate so it doesn't actually increase the crate size.

I've tested this on my Windows machine & the tests are passing there too. Let me just test a couple of more things, & then I'll merge this.
The unsafe code is directly borrowed from the home crate, so I'm a bit confident about it.


Add daisy wf and replacement mechanism to invoke preloading scripts

This PR does the following:

Checks in a daisy workflow that is responsible for invoking replacepackage.sh.
Checks in replacepackage.sh: a script that preps the preloading scripts and invokes them with the right parameters.
Modifies 'dev_cloudbuild.yaml' to accurately work with the gcp-guest project by 1) updating the gcs-bucket field to ensure that it is visible by the destination project (the project, gcp-guest, that will contain the resulting image) and 2) adding comments for readability.

The action items here are:

To include the service account that will run the daisy workflow in the scopes of VM in install_package_cos.wf.json (@zmarano might have more insight).
Enable gcp-guest with cloudbuild if that is not already done.

CCing @dorileo to the PR

/ok-to-test


AQAvit meeting: May 31, 2023

Join Zoom Meeting link
Meeting ID: 865 6128 4227
Passcode: 045388
This meeting is part of the public Adoptium community calendar, if you wish to import the calendar use this link
Proposed Agenda:

Demo of running TRSS with Docker compose (issue link)- @llxia
AOB

Meeting recording link (demo of TRSS setup with Docker compose)


Move spack-stack repos into spack submodule, use two-level namespace for openmpi and mpich, add package py-pyhdf, use only one macOS reference config

Description
This PR has once again grown bigger than intended ... it:

Finalizes the move of the spack-stack repos into the spack submodule

This requires adding the projections/name translations for ecmwf-atlas to atlas in the common module config

Enables use of two-level namespace for openmpi and mpich (the former required making changes to the package config in spack, for the latter this was already implemented)

Also need to export OMPI_MCA_rmaps_base_oversubscribe=1 in the openmpi module so that one can use more tasks than CPU cores (for unit testing)

Fixes several problems with CI builds on Linux and macOS
Adds the existing hdf and new py-pyhdf packages

Requires setting the default provider for jpeg to libjpeg-turbo (already part of our spack-stack)

Updates one of the macOS reference configs to macos-monterey-apple-clang-openmpi-reference (use apple-clang instead of (llvm) clang) and removes the macOS reference config for easier maintenance

This reference config now builds openmpi-4.1.3 built by spack with two-level namespace enabled
Note that I tested the same config with mpich-3.4.2 built by spack with two-level namespace enabled

Adds the capability to create containers with spack, all built into the existing scripts

create-env.py is renamed to create.py environment ... for creating local environments; Github unfortunately doesn't see this and thinks it is a new file and the old one got deleted (use a graphical diff tool locally to compare)
Containers are built using create.py container ...
One example is added: configs/containers/docker-ubuntu-gcc-openmpi.yaml

Comments out git-lfs in the common package config, because it isn't needed (we don't build git-lfs but require it due to the dependencies on go/go-bootstrap, which are difficult to build) and having it in there breaks the container builds
Updates and consolidates the documentation in README.md, config/sites/README.md and config/common/README.md into a single (top-level) `README.md

Note: In my next PR, I will add the capability to create HTML (and possibly LaTeX/PDF) documentation using sphinx

Note. This PR is

waiting on https://github.com/NOAA-EMC/spack/pull/58
updates the submodule pointer to include the changes from the previously merged PR https://github.com/NOAA-EMC/spack/pull/57 (Move spack-stack repos into Spack builtin)

Testing

[ ] CI tests all pass - see https://github.com/climbfuji/spack-stack/actions (Note: currently some still running, but they all passed yesterday)
[ ] macOS Monterey with<EMAIL_ADDRESS>and openmpi-4.1.3 built by spack for several applications (including full ctests for the fv3-jedi bundle)
[ ] macOS Monterey with<EMAIL_ADDRESS>and mpich-3.4.2 built by spack for several applications (including full ctests for the fv3-jedi bundle)
[ ] Container build of docker-ubuntu-gcc-openmpi config on macOS

This looks great.

Comments out git-lfs in the common package config, because it isn't needed (we don't build git-lfs but require it due to the dependencies on go/go-bootstrap, which are difficult to build) and having it in there breaks the container builds

JediBaseEnv has a dependency on git-lfs. Are you saying that it shouldn't have that?

This looks great.

Comments out git-lfs in the common package config, because it isn't needed (we don't build git-lfs but require it due to the dependencies on go/go-bootstrap, which are difficult to build) and having it in there breaks the container builds

JediBaseEnv has a dependency on git-lfs. Are you saying that it shouldn't have that?

Thanks for looking at this PR! Ready for "review" soon.
JediBaseEnv does have a dependency on git-lfs, yes, but we can't pin a version in packages.yaml (or have any entry in there), because of the way we piece together configs/common/packages.yaml and the docker config (config/container/*). It doesn't allow having two entries in the packages section (spack containerize ignores one of the two, which in the current order means the one from the container config).
We could fix that by stripping out the packages: section identifier and combine the common packages with the container packages in a different order, in which case the containerize command will ignore the entry in the common packages, i.e. it won't make a difference at all. Same for all regular sites, because we install it as an external package (go and go-bootstrap are really tricky to build).

@srherbener @mer-a-o FYI

@kgerheiser Submodule pointer updated, .gitmodules reverted - ready for review and merging, if ok.


Translated from rus to ua

What does this PR do?
Translated to Ukrainian
This PR was created within Hacktoberfest. thank you
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

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

Follow-up

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

Thanks, and welcome to free-programming-books!


Fix: add optional --schema_location argument to check_model_parents_schema

I'm proposing a small change to the check_model_parents_schema check to fix an issue with the parsing of the parent models' schema.
Current state
When this check is run, it parses the schema from nodes → schema, which is prefixed by an individual's configuration in profiles.yml – for example:
For a BigQuery-based profile:
[project_name]:
  outputs:
    dev:
      dataset: [dev_dataset_name]
...

For a Snowflake-based profile:
[project_name]:
  outputs:
    dev:
      ...
      schema: [dev_dataset_name]
...

In manifest.json, for any given model, nodes → schema inherits the individual's [dev_dataset_name] and prefixes it in front of the "true" schema name, which itself comes from dbt_project.yml, e.g. for a "dim" folder in an example repo:
models:
  [project_name]:
    +materialized: view
    ...
    dim:
      +materialized: table
      +schema: dim_schema_name

This then causes the check to fail if we set the args as:
- id: check-model-parents-schema
    args: ["--manifest", "analytics/target/manifest.json", "--whitelist", "dim_schema_name", "--"]

Because the schema is parsed from nodes → schema as dev_dim_schema_name rather than dim_schema_name (which is found in nodes → config → schema), the check doesn't work as expected.
Proposed solution
In our organisation, we have had issues with this check because we actually need it to parse the schema from nodes → config → schema instead, as the different dbt developers each have their own dev dataset name which prefixes the model schema in their dev environment. This must have changed when the manifest was updated to a newer version.
By selecting from the "nested" schema that's inside config, we get the "true" schema name reliably every time, for each developer and in production.
The additional argument I'm adding to args is --schema_location to optionally specify if the intended schema is located inside config.
How it works
It's completely optional, and only requires the user to add "--schema_location", "config" to the args after the white-/blacklist argument, like:
- id: check-model-parents-schema
    args: ["--manifest", "analytics/target/manifest.json", "--whitelist", "dim_schema_name",  "--schema_location", "config", "--"]

Note on testing coverage
I'm not really too familiar with Pytest or how to ensure complete coverage, so if there are any other contributors with an idea of how to help with this I'd be hugely grateful!

Not sure how to ensure test coverage – would be very grateful for any advice

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (a3a276c) 100.00% compared to head (fcf0f1f) 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff            @@
##              main      #132   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           47        47
  Lines         2194      2207   +13
  Branches       272       271    -1
=========================================
+ Hits          2194      2207   +13

Impacted Files
Coverage Δ

dbt_checkpoint/check_script_has_no_table_name.py
100.00% <ø> (ø)

dbt_checkpoint/check_model_parents_schema.py
100.00% <100.00%> (ø)

dbt_checkpoint/tracking.py
100.00% <100.00%> (ø)

dbt_checkpoint/utils.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Potential fix for https://github.com/dbt-checkpoint/dbt-checkpoint/issues/135

@kiliantscherny thanks for contributing to dbt-checkpoint
Would you be able to extend existing test check model parents schema with this new argument?

I've just had a go at adding the test coverage for this new argument, but please just let me know if it wasn't done correctly. Thanks!

Hi @BAntonellini would you be able to take another look at this when you get the chance?


Modify terminal output during creation of clones

So that we can affect the final rendering.
Question: Do we care about depth? Will it spoil certain effects if the draw order is wrong?

The work is done. I'm uncertain of it's usefulness in practice, but it costs nothing to have the option in place.
You can optionally provide a modifier function to toCloneTiles: modifier: (Point, MapTile) => (Point, Radians, Vector2)
The MapTile is just for reference in case you want to only affect some types.
The issue with this approach is that you can't modify the tile's colours or char value, only it's transform. That's ok, but because of the way Clone tiles groups things, you may get unexpected outcomes. For example, you have no control over depth and all the tiles of the same type are rendered at once, so you can't say what will overlap what in the end.
Anyway, we'll wait and see if it's useful or maybe an idea for making it more useful will occur.


Serialization Context Changes

https://issues.redhat.com/browse/ISPN-13041
https://issues.redhat.com/browse/ISPN-13042

This test failure looks related
https://ci.infinispan.org/job/Infinispan/job/PR-9311/5/testReport/org.infinispan.marshall.protostream.impl/ProtoStreamBackwardsCompatibilityTest/testOldEventLoggerUUIDBytesAreReadable/

Integrated into master, thanks @ryanemerson !


Remove columns from column selector in certain listviews where those …

…columns cause sort crashes. Add a right-click context menu option to view procedures from both the RPCALPC server list and the library server list.  RPCI also now uses our own private build of ObjectListView control, as a nuget package.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Uncertainty-and-the-Saving-Rate heavily uses cstwMPC

Should we just pin this demark to work with 0.10.6 or try to make it work by import the REMARK?

I'd like to try to make it work.  I think it is one of the most useful of the DemARKs.

See https://github.com/econ-ark/HARK/issues/667
Part of making this work is:

Use the Lorenz curve functionality from HARK
use the SCF dataset from HARK

Based on: https://github.com/econ-ark/HARK/issues/669#issuecomment-624045979
it sounds like another step to making this work is:

use the ConsAggShockModel and CobbDouglas economy, or other HARK base classes, instead of cstwMPC code

I'm taking a crack at this. However, Mridul's assessment that this notebook "depends heavily" on the old cstwMPC code is right.
https://github.com/econ-ark/DemARK/blob/0.10.5/notebooks/Uncertainty-and-the-Saving-Rate.ipynb
The DemARK is not well documented enough for me to understand what is important to keep.
I am getting some contradictory signals....
In this comment, @mnwhite is saying that the modifications to the CobbDouglas economy are just what's needed for the cstwMPC results:
https://github.com/econ-ark/HARK/issues/669#issuecomment-624045979
In the DemARK, the market class modifications distributeParams, findLorenzDistanceAtTargetKY, and getKYratioDifference are being used to set parameters for plots and things.
I am not sure what's going on here, but from the looks of it Uncertainy-and-the-Savings-Rate replicates more of the original cstwMPC paper results than was originally supposed?
It looks like this DemARK was added 15 months ago by @llorracc . Perhaps it is a fork of some earlier cstwMPC code.
I wonder if it is possible to explain what is essential, and what is inessential, for this DemARK.
Another complication: this DemARK appears to depend on some control flow logic which is rather mysteriously in the cstwMPCSetupParams file. There was a lot more in that file than just the SCF datasets. I've been copying the relevant parameters into the notebook....
https://github.com/econ-ark/HARK/blob/0.10.5/HARK/cstwMPC/SetupParamsCSTW.py
But to be honest, I think the best thing to do would be for this DemARK to be rewritten by somebody who understood the importance of the content.
I'll push my WIP PR momentarily

I honestly have no idea what this notebook is; I'm really sorry.
On Tue, May 12, 2020 at 10:43 AM Sebastian Benthall <
<EMAIL_ADDRESS>wrote:

I'm taking a crack at this. However, Mridul's assessment that this
notebook "depends heavily" on the old cstwMPC code is right.
https://github.com/econ-ark/DemARK/blob/0.10.5/notebooks/Uncertainty-and-the-Saving-Rate.ipynb
The DemARK is not well documented enough for me to understand what is
important to keep.
I am getting some contradictory signals....
In this comment, @mnwhite https://github.com/mnwhite is saying that the
modifications to the CobbDouglas economy are just what's needed for the
cstwMPC results:
econ-ark/HARK#669 (comment)
https://github.com/econ-ark/HARK/issues/669#issuecomment-624045979
In the DemARK, the market class modifications distributeParams,
findLorenzDistanceAtTargetKY, and getKYratioDifference are being used to
set parameters for plots and things.
I am not sure what's going on here, but from the looks of it
Uncertainy-and-the-Savings-Rate replicates more of the original cstwMPC
paper results than was originally supposed?
It looks like this DemARK was added 15 months ago by @llorracc
https://github.com/llorracc . Perhaps it is a fork of some earlier
cstwMPC code.
I wonder if it is possible to explain what is essential, and what is
inessential, for this DemARK.
Another complication: this DemARK appears to depend on some control flow
logic which is rather mysteriously in the cstwMPCSetupParams file. There
was a lot more in that file than just the SCF datasets. I've been copying
the relevant parameters into the notebook....
https://github.com/econ-ark/HARK/blob/0.10.5/HARK/cstwMPC/SetupParamsCSTW.py
But to be honest, I think the best thing to do would be for this DemARK to
be rewritten by somebody who understood the importance of the content.
I'll push my WIP PR momentarily
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/DemARK/issues/119#issuecomment-627389627,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADKRAFMA3VX7V5QOHAXET3DRRFN77ANCNFSM4MPNJUTA
.

Ok, @mnwhite that makes sense.
@llorracc maybe we should work together on restoring this notebook.

Yes, I'll work with you to restore it.
It's a pretty important one.  Let's discuss on Thu.
On Tue, May 12, 2020 at 11:15 AM Sebastian Benthall <
<EMAIL_ADDRESS>wrote:

Ok, @mnwhite https://github.com/mnwhite that makes sense.
@llorracc https://github.com/llorracc maybe we should work together on
restoring this notebook.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/DemARK/issues/119#issuecomment-627409152,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKCK72S2MYNU6KMBYXRFPLRRFRXXANCNFSM4MPNJUTA
.

--

Chris Carroll


Mast: Watch sgrbuildtech.com

Mast requests the watch of the watch_keyword sgrbuildtech\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

sgrbuildtech\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Nisse Engström in Charcoal HQ


Audit the memory management strategy of the solver class

Now that a few solvers (including a composite solver) exist, a reexamination of the memory management strategies used for each object may be useful.

In particular, it may be useful to see where std::shared_ptr can be replaced with std::unique_ptr to better convey ownership, and also to identify things that do not require any dynamic allocation.
std::weak_ptr may be useful for expressing non-owning references to "simple" solver states that composite solvers would store.

Yep. I think a bunch of my shared_ptrs (particularly coefficients that the drivers create) can and should be unique_ptrs that we pass off to the solver using std::move. However, we may still need shared ownership in multiphysics cases, so a deeper investigation is needed.


[fix] page.url.searchParams not set on first page land with static build #3650

fix #3650
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[ ] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpx changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

Thank you — closing in favour of #3942, which has the same effect as far as search params go, but replaces the entire URL instead


Write Sets, Albums, Collections and Upload date to JSON file

It would be really really useful if more information was migrated from flickr. As of today I get Title, Description and Keywords. Would it be possible to get the Sets / Albums / Collection names as well as the upload date?
Thanks a lot!

I can accept a PR on this if you (or anyone else) can make this change.

Upload date would be really useful. If the flickr API is being used then Date Posted and Date Taken are available via the getInfo call:
https://www.flickr.com/services/api/flickr.photos.getInfo.html
The getExif call also allows one to get the exif data, though I'm not sure if that's the original data in the photo or a composite set of data from edits of metadata on Flickr.
https://www.flickr.com/services/api/flickr.photos.getExif.html


DLL version always built with dynamic runtime when using Visual Studio

DLL version always has /MD flag even if /MT can be more suitable to avoid distributing Visual Studio runtime DLLs. There is no option in Configure script.

This has been discussed several times over. If you want to decide over which compiler flag to use when linking your application (or wrap OpenSSL in another DLL), build static OpenSSL libs. Static OpenSSL libs bear no reference to any specific CRT and can be linked with ether dynamic or static CRT (debug or not). Which one is decided by flags you use to compiler your application code. If you consider including copy of static CRT to OpenSSL DLLs, you would have to recognize that own copy will be linked into both DLLs. I'm not sure that it will work, and to be honest not sure if it would be good idea to try to support it. Besides there is contradiction in the statement. If you want to avoid distributing CRT DLLs, why would you want to distribute OpenSSL DLLs? Just build everything static...


ggplot2 cheatsheet : change fun.y etc to new arguments in stat_summary

Page 2 you find h + stat_summary_bin(fun.y="mean", geom = "bar"). In the new version of ggplot2, this is
h + stat_summary_bin(fun = "mean", geom = "bar").
This is the cheatsheet on the official rstudio website : https://rstudio.com/resources/cheatsheets/

Thanks. Fixed.
On Thu, Mar 11, 2021 at 4:11 AM Joris Meys @.***> wrote:

Page 2 you find h + stat_summary_bin(fun.y="mean", geom = "bar"). In the
new version of ggplot2, this is
h + stat_summary_bin(fun = "mean", geom = "bar").
This is the cheatsheet on the official rstudio website :
https://rstudio.com/resources/cheatsheets/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rstudio/cheatsheets/issues/155, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAUYFSK2MAEUULXFWAXCMDTDCJN7ANCNFSM4Y77ECVA
.


feat: support kafka exporter when tls is enabled

Describe: After setting up an SSL connection on port 9092, the original monitoring components required a new communication port. The Kafka cluster had reserved an internal port 9094. Therefore, adjustments were made in the startup script of the exporter.
Test: Whether SSL is enabled or not, the Kafka cluster run correctly.

/cherry-pick release-0.8

/cherry-pick release-0.9


Add cuda-version constraint to CUDA 10.2/11.0/11 packages

Follow-up of #40. This is to ensure the packages supporting different CUDA versions cannot coexist.
We also need to patch the repodata for existing cutensor packages.
This work should target the cuda-11 branch, as the main branch is now set up for CUDA-12-only for simplicity.

https://github.com/conda-forge/cutensor-feedstock/pull/42#issuecomment-1524325370


Nothing happens after tapping the "Claim Your Share" button

Description
Nothing happens after tapping the "Claim Your Share" button
Preconditions

Logged in with  mnemonic: solid great pen claim funny tunnel cradle crumble metal lucky honey clump

Steps to reproduce

Click the "Claim" button
Click the "Claim Your Share" button
Pay attention to the screen

Actual result: Nothing happens after tapping the "Claim Your Share" button
Expected result: The "Claim" popup is displayed after "Claim Your Share" button
Supporting data
Env https://goodqa.netlify.com
iPhone6 12.3.1, Safari
https://www.screencast.com/t/SfNnarhiJPn

@qatests1001 is this an account you opened for this test?
does this happen with a new account?

It's new account

@qatests1001 please retest

Checked on https://goodqa.netlify.com
Still reproduced with acc: solid great pen claim funny tunnel cradle crumble metal lucky honey clump
https://www.screencast.com/t/yC1sJTXz

Checked on https://gooddev.netlify.com
iPhone X // iOS 12.4 Safari
The bug is fixed
https://www.screencast.com/t/8kaSghWphvK0


Add an analyzer to check the weakness of the key

Add a class that will analyze and check the weakness of the key are per the following recommandations.
Developers may use this class to ensure that the key they are using is secured.
See:

https://tools.ietf.org/html/draft-ietf-oauth-jwt-bcp-00#section-3.5
https://tools.ietf.org/html/rfc7518#section-8.8
https://tools.ietf.org/html/rfc7515#section-10.1

Done


fix for multiple blg result in [MergeConvertFilterPerfmonLogs] ERROR: Unable to find the converted log file

Hi,
this seems like a quoting issue on my machines and i was able to fix it.
FIX: removing the extra Quotes around all the FileNames
Function MergeConvertFilterPerfmonLogs
$sCommand = $('relog.exe ' + "$sTemp" + ' -f csv -o ' + "`"$($global:oPal.RelogedLogFilePath)`"")
#OLD: $sCommand = $('relog.exe ' + "`"$sTemp`"" + ' -f csv -o ' + "`"$($global:oPal.RelogedLogFilePath)`"")

At least for relog.exe 10.0.14393.0 on Server 2016 and 10.0.19041.546 on Win10 that solved it
ISSUE:

[MergeConvertFilterPerfmonLogs] ERROR: Unable to find the converted log file: C:\Users\THORST~1\AppData\Local\Temp\54f9a5ce-d8a9-4064-ae33-7c00c000f271_FilteredPerfmonLog.csv. Relog.exe failed to process the log....
SCRIPT ARGUMENTS:
Log: D:_DATA\XY\20210322DCPerf\SD01101_DCPerf-20210318.blg;D:_DATA\XY\20210322DCPerf\SD01101_DCPerf-20210319.blg

Finding the solution:
running it manually with the command from the "Queue" window i noticed that the files were enclosed by " resulting in double "" at the start and end.
relog.exe ""D:\_DATA\XY\20210322DCPerf\SD01101_DCPerf-20210318.blg" "D:\_DATA\XY\20210322DCPerf\SD01101_DCPerf-20210319.blg"" -f csv -o "C:\Users\THORST~1\AppData\Local\Temp\9db2396c-a756-423a-b26f-26c1a25f0b7a\_FilteredPerfmonLog.csv"
Input
File(s):
     D:\_DATA\XY\20210322DCPerf\SD01101_DCPerf-20210318.blg D:\_DATA\XY\20210322DCPerf\SD01101_DCPerf-20210319.blg

-> manually executing it results in the same error and removing the doule quotes fixed it
cheers
Thorsten

Also fixed it by removing even quotes around $sTemp variable:
$sCommand = $('relog.exe ' + $sTemp + ' -f csv -o ' + ""$($global:oPal.RelogedLogFilePath)"")
because quotes are already added while building this variable earlier.


Error when render \sqrt

Issue Summary
Google Chrome doesn't render good \sqrt.
Technical details:

MathJax Version: 3.2.2
Client OS: Windows 11
Browser: Chrome 104.0.5112.102

I am using the following MathJax configuration:
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async<EMAIL_ADDRESS>
Image

It looks like some of the fonts may not have been loaded (in particular, MathJax_Main-Regular).  The no-equal, plus, equal, plus-minus, the numbers, and the surd for the square root are not being rendered in the correct font.  Do you see any messages about MathJax fonts in the browser console?
If you are having trouble with the output, you might consider switching to the SVG output using the MathJax contextual menu.  That might give you better results.


Add support for custom callbacks to fetch smelt data

The main point of this PR is to be able to pass a callback to graph creation that takes a Smelt path and returns the contents of the file. We will use this in the situation where the Smelt files are in Docker or GitHub but not on the local filesystem.
Notable non-functionality changes:

Set up py-smelt as a proper Poetry root
Deleted poetry.lock in the root directory, as it didn't seem to be connected to any pyproject.toml

lgtm, i was a little hesitant to add poetry support back because of the awkward duplication of deps, but it feels like the easiest path for dev


Fix broken link in README.md

@QuinnWilton can you actually fix this on the other end? We're more likely to use it in the singular later than always use the plural (and the s can be outside of the link)

Superceded by https://github.com/RhizomeDB/spec/pull/9


Rename master to main

All new projects use main as the default branch.
https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/renaming-a-branch#renaming-a-branch
However, only @jpochyla can do this :)

any reason why you open a duplicate of https://github.com/jpochyla/psst/issues/418 which you opened a year ago? if not maybe you can close this one

Not a lot of historical knowledge here!


Update create-edit-entity-relationships.md

Added clarification to the Primary entity as the PowerApps portal represents it as Current entity

Thank you for submitting the PR. I believe this was fixed in another PR by the PM. Feel free to reopen if not. Closing without merge.


[FLINK-6250] Distinct procTime with Rows boundaries

Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the How To Contribute guide.
In addition to going through the list, please provide a meaningful description of your changes.

[X] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[X] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[X] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

@fhueske, I agree with you about the risk of temporary DIST() ingestion. Perhaps we could meanwhile just work on the "ProcessFunction +  Code generation" keeping the DIST function for test purposes tests. My concern is that the code my change again and all the work would just be wasted. To be honest, the code generation is quite new to me, and I will have to learn to work on that. Meanwhile, I have almost completed a version that relies on current code generation, nesting the distinct logic. As it is almost done, I will share this one as well and then if necessary move to the code generation. what do you think?

sounds good to me. IMO, we can also add the runtime code to the code base even if there is no API support if we cover it with test cases. Then we could quickly enable it once DISTINCT in OVER becomes available.

Btw, the code generation is not so fancy. The best way to learn it would be to debug a simple batch GROUP BY query (once batch aggregations are code-gen'd) as well

@fhueske I have just pushed a version working with code generation (without modifying the code generation) There will be the need for some refactoring in the AggregateUtil function, but if the overall concept is sound, I will fix things.
@hongyuhong , @shijinkui you could also have a look if you have time.

@fhueske @stefanobortoli  I suggest we merge this temporary solution into flink (with using a special marker for distinct) until the flink module will be upgraded to the next calcite release. I have fixed the issue into calcite.
However, the advantages of pushing already this is that:

we can reuse the code
when we have the distinct marker we can simply modify the check for distinct for the aggregates in the DataStreamOver

@fhueske @sunjincheng121 @shijinkui @hongyuhong  I have created a PR with the latest master with the code generated distinct, #3771 please have a look. If we it is fine, we can basically support distinct for all the window types

Thanks @stefanobortoli! I'll have a look at #3771

Since PR #3771 is the follow up of this PR, could you close this one? Thanks