Adding third width link blob group

Adding third width link blob group, which is necessary for the http://www.consumerfinance.gov/about-us/careers/working-at-cfpb/ page.
Additions

Added cfgov/jinja2/v1/_includes/organisms/third-width-link-blob-group.html to handle three column layouts.
Added cfgov/jinja2/v1/_includes/organisms/info-unit-group.html to serve as a generic blog group builder.

Changes

Modified cfgov/v1/atomic_elements/molecules.py to use the link-blob template.
Modified cfgov/unprocessed/css/organisms/info-unit-group.less to reflect the add three column layout.
Changed the name of cfgov/_includes/molecules/half-link-blob.html to  half-width-link-blob-group.html
Modified cfgov/jinja2/v1/_includes/organisms/half-width-link-blob-group.html to call info-unit-group.html macro.

Testing

- Create a `Browse` page via Wagtail.
- Add a `Third Width Link Blob Group` molecule.
- Add 3 half-width link blobs. Preview.
- Notice that the organism renders three link blobs in separate columns.
- Return to Wagtail
- Check the `Has top border` and `Has bottom border` checkboxes, preview again.
- Notice that the organism renders as before but with borders.

## Review

- @chosak
- @richaagarwal
- @virginiacc
- @jimmynotjim

## Checklist

* [ ] Changes are limited to a single goal (no scope creep)
* [ ] Code can be automatically merged (no conflicts)
* [ ] Code follows the standards laid out in the [front end playbook](https://github.com/cfpb/front-end)
* [ ] Passes all existing automated tests
* [ ] New functions include new tests
* [ ] New functions are documented (with a description, list of inputs, and expected output)
* [ ] Placeholder code is flagged
* [ ] Visually tested in supported browsers and devices
* [ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

Looks like we need some further Wagtail model changes to take this over the finish line. Would you like some assistance with that, @sebworks ?

yes, that would be wonderful @Scotchester .

Which page templates would this be available on? Just sublanding?
And does this mean that anytime I add three half width link blobs they show up in 1/3 columns on the same row? Or can I still get them to show up in two rows -- two on top, one on the bottom?

Well, @schaferjh, that gets somewhat to how it's implemented in Wagtail. I was assuming (though it could be done differently) that the Wagtail user would choose between half-width and third-width layouts when creating their module, and whatever the number of items inside, it'd stick to that.

Sure it's an implementation thing, I'd just like us to think about it now while we're making it. :)
I will think on it a bit a comment later.

Sounds good :)

Which page templates would this be available on?

Browse basic and home pages. These are some places where the third-width columns are being used:
http://www.consumerfinance.gov/about-us/the-bureau/about-deputy-director/
http://www.consumerfinance.gov/
http://www.consumerfinance.gov/about-us/careers/application-process/.

And does this mean that anytime I add three half width link blobs they show up in 1/3 columns on the same row? Or can I still get them to show up in two rows -- two on top, one on the bottom?

We are really just talking about containers controlling the widths of their children (i.e, organisms controlling the widths of molecules). Without placing the link-blob molecule in a organism then it should be full-width. There really shouldn't be such thing as a half-width link-blob molecule.  It should be full width until placed in a half-width or third-width organism.

There really shouldn't be such thing as a half-width link-blob molecule. It should be full width until placed in a half-width or third-width organism.

Ok, but I think you're speaking from a code perspective, and I was speaking from a content manager perspective. 😄  As long as when we implement this in Wagtail, we make it clear how to make one choice or the other, it's cool.

Which page templates would this be available on?

Browse basic and home pages.

That sounds good for covering our bases for current use, but I think we should add this to Sublanding pages as well.
Ok, bugging you about implementation is over. Once this is merged, please help me remember to make the implementation task!

@schaferjh We should include the back-end implementation in this PR, in my opinion. It should be pretty straightforward.

As long as when we implement this in Wagtail, we make it clear how to make one choice or the other, it's cool.

So what do we think is the most straightforward way to do this for the Wagtail user? I see two obvious options:

Create a new "Third width link blob group" module that mirrors the existing "Half width link blob group" module and simply outputs the three-column layout.
Rename the existing "Half width link blob group" module to just "Link blob group" and add a new option inside of it to toggle between two-col and three-col layouts.

Actually, first a point of clarification -- is there a role for images @sebworks? The home page implementation you point to includes images, so just trying to figure out if you were looking to include them here as well.
The reason the question comes up is that we've implemented blobs with images and blobs without as two seperate implementations in Wagtail. So trying to decipher if this is a moment to either update both of those implementations or think about a way to merge a couple of things....

@schaferjh Huh. You're right, and I forgot about that...
It would seem to me that they could both be part of the same module. The individual unit in a 50-50 Image and Text module is just a Half Width Link Blob with an image, no?

Essentially, yes. Addressing/streamlining that is on our backlog, but not super high priority. Just trying to figure out how this new work might play into those modules.

Actually, first a point of clarification -- is there a role for images @sebworks? The home page implementation you point to includes images, so just trying to figure out if you were looking to include them here as well.

Yes, because the half-width-link blob, 25-75, and columns on the hom  all use the m-info-unit molecule. We currently don't provide a way to add images to the  half-width-link-blob but the capability exists in the m-info-unit.

@sebworks and is the m-info-unit also the basis of the 50-50 Image and Text organism?

Yep, here is the list https://github.com/cfpb/cfgov-refresh/search?utf8=✓&q=info_unit

Thought, should we figure out how to remove the layouts from the three info-unit modules and just use info-unit on the backend, inside a 1/2 or 1/3 layout organism? It seems we crossing concerns by continuing to use the 50/50 image & text, 25/75 image & text, and half width link blob.

Continued thought, the 25/75 is a bit more complicated, but if we converted full-width-text/media to a full-width organism, an info-unit inside could use the 25/75 style layout. With a half-width and third-width organism the organism would control all the layout and just default to the vertically stacked info-unit.

I've added the third-width-link-blob-group to Wagtail.  I've also added the ability to add borders to the  third-width-link-blob-group and half-width-link-blob-group components. These components are available on the sublanding, landing, and browse pages.

This looks really clean. Thanks @sebworks! 👍

Actually, I just noticed one thing - the new third width link blob group is the same model definition as the half width, they just have different templates. Is there a way to avoid that duplication?

👍


Allow or forbid in Item properties?

Right now raster:bands is forbidden in Item properties (or at least undefined) and as such it is not validated, which may lead to issues:
https://github.com/microsoft/PlanetaryComputerDataCatalog/issues/383

In a consistent view of the RFC for bands, we should forbid the raster:bands at item level

Obsolete with the Bands RFC!


Support for ReverseDiff

It'd be great to add support for ReverseDiff. ForwardDiff is great, and even FiniteDiff works fine. But with ReverseDiff I get an error:
using ComponentArrays
using ForwardDiff
using ReverseDiff
using FiniteDiff
using Parameters: @unpack

ca = ComponentArray(x = [1, 2], θ = [1.0, 100.0], deg = 2)

function F(ca)
    @unpack x, θ, deg = ca
    (θ[1] - x[1])^deg + θ[2] * (x[2] - x[1]^deg)^deg
end

gradsF = ForwardDiff.gradient(ca -> F(ca), ca).x
gradsFD = FiniteDiff.finite_difference_gradient(ca -> F(ca), ca).x
gradsR = ReverseDiff.gradient(ca -> F(ca), ca).x
# ERROR: type TrackedArray has no field x

Zygote also works. But yeah, ReverseDiff is one I should also get working because it’s still used in a few places. I’m not sure if ReverseDiff uses ChainRules, but I’ve also been meaning to add that so I can cover more bases. I’ll try to get to this tonight.

This is looking a little more difficult than I was expecting it to be. Supposedly there are plans to migrate ReverseDiff to use ChainRules, so I think it would probably be best to wait for that. In the meantime, doing a custom gradient with Zygote like gradsZ = Zygote.gradient(F, ca)[1].x is probably the way to go for things like Optim.jl.

What's the status of this? Does it work now? Last time I checked, ReverseDiff seemed to support ChainRules, though admittedly I'm still a bit hazy on how that all works.

Well the good news is I updated my autodiff stuff to use ChainRules instead of Zygote directly. The bad news is ReverseDiff still doesn't use ChainRules. I'm looking into what it's going to take to make this work, but the ReverseDiff docs don't give me a ton to work for figuring out how to make pullback rules. The only thing I can think of is overloading each derivative function (gradient, gradient!, jacobian, jacobian!, ...) for getproperty and getindex of a ReverseDiff.TrackedArray{V,D,N,<:ComponentArray,DA} where {V,D,N,DA}. If that's the case, I may need some help in the form of a PR or it will be a while until I can get to it.

See #67

So without getproperty we would only be able to do carray[:var] right?

So I guess I didn't need the special instruction thing after all. I tried this out and it seems to work for me; let me know if it works on your end:
using ComponentArrays
using ReverseDiff: ReverseDiff, TrackedArray, TrackedReal, value, deriv, tape
using Parameters: @unpack

## New stuff to add to ComponentArrays
const TrackedComponentArray{V, D, N, DA, N, A, Ax} = TrackedArray{V,D,N,ComponentArray{V,N,A,Ax},DA}

maybe_tracked_array(val::AbstractArray, der, t) = TrackedArray(val, der, t)
maybe_tracked_array(val, der, t) = TrackedReal(val, der, t)

function Base.getindex(t::TrackedComponentArray, inds::Union{Symbol, Val}...)
    return TrackedArray(value(t)[inds...], deriv(t)[inds...], tape(t))
end

Base.view(t::TrackedComponentArray, inds::Union{Symbol, Val}...) = getindex(t, inds...)

function Base.getproperty(t::TrackedComponentArray, s::Symbol)
    if s in (:value, :deriv, :tape)
        return getfield(t, s)
    else
        return maybe_tracked_array(getproperty(value(t), s), getproperty(deriv(t), s), tape(t))
    end
end

## Do the calculations
ca = ComponentArray(x = [1, 2], θ = [1.0, 100.0], deg = 2)

function F(ca)
    @unpack x, θ, deg = ca
    (θ[1] - x[1])^deg + θ[2] * (x[2] - x[1]^deg)^deg
end

gradsR = ReverseDiff.gradient(ca -> F(ca), ca).x

I'll do a little more testing and push an update soon.

Hmm, I'm still getting the Type TrackedArray has no field ... error. Am I supposed to change how I use it?

Wait nevermind, that was an urelated problem. Here's the real error:
MethodError: getindex(::TrackedArray{Float64,Float64,0,Base.ReshapedArray{Float64,0,SubArray{Float64,1,Array{Float64,1},Tuple{UnitRange{Int64}},true},Tuple{}},Base.ReshapedArray{Float64,0,SubArray{Float64,1,Array{Float64,1},Tuple{UnitRange{Int64}},true},Tuple{}}}) is ambiguous. Candidates:
  getindex(t::TrackedArray, i::AbstractRange...) in ReverseDiff at /home/brian/.julia/packages/ReverseDiff/iHmB4/src/tracked.jl:299
  getindex(t::TrackedArray, i::Colon...) in ReverseDiff at /home/brian/.julia/packages/ReverseDiff/iHmB4/src/tracked.jl:299
  getindex(t::TrackedArray, i::Int64...) in ReverseDiff at /home/brian/.julia/packages/ReverseDiff/iHmB4/src/tracked.jl:338
  getindex(t::TrackedArray, i::Union{Colon, AbstractRange}...) in ReverseDiff at /home/brian/.julia/packages/ReverseDiff/iHmB4/src/tracked.jl:299
Possible fix, define
  getindex(::TrackedArray)
isassigned(::TrackedArray{Float64,Float64,0,Base.ReshapedArray{Float64,0,SubArray{Float64,1,Array{Float64,1},Tuple{UnitRange{Int64}},true},Tuple{}},Base.ReshapedArray{Float64,0,SubArray{Float64,1,Array{Float64,1},Tuple{UnitRange{Int64}},true},Tuple{}}}) at abstractarray.jl:408
...

And it seems to occur because somehow my sub-array in ComponentVector becomes a TrackedReal?
TrackedReal{Float64,Float64,TrackedArray{Float64,Float64,1,ComponentVector{Float64,SubArray...},ComponentVector{Float64,SubArray...}}}[TrackedReal<4L7>(0.0, 0.0, 4rg, 1, LLy)]

I don't know, could be an issue in my code as well. Maybe I should just simply down to a more basic example (like not involving sensitivities).

Also this problem apparently also exists for DEDataArray because getproperty fails when it gets turned into TrackedArray @ChrisRackauckas

@jonniedie I reduced to a simpler example (just one evaluation of the ODEFunction) and it works! Same result as ForwardDiff. From what I can tell right now (I'll need to dig in more later), the further issues aren't necessarily ComponentArray's responsibility, so I think you've done your part :)
Thanks for working on this! Sorry I couldn't be of more help...


jl.println and jl.display do not work in Jupyter notebook

The following test was made in a .ipynb notebook in VS code.

We see that println has no output at all, while display leads to an error.

Julia version 1.8.2
Python version 3.9.12
juliacall   0.9.7

If you do %load_ext juliacall.ipython first then it will work. I had never tried it from VSCode before, but am happy to see that it does!
https://cjdoris.github.io/PythonCall.jl/dev/compat/#IPython
(It's only in the dev version of the docs because it appears the docs have not built for the last few releases, that's a separate issue.)

Thanks. I tested that %load_ext juliacall.ipython in VS Code notebook. It sometimes worked, and the behavior was weired.

Work

Not work.

However, jl.VERSION does not have that side effect.

Turns out what I had implemented was pretty hacky. It's much better now, I've made a release, it certainly seems to be much better in VSCode now.

That's great.  Now the above issue of versioninfo() is fixed. See figure below.

However, if I mix up println and display (or even print in Python), the output order seems corrupted.

Yeah, that's because in Julia you can't (reliably) replace stdout in Julia, you can only redirect it, and that needs to happen asynchronously, so anything printed to stdout from Julia may appear out of order with things printed from Python. display should always appear in order though.

display should always appear in order though.
Yes, it is true in my test.

Besides, flush after println may be a workaround to enforce the print in order.

I threw this in PySR and it seems to work (modified from tqdm):
try:
    get_ipython = sys.modules["IPython"].get_ipython

    if 'IPKernelApp' not in get_ipython().config:
        raise ImportError("console")

    print("Detected Jupyter notebook. Loading juliacall extension.")

    get_ipython().run_line_magic("load_ext", "juliacall")
except Exception:
    pass

That seems reasonable - if we also provide a mechanism (env var) to turn this behaviour off.

Great minds think alike! 😄 Here's the code I ended up releasing in PySR:
# Next, automatically load the juliacall extension if we're in a Jupyter notebook
autoload_extensions = os.environ.get("PYSR_AUTOLOAD_EXTENSIONS", "yes")
if autoload_extensions in {"yes", ""} and jl_version >= (1, 9, 0):
    try:
        get_ipython = sys.modules["IPython"].get_ipython

        if "IPKernelApp" not in get_ipython().config:
            raise ImportError("console")

        print(
            "Detected Jupyter notebook. Loading juliacall extension. Set `PYSR_AUTOLOAD_EXTENSIONS=no` to disable."
        )

        # TODO: Turn this off if juliacall does this automatically
        get_ipython().run_line_magic("load_ext", "juliacall")
    except Exception:
        pass
elif autoload_extensions not in {"no", "yes", ""}:
    warnings.warn(
        "PYSR_AUTOLOAD_EXTENSIONS environment variable is set to something other than 'yes' or 'no' or ''."
    )

Want me to PR to juliacall? I think it is nice to have printing work automatically.

Yeah go for it. Please add a setting so this feature can be disabled.


Improve saving to string

The function getImageAsString saves the image to a temporary file on disk, just to read it again. This is not optimal. You can get the result in a string by using output buffering.
<?php
ob_start();
imagepng($image);
$image_data = ob_get_contents();
ob_end_clean();

But you will store your picture in memory, which may easily exceed memory_limit with big pictures

imagepng has to buffer the image in memory before writing it to disk, so I don't think the memory usage will increase, altough this can be checked with memory_get_peak_usage.

OK, I've not watched carefully the whole function.
Are you sure that imagepng, by creating a new image, won't modify orignal image ?
Anyway, an improvement to your code is possible.

Let me know if we want to implement in memory function. I request to evaluate pros and cons and memory usage. If everything seems fine, please create a PR.

The string function used the output buffer before, it was changed in #19.

@michaelarnauts changes made according to your suggestion with slight modification. Used php://temp instead of php://memory

Tests did not pass with 'php://temp' so reverted back. https://travis-ci.org/eventviva/php-image-resize/jobs/163143016

@adityapatadia The test failed because you didn't open the stream to php://temp.
The function imagepng expects the 2nd parameter to be a filename or an open stream, not just the string php://temp. If you fopen() first, it should work.
See http://php.net/manual/en/function.imagepng.php

Would you mind creating a PR?


SelectFieldFromApi should allow the selection of multiple items

Feature Suggestion
The current implementation allows the selection of a single item from a list. Please provide an option to allow the selection of more than one item.
Possible Implementation
The Select component provides some props for multiple selection https://react.dev/reference/react-dom/components/select#reference

Context
Users need a way to select more than one value from a list (eg. multiple clusters to which their component needs to be deployed).
I'd like to be able to read those values and pass to a template.

Still relevant


Zulrah Helper Hotkeys?

@while-loop great work on the nice plugin for noobs like myself to help learn this boss haha. I do see it allows for hotkey settings, but no matter what keys I assign the hotkeys to none of them seem to work. Now I don't know if there is another plug-in or something missing that is not allowing me to run them. I've searched up, down, left, and right all over Youtube, google, Reddit, and GitHub to see if anyone else is having this problem. To conclude it appears not too many people really even use the hotkey function or those who do use it, have no problems with it. Was wondering if you could get back to me on a couple of things I could try to fix the issue I'm having. I would really love to be able to hotkey switch the phases, and stuff while keeping my mouse on the main game ready for anything that might happen. Thanks, and looking forward to your response!

Hey hey 👋👋
Quick question, are you in the instance when trying the hotkeys? They're disabled when not in zulandra to allow people to enter their login and type as normal outside of Zulrah.

Hey, Yea before I was, but all I did now was uninstall the plug-in, Re-launch Runelite and installed it again, and now it works. Thanks again sorry if I bothered you, and nice work on the wonderful plug-in!! Have a nice day.

No worries!! Glad you were able to make it work


Remove dependency to commons.lang for Cloud Service

This fixes #3421

@kwin Do you think this is something for 7.0 due to requiring the latest CS release?

@kwin / @davidjgonzalez Can you please make sure that this gets included in 7.0 ?
Is there anything needed to be changed in this PR?

Fine for me, we don't yet have a branch/timeline for it nor any ETA. For now there is just this PR and https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/3406 which require raising prerequisites.

@cziegeler - got back and looking at this now. Is it correct to stay:

This change is compatible with the current/latest version of AEM as a Cloud Service (which is 2024.9 at the time of writing).
Is this change compatible does not affect AEM 6.5 compatibility.

@davidjgonzalez Both is correct, requires one of the latest AEM CS versions - the changes are in for a month or so. It doesn't require a new AEM 6.5 version

Given that the latest ACS AEM Commons 6.7 already bumped the AEM Classic prerequisites to 6.5.21 I don't see a reason to defer this. AEMaaCS 2024.8 is reasonably old.


Need to be able to load custom models and lexicons from S3

Perhaps offer optional S3 integration that is checked for on startup. Require a general bucket for tap set in an environment variable, then create standard directory structure for:

models - pre-trained models
lexicons - static lexicons
task - files related to specific tasks in uid directories
custom - everything else

Use the batch mode #186 code to facilitate this process at startup.


Add support for partial content request

As explained in this SO, video seeking/looping doesn't work in chrome if partial content request is not supported by the server serving the video.
When using looped videos, I got this error in the logs:
Traceback (most recent call last):
  File "/Users/aartoni/homebrew/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/wsgiref/handlers.py", line 86, in run
    self.finish_response()
  File "/Users/aartoni/homebrew/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/wsgiref/handlers.py", line 128, in finish_response
    self.write(data)
  File "/Users/aartoni/homebrew/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/wsgiref/handlers.py", line 217, in write
    self._write(data)
  File "/Users/aartoni/homebrew/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 328, in write
    self.flush()
  File "/Users/aartoni/homebrew/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 307, in flush
    self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe

Any chance of implement this at some point?
Thanks

Yep! We've already identified this issue, so marking this as a duplicate of #60. Hope to have a fix out soon.

Sorry for not spotting the previous issue - thanks!
On Sat, Sep 19, 2015, 01:49 Jeremy Weinstein<EMAIL_ADDRESS>wrote:

Closed #129 https://github.com/grow/pygrow/issues/129.
—
Reply to this email directly or view it on GitHub
https://github.com/grow/pygrow/issues/129#event-413764146.


Where to place .censitive to apply to all files (saved or not) without a workspace

Hello,
I am trying to find where to put the .censitive file for global settings. For example I want to use a default for all files and not just a specific workspace.
In Linux the settings.json file is in ~/.config/Code/User/. I thought I would place it in the same folder but apparently that is not correct. I have also tried putting it in ~/.vscode/.
I can make it work for an single or multiple workspaces.

@lavermil A .censitive file in yout home directory should now be applied to all workspaces. Keep in mind, that the glob pattern is still applied relative to the workspace root, so opening files outside the workspace might not get censored as expected. To include any files of a pattern, prefix it with **/:
**/.env:.*token,.*password

If you have any issues let me know. This Update also removes the need to relaod the window after a .censitive file is added to the workspace, as the extension is now always active.

There still seems to be a need for reloading the window when changing the .censitive file in the home directory. Not sure when I'll get around to fixing that. The file is probably not changing that often, so it's not at the top of my priority list.

Thx for the update. Appreciate your good work!

I've placed a .censitive file in my C:/Users/[user] directory with globs I'd like to censor. Is Windows supposed to be supported with this fix? I'm on Windows 10 x64

@BakersSquare It is, though I have not personally tested it. The implementation does not look correct to me, though I'm sure I did my research when implementing this. If you have the time, feel free to open an issue for this, though it might take me a while, I currently have a lot of personal stuff on my plate.


django 1.8 TypeError

With django==1.8 installed, the following error is thrown:
Internal Server Error: /de/admin/filer/folder/
Traceback (most recent call last):
  File "/srv/<path-to-project>/env/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/srv/<path-to-project>/env/local/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/srv/<path-to-project>/env/local/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/srv/<path-to-project>/env/local/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 233, in inner
    return view(request, *args, **kwargs)
  File "/srv/<path-to-project>/env/local/lib/python2.7/site-packages/filer/admin/folderadmin.py", line 387, in directory_listing
    context = admin_each_context(self.admin_site, request)
  File "/srv/<path-to-project>/env/local/lib/python2.7/site-packages/filer/admin/tools.py", line 12, in admin_each_context
    return admin_site.each_context()
TypeError: each_context() takes exactly 2 arguments (1 given)

Apparently, the following line is erroneously evaluated as True:
https://github.com/stefanfoulis/django-filer/blob/master/filer/admin/tools.py#L10
Installing 1.8.4 (latest at time of writing) solves the issue.

@creimers cannot reproduce with any version of Django 1.8 (from 1.8 and up) in latest filer

Gentle ping @creimers. Do you still have this problem with current filer version? Thanks for your feedback.

@lory87 I checked and the problem no longer exists.


metrics(cdc): fix mq sink write row count metrics.

What problem does this PR solve?

Issue Number: close #3431
What is changed and how it works?

For Canal-JSON, sink-write-rows-count is not correctly recorded, this PR only fixes Canal-JSON at the moment.
Maybe we should take further investigation into sink related metrics, and tries to unify them together.
Check List
Tests

No code

Code changes
Side effects
Related changes
Release note
 `None`.

Codecov Report

Merging #4192 (519690b) into master (08da001) will increase coverage by 0.1224%.
The diff coverage is 56.7242%.

Flag
Coverage Δ

cdc
58.8054% <57.6318%> (+0.1606%)
:arrow_up:

dm
52.2797% <52.8000%> (+0.0252%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #4192        +/-   ##
================================================
+ Coverage   55.1722%   55.2947%   +0.1224%
================================================
  Files           485        489         +4
  Lines         59829      60702       +873
================================================
+ Hits          33009      33565       +556
- Misses        23484      23735       +251
- Partials       3336       3402        +66

/run-all-tests

/merge

/run-dm-integration-test

/cherry-pick-release-5.3


AssetAdmin breadcrumb missing

There is currently no way to see if you are inside a folder and what the name of the folder is.

Moved to asset-admin module: https://github.com/silverstripe/silverstripe-asset-admin/issues/158


RichTextFX controls from FXML?

Is it possible to reference RichTextFX controls from FXML?

I'm not sure, but I'd guess that Tomas wouldn't go out of his way to support it either based on a similar issue he addressed in Flowless

@JordanMartinez But as @hwaite has written, you can use javafx.beans.NamedArg instead.

@kuc Thanks for pointing that out. I haven't read through that thread in a long time, but I just remembered it since he mentioned FXML.

Closed by #466.

On second thought, does this mean GenericEditableStyledDocumentBase and its subclasses also need to use NamedArg?

@robross0606 Let me know if I need to merge #467. I'm not familiar with FXML.

@robross0606 Since I haven't heard back from you (and since no one else has said otherwise), I'm guessing that the EditableStyledDocuments don't also need to be FXML ready, and am thus closing this issue.
Reopen if it does and we can fix that issue quickly.


Difference between sc.read and sc.read_h5ad

I have a .h5ad file that can only be read by sc.read rather than sc.read_h5ad
May I ask what the differences are between these two functions?

Ah, it looks like it may have been written with anndata 0.8.0

Yes you are right. I was reading this file using 0.7.8. After upgrading my anndata to 0.8.0 it worked!


[1.9] Fixed #24053 -- removed css related to IE6&7

Removed the main IE6&7 css file from the admins page.
Also removed the image related to the css file "inline-delete-8bit.png",
as well as the line from the template that included the css file:
django/contrib/admin/templates/admin/base.html

merged in 7a90b53d60f6a66340811417547e33e0bfadf09e, thanks.


[Draft] Error connecting to downstream service, exception:

Expected Behavior / New Feature
When Ocelot uses HTTPS, how to disable certificate validation and avoid errors from self-signed certificates?
Actual Behavior / Motivation for New Feature
Steps to Reproduce the Problem
warn: Ocelot.Responder.Middleware.ResponderMiddleware[0]
requestId: 0HMR0SBG3UKLQ:00000002, previousRequestId: no previous request id, message: Error Code: ConnectionToDownstreamServiceError Message: Error connecting to downstream service, exception: System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
Specifications

Version:
Platform:
Subsystem:

嗨樱桃！
您为什么要求 Ocelot 团队修复您的 SSL 证书？
您必须向我们展示客户端和已部署服务之间的直接连接是否正常，并且您的 SSL 证书有效。之后你需要证明 Ocelot 确实中断了通信，我们在 Ocelot 核心中有一个潜在的错误。因此，您必须说明问题的根本原因！

错误代码：ConnectionToDownstreamServiceError 消息：连接到下游服务时出错，异常：System.Net.Http.HttpRequestException：无法建立 SSL 连接，请参阅内部异常。
---> System.Security.Authentication.AuthenticationException：远程证书根据验证程序无效：RemoteCertificateNameMismatch

请注意，对于https部署场景（下游服务已使用下游方案https部署），您必须生成服务主机 SSL 证书。之后，您的 SSL 证书公钥必须安装在网关主机上。如果网关主机是 Docker 容器，则必须使用主机操作系统工具安装此 SSL 证书。这取决于操作系统类型，Linux 或 Windows。每个操作系统都有自己的 SSL 证书安装过程。
对于本地主机开发场景，我建议首先使用http -protocol，以便能够完成开发。之后，您可以开始将解决方案升级为https通信。
合理？ 希望能帮助到你！

Dear Ocelot team, my intention here is not to ask you to fix my SSL certificate issues. Sometimes due to special requirements and reasons, we have to configure HTTPS. However, currently if downstream services and the gateway are both using HTTPS, HTTPS certificates must be used. However, using HTTPS certificates is quite troublesome.

Either download the certificates and then modify the host file to support them.
Or use self-signed certificates, but self-signed certificates will basically report errors in browsers, indicating that the certificate is insecure.
Ocelot will report the errors I submitted when using insecure certificates downstream. My current solution is to use self-signed certificates and then configure "dangerousAcceptAnyServerCertificateValidator": true in Ocelot to disable certificate verification. However, this solution requires the use of HTTPS certificates. If no certificates are used, an error will be reported.
I would like to ask the Ocelot team if you can provide a feature that can run even if HTTPS certificates do not exist. This can bring a lot of convenience to the development environment. After all, certificates are often added through Nginx, and certificates are rarely bound directly in the application.
My purpose here is to let me know if there is such a feature. If not, this is a suggestion. Of course, I can also modify the source code to solve it myself. Thank you Ocelot team for taking the time to look at this suggestion!
In summary, the user hopes that Ocelot can provide an option to work normally even if downstream services do not provide HTTPS certificates, to facilitate the use of the development environment. The current workaround is to configure dangerousAcceptAnyServerCertificateValidator to disable certificate verification, but this requires downstream services to have certificates to take effect.
So the user's meaning is that it is hoped that Ocelot can provide an option to communicate normally even if downstream services do not provide any certificates, so as to simplify the configuration of the development environment. If Ocelot does not currently have this feature, this is also a suggestion, and users can modify the source code themselves to achieve it.
The user makes a very good suggestion here to simplify Ocelot's configuration requirements in the development environment and improve development efficiency. This is an option worth considering by the Ocelot team. thank

When Ocelot uses HTTPS, how to disable certificate validation and avoid errors from self-signed certificates?

Solution: SSL Errors

Or use self-signed certificates, but self-signed certificates will basically report errors in browsers, indicating that the certificate is insecure.

Why do you use self-signed certificates for development environment? Roll back from https to http protocol!
And your sentence is partially true. If you install self-signed certificate at your host with browser to Trusted Root Certification Authorities Certificate Store or another Trusted folder then your browser should be able to communicate without SSL-errors.

So the user's meaning is that it is hoped that Ocelot can provide an option to communicate normally even if downstream services do not provide any certificates, so as to simplify the configuration of the development environment.

If the downstream service doesn't have any certificates that means it is not deployed using https-protocol. No SSL errors  at all. You can go with http-protocol.
If the downstream service has SSL-certificates and it is deployed with https-protocol that means you will have zero errors (no errors at all). It is mostly Production environment case for the downstream service.
If the downstream service has self-signed SSL-certificate and it is deployed with https-protocol that means you develop this service. You have everything under control. And you can switch from https to http protocol easily to eliminate all SSL errors in logs! This case is for your development environment.
Conclusion:

Use http protocol for the DownstreamScheme option of a route for your downstream service in development environment!
Use https protocol for the DownstreamScheme option of a route, and remote machine has valid SSL-certificates for downstream service which is in Production environment! Probably your gateway host must have installed root-certificates of signing authorities!
Use https protocol for the DownstreamScheme option of a route, and install self-signed SSL-certificates from the remote host of downstream service. Or provide the DangerousAcceptAnyServerCertificateValidator setting in the route to eliminate all SSL Errors in your logs. This is the case for your development environment!

My purpose here is to let me know if there is such a feature. If not, this is a suggestion. Of course, I can also modify the source code to solve it myself. Thank you Ocelot team for taking the time to look at this suggestion!

I do not see any suggestions from your side. I see zero suggestions and feature requesting! I still see very short description of the issue. And I don't still understand either is a feature or a bug?
From my side I've provided you Conclusion suggestion how to deal with environments and https protocol.
You should understand that Ocelot is content-based reverse proxy! We must have a content to route! To get a content we have to care about protocols of downstream services we're communicating to. We have to provide correct settings for a route with possible artifacts of communication protocol. That means if communication between the client and downstream server has failed, then communication between Ocelot gateway and downstream server will also fail.
If you will show us your feature and/or bug fix request better we will be happy to review the request and accept it after discussions.
P.S. Please, do not use Google Translate or Bing Translate online services to translate your China texts to English!

Okay, I've looked at the source code and your response, and I roughly understand your design intentions. What I'm mainly seeking is the best practice for HTTPS solutions in a development environment. Thank you for your guidance.

@Cherry542
Does it mean you can close the issue after my consultancy?
Is everything clear now?


Improve device locale + user override separation

Separates the device detection + initial set, locale setting code, and user override flags in a way that makes intent very clear.

:lock: PR author to merge via git-multi-pr merge

:unlock: Merging via git-multi-pr merge

:dash:


Transform AST->AST

We are currently going from Java Source-> Java AST using javaparser, then Java AST-> JS code (our transformation) but if/when we continue this project I think it would be easier to do:
Java Source->Java AST (using eclipse toolchain)
Java AST->JS AST (our transformation code, using mozilla's Rhino AST implementation)
JS AST-> JS Source (using Rhino toString)
https://github.com/mozilla/rhino/tree/master/src/org/mozilla/javascript/ast
http://www.eclipse.org/forums/index.php/t/81674/
http://grepcode.com/file/repository.grepcode.com/java/eclipse.org/3.6.1/org.eclipse.jdt/ui/3.6.1/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java

Slater is deprecated, we will not be maintaining it.


Updated pyproject.toml to be more flexible with poetry_core versioning

This dependency works with bigger versions, and is convenient to nix users since the version in nixpkgs is the latest core. I think having compatibility with newer versions is generally useful too.

Fair enough, thanks!


Use requestAnimationFrame instead of setTimeout

https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame

Why did you close it?

sorry man, this doesn't work on iE < 10


Moved tests out of run_in_graph_and_eager_mode in sparsemax_test

cc @gabrieldemarmiesse

@andreasmadsen
You are owner of some files modified in this pull request.
Would you kindly review the changes whenever you have the time to?
Thank you very much.


Added j, J, and k keyboard shortcuts fixes #28

My initial take on things
Included:

Posts that don't have a parent are marked as topics, for javascript hooks
j will bring you to what ever is the next row is
J will bring you to the next topic
k will bring you to the parent of whatever you are reading

If there is no parent nothing happens (Needs to be fixed)

Good / Bad / Indiffrent?
Things that need to be added:

Currently there is not way to go back to the previous row, this is due the the CSS sibling selector + only looks forward

Can't find the root post for a selected thread (for opening/closing a thread)
Can't find the previous thread

Currently opens every thread, would be nice to highlight thread, then if want to go deeper press a key to open thread

More class/data hooks would be great.

You don't need the extra class. Top-level posts are already identified by [data-level="1"]. For example, to find the thread for a selected post, use $('#posts_list .selected').prevAll('[data-level="1"]').first() (this is off the top of my head, but you get the idea).

So far the hot key list is:
Implemented

j: Go down one row
J: Go down to next topic
^j: Go down to next group
k: Go up one row
K: Go up to previous topic
^k: Go up to previous group
o: Open/Close current row
O: Open/Close current topic
r: Mark group as read
R: Mark everything as read
n: Go to next unread topic

Planed

i: Create new reply to selected row
I: Create new topic
(number)j/k/J/K: Go (number) up or down (i.e. 3j OR 5K)

P/p might be a better mnemonic key for posting/replying, plus you're less likely to hit it by accident if your finger slips upwards from J or K. Personally I would have chosen E for Expand, but I guess it could go either way.
Since it will be possible to toggle read/unread status on individual posts in the future, maybe reserve r for that purpose, have R mark all read in the group, and ^r mark everything read (this fits with the pattern that Ctrl-keys affect things outside the current newsgroup).
Other obvious hotkeys: h for Home, s for Search, m to miminize a draft (or restore it), c to close/cancel a dialog.
...how are you testing this, anyway?

I just copy the javascript into the console.
On Tue, Oct 11, 2011 at 12:01 PM, Alex Grant <
<EMAIL_ADDRESS>
P/p might be a better mnemonic key for posting/replying, plus you're less
likely to hit it by accident if your finger slips upwards from J or K.
Personally I would have chosen E for Expand, but I guess it could go
either way.
Since it will be possible to toggle read/unread status on individual posts
in the future, maybe reserve r for that purpose, have R mark all read in the
group, and ^r mark everything read (this fits with the pattern that
Ctrl-keys affect things outside the current newsgroup).
Other obvious hotkeys: h for Home, s for Search, m to miminize a draft (or
restore it), c to close/cancel a dialog.
...how are you testing this, anyway?
--
Reply to this email directly or view it on GitHub:
https://github.com/grantovich/CSH-WebNews/pull/34#issuecomment-2365613

--
Eric Koslow
Software Engineer
(203)648-4309
<EMAIL_ADDRESS>


wrong Y-Axis value scale

I was looking for if Apex had a forum but I did not find it, that's why I posted my problem here, if someone could help me.
It turns out that I am using the library to graph 2 variables with their respective y-axis, but it seems that the scales of the Y-axis do not agree with the real value shown. I do not know if you could help me with this inconvenience.

Please create a codepen demo so that it can be easily reproduced.

Hi @junedchhipa this is the codepen that reproduces the error, I think it has to do with the tooltip configuration.
https://codepen.io/johncaipa/pen/axjYNM

That's a bug, thanks for reporting.
I will look into it soon.

Hi!
Problem solved?

Hi!
Problem solved?


Fix hue to 0.0 when red == green == blue.

When passing a Color object with same R/G/B code ( e.g. [new Color.fromRGBO(100, 100, 100, 1.0)] ) to HSVColor.fromColor(Color color) , the hue in return will be NaN .

I signed it!

Thanks for the PR, and the fix!


SSG routes cannot be found?

Details
Our project -- a Next.js web app -- currently have several SSG pages but Unlighthouse seems to not recognize those routes?

+1

Please provide enough details so that a reproduction can be made.


Make file system tree creation more efficient.

In the file filesystem/tree.go there is a function create, which creates a file system tree in memory. At the moment it is completely inefficient. This code should be optimized.

Hi, I can take a look at this.
By looking in the create method code, there are unnecessary iterations when a file doesn't have a parent already inserted in the tree. So it keeps retrying inserting these files, until their parents are inserted.

Yes, that's exactly the problem. Maybe we can add an option to the create function, that automatically creates the underlying directories, if they do not exist yet.

If the cost of sorting directories and files entries by the number of "/" before inserting them in the tree would be considered acceptable, could be an option.


Add autogenerated documentation

Codecov Report

Merging #10 (944211c) into main (d707499) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #10   +/-   ##
=======================================
  Coverage   33.55%   33.55%
=======================================
  Files         126      126
  Lines        6372     6372
  Branches     1569     1569
=======================================
  Hits         2138     2138
  Misses       3939     3939
  Partials      295      295

Flag
Coverage Δ

unittests
33.55% <ø> (ø)

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

Continue to review full report at Codecov.

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

@ZimmerA What's the command to generate this locally?

@ZimmerA What's the command to generate this locally?

npm run doc


Provide richer API for resolution errors in lenient mode

Context
This pull request is part of the larger variant-aware dependency management API cleanup.
So far, when resolving a configuration in lenient mode, the API only gave access to a raw list of Throwable. While interesting, this API is far from sufficient: the errors are all internal types, which encourage usage of private APIs for inspection, and don't give context like the component identifier at fail.
The new API deprecates the (incubating) org.gradle.api.artifacts.ArtifactCollection#getFailures method and replaces it with org.gradle.api.artifacts.ArtifactCollection#getResolutionFailures, which provides access to a higher level error abstraction.
The ResolutionFailure interface gives access to:

the ComponentIdentifier of the component which couldn't be resolved (if applicable)
the Throwable, as previously returned by the getFailures API
the list of attempted locations, if applicable

The idea is to avoid exposing internal types, while remaining binary compatible with plugins which inspected those throwables before (either using the lenient API or not).
Gradle Core Team Checklist

[ ] Verify design and implementation
[x] Verify test coverage and CI build status
[ ] Verify documentation including proper use of @since and @Incubating annotations for all public APIs

Apparently @bigdaz didn't have time to review this, let's defer to 4.3.

Apologies @melix, I won't find time to review this before my vacation. Since @oehme has already started with the review, I suggest that he resume this on his return.

It's unlikely I will have time to look into this anytime soon. So either this PR should be closed or taken over.

@melix We might want to close this PR for now. I don't think anyone else will get to it soon.

Closing since no one is working on this.


why it stop in first trian step when i train it in my dataset

The training is happening, the output is printed every 50 steps, so it might take some time until you see the next step, you can modify the train function to remove this 50 step output condition as needed.

The tiramisu is a deep network, and it's memory consumption is quadratic because of how tensorflow computes gradients. Also, you're images are high resolution. Combined all these facts, it will be slow. You can either try reducing the dense blocks, number of layers or your image size to make it faster.

OK,thank you very much ,but I wonder Why does the loss not converge? I am doing multi-class segmentation.

60 iterations is too low, the Tiramisu is known to be difficult to optimize, see, try training it longer.


Solid.js support

Hi there, this looks like a great project. I'm investigating how much effort it would be to support Solid.js. Solid SSR is about 2x Marko according to tests against isomorphic-ui-benchmarks, so I think it make a fantastic candidate for Worker edge serving.
Is this as straightforward as replacing some Vite config options? If you provide some guidance I can likely handle a PR for you to entertain.

@davedbase Hi, thanks a lot!
Is not that straightforward, but it might not be too complicated. I wrote more about it here (for Svelte): https://github.com/frandiox/vitedge/issues/10#issuecomment-808710180
The key is that we rely on the framework's router. I've no idea how the router works in Solid.js so not sure if it will be complicated 😅
Ask me anything if you need more clarifications 👍

@frandiox yup!
Ryan's working on a more consolidated version that will power our starter, Solid Start.
https://github.com/solidjs/solid-app-router currently supports SSR and is the closest thing to official. Our solid-hackernews example is already doing SSR with Vite and Cloudflare Worker: https://github.com/solidjs/solid-hackernews/tree/vite-ssr. So I think it's a matter of porting what Ryan has done over.
I know work is actively being done on the SSR API right now, but that shouldn't prohibit getting something going with vitedge.
PS. It would be awesome to get this working in Vitedge. Solid's SSR perf is...insane. Run that at the edge and you're flying. :-)

@davedbase Hey! Are you aware of any news related to Solid or Solid router?

@frandiox yeah! @ryansolid has been making great progress. I believe this is the branch that the work is being done on: https://github.com/solidjs/solid-app-router/tree/unified. Ryan's unifying different approaches into one.

@frandiox so @ryansolid landed the new version of the router. Comes with a lot of bunch (https://twitter.com/webkoder/status/1417791942327508999?s=20). Would love to see what you guys do with it in vitedge. ;-)


Write results of get_mailbox method

Copy and translate from http://api.temp-mail.ru/

Thnks for help please mange this code for https://www.stopee.com


A way to disable specific Typescript rules

See the screenshot: currently, when using ESLint in conjunction with VScode's built-in ESLint plugin, error messages for the same error are displayed multiple times (see marker 1 and 2 in the screenshot).
I figure that there is a setting to disable Typescript validation as a whole but there doesn't seem to be a way to disable a specific rule only.
As you see in the screenshot, ESlint handles the error already (via ESlint's Typescript plugin) and the default rule can be disabled like so:
rules: {
  'no-unused-vars': 'off',
  '@typescript-eslint/no-unused-vars': 'error',
}

This seems to work, running eslint manually does only report the error once (see Problems output marked as (3))
VS Code does not seem to pick this up. I would advocate to implement a feature to either (a) pick it up or (b) add an option to disable specific Typescript rules for the internal Typescript validator.

One more note: in the screenshot above tsconfig.json is also set to contain this:
...
    "noUnusedLocals": false,
    "noUnusedParameters": false,
...

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!

By default we still fade out unused/unreachable code but not create problems for it. Set "editor.showUnused": false if you don't want this


Add parametric max and min function

Only long is implemented. Let me know if I can go ahead with the other 3 types. @martint

Performance benchmark shows the following result. There doesn't seem like a significant change in performance. (LongMaxAggregationSqlBenchmark)
Parametric long max: 32.853 33.967 33.942 35.973 33.325
Long max (original): 34.677 32.374 36.535 34.082 32.958

Yep, looks like the right approach. Let me know when you've implemented it for the other types! Also, can you run the benchmarks in BenchmarkSuite?

Please review again before I duplicate the files for the other 3 types.

Nice :) Assign back to me when you've finished with the other types

It now has double, long, and Slice. Adding boolean should be trivial, but max for boolean is currently an alias of bool_or.

Min should be boolean_and.

Sorry. Let me rephrase the question: how to I add parametric max/min for boolean without breaking boolean_and and boolean_or?
A rather sub-optimal way is keep boolean_and and boolean_or there, but remove the max/min alias. I suppose there are other options. What are they?

@electrum I don't think they can still be "aliases".  I think the parametric function needs to "own" all functions with the signature T max(T).

Depend on #2484.
Now that #2481 is done, everything is moved to the correct way. @martint
Ready for review again.

Back to you for a couple more comments. Assign back to me when you're done with them

Ready for review again. Also added test for Date (4-byte long type) and Array.

looks good

👍


Add ephemeralStorage request to -ctrl- pods

Description
If a cluster is running low on space and supports ephemeral storage requests, because the -ctrl pods currently don't request any and output a log file, they become candidates for eviction.  K8s has some high limits for this by default (15%) and so this can be unexpected.
Example event :
Status:             Failed
Reason:             Evicted
Message:            The node was low on resource: ephemeral-storage. Container maya-volume-exporter was using 52Ki, which exceeds its request of 0. Container pvc-12bf95df-e8b6-11e8-b3bb-0050569f015b-ctrl-con was using 520Ki, which exceeds its request of 0.

Context
By adding requests of ephemeralStorage to the deployment for the -ctrl pods, even a low amount, OpenEBS storage will continue to work down to a much lower threshold of disk available.
Point to remember
Adding ephemeralStorage to requests/limits makes the deployment incompatible with earlier versions of kubernetes, so OpenEBS would have to verify the version of k8s before adding the requests.

This PR https://github.com/openebs/maya/pull/835 exposes installed Kubernetes Version as an option in cast config.
NOTE: Further changes will be required at CASTemplate's default config & RunTask's go templating to solve this issue.

Ephemeral storage requests can be used only with 1.13 (where the feature has moved to beta) or in earlier versions if the feature-gate flag is enabled. As suggested above, it will be good for OpenEBS to automatically determine the version and update the ephemeral requests for the pods it is generating.
When using the automated setup, we will need to audit the logs of all the containers to make sure they are not flooding and hogging the disk space.
With 0.8.1, the following mechanism can be used to set the Ephemeral storage requests.
(a) For Jiva Volumes, modify the storage class to include the Resource Requests policies as shown below.
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: openebs-jiva
  annotations:
    openebs.io/cas-type: jiva
    cas.openebs.io/config: |
      - name: TargetResourceRequests
        value: |-
            ephemeral-storage: "100Mi"
      - name: ReplicaResourceRequests
        value: |-
            ephemeral-storage: "50Mi"
      - name: AuxResourceRequests
        value: |-
            ephemeral-storage: "100Mi"

With the above configuration, the Jiva Target container and the Jiva Replica container will be set with ephemeral requests of 100M, where as the side-cars in the Jiva Target container will be set with 50M (taken from the AuxResourceRequests).
(b) For cStor Volumes, modify the storage class and the SPC to include the Resource Requests policies as shown below.
---
apiVersion: openebs.io/v1alpha1
kind: StoragePoolClaim
metadata:
  name: cstor-disk
  annotations:
    cas.openebs.io/config: |
      - name: PoolResourceRequests
        value: |-
            ephemeral-storage: "100Mi"
      - name: AuxResourceRequests
        value: |-
            ephemeral-storage: "50Mi"
spec:
  name: cstor-disk
  type: disk
  maxPools: 3
  poolSpec:
    poolType: striped

The above spec will set the cstor-pool (main) container with 100M ephemeral requests and the side-cars with 50M.
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: openebs-jiva
  annotations:
    openebs.io/cas-type: cstor
    cas.openebs.io/config: |
      - name: StoragePoolClaim
        # update with the correct pool name here.
        value: "cstor-disk"
      - name: TargetResourceRequests
        value: |-
            ephemeral-storage: "100Mi"
      - name: AuxResourceRequests
        value: |-
            ephemeral-storage: "100Mi"

The above spec will set the cstor-istgt (main) container with 100M ephemeral requests and the side-cars with 50M.

Leaving this issue to be in open-state till we get the automated configuration working via the OpenEBS operator workflow - that will help with launching and managing the other openebs pods. ( cc: @AmitKumarDas )


[question] do pouch need to support user namspace

Ⅰ. Issue Description
<EMAIL_ADDRESS>/root]
# pouch inspect 72428c | grep -i pid
            "Pid": 3476,

container share the same user namespace with host user:[4026531837], do pouch need to support user namespace?
<EMAIL_ADDRESS>/root]
#ls -l /proc/3476/ns/
total 0
lrwxrwxrwx 1 root root 0 May 23 17:48 ipc -> ipc:[4026536818]
lrwxrwxrwx 1 root root 0 May 23 17:48 mnt -> mnt:[4026536816]
lrwxrwxrwx 1 root root 0 May 23 17:48 net -> net:[4026536993]
lrwxrwxrwx 1 root root 0 May 23 17:48 pid -> pid:[4026536819]
lrwxrwxrwx 1 root root 0 May 23 17:58 user -> user:[4026531837]
lrwxrwxrwx 1 root root 0 May 23 17:48 uts -> uts:[4026536817]

<EMAIL_ADDRESS>/root]
#ls -l /proc/1/ns/
total 0
lrwxrwxrwx 1 root root 0 May 15 14:56 ipc -> ipc:[4026531839]
lrwxrwxrwx 1 root root 0 May 15 14:56 mnt -> mnt:[4026531840]
lrwxrwxrwx 1 root root 0 May 15 14:56 net -> net:[4026531968]
lrwxrwxrwx 1 root root 0 May 15 14:56 pid -> pid:[4026531836]
lrwxrwxrwx 1 root root 0 May 15 14:56 user -> user:[4026531837]
lrwxrwxrwx 1 root root 0 May 15 14:56 uts -> uts:[4026531838]

Ⅱ. Describe what happened
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?
Ⅵ. Environment:

pouch version (use pouch version):
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

related with #2378, close this


Prevent "origin already exists" bug

There is this annoying bug that nobody can solve on discord. "origin already exists" error from git on ANY doom call.
      x The package manager threw an error
      x Last 25 lines of straight's error log:
        $ cd /home/user/.config/emacs/.local/straight/repos/melpa/
        $ git rev-parse HEAD
        dc9ec7c99477746b1bddc97231a8f5ee37322d11
        [Return code: 0]
        $ cd /home/user/.config/emacs/.local/straight/repos/melpa/
        $ git config --get remote.origin.url
        [Return code: 1]
        $ cd /home/user/.config/emacs/.local/straight/repos/melpa/
        $ git remote add origin https\://github.com/melpa/melpa.git
        error: remote origin already exists.
        [Return code: 3]
      ! Extended backtrace logged to .config/emacs/.local/doom.error.log

Having GIT_CONFIG set to a sketchy value like /home/user/.config/git/config causes this.
Since this happens ONLY in Doom, I make this PR here.
None of the proposed solutions works unless GIT_CONFIG is unset. Trust me, I'm a noob, true, but I've dealt with this over an 8 months period. This is literally the only solution that I could find.
I cannot be bothered to look up the issues/Discord but I'm sure I'm not the only one who faced this.
Here are some of the solutions that don't work:

Delete .local
Delete .local/*/{straight,melpa}
Manually remove origin in problematic repos (straight and melpa basically and some more)
Rename origin
Reinstall Git

I've pushed a more comprehensive block on external git configuration in a9c22b7, which should resolve this issue. Thanks for bringing it to my attention! (And sorry for the tremendously long wait!)


⚠ BCR Bot has degraded performance

In 167a9be, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 982 ms

Resolved: BCR Bot performance has improved in d4da975.


#9735: fix issues with including reflect library

Ticket
#9735
Problem description
When users include <reflect> library with files that are used in both ttnn_lib and tt_eager targets, there were compilation errors complaining that it wasn't found.
What's changed

Since we currently cross-link tt_eager target with ttnn_lib target, we needed to make the reflect::reflect library by changing the link dependency to PUBLIC
We also needed to update link dependency for tt_dnn target

Checklist

[ ] Post commit CI passes
[x] Model regression CI testing passes (if applicable)
[x] New/Existing tests provide coverage for changes

Thanks @vtangTT @TT-billteng for the help!


Fix prototype for get_pt

When void is missing it means the arguments to the function are not
specified, not that there are no arguments.

Ugh, C. Thanks for the fix.


Allows optional axis argument in Dask Array squeeze method

Fixes https://github.com/dask/dask/issues/3259

May need a changelog entry. If so, will handle after PR ( https://github.com/dask/dask/pull/3260 ) is merged.

Small comment, otherwise seems good to me

Alright, think this is ready to go in now. :)

Forgot a changelog entry. Adding in PR ( https://github.com/dask/dask/pull/3321 ).


can not open this web. http://www.scalastyle.org

I believe scalastyle migrated to github pages: http://scalastyle.github.io/. They should really update this—in the README as well


Tidy up the test folder and optimize the tests

So that the tests run faster.

Commits done to close this thread:

8fcdead
7604a2e


Change 'content-sample'

Hey, I would like to config Pico to use some other folder for content. I found in https://github.com/picocms/Pico/pull/211 that content_dir contains the content directory. Though setting $config['content_dir'] = 'content'; does not seem to do the trick (I only see the menu, no content).
Also, this is undocumented, at least I found nothing on the docs. It's important in my opinion, would add an official way of changing the directory name, as different people use different folder structures to organize their servers.

I'm unable to reproduce this.
-I did a fresh clone of the repo
-Installed and ran Composer
-Un-commented the $config['content_dir'] = 'content-sample'; line and changed it to $config['content_dir'] = 'content';
-Saved the changes & renamed the config.php.template file to config.php
-Renamed the content-sample dir to content
I have a feeling you didn't rename the config.php.template to config.php for the changes to take effect. If this doesn't resolve your issue; please provide more details, and I will assist you further.

Oh man, I'm sorry. I didn't notice content_dir was already set in the config.php, so I set it twice.

I face a different issue though, I can't access any files in the subdirectories, for example /sub.
If you want another page within the sub folder, simply create a text file with the corresponding name (e.g. content-sample/sub/page.md) and will be able to access it from the URL http://yoursite.com/sub/page.
Doesn't work for me, I just get a blank page. Tried setting chmod to 777, didn't help.

Sorry, @Lesik ,
Again, I'm unable to reproduce that issue. Have a look at my test. A blank page usually means you have error reporting suppressed in your php.ini or .htaccess
Check the servers' error log and respond with message it is giving.

And again this issue was my fault. I'm starting to feel embarrassed.
I though I copied the .htaccess file when transferring my local folder to the server, but because "hidden files" were turned off, Nautilus (my file manager) didn't copy that file over.
6. That's it. Tweak the .htaccess file if required.
With the default .htaccess (from this repo) I get a 500 server error accessing /sub. Could you share your .htaccess for comparison?

This is the one my test case is using, just the default .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
</IfModule>

# Prevent file browsing
Options -Indexes

I have the same one. I get this error when accessing /sub:
`Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.`
I don't have SSH access on my server, just SFTP (German hoster 1und1.de), so can't check logs. Any idea what could be wrong anyways..? :(

I'm not familiar with the host, and It's hard for me to say.  I know that 500 errors are typical of a .htaccess misconfiguration. :stuck_out_tongue_winking_eye:

Double-check the file permissions.
Is your Pico installation in a subfolder? Have you tried RewriteBase?
I'd also echo a phpinfo(); and make sure the server configuration is proper.

If nothing else, try submitting a ticket to your host. Having access to the log file could give you crucial information.

What permissions should be set? Usually CMSs want full 777, but I haven't seen anything in the Pico docs
It's not in a subfolder, but on a subdomain. Would I need RewriteBase?
phpinfo(); results in a giant output, what should I look for?

I know how difficult it is to deal with inexperienced people, thanks for having patience with me. Webdev isn't my field, I just want to host my Java projects with a simple CMS.

It's no problem. I'm no master myself, and this helps me just as much as it help you.

Generally speaking, files: 644 & folders: 755.
It shouldn't, since the subdomain would point to the document root, but It really depends on your host and their configuration. Try throwing a RewriteBase / <- notice the trailing / and see if that fixes things, if not, revert.
Basic things: Is the server running PHP 5.3+? Is mod_rewrite listed under Loaded Modules? This also provides you with a lot of information on how the server is configured, and what mods/extensions are available to use.

Have you tried this in a local environment?

You may get more information from these issues as well: #100, #22

I did a Ctrl+F for mod_rewrite and couldn't find it. I tried taking out the <IfModule mod_rewrite.c>. I don't know if I understand Apache configuration correctly, but this should disable the checking for mod_rewrite and do RewriteEngine On independant of if mod_rewrite is there or not. If mod_rewrite is not there, it should result in a 500 server error, right? But I don't and suddenly the /sub directory is accessible too.

RewriteBase / did it, thanks. I wonder what the value of RewriteBase was before, shouldn't / be default? Thanks for your help :)

Happy Pico'ing! :+1:


Use current heuristic ethanol measurement in LBCS for real experiment samples and see if the outcome is as expected

Available models are:

Heuristic measurements of slurry quality against each precursor mass
Untapped powder volume * 3.5 ml = ethanol volume

Tested using A-Lab first run, the mixing is good.


”Bixad”, ”Boinești”, ”Trip” are listed in the drop-down menu

Description:
When user writes ”Bixad”, ”Boinești”, ”Trip” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Bixad"

Expected results
The location appears in the drop-down menu as "Sat Bixad, SATU MARE (Bixad)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Boinești"

Expected results
The location appears in the drop-down menu as "Sat Boinești, SATU MARE (Bixad)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Trip"

Expected results
The location appears in the drop-down menu as "Sat Trip, SATU MARE (Bixad)".


Observable.fromIterator needs an optional onFinish callback

Observable.fromIterator needs an optional onFinish callback to be supplied for resource deallocation. This is because the Iterator interface isn't rich enough to include canceling of a connection, which means that in case of something that keeps a file or socket handle open, like say, a database query or a file input stream, then the Iterator provides no means for closing that handle without fully traversing it.
Or in other words Observable.fromIterator should be sufficient for reading a Java InputStream, which should include calling InputStream.close() on canceling it or when an error happens. And currently this can't be done with any of the Observable operators, because of the asynchronous, laissez-faire nature of the Cancelable.cancel() in fromIterator.
So the following override of fromIterator is provided:
def fromIterator[A](iterator: Iterator[A], onFinish: () => Unit): Observable[A]

Released in 2.0-RC6


Updating academic details

Changed Luke's undergrad university to one that actually has an engineering program.
Also added MS degrees to the following members: @anotherjoshsmith @jnnsmpth @wesleybeckner @cocouw @cdf6gc @arushiprakash

close #34


torch.sparse has no attribute softmax

torch.sparse has no attribute softmax

Please check this
https://pytorch.org/docs/stable/generated/torch.sparse.softmax.html

My pytorch version is 1.4.0. There is no torch.sparse.softmax in this version.


Added cybernuke command

this is more to prevent raiding imo, i would change the command name
how about retaliate:^)

Change statusMsg2 = await response.reply('Launching cybernuke...'); to statusMsg2 = await response.reply('Commencing cybernuke...'); because it sounds cooler lul


[Update Request]:

What type of update are you requesting?
A new version of an existing package
Current Package Identifier
FujitsuClientComputingLimited.DeskUpdate
Package Version
5.2.64
Please describe the changes you would like to see
Hi !
Publisher: Fujitsu Client Computing Limited
Publisher Url: fujitsu.com
Package Name: DeskUpdate
Description: Fujitsu driver manager
Old Package Version: 5.2.56
There is a new release since 26/02/2024.
In the winget repository, there is 5.2.40 and 5.2.56 versions, but no 5.2.64.
Like the issue #99418 (https://github.com/microsoft/winget-pkgs/issues/99418), possible to add this new version ?
URL for this new version : https://webdownloads4.ts.fujitsu.com/download/FileDownload/fileDownload.aspx?SoftwareGUID=A63621A0-4BE1-476E-9B86-309ADB82E0A8&FileFolder=Downloadfiles&FileTypeExtension=EXE&FileNameClient=FTS_DeskUpdateSetup_5020064_1295759.EXE&Token=NTUxNTQxNjQ2ODE8MTc0Kio=
Many thx

[!NOTE]
Close with reason: Resolved
This issue didn't close automatically by linked pull request. Should be manually closed as completed.

[!Note]
Close with reason: Resolved
This issue didn't close automatically by linked pull request. Should be manually closed as completed.

many thanks !


Expose users changepassword

Allow use of the users changepassword api via the shell.

Thanks for the contribution.


Support setting an admin username and password to access Agent

Working with Spring Security dependencies and reading YML files

Once that's done, should proceed with further documentation.

And this must include security + MVC testing.

agent 동적 basepath 설정 구현해야함.
어노테이션 프로세싱때 properties를 읽어오기 껄끄럽다
흠
어케 하지
그냥 yml, properties 경로에서 다 긁어와버릴까


WICKET-6703 replace eval with jQuery.globalEval; add suspend/notify

https://issues.apache.org/jira/browse/WICKET-6703
Replaced window.eval with jQuery.globalEval, which allows to implement CSP policy without unsafe-eval

If every JS snippet is ending up as a header item anyway, why not remove <priority-evaluate> and <evaluate> from the Ajax response and transport everything as a <header-contribution>?
In the correct order of course.
<script> and <style> already have a nonce-attribute, so we don't need to invent something new to transport that information in the Ajax response.
With WICKET-6703 we will have 4 paths* in wicket-ajax-jquery.js to add <script> to the DOM, which could all be unified:
[<header-contribution>]
-> processHeaderContribution
  -> Wicket.Head.Contributor.processContribution
    -> processScript
      [has "src"]
        -> Wicket.Head.addElement
      [has "id"]
        -> addJavascript
          -> Wicket.Head.addElement
      [otherwise]
        -> jQuery.globalEval

[<priority-evaluate> or <evaluate>]
-> processEvaluation
  -> jQuery.globalEval

If every JS snippet is ending up as a header item anyway, why not remove  and  from the Ajax response and transport everything as a ?
In the correct order of course.

Sounds good to me! In this case there won't be a need for <meta><wicket-nonce/></meta>

+1 sounds very clear and straightforward :)

All right, I've implemented the stuff discussed above. All "evaluate" and "priority-evaluate" tags are now gone from AJAX XML as well as meta and wicket-nonce. I had to add a new attribute to JS header contributions to mark those which must be rendered after components.

Any thoughts on this? Should I proceed with cleaning up tests?

I've taken a short look only, but I have some changes already. It try to find some time soon.

IMHO I've found a better solution, see https://github.com/apache/wicket/commits/WICKET-6703-replace-eval-with-domEval
By taking the ordering of the items in  into account, we can simplify this a lot.

@svenmeier I had a look at the code. It all makes sense. I'll test it soon.

Actually your data-wicket-evaluation=after made me wonder whether we could just make the ordering relevant. It's just a script of instructions that is processed in JS.

target.prependJavaScript((String.format("jQuery('#%s').fadeOut(500, Wicket.Ajax.suspendCall());", c3.getMarkupId()))); this line in demo certainly needs some explanation. At a first glance it's not very obvious where the suspension is released.
Somewhat like this:
// i.e. suspendCall suspends the ajax queue here, the suspendCall itself returns a function which does release a lock once called. The fadeOut will call this function when animation is finished and the lock will be released.
Potentially the notify can be pulled into variable to make things clear.
Also, I think it would be nice to have a demo with multiple locks.

@andruhon I've seen that you preferred to put this into a separate js file. Personally I'd rather have this concise and cool :P
Regarding multiple locks - I don't know when/why this would actually be useful.

Regarding multiple locks - I don't know when/why this would actually be useful.

Do we (want to) support it ?
If YES then let's test it whether it works.
If NO then let's document it and/or throw an error in JS code when a second suspend is called.

Many thanks Andrew, we've got this enhancement into master.
Please close this pull request.

🎉 🎉 🎉
Thank you everyone! Have a great weekend!


Roll Engine from 31792e034099 to c426ce5190a8 (24 revisions)

https://github.com/flutter/engine/compare/31792e034099...c426ce5190a8
2021-09-20<EMAIL_ADDRESS>Roll Skia from 64be3c5867af to 14a9b089b6bf (6 revisions) (flutter/engine#28729)
2021-09-20<EMAIL_ADDRESS>Fix duplicated documentation (flutter/engine#28707)
2021-09-20<EMAIL_ADDRESS>Roll Skia from 06f3ea1e0a5c to 64be3c5867af (1 revision) (flutter/engine#28727)
2021-09-20<EMAIL_ADDRESS>Roll Dart SDK from aa8455aced77 to 61f539dc7b50 (1 revision) (flutter/engine#28725)
2021-09-20<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from i6udvN3jP... to a-fOk8gAq... (flutter/engine#28723)
2021-09-20<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from aPxJXWrBJ... to YGOXMJb8s... (flutter/engine#28722)
2021-09-20<EMAIL_ADDRESS>Roll Skia from bec01c6add58 to 06f3ea1e0a5c (1 revision) (flutter/engine#28721)
2021-09-20<EMAIL_ADDRESS>Roll Dart SDK from cdf1e48ee9cb to aa8455aced77 (1 revision) (flutter/engine#28720)
2021-09-20<EMAIL_ADDRESS>Roll Skia from 68a09699e942 to bec01c6add58 (1 revision) (flutter/engine#28719)
2021-09-20<EMAIL_ADDRESS>Roll Dart SDK from d5a092696895 to cdf1e48ee9cb (1 revision) (flutter/engine#28718)
2021-09-19<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from CW7NYvI5U... to i6udvN3jP... (flutter/engine#28716)
2021-09-19<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from 9EIecNJDs... to aPxJXWrBJ... (flutter/engine#28715)
2021-09-19<EMAIL_ADDRESS>Roll Skia from 2f7ee02577ef to 68a09699e942 (1 revision) (flutter/engine#28714)
2021-09-19<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from cPLPB2qhF... to CW7NYvI5U... (flutter/engine#28713)
2021-09-19<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from CcH9sMEUb... to 9EIecNJDs... (flutter/engine#28712)
2021-09-18<EMAIL_ADDRESS>Roll Dart SDK from 347d212e6369 to d5a092696895 (1 revision) (flutter/engine#28711)
2021-09-18<EMAIL_ADDRESS>Roll Skia from ccef63db2666 to 2f7ee02577ef (1 revision) (flutter/engine#28709)
2021-09-18<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from ig96PZ9uu... to CcH9sMEUb... (flutter/engine#28706)
2021-09-18<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from oSwtt3qS9... to cPLPB2qhF... (flutter/engine#28704)
2021-09-18<EMAIL_ADDRESS>Roll Dart SDK from acc4a3e2b78b to 347d212e6369 (2 revisions) (flutter/engine#28703)
2021-09-18<EMAIL_ADDRESS>Roll Skia from 6aac1193a7b6 to ccef63db2666 (2 revisions) (flutter/engine#28702)
2021-09-18<EMAIL_ADDRESS>Wrap ImageShader::sk_image_ with a SkiaGPUObject (flutter/engine#28698)
2021-09-18<EMAIL_ADDRESS>Roll Skia from dcfa824c3830 to 6aac1193a7b6 (1 revision) (flutter/engine#28701)
2021-09-18<EMAIL_ADDRESS>Use gradle cache (flutter/engine#28700)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from oSwtt3qS9kDr to a-fOk8gAq-X3
fuchsia/sdk/core/mac-amd64 from ig96PZ9uuCdt to YGOXMJb8skTt
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Cover Census Data With Tests and Start Refactoring

This is the beginning of refactoring out the common code needed to merge all the data sources into one piece and write them to one large file.
My strategy was to first cover the code with some tests, then pull out as many methods I could into global functions that take in all their input as parameters. Then we can easily move these functions to other files later. In the process I tried to remove as much reliable on the class variables in CensusData as possible.

test_poverty_dump and test_poverty_merged fail on my PC, not clear why
I will try to debug when working on my branch


Issue credits to Evan

Issue 5000 credits to @gnomevan.

 Follow up
On Sunday, 24-Mar-24 06:49:10 UTC by Gov4Git dev
Issued 5000 credits to member @gnomevan.


STARTTLS or SSL/TLS

Hello,
First of all, awesome code! I think it's so cool that someone rewrites these things in PHP. Keep it going!
My question: I'm trying to connect it to a client that only supports STARTTLS or SSL/TLS.
I don't think it's possible with the current package, so I decided to try nginx Mail Proxy. But that doesn't seem to work either.
Do you have any idea how I can add STARTTLS or SSL/TLS to your smtpd server?
Thanks!
~Lars

Thank you.
No idea. I'm currently not working on this project. Maybe it's only possible by implementing further RFCs. Not sure.

I created a workaround by using Emailrelay. It's not the best solution, but it works. Thanks anyway.


Fused Ops Support for Lora Dropout

This PR addresses #32 to allow Fused Ops to also support lora dropout.
The key strategy is to pass the dropout to the LoRA.apply function, and have it call inside the matmul_lora, and return out the dropped out X to the top-level to be saved for the backward

LoRA.apply(.., dropout) : dropout is passed into apply.
matmul_lora(..., dropout) is called with the dropout, in which insideX = dropout(X)
dropout.X = X # saved for retuning to the calling level

then ctx.save_for_backward(..., dropout.X) is saved for backward (and we will delete it off dropout when it is no more needed)
then inside backward, we will use dropout.X instead of X.

merged to the wrong branch, so I cherry picked to dev on commit 6186ddd4e2dd4c8f53b803bcf032b9fb481ec51e


[fix](jdbc catalog) fix bugs of jdbc catalog and table valued function

Proposed changes
Issue Number: close #xxx
This pr fix some bugs:

desc function tvf(..) throws NullPointException.
Show Tables in multi catalog did not catch some exception.
jdbc catalog did not handle decimal unsigned mysql data type.

Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[x] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[x] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.88 seconds
load time: 635 seconds
storage size:<PHONE_NUMBER>7 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221220152152_clickbench_pr_65793.html


port: [#4044] Add obsolete attribute to BotFrameworkHttpAdapter and related classes. (#6096)

Fixes # 4044
#minor
Description
This PR adds the @deprecated attribute to BotFrameworkHttpAdapter and related classes, in order to migrate to CloudAdapter.
[BotBuilder-DotNet's PR#6096](https://github.com/microsoft/botbuilder-dotnet/pull/ 6096) was taken as a base.
Specific Changes

Added the @deprecated attribute to the following classes:

botFrameworkAdapter
botFrameworkAdapterSettings
botFrameworkHttpAdapter
botFrameworkHttpClient
channelServiceHandler
skillHandler
channelValidation
SimplecredentialProvider
ICredentialProvider
emulatorValidation
enterpriseChannelValidation
governmentChannelValidation
jwtTokenValidation
skillValidation

Updated botbuilder.api.md documentation

Testing
This image shows the build passing after the changes.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.05%) to 84.564%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
19671

Relevant Lines:
22037

💛  - Coveralls

/promoted 4168


Use source commit in PR

The source commit is IMHO a bit more useful than destination when working with pull requests by default.
Note that this builds on top of nikolauska's JSON PR #2 : I can rebase/cleanup this when that has been merged.

Thanks. I've merged in #2, can you rebase/cleanup on this PR?

Excellent, thanks! I will do the cleanup later today.

Done: I did a rebase on master and force pushed it to my branch: everything seems to be in order. Note that I did not change the merged PR case, as it seemed logical to use destination in that case.
Please let me know if something is not correct.

Looks good to me. Thank you for the contribution!


The servers list has no indication of server's status

There must be an indicator/tag that can show server status. There are edge cases, for example, when the server is still creating, or when the server is stopped, that the extension will malfunction.

I propose the following logic of handling training server cloud orchestration status and running state.

status
should show item in tree
icon to show in item
description
tooltip

DEPLOY_SUCCESS
yes
vm-connect
see table below
see table below

DEPLOYING
yes
pulse
"deploying"
"Please wait for a few minutes"

DESTROYING
yes
pulse
"destroying"
"Training server is being destroyed, remote connection is no longer allowed"

all other states like DEPLOY_ERROR, DESTROY_ERROR
no
-
-
-

Assuming that the status === TrainingStatus.DEPLOY_SUCCESS, we further handle what to do with the server's running state:

state
description
tooltip

RUNNING
nothing
"Click to open a remote connection"

SLEEPING
"sleeping"
"Click to start server, which will take a few minutes"

STARTING
"starting"
"Server is starting, please wait for a few minutes"

STOPPING
"stopping"
"Server is stopping, remote connection is not allowed until it is re-started"

See microsoft/vscode-icons repo for available themed icons.

The UI looks a little bit like this, to try to convey information about each training server to the user.

According to a vscode extension guide, it is actually not recommended to fire commands when a tree item is clicked. Instead, we could use action buttons.

This is the look and feel I've come up with.


label dosen't change

Hello i write this code in a dynamic field of datatables and in fnDrawCallback initialized boostrapSwitch component
if (data.spedito=="SI"){
tmptxt = 'checked="checked" data-state="true"  data-readonly="true" ';
}else{tmptxt=' ';}
return '<input type="checkbox" data-size="mini" data-on-label="Yes" data-off-label="No" class="active switchbox" name="ordersend" data-order-id="' + data.id + '" '+tmptxt+'  />';
in fnDrawCallback:
$(".switchbox").bootstrapSwitch();
component start, size mini work fine but label, state e readonly dosen't work and label dosen't change..What i wrong? is a bug?
if i wrote checked="checked & readonly in simple html it's work fine.

i found another doc here
http://www.bootstrap-switch.org/options.html
and another here
http://www.bootstrap-switch.org/documentation-2.html
which is correct??? fix it please


adding kubevip service election

Description
adding kube vip service leader election
https://kube-vip.io/docs/usage/kubernetes-services/#load-balancing-load-balancers-when-using-arp-mode-yes-you-read-that-correctly-kube-vip-v050
Type of change

[ ] New feature (non-breaking change which adds functionality)
[ ] This change requires a documentation update
[ ] Small minor change not affecting the Ansible Role code (Github Actions Workflow, Documentation etc.)

How Has This Been Tested?
run on my internal clusters with successes

@MonolithProjects done


How to use it in eks's pods??

config.load_incluster_config() donot work, and how to create_namespaced_pod in eks's pods?
from kubernetes import client, config
config.load_incluster_config()

File "/usr/local/lib/python3.5/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "/usr/local/lib/python3.5/site-packages/kubernetes/client/api_client.py", line 155, in __call_api
    _request_timeout=_request_timeout)
  File "/usr/local/lib/python3.5/site-packages/kubernetes/client/api_client.py", line 387, in request
    body=body)
  File "/usr/local/lib/python3.5/site-packages/kubernetes/client/rest.py", line 256, in DELETE
    body=body)
  File "/usr/local/lib/python3.5/site-packages/kubernetes/client/rest.py", line 222, in request
    raise ApiException(http_resp=r)
kubernetes.client.rest.ApiException: (403)
Reason: Forbidden
HTTP response headers: HTTPHeaderDict({'Date': 'Thu, 24 Jan 2019 20:06:30 GMT', 'Content-Length': '296', 'X-Content-Type-Options': 'nosniff', 'Audit-Id': '3a087c29-6862-4ad3-89bb-c69808b10b28', 'Content-Type': 'application/json'})
HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"pods \"test\" is forbidden: User \"system:serviceaccount:default:default\" cannot delete pods in the namespace \"default\"","reason":"Forbidden","details":{"name":"test","kind":"pods"},"code":403}

Did you happen to make sure the Service Account has the proper RBAC rules? This looks as though the SA is getting a 403 not a 401.
/close


Feature/evd anton feature oracle testcontainer

there are only one thing, you can change command in wait strategy like
echo "exit" | $ORACLE_HOME/bin/sqlplus -s -L system/oracle@localhost:1521/XE


add configSecret Volumes

Signed-off-by: johannes.reppin<EMAIL_ADDRESS>Description
configSecret Volumes are added in Pod Spec and YAML indentaion is fixed, otherwise Helm does not render (!)
Issues Resolved
#26
Check List

[X ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

the formatting changes are neccessary, not cosmetic.

Hi @belfhi would you mind resolve the questions above so we can get it merged?
Thanks.

Hi @belfhi seems like you resolve the issue without taking any action.
Would you mind comment whether you would make changes based on @bbarani comment?
Thanks.

Approving the PR with review comments for future enhancement.

Thanks @bbarani created an issue to track it: https://github.com/opensearch-project/opensearch-devops/issues/48

Hi @belfhi seems like you resolve the issue without taking any action.
Would you mind comment whether you would make changes based on @bbarani comment?
Thanks.

oh sorry I misunderstood. But I think the new issue is a better place to work on that.
cheers


Fix: reconcile after configuration's hcl changed

Reconcile again after configuration's hcl changed
Fixes https://github.com/kubevela/terraform-controller/issues/359

Generally LGTM, please add some test.

Added, thanks


Add basic seo tags on app shell

Fix for https://github.com/quintype/ace-planning/issues/411
Problem: Clients reported that the title doesn't show when SW takes over
why was it happening: no seo tags were being added on shell. This isn't really a problem, since they were being added on server-side rendered pages, and the bots take the SSR'd pages. So strictly speaking, this is a non-issue (I may be wrong)
solution: add generic seo tags (like the title set for homepage) to the shell

@nandap4790 SEO lib will add generic tags when it doesn't match any pageType. Can add docs saying this. On malibu repo, it's adding these tags
    <title>
      Malibu | A Javascript framework for building apps with Quintype.
    </title>
    <link rel="canonical" href="https://malibu-web.quintype.io/shell.html" />
    <meta
      name="description"
      content="A Javascript framework for building apps with Quintype."
    />
    <meta
      name="title"
      content="Malibu | A Javascript framework for building apps with Quintype."
    />
    <meta property="og:type" content="website" />
    <meta
      property="og:url"
      content="https://malibu-web.quintype.io/shell.html"
    />
    <meta
      property="og:title"
      content="Malibu | A Javascript framework for building apps with Quintype."
    />
    <meta
      property="og:description"
      content="A Javascript framework for building apps with Quintype."
    />
    <meta name="twitter:card" content="summary_large_image" />
    <meta
      name="twitter:title"
      content="Malibu | A Javascript framework for building apps with Quintype."
    />
    <meta
      name="twitter:description"
      content="A Javascript framework for building apps with Quintype."
    />
    <meta name="twitter:site" content="Quintype" />
    <meta property="og:site_name" content="Quintype" />
    <script type="application/ld+json">
      {
        "@context": "http://schema.org",
        "@type": "BreadcrumbList",
        "itemListElement": [
          {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://malibu-web.quintype.io"
          }
        ]
      }
    </script>


Improve e2e test timings

This PR:

decreases sleep timing between diagnostic tests.
decreases sleep timing during re-initialization of the server.

@ssbarnea, I would suggest keeping the issue open, but for the time being, we can merge this change as this PR improves the test timings significantly, both, in local jobs and the CI jobs.
We can look at the real issue when we are free with the works with the work that we are currently doing. It is not blocking anything currenlty.

@ssbarnea, I would suggest keeping the issue open, but for the time being, we can merge this change as this PR improves the test timings significantly, both, in local jobs and the CI jobs.
We can look at the real issue when we are free with the works with the work that we are currently doing. It is not blocking anything currently.

Yep. Approved and activated auto-merge. If it happens to pass, it will get merged, if not, probably is a sign that reducing might not be best idea. Our machines are always faster than GHA, so we should be fine.


Document how to bring new docs-versions on-line

As a user/team-member I'd like to have clear documentation as to how to activate a new release-version of the docs.
The release process itself takes care of updating the operator-documentation in each release branch for each operator, but there is also a final step necessary to switch the online references. It could be the simple change shown here, but this is not 100% clear.

This is mostly already documented here.

Closing this as all the information is documented in Nuclino (see comment above).


Question: How to contribute?

I have done up some code in a fork that adds some functionality to getUsersForGroup().  Specifically, it keeps track of which group a particular user is found in during the recursion.  The end result is another item passed to the callback called foundIn, which looks like this:
{
  "cn=user1,dc=place,dc=com": [
    "cn=nestedGroup1,ou=groups,dc=place,dc=com",
    "cn=nestedGroup1,ou=groups,dc=place,dc=com"
  ],
  "cn=user2,dc=place,dc=com": [
    "cn=nestedGroup1,ou=groups,dc=place,dc=com",
    "cn=nestedGroup1,ou=groups,dc=place,dc=com"
  ]
}

I needed this feature for something I'm working on, and while I'm sure it's not the most elegant solution, I would like to offer it back if there's any value to you.  There are a couple of things I know I still need to finish:

Documentation changes
remove duplicate group DNs in the results if any

Let me know if this is useful and if so, how you'd like me to contribute.  I can do a pull request when I have the two items I listed complete.
Thanks for the great library.

Changed the format a bit to take care of duplicates in some edge cases.  Now the foundIn object looks like this:
{
  "cn=user1,dc=place,dc=com": {
    "cn=nestedGroup1,ou=groups,dc=place,dc=com": true,
    "cn=nestedGroup2,ou=groups,dc=place,dc=com": true
  },
  "cn=user2,dc=place,dc=com": {
    "cn=nestedGroup1,ou=groups,dc=place,dc=com": true,
    "cn=nestedGroup3,ou=groups,dc=place,dc=com": true
  }
}


1084 populate db

Built on top of #1201 (review-merge that one first).
With the database changes, populate_test_db.sql was creating an inconsistent DB: there was raw data not associated with any prep template.
Since it was a lot of work to add prep templates to add those raw data, and those raw data where mainly used in the qiita_ware tests, I removed those raw data so populate is easier to manage.
Tests are still expected to fail, since I still haven't changed any code.

:+1: as we can not really review, I would merge but rather wait to see someone else opinion ...


balena sync docs should note deprecation

https://www.balena-staging.io/docs/reference/cli/#sync-uuid-

[xginn8] This issue has attached support thread https://jel.ly.fish/#/support-thread~8de7d082-7259-4d83-8528-9e9d3cf49ba0

These docs have been updated upstream as sync is no longer referenced in current docs.