Server will not accept password

No matter what I do, I cant get the server to accept my password.
I tried to use the default settings of admin /  admin (SHA256).
I edited the wg-dashboard.ini file and changed both the username and password, stop and start the server, and it still wont accept.
Any ideas?

No matter what I do, I cant get the server to accept my password.
I tried to use the default settings of admin /  admin (SHA256).
I edited the wg-dashboard.ini file and changed both the username and password, stop and start the server, and it still wont accept.
Any ideas?

Hi, can you tell me what did you edit the  the ini file? Because the password originally stored in the ini file "admin" hashed in SHA256. Please make sure that you change the password using the dashboard settings instead of changing the file directly.

I originally tried to use the default login username and password. I hashed admin using a converter but it wouldnt accept it. Thats when I went in and tried changing the ini file with different values for both but still couldnt get it to work.

Could you post the ini file plz?

[Account]
username = admin
password = myPassword

[Server]
wg_conf_path = /etc/wireguard
app_ip = serverIP
app_port = 10086
auth_req = true
version = v2.1
dashboard_refresh_interval = 15000

[Account]
username = admin
password = myPassword

[Server]
wg_conf_path = /etc/wireguard
app_ip = serverIP
app_port = 10086
auth_req = true
version = v2.1
dashboard_refresh_interval = 15000

Hi, I'm not sure why is different after you hashed the password with other hash tool. But to make sure it work perfectly, you can delete the .ini file and restart the dashboard, login with admin as your username and password, and then change it in the setting page in the dashboard :) Please comment if you still encounter the problem ;)

./wgd.sh stop
rm -rf wg-dashboard.ini
./wgd.sh start
Copy password directly from the wg-dashboard.ini
Results in attached video:

https://user-images.githubusercontent.com/40916720/127924321-600de5b2-4d23-4808-aaca-1750fcdac2a7.mov

Ahhh I see, the default username and password is just admin and admin, the password that stored in the ini file is admin hashed in SHA256. Every time when you login, the dashboard will hash and check if it is the same as the one stored in the ini file. So try admin and username and admin as password ;)

Oof. My bad. Thank you for the help!

No problem! Glad to help ;)

I was trying to set a new password during deploy via Ansible. I generated a new password with mkpasswd --method=sha-256 and it's added to wg-dashboard.ini correctly but doesn't work.
I suspect because mkpasswd adds a salt to the hash.
Can you share details of how you generate a compatible hash @donaldzou ?

Hi @adrinux , in the dashboard, it uses the python's hash library with SHA256 and encode into UTF-8 [src/dashboard.py?plain=L708](password = hashlib.sha256(data['password'].encode()))

Hi @adrinux, I'm not so sure how mkpasswd works, I will look into that. For the dashboard, it uses python's hashlib with SHA256 without salt, so you can see here: https://github.com/donaldzou/WGDashboard/blob/cd84674ae028f57d0799e5971619d7bb7fba27e0/src/dashboard.py?plain=L708#L708

Thanks. It seems mkpasswd won't hash without a salt, so I found this one liner to use instead:
echo -n mypassword | sha256sum | awk '{print $1}'

Had Ansible write the results of that into wg-dashboard.ini, works perfectly.

Thanks. It seems mkpasswd won't hash without a salt, so I found this one liner to use instead:

echo -n mypassword | sha256sum | awk '{print $1}'

Had Ansible write the results of that into wg-dashboard.ini, works perfectly.

That's great!! I'm thinking would you mind to share your script to configure WGDashboard on Ansible? I think people would love to have this resource ;)


keras future: use nn for representational learning early in ensemble

neural nets are fantastic for representational learning (turning raw data inputs into features). gradient boosting is fantastic at turning good features into accurate predictions.
why not use both?
have a nn that does something like [1, 0.5. 0.1] with an output layer. drop the output layer, and just get the features from the last hidden layer.
for each row, feed these features into a gradient boosting model (along with all the other features we'd normally use).
voila- both models are used for what they're best at!

Thoughts

We'll want to have the user pass in two different data sets- one for the final model training, and one for training the deep learning network used for feature learning.
I really don't want to run two feature transformation pipelines.
We have to be really careful with overfitting around feature selection

i think we might just have to handle each step of the pipeline surgically
so, we'll fit the transformation pipeline on all the data (fl - feature learning- data and final model data), and the transformation pipeline up to the step of feature selection
then we'll transform the data for our feature learning model (no feature selection here)
Then we'll fit the feature learning model

We'll train it on the fl dataset like a standard regression/classification model
then we'll remove the final step and just get the learned features from the penultimate step

then we'll add this to our pipeline- after dataframe vectorizer, and before feature selection

Thoughts on the feature learning model itself

this is essentially just going to be a version of train up our final model
differences
we might be able to use finalmodelatc, and add in a transform method!
if transform, then simply add the model's prediction to X
if predict, do what it currently does
this allows us to leverage our entire current architecture. we just need to add a transform to finalmodelatc, add a param for 'feature_learning_model', and add in some logic for how we add this to our pipeline (which will be nontrivial, since we need to add it to our dataframevectorizer as well since that's where our feature names are stored which we need for analytics, which will still be necessary here)

the more i think about this, the more i think we need to make a decision about where we do and do not support feature selection throughout this process.

the difficulty is that right now i'm envisioning adding in our ensembled model predictions after dataframevectorizer, and before feature_selection.

then remember that we smash these two into one (we just use feature selection as a mask for dfv)

which means things'll get messy if we decide not to include an ensembled prediction due to feature selection

simplifying assumption: no feature selection at all for the v0 launch. just add a quick if check, and a user warning.

we'll want this to be generalizable to other forms of ensembling

take in a param for 'feature_learning_model' or something, that lets us know whether this is a deep learning network we need to remove the final layer from or not

take in a param for model name

take in a param

finished, with feature_learning.


Device platform relation missing (?)

Hello,
I'm using NetBox-Sync to sync VMware with NetBox.
The vm_platform_relation parameter is employed to map the VMware platform name to my own platform name (defined in NetBox).
This option works fine for platforms associated with VMs, but it doesn't work for platforms associated with devices (VMware hosts).
Example (settings.yaml)
...
vm_platform_relation: Red Hat Enterprise Linux 8.* = Red Hat Enterprise Linux 8, VMware ESXi 7.* = VMware ESXi 7.0 Update 3o, VMware ESXi 8.* = VMware ESXi 8.0 Update 2b
...

Mapping between Red Hat Enterprise Linux 8 (64-bit) (from VMware) and Red Hat Enterprise Linux 8 (NetBox) is working fine; however mapping between VMware ESXi 7.0.3 (from VMware) and VMware ESXi 7.0 Update 3o (NetBox) is not working, as well as VMware ESXi 8.0.2 (from VMware) and VMware ESXi 8.0 Update 2b (NetBox): it creates two platforms VMware ESXi 7.0.3 and VMware ESXi 8.0.2.
What am I doing wrong?

Hi,
Thank you for this report. I think you're not doing anything wrong. This relation is just missing.
will add this one as well

Hi, just added it to the development branch. Would you be able to test it out? the new config option is called host_platform_relation
Thank you

Hello @bb-Ricardo,
tested and worked fine !!!
May I continue using the version from development branch ?
Thank you.

That is up to you. You can use dev branch for now. I usually try to keep it clean.
Hope to merge this soon to main.


Store docker manifests in Pyrsia network

Since #363 docker images are requested from the p2p network if they are not locally available.
The same should also happen for the docker manifests that a docker client requests during a 'docker pull'
These manifest are currently still handled as originally specified:

retrieve locally
retrieve from Docker Hub if not available locally

I have split this issue up into some smaller parts:

#622
#623
#624
#625


Possible rule proposal: Disallow multiple returns from method

What do people think about multiple returns inside a method? I've been back and forth on whether I think they should be allowed. I prefer having only one return inside a method in most cases (it's been suggested it makes provably better code), thus this is wrong:
public bool Foo(int x)
{
    bool result = false;
    if (x == 2)
    {
        return result;
    {

    // other code
    result = true;
    return result;
}

It could be rewritten to have only one exit point.
public bool Foo(int x)
{
    bool result = false;
    if (x != 2)
    {
        // other code
        result = true;
    }

    return result;
}

On the other hand, there are times that disallowing multiple returns creates awkward code, especially when there are checks of parameters at the beginning of the code that immediately returns when they are invalid. This code has an implicit return at the end, and thus three exit points.
public void Foo(int x, int y)
{
    if (x > 2)
    {
        return;
    }

    if (y > 14)
    {
        return;
    }

    // other code
}

Coding this with only one return can be awkward, forcing deep nesting, particularly if the expressions being tested are more complex. (Sure, you can do an && on the two expressions and reduce the indents some, but that's beside the point.)
public void Foo(int x, int y)
{
    if (x <= 2)
    {
        if (y <= 14)
        {
           // other code
       }
    }
}

I don't think you can easily do a code fix on this as it requires some deep thought about the code.
I am weakly proposing this as a rule, but mostly wanting to gather people's opinion about multiple exit points in code.

Early-out always made sense to me. I tend to find "return ASAP" code more readable than "single point of return" code.

I've changed my opinion on this subject quite a few times over the last decade and during that time there always was another example showing why my current point-of-view was not optimal.
I think it makes sense to offer such a rule (as a disabled by default option) for people that prefer the single return paradigm. I think it fits with the style of analyzers that StyleCop offers. Having a good code fix for it would imho be next to impossible.

I find that this rule makes sense in a language like C, where you don't have the concept of try/finally. In languages like C#, and even C++ (where has RAII is an option), adhering to a single return point seems to mix concerns - special handling for some inputs and general handling for the others. In addition, if you have a method which is too long to easily keep track of multiple return points, you would probably have better readability gains from refactoring the code into multiple methods than changing it to have a single point of return.
I find that this proposal is weak on two key aspects I look for in new rules:

It is not clear that this rule would benefit code bases. The only place where I find confusion arises is when a single method mixes code that returns as early as possible with other code that uses nested blocks to have a single point of return. This particular case is difficult to impossible to programmatically identify.
There is no obvious code fix which could be implemented for this rule. Perhaps there is a place in style guides for policies which cannot be automated, but those cases should be carefully considered and avoided where possible to reduce the net burden on developers trying to join a project.

I would prefer to see this implemented as part of a separate project.
:memo: We are actively working on ways to simplify the process of taking a rule like this over to a new project. With improved project templates, you could get much of the infrastructure we rely on here (testing, helpers, AppVeyor, code coverage, NuGet deployment, etc.) without having to figure it all out on your own.

Sam...when you close a rule that might be moved for to a new project, is it possible for you to stick a label on it for that, so someone searching for those proposals can find them among the closed issues? I'd like to leave this open for a little while more just to see what people think about the subject where we we have a group that thinks about this stuff.

You had me worried when I saw the email notification since I didn't remember closing this issue (turns out I didn't). :smile:
I think a label like that could make sense. One difficulty is it's hard to tell if/when/who would actually implement the proposed rule. Once we get the analyzer infrastructure improved for new analyzer projects, I imagine the conversion rate will improve substantially. We also have the DotNetAnalyzers/Proposals repository where proposals can be filed that don't yet have a target repository.

There certainly is the argument that every throw inside a method (including from calls to .NET methods that can throw is another exit point...so what's a few more!

I'm a big fan of the "fail fast and early" school of thought, so I'm :thumbsdown: on this rule. I have a lot of this in my code:
public int Foo(int bar)
{
    if (bar < 0)
        return 0;

    // do other things
}

It's looking like this is a "won't fix" within StyleCop Analyzers, but it could always be implemented as a separate analyzer. :smile:


Switch to native editorconfig-checker

npm wrapper was failing to download binary
npm run eclint

><EMAIL_ADDRESS>eclint C:\projects\devextreme-aspnet-data
> editorconfig-checker

ERROR: Error: TAR_BAD_ARCHIVE: Unrecognized archive format
    at Unpack.warn (C:\projects\devextreme-aspnet-data\node_modules\tar\lib\warn-mixin.js:19:40)
    at Unpack.warn (C:\projects\devextreme-aspnet-data\node_modules\tar\lib\unpack.js:189:18)
    at Unpack.<anonymous> (C:\projects\devextreme-aspnet-data\node_modules\tar\lib\parse.js:81:14)
    at Unpack.emit (events.js:327:22)
    at Unpack.[emit] (C:\projects\devextreme-aspnet-data\node_modules\tar\lib\parse.js:285:12)
    at Unpack.[maybeEnd] (C:\projects\devextreme-aspnet-data\node_modules\tar\lib\parse.js:401:17)
    at Unpack.[consumeChunk] (C:\projects\devextreme-aspnet-data\node_modules\tar\lib\parse.js:432:21)
    at Unpack.write (C:\projects\devextreme-aspnet-data\node_modules\tar\lib\parse.js:364:25)
    at Unpack.end (C:\projects\devextreme-aspnet-data\node_modules\tar\lib\parse.js:477:14)
    at Yallist.<anonymous> (C:\projects\devextreme-aspnet-data\node_modules\minipass\index.js:396:18) {
  recoverable: false,
  file: 'C:\\projects\\devextreme-aspnet-data\\node_modules\\editorconfig-checker\\dist/../ec.tar.gz',
  cwd: 'C:\\projects\\devextreme-aspnet-data\\node_modules\\editorconfig-checker',
  code: 'TAR_BAD_ARCHIVE',
  tarCode: 'TAR_BAD_ARCHIVE'
}

Codecov Report

Merging #474 (17e2d8c) into master (c5a2775) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #474   +/-   ##
=======================================
  Coverage   97.27%   97.27%
=======================================
  Files          55       55
  Lines        2202     2202
=======================================
  Hits         2142     2142
  Misses         60       60

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c5a2775...17e2d8c. Read the comment docs.


Inet: Split UDPEndPoint and TCPEndPoint

Problem
This is a step toward #7715 Virtualize System and Inet interfaces.
Change overview

The per-implementation subclasses (formerly #if sections) of
EndPointBase didn't actually depend on EndPointBase at all,
so they are split off into EndPointState${IMPL} classes,
separately inherited by the leaf classes.

UDPEndPoint and TCPEndPoint are split into base classes and
per-implementation subclasses. Transitionally, the implementation
classes remain in the main files, and are instantiated using a single
concrete name by #if.

Testing
CI; no changes to functionality.

fast track: PR up long enough for cross-timezone review, has several checkmarks without comments already.


[3.0] Fix-#8506 MultipleRegistry remove duplicate URL

issue #8506
可以直接用equals去重

Codecov Report

Merging #8896 (94a9eb6) into 3.0 (0d550f9) will decrease coverage by 0.25%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##                3.0    #8896      +/-   ##
============================================
- Coverage     63.38%   63.13%   -0.26%
+ Complexity      315      311       -4
============================================
  Files          1178     1178
  Lines         49862    49862
  Branches       7458     7436      -22
============================================
- Hits          31606    31481     -125
- Misses        14809    14920     +111
- Partials       3447     3461      +14

Impacted Files
Coverage Δ

...ache/dubbo/registry/multiple/MultipleRegistry.java
59.61% <0.00%> (ø)

...ng/transport/dispatcher/all/AllChannelHandler.java
62.06% <0.00%> (-27.59%)
:arrow_down:

...ntext/event/AwaitingNonWebApplicationListener.java
60.56% <0.00%> (-22.54%)
:arrow_down:

...dubbo/common/status/support/LoadStatusChecker.java
46.15% <0.00%> (-15.39%)
:arrow_down:

...ng/transport/dispatcher/WrappedChannelHandler.java
47.82% <0.00%> (-15.22%)
:arrow_down:

...ache/dubbo/remoting/transport/AbstractChannel.java
75.00% <0.00%> (-12.50%)
:arrow_down:

...in/java/org/apache/dubbo/common/utils/JVMUtil.java
81.13% <0.00%> (-11.33%)
:arrow_down:

.../remoting/transport/netty4/NettyServerHandler.java
62.79% <0.00%> (-9.31%)
:arrow_down:

...e/dubbo/remoting/transport/netty/NettyChannel.java
51.13% <0.00%> (-9.10%)
:arrow_down:

.../remoting/transport/netty4/NettyClientHandler.java
62.06% <0.00%> (-6.90%)
:arrow_down:

... and 33 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0d550f9...94a9eb6. Read the comment docs.


Can you make the source code public?

Hi~
I'm very interested in your work, could you share the code ?

Released!


Can't Compile on Sierra with Macports

I'm trying to follow the compiling wiki, but having a problem to get it to work.
https://github.com/tesseract-ocr/tesseract/wiki/Compiling
I'd appreciate any help!
sudo port install autoconf autoconf-archive automake leptonica pkgconfig
git clone https://github.com/tesseract-ocr/tesseract.git
cd tesseract
./autogen.sh
Unable to find a valid copy of libtoolize or glibtoolize in your PATH!
./autogen.sh: line 59: bail_out: command not found
Running aclocal
Running
./autogen.sh: line 87: -f: command not found
Something went wrong, bailing out!
Thanks in advance!

Unable to find a valid copy of libtoolize or glibtoolize in your PATH!

You need to install the libtool package.

Thanks so much! That worked perfectly! Can we add sudo port install libtool in the wiki?

Can we add sudo port install libtool in the wiki?

It's already mentioned there.

Yeah, I added the missing info to the wiki page right after posting my answer above :)

Unable to find a valid copy of libtoolize or glibtoolize in your PATH!

Maybe we should add here: "Make sure you have installed the 'libtool' package." ?


Major changes for release 0.5.0

This pull request fixed severe issues with the scheduler and the interaction with the persistence layer. Issues were related to email not always loaded from the persistence layer.
Moreover, there is the new annotation @EnableEmailTools.

Codecov Report

Merging #37 into master will decrease coverage by -5.73%.
The diff coverage is 70.11%.

@@             Coverage Diff              @@
##             master      #37      +/-   ##
============================================
- Coverage     78.96%   73.24%   -5.73%
- Complexity      197      231      +34
============================================
  Files            25       27       +2
  Lines           694      867     +173
  Branches         95      120      +25
============================================
+ Hits            548      635      +87
- Misses           80      144      +64
- Partials         66       88      +22

Impacted Files
Coverage Δ
Complexity Δ

...imov/springboot/mail/utils/EmailToMimeMessage.java
72.5% <ø> (ø)
10 <0> (?)

.../it/ozimov/springboot/mail/utils/TikaDetector.java
92.85% <ø> (ø)
5 <0> (?)

...il/service/exception/CannotSendEmailException.java
80% <ø> (ø)
4 <0> (?)

.../service/exception/CannotDeserializeException.java
80% <ø> (ø)
4 <0> (?)

...a/it/ozimov/springboot/mail/utils/StringUtils.java
0% <ø> (ø)
0 <0> (?)

...mail/templating/service/PebbleTemplateService.java
86.66% <ø> (ø)
5 <0> (?)

.../mail/service/defaultimpl/DefaultEmailService.java
77.58% <ø> (ø)
12 <0> (?)

...ultimpl/RedisBasedPersistenceServiceConstants.java
75% <ø> (ø)
3 <0> (?)

...pringboot/mail/utils/EmailConversionException.java
100% <ø> (ø)
4 <0> (?)

...configuration/EmailRedisTemplateConfiguration.java
0% <ø> (ø)
0 <0> (?)

... and 20 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update be5df64...0b32d67. Read the comment docs.


[releases] Docs: Remove the restrictions on input dataset size in SVD algorithm

Same as #514

/intelci: run

/intelci: restart
disable run_new_ts_sycl_gpu_icc_clang
disable run_new_ts_sycl_gpu_icc


fix orphan pod uses SpiderSubnet feature error log

Signed-off-by: Icarus9913<EMAIL_ADDRESS>What this PR does / why we need it:
fix bug
Which issue(s) this PR fixes:
close #2951

does the https://github.com/spidernet-io/spiderpool/issues/2951 really make sense

change a title to be more readable


Fixing #34

The straightforward fix for #34
https://github.com/JeffBezanson/FixedPointNumbers.jl/commit/0a8e2221f99d8fa061d947afeabbabf0d74a11bb#commitcomment-14150180

Many thanks!

This breaks ColorVectorSpace.jl https://github.com/JuliaGraphics/ColorVectorSpace.jl/issues/26

The problem is in ColorVectorSpace. Sorry I didn't notice this report earlier.


scipy.stats.gengamma: issue with stats for array case

I'm trying to define an array of variables all distributed with a generalized Gamma, by means of gengamma, and by passing array-like with parameters.
import scipy.stats as st
import numpy as np
n=10
alphas = 3*np.ones(n) #np.arange(1,n+1)
cs = 2*np.ones(n)
lambdas = np.arange(1,n+1)
distr = st.gengamma(a=alphas, c=cs, scale=lambdas)

mean, var = distr.stats(moments='mv')
print(mean,var)

I get the following error when I ask for the stats:
Traceback (most recent call last):
  File "test_distr_fit.py", line 9, in <module>
    mean, var = distr.stats(moments='mv')
  File "[...]/.local/lib/python3.6/site-packages/scipy/stats/_distn_infrastructure.py", line 474, in stats
    return self.dist.stats(*self.args, **kwds)
  File "[...]/.local/lib/python3.6/site-packages/scipy/stats/_distn_infrastructure.py", line 1060, in stats
    if np.isinf(mu):
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

The problem is when calculating the variance. Line 1060 referred to is part of the calculation of the variance within stats method of the rv_generic class.
I believe the solution would be to add an extra check to discriminate scalar vs array-like rv.
The version of SciPy used is below:
1.3.0 1.17.2 sys.version_info(major=3, minor=6, micro=8, releaselevel='final', serial=0)

I might be misunderstanding but if you want to generate random values from a bunch of different generalized Gamma distributions
you should be calling .rvs
import scipy.stats as st
import numpy as np
n=10
alphas = 3*np.ones(n) #np.arange(1,n+1)
cs = 2*np.ones(n)
lambdas = np.arange(1,n+1)
values = st.gengamma.rvs(a=alphas, c=cs, scale=lambdas, size=[1,n]) # 1 random value per distribution

If you want to n different distributions
n=10
alphas = 3*np.ones(n) #np.arange(1,n+1)
cs = 2*np.ones(n)
lambdas = np.arange(1,n+1)
values = [st.gengamma(a=a, c=c, scale=l) for a,c,l in zip(alphas, cs, lambdas)]
print([value.stats(moments='mv') for value in values])

[(array(1.66167549), array(0.23883458)), (array(3.32335097), array(0.95533833)), (array(4.98502646), array(2.14951124)), (array(6.64670194), array(3.82135331)), (array(8.30837743), array(5.97086455)), (array(9.97005291), array(8.59804495)), (array(11.6317284), array(11.70289451)), (array(13.29340388), array(15.28541324)), (array(14.95507937), array(19.34560113)), (array(16.61675485), array(23.88345818))]

Hi @sethtroisi, that is true, there are workarounds to generate samples or statistics. The problem is that I have a code that requires a frozen distribution object defined as in the original post, i.e. initialized with arrays of parameters as arguments, one for each parameter. This works with several distributions that I tried (lognorm, gamma, uniform and others), but with gengamma doesn't work that way.

I just tested and this code works for Scipy 1.6.0. I suggest updating as 1.3.0 is > 1 year old.

Closing this bug as code works at HEAD and workaround exists for older versions.
Feel free to reopen if updating doesn't fix the problem.


[Question] Possibility to set FEE_RECIPIENT per validator ?

Hi,
First all, thanks for this project. Helped me a lot with my setup.
It seems currently it's only possible to set the FEE_RECIPIENT once for all validators.
With upcoming smoothing pool option coming (https://docs.smoothly.money/how-to-guide), I think it would be interesting to offer the possibility to set the FEE_RECIPIENT per validator instead of a global config.
This would allow users to fine tune which validator is part of a pool and which is not.
If there's a way to do this already, I'd also be interested to hear it.
Thanks

./ethd keys get-recipient, ./ethd keys set-recipient, ./ethd keys delete-recipient


fix(StackViewport): #372 Reset camera bug when rotation happens on StackViewport

For a GPU reset, start by resetting the flips and rotation (via viewUp) because the ordering of the various flips and rotations that have been applied is not known.

Great work. See my comments please

Thank you.


bulkupdate ms.author

Docs Build status updates of commit 9289d5a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

his/core/data-links-db2-2.md
:bulb:Suggestion
View
Details

biztalk/adapters-and-accelerators/adapter-sql/polling-in-sql-server-using-the-sql-adapter.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/adapter-sql/read-about-the-biztalk-adapter-for-sql-server-adapter-binding-properties.md
:white_check_mark:Succeeded
View

biztalk/core/connect-to-azure-api-management.md
:white_check_mark:Succeeded
View

his/core/00d0a93e-8d27-4720-901f-fcde013ca33c.md
:white_check_mark:Succeeded
View

his/core/04d0d20d-ad2e-4218-a57c-be7434492817.md
:white_check_mark:Succeeded
View

his/core/2a3a5d97-e269-4dc0-bca3-bf38a419f614.md
:white_check_mark:Succeeded
View

his/core/2d8129c3-3859-49e8-9c1d-a8aef89f58a4.md
:white_check_mark:Succeeded
View

his/core/3270-access2.md
:white_check_mark:Succeeded
View

his/core/3270-client-standard-keyboard-map2.md
:white_check_mark:Succeeded
View

his/core/3270-client2.md
:white_check_mark:Succeeded
View

his/core/3270-emulation-programmer-s-guide1.md
:white_check_mark:Succeeded
View

his/core/3270-emulation-programmer-s-reference2.md
:white_check_mark:Succeeded
View

his/core/3270-include-files1.md
:white_check_mark:Succeeded
View

his/core/3270-lu-properties-down-stream1.md
:white_check_mark:Succeeded
View

his/core/3270-lu-properties-general2.md
:white_check_mark:Succeeded
View

his/core/3270-lu-properties-lua2.md
:white_check_mark:Succeeded
View

his/core/3270-printing-problems2.md
:white_check_mark:Succeeded
View

his/core/3270-session1.md
:white_check_mark:Succeeded
View

his/core/3270-terminal-access2.md
:white_check_mark:Succeeded
View

his/core/3270-user-alerts2.md
:white_check_mark:Succeeded
View

his/core/3270-user-name-and-password-replacement1.md
:white_check_mark:Succeeded
View

his/core/3270-user-record-format2.md
:white_check_mark:Succeeded
View

his/core/5250-access1.md
:white_check_mark:Succeeded
View

his/core/5250-client-standard-keyboard-map1.md
:white_check_mark:Succeeded
View

his/core/5250-client-status-line1.md
:white_check_mark:Succeeded
View

his/core/5250-client1.md
:white_check_mark:Succeeded
View

his/core/5250-terminal-access-and-appc-access2.md
:white_check_mark:Succeeded
View

his/core/57a9cb3d-e542-46ec-a7e4-f37e26643610.md
:white_check_mark:Succeeded
View

his/core/7896641e-8f96-4317-9dc1-13cb983ee990.md
:white_check_mark:Succeeded
View

his/core/a-sample-lua-communication-sequence2.md
:white_check_mark:Succeeded
View

his/core/abend-cpi-c-2.md
:white_check_mark:Succeeded
View

his/core/accept-conversation-cpi-c-2.md
:white_check_mark:Succeeded
View

his/core/accepting-incoming-attaches2.md
:white_check_mark:Succeeded
View

his/core/accessing-a-host-integration-server-property-through-wmi2.md
:white_check_mark:Succeeded
View

his/core/accessing-configuration-information2.md
:white_check_mark:Succeeded
View

his/core/activate-session2.md
:white_check_mark:Succeeded
View

his/core/activating-a-host-connection-snadis-2.md
:white_check_mark:Succeeded
View

his/core/activating-a-peer-connection-snadis-1.md
:white_check_mark:Succeeded
View

his/core/active-directory-administration2.md
:white_check_mark:Succeeded
View

his/core/active-directory-schema-reference2.md
:white_check_mark:Succeeded
View

his/core/active-directory-services2.md
:white_check_mark:Succeeded
View

his/core/active-link-information2.md
:white_check_mark:Succeeded
View

his/core/active-tn5250-sessions1.md
:white_check_mark:Succeeded
View

his/core/active-users2.md
:white_check_mark:Succeeded
View

his/core/adaptercounter2.md
:white_check_mark:Succeeded
View

his/core/adapterperfdata2.md
:white_check_mark:Succeeded
View

his/core/adapters-and-link-service-problems1.md
:white_check_mark:Succeeded
View

his/core/add-new-item-dialog-box-host-file-designer-1.md
:white_check_mark:Succeeded
View

his/core/add-new-item-dialog-box-visual-studio-1.md
:white_check_mark:Succeeded
View

This comment lists only the first 50 files in the pull request.

his/core/data-links-db2-2.md

Line 25: [Suggestion] Illegal link: `<a href="#Provider">Provider</a>` -- missing bookmark. The file core/data-links-db2-2.md doesn't contain a bookmark named Provider.
Line 27: [Suggestion] Illegal link: `<a href="#Connection">Connection</a>` -- missing bookmark. The file core/data-links-db2-2.md doesn't contain a bookmark named Connection.
Line 29: [Suggestion] Illegal link: `<a href="#Advanced">Advanced</a>` -- missing bookmark. The file core/data-links-db2-2.md doesn't contain a bookmark named Advanced.
Line 31: [Suggestion] Illegal link: `<a href="#All">All</a>` -- missing bookmark. The file core/data-links-db2-2.md doesn't contain a bookmark named All.

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

Docs Build status updates of commit 19698c7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

biztalk/adapters-and-accelerators/adapter-sql/polling-in-sql-server-using-the-sql-adapter.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/adapter-sql/read-about-the-biztalk-adapter-for-sql-server-adapter-binding-properties.md
:white_check_mark:Succeeded
View

biztalk/core/connect-to-azure-api-management.md
:white_check_mark:Succeeded
View

his/core/00d0a93e-8d27-4720-901f-fcde013ca33c.md
:white_check_mark:Succeeded
View

his/core/04d0d20d-ad2e-4218-a57c-be7434492817.md
:white_check_mark:Succeeded
View

his/core/2a3a5d97-e269-4dc0-bca3-bf38a419f614.md
:white_check_mark:Succeeded
View

his/core/2d8129c3-3859-49e8-9c1d-a8aef89f58a4.md
:white_check_mark:Succeeded
View

his/core/3270-access2.md
:white_check_mark:Succeeded
View

his/core/3270-client-standard-keyboard-map2.md
:white_check_mark:Succeeded
View

his/core/3270-client2.md
:white_check_mark:Succeeded
View

his/core/3270-emulation-programmer-s-guide1.md
:white_check_mark:Succeeded
View

his/core/3270-emulation-programmer-s-reference2.md
:white_check_mark:Succeeded
View

his/core/3270-include-files1.md
:white_check_mark:Succeeded
View

his/core/3270-lu-properties-down-stream1.md
:white_check_mark:Succeeded
View

his/core/3270-lu-properties-general2.md
:white_check_mark:Succeeded
View

his/core/3270-lu-properties-lua2.md
:white_check_mark:Succeeded
View

his/core/3270-printing-problems2.md
:white_check_mark:Succeeded
View

his/core/3270-session1.md
:white_check_mark:Succeeded
View

his/core/3270-terminal-access2.md
:white_check_mark:Succeeded
View

his/core/3270-user-alerts2.md
:white_check_mark:Succeeded
View

his/core/3270-user-name-and-password-replacement1.md
:white_check_mark:Succeeded
View

his/core/3270-user-record-format2.md
:white_check_mark:Succeeded
View

his/core/5250-access1.md
:white_check_mark:Succeeded
View

his/core/5250-client-standard-keyboard-map1.md
:white_check_mark:Succeeded
View

his/core/5250-client-status-line1.md
:white_check_mark:Succeeded
View

his/core/5250-client1.md
:white_check_mark:Succeeded
View

his/core/5250-terminal-access-and-appc-access2.md
:white_check_mark:Succeeded
View

his/core/57a9cb3d-e542-46ec-a7e4-f37e26643610.md
:white_check_mark:Succeeded
View

his/core/7896641e-8f96-4317-9dc1-13cb983ee990.md
:white_check_mark:Succeeded
View

his/core/a-sample-lua-communication-sequence2.md
:white_check_mark:Succeeded
View

his/core/abend-cpi-c-2.md
:white_check_mark:Succeeded
View

his/core/accept-conversation-cpi-c-2.md
:white_check_mark:Succeeded
View

his/core/accepting-incoming-attaches2.md
:white_check_mark:Succeeded
View

his/core/accessing-a-host-integration-server-property-through-wmi2.md
:white_check_mark:Succeeded
View

his/core/accessing-configuration-information2.md
:white_check_mark:Succeeded
View

his/core/activate-session2.md
:white_check_mark:Succeeded
View

his/core/activating-a-host-connection-snadis-2.md
:white_check_mark:Succeeded
View

his/core/activating-a-peer-connection-snadis-1.md
:white_check_mark:Succeeded
View

his/core/active-directory-administration2.md
:white_check_mark:Succeeded
View

his/core/active-directory-schema-reference2.md
:white_check_mark:Succeeded
View

his/core/active-directory-services2.md
:white_check_mark:Succeeded
View

his/core/active-link-information2.md
:white_check_mark:Succeeded
View

his/core/active-tn5250-sessions1.md
:white_check_mark:Succeeded
View

his/core/active-users2.md
:white_check_mark:Succeeded
View

his/core/adaptercounter2.md
:white_check_mark:Succeeded
View

his/core/adapterperfdata2.md
:white_check_mark:Succeeded
View

his/core/adapters-and-link-service-problems1.md
:white_check_mark:Succeeded
View

his/core/add-new-item-dialog-box-host-file-designer-1.md
:white_check_mark:Succeeded
View

his/core/add-new-item-dialog-box-visual-studio-1.md
:white_check_mark:Succeeded
View

his/core/added-headers-and-subvectors1.md
:white_check_mark:Succeeded
View

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


Add CachingAuthenticator option to enable negative caches

Problem:
CachingAuthenticator isn't caching negative results (Optional.absent()) because of #947.
But in other cases, not having a negative cache causes a kind of DoS.
If the underlying authenticator requires a little high cost to verify authentication request and the failure will not be cached, many invalid auth requests will cause resource shortage very easily.
In our case, client agents may send so many requests (possibly with invalid auth token by misconfiguration). If we authenticate those requests without negative caches, our underlying authentication endpoint will meet the unexpected number of requests.
Solution:
The change of this pull-requests introduces optional negative caches. CachingAuthenticator will enable negative caches only when it's specified so.

@tagomoris Thanks for your contribution!


Add option to not action on walk

Hi,
Thank you for the mod!
I wish you will add an option in the config file to stop cropping dirt when walking on it with a hoe in hand. Same for the planting seeds when walking on crop dirt.
I am not interested in those features.
Wish you understand, thank you again for this mod

Forget what I am saying, it's another mod that add that.
Thank you for your work


feat: use latest sf-plugins-core and oclif/core

What does this PR do?
Uses sf-plugins-core v2 and oclif/core v2
What issues does this PR fix or reference?
@W-10791948@

@mdonnalley Thank you for upgrading these!


PanLex interface

@kamholz, @leksilo and I have agreed on a simplified schema and API for PanLex, and @kamholz has created an sqlite dump and a Python wrapper for inclusion in NLTK. The wrapper needs to be made into a corpus reader, documented, and added to NLTK.

Hi @stevenbird ,
The datafile for Panlex is quite big. It is more than 800 mb for the dump that contains these common languages:
(u'arb-000', 34, u'arb')
(u'ben-000', 67, u'ben')
(u'cmn-002', 128, u'cmn')
(u'deu-000', 157, u'deu')
(u'eng-000', 187, u'eng')
(u'fra-000', 211, u'fra')
(u'hin-000', 275, u'hin')
(u'ind-000', 298, u'ind')
(u'ita-000', 304, u'ita')
(u'jav-000', 309, u'jav')
(u'jpn-000', 315, u'jpn')
(u'kan-000', 320, u'kan')
(u'kor-000', 357, u'kor')
(u'mar-000', 411, u'mar')
(u'zsm-000', 444, u'zsm')
(u'pan-000', 554, u'pan')
(u'por-000', 579, u'por')
(u'rus-000', 620, u'rus')
(u'spa-000', 666, u'spa')
(u'tam-000', 698, u'tam')
(u'tel-000', 706, u'tel')
(u'tur-000', 738, u'tur')
(u'urd-000', 757, u'urd')
(u'vie-000', 764, u'vie')
(u'wuu-000', 790, u'wuu')
(u'yue-000', 820, u'yue')
(u'zlm-000', 1240, u'zlm')
(u'cmn-000', 1627, u'cmn')
(u'cmn-001', 1628, u'cmn')
(u'cmn-003', 1835, u'cmn')
(u'pnb-000', 2042, u'pnb')
(u'jpn-001', 5590, u'jpn')
(u'kor-001', 6850, u'kor')

The complete dataset is even bigger. But the size is not a problem, so long as performance of sqlite is adequate. Can you report some performance results on a desktop machine with large RAM, for queries to get the translations of words between specific language pairs?

Hi @stevenbird ,
Getting translation for a word between languages is acceptable.
Running with the full dump db4.sqlite (4.2 G), on my computer UbuntuX64, 8Gb ram, Core i7 3.4, the translation from English -> German takes
14s for cat (>50 results)
11s for garden (~50 results)
7s for kite (20 results)
My query is
SELECT ex.tt,ex2.tt
FROM mn
JOIN ex ON (ex.ex = mn.ex)
JOIN mn mn2 ON (mn2.mn = mn.mn)
JOIN ex ex2 ON (ex2.ex = mn2.ex)
WHERE mn.ex != mn2.ex AND ex.lv = ? AND ex2.lv = ? AND ex.tt = ?

This is resolved

Hi, I have problem in unzipping the panlex_life,zip, the status is still unzipping the panlex_life.zip after 8 hours


Add missing call to "VolumeDriver.Mount" during container start.

On container start, volume mounts are setup which should include
invoking "VolumeDriver.Mount" to setup necessary mounts. This was
missing for Windows containers. Fix that.
Signed-off-by: Anusha Ragunathan<EMAIL_ADDRESS>

ping @jhowardmsft PTAL

I'm wondering if this adversely affects Hyper-V containers? @swernli

win2lin is failing due to unrelated known issue 26506

I'll verify this against Hyper-V containers this afternoon, unless you already have @anusha-ragunathan. Myself and @swernli did a quick code inspection, but weren't able to tell if it would regress them. CI only uses Windows Server containers.

@anusha-ragunathan
I did the following manual verification against this branch. Anything else I should be verifying? I'm not entirely sure what scenarios this changes addresses (sorry, not had time to look in detail)
docker run -it --rm -v c:\packer:c:\packer --isolation=hyperv nanoserver cmd /s /c dir c:\packer
 Volume in drive C has no label.
  In many cases volume.Path() may be empty until volume.Mount() is called.

LGTM. I'm not seeing any failures in the local CI run with Hyper-V containers which relates to anything here (CI doesn't run fully against Hyper-V containers yet).

Thanks @jhowardmsft, looks like we have two LGTM's, and all green. Merging


ADDON-34273: globalConfig.json parsing and validation

JIRA Ticket: https://jira.splunk.com/browse/ADDON-34273

Validating the globalConfig.json file
Showing error message if file not found
Showing error message if validation is failed

:tada: This PR is included in version 5.0.0-develop.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


Bug fix: Email not always sent for case notes

To fix a bug in production:
This statement has been closed.
uk.gov.justice.digital.hmpps.hmppsinterventionsservice.jpa.entity.Referral in getCurrentAssignment at line 140
uk.gov.justice.digital.hmpps.hmppsinterventionsservice.jpa.entity.Referral in getCurrentAssignee at line 106
uk.gov.justice.digital.hmpps.hmppsinterventionsservice.service.CaseNotesNotificationsService in emailAssignedCaseWorker at line 66
uk.gov.justice.digital.hmpps.hmppsinterventionsservice.service.CaseNotesNotificationsService in onApplicationEvent at line 32

Which is caused by failing to lazy fetch the currentAssignee from the referral because the session has been closed.
To fix, we fetch the case notes again so it can be lazy loaded.

Sentry exceptions that can be resolved:

https://sentry.io/organizations/ministryofjustice/issues/2650103942/?project=5807819
some of https://sentry.io/organizations/ministryofjustice/issues/2650102896/?project=5807819 (we'd need to start dissecting those from a wrapper)


Fix php 8 ,  Fatal error: Cannot redeclare , Deprecated  Creation of dynamic property

Fix php 8 ,  Fatal error: Cannot redeclare , Deprecated  Creation of dynamic property
Fix error code: header injection to attachment files
Deprecated:  Creation of dynamic property MailSo\Base\StreamWrappers\Literal::$context is deprecated in /var/www/html/rainloop/rainloop/v/1.17.0/app/libraries/MailSo/Base/StreamWrappers/Literal.php on line 65

Deprecated:  Creation of dynamic property MailSo\Base\StreamWrappers\Binary::$context is deprecated in /var/www/html/rainloop/rainloop/v/1.17.0/app/libraries/MailSo/Base/StreamWrappers/Binary.php on line 242

Great! I fixit too, but this project stay freeze


tfsec: 1.27.1 -> 1.27.2

Description of changes
https://github.com/aquasecurity/tfsec/releases/tag/v1.27.2

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

1 package built:

tfsec


Update config.yml

Lighthouse Report:
https://googlechrome.github.io/lighthouse/viewer/?gist=null

Tugboat has finished building the preview for this pull request!
Links:

https://pr7-iheyn8pikx9vlcu8eejqq7eve8nztkid.tugboat.qa
http://pr7-iheyn8pikx9vlcu8eejqq7eve8nztkid.tugboat.qa


Boa-206 Implement Json Interops

Related issue
#114
Summary or solution description
Implemented JsonSerialize and JsonDeserialize interops
How to Reproduce
Call json_serialize or json_deserialize.
Tests
Tested json_serialize and json_deserialize with the TestEngine
Platform:

OS: Windows 10 x64
Version neo3-boa v0.5
Python version Python 3.8

I did a PR, but forgot to remove commented code so I did another one


DFP algorithm  examples?

I was testing the DFP algorithm, I couldn't get the vizdoom env to work, so I tried getting CartPole to work with DFP using the same parameters:
class CartPole_DFP(Preset):
    def __init__(self):
        Preset.__init__(self, DFP, GymVectorObservation, ExplorationParameters)
        self.env.level = 'CartPole-v0'
        self.agent.num_episodes_in_experience_replay = 200
        self.learning_rate = 0.00025
        self.num_heatup_steps = 1000
        self.exploration.epsilon_decay_steps = 10000
        self.agent.use_accumulated_reward_as_measurement = True

I train with:
python coach.py -p CartPole_DFP -e test1

and I get this error:
  File "coach.py", line 272, in <module>
    agent = eval(tuning_parameters.agent.type + '(env_instance, tuning_parameters)')
  File "/usr/local/lib/python3.5/dist-packages/pandas/core/computation/eval.py", line 262, in eval
    truediv=truediv)
  File "/usr/local/lib/python3.5/dist-packages/pandas/core/computation/expr.py", line 727, in __init__
    self.terms = self.parse()
  File "/usr/local/lib/python3.5/dist-packages/pandas/core/computation/expr.py", line 744, in parse
    return self._visitor.visit(self.expr)
  File "/usr/local/lib/python3.5/dist-packages/pandas/core/computation/expr.py", line 313, in visit
    return visitor(node, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/pandas/core/computation/expr.py", line 319, in visit_Module
    return self.visit(expr, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/pandas/core/computation/expr.py", line 313, in visit
    return visitor(node, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/pandas/core/computation/expr.py", line 322, in visit_Expr
    return self.visit(node.value, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/pandas/core/computation/expr.py", line 313, in visit
    return visitor(node, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/pandas/core/computation/expr.py", line 580, in visit_Call_35
    return self.const_type(res(*new_args, **kwargs), self.env)
  File "/home/jtoy/projects/sensenet/related_projects/sensenet-coach/agents/dfp_agent.py", line 23, in __init__
    Agent.__init__(self, env, tuning_parameters, replicated_device, thread_id)
  File "/home/jtoy/projects/sensenet/related_projects/sensenet-coach/agents/agent.py", line 70, in __init__
    self.measurements_size = tuning_parameters.env.measurements_size = (self.measurements_size[0] + 1,)
TypeError: 'int' object is not subscriptable

I tried with several other environments using all the same parameters as the vizdoom examples and they all die with the same error.
Does the DFP algorithm work? Would it make sense to have a DFP example that works with a more simple gym environment for showcasing purposes? The current presets only has DFP running with Vizdoom which is pretty hard to install.

DFP was indeed not working properly.
I pushed some fixes to deal with several changes we've made in previous commits that broke parts of the code. The relevant commit is: 52eb159f696e9cd810072c3a2cc350ae8843f707
I also added a working CartPole_DFP preset you can try out.
From our experience, installing vizdoom is not so painful. We use the following commands which may be helpful for you as well:
sudo -E apt-get install build-essential libsdl2-dev zlib1g-dev libjpeg-dev \
    nasm tar libbz2-dev libgtk2.0-dev cmake git libfluidsynth-dev libgme-dev \
    libopenal-dev timidity libwildmidi-dev unzip -y

pip install vizdoom==1.1.4

export VIZDOOM_ROOT=`pip show vizdoom | awk '/Location/{print $2}'`/vizdoom

Thanks for bringing this issue to our attention

Closing this issue as it seems to be solved.


Dead link

The link, https://mskb.pkisolutions.com/kb/2984655, for text "contact the NVA vendor for assistance" no longer loads.  What would be the correct link to navigate to now?

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

ID: b2c9c95a-dc93-3cc6-ecab-7d039c1b6bd8
Version Independent ID: ada881fd-3c3c-b3bc-1af0-daecd2b18349
Content: Troubleshooting network virtual appliance issues in Azure
Content Source: articles/virtual-network/virtual-network-troubleshoot-nva.md
Service: virtual-network
GitHub Login: @genlin
Microsoft Alias: genli

Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.


Internal routing hook for

This behavior was lost during the router refactor. It was quite a nice feature of the router, offering an intuitive means of navigating between views.
Home


[Create news] The tags are selected automatically when user creats the second news

Environment: OS: Windows 10 Pro
Browser: Google Chrome Version 111.0.5563.112.
Reproducible: always.
Build found: 15.06.2023
Preconditions

User should be registered on Green City site (https://www.greencity.social/#/greenCity)
User is Sign in on Green City

Steps to reproduce

Click on the "Eco news" button.
Click on the "Create news" button.
Fill in all mandatory fields with valid data and select tags (from 1 to 3).
Click the "Publish" button.
Click on the "Create news" button.
Fill in all mandatory fields with valid data and select tags.
Click the "Publish" button.

Actual result
Step 5: The tags from step 3 are selected automatically on the "Create news" page.
Step 7: The "Publish" button is disabled.
Expected result
Step 5: All tags must be unselected on the new "Create news" page.
Step 7: The "Publish" button is enabled.
User story and test case links
"User story #505
Labels to be added
"Bug", Priority ("High"), Severity ("Major"), Type ("Functional").

Step 5: The tags from step 3 are selected automatically on the "Create news" page.

Does not reproduce. Propably fixed with #6670


Clicking on links in JSON viz isn't working any more.

The blue links don't work anymore

Linked to - https://github.com/enso-org/enso/issues/11215


3.5 turbo API not responding

I am currently using the 3.5 turbo API and it is not responding with anything, it also does not give me the time-out error. Open AI does not have an official outage record either, could you please confirm that the library is working as expected?

seems like it is an open ai issue and it is working now.


How to handle max zoom?

Currently we throw an error which seems to break some client side libs. Maybe we just render an empty tile?

We have decided to render an empty tile.


Force :en locale inside ErrorsController to avoid missing translations

Fix #34
When the application is running using a default locale other than :en and not using :en as one of its fallbacks, the time presented inside the errors views will all be showing translation missing messages because the engine is using the custom "datetime.distance_in_words.short" translation set, which doesn't exist on rails-i18n.

Sorry for the delay on reviewing this. Been busy getting married :blush:. Looks good, and great find. Thanks.


Add CString

This PR is still in draft but feel free to review or comment on it
Closes #330

@vrmiguel, do you still plan on working on this?

@reitermarkus If @vrmiguel is busy, maybe can someone take over this work? I'm also interested in this and wouldn't mind to help making changes.


Fix identity assignment when labels are changed

Summary of changes:

Re assign identity based on OpLabels
Create new identity when endpoint labels change

create new identity when endpoint labels change and re assign identity based on all endpoint labels

test-me-please

test-me-please

test-me-please

test-me-please


Do have any way to login by webview.

Hi @jvogit , hi anyone,
The users may not want to login by username/password because of the security.
Does that library have any way to login by the instagram page on webview instead of username/password
Then set the sessionId, login response... into that library.
I try to edit IGClient but not success.
Thank you.

This library uses Instagram's internal API, the same API used by Instagram's Android App. This API is unofficial so there is no other way besides logging in through username and password at some point just like the Android app. You can save the session by saving the session cookies. This way you dont have to relogin every time.


feat(operator): Add new operator for dbt docs generate

Support for dbt docs generate itself is pretty trivial as we only needed a
new configuration and dbt docs generate does not take many
configuration arguments. The biggest challenge of supporting dbt docs generate
is solving the issue of running dbt docs generate in a temporary
directory: there isn't much sense in executing dbt docs generate if we
cannot use the results of the execution. The alternative of pushing
the dbt artifacts to XCom is, of course, still available, but I wanted
to use this an excuse to develop something else.
So, we also added a push_dbt_project method to our S3
hook. This method is called right before exiting the temporary
directory, and can be controlled with a push_dbt_project argument to
the operator. The argument is by default True for the new
DbtDocsGenerateOperator so that we can push the documentation files to
S3. It is also True by default when running DbtDepsOperator since
there was no way for us install dependencies.
In the future, I'd like us to support more "dbt backends" besides S3:
maybe support for pulling projects from Github? SSH and SFTP
connections? Lots of possibilities!
Closes #26

This PR builds upon #27. So we have to merge that one first and rebase this before we are ready to be merged.


Unable to add infra and cloud providers

@h-kataria @dclarizio  - please review

looks good, verified in UI.


time slider showing for mobile torque map with one step

The time slider and play/pause button appear on the mobile version of a one step Torque map. Wasn't the slider removed for these maps?

(moved over from CartoDB/torque#134)

Thanks for moving it here! Getting it fixed right now.

:+1:


chore: Bump crates versions

Which issue does this PR close?

Part of https://github.com/apache/opendal/issues/4923
Rationale for this change

Let's get a new release!
What changes are included in this PR?

Bump crate versions.
Are there any user-facing changes?

Version bump.

Unit tests failed for the reasons I don't know:
The application panicked (crashed).
Message:  at least one dependency instance
Location: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/guppy-0.17.1/src/graph/build.rs:749

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                                ⋮ 8 frames hidden ⋮
   9: core::panicking::panic_display::h2aa80c691b3dbc4e
      at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:150
  10: core::panicking::panic_str::hc1b9be73e6642674
      at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:134
  11: core::option::expect_failed::h87892de25a0c3562
      at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/option.rs:1988
  12: core::option::Option<T>::expect::h428e3b35ca79a3f9
      at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/option.rs:898
  13: guppy::graph::build::<impl guppy::graph::graph_impl::PackageLinkImpl>::new::h3863f8164196929d
      at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/guppy-0.17.1/src/graph/build.rs:749
  14: guppy::graph::build::GraphBuildState::process_package::h8a346a1c5d9b15f8
      at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/guppy-0.17.1/src/graph/build.rs:241
  15: guppy::graph::build::<impl guppy::graph::graph_impl::PackageGraph>::build::{{closure}}::hc438bf2dbb96ee3e
      at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/guppy-0.17.1/src/graph/build.rs:52
  16: core::iter::adapters::map::map_try_fold::{{closure}}::hd8df88dc916c5a7b
      at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/iter/adapters/map.rs:91
  17: core::iter::traits::iterator::Iterator::try_fold::h5093bf4cee9ecea2
      at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/iter/traits/iterator.rs:2461
  18: <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::try_fold::h829e166fa87c4d84
      at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/iter/adapters/map.rs:117
  19: <core::iter::adapters::GenericShunt<I,R> as core::iter::traits::iterator::Iterator>::try_fold::h4f9664a3d199e75e
      at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/iter/adapters/mod.rs:199
  20: <core::iter::adapters::GenericShunt<I,R> as core::iter::traits::iterator::Iterator>::fold::hc01ca0b4f8e554fd
      at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/iter/mod.rs:378
  21: core::iter::traits::iterator::Iterator::for_each::hdff686b140e39f61
      at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/iter/traits/iterator.rs:[857](https://github.com/apache/opendal/actions/runs/10109505163/job/27957585852?pr=4929#step:6:858)
  22: <hashbrown::map::HashMap<K,V,S,A> as core::iter::traits::collect::Extend<(K,V)>>::extend::h5424fdd40cdae18a
      at /cargo/registry/src/index.crates.io-6f17d22bba15001f/hashbrown-0.14.0/src/map.rs:6455
  23: <std::collections::hash::map::HashMap<K,V,S> as core::iter::traits::collect::Extend<(K,V)>>::extend::h810536a12f039de1
      at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/collections/hash/map.rs:3038
  24: <std::collections::hash::map::HashMap<K,V,S> as core::iter::traits::collect::FromIterator<(K,V)>>::from_iter::hce919237945907d3
      at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/collections/hash/map.rs:3023
  25: core::iter::traits::iterator::Iterator::collect::ha45184fae5372a1e
      at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/iter/traits/iterator.rs:2053
  26: <core::result::Result<V,E> as core::iter::traits::collect::FromIterator<core::result::Result<A,E>>>::from_iter::{{closure}}::h3da81aa463c43204
      at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/result.rs:1933
  27: core::iter::adapters::try_process::hbae[863](https://github.com/apache/opendal/actions/runs/10109505163/job/27957585852?pr=4929#step:6:864)ee86ad2283
      at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/iter/adapters/mod.rs:168
  28: <core::result::Result<V,E> as core::iter::traits::collect::FromIterator<core::result::Result<A,E>>>::from_iter::hcc02b9fef8fd556b
      at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/result.rs:1933
  29: core::iter::traits::iterator::Iterator::collect::h31f0ae4464531042
      at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/iter/traits/iterator.rs:2053
  30: guppy::graph::build::<impl guppy::graph::graph_impl::PackageGraph>::build::hfec2f6f9de59f83b
      at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/guppy-0.17.1/src/graph/build.rs:53
  31: guppy::graph::graph_impl::PackageGraph::from_metadata::h720ea849c3fbacbb
      at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/guppy-0.17.1/src/graph/graph_impl.rs:69
  32: guppy::graph::graph_impl::PackageGraph::from_json::h24e4f5f5276ef6cc
      at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/guppy-0.17.1/src/graph/graph_impl.rs:84
  33: cargo_nextest::dispatch::BaseApp::new::ha4ccbed5a1d63f45
      at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-nextest-0.9.59/src/dispatch.rs:923
  34: cargo_nextest::dispatch::AppOpts::exec::hbe60bbfac14d6938
      at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-nextest-0.9.59/src/dispatch.rs:141
  35: cargo_nextest::dispatch::CargoNextestApp::exec::hf2701cea99fc61b2
      at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-nextest-0.9.59/src/dispatch.rs:69
  36: cargo_nextest::main::hff3fa3ff73cc50fa
      at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-nextest-0.9.59/src/main.rs:13
  37: core::ops::function::FnOnce::call_once::h2b7be2a27f97daa3
      at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:250
                                ⋮ 14 frames hidden ⋮

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
Error: Process completed with exit code 101.

All unit tests and doc tests are passed locally, I suggest we can merge this PR first.


Feature: Replace author GUIDs with actual names

In the pagesView.js and postsView.js, the author column is populated with the user GUID that is stored in the respective model. A new API needs to be created that retrieves the users in the system, cross references the GUIDs, and then populates the author column with a name instead of a GUID.
Ideally, this new API would retrieve only the author name and GUID and not expose the password hash.

Created new API that provides user data (minus password hashes), and it's now used to populate the Page and Post tables with author names.


Updating project URL to include '-ga' suffix

Maven Central (https://search.maven.org/artifact/org.apache.httpcomponents/httpclient/4.5.13/jar
) tells wrong URL for the project.

Now it's fixed https://search.maven.org/artifact/org.apache.httpcomponents/httpclient/4.5.14/jar


BobPy

Mod source
Factorio Mod Portal
Which mod are you having an issue with?

[ ] pyalienlife
[ ] pyalternativeenergy
[X] pycoalprocessing
[ ] pyfusionenergy
[ ] pyhightech
[ ] pyindustry
[ ] pypetroleumhandling
[ ] pypostprocessing
[ ] pyrawores

Operating system

=Windows 10

What kind of issue is this?

[X] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[X] Crash
[ ] Progression
[ ] Balance
[ ] Pypostprocessing failure
[ ] Other

What is the problem?

Steps to reproduce
No response
Additional context
No response
Log file
No response

Use of bobs mods can cause crash or other issue. They are not working together at this moment. For compatibility, the best option to make a 3rd mod.
Here is an example: (outdated) https://mods.factorio.com/mod/PyCoalTBaA

Fixed. Thanks for the report.


Convert tparquet::CompressionCodec::type to CompressionTypePB type anyway

Convert tparquet::CompressionCodec::type to CompressionTypePB type even though it's not implemented yet, so that we can know exactly what compression type it is in case of unimplemented error. Otherwise, we can only get something like ERROR 1064 (HY000): unknown compression type(0)

 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.


force uninstall

Feature Request
Enable operator-sdk olm uninstall to remove partial OLM installations.
Describe the problem you need a feature to resolve.
operator-sdk: 1.6.1
OLM: 0.18.3
We install and uninstall OLM in the PMEM-CSI CI. Sometimes when OLM installation fails, the test cluster is left in a state where neither operator-sdk olm install nor operator-sdk olm uninstall work:
$ operator-sdk olm install --version=v0.18.3 --verbose --timeout=5m
    time="2021-12-11T22:36:51Z" level=debug msg="Debug logging is set"
    time="2021-12-11T22:36:51Z" level=info msg="Fetching CRDs for version \"v0.18.3\""
    time="2021-12-11T22:36:51Z" level=info msg="Fetching resources for resolved version \"v0.18.3\""
    time="2021-12-11T22:36:52Z" level=fatal msg="Failed to install OLM version \"v0.18.3\": detected existing OLM resources: OLM must be completely uninstalled before installation"

$ operator-sdk olm uninstall
    time="2021-12-11T22:36:53Z" level=fatal msg="Failed to uninstall OLM: error getting installed OLM version (set --version to override the default version): no existing installation found"

Describe the solution you'd like.
A "force install" for incomplete installations would help resolve this situation.
Alternatively, provide more information about which "existing OLM resources" were detected so that someone can manually remove them. I already tried to delete everything defined by https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.18.3/olm.yaml and that has helped in some cases, but not all. In this case nothing from that YAML file seems to be left but operator-sdk olm install still failed:
https://cloudnative-k8sci.southcentralus.cloudapp.azure.com/view/pmem-csi/job/pmem-csi-periodic/1406/testReport/junit/fedora-1_19.olm-lvm-production/raw-conversion/Testing___1_19___works/
time="2021-12-11T22:36:48Z" level=fatal msg="Failed to uninstall OLM: error getting installed OLM version (set --version to override the default version): no existing installation found"
    + /mnt/workspace/pmem-csi-periodic/_work/govm/ssh.0 kubectl delete -f https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.18.3/olm.yaml
    Error from server (NotFound): error when deleting "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.18.3/olm.yaml": namespaces "olm" not found
    Error from server (NotFound): error when deleting "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.18.3/olm.yaml": namespaces "operators" not found
    Error from server (NotFound): error when deleting "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.18.3/olm.yaml": serviceaccounts "olm-operator-serviceaccount" not found
    Error from server (NotFound): error when deleting "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.18.3/olm.yaml": clusterroles.rbac.authorization.k8s.io "system:controller:operator-lifecycle-manager" not found
    Error from server (NotFound): error when deleting "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.18.3/olm.yaml": clusterrolebindings.rbac.authorization.k8s.io "olm-operator-binding-olm" not found
    Error from server (NotFound): error when deleting "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.18.3/olm.yaml": deployments.apps "olm-operator" not found
    Error from server (NotFound): error when deleting "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.18.3/olm.yaml": deployments.apps "catalog-operator" not found
    Error from server (NotFound): error when deleting "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.18.3/olm.yaml": clusterroles.rbac.authorization.k8s.io "aggregate-olm-edit" not found
    Error from server (NotFound): error when deleting "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.18.3/olm.yaml": clusterroles.rbac.authorization.k8s.io "aggregate-olm-view" not found
    Error from server (NotFound): error when deleting "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.18.3/olm.yaml": operatorgroups.operators.coreos.com "global-operators" not found
    Error from server (NotFound): error when deleting "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.18.3/olm.yaml": operatorgroups.operators.coreos.com "olm-operators" not found
    Error from server (NotFound): error when deleting "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.18.3/olm.yaml": clusterserviceversions.operators.coreos.com "packageserver" not found
    Error from server (NotFound): error when deleting "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.18.3/olm.yaml": catalogsources.operators.coreos.com "operatorhubio-catalog" not found
    + /mnt/workspace/pmem-csi-periodic/_work/govm/ssh.0 kubectl delete ns olm
    Error from server (NotFound): namespaces "olm" not found
    + true
    + /mnt/workspace/pmem-csi-periodic/_work/bin/operator-sdk olm install --version=v0.18.3 --verbose --timeout=5m
    time="2021-12-11T22:36:51Z" level=debug msg="Debug logging is set"
    time="2021-12-11T22:36:51Z" level=info msg="Fetching CRDs for version \"v0.18.3\""
    time="2021-12-11T22:36:51Z" level=info msg="Fetching resources for resolved version \"v0.18.3\""
    time="2021-12-11T22:36:52Z" level=fatal msg="Failed to install OLM version \"v0.18.3\": detected existing OLM resources: OLM must be completely uninstalled before installation"

Hey there,
We tried and were unable to reproduce this. We noticed you're on a pretty old version of Operator SDK, and we were doing this with the newest (1.17). Could you try this with a newer version and see if it works now?
If you're able to reproduce this bug, could you give us the exact sequence of steps you took to do so, including both versions of OLM you installed?
Thanks

I cannot reproduce this reliably either.
From experience I know that the cluster can get into this broken state when installing the OLM CRDs worked, but then creating CRs failed. Does "operator-sdk olm install" retry creating CRs? I think I have seen cases where a CRD was created, but an immediate attempt to use them fails. My theory is that the apiserver still needs some time to process the new CRDs.
Another possibility is that downloading "crds.yaml" worked, but then downloading "olm.yaml" didn't.
So one way to reproduce this would be to run "operator-sdk olm install" under a debugger and kill it after the "crds.yaml" was created. Or do this manually:
$ kubectl create -f https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.20.0/crds.yaml
customresourcedefinition.apiextensions.k8s.io/catalogsources.operators.coreos.com created
customresourcedefinition.apiextensions.k8s.io/clusterserviceversions.operators.coreos.com created
customresourcedefinition.apiextensions.k8s.io/installplans.operators.coreos.com created
customresourcedefinition.apiextensions.k8s.io/olmconfigs.operators.coreos.com created
customresourcedefinition.apiextensions.k8s.io/operatorconditions.operators.coreos.com created
customresourcedefinition.apiextensions.k8s.io/operatorgroups.operators.coreos.com created
customresourcedefinition.apiextensions.k8s.io/operators.operators.coreos.com created
customresourcedefinition.apiextensions.k8s.io/subscriptions.operators.coreos.com created
$ _work/bin/operator-sdk olm install --version=v0.20.0
INFO[0000] Fetching CRDs for version "v0.20.0"
INFO[0000] Fetching resources for resolved version "v0.20.0"
FATA[0001] Failed to install OLM version "v0.20.0": detected existing OLM resources: OLM must be completely uninstalled before installation
$ _work/bin/operator-sdk olm uninstall
FATA[0000] Failed to uninstall OLM: error getting installed OLM version (set --version to override the default version): no existing installation found

WIth no way to reliably reproduce this we can't really fix it. Closing this, but feel free to reopen if you can reliably reproduce the bug.


about key store file

Description
When I use the Key store file,add property "ssl.keystore.location、ssl.keystore.password、ssl.key.password、ssl.truststore.location、ssl.truststore.password" in the config, It throw error:"can not find the property ssl.keystore.location....." ,how can i use librdkafka with key store file,thank you !
How to reproduce
add property "ssl.keystore.location、ssl.keystore.password、ssl.key.password、ssl.truststore.location、ssl.truststore.password" in the config
Checklist
Please provide the following information:

[ ] Confluent.Kafka nuget version:
[ ] Apache Kafka version:
[ ] Client configuration:
[ ] Operating system:
[ ] Provide logs (with "debug" : "..." as necessary in configuration)
[ ] Provide broker log excerpts
[ ] Critical issue

Dup of https://github.com/edenhill/librdkafka/issues/1420


[multiple] Update for externals changes + Ubuntu 24.04 externals builder + various improvements

Addresses #130
Addresses #136
Addresses #139
Addresses #140
Addresses #142
In service of irods/irods#7382
In service of irods/irods#7592
In service of irods/externals#236
In service of irods/externals#239
In service of irods/externals#244
Companion PRs:

irods/irods#7733
irods/irods#7739
irods/irods_client_icommands#477
irods/irods_client_icommands#478
irods/externals#246
irods/irods_testing_environment#210

Ready for review

#'d


Is there a reason this module requires node >=5

I was wondering if there is a reason that this plugin is using node >= 5. I'm running 4.5.0 and it's been working fine for me

If I were to test it on 4.x, it'd be 4.7.2. Version 4.5 is pretty far behind at this point even see: http://node.green/. As of this April, the 4x branch exits LTS https://github.com/nodejs/LTS
If it's your company keeping on 4.x, I'd highly suggest pushing them to jump ahead.
If the plugin works on 4.5, then you can still use it. "engines" in package.json is not "engineStrict" so it should still install.


Add median aggregate rule and update schema examples

Introduced a new 'ComboMedian' aggregate rule for median calculation. Modified the schema examples to include new 'median' attributes. Added unit tests to validate correctness of the new implementation. Also updated README to highlight this addition.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 94.737%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
774

Relevant Lines:
817

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 94.737%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
774

Relevant Lines:
817

💛  - Coveralls


Make issue sidebar sticky

I wish this could be implemented via a simple position: sticky but sometimes the sidebar might be taller than the viewport. Facebook handles this correctly in the profile sidebar on the desktop site.
Last time I did this I used sticky-kit, but alas it's a jQuery plugin.
See the behavior I'm looking for on the demo page, under "Not sure if your sidebar or your main content is taller?" http://leafo.net/sticky-kit/

Reference on Web Fundamentals

That's a good article, but I don't think it contains a solution to the taller than the viewport issue.

but I don't think it contains a solution to the taller than the viewport issue.

That part, we have to figure out by ourselves!

I wish this could be implemented via a simple position: sticky but sometimes the sidebar might be taller than the viewport.

position: sticky already handles that correctly by default: https://codepen.io/jgierer12/pen/GOVvOw

position: sticky already handles that correctly by default: codepen.io/jgierer12/pen/GOVvOw

I didn't realize, but that's not very useful on long pages since it forces you to scroll all the way down to scroll the sidebar:

position: sticky already handles that correctly by default

The problem here is:

not only when viewport < content < sidebar, which is handled by default using position: sticky
but also when viewport < sidebar < content (in the demo as Scrollable Sticky Element)

Sorry if I am being ambiguous, but I was referring to comment thread as content, and condition when viewport height < sidebar height < comment thread height, as you demonstrated in https://github.com/sindresorhus/refined-github/issues/842#issuecomment-350456303

Sorry I misinterpreted. So yes, the gif was already proof :)

If it should be scrollable, we could just do
max-height: 100vh;
overflow-y: scroll;

Like this: https://codepen.io/jgierer12/pen/vWoWgX

Not a fan of nested scrollbars 😕

How else would you solve it if not with scrollbars or the default position: sticky behaviour?

Like sticky-kit does, but without jQuery

Ah, I see now. That would be cool, but I'm not sure if it would be worth the effort if we can just do the scrollbar-based thing in CSS.

Perhaps it can just be done the old way: if it fits, make it sticky (repeat on resize)

if it fits, make it sticky

That would be a good solution too. Especially since sidebar > viewport doesn't happen that often either.


models.device.reboot errors with DeviceNotFound when the device is offline

/supervisor/v1/reboot is (atm) the only supervisor endpoint that we are doing .catch(notFoundResponse, treatAsMissingDevice(uuidOrId)).
We should not silence Request error: No online device(s) found what that's what is returned and still be able to properly detect DeviceNotFound errors both when calling it with an ID or UUID.

Same for device.restartApplication I think.


Boolean set to NULL instead of false

Hello everyone,
When I am tracking changes on my Entities, I noticed that boolean set to false are being shown as set to Null...
I made some verification and I noticed that the false values are sent as "empty" to the twig file...
However, on the audit table, the values are correctly set as "false".
I think the problem come from the reader where may be it don't make a difference between false and null (there might be a missed strict comparison somewhere), but I couldn't find where it happen exactly!
Any clue?
PS: True values are set as "1", I wouldn't mind that it shows as "True"
Thanks a lot!

@bhyassine thanks for the report, I'll have a look at this asap

It works perfectly well! Thanks a lot :-)

@bhyassine 3.3.0 is released


feat(theme-default): improve sidebar headers

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Provide a description in this PR that addresses what the PR is solving. If this PR is going to solve an existing issue, please reference the issue (e.g. close #123).

What is the purpose of this pull request?

[ ] Bug fix
[x] New feature
[ ] Other

Description

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
6 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.4%) to 56.545%

Files with Coverage Reduction
New Missed Lines
%

plugins/markdown/plugin-prismjs/src/node/prismjsPlugin.ts
6
4.76%

Totals

Change from base Build<PHONE_NUMBER>:
0.4%

Covered Lines:
1010

Relevant Lines:
1600

💛  - Coveralls


Retry if curl return code is 18 indicating partial download

Sometimes, when curl tries to download Jtreg, we get return code 18.
This indicates the download only got a partial file.
With this fix, in the event of a partial download we wait 20 minutes
and attempt to download the file again.
This provides additional tolerance of transitory network
issues, etc.
Signed-off-by: Adam Farley<EMAIL_ADDRESS>

Note: I wasn't able to reproduce the issue after adding the last set of echo messages, but we know that the core functionality works because it successfully solved the problem before said messages were added.
https://ci.adoptopenjdk.net/job/grinder_sandbox_iteration_5/2/console
https://ci.adoptopenjdk.net/job/grinder_sandbox_iteration_9/2/console

Looks like the logic is a little bit complex. The main idea is if download is partial sleep 20 mins and retry. May we just check if the return code is not zero then delete the file, sleep 20 mins and retry, which is brutal but simple?

My leaning on this one is to close it without delivering for several reasons:

The download issue was only seen for a few days and has not returned

This does not address but only masks the core issue, which is not understood

If the problem returns, this may not actually properly work around the problem (as in after 60 minutes of waiting we may still fail to download the complete file)

A different approach may be to have a back-up location to pull jtreg from in the event the initial URL fails.  This could be accomplished by pushing the jtreg job successful artifacts elsewhere and see if it can be pulled from there, if the direct job will not serve it up properly.

Closing as advised.
As for Shelley's comments, if the problem doesn't occur again, then it's not a problem. If it does, I'm in favor of option 4.


Reduce the metadata we track per presets

We can grab the class name from the keras.io, and we don't need to add a model card anymore, given that our kaggle pages are now linked and act as a much better model card.

Looks like these failures are Keras 3.7 related. Taking a look.


Assignment 3 - Review of Group 04

Hi Ahn & Eve,
I've been assigned your group to review as part of Assignment 3. Please find my feedback below, and let me know if you have any questions:
Task 1
Following the usage instructions in your repo README, I cloned your repository and attempted to run the scripts, but I had the following error:
C:\Users\iciar\OneDrive\Desktop\School\STAT547\group_04_ahn_eve\Scripts>rscript load_data.R --url="https://raw.githubusercontent.com/STAT547-UBC-2019-20/data_sets/master/airquality.csv" --outfilename="aq.csv"
Error: unexpected symbol in:
"
Usage: load_data.R --url="https"
Execution halted

I then tried to run it with "http" instead of "https" because I have gotten similar errors before (I am working from a Windows, and apparently this can be an issue), but still no luck. I tried to run it without quotes "" because it says unexpected symbol, but still not working. I definitely think this is an issue on my end and not yours, and I read through your scripts and they seem well-written and implement functions and docopt() requirements correctly, so this should be only due to some needed troubleshooting on my end.
Task 2

The dataset you chose is very complete. From my own experience on this project I wish I had chosen a dataset with more numerical observations like yours!

The report is well structured and easy to follow, I like that you added a  methods section clearly outline the steps that are taken in the analysis, and that your tables look very clean.

Your chosen methods for EDA and linear regression analysis make sense with the question you are attempting to answer, and I personally found graph 2 quite interesting, I wouldn't have thought that some gases (benzene) would have essentially no variation over time. From my understanding benzene primarily originates from gasoline service stations and other industrial activities - I wonder if the levels would vary over time in rural vs. urban areas but I know this data is not available for you.

I like that the comments with each graph are brief and concise but provide some context.

Thanks so much for your feedback! Sorry it didn't seem to work on your computer... I wonder what it must be. It seems that it works on most other computers so hopefully there is nothing wrong on our side.
We appreciate the feedback anyway!

it seems that https was a problem, try and replace it with http
if this issue was not fixed, you should have referenced it in the new issue and labeled future work, not just close it.


PR : Add Cython files import and run support

This PR improve Cython support by adding ".pyx" importing and running abilities to consoles.

Automatically compile ".pyx" files when importing them with import (Enable pyximport with file reload option and NumPy support).
Allow to run ".pyx" file with the "Run" button and the runfile  function (Using cython_inline function).
Automatically enable IPython Cython magic.

This is a really great addition, thanks a lot for it!! I think the only thing missing is a test for this.
For that, please take a look at test_run_code in spyder/app/tests/test_mainwindow.py to see how to create one for Cython. You also need to add cython as a conda dependency in circle.yml.

And your test should go to spyder/app/tests/test_mainwindow.py too.

ImportError: No module named 'pyx_lib'
Is there a way to add this path to sys.path on active IPython console ?

I'll help you to fix your test in a couple of days.

Thanks !

@JGoutin, I changed your code to run Cython code using the Cython magic instead of cython_inline (in sitecustomize.py).
This allows to run any Cython file (with cython_inline you can't run a file that starts with cdef or cpdef) and also get its results injected in the console namespace (which is why your tests were failing before, because cython_inline doesn't do that).
However, this approach doesn't take into account the variables defined in the current namespace. But I think that's a minor price to pay for having things to work in a more intuitive way.
Please let me know what you think :-)

Yes, cython_inline seem to have some limitations. Using the magic is better, I agree.
A solution may be to run the compiled Cyhon file in the console (generated with pyximport.pyxbuild.pyx_to_dll). Actually, I don't find a way to run the file, but I am still searching.

Tests are passing (ignore Travis, it's down now), so this is ready from my point of view.
@JGoutin?

@ccordoba12 maybe we can create a spyder-extras? or somethin metapackage to include all the optional things?

or something conda metapackage to include all the optional things?

Yeah, it could be nice to have it for conda, but I wouldn't want to change things for pip ;-)

It's OK for me. If I found an improvement, I'll create a new PR.
And thanks for fixing tests !

It's OK for me. If I found an improvement, I'll create a new PR.

Please make new PRs against the 3.x branch. That's because we're going to release your work in Spyder 3.2 (master is for Spyder 4.0)

@JGoutin thanks for this contribution :-). Would you be interested in writing/cowriting a small blog post to showcase this feature?

@goanpeca Sorry, I am not interested by writing something. 😄


Find the minimum and maximum amount to buy all N candies

Description
To Find the minimum and maximum amount to buy all N candies from store.
Fixes #1187
Type of change

[ ] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project

[x] I have performed a self-review of my own code

[x] I have commented my code, particularly in hard-to-understand areas

[ ] I have created a helpful and easy to understand README.md

[ ] I have made corresponding changes to the documentation

[x] My changes generate no new warnings

[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

@Surajvatsya remove the other file

@Amit366 done bhaiya, deleted other file.


Pop from a full screen (UIWebView) in iPad will make the caller Modal full screen until animation is finished

iOS 11.0  - didn't test iOS 10, can't say if it is the case there too.
Steps to reproduce:
Put iPad in Landscape, open up Settings. Select any fullscreen item (like Review GitHub Access), try to get back to previous page (Done), the rewind transition will get back to a fullscreen Settings (not a modal) at first and when the transition animation is finished, Settings will become a modal again.

I believe this is a bug in UIKit, not GitHawk :(