Virus Alert in Version 0.8.4

Avast Anti-Virus-Scanner put the installer into the virus container.
The installer is classified as a potentially threat.
This happend on all my devices with Avast.
Latest Avast version and antivirus database.

I think it's a false positive, check this online scanresults: https://www.virustotal.com/nl/file/43f78c307cdbf236606ca3d098340e3280257042014fd8c024fa6b5e6ba5a313/analysis/1524655725/

I can pretty much guarantee that the files listed in the last few releases are all virus free. If you are worried about which files you downloaded there are checksums available at the bottom of every release (Version 0.8.4) which you can validate or build the application yourself by using the commands listed in the readme


Fix 60879

Summary
Fix 60879
Ticket Link
Fix https://mattermost.atlassian.net/browse/MM-60879
Release Note
NONE

@enahum From what I have tested, filenames usually are not encoded, so they don't need decoding.
On the other hand (and this is mostly a guess) links should be encoded, and it makes sense to decode them to get the file name.

@enahum From what I have tested, filenames usually are not encoded, so they don't need decoding.
On the other hand (and this is mostly a guess) links should be encoded, and it makes sense to decode them to get the file name.

Can you try a pdf file with spaces attached to a post.. I'm sure there is a reason why it was done this way at some point.. I just don't remember why it was

/cherry-pick release-2.23

Cherry pick is scheduled.


hexparser gives invalid page data

Debugging this for atmega2560
Got invalid page data, had to change hex_parser.c
from
        if (strlen(buff) > 12)
        {
            int start = 9;
            int end = strlen(buff) - 4;
            int size = (end - start) + 1;

to
        if (strlen(buff) > 12)
        {
            int start = 9;
            int end = strlen(buff) - 2;
            int size = (end - start) + 1;

When using hex file starting
:020000040000FA
:100000000C9417010C942B010C942B010C942B01D4
:100010000C942B010C942B010C942B010C942B01B0
:100020000C942B010C942B010C942B010C942B01A0

Root cause found. Hex file generated by arduino IDE does not have line end char 0x0d, while hex generated by Atmel Studio has.
Fixed by checking if there is line end;
.....
int start = 9;
int end = strlen(buff);
if(buff[end-1]<30)       //Remove any line end char e.g. 0d
{
    buff[end-1]='\0';
    end--;
}
end = strlen(buff) - 2;
int size = (end - start) + 1;

.....


stages: add systemd-journald stage

This stage allows to configure the journald storage options. It will be set as persistent, aka on disk storage, by default.
Related to osbuild/osbuild-composer#3056

cc @gicmo

All the requested changes have been made (although it still shows one as pending) and all the tests pass on my fork.

(Oh, and please make sure to rebase on main since some CI-bits were broken just a day ago.)

Updated with the requested changes and rebased :+1:

@achilleas-k all the requested changes should be there

there are faling jobs which I think are not related https://gitlab.com/redhat/services/products/image-builder/ci/osbuild/-/pipelines/672067292 can somebody retrigger them?

Thanks all for the reviews!


HomeKit unresponsive when changing settings from a large group

I started using the plugin now, currently I have 11 Zigbee lights that are not compatible with HomeKit. After the plug-in exposed them, I tried grouping all as 1 device and it works. However, if I try to change the brightness or change colors, my whole app starts freezing and becomes extremely unresponsive, is there anything I can do to mitigate that? Using adaptive lights is pretty much impossible, since the app will completely stop work. I’m using a Hue Brige v2, don't know if that's relevant or not.
Thank you for all the help and for the plug-in.

Please attach the debug dump file, and capture and attach a debug log file.  See the FAQ on how to do that.
What HomeKit app are you using?  What version of iOS?
In general, using groups on the Hue bridge is more responsive and more reliable than using HomeKit groups.


Tests for Viewer

There is currently too much manual testing required to land changes to the viewer. There are some tests that currently live in mozilla central for the viewer, but I'd like to see more tests live in the pdf.js repo. I don't have much of an opinion on what framework we use, but it would nice if this ran on travis.
-- Update --
Overall, I think it would be best to follow a test pyramid. How we can effectively unit test the viewer is a harder problem. Some colleagues working on firefox devtools and hello have had a lot positive things to say about testing their react pieces, but rewriting with react would be no minor under taking.

Do you already have ideas on how this should work and do you know of any frameworks that can be used? I recall having looked into this a long time ago and back then there did not appear to be much for our use case. I agree that it would be nice if it could run on Travis and recently I read that Travis can also start browsers like Firefox and Chrome, only not IE I guess ;-)
How do the tests at Mozilla Central work? Do they check for example visibility of DOM elements or do they use screenshots? The latter is more difficult on Travis, the former should be doable.

My initial thoughts were selenium or marionette( though I don't think this supports chrome). We could also use our current framework and try to build on top of that. Or there is also casperjs, but this runs older version of gecko and webkit.
The mozilla central tests usually just check the existence of something, you can fine them at:
https://mxr.mozilla.org/mozilla-central/source/browser/extensions/pdfjs/test/

Marking as a good beginner bug as this does not require much knowledge of the PDF.js codebase to work on. Perhaps contributors from other JS projects have experience with integration testing to help us out with this. The first step will be to choose and add the integration testing framework. After that, we should iterate on adding tests.

@timvandermeij May I know if this issue is still outstanding?

Yes, this issue is still open. Feel free to discuss this with us on IRC if you have questions or want to know how to proceed with this.

@timvandermeij
Hi, I'm Issei.
Could I work on this issue?

Yes, feel free to work on this.

Isn't this issue essentially fixed by PR #12668 now, since the integrationtest framework tests can (and do) cover various aspects of the viewer.

Yes, indeed. More tests can be added when we need them, but the framework is now in place.


Fixed a bug in the Constructor of Department class

The code snippet which shows the Department Model class has bug. I changed this.Course = new HashSet(); to this.Courses = new HashSet();

Thanks!


add class and style interfaces

This PR adds more typed interfaces for adding classes and styles, using the DOM APIs under the hood.
I'm opening the PR for discussion. If it's accepted, I'd like to do some tidying up and adding tests before merging.

Thanks for the review, and for linking to the great conversations that I missed on zulip. I'll do another draft based on the comments when I get chance.

Hi @Philipp-M I've made some of the changes you suggested, and in particular went in ot the trait-based polymorphism approach. Let me know what your thoughts are.

Looks good, thanks. Just this comment (was probably missed):

... so to be completely accurate (as e.g. MathML AFAIK doesn't support style) it would make sense to put Element::style in HtmlElement::style and SvgElement::style (methods { fn style(..) {..} } in dom_interface_macro_and_trait_definitions)

But I can do that in a follow-up PR too and it's not super important

I'm not 100% sure I know exactly what you're asking for. Perhaps you could do this in a follow-up PR? :)


develop and test against redis version 6.0.8

Pull Request check-list
Please make sure to review and check all of these items:

[x] Does $ tox pass with this change (including linting)?
[ ] Does travis tests pass with this change (enable it first in your forked repo and wait for the travis build to finish)?
[ ] Is the new or changed code fully tested?
[ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.
Description of change
Please provide a description of the change here.

Codecov Report

Merging #1398 into master will decrease coverage by 0.02%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master    #1398      +/-   ##
==========================================
- Coverage   85.92%   85.90%   -0.03%
==========================================
  Files           6        6
  Lines        2892     2894       +2
==========================================
+ Hits         2485     2486       +1
- Misses        407      408       +1

Impacted Files
Coverage Δ

redis/client.py
85.93% <66.66%> (-0.04%)
:arrow_down:

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 686116d...057e194. Read the comment docs.


Fix Appveyor

All tests in the recent Appveyor build (https://ci.appveyor.com/project/yebai/turing-jl/branch/master/job/3a3kfg647wyipjiu) pass but Appveyor still gave us error?

Hopefully this is fixed now on the master branch.

AppVeyor is running now, but there are some failed tests.

Seems they are not Turing.jl errors. Win32 simply failed to install Cairo.jl

I checked the Cairo package; seems their tests on Win32 fails too, so it's not a Turing issue.


DevExpress.data.AspNet.createStore do not keep Ajax settings

DevExpress.data.AspNet.createStore do not keep settings from $.ajaxSetup
This is usefull while you set authentication header to all requests.

Close due to internal error.


Xp gain

Since fuw days i get no more xp when i use the bot . Just me ?

still working for me

strange xp gain stopped on lv 56 also spawning as a 10mass cell , when i play manual without script it works just fine

If you press ESC when the bot is running, are you connected to Facebook?

yes

Is it fixed with the latest update?

its been fixed for a while... mines been gaining xp since the last update i think

checking now !

Any news?

yea works , but doesnt restart when dead or even autostart


Using two different languages and two different sampling rate in single data set

Can i use two different languages to generate embeddings and then train the model with those embeddings? And what is the effect of using different sampling rate of audio file in order to generate embeddings?
Please guide me because i'm unable to generate embeddings because i got the following error.
Thanks in advance

I got this same error for my training as well, installed apt-get install FFmpeg and resolved.
you can refer this link https://github.com/librosa/librosa/issues/219


pulling unqualified reference: make sure it's a docker reference

When pulling an unqualified reference (e.g., fedora) make sure that
the reference is not using a non-docker transport to avoid iterating
over the search registries and trying to pull from them.
Fixes: #4434
Signed-off-by: Valentin Rothberg<EMAIL_ADDRESS>

LGTM

/lgtm


dispatchFrom and dispatchFromArray No Longer In DispatchesJobs Trait

I commonly use dispatchFrom along with a FormRequest object to make use of the data submitted by the user to my applications. I use the exact methodology described in the documentation here:
http://laravel.com/docs/master/queues#dispatching-jobs-from-requests
I've noticed that the DispatchesJobs trait in the master and 5.2 branches no longer includes dispatchFrom and dispatchFromArray methods. They were removed about a week ago (but I notice that the methods still exist in Illuminate\Contracts\Bus\Dispatcher). So do the docs need to be updated to show that these methods are no longer available in the trait?

They were removed in 5.2.

And the docs?

Ping @taylorotwell. Seems the removal was incomplete.

Apologies - my IDE was lagging behind. Illuminate\Contracts\Bus\Dispatcher no longer contains the old methods. But the docs don't seem to be up-to-date with these changes.

The 5.2 docs aren't necessarily kept up to date daily. They are updated before release.

Why was this removed? I've found it very useful...

They're not coming back, and non-self handling thing are not coming back I'm afraid.

If you need to use the old bus, the Laravel Collective are maintaining it:
https://laravelcollective.com/docs/5.2/bus
I've just re-written my dispatchers though.

Was there a particular reason this was done away with?

Taylor just doesn't like the idea, as far as I understand.

Can I also recommend https://github.com/AltThree/Bus. :trollface:

I guess because it forces us to write what we pass into the job, it becomes more readable?

There's probably a performance benefit to manually mapping in all the parameters instead of having that done automagically for you.

It would be helpful to mention this in the 5.1 --> 5.2 upgrade guide. As far as I can see, it's not there.


Configuration Path as an Arg

Allows passing --config as an arg, so you can have multiple configuration files around
Updates go-git from a v4 with security vulns/archived to v5 (actively maintained)

@pquerna can you also help to fix the readme file?


documentation wrong about when vue.config.js configureWebpack is a function with return value

According to this https://github.com/vuejs/vue-cli/blob/7d2b345af3b029205675366b725c521e5ccd0495/packages/%40vue/cli-service/lib/Service.js#L241
configureWebpack() return value will be merge to config, and do not need manual merge in vue.config.js
But the documentation says that
https://cli.vuejs.org/config/#configurewebpack

If the value is a function, it will receive the resolved config as the argument. The function can either mutate the config and return nothing, OR return a cloned or merged version of the config.

this will make developer to manual merge the config and return.
and will result error like this
WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.entry should be one of these:
   function | object { <key>: non-empty string | [non-empty string] } | non-empty string | [non-empty string]
   -> The entry point(s) of the compilation.
   Details:
    * configuration.entry should be an instance of function
      -> A Function returning an entry object, an entry string, an entry array or a promise to these things.
    * configuration.entry['app'] should be a string.
      -> The string is resolved to a module which is loaded upon startup.
    * configuration.entry['app'] should not contain the item './src/main.js' twice.
    * configuration.entry should be a string

configuration.entry['app'] should not contain the item './src/main.js' twice.
BTW, the issue tool also has issues, the version can not be filled

i have a similar issue, because i return a self merged webpack config, then i directly return self-configed webpack-config object, it's resolved.

in configureWebpack just mutate configs and don't need return anything, otherwise you will get this error.
just do as the sample config


Bug: TW5-Bob v1.7.1, "Make wikis available on local network" not working anymore

Since TW5-Bob v1.7.1 the service can not be enabled anymore. I guess it has something to do with the change to https. With the old settings.json file of v1.6.2, where I enabled the service previously, I can access my wikis (http not https) despite Bob's control panel  says "Wiki Server Address (not available on local network) ". However, I cannot disable or re-enable the service within Bob's settings tiddler.
The settings.json show one difference: The host changed from <IP_ADDRESS> to <IP_ADDRESS>
I hope this report helps to fix the issue.

[ ] Windows
[ ] OSX
[x] Linux (Arch Linux (PC), Arch Linux ARM (Raspberry Pi))
[ ] Other

and using

[x] The nodejs version
[ ] The single file executable

Before posting, I read issue guidelines and:

[x] I am using the newest version
[x] The answer to my question isn't listed in the documentation or this isn't
a question
[x] This is not a duplicate issue
[x] I have not done anything that required me to set acceptance to
I Will Not Get Tech Support For This

This should be fixed in the next release

This should be fixed in the next release

Thank you for the update

Thank you for the update

It has been a long time and this should be fixed, at least in the newest version, so I am closing this issue. If it is still a problem leave a comment letting me know and I will reopen it.


feat/add icons in navbar

fixes #40 Add icons in navbar
#40
under gssoc'24

Please ask to be assigned to the issue before start working on it.

can you assign this issue to me and mark under gssoc'24

@Shubh942
@HimanshuNarware


[FEATURE] Linux VST support

I would love to be able to use ChowMatrix on Linux with reaper (it dosen't support lv2 plugins). I have literally no experience with building VSTs and my flawless plan of copy pasting the projucer builder from analogue tape model unsurprisingly did not work. Your help would be much appreciated!
Thanks!

Thanks for the question. Just to clarify, do you need the VST2 version, or does Reaper support VST3 plugin as well? VST3 should build "out of the box", but VST2 needs some extra steps since Steinberg doesn't allow the VST2 SDK to be distributed with the rest of the plugin code.
Also, I remember reading somewhere that Reaper might start supporting LV2 plugins soon...!

VST3 works great! Reaper LV2 is ever elusive ;)

Great! To use VST3 on Linux, here's what I do. First, build normally with CMake:
cmake -Bbuild
cmake --build build --config Release

Then copy the VST3 build to your VST3 path. For me this is
cp -R build/ChowMatrix_artefacts/VST3/ChowMatrix.vst3 ~/.vst3/

but it may be different depending on where your VST3 path is, and which CMake generator you're using.
Please let me know if you run into issues with this!

That works perfectly!  You might want to put the locations of the files in the Readme. Thanks for your help!

I proposed a commit with the changes I mentioned.

Awesome, thanks for the assist!


Propagate bundle envs from rb_bundle to rb_binary

Updated binary.bzl logic to propagate bundle envs from rb_bundle to rb_binary by generating a defs.bzl file in rb_bundle and load the necessary env vars. This prevents having to re-construct BUNDLE_* env vars in binary.bzl (and makes sure it's using absolute path for everything).
Not sure if there are side-effects for propagating all of them, we can definitely be selective about it as needed.
Want to post this PR early to get some initial feedback on the approach. I have yet updated test.bzl and gem_build.bzl accordingly. LMK what you think @p0deje !
Fixes https://github.com/p0deje/rules_ruby/issues/9, but slightly different, instead link_bundle_gems, continue to depend on @bundle in the (transitive) deps similar to today.

note: left rb_gem_build as is for a follow-up to keep the scope of this PR small.

May I ask you to implement rb_gem_build too? This PR breaks in Selenium unless I work it around by adding empty bundle_env = {} to the ruby/private/gem_build.bzl. Probably worth adding some kind of a test too in examples/gem.
ERROR: /Users/p0deje/Development/SeleniumHQ/selenium/rb/BUILD.bazel:197:10: in rb_binary rule //rb:console:
Traceback (most recent call last):
	File "/private/var/tmp/_bazel_p0deje/d9f7ca256f773f0ccaaf86cfc9fd2df8/external/rules_ruby/ruby/private/binary.bzl", line 109, column 32, in rb_binary_impl
		bundle_env = get_bundle_env(ctx.attr.env, ctx.attr.deps)
	File "/private/var/tmp/_bazel_p0deje/d9f7ca256f773f0ccaaf86cfc9fd2df8/external/rules_ruby/ruby/private/providers.bzl", line 68, column 45, in get_bundle_env
		bundle_env.update(dep[RubyFilesInfo].bundle_env)
Error: 'RubyFilesInfo' value has no field or method 'bundle_env'
Available attributes: transitive_data, transitive_deps, transitive_srcs


Run ShellCommand dependency parsing at high priority

This ensures dependency file parsing runs as soon as possible after a task finishes, in FIFO order when using the LaneBasedExecutionQueue. Previously, it could run significantly later when many tasks were enqueued, delaying "task finished" callbacks despite the fact that very little work remained to be done.
rdar://96151636

This could have unintended consequences on build performance.  Pushing it to high priority means we'll inject discovered dependency scan tasks potentially ahead of other build work.   It probably isn't a big deal, but also is this really necessary?  The client should already be getting a process finished callback.

This could have unintended consequences on build performance. Pushing it to high priority means we'll inject discovered dependency scan tasks potentially ahead of other build work.

I understand the concern, but I do think it's unlikely to have a meaningful impact, since parsing a dependency file is cheap enough to not significantly delay any enqueued tasks that might unblock additional downstream work, and the current prioritization of tasks by build key is often arbitrary.

The client should already be getting a process finished callback.

It will receive one for the process execution, but there aren't any callbacks for the start of dependency parsing, so there's no way for the client to know if/when a command has 'yielded' its execution lane while waiting for the second job to be scheduled. We could add new API for this, but I'm not sure it's worth it for this one specific situation.

Ah, yes I see it.  These do block the result because dep scanning can fail.   I retract my comment and instead suggest we also fix the ClangShellCommand's dep processing too, for consistency.    That way all three ShellCommand are doing the same thing.

@dmbryson sounds good to me! I'd forgotten to check ClangShellCommand, thanks for pointing that out

@swift-ci please smoke test


Problem with solution in CVXPY in v1.0.31 returns unbounded in v1.1.0

1.0.31 produces a solution and 1.1.0 reports the problem as unbounded. (It produces the same result with any of the 1.1.* versions.)
It looks like it's generating very different problems for the solver when I change versions.
A and G are different dimensions, dims is different, h is different, and the inverse data is very different (only start shown). c is identical.
Version 1.0.31:
[{'A': <8761x35040 sparse matrix of type '<class 'numpy.float64'>'
	with 35040 stored elements in Compressed Sparse Column format>,
  'G': <123005x35040 sparse matrix of type '<class 'numpy.float64'>'
	with 175198 stored elements in Compressed Sparse Column format>,
  'b': array([-0., -0., -0., ..., -0., -0., -0.]),
  'c': array([-36.73, -36.47, -36.57, ...,   0.  ,   0.  ,   0.  ]),
  'dims': (zero: 8761, nonpos: 123005, exp: 0, soc: [], psd: []),
  'h': array([ -0.,  -0.,  -0., ..., 800., 800., 800.]),
  'offset': array([0.])},
 Chain(reductions=[<cvxpy.reductions.dcp2cone.dcp2cone.Dcp2Cone object at 0x12c3953d0>, <cvxpy.reductions.cvx_attr2constr.CvxAttr2Constr object at 0x12c395580>, <cvxpy.reductions.eval_params.EvalParams object at 0x12c395c70>, <cvxpy.reductions.dcp2cone.cone_matrix_stuffing.ConeMatrixStuffing object at 0x12c3917f0>, <cvxpy.reductions.solvers.conic_solvers.ecos_conif.ECOS object at 0x12b0c8910>]),
 [<cvxpy.reductions.inverse_data.InverseData object at 0x12c391190>,
  [{0: ('var7186', Variable((8760,)), None),
    1: ('ene', Variable((8760,)), None),
    2: ('dis', Variable((8760,)), None),
    3: ('ch', Variable((8760,)), None)},
   {0: ('pv_out', Variable((8760,), nonneg=True), None),
    1: ('ene', Variable((8760,)), None),
    2: ('dis', Variable((8760,)), None),
    3: ('ch', Variable((8760,)), None)},
   {30: 30,
    34: 34,
    38: 38,

Version 1.1.0:
[{'A': <8761x43800 sparse matrix of type '<class 'numpy.float64'>'
	with 35040 stored elements in Compressed Sparse Column format>,
  'G': <26280x43800 sparse matrix of type '<class 'numpy.float64'>'
	with 26280 stored elements in Compressed Sparse Column format>,
  'b': array([0., 0., 0., ..., 0., 0., 0.]),
  'c': array([-36.73, -36.47, -36.57, ...,   0.  ,   0.  ,   0.  ]),
  'dims': (zero: 8761, nonneg: 26280, exp: 0, soc: [], psd: []),
  'h': array([0., 0., 0., ..., 0., 0., 0.]),
  'param_prob': <cvxpy.reductions.dcp2cone.cone_matrix_stuffing.ParamConeProg object at 0x122d3a880>},
 Chain(reductions=[<cvxpy.reductions.dcp2cone.dcp2cone.Dcp2Cone object at 0x121e152b0>, <cvxpy.reductions.cvx_attr2constr.CvxAttr2Constr object at 0x121e154f0>, <cvxpy.reductions.eval_params.EvalParams object at 0x121e0f160>, <cvxpy.reductions.dcp2cone.cone_matrix_stuffing.ConeMatrixStuffing object at 0x121e0f850>, <cvxpy.reductions.solvers.conic_solvers.ecos_conif.ECOS object at 0x120e07ca0>]),
 [<cvxpy.reductions.inverse_data.InverseData object at 0x121e0b340>,
  [{0: ('var0', Variable((8760,)), None),
    1: ('ene', Variable((8760,)), None),
    2: ('dis', Variable((8760,)), None),
    3: ('ch', Variable((8760,)), None),
    4299: ('var4299', Variable((24,)), None),
    4319: ('var4319', Variable((24,)), None),
    4339: ('var4339', Variable((24,)), None),
    4359: ('var4359', Variable((24,)), None),
    4379: ('var4379', Variable((24,)), None),
    4399: ('var4399', Variable((24,)), None),

To Reproduce
Data files and code to reproduce this can be found here https://github.com/kmonson/cvxpy-1.1-bug.
git clone https://github.com/kmonson/cvxpy-1.1-bug
cd cvxpy-1.1-bug
pip install -r requirements.txt
./test.sh

test.sh will dump info about the created problems to 1.0.31.txt and 1.1.0.txt respectively.
Expected behavior
1.1.0 should produce the same output (except for floating point error) as 1.0.31
Version

OS: macOS Catalina
CVXPY Version: 1.1.0

This is a real mystery! I looked into it and am not really sure what the cause is. @rileyjmurray did we make a switch from NonPos to NonNeg at some point in the 1.1 upgrade for the conic standard form? There are a lot more (slack?) variables in the 1.1 output. Of course that shouldn't affect the correctness.

Probably for debugging purposes we should have some way to record the output of every stage of the reduction chain.

Also @kmonson really nice job setting up this debugging example! We'll figure this out eventually.

@SteveDiamond Thanks!
I messed around with it earlier this week and, unfortunately, I couldn't find any parts of the problem I could strip out and maintain the same behavior for both versions of cvxpy. We might be able to reduce the size of the problem down from 8760 to 24-48 just to make it less unwieldily, but I ran into problems last time I tried that. I'll give it another shot and let you know.

@SteveDiamond I was able to truncate the data to one day's worth and it still manifested the problem. I just pushed it out to the bug demonstration repro. It reduces the problem size dramatically.

Thanks!
Sent with GitHawk

Definitely the switch from nonpositive to nonnegative as the default constraint has something to do with it. The strangest thing to me is that in 1.1 the vector h is all zeros. That seems wrong.

Ok the reason you're seeing this is because you use NonNeg and NonPos directly instead of the normal <= constraints. Something is wrong with the canonicalization of NonNeg and NonPos.

Ah, that gives me a path forward to try to fix it on my end. I'll mess around with it and see if it can be made to work.

I'll leave the code as is in the bug demo repo, naturally.

Removing all calls to Zero and NonPos and replacing them with equivalent operators fixes the issue. The results are identical (ignoring floating point error). I'm going to make some updates to the bug demo repo to facilitate validating a fix for the original problem.

The updated version of the bug demo repo is up.
It now captures the result in a csv file if it was optimal for each run.
It now runs 4 cases:
1.0.31 with and without using Zero and NonPos (mostly so I can ensure that my switch to using operators was done correctly)
1.1.0 with and without using Zero and NonPos.
Replace pip install cvxpy==1.1.0 in test.sh` to install a fixed version. If it's working correctly then 1.1.0.csv should be within floating point error the other 3 csv files.

Fixed by #1277


Cant share anything if the app is active

The following results in weird behavior in iOS:
-Open app
-take screenshot of app
-share that screenshot to app while its open
-nothing happens
-EVEN WEIRDER:  if you close the app, then reopen, it will share.
Does this plugin support sharing while the app is open?  Thanks

It looks like in the OpenWithPlugin.m the method - (void) pluginInitialize { seems to only check if theres files to be uploaded when the app becomes active, I've tried using a custom NSNotification from ShareViewController.m when a file is shared but its never captured in OpenWithPlugin.m.
Any suggestions?


[DOCUMENTATION] Rename path operation to endpoint

All over the docs, you mention path operations. This is very confusing because it implies you are taking the request "path" and doing some operation to it. What you actually mean is endpoint (and you parenthesise as such in several places). Endpoint is a much less ambiguous term consistent with other web servers, including Starlette itself. I suggest you replace all the occurences of path operation with endpoint. (Unless you have some particular reason for calling it a path operation...)
PS: You may have noticed I've opened and commented on issues about 1000 times in the past 24 hours - this is because I'm in quarantine and have literally nothing else to do

Hello @retnikt whats the status of the issue? if its unresolved can I work on it? I'm new to open source

@Akshatt this issue is still open, but I am waiting for feedback from a project member. If someone accepts this then you could help with the change

Thanks for the suggestion, but it's actually intentional. An "endpoint" or "route" are terms referred by many frameworks to handlers for multiple HTTP methods.
I'm using the same terminology from OpenAPI, using path for a specific route, and operation  for an HTTP operation or method (in OpenAPI they are called "methods").
Each path operation deals exactly with one combination of a path (route/endpoint) and an operation (HTTP operation, method).
So, to avoid confusion, I decided to use that new "term", and to make sure it is clear in the docs I made sure it has a specific format everywhere it is used.
That's also why all that is explained in the first steps while starting the tutorial here: https://fastapi.tiangolo.com/tutorial/first-steps/#step-3-create-a-path-operation


Documentation search doesn't work for old versions

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔

I can go to an old version of the docs (e.g. https://v3-9-0.material-ui.com/) and search links will work
Current Behavior 😯

Search links are all for the latest version of the documentation (https://material-ui/com) and clicking on them shows an error message because the docs app detects that the link has a different host than the page origin.
Is there a way to make the search provider work for each version of the docs?
Steps to Reproduce 🕹

Go to https://v3-9-0.material-ui.com/
Type Drawer in the search
Click on the link for the Drawer component (it is https://material-ui.com/components/drawers/#drawer, wrong origin)
Error message:

Page Not Found
Looks like you've followed a broken link or entered a URL that doesn't exist on this site.

Context 🔦

Haven't had time to update to v4 yet.  Need an easy way to access docs for 3.9

Duplicate of #16033.

ah, sorry, not sure why I wasn't able to find that


Timestream Write Add a convienient way to access record

Hi,
For the @mock_timestreamwrite can you add a convienient way to access to the table data?
Thank

Hi @tuscaonline, this is how we verify the table data in our own tests:
from moto.core import DEFAULT_ACCOUNT_ID as ACCOUNT_ID
from moto.timestreamwrite.models import timestreamwrite_backends

backend = timestreamwrite_backends[ACCOUNT_ID]["us-east-1"]
records = backend.databases["mydatabase"].tables["mytable"].records

Does that work for you?

Oh thank you very much.
Can you add it to the manual ? It would be perfect

Done!
http://docs.getmoto.org/en/latest/docs/services/timestream-write.html


Attempting to speed up photo scans by avoid hash recalculations and using larger buffer size when it happens

Looks good to me 👍


Unable to resolve module url from node_modules/ajv/lib/compile/resolve.js

I tried using Ajv in a React Native app, however I wasn't even able to include the module (see the screenshot). I tried the stable version, as well as 5.0.3-beta, same thing happens. I used the code example in the docs:
var Ajv = require('ajv');
var ajv = new Ajv(); // options can be passed, e.g. {allErrors: true}
var validate = ajv.compile(schema);
var valid = validate(data);
if (!valid) console.log(validate.errors);

But like the error says, I wasn't able to validate anything, it was failing even before with the require('ajv') statement.

It says something about "url" module not found. It is a core node.js module that would also be able if you were to use browserify.
It also mentions https://github.com/facebook/react-native/issues/4968

As a workaround I can suggest using supplied bundle - it exports global Ajv.

Thanks!

@claudiorodriguez do you know how to solve it?

I have the same issue but with the "@google/maps" module. Unable to resolve module 'url'
var url = require('url');

@nenti @pavlelekic I think including url module from npm as your app dependency can help. Please let me know.

@epoberezkin I can confirm that adding url as a dependency works.

@superandrew213 thank you

How do you add url as dependency of your React Native project?

@jsaucedo npm i --save url

yarn add url


Improve event forwarding and documentation

Describe what feature you'd like. Pseudo-code, mockups, or screenshots of similar solutions are encouraged!
This will be a larger scale audit and update, but most components include little to no event bubbling (reading: passing the event up to the component definition). This leaves users to guess or review the source code to know what events are present and available.
The new doc format provides a dedicated tab for Events, so we should look to update each component and document accordingly.
What type of pull request would this be?
Documentation
Any links to similar examples or other references we should review?
The SlideToggle component is one that has a lot of events set to bubble. By tapping the Label element the expected event bubbles. Unfortunately these events not currently documented, which illustrates my point.

Given Sveld can handle events, this should occur after the auto-doc updates.

Stepper: add on:next event. Document missing on:complete event

Paginator component's on:amount event doesn't emit the proper amount/page size. To reproduce:

Go to https://www.skeleton.dev/components/paginators
Inspect element anywhere on page and open the JavaScript console
Toggle the example paginator's amount
Note the resulting console.log statement always prints 0 despite the changed page size


How to automatic routing "/admin" ?

The package is great! I Love it.
my route in admin.php like this
Route::resource('amenities', 'AmenityController');
when I try in view: {!! route('amenities.show', [$amenity->id]) !!} its error
Route [amenities.show] not defined. ```

So I must add `admin` to `{!! route('admin.amenities.show', [$amenity->id]) !!}` then it works.

Is there any solutions without add `admin` keyword to route?

another solution is, create the route in `web.php` & add middleware.
the code like this

Route::group(['prefix' => 'admin', 'middleware' => 'admin'], function () {
Route::resource('amenities', 'AmenitiesController');
});

@ganjarsetia Sure, there is solution. Go to app\Providers\RouteServiceProvider.php and remove line:
    protected function mapAdminRoutes()
    {
        Route::group([
            'prefix' => 'admin',
            'as' => 'admin.', //<- remove
            'middleware' => ['web', 'admin'],
            'namespace' => $this->namespace,
        ], function ($router) {
            require base_path('routes/admin.php');
        });
    }


workflows/doctor: use ephemeral runners

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

This workflow hasn't been set up to run on our ephemeral runners. Let's
fix that.

Review period will end on 2022-11-25 at 06:17:22 UTC.

Review period skipped due to critical label.

I've enabled this repo in the GitHub App settings, so should work now.

Some of it will be updating homebrew-core being slow (ephemeral will have an older copy while non-ephemeral will be near up-to-date from the last run) and needing to run brew install-bundler-gems (which we could cache).
Cleanup slowness on Monterey still needs further investigation.

Some of it will be updating homebrew-core being slow (ephemeral will have an older copy while non-ephemeral will be near up-to-date from the last run)

Perhaps we could avoid doing this at all for Homebrew/brew usage?

needing to run brew install-bundler-gems on an older install (which we could cache).

actions/cache feels like a good call. also: why do we need these gems for brew doctor?

Cleanup slowness on Monterey still needs further investigation.

Is this pre-cleanup?

why do we need these gems for brew doctor?

We don't really but it's a fixed part of --only-setup.

Is this pre-cleanup?

Yes. We could skip it, but I'm a bit concerned something that should be doing little to nothing is taking 3 minutes so this feels like something's wrong.

We don't really but it's a fixed part of --only-setup.

Gotcha. Could definitely remove or move to another --only where these gems are actually needed.

We could skip it, but I'm a bit concerned something that should be doing little to nothing is taking 3 minutes so this feels like something's wrong that's indicating something to fix in the base image.

Agreed 👍🏻.
IMO we should do the bare minimum to only cleanup the stuff brew doctor complains about that. Could experiment with faster ways of doing this e.g. renaming /usr/local/include to /usr/local/include.old instead of moving to /tmp.

We don't really but it's a fixed part of --only-setup.

Gotcha. Could definitely remove or move to another --only where these gems are actually needed.

How much of the setup do we need? (Or the cleanup steps, for that matter?) I'm wondering if we can cut those all out and run setup-homebrew and then call brew doctor.

IMO we should do the bare minimum to only cleanup the stuff brew doctor complains about that. Could experiment with faster ways of doing this e.g. renaming /usr/local/include to /usr/local/include.old instead of moving to /tmp.

The self-hosted images should already be set up that the cleanup required is zero.

How much of the setup do we need?

Should be zero I think.

So, maybe something like this then?
diff --git a/.github/workflows/doctor.yml b/.github/workflows/doctor.yml
index 50409557e..0335cda25 100644
--- a/.github/workflows/doctor.yml
+++ b/.github/workflows/doctor.yml
@@ -32,8 +32,9 @@ jobs:
         uses: Homebrew/actions/setup-homebrew@master

       - run: brew test-bot --only-cleanup-before
+        if: ! contains(matrix.runner, github.run_id)

-      - run: brew test-bot --only-setup
+      - run: brew doctor

       - run: brew test-bot --only-cleanup-after
-        if: always()
+        if: always() && ! contains(matrix.runner, github.run_id)

Not sure if some of those should be wrapped in ${{ }}. I assume not.


Typo: "Poising" should be "Poison"

Here: https://docs.microsoft.com/en-us/azure/azure-functions/durable-functions-bindings#trigger-behavior-1
Second bullet currently reads "Poising-message-handling". I presume it should be "Poison-message-handling."

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

ID: 34bd4f6c-c769-899d-7ec8-f4d8db7b798a
Version Independent ID: a8b66e9b-f212-764d-994d-8eb2024416f3
Content: Bindings for Durable Functions - Azure
Content Source: articles/azure-functions/durable-functions-bindings.md
Service: azure-functions
GitHub Login: @cgillum
Microsoft Alias: azfuncdf

@rayrad Thanks for reporting this typo.

@rayrad Typo has been corrected and change will reflect in few hours after next merge.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

Wow. That was a fast turnaround. I only reported it for MS benefit because companies generally like to know what needs fixing. Also, I was a blue-badge there for 12 years and still have some loyalty. :-) So, in short, no other questions or comments. Thanks.


unstructured 0.15.8 ❄

unstructured 0.15.8 :snowflake:
Destination channel: Snowflake
Links

PKG-4794
dev_url (pypi): https://github.com/Unstructured-IO/unstructured/tree/0.15.8
conda-forge: https://github.com/conda-forge/unstructured-feedstock/blob/main/recipe/meta.yaml
pypi: https://pypi.org/project/unstructured/0.15.8
pypi inspector: https://inspector.pypi.io/project/unstructured/0.15.8

Depends on

https://github.com/AnacondaRecipes/unstructured-client-feedstock/pull/1

Explanation of changes:

version 0.15.8 (note: can't bump to the latest 0.15.9 because python-oxmsg is missing and was not estimated for SF)
upstream tests
unfortunately, there are too many places to fix for building for python 3.8.

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_5dpyz2yk__/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:1: patch_must_be_in_build: patch must be in build when source/patches is set.
===== Final Report: =====
1 Error and 0 Warnings were found

There are different pinnings and a list of required runtime dependencies:

https://github.com/Unstructured-IO/unstructured/blob/0.15.8/setup.py#L110
https://github.com/Unstructured-IO/unstructured/blob/0.15.8/requirements/base.in
https://github.com/Unstructured-IO/unstructured/blob/0.15.8/requirements/deps/constraints.txt

thanks. conda-forge added all of those deps. I removed them (one option would be to move them in run_constrained) and used only the specified dependencies. Tests pass.

In general, there are a lot of optional dependencies here in this package. I don't know if it's worth adding all of them, considering that they all use the two files style (one for the dependencies, and one general one for the pinnings).

There are different pinnings and a list of required runtime dependencies:

https://github.com/Unstructured-IO/unstructured/blob/0.15.8/setup.py#L110
https://github.com/Unstructured-IO/unstructured/blob/0.15.8/requirements/base.in
https://github.com/Unstructured-IO/unstructured/blob/0.15.8/requirements/deps/constraints.txt

thanks. conda-forge added all of those deps. I removed them (one option would be to move them in run_constrained) and used only the specified dependencies. Tests pass.

Moving them to run_constrained will be a better option

There are different pinnings and a list of required runtime dependencies:

https://github.com/Unstructured-IO/unstructured/blob/0.15.8/setup.py#L110
https://github.com/Unstructured-IO/unstructured/blob/0.15.8/requirements/base.in
https://github.com/Unstructured-IO/unstructured/blob/0.15.8/requirements/deps/constraints.txt

thanks. conda-forge added all of those deps. I removed them (one option would be to move them in run_constrained) and used only the specified dependencies. Tests pass.

Moving them to run_constrained will be a better option

done,
thanks for the help!


Remove go-render

Use godebug and refactor test code to use
godebug compare functions instead of reflection

duplication is not very useful in table driven tests. I modified the duplication exclusion pattern to include test files. Should show next run

fixed in #79


Support for PHP 8.0

Extention throws the following error when using PHP 8.0:
Command failed: php /home/user/.vscode-server/extensions/fterrag.vscode-php-cs-fixer-0.4.0/php-cs-fixer fix --using-cache=no --rules=@PSR1,@PSR2,@Symfony,-yoda_style /tmp/tmp-6429kH5SGWj6FDc7
PHP needs to be a minimum version of PHP 5.6.0 and maximum version of PHP 7.4.*.

Is there a fix for this. If my default PHP is 8 the extension is broken

@vbasky The workaround I've found is to not have PHP 8.0 on my machine, since its what it is used by vscode to run extentions, then use PHP 8.0 on my containers to have PHP8 on my application.

Thanks but I have php locally on my machine for valet and few other things. Using the toolPath I could point it to the php 8 installation on the machine but since VSCode is synced across both my Windows and Mac the paths are incompatible.

it seems that the newest version of php-cs-fixer is compatible with 8.0
https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/tag/v3.4.0
but I tried replacing it in the extension and it still fails with no further error..
any ideas?

I have created an extension that supports 8.0
https://marketplace.visualstudio.com/items?itemName=mhillmann.php-ide

@mathiasHillmann  I could not get you extension to work, unfortunately.
my fix was to replace the php-cs-fixer with a newer version (as for now it's 3.4)
and generate a new config file using this tool:
https://mlocati.github.io/php-cs-fixer-configurator/#version:3.4|configurator
@fterrag if you accept prs I might send you one to update this
cheers, dan


Restructure laser topics unifier

Adjust scan unifier topic names (as missed in https://github.com/ipa320/cob_robots/pull/376#issuecomment-158872713)

cob3-9 and cob4-3 still need to be adjusted as they have not yet been merged.


v0.9.0_05: Bubbles are truncated by increasing bubble size

SEVERITY: Major
MODULE: Stage
Platform:

Windows 7 / Chrome 46.0
Windows 7 / Firefox 43.0
MAC / Safari 9.0

STEPS TO REPRODUCE:

Navigate to URL: https://stage-tools.gapminderdev.org/tools/
Tools page is loaded.
Select Bubble map chart
Click “Size”
Increase bubble size to the maximum
Note that bubbles are truncated by increasing bubble size

ACTUAL RESULTS:
Bubbles are truncated by increasing bubble size
EXPECTED RESULTS:
Bubbles should not truncate by increasing bubble size
SCREENSHOT:

duplicate of #1020


Update rubydistros containers for Ruby 3.1

Make sure we have updated rubydistros containers so that we can run tests in Buildkite on Ruby 3.1.

I did this


Split Daemon functionality into more decoupled components

This is mainly a RFC, which needs some more work to complete.
Essentially the effort here is to split the code currently in Daemon into more decoupled components, which have more narrow responsibility. The goal is to help readability/understandability, but more importantly to unlock better unit-testing options.
The Daemon struct seems to have broadly three responsibilities:

Start/stop the whole LXD server process, with everything it entails, including synchronization of various tasks etc.

Interface with the operating system to provide several abstractions and functionality.

Act as gateway to the SQLite storage, via the various API accessible with the Daemon.db handle.

I'd like Daemon to focus on the first responsibility only, and have the last two be handled by separate sub-packages (lxd/sys and lxd/db respectively). This should pave the ground for the possibility of unit-testing application code that is fairly independent from the OS (whose functionality is mostly covered by integration tests already).
Each commit in this series should be reasonably small and self-contained. All of them are basically mechanical changes that move code around without changing actual logic.

Your commit title and description seems pretty incomplete when considering what's going on in this branch, can you update?

jenkins: test this please

@stgraber I reworked the description and pushed a bunch of new commits, hopefully it's now more clear where I'd wish to head to.

For reference, this follow-up branch implements a seconds batch of changes (mechanical, but impossible to split due to circular dependencies):
https://github.com/freeekanayaka/lxd/commit/b67b18a4fb74f5c2f44d8a54fe7780dd633a3fef
That gets closer to the goal of having most of the business logic code depend only on sql.DB and sys.OS.

jenkins: test this please

@brauner thanks, as said, the medium-term worth is unit-testability and decoupling, which makes it easier to reason about code. Since I'll need to change quite a bit of things to integrate dqlite, I wish to have as much confidence I can in terms of coverage.

Content seems fine. I'll poke you soon to port all of this to stable-2.0 once I reach those commits so I'm not the only one suffering from large refactoring when dealing with our LTS branch :)

@stgraber fair enough :) I think it's indeed worth to keep the to code bases as close as reasonably possible. Let me know!


[aes] Fix aes_fvsr_key_batch on CW305

Previously, the commands for seeding the batch PRNG and seeting the fixed key seemed to interfere resulting in the target implemented on the CW305 getting completely out of sync.

LGTM. Thanks Pirmin but we can think this as a temporary and quick fix. But at the end we should implement Colin's suggestion but it also needs some modification on OTBN binary side.

Thanks for your review @abdullahvarici ! Ah, that's were this issue is :-) I vaguely remembered something but forgot to check. I agree that we should investigate this and come up with a real/more reliable fix.


allow for None type in annotations involving multiple allelic variant…

…s. Also, removes quote chars from urls

needed for mutation inspector


Nested static classes fix broken tests

Fixes issue 61509.

Remaining tests are connected with failure in Description evaluation. Will have to be fixed in a separate PR.


What is the "tray window" / "system tray" ? There's a config for it's positition, but what is it?

I'm guessing the "tray" is relying on integrating with some other software? Setting the position alone doesn't seem to do anything.
What is it?

It enables support for tray icons.

How do I make them, then?  Is it done within polybar?

No tray clients are embedded by applications that implement the feature.

Got it, thank you.
So tray icons have a standard implementation that other software implements

Yeah exactly, https://specifications.freedesktop.org/systemtray-spec/systemtray-spec-0.3.html


how to  fine tuning fuyu-8b

i wana to  fine tuning fuyu-8b ,but do not  know the  complete code,
is there  any official document tell me how to do this？

@BlackHandsomeLee I'd recommend to contact or look for the official code from the authors.
Here's a link to their homepage: https://www.adept.ai/blog/fuyu-8b


Multiple plugins?

It there a way of adding multiple extraPlugins?
Like:
extraPlugins: 'autogrow, embed'

Hi, you can add multi plugins with config.
config: {
  toolbar: [
    [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript' ]
  ],
  height: 300,
  extraPlugins: 'autogrow,embed'
}

@ljungqvist93
I add guide to add more plugins: https://github.com/dangvanthanh/vue-ckeditor2/wiki/Multiple-Plugins-with-extraPlugins

Hi,
I don't understand this 'download your plugin you want to integrate'. I downloaded plugin 'image2' but don't know where to put within my folders. I installed vue-ckeditor2 with npm. Please explain more. Thanks :)

Hi @quangvision
You can setup ckeditor with path (folder you define) and put image2 in plugins folder such as:

And in index.html you can use
<script src="assets/js/ckeditor/ckeditor.js"></script>
<script src="assets/js/app.js"></script>

could you give an example folder?

Hi @cyrusonline
You can see demo example of using vue-ckeditor2

Can you send mail email I will zip and send source code for you?

Can you send your email I will zip and send source code for you?

yes, thank you , i just sent you an email

Actually are you using webpack version?
As i must use cdn rather than using

I use Vue CLI 3

Can you send your email I will zip and send source code for you?

Could you send me a sample source code, thank you

Hi @cyrusonline
I was sent example for you. Please see in your email.

Hi @cyrusonline
I was sent example for you. Please see in your email.

Thank you very much

hi i want to use
https://ckeditor.com/cke4/addon/googleDospastePlugin
I add a line
extraPlugins: 'googleDocPastePlugin',
and get an error. http://img.netpeak.ua/maestro/_12032019(013).png  What am I doing wrong?

Do you want use googleDocPastePlugin
https://ckeditor.com/cke4/addon/googleDocPastePlugin
If you use CDN Ckeditor please instead of you link of ckeditor
https://cdn.ckeditor.com/4.6.2/full/ckeditor.js

to newest of ckeditor
https://cdn.ckeditor.com/4.11.3/full-all/ckeditor.js

or
https://cdn.ckeditor.com/4.6.2/full-all/ckeditor.js

If you use your path of ckeditor you need extract the downloaded plugin googleDocPastePlugin (.zip file) into the plugins folder of your CKEditor installation.

I tried, the same errors (
http://img.netpeak.ua/maestro/_12032019(014).png
I use as a component vue
vue version 2.5.16
Thanks for the quick response =)

Hi @BerezhniyDmitro
You should use ckeditor. You use https://cdn.ckeditor.com/4.6.2/full/ckeditor.js, just need modify to
https://cdn.ckeditor.com/4.6.2/full-all/ckeditor.js

thanks for the answer.The situation has not changed.
http://img.netpeak.ua/maestro/_13032019.png

solved the problem by downloading and installing not through cdn. Thank you )

See reference for not use cnd: https://github.com/dangvanthanh/vue-ckeditor2/issues/56#issuecomment-386815687


Make libart a submodule

This change would introduce libart as a submodule instead of copying in the code directly. The main benefit is that it's now much easier to pull in libart changes.
This pulls in a version of libart that seems stable (the latest commit on master). This means, among other things, that we can benefit from the fixed warnings in armon/libart@43fed7c.
If pulling an already-cloned repo with this change, you'll probably have to delete the existing libart directory so that git doesn't get confused about a directory existing with the same version as the new submodule. Then do git submodule --init to pull in the new submodule.

Definitely agree it's much easier to manage as a submodule. Looks good to me!


CSS

#CSS
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow

Completed and followed guide for CSS prework study guide


Fix build script

@vjeux I have used https://github.com/JamesIves/github-pages-deploy-action
It creates the branch gh-pages and pushes the content of the build folder to it. Then we would should configure github pages to grab content from this branch, because the deploy is not working for now.
Maybe there is a problem with the secrets, in the README of the repo, is suggested to create personal access token to make it wor.


How do I view other objects list sent to an Object through an API?

How do I view other objects list sent to an Object through an API?

I am not 100% following your question. Do you want to find the objects owned by an object?

Is this what you are looking for?
https://docs.sui.io/sui-api-ref#suix_getownedobjects

@wowok-ai, see also here:
https://docs.sui.io/concepts/transfers/transfer-to-object#transferring-to-object


Updated Build Fails

I just performed a fresh download, ran the build and the Service Fabric projects fail:

Here's what my "dotnet" environment looks likes:

"dotnet" version:

Service Fabric SDK version:

I was able to get a partial fix this problem by doing the following:
I tried these things incrementally:

Ran this command from Powershell:  "dotnet nuget locals all --clear"

Cleared All Nuget Cache(s) within VS-2019 because the first command did not completely clear the Nuget Cache;

I had to de-select all Nuget Packages except for "nuget.org" and "Graph Engine OSS Local"; otherwise, the Graph Engine build tries to look for packages and fails. NOTE: the build does not use a "nuget.config" file so it will pick-up what's been cached.

This improved the quality of the build; the GraphEngine.ServiceFabric section ran executed without error; however, a new build error occurred:

I just re-ran the build after the last error - I made no changes and the build ran to completion without error. So, it looks like things are cached and put in place incrementally during each run of the build and it finally ran to completion.

Hey TaviTruman, I ran into another issue when I tried to run .\tools\build.ps1.
Do you have any idea about it? Thanks a lot. Xia

@XiaAlexFang Yikes - Yeah, I just got the same thing. I working to understand to resolve the problem now,

I got it to build by running the cmake command directly, skipping the remaining of the build.ps1 script....

Yeah - I was able to do that too but the build script does some other important task; I think I've found the problem and the solution so I will update here later on.

Okay, I was able to resolve the problem by doing the following:

download the "dotnet" uninstaller and remove all dotnet runtimes and SDKs.
https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-tool-uninstall
Uninstall VS 2019
Re-install VS 2019

The build works!


Host/Port is required when selecting a local endpoint

Bug Report

What did you do?
I attempted to create an operator using the VSCode extension. When prompted what type of endpoint I wanted to create, I selected local. I was then prompted for a host, and when hitting "Enter" to skip I received the error message "ZosEndpoint host is required".
What did you expect to see?
I expected the extension to let me create a local endpoint.
What did you see instead? Under which circumstances?

Possible Solution
Allow users to skip host/port when the endpoint type is local.
Additional context

#126


⚠ GLDDNS Server (ns2.glddns.com) has degraded performance

In f70d998, GLDDNS Server (ns2.glddns.com) (ns2.glddns.com) experienced degraded performance:

HTTP code: 200
Response time: 696 ms

Resolved: GLDDNS Server (ns2.glddns.com) performance has improved in 014568e after 7 minutes.


Malformed JSON in "table" field when casting

The issue was closed in #259 but it seems this has not been resolved yet. Fake fields are not working on my end and I'm pretty sure I followed all steps in the docs. The data is being (wrongly) encoded, but is also not showing up in my forms after save.
In the DB: "{\"url\":\"http:\\\/\\\/some.url\"}" (including the outside double quotes!)
Also I'm not sure why casting to array is necessary since the second parameter of json_decode (used in CrudTrait.php to decode the JSON in the extras field) can be utilized to return an array?
Backpack, Laravel, PHP, DB version:
BP 3.3.1, Laravel 5.5, PHP 7.1, MySQL 5.7.19

Update:
fake fields work correctly for me when I ditch the casting to array and set the second parameter of json_decode to true (return as assoc array)
// vendor/backpack/crud/src/CrudTrait.php

public function addFakes($columns = ['extras'])
    {
        foreach ($columns as $key => $column) {
            $column_contents = $this->{$column};

            if (! is_object($this->{$column})) {
                $column_contents = json_decode($this->{$column}, true); // TRUE here
            }

            if ((is_array($column_contents) || $column_contents instanceof Traversable) && count($column_contents)) {
                foreach ($column_contents as $fake_field_name => $fake_field_value) {
                    $this->setAttribute($fake_field_name, $fake_field_value);
                }
            }
        }
    }

So, the long and the short of this, @gavinhewitt, is that without a change to CrudTrait (or providing a similar but different implementation), it's still broken for you?

Precisely @lloy0076

Related #478

See also PR #1116 which seems to be related

I just tested PR #1116 for hours and hours, and I can confirm it fixes this issue. Will merge it soon, so let's close the issue.


Issue #950 Distribute conductances

Fixes #950
Description
Adds the following things:

Adds utility functions to distribute conductances over depth, exposed to public API
Moves allocation tests to test_topsystem.py file, so cases can be shared with the distribute conductances test.
Moves cases to separate source file, do not use objects anymore to group cases, but function name prefixes. Furthermore tags are used to use tag which cases are used for RIV, DRN, GHB, and RCH tests. This saves quite some duplicate code.
Move code basic_dis fixture to function make_basic_dis, which is used to also make a 4 layered discretization fixture.
Move duplicate code in allocation source file to _enforce_layered_top

The only thing still missing is some extra options to distribute conductances for the Drain package. In this PR, it is not possible to use the crosscut thicknesses and correction factors yet. I'll make a separate task for that to not make the PR too overwhelming.
Checklist

[x] Links to correct issue
[x] Update changelog, if changes affect users
[x] PR title starts with Issue #nr, e.g. Issue #737
[x] Unit tests were added
[ ] If feature added: Added/extended example

Looks good, and it contains nice tests. However, most test grids are simple in the sense that the layers are all horizontal and flat. It could be worth it to add some unit-tests for the _distribute_weights__by_XXX functions using grids with non-flat top and bottom arrays, so that cells will share a vertical cellface with cells in different layers, or which have inactive cells here and there.

Inactive model cells should already be accounted for in allocated.
I extended the test cases with cases for cells where the first up to the third layer are active, where the third layer only is active, and where only the first and the third layer are active.


Custom search on predefined columns

Is there a possibility to exclude certain columns from the search scope? I would like to only search rows based on a single column. The default setting always searches for matches in all columns.

I will add a new props: column.searchable for this requirement, thanks

@7DeGe you can give false to column.searchable.  BTW, I found I missing the docs and story for this, I will also add it, thanks!

patched docs: https://react-bootstrap-table.github.io/react-bootstrap-table2/docs/column-props.html#columnsearchable-bool


Support for sphinx-contrib/plantuml

I was really hoping to use sphinx-contrib/plantuml together with confluencebuilder to automate publishing UML diagrams to Confluence.
ATM diagrams are included in plain-text to Confluence markup, and it kind of works with this hack:
.. raw:: confluence

    {code}

.. uml:: foo.uml

.. raw:: confluence

    {code}

However many plantuml diagram types do not render correctly as text; eg. links between nodes are missing for deployment diagrams like this one:
@startuml

node node1
node node2
node node3
node node4
node node5
node1 -- node2
node1 .. node3
node1 ~~ node4
node1 == node5

@enduml

Can you research the amount of effort required to publish these diagrams rendered as images?
If mentoring is an option, I would be willing to get involved.

@bosonogi, sure; I can try to take a gander at this in the future (in a week or so). Thanks for the example set to test against.
I just want to mention that the master of this extension has switched to the storage-format over wiki-format (i.e. {code} will no longer work in the raw-type). That being said, with the introduced image support to this extension and by quickly glancing at PlatUML's capabilities, I wonder if the image-generated diagrams just work-as-is (speculation).

@jdknight It did not work outright with master as ConfluenceTranslator does not handle plantuml nodes. However, I managed to make it work for me with little tweaking — see referenced pull requests.

An alternative to using sphinx-contrib/plantuml is to place the PlantUML source diagram inside the output and let it be rendered by the PlantUML for Confluence macro https://marketplace.atlassian.com/apps/41025/plantuml-for-confluence

@jessetan Thanks for the hint. The downside with that approach is that it makes a Sphinx project unusable for any other output format (like PDF or HTML), but when that is not relevant it does look like it would speed up building and publishing significantly.

It would probably need to override the PlantUML extension code if the builder is the confluencebuilder.

Version 1.0 of this extension has been released and it is assumed that the provided translator registry hooks has enabled users to support some level of integration with this extension and plantuml. If this is not the case, please feel free to open up a new issue outlining the specific issue; closing.


⚠ Bofrost.de has degraded performance

In c717d8a, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 810 ms

Resolved: Bofrost.de performance has improved in 2f030f4 after 10 minutes.


storage pool bug encountered

I got this issue ( 1 time out of 3 maybe) when setting up 2 VMs

libvirt_volume.centos7_vm_disk: Error refreshing pool for volume: [Code-1] [Domain-18] internal error: pool 'default' has asynchronous jobs running.

I wonder if you could make the provider a little more robust, with a few retries maybe, this is really a temporary failure I think and it seems related to an old libvirt bug.

Did this one got fixed with https://github.com/dmacvicar/terraform-provider-libvirt/pull/17 ?
I am thinking about removing the refresh of the volume entirely. I added it to workaround a libvirt bug.

This does not appear to have been fixed. I encounter this error more times than not when deploying 3 VM's in parallel. Re-running terraform apply almost always fixes it. On one occasion I've had to apply 3 times.

Yes, this is because I added workaround code in one place but I do a pool refresh in two places.
I will fix it soon. I need to investigate a bit if there is something more elegant than blindly retry, like get the amount of jobs for the pool first.


prisma error

we get this error while we run server

Hey, the error is occurring because the BotSource data is deleted while processing in the queue

@n4ze3m  Hey okey, then what we do now ? because this error occurring all the time.

Are you using PostgreSQL locally or on any cloud service?

@n4ze3m  we are using a supabase postgreSQL.

@n4ze3m   we have chagnes db and migrate data again still occuring same error

@n4ze3m  locally we are using supabase but on server we use server local posgresql db

Did you guys use the same Redis URL for both the server and local? If so, please don't use it, as it may cause conflict issues

@n4ze3m  r we don't use same url we are using server pc's local redis url


fix(e2e): replace usage of ruby with python to limit dev container size

Fixes #605

/test openshift

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
e5babac3a3fb6e8a94f075d198ec5f3c466f0989
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
e5babac3a3fb6e8a94f075d198ec5f3c466f0989
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
e5babac3a3fb6e8a94f075d198ec5f3c466f0989
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
e5babac3a3fb6e8a94f075d198ec5f3c466f0989
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
e5babac3a3fb6e8a94f075d198ec5f3c466f0989
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
e5babac3a3fb6e8a94f075d198ec5f3c466f0989
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
5553218a191563d64783003b8bde6d886743cebd
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

/test openshift


Add a testcase checkmark list of the vulnerable and non-vulnerable instances for DAST Tools

Being a master's student in the cybersecurity branch, my last months were passed writing my thesis about "Evaluation of Dynamic Analysis Tools in detecting OWASP Top 10 vulnerabilities", a very hardworking process. By this, I end up using the Juice Shop application as part of my workload, i.e. test case set, to evaluate the subjects, namely DAST tools, since they need an environment where they can exercise their performance.
Not having a checkmark list of the vulnerable and non-vulnerable instance of Juice Shop posed a very challenging process of evaluate it manually and gather this same list. With this, my intention with this pull request is to help future tool testers that may use Juice Shop as testing environment by providing an excel file that can be used for marking if a given tool detected a determined instance or not.

The first 2 columns will correspond, respectively, to endpoint/URL (it's up to you) of were a the vulnerable or non-vulnerable instance is located and then the parameter involved, if applicable. The vulnerable column will be TRUE (if the instance is really vulnerable) or FALSE (otherwise). Finally the vulnerability column will indicate what vulnerability we talking about. The rest of the columns is where finally we check if a tool x, y or z detected the vulnerability.

Each number (0 or 1) corresponds to a parameter written in the parameters column. In case that there aren't parameters is used just a 1 number. Of course, 0 means that the tool hadn't an alert here and 1 mean that the tool had an alert here. I know, it's not the most intuitive way to do it, but will be improved in the future.
Really hope this can reach as many tool testers as possible and in someway help them! Any suggestions, doubts and comments I'm all ears! :P
In the following link you can reach a repository where a small set of scripts were created to help in this particulary task of couting the TPs, FNs, FPs and TNs achieved by the tools.
https://github.com/joaosilva21/Thesis-Scripts-Assess-of-DAST-Tools-against-OWASP-Top-10-vulns

Hi! Thanks for your PR and the research you made that led to it! I'm just not sure this is the right place for the results, especially in the given form. Here's some problems:

You add an Excel file. Excel files are potentially evil. I'll not have an Excel file in my repo for security concerns, sorry.
Your results are added without an explanation other than your PR description. If they were merged, this explanation would be gone. If there's an explanation in on sheet of your Excel, sorry I couldn't know, because 1.) 🤪
Results like this are a snapshot from one specific version of Juice Shop you tested on. In a future version names of parameters, URLs etc. might change, vulns might be added/removed etc. In order to stay relevant, the results would have to be kept up to date. I would certainly not want to inherit this workload.
I don't know if the format is vendor/tool specific or something you came up with. Apart from the 1.) problem, I won't have commercial vendor specific content in the project.

Don't get me wrong, I like the idea you have a lot, and I even tried to push something like this in the past myself, but vendor agnostic and more generic. See https://gist.github.com/bkimminich/5fc27e974ffa0add8bde279f45a4ae47 and https://github.com/juice-shop/juice-shop/issues/1441
To publish your research in the chosen form, I recommend you put it into your own repository, and I'm then happy to link to it from https://github.com/juice-shop/juice-shop/blob/master/SOLUTIONS.md, with proper version information etc.
If you're interested in reviving the idea of a generic vulns declaration format for vuln apps, please let me know! 👍


Feature of sign up/login button and dialogue

Need a sign up/ login auth button

The user on the Click of the button should see a dialogue of options to sign up or log in.
The button should appear next to the refresh button.
Appropriate UI must be made.
No bootstrap or heavy library usage
Preferable to use a single SVG asset for the button.
On click the button should animate to an alternate color.

The design file is as follows

Hi @ScorchingShade, I am happy to do this task, can you assign this task to me?

Hey @zainulabideen1122 !
Thank you for working on the project!
I have assigned the task to you, let me know if you have any queries

Change in the design a bit @zainulabideen1122 , please consider the following figma board:
https://www.figma.com/proto/GuDpv3lvFvplma37PXuJrw/Untitled?node-id=3%3A12&scaling=min-zoom&page-id=0%3A1&starting-point-node-id=2%3A2
The button click color:
#F7535E

Got your point. I have something to tell you that I will do front-end, not backend because it's not in my reach.
Second, when a user clicks a button then a new page will be pop up where the user has the option for login or signup. That's what you want?

Hey @zainulabideen1122 ,
Only frontend is needed. For now, this task only needs you to implement a simple UI transition and inclusion of a button as shown in the Figma file.
No auth setup is needed in this task, just the frontend placeholder button

Yup got it :)

Hey @zainulabideen1122 , for now that is not a part of this issue. Only the button click transition is needed here


feat: support minify function option

:star:
One question: what do with extracting comment for custom minify function, if people use uglify-js/terser our logic https://github.com/webpack-contrib/uglifyjs-webpack-plugin/blob/master/src/uglify/minify.js#L45 is work good, maybe we should export this function to avoid copy/paste this code

/cc @ooflorent please review, it is one blocker for terser and future minimize plugins

Something to consider... if the default minify function is changed, the version remains "uglify-es":"3.3.9" in the uglifyjs-webpack-plugin cache key:
https://github.com/webpack-contrib/uglifyjs-webpack-plugin/blob/0174605fdf7b0eb8dc3b18aaec262d1e757e6863/src/index.js#L177-L179
and the cached assets will be invalid.

uglify-es is not updated long time, cache will works as expected

Until the module with the minify replacement function is upgraded - terser, uglify-js, or whatever. You might mention in the docs if this minify field is overriden or dependencies are updated then the user should delete their build cache. You could also elect to allow the user to provide a custom version string to workaround this issue.

Also we provide way to invalidate cache https://github.com/webpack-contrib/uglifyjs-webpack-plugin#terser


pds-solutions: remove redundancy in base image definition

Situation
Currently each pds solution contains an env file containing this line:
BASE_IMAGE="ghcr.io/mercedes-benz/sechub/pds-base"

This redundancy should be removed.
ToDo

source sechub-pds-solutions/shared/environment/env-base-image in release builds before the above env file
remove the BASE_IMAGE information from the env file of every pds-solution

Checked in detail and found out that in the gh-action the env variable is not taken from env file:
export BASE_IMAGE="${ACTIONS_SECHUB_REGISTRY}/pds-base:${PDS_VERSION}"

So we can safely remove the above code.

This issue needs more testing and probably follow-up changes.
See comment https://github.com/mercedes-benz/sechub/pull/2517#pullrequestreview-1593827384
-> This issue is open for adoption.


Payout issue

Description
Everything is working fine on the ethereum Ropsten testnet except for payouts. The first payout worked successfully and the second one and every single one after threw this:
[2018-05-30 19:55:28.9574] [E] [PayoutManager] [eth1] Payment processing failed System.InvalidOperationException: This NpgsqlTransaction has completed; it is no longer usable.
   at Npgsql.NpgsqlTransaction.CheckCompleted()
   at Npgsql.NpgsqlTransaction.<Rollback>d__21.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlTransaction.Rollback()
   at MiningCore.Extensions.ConnectionFactoryExtensions.<RunTxAsync>d__8.MoveNext() in /tmp/miningcore/src/MiningCore/Extensions/ConnectionFactoryExtensions.cs:line 221
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Payments.PayoutManager.<UpdatePoolBalancesAsync>d__12.MoveNext() in /tmp/miningcore/src/MiningCore/Payments/PayoutManager.cs:line 121
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Payments.PayoutManager.<ProcessPoolsAsync>d__11.MoveNext() in /tmp/miningcore/src/MiningCore/Payments/PayoutManager.cs:line 95    at Npgsql.NpgsqlTransaction.CheckCompleted()
   at Npgsql.NpgsqlTransaction.<Rollback>d__21.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlTransaction.Rollback()
   at MiningCore.Extensions.ConnectionFactoryExtensions.<RunTxAsync>d__8.MoveNext() in /tmp/miningcore/src/MiningCore/Extensions/ConnectionFactoryExtensions.cs:line 221
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Payments.PayoutManager.<UpdatePoolBalancesAsync>d__12.MoveNext() in /tmp/miningcore/src/MiningCore/Payments/PayoutManager.cs:line 121
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Payments.PayoutManager.<ProcessPoolsAsync>d__11.MoveNext() in /tmp/miningcore/src/MiningCore/Payments/PayoutManager.cs:line 95

Expected behavior
Payouts to succeed
Actual behavior
exception pasted above is thrown
Reproduces how often
Every payout
Version
Master branch
Additional Information

Switching to the dev branch commit 3a69f27bde7fe6f95ba9d82ec7a12128a56ee3f8 and this solved my issue.

Failed on an uncle block. I have keep uncles: false

Some more information:
[2018-06-01 15:25:34.0205] [I] [eth1] [Ethereum Payout Handler] Unlocked block 3353885 worth 3.00058 ETH
[2018-06-01 15:25:34.1648] [I] [eth1] [Ethereum Payout Handler] Fetching 1 uncles for block 3353840
[2018-06-01 15:25:34.1659] [I] [eth1] [Ethereum Payout Handler] Fetched 1 uncles for block 3353840
[2018-06-01 15:25:34.1659] [I] [eth1] [Ethereum Payout Handler] Fetching 1 uncles for block 3353866
[2018-06-01 15:25:34.1659] [I] [eth1] [Ethereum Payout Handler] Fetched 1 uncles for block 3353866
[2018-06-01 15:25:34.1659] [I] [eth1] [Ethereum Payout Handler] Unlocked uncle for block 3353866 at height 3353863 worth 1.875 ETH
[2018-06-01 15:25:34.1659] [I] [eth1] [Ethereum Payout Handler] Fetching 1 uncles for block 3353866
[2018-06-01 15:25:34.1659] [I] [eth1] [Ethereum Payout Handler] Fetched 1 uncles for block 3353866
[2018-06-01 15:25:34.1659] [I] [eth1] [Ethereum Payout Handler] Unlocked uncle for block 3353866 at height 3353863 worth 1.875 ETH
[2018-06-01 15:25:34.1716] [I] [PayoutManager] Processing payments for pool eth1, block 3353810
[2018-06-01 15:25:34.2483] [I] [PPLNS Payment] Fetching page 0 of shares for pool eth1, block 3353810
[2018-06-01 15:25:34.2791] [I] [PPLNS Payment] Balance-calculation for pool eth1, block 3353810 completed with accumulated score 2 (100%)
[2018-06-01 15:25:34.2791] [I] [PPLNS Payment] Adding 2.6225 ETH to balance of 0xb9b90cdc6a0cab4b5fb4eadc632a78710761b860 for 10.69 G<PHONE_NUMBER>4.1834) shares for block 3353810
[2018-06-01 15:25:34.3200] [I] [PPLNS Payment] 10.69 G<PHONE_NUMBER>4.18) shares contributed to a total payout of 2.6225 ETH (100.00% of block reward) to 1 addresses
[2018-06-01 15:25:34.3544] [E] [PayoutManager] [eth1] Payment processing failed System.InvalidOperationException: This NpgsqlTransaction has completed; it is no longer usable.
   at Npgsql.NpgsqlTransaction.CheckCompleted()
   at Npgsql.NpgsqlTransaction.Rollback(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlTransaction.Rollback()
   at MiningCore.Extensions.ConnectionFactoryExtensions.RunTxAsync(IConnectionFactory factory, Func`3 action, Boolean autoCommit, IsolationLevel isolation) in /tmp/miningcore/src/MiningCore/Extensions/ConnectionFactoryExtensions.cs:line 221
   at MiningCore.Payments.PayoutManager.UpdatePoolBalancesAsync(PoolConfig pool, IPayoutHandler handler, IPayoutScheme scheme) in /tmp/miningcore/src/MiningCore/Payments/PayoutManager.cs:line 123
   at MiningCore.Payments.PayoutManager.ProcessPoolsAsync() in /tmp/miningcore/src/MiningCore/Payments/PayoutManager.cs:line 97    at Npgsql.NpgsqlTransaction.CheckCompleted()
   at Npgsql.NpgsqlTransaction.Rollback(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlTransaction.Rollback()
   at MiningCore.Extensions.ConnectionFactoryExtensions.RunTxAsync(IConnectionFactory factory, Func`3 action, Boolean autoCommit, IsolationLevel isolation) in /tmp/miningcore/src/MiningCore/Extensions/ConnectionFactoryExtensions.cs:line 221
   at MiningCore.Payments.PayoutManager.UpdatePoolBalancesAsync(PoolConfig pool, IPayoutHandler handler, IPayoutScheme scheme) in /tmp/miningcore/src/MiningCore/Payments/PayoutManager.cs:line 123
   at MiningCore.Payments.PayoutManager.ProcessPoolsAsync() in /tmp/miningcore/src/MiningCore/Payments/PayoutManager.cs:line 97

show parity settings

Running in docker. Config file has chains=ropsten and the author address.
docker run -d -p 8185:8180 -p 8550:8545 -p 8551:8546 -p 30308:30303 -p 30308:30303/udp -v ~/eth-test-pass.txt:/root/pass.txt -v ~/.local/share/io.parity.ethereum/docker/:/root/.local/share/io.parity.ethereum/ --name eth-node-testnet -t parity/parity:stable --config /root/.local/share/io.parity.ethereum/config.toml --mode active --no-ui --no-dapps --no-ipc --jsonrpc-interface "<IP_ADDRESS>" --jsonrpc-threads 4 --jsonrpc-port 8545 --no-discovery --jsonrpc-apis "eth,net,web3,personal,parity,parity_pubsub,rpc" --cache-size 512 --logging info --ws-port 8546 --ws-interface all --base-path /root/.local/share/io.parity.ethereum/data --allow-ips all --jsonrpc-hosts all  --db-compaction ssd --pruning fast --tracing off --unlock "0xacdc683aff5c7ef26e0565ea719bb7ac7da4ebee"  --password /root/pass.txt

remove
--unlock "0xacdc683aff5c7ef26e0565ea719bb7ac7da4ebee" --password /root/pass.txt
add to miningcore settings
"daemons": [
{
"host": "<IP_ADDRESS>",
"port": 8550,
"user": "",
"password": "",
"portWs": 8546
}
]

Thanks for the reply. Ill give that a shot

Didn't fix it unfortunately. Still had the exception thrown on the second uncle block this time.

Here are my settings on ELLA
parity --chain ellaism --no-discovery --no-ui --no-dapps --no-ipc --jsonrpc-interface <IP_ADDRESS> --jsonrpc-threads 4 --jsonrpc-port 8545 --jsonrpc-apis eth,net,web3,personal,parity,parity_pubsub,rpc --author 0x8b51127a10cec5ee67d52bda182c3e7c7922e27b --cache-size 512 --logging info --ws-port 18545 --ws-interface all
everything works as it should

Must be the ropsten testnet then.. I have everything the same as you.

@Konstantin35 One more thing.. Do you know why parity says
2018-06-04 18:05:49 UTC Imported #5936022 e3f3…0f42 (17 txs, 0.43 Mgas, 5.11 ms, 2.76 KiB)
2018-06-04 18:05:51 UTC Imported #5936021 4537…17bb (3 txs, 0.06 Mgas, 1.50 ms, 0.88 KiB)

And other times it will say
2018-06-04 17:01:40 UTC Syncing #5935755 14ba…daef     0 blk/s    0 tx/s   0 Mgas/s      0+    0 Qed  #5935756    6/100 peers   261 MiB chain 70 MiB db 0 bytes queue 14 MiB sync  RPC:  0 conn,  2 req/s, 7536 µs

Actually after running ellasim for awhile i ended up running into that error. I added some debugging and narrowed down what it was doing.
On Ropsten I found this
[2018-06-13 17:37:39.7637] [I] [BlockRepository] block attributes: Id 4043, poolId ropst-test, BlockHeight 3429202, status Confirmed, type uncle, reward 1.5, reward 1.5, effort , Confirmationprogress 1
[2018-06-13 17:37:39.7839] [I] [BlockRepository] block attributes: Id 4044, poolId ropst-test, BlockHeight 3429202, status Confirmed, type uncle, reward 1.5, reward 1.5, effort , Confirmationprogress 1

It would update one block (id 4043) then try to update block id 4044 but the block height already exists. This would cause the exception to be throw. For some reason my parity is giving two uncle blocks?

Maybe @oliverw can give an insight?

Support for this coin has been dropped a long time ago. Closing.

Thanks


[Question] how to exit the containerd-shim-runc-v2 processes?

After a few exited containers there are a lot of these processes. Is there a nerdctl command to terminate them?
nerdctl run -it alpine sh
exit

Seems a bug, could you post the full repro steps and version (nerdctl info, nerdctl version)

 # nerdctl version
Client:
 Version:       v0.9.0
 Git commit:    39a46444754c581e020fffa63261f2a859c16bac

Server:
 containerd:
  Version:      v1.5.2
  Revision:     36cc874494a56a253cd181a1a685b44b58a2e34a

# nerdctl info
Client:
 Namespace:     default
 Debug Mode:    false

Server:
 Server Version: v1.5.2
 Storage Driver: overlayfs
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Log: json-file
  Storage: native overlayfs
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.19.128-microsoft-standard
 Operating System: openSUSE Leap 15.3
 OSType: linux
 Architecture: x86_64
 Name: USER
 ID: fcac3782-68a8-4fa6-b7ed-c20738dc77d1

Repro:

Install full amd64 from https://github.com/containerd/nerdctl/releases
Start containerd
run nerdctl run -ti alpine sh
run exit
process containerd-shim-runc-v2 is still running

This is now being discussed in https://github.com/containerd/nerdctl/pull/229


Yellow LED does not turn off when data collection starts

fixed. When a new LED is set, turn off the old one first.


Would love if you increase the speed

Hey boss ! Would be awesome if you could increase tweet reading speed as Twint's speed !

yeah sure
thanks for the suggestion 😊

@achyuthjoism thank you achyuth , you are the boss !


[Backport release-23.11] mattermost: 8.1.4 -> 8.1.7

Backport of https://github.com/NixOS/nixpkgs/pull/269691 based on the fact that the update contains security fixes

@LeSuisse apologies for missing the contributing guidelines. I've cherry-picked all commits but the one that merged the master branch into the PR branch to fix conflicts. Please let me know if that's ok or if there is anything I've missed


GH1674: MSBuild - Made LogFile a FilePath, use absolute path when using the runner

This PR will solve #1674. It is partially a breaking change (since a FilePath is implicitly created when assigning a string).

@Roemer,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

I squashed the changes.

Fixed the bug, updated the branch and squashed all changes.

@Roemer your changes have been merged, thanks for your contribution :+1:

Cool thanks 👍


Use WAKATIME_HOME env variable for session and offline caching

WAKATIME_HOME is used when logging, but should also be used when creating .wakatime.db for session and offline caching.
First reported in wakatime/sublime-wakatime#79.

Fixed in v8.0.5.


Request headers are dropped from the response in the NodeJS runtime

Open with SAP as 750092 / 2020.
Supplied request headers are dropped from the response in the NodeJS runtime. This results in errors when using things like Mobile Services Offline Store, which supplies a "Content-Transfer-Encoding" header with its requests, but does not get it back in the response. The headers should be included in the response to prevent such issues.

this is now resolved


Dash in a resource route name breaks Route Model binding

Describe the bug
When I have a resource route that has a dash in the name, route/model binding gets broken and an error "Missing required parameter for [Route....]"
What version does this affect?

Laravel Version: 9.38
Package Version: 1.6.0

To Reproduce
Setup a simple Resource Controller using Resource Breadcrumbs. Ex:
Route::resource('some-route', SomeRouteController::class)->breadcrumbs(function(ResourceBreadcrumbs $breadcrumbs) {
$breadcrumbs->index('Index Rte')->show('Show Rte')->edit('Edit Rte');
}
When trying to visit the Edit or Show routes and you will get the missing required parameter error.
Changing the - to an underscore will correct the error.  Separating the resource route into individual routes will also correct the error.
Expected behavior
I use dashes in my route names on a regular basis as they are easy to read and match up with Laravel's slug method

I have the same problem. I also found out that Gretel is converting the kebab case resource identifier ("some-route") to snake case in the model identifier variable ($some_route) instead of camel case ($someRoute). That should be fixed as well.

Can you explain why this test doesn't cover the case you're describing?

In the test you provided, you are using Route Model Binding.  In my examples I am not.  In my use case, I use it where I can, but in this case I search for the model based on if the user input a slug (string) or the ID (int) of the model.  I need to search two columns so Route Model Binding does not work well for me.