Add condensed nodes proposal

This is a proposal for an alternative way to display applications and workloads.
Some details (like how we would show services) are not included, and others (like the location of the app group toggle) may change, but the general ideas are there.
Using consistent and separate shapes for workloads and applications will make it much clearer what exactly is being displayed on the graph and moving labels off of the nodes will increase legibility and free up space on the nodes themselves to put badges or other informational bits.

@lucasponce @mwringe

@cshinn  I have a private branch where I've been trying to apply your design ideas to the graph code.   Here are some screenshots for your feedback.   Not everything is exactly like the mocks but it's fairly close.  Here is a summary of changes:

smaller nodes
node shape is consistent with node type

circle: workload
square: app
rectangle: app box
octagon: service
diamond: unknown

node text smaller, centered above the node, with opacity
edge text is smaller, with opacity, centered, and aligned left-to-right
popper badges removed in favor of prefixing icons to the node text
node text heavier and colored when showing a badge
outsider nodes marked with a background image (down arrow at the moment) as opposed to a pentagon shape.
edge arrows vee (as opposed to triangle)

I tried this to reduce overlap from node text

and at this size an octagon and a circle look almost identical.

In fact, in his latest code, @jshaughn changed the octagon to a triangle for this very reason. He should post a new screenshot with the changes - @jshaughn perhaps also take out the bold font when you post a new screenshot

I've looked at a few shape sizes and I think the ratios look good if the shapes are roughly the same height as two lines of label text. Neither one dominates the other and anything we put inside the shape will be easily visible when the text is a readable size


how to change base path for swagger 2.8 with spring boot 2.0

I want to create document for my spring boot project.So I choose swagger api for that.I'm new to swagger.
In my project I used filter to validate the request when i trying hit the swagger default url the filter throwing the error as per configuration.So I want to change the base url of swagger.Please give guide me to change base url.
This is my swagger configuration code
@Bean
public Docket productApi(ServletContext servletContext) {
	return new Docket(DocumentationType.SWAGGER_2).select()
			.apis(RequestHandlerSelectors.basePackage("com.test.swagger"))
			.build().apiInfo(metaData());
}

private ApiInfo metaData() {
	return new ApiInfoBuilder().title("Spring Boot REST API")
			.description("\"Spring Boot REST API for Test\"").version("1.0.0")
			.license("Apache License Version 2.0").licenseUrl("https://www.apache.org/licenses/LICENSE-2.0\"")
			.contact(
					new Contact("Test", "http://test.com/", "test@gmail.com"))
			.build();
}

Create a new Provider class as following:
public class ExtendRelativePathProvider extends AbstractPathProvider{
	  public static final String ROOT = "/";
	  @Override
	  protected String applicationPath() {
		  String contextPath = Anole.getProperty("server.context-path");
	      return isNullOrEmpty(contextPath) ? ROOT : contextPath;
	  }
	  @Override
	  protected String getDocumentationPath() {
	      return "/admin";
	  }
}

Note: Anole.getProperty("server.context-path") is just one way to get the Spring Web's context path. You can use your own method instead.

And then create a Docket like:
@Bean
    public Docket createRestApi() {
        return new Docket(DocumentationType.SWAGGER_2)
        		.host("yourhost")//must be declared
                .apiInfo(apiInfo())
                .select()
	                .apis(RequestHandlerSelectors.basePackage("com.lcb.hapi.saas.fours.swagger"))
	                .apis(RequestHandlerSelectors.withMethodAnnotation(ApiOperation.class))
	                .build()
	             .pathProvider(new ExtendRelativePathProvider());
    }

Thanks Tommy for your response.I tried but it didn't work again it hitting first filter class.Below is my filter configuration
@WebFilter(value = "preRequestValidatorFilter", urlPatterns = "/*") @Configuration public class TestFilter implements Filter { }

Please take an example what you want to do. :) I am not sure what do you try to do. What does the right path look like?

Thanks Tommy for suggestion.I looking to prepare documentation using Swagger without hitting filter class of my project.

Without hitting filter class? Maybe what you need is just a URL check and let matched URL pass the filter in filter's implement codes.

@tbwork thanks for the answers and pointer to the interesting tool you've written!


Add TagHelper binding abstractions.

Added a TagHelperFeature to hold TagHelper specific pieces that can be replaced.
Built a syntax tree pass that applies the ported TagHelper bits.
Updated tests that expected different RazorEngine defaults.

When design is signed off on i'll add tests.
#845

Small 🆙📅
Still need to talk about this.

🆙 📅
Added tests for the binder syntax tree pass. Tried not too be too specific with the syntax tree output. More or less verified that the legacy bits were running 👍

Merged.


Feature Request: LLM Integration

I know actually this shouldn't be what this plugin should care about (so feel free to close it), but when I see how the user interacts with the paste window, I get this idea.
If I can write something I want to do in the paste window and this plugin generates the corresponding commands by LLMs, press enter, and the shell executes what I want to do. The final result is I can communicate with the shell in plain English!

Hey @ofseed, that is an interesting idea. This would be out of scope for this plugin since it is only opening the scrollback buffer. But, you could achieve this if you have an existing cli that gives the input/ouput and write that to the paste window, or possibly using another Neovim plugin that has LLM support and writing the results to the paste window.
Here is a fake example, fake_llm is just a script hardcoding the result.
I am opening kitty-scrollback.nvim, then pressing a to open the paste window. Then I enter the command %!fake_llm list all the files in the current directory to run an external command fake_llm and write the results to the paste window buffer.
https://github.com/mikesmithgh/kitty-scrollback.nvim/assets/10135646/9991bb51-e073-4924-b574-d94073b8705d


Request for review

The Kanban project for our group is: Catalog of my things
We are a team of three people and the tasks are:
Team member #1 (Book and Label) - @AtillaTahak
Team member #2 (Music album and genre) - @Hombre2014
Team member #3 (Game and Author) - @charlesgobina

Asslam Alaikum Team @Hombre2014 @AtillaTahak @charlesgobina  ,😊
Hi👋🏽,
Your milestone is complete!  Good luck with the upcoming ones ^^!
Congratulations! 🎉
Happy coding!👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Add a way to create task with custom jobs

Motivation and context

This PR adds an option to specify file to job mapping explicitly during task creation. This option is incompatible with most other job-related parameters like sorting_method and frame_step.

Added a new task creation parameter (job_file_mapping) to set a custom file to job mapping during task creation

How has this been tested?

Unit tests, manually
Checklist

[ ] I submit my changes into the develop branch
[ ] I have added a description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[ ] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.

@zhiltsov-max , https://github.com/opencv/cvat/issues/4869 (related issue)

@zhiltsov-max , could you please resolve conflicts?


HTTPTargetConnection not part of TargetEndpoint within the configuration_schemas.xsd

I've created a TargetEndpoint and used the configuration_schemas.xsd. My IDE (IntelliJ) complains that HTTPTargetConnection is not allowed and IMO the reason is, that its missing in the xsd.
The same is true for the HTTPProxyConnection in the ProxyEndpoint.
Example:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TargetEndpoint
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/apigee/api-platform-samples/master/schemas/configuration/configuration_schemas.xsd"
  name="default">
  <PreFlow name="PreFlow">
    <Request>
      <Step>
        <Name>am-custompathprefix-default</Name>
      </Step>
    </Request>
    <Response/>
  </PreFlow>
  <Flows>
    <Flow name="add-user-path">
      <Description>Adds /user as path prefix to certain endpoints</Description>
      <Request>
        <Step>
          <Name>am-custompathprefix-user</Name>
        </Step>
      </Request>
      <Response/>
    </Flow>
  </Flows>
  <PostFlow name="PostFlow">
    <Request/>
    <Response/>
  </PostFlow>
  <HTTPTargetConnection>
    <LoadBalancer>
      <Server name="test"/>
    </LoadBalancer>
    <Path>{customPathPrefix}</Path>
  </HTTPTargetConnection>
</TargetEndpoint>

Yeah, while the XSDs for the policies seem to be pretty complete, this one seems incomplete.


Implementation of polyfit and polyval

[x] Closes #3349
[x] Tests added
[x] Passes isort -rc . && black . && mypy . && flake8
[x] Fully documented, including whats-new.rst for all changes and api.rst for new API

Following discussions in #3349, I suggest here an implementation of polyfit and polyval for xarray. However, this is still work in progress, a lot of testing is missing, all docstrings are missing. But, mainly, I have questions on how to properly conduct this.
My implementation mostly duplicates the code of np.polyfit, but making use of dask.array.linalg.lstsq and dask.array.apply_along_axis for dask arrays. The same method as in xscale.signal.fitting.polyfit, but I add NaN-awareness in a 1-D manner.
The version with numpy is also slightly different of np.polyfit because of the NaN skipping, but I wanted the function to replicate its behaviour. It returns a variable number of DataArrays, depending on the keyword arguments (coefficients, [ residuals, matrix rank, singular values ] / [covariance matrix]).
Thus giving a medium-length function that has a lot of duplicated code from numpy.polyfit.  I thought of simply using a xr.apply_ufunc, but that makes chunking along the fitted dimension forbidden and difficult to return the ancillary results (residuals, rank, covariance matrix...).
Questions:
1 ) Are the functions where they should go?
2 ) Should xarray's implementation really replicate the behaviour of numpy's? A lot of extra code could be removed if we'd say we only want to compute and return the residuals and the coefficients. All the other variables are a few lines of code away for the user that really wants them, and they don't need the power of xarray and dask anyway.

This looks really excellent. Thanks @aulemahal !
Any thoughts @dcherian @TomNicholas before we merge?

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

In the file xarray/tests/test_dataarray.py:

Line 4243:5: E301 expected 1 blank line, found 0

Thanks @aulemahal . Sorry I missed this: I don't think I get notifications when code is pushed, only on a comment. Ping on green and I'll merge.

Ping. It be green.

I can take a look later this week if needed

Great, I'm merging, but post back here for further feedback and we can iterate.
Thank you very much @aulemahal !

Yay! Many thanks, this will greatly improve our projects.


Marked some unlock functions noexcept

Scope & Purpose

[X] Bug-Fix and cleanup for devel-branch
[X] The behavior change can be verified via automatic tests

Testing & Verification
This change is already covered by existing tests.

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/7316/

http://jenkins.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/7341/

http://jenkins.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/7346/

Last Jenkins is blue.

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/7646/

Jenkins is blue.


Blockchain in abi

This is a bit hacky, but I needed access to the blockchain config on the client. Not sure if this is something you want to include, but I figured I'd add a PR just in case.

woops this should only be the last commit


Not able to build distributable binary with PyInstalle

Describe the problem
I am trying to build distributable binary with PyInstaller. However, when  I am running python -m eel [your_main_script] [your_web_folder], I am getting following error.  My main script and all files are working fine when I am executing it from command line but I am getting error when creating distributable.
Error snippet(s)
Here is some code that can be easily used to reproduce the problem or understand what I need help with.
2590 INFO: Processing pre-safe import module hook urllib3.packages.six.moves from '/home/site1/.local/lib/python3.6/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-urllib3.packages.six.moves.py'.
Traceback (most recent call last):
File "", line 2, in
File "/home/site1/.local/lib/python3.6/site-packages/urllib3/init.py", line 7, in
import logging
File "/home/site1/.local/lib/python3.6/site-packages/logging/init.py", line 618
raise NotImplementedError, 'emit must be implemented '
^
SyntaxError: invalid syntax
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 72, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/init.py", line 5, in
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 25, in
from apport.packaging_impl import impl as packaging
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in
import apt
File "/usr/lib/python3/dist-packages/apt/init.py", line 26, in
from apt.package import Package
File "/usr/lib/python3/dist-packages/apt/package.py", line 24, in
import logging
File "/home/site1/.local/lib/python3.6/site-packages/logging/init.py", line 618
raise NotImplementedError, 'emit must be implemented '
^
SyntaxError: invalid syntax
Original exception was:
Traceback (most recent call last):
File "", line 2, in
File "/home/site1/.local/lib/python3.6/site-packages/urllib3/init.py", line 7, in
import logging
File "/home/site1/.local/lib/python3.6/site-packages/logging/init.py", line 618
raise NotImplementedError, 'emit must be implemented '
^
SyntaxError: invalid syntax
pre-safe-import-module hook failed, needs fixing.
Desktop (please complete the following information):

OS: [UBUNTU]
Browser [chrome]
Version [CHROMIUM]

Are you using python3? if so, try to check the logging module again because in python3 the module sometimes does not run successfully.

Yes, I'm using python3. There was some issues building my code using eel and pyinstaller package  "python3 -m eel logic.py front --onefile".
However, resolved the issue by using following command:  pipenv run python3 -m eel logic.py front --onefile


Zoom is broken after update (channel 18.09 AND unstable)

Issue description
Zoom does not start - please see attached screenshots.

error from the unstable channel is the same (diff zoom version):
 ~  zoom-us                                                                                3m  Tue 18 Dec 2018 20:03:27 GMT
zoom started.
[CZPClientLogMgr::LogClientEnvironment] [MacAddr: E4:70:B8:95:DC:42][client: Linux][OS: NixOS 18.09.1676.7e88992a8c7 (Jellyfish)][Hardware: CPU Core:4 Frenquency:2.9 G Memory size:15897MB CPU Brand:Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz GPU Brand:][Req ID: ]
Linux Client Version is 2.5.146186.1130
QSG_RENDER_LOOP is
XDG_CURRENT_DESKTOP = ;   GDMSESSION = none+xmonad
Graphics Card Info:: 00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
Zoom package arch is 64bit, runing OS arch is x86_64
AppIconMgr::systemDesktopName log Desktop Name: none+xmonad
Error: Send error, 22 Invalid argument
Error: Send error, 22 Invalid argument
Error: Send error, 22 Invalid argument
[16566:36302377:12-18/20:05:05.766:FATAL:SBConfUI.cpp(57)] Assert failed: !g_pConfUI.

Steps to reproduce
Upgrade to 18.09 (also changed to modesetting xorg driver if related)
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

system: "x86_64-linux"
host os: Linux 4.19.9, NixOS, 18.09.1676.7e88992a8c7 (Jellyfish)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.1.3
channels(sarunas): ""
channels(root): "nixos-18.09.1676.7e88992a8c7, nixos-unstable-19.03pre161900.61c3169a0e1"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

update: tried restoring old xorg driver, same result :(

tried running old zoom versions from the nix store, all result in the same screenshot, however the older ones don't have the "Assert failed: !g_pConfUI." line - so I guess it's not the cause

tried with older kernel - the same

hmm, as much as I've tried only booting to the previous generation makes zoom working again - thus, I'm stuck and cannot upgrade until this is resolved

interesting, zoom works on my other laptop, with exactly the same nixos configuration. aren't the same configs with the same updates supposed to work exactly the same on nixos? what could be different?

solved one issue - deleting files from ~/.cache/qml and ~/.cache/zoom* helped.
now it's unhappy about SSL certificate validation for "Go Daddy Root Certificate Authority - G2"

straced... it tries to connect to <IP_ADDRESS>, which is zoom.
the same process also reads /etc/ssl/certs/ca-certificates.crt - curl https://asd.zoom.us --resolve 'asd.zoom.us:443:<IP_ADDRESS>' validates fine, which points to an issue within zoom app itself / Qt.
result: closing this ticket as a non issue :)


Check that the deployment resources are up to date

When running a deployment, first check that:

the deployment repository is up to date as compared to its remote;
the secrets repository is up to date as compared to its remote;
the deployment configuration is up to date compared to its template.

Signed-off-by: Hunor Csomortáni<EMAIL_ADDRESS>

Hmm, it runs in Zuul despite the "when: zuul is not defined", strange

Indeed it does :-) Any idea where that variable should come from? Do you know if it's documented somewhere?

I think you have to add "check_up_to_date: false" to playbooks/zuul-deploy.yml

I think you have to add check_up_to_date: false to playbooks/zuul-deploy.yml

Yeee! Thanks for the tip! I totally missed that.


Fixed menu order and added missing translation

@chaudum please review

lgtm
please squash into single commit and merge
also don't forget to backport it to 0.19 branch. @bogensberger can show you how to do that


Update NuGet Icon

If you want I created a few new templates for the icons that you can add to if you want.
Icon 1:
https://raw.githubusercontent.com/jamesmontemagno/Xamarin-Templates/master/Plugins-Templates/icons/plugin_icon.png

I'm currently away on leave till end of next week. I'll have a look at it when I have access to a computer again.


fix confirm tx and p2p map cocurrent read

Description
修改 confirem tx 耗时太长，以及删除 p2p 中的多余代码。
Fixes # (issue)
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Codecov Report

Merging #245 (d50f679) into master (64bb9f8) will decrease coverage by 0.21%.
The diff coverage is 45.16%.

@@            Coverage Diff             @@
##           master     #245      +/-   ##
==========================================
- Coverage   46.83%   46.62%   -0.22%
==========================================
  Files         136      136
  Lines       12006    12028      +22
==========================================
- Hits         5623     5608      -15
- Misses       5224     5261      +37
  Partials     1159     1159

Impacted Files
Coverage Δ

kernel/network/p2p/dispatcher.go
89.61% <ø> (+3.53%)
:arrow_up:

bcs/ledger/xledger/tx/mempool.go
31.20% <30.43%> (-0.96%)
:arrow_down:

bcs/ledger/xledger/state/state.go
47.66% <83.33%> (+0.13%)
:arrow_up:

bcs/ledger/xledger/tx/tx.go
39.35% <100.00%> (ø)

bcs/network/p2pv1/conn.go
53.19% <0.00%> (-6.39%)
:arrow_down:

bcs/consensus/tdpos/common.go
64.06% <0.00%> (-3.13%)
:arrow_down:

bcs/contract/xvm/code_manager.go
63.63% <0.00%> (-2.73%)
:arrow_down:

bcs/consensus/xpoa/xpoa.go
53.76% <0.00%> (-2.16%)
:arrow_down:

bcs/consensus/tdpos/tdpos.go
47.34% <0.00%> (-1.94%)
:arrow_down:

bcs/ledger/xledger/tx/node.go
40.90% <0.00%> (-1.82%)
:arrow_down:

... and 4 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 64bb9f8...d50f679. Read the comment docs.

Codecov Report

Merging #245 (d50f679) into master (64bb9f8) will decrease coverage by 0.15%.
The diff coverage is 45.16%.

@@            Coverage Diff             @@
##           master     #245      +/-   ##
==========================================
- Coverage   46.83%   46.68%   -0.16%
==========================================
  Files         136      136
  Lines       12006    12028      +22
==========================================
- Hits         5623     5615       -8
- Misses       5224     5256      +32
+ Partials     1159     1157       -2

Impacted Files
Coverage Δ

kernel/network/p2p/dispatcher.go
89.61% <ø> (+3.53%)
:arrow_up:

bcs/ledger/xledger/tx/mempool.go
31.20% <30.43%> (-0.96%)
:arrow_down:

bcs/ledger/xledger/state/state.go
47.66% <83.33%> (+0.13%)
:arrow_up:

bcs/ledger/xledger/tx/tx.go
39.35% <100.00%> (ø)

bcs/network/p2pv1/conn.go
53.19% <0.00%> (-6.39%)
:arrow_down:

bcs/consensus/tdpos/common.go
64.06% <0.00%> (-3.13%)
:arrow_down:

bcs/consensus/tdpos/tdpos.go
47.34% <0.00%> (-1.94%)
:arrow_down:

bcs/ledger/xledger/tx/node.go
40.90% <0.00%> (-1.82%)
:arrow_down:

bcs/network/p2pv2/server.go
51.33% <0.00%> (-1.07%)
:arrow_down:

... and 2 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 64bb9f8...d50f679. Read the comment docs.


[microsoft/release-branch.go1.21] Switch openssl backend to golang-fips/openssl

Cherry-picked from aa2d051 (https://github.com/microsoft/go/pull/943) with -m1 to select the merge parent. Conflicts were only in the Git index values in the patch files and resolved by picking ours.

We decided to hold the switch till go1.22. Closing.


Fix for custom message not being used with uniqueness validator.

The uniqueness validator fails to pass options when adding errors to the document. I merely mimicked what the ActiveRecord uniqueness validator passes when adding errors so that the message and value options get passed. I also added a unit test to verify the behavior.

Pulled in, thanks.


Fix Windows incompatible file names in documentation of recipe_climate_change_hotspot.yml

Description

Closes #2818
Link to documentation:

Before you get started
Some bad files were added the main which were not compatible with windows file system naming conventions, which prevents anyone using windows (three quarters of the global operating system market) from downloading or updating ESMValTool.
Although I had to renamed three files, I could only find one image file referenced in the documentation.
Also, I want to say I'm not pointing fingers and don't want anyone to feel bad about this. It's an honest mistake and this kind of stuff can creep into code very easily!

[x] ☝ Create an issue to discuss what you are going to do

Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.

[x] 🛠 This pull request has a descriptive title
[x] 🛠 Code is written according to the code quality guidelines
[ ] 🛠 Documentation is available
[ ] 🛠 Tests run successfully
[x] 🛠 The list of authors is up to date
[x] 🛠 Any changed dependencies have been added or removed correctly
[ ] 🛠 All checks below this pull request were successful

Looks like the docs build failed, but not aware of any changes that I made that could result in that error!

Thanks @ledm!
@sloosvel @pepcos I noticed that there are three files with figures, yet only one seems to be used in the documentation. Is that correct or did I miss something?
And would it make sense to update the diagnostic script so it generates more widely accepted filesnames, e.g. replace
https://github.com/ESMValGroup/ESMValTool/blob/70f978e13279cea1494a58fd7c5e78377f75c666/esmvaltool/diag_scripts/cos22esd/hotspot_plotter.py#L350
with something like
save_figure(f"scenario_combination_{var_combination.replace(':', '-')}_{season}",

?

Looks like the docs build failed, but not aware of any changes that I made that could result in that error!

Created an issue to report the problem: https://github.com/ESMValGroup/ESMValTool/issues/2824

What do you think @pepcos ? This should be addressed before the 19th, if you don't have time for it I can take it.

Although I had to renamed three files, I could only find one image file referenced in the documentation.

@pepcos Can the files scenario_combination_pr:pr_jja.png and scenario_combination_pr:tas_jja.png be removed from the folder doc/sphinx/source/recipes/figures/cos22esd/? It looks like they are not shown anywhere in the documentation. Or did you want to add them so they do show up?


content/ja/docs/concepts/overview/working-with-objects/namespaces.md is outdated.

This is a Feature Request

What would you like to be added
Update content/ja/docs/concepts/overview/working-with-objects/namespaces.md to follow the en updates.
Why is this needed
content/ja/docs/concepts/overview/working-with-objects/namespaces.md is outdated.
Comments
/language ja
/assign
diff
https://gist.github.com/oke-py/bcfd695272c2c62d0cdfd625edb43a59

/close


Create abstract /database API (for UX to use)

Create abstract /database API so we can control / manipulate databases (think PHPmyAdmin kinda thing).
API (MongoDB): https://github.com/projectjellyfish/api/issues/233
API (Redis): https://github.com/projectjellyfish/api/issues/232
API (PostgreSQL): https://github.com/projectjellyfish/api/issues/231
UX: https://github.com/projectjellyfish/ux/issues/170

No longer valid.  Closing.


fix of Call to undefined method Message::setTo()

Quick fix for "Call to undefined method Illuminate\Mail\Message::setTo()"

To be honest, I'd prefer looking into reintroducing the setTo method in the Message class, perhaps through a Winter override, so we can keep BC.


Can't scroll sideways in results with trackpad/mouse wheel

SQL Operations Studio Version: master 216b6ee
Operating System: Mac

Steps to Reproduce:

Run a query that has enough columns that the results have a horizontal scrollbar, or run a query then stretch one of the columns so that the results have a horizontal scrollbar
Try to scroll the results horizontally with the mouse wheel or trackpad

Expected behavior: The results scroll
Actual behavior: The results do not scroll and you have to use the scrollbar in order to scroll horizontally
Scrolling vertically works though

this should be fixed by #2774


Listings

https://quarto.org/docs/websites/website-listings.html

Examples:

Blog Aggregator: https://github.com/hamelsmu/minimal-site
People listing: https://github.com/jmgirard/affcomlab


Module 8 - Project - Written Report

Report was written and posted to the Canvas system for the course.


Build fails on 4.0 Ubuntu 14.04

I just downloaded the latest tesseract release on Ubuntu 14.04.
hostname = tegra-ubuntu
uname -m = armv7l
uname -r = 3.10.40-gdacac96
uname -s = Linux
uname -v = #2 SMP PREEMPT Mon Nov 21 19:37:51 UTC 2016
| #define PACKAGE_NAME "tesseract"
| #define PACKAGE_VERSION "4.00.00dev"
| #define PACKAGE_YEAR "2016"
| #define PACKAGE_DATE "11/11"
| #define PACKAGE "tesseract"
| #define VERSION "4.00.00dev"
I compiled and installed leptonica-1.73.tar.gz successfully.
I followed the instructions:
https://github.com/tesseract-ocr/tesseract/wiki/Compiling
./autogen.sh
./configure
make
However when I attempt to make , it fails with
g++: error: unrecognized command line option '-mavx' (see below)
Any help would be greatly appreciated.
Thanks
Steve
ubuntu@tegra-ubuntu:~/workspace/tesseract$ make
make  all-recursive
make[1]: Entering directory /home/ubuntu/workspace/tesseract' Making all in arch make[2]: Entering directory /home/ubuntu/workspace/tesseract/arch'
make[3]: Entering directory /home/ubuntu/workspace/tesseract/arch' /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -O2 -DNDEBUG -I../ccutil  -I/usr/local/include/leptonica -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include   -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -mavx -g -O2 -std=c++11 -MT libtesseract_avx_la-dotproductavx.lo -MD -MP -MF .deps/libtesseract_avx_la-dotproductavx.Tpo -c -o libtesseract_avx_la-dotproductavx.lo test -f 'dotproductavx.cpp' || echo './'dotproductavx.cpp libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -I../ccutil -I/usr/local/include/leptonica -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -mavx -g -O2 -std=c++11 -MT libtesseract_avx_la-dotproductavx.lo -MD -MP -MF .deps/libtesseract_avx_la-dotproductavx.Tpo -c dotproductavx.cpp  -fPIC -DPIC -o .libs/libtesseract_avx_la-dotproductavx.o g++: error: unrecognized command line option '-mavx' make[3]: *** [libtesseract_avx_la-dotproductavx.lo] Error 1 make[3]: Leaving directory /home/ubuntu/workspace/tesseract/arch'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /home/ubuntu/workspace/tesseract/arch' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /home/ubuntu/workspace/tesseract'
make: *** [all] Error 2
ubuntu@tegra-ubuntu:~/workspace/tesseract$ cd arch/
ubuntu@tegra-ubuntu:~/workspace/tesseract/arch$ less Makefile
noinst_HEADERS =
noinst_LTLIBRARIES = libtesseract_avx.la libtesseract_sse.la
#lib_LTLIBRARIES = libtesseract_avx.la libtesseract_sse.la
#libtesseract_avx_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION)
#libtesseract_sse_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION)
libtesseract_avx_la_CXXFLAGS = -mavx
libtesseract_sse_la_CXXFLAGS = -msse4.1
libtesseract_avx_la_SOURCES = dotproductavx.cpp
libtesseract_sse_la_SOURCES = dotproductsse.cpp
all: all-recursive

-mavx requires a sufficiently new gcc compiler. The build tools should check whether it works. For now, simply remove that option in your local configuration (or update your software).

-mavx requires a sufficiently new gcc compiler. The build tools should check whether it works. For now,

mavx is supported since gcc 4.4. released in April 21, 2009.
https://gcc.gnu.org/gcc-4.4/changes.html
https://gcc.gnu.org/releases.html
He said he his system is Ubuntu 14.04.
http://packages.ubuntu.com/search?keywords=g%2B%2B

uname -m = armv7l

AVX is only supported on x86. ARM SIMD is called NEON.
Tesseract has no support for NEON.
https://github.com/tesseract-ocr/tesseract/wiki/NeuralNetsInTesseract4.00#for-open-source-contributors

There is a C++ implementation if the hardware does not have SSE and/or AVX, but the code could benefit from SIMD implementations for other hardware, such as ARM. See the new arch directory for where to insert the code.

I believe this issue was fixed.
Neon still not supported, but Tesseract should work on ARM.


Error on initializing backup folder

When updating a record for the first time, DD asks if you want to create a backup folder. Answer with yes and tick 'do not ask again'. On next attempts to update a record, DD fails with the message 'Aborted by user'.

DD now checks on startup and when changing settings on validity of backup folder


Make TypeID hashable

In order to use TypeIDs as set or dictionary keys, they need to be hashable^1. Python's UUIDs are hashable^2, as are all Python built-ins^1.
This PR makes TypeID hashable by implement a __hash__ function that wraps prefix and suffix. Hashing the prefix will simply hash the string (or None), and hashing the suffix will simply defer to the UUID hash implementation^2.
This implementation should have no interaction with the TypeID spec, because this type of hashing is only relevant within Python specifically to interoperate with other Python types. To my knowledge there is no common cross-language definition of the hashing algorithm.
I originally noticed this issue while I was trying to use TypeIDs as primary keys in a sqlalchemy-based project, because sqlalchemy was unable to index rows by their id (TypeError: unhashable type: 'TypeID').
Further considerations: One could also consider implementing the comparison methods __lt__/__gt__/__le__/__ge__ similar to Python's UUID to support "keys in a B-Tree or similar mapping"^3. I don't personally have that use-case right now.

Hello @beheh.
Thanks for your contribution!
I will check this pull request in a while.
Also, it would be great to build a project in order to demonstrate the integration of TypeID and SqlAlchemy.

Sure! While I'm not sure yet whether my project will be open-source, I'll post my current version here for now:
from typeid import TypeID, base32, from_uuid as typeid_from_uuid

def get_uuid_from_type_id(type_id: TypeID) -> UUID:
    return UUID(bytes=bytes(base32.decode(type_id.suffix)))

class TypeIDType(types.TypeDecorator):
    impl = types.Uuid

    cache_ok = True

    prefix: Optional[str]

    def __init__(self, prefix: Optional[str], *args, **kwargs):
        self.prefix = prefix
        super().__init__(*args, **kwargs)

    def process_bind_param(self, value: TypeID, dialect):
        if self.prefix is None:
            assert value.prefix is None
        else:
            assert value.prefix == self.prefix

        return get_uuid_from_type_id(value)

    def process_result_value(self, value, dialect):
        return typeid_from_uuid(value, self.prefix)

This TypeDecorator can then be used as a column type, storing the suffix in the database a UUID field, and then we simply assert the prefix during conversion into the DB. Once thing you may notice is that I'm manually extracting the UUID - I didn't find a way to do this using typeid-python's API.

Looks nice!
Could you please:

Create an issue regarding the UUID extraction through built-in API.
Add this example to examples/sqlalchemy.py

I presume these steps would positively affect our project 😌

@beheh  Sorry, forgot to tag you 😅

Hello @beheh
Are you planning to add some new changes to this MR?
I am asking because you marked it as draft.

@akhundMurad I was away from my machine and pushed my remaining code now. I've unmarked as draft.


Devicelab mac test beds have inconsistent configurations

We need to review why tests were failing on mac-2 and mac-5 while passing on mac-1 and mac-4.
Context:
https://github.com/flutter/flutter/issues/75802

Now all the mac machines are auto-provisioned with consistent configurations.


Software Documentation - Quick Start Guide

We need to add a "Quick Start Guide/Checklist" section under the "Hardware" section of our documentation. See this link for full layout https://stanford-msl.slack.com/archives/CBLRMNEQ7/p1566425187004900
This will have subsections for each of the following:

[ ] Quad setup
[ ] Namespace guide
[ ] Launch files

Moved to Jira: https://asjira.stanford.edu/jira/projects/MSLQ/summary


[bug] Wrong topics for autodiscovered devices of Greenwave PowerNode 6-plug

Version
Build/Run method

[X] Docker
[ ] PKG
[ ] Manually built (git clone - npm install - npm run build )

zwavejs2mqtt version: I'm not sure how to get this. I'm using zwavejs/zwavejs2mqtt:dev pulled on 24th Dec
Describe the bug
Autodiscovered devices for Greeenwave PowerNode 6-plugs are using wrong topics
Manufacturer ID: 153
Product Type: 3
Product ID: 4

kwh_meter sensors unit_of_measurement should be kWh, not seconds. The point out to [node]/X/deltaTime/65537 instead to [node]/X/value/65537 (with X=1 to 6)
w_meter sensors unit_of_measurement should be W, not seconds. They point out to [node]/X/deltaTime/66049 instead to [node]/X/value/66049  (with X=1 to 6)

I'm pretty confident in earlier versions of ZWaveJS2MQTT the autodiscovered devices were right (kwh sensors pointed out towards the right kwh topics, the same with the "w". In fact, even "previous value" and "delta time" devices were autodiscovered (and they don't now) so I'm not sure if this could be some kind of regression.
I've tried "rediscovering" the node and also "Refreshing Node Info" with no luck. For now, you need to edit the HASS device JSON and set the proper proper topics manually.

@billiaz I think this has been broken by one of the last changes, could you investigate?

Or maybe @AlCalzone Did you changed something on your side that could have messed up units?

This behaviour was observed also on 5.5.0 driver.
But I ignored it for a bit, as we where still focusing on other bits

Or maybe @AlCalzone Did you changed something on your side that could have messed up units?

Nothing that comes to mind. I'll need to see the usual files to investigate (log and cache)

I think it is only related with the autodiscovered devices for HASS provide by ZWaveJS2MQTT, not ZWaveJS itself because at Meter CC you can get all the information (timeDelta, Previous values, current values,...). The point is the generated JSON for HASS devices is a little bit messy: object_id names mention"w_meter" or "kwh_meter" and their topics pointed out to deltaTime ones and things like that.
Please find attached a couple of JSON for my two GreenWave Powernodes:
powernode.zip

I think it is only related with the autodiscovered devices for HASS provide by ZWaveJS2MQTT, not ZWaveJS itself because at Meter CC you can get all the information (timeDelta, Previous values, current values,...). The point is the generated JSON for HASS devices is a little bit messy: object_id names mention"w_meter" or "kwh_meter" and their topics pointed out to deltaTime ones and things like that.
Please find attached a couple of JSON for my two GreenWave Powernodes:
powernode.zip

I will take a look.
I suspect you talk about hass discovery,
If you are on slack, also ping me to talk/debug this

@katiuskt I can reproduce this on my Fibaros. Therefore I can debug it there
@robertsLando

I found the issues causing this. When I discover a node this happens in "milliseconds"
first write on discovery topic:
{"value_template":"{{ value_json.value }}","device_class":"power","unit_of_measurement":"kWh","state_topic":"zwave2mqtt/Guestroom/switch/50/1/value/65537","json_attributes_topic":"zwave2mqtt/Guestroom/switch/50/1/value/65537","device":{"identifiers":["zwavejs2mqtt_0xcddb486e_node66"],"manufacturer":"Fibargroup","model":"Single Switch 2 (FGS213)","name":"Guestroom-switch","sw_version":"3.3"},"name":"Guestroom-switch Value (Electric, Consumed)","unique_id":"zwavejs2mqtt_0xcddb486e_66-50-1-value-65537"}

second:
{"value_template":"{{ value_json.value }}","device_class":"power","unit_of_measurement":"kWh","state_topic":"zwave2mqtt/Guestroom/switch/50/0/value/65537","json_attributes_topic":"zwave2mqtt/Guestroom/switch/50/0/value/65537","device":{"identifiers":["zwavejs2mqtt_0xcddb486e_node66"],"manufacturer":"Fibargroup","model":"Single Switch 2 (FGS213)","name":"Guestroom-switch","sw_version":"3.3"},"name":"Guestroom-switch Value (Electric, Consumed)","unique_id":"zwavejs2mqtt_0xcddb486e_66-50-0-value-65537"}

and third:
{"value_template":"{{ value_json.value }}","device_class":"power","unit_of_measurement":"s","state_topic":"zwave2mqtt/Guestroom/switch/50/0/deltaTime/65537","json_attributes_topic":"zwave2mqtt/Guestroom/switch/50/0/deltaTime/65537","device":{"identifiers":["zwavejs2mqtt_0xcddb486e_node66"],"manufacturer":"Fibargroup","model":"Single Switch 2 (FGS213)","name":"Guestroom-switch","sw_version":"3.3"},"name":"Guestroom-switch Time since the previous reading","unique_id":"zwavejs2mqtt_0xcddb486e_66-50-0-deltaTime-65537"}

in total 6. The discovery topic does not contain the deltaTime and 65573, where unique id does
MQTT topic: homeassistant/sensor/Guestroom-switch/electric1_kwh_meter/config
this should be also causing the other issue #108 @robertsLando

@robertsLando I suspect this change caused it: https://github.com/zwave-js/zwavejs2mqtt/commit/311d0b446977acd05aba736abbbef0e8e897523a#diff-f8b02b650fe9a88dd67e7f9f1264bc28fa5868c6e99ac5c47962f04037c4329c
Suspect cause the constants.js does not return the full object id.
To be presise:
Tracing back the cfg.object_id I found constant.meterType (for instance) do not include on id the propertyName and PropertyKey. Causing the topic, which is based on object_id to overwrite hass discovery
I believe this needs to be fixed for object_id to make sense! I will search further where can be caused. Scenes issue from #108 should be due to the same problem
@katiuskt

I believe having the same solution as notifications (for sensors) :https://github.com/zwave-js/zwavejs2mqtt/blob/35e755ef1904daf327ecbd954bbc3a0c9ca6933c/lib/Gateway.js#L1509
would be the solution.

@katiuskt if you can test the #112  and report back would be helpful

I suspect this change caused it: 311d0b4#diff-f8b02b650fe9a88dd67e7f9f1264bc28fa5868c6e99ac5c47962f04037c4329c

Let me investigate, I think too

Tested latest docker dev version, it is working now and all devices are autodiscovered.
Thank you!


CAMEL-16278: Migrate Azure dependencies to central Bom management

Looks good to me, there is a disalignment with eventhubs (Bom is 5.4.0 vs 5.5.0 on Camel side) and datalake (12.4.0 BOM and 12.3.0 on camel side)
We can adjust on the Karaf side eventually or leave them as is.

You mean on the Karaf side?

Yes, I'm talking about the Karaf side.

Yes, I'm talking about the Karaf side.

aha I see, as @jbonofre mentioned, he will also switch karaf side to use the bom instead :)

yes, but I don't think it will be feasible for 3.9.0, so for this release we'll have this misalignment I guess.

so shall we this merge now?


Preprint venue

Let's use this issue to vote on the preprint venue, one platform per comment.
Goal is to publish the preprint end of February 2020.
The platform should support posting the PDF as it is generated now.
Use as many +1 and -1 as you like (maybe adding a comment why in the case of the latter) so we can also do a negative sorting (choose the one where least people have valid concerns).
Unfortunately, https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1005473 does not have any rules about selecting a preprint server.
I did not include Zenodo (because mostly posters/software/data), and might have overlooked others - feel free to add your favourite to the list if I missed it.

I'll break the tie here.
We're going with OSF.
It's nice that we can include the GitHub repository, and this potentially being a topic many people are interested in, I hope the commenting functionality might actually be used.
Note to self: step-by-step instructions: https://help.osf.io/hc/en-us/articles/360019930533-upload-a-preprint
@vsoch @benmarwick @sje30 @betatim @psychemedia Please post your OSF profile links here or send them to me in some way - thanks!

I had forgotten that I even had a profile on here! Here you go: https://osf.io/7zk9q/

My OSF profile is https://osf.io/xh5qn/

https://osf.io/tgm2a/
thanks Daniel.  Will be catching up this week on this paper.

@betatim is https://osf.io/vd2j6/

@psychemedia Do you have an account on OSF yet?

@nuest Newly minted OSF account here: https://osf.io/ntz2e/ but it's bare bones...

https://doi.org/10.31219/osf.io/fsd7t (may take up to 24 hours)
https://osf.io/fsd7t


Remove the principal column from the instance table

@ammendonca Could you review please?
The principal field was removed recently (HWKAPM-705) and instead the information is just stored as another property.

LGTM. But, just to assure, if the principal is relevant information to show in it's own column (eg: if we need to sort by principal), it can still be done even with it coming as a property.

@ammendonca Thanks Alex - I don't think it needs to be a column, and we can always filter based on it as a property.


feature request: exporting queue.d.ts for typescript

.d.ts file is necessary to check library's type from typescript.
so could you please build queue.ts with .d.ts file on npm?

Thank you for reporting the issue with the library's type definitions. I've fixed the problem and added the necessary .d.ts file to ensure proper TypeScript support. Your feedback was invaluable in improving the project.


RTL issue  ( bug ? )

hi
i was working with ver : 2.10.3 and everything was fine but when i upgrade to 4.0.1 i got this

the column order is reversed and column title is LTR and cells RTL
i tried adding Directionality RTL but nothing changed

@ZeraW
RTL is not yet supported.
Version 4.1 with RTL support will be released soon.

PlutoGrid 5.0.0 has been deployed.
There are other changes from version 4, so please check the ChangeLog.
https://pub.dev/packages/pluto_grid/changelog#500---2022-7-11
The demo page has also been updated.
https://weblaze.dev/pluto_grid/build/web/#/


"System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down"

Thats the error message I get when I try to run sudo systemctl restart redis.service. Now I following a guide to download something that uses systemctl. But ik that systemctl doesn't work on wsl2 and have to download the redis server from this guide. https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-redis-on-ubuntu-22-04
This guide helps but once I get to sudo systemctl restart redis.service I get the error message "System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down". I changed the config files (well just one line) correctly (superviser systemd) and it still doesn't work. So if you guys can please help me I would greatly appreciate it!

check your wsl.conf
[boot]
systemd=true
https://learn.microsoft.com/en-us/windows/wsl/wsl-config

check your wsl.conf [boot] systemd=true
https://learn.microsoft.com/en-us/windows/wsl/wsl-config

Way ahead of you

You need WSL from Windows Store and specific minimum versions of Windows 10 and 11. See this post for more details https://devblogs.microsoft.com/commandline/the-windows-subsystem-for-linux-in-the-microsoft-store-is-now-generally-available-on-windows-10-and-11/

You need WSL from Windows Store and specific minimum versions of Windows 10 and 11. See this post for more details https://devblogs.microsoft.com/commandline/the-windows-subsystem-for-linux-in-the-microsoft-store-is-now-generally-available-on-windows-10-and-11/

You need WSL from Windows Store and specific minimum versions of Windows 10 and 11. See this post for more details https://devblogs.microsoft.com/commandline/the-windows-subsystem-for-linux-in-the-microsoft-store-is-now-generally-available-on-windows-10-and-11/

Technically I should be able to do the commands when I kinda hacked my Windows 11 Home to get a Windows 11 Pro Feature (WSL)?


Raycasting

So far it's not working properly. But supposedly this pull request would get the raycasting done

Next we need to add the textures


Not possible to annotation a return enum @Nullable from a method

Not possible to annotation a return enum with @Nullable from a method (compilation error).
Is it wanted?

Hi, can you share the sample code?

enum Foo { BAR; }

static @Nullable Foo getBar(boolean isNull) {
  return isNull ? null : Foo.BAR;
}

does this not work?

That should work. Which nullness analyzer are you using? What error are you seeing?

@netdpb @kevinb9n @cpovirk  This is sort of orthogonal to this bug/issue but have you guys made it clear where to file bugs for the reference checker vs the spec itself?
I say this because I can see some future confusion of issues that are related with the spec (and doc) vs issues with the reference checker.
Right now in the https://jspecify.dev/docs/start-here/#how-can-i-get-involved
We have:

File an issue to request a feature or if something is wrong.

Perhaps that should be clear that issues here should be about the spec and documentation? Then perhaps another link for the reference checker.

I have problem with a method like that
@Nullable
AEnum map(AnotherEnum anotherEnum)

@alexandrenavarro Can you paste the error output here. javac should not have a problem with you annotating the return of an enum method. Also can you paste the exact code in triple back ticks.
What I suspect might be your problem is if you do  have a true javac compiler error and not an analyzer error is that the enum is an inner class.
That is this will not work:
@Nullable OuterClass.AEnum map(AnotherEnum anotherEnum) {}

It has to be:
OuterClass.@Nullable AEnum map(AnotherEnum anotherEnum) {}

Or if you import the outer class:
@Nullable AEnum map(AnotherEnum anotherEnum) {}

The compiler error was "Annotation not applicable to this kind of reference".
I understood the problem, it was linked to the package before the enum.
It was like that in reality :
@Nullable com.mypackage.AEnum map(AnotherEnum anotherEnum) {
By importing the enum (and removing the com.package), like :
@Nullable AEnum map(AnotherEnum anotherEnum) {
The problem is solved.
In my specific case, I can do it but if you have same enum with different package (it was sometimes my case on my project because some people creates the same enum but in different package and use the 2 enum in the same classe which is not a good idea), you can have the problem.
You can close the issue if you want, it is really a rare case but it is not really clear at first why it does not work, it was the reason why I created the issue.

I see. That is a feature of how type-use annotations are applied.
If you don't want to import, you can do this:
com.mypackage.@Nullable AENum map(AnotherEnum anotherEnum) { ... }

Thanks for the question. We are updating some documentation for 1.0 that will include information about this.


Producer setting

Description
I am trying to control the number of messages in producer in-memory queue. Even though I have defined the following settings for the producer, it still takes approx. 15 seconds before messages are written to kafka cluster.
["queue.buffering.max.kbytes"] = 10,
 ["queue.buffering.max.ms"] = 100,
 ["queue.buffering.max.messages"] = 1,
 ["auto.commit.interval.ms"] = kafkaConfig.producerconfig.Properties["autocommitintervalms"] is set to 10

Can you please confirm which producer setting takes precedence when definining how many messages to buffer in-memory before writing the message to Kafka? It seems that even though I've defined to only buffer 1 message in the in-memory queue, there is some other setting that is taking precedence and controlling when the message gets pushed to Kafka? Thanks,
How to reproduce
Checklist
Please provide the following information:

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

It should take much less than 15 seconds to produce a message (with the default settings, or with any of the settings you have defined above). I suspect some external problem.
auto.commit.interval.ms is not relevant here - it's a consumer config property.
try setting the debug config property to all and look at the log messages for problems. If you can't figure it past the output here and we'll have a look.

If you are on windows (please complete the checklist ;) ), also try setting socket.nagle.disable to false. This will (whould) not resolve the 15s problem, but it can solve a 1s => some ms problem.


Create 2021-05-13.md

Signed-off-by: John Mertic<EMAIL_ADDRESS>

@1000TurquoisePogs please review


How use flatPackage in pom.xml?

In build.sbt, I can write the follow code:
  PB.targets in Compile := Seq(
    scalapb.gen(flatPackage = true) -> (sourceManaged in Compile).value
  )

I want to write the code in pom.xml, how should I do? thanks!

Hi @thinkerou , see "passing generator parameters" in https://scalapb.github.io/scalapbc.html


more integer literals

Implement binary, hex and octal literals. Maybe allow _ for readability like in Rust:
let x = 0xaf; // 175
let x = 0b0101; // 5
let x = 0o77; //63
let x = 0b0011_1100_1010_0101; // 15525

i think #48 should resolve this

Indeed it does


Update fiddle features/notifications/main

Template: features/notifications/main
Rel: #6

This task is for organizational and tracking purposes. Refer to the linked 'Rel:' issues for further details.

Took assignment since I just worked on notifications/renderer

https://github.com/electron/electron/pull/29268


[PrintAsObjC] Put "copy" in the property decls for value types.

Bridged value types are implicitly copied as part of bridging, so we should be using @property (copy) instead of the default assign or strong.
This isn't 100% correct because it doesn't handle bridged types that don't conform to NSCopying, but there aren't any of those today and there probably shouldn't be.
rdar://problem/26917017

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci Please test

@parkera, @phausler, @DougGregor: on this note, do you think NSCopying should be a requirement for _ObjectiveCBridgeable? It might not make sense for a non-value type, and isn't strictly necessary for many of the conformances, but I don't think we want to encourage bridging classes to other classes.

We require it for all of our value types but I don't know if it extends to everything else.
https://github.com/apple/swift/blob/master/stdlib/public/SDK/Foundation/ReferenceConvertible.swift#L19

Conceptually isn't CF to NS types a bridge in a similar manner? But they are reference type to reference type.
Sent from my iPhone

On Jun 22, 2016, at 10:19 AM, Jordan Rose<EMAIL_ADDRESS>wrote:
@parkera, @phausler, @DougGregor: on this note, do you think NSCopying should be a requirement for _ObjectiveCBridgeable? It might not make sense for a non-value type, and isn't strictly necessary for many of the conformances, but I don't think we want to encourage bridging classes to other classes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hm, interesting. I think we currently represent the CF to NS bridge with magic™ (based on the objc_bridge Clang attribute), and we have to special case it in other parts of the compiler as well (a CFString and an NSString can alias, for example—cc @atrick). But I see the point.
In any case, this wasn't going to stop me from merging anyway. This is still a net improvement and matches what we're doing today.

We sometimes form aliasing references to unrelated class types, usually as a sort of fake incomplete type when we don't want to import Foundation. As long as we never access stored properties of those classes within Swift code it's ok. e.g. I don't think we can access any NSString stored properties from Swift.

I was more worried about UnsafeMutablePointer<CFString> and UnsafeMutablePointer<NSString>. These need to be considered potentially-aliasing.

Right. I made a note of it. If both types are classes and are known not to have a subclass relationship, then the rule says they cannot alias. We will need make exceptions for certain bridged types, or provide some kind of annotation on one of the classes that opts out of the aliasing rule.

Yeah, this looks good to me.
The NSCopying requirement on _ObjectiveCBridgeable's associated class type conceptually makes sense---you shouldn't be bridging a value type or a non-copyable class type---but we can't actually do that without importing the ObjectiveC module into the Swift standard library (or applying some funny layering trick)


[TestHub] Produce xml output for gtest

As xml output is needed for the testhub, this patch add generation for
the meson test
Self evaluation:

Build test: [X]Passed [ ]Failed [ ]Skipped
Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #1037. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

Add for draw_classification example as well.

Done

:octocat: cibot: @zhoonit, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/1037-202103231606360.23268008232117-8c54faaf6327f1da2eb812a84f67b3a4ffe0f1fa/.


feat: creates file/directory in active path

Description
Uses EditorManager to retrieve active directory and create Files/Directories in the
current active directory.
Related Issues
I found the todos in the source code while reading.
I wanted to address the related issue but didn't found one.
Here is the TODO comment: https://github.com/CodeEditApp/CodeEdit/blob/main/CodeEdit/Features/NavigatorSidebar/ProjectNavigator/ProjectNavigatorToolbarBottom.swift#L59

#ISSUE_NUMBER

N/A
Checklist

[x] I read and understood the contributing guide as well as the code of conduct
[-] The issues this PR addresses are related to each other
[ ] My changes generate no new warnings
[ ] My code builds and runs on my machine
[ ] My changes are all related to the related issue above
[ ] I documented my code

Screenshots
https://github.com/CodeEditApp/CodeEdit/assets/34756077/4d69b39f-b618-4528-a56b-e8699194211b

The TODO comment is in the ProjectNavigator. You're accessing the TabBar to get the required data. While I believe that this does work, but it's not the correct way. We shouldn't want to mix those domains when not necessary. The ProjectNavigator should have a current selected file as well, so that should be accessed. As the ProjectNavigatorBottomBar is part of thé ProjectNavigator.

Addressing the comment left in Discord: This is very close, instead of using the workspace document, use the editor manager directly via the following in ProjectNavigatorToolbarBottom:
@EnvironmentObject var editorManager: EditorManager

You can use the editor manager to get the active editor pane, and then the selected tab from that. See the EditorManager.activeTabGroup, and Editor.selectedTab properties respectively.
That should get rid of the need to add methods to WorkspaceDocument and addresses the domain concern @matthijseikelenboom had.

Addressing the comment left in Discord: This is very close, instead of using the workspace document, use the editor manager directly via the following in ProjectNavigatorToolbarBottom:

@EnvironmentObject var editorManager: EditorManager

You can use the editor manager to get the active editor pane, and then the selected tab from that. See the EditorManager.activeTabGroup, and Editor.selectedTab properties respectively.
That should get rid of the need to add methods to WorkspaceDocument and addresses the domain concern @matthijseikelenboom had.

Great! Thanks so much!

Hi @thecoolwinter I just applied suggestions! Also added a recording for demo. Repo in demo is public available here: https://github.com/whizzes/playa

@EstebanBorai Could we highlight the text after the untitled file/folder is created?

@matthijseikelenboom can we get a review here

@allcontributors add @EstebanBorai for code


Should we include React in deps?

Buffer-web brings React as standalone library - We'd have to update the browserify bundle to exclude React from the build.

Hey, hey, @djfarrelly! I thought I'd loop back on this one, too! :)


⚠ deces.matchid.io search API has degraded performance

In 1fa2184, deces.matchid.io search API (https://deces.matchid.io/deces/api/v1/search?q=pompidou) experienced degraded performance:

HTTP code: 200
Response time: 4852 ms

Resolved: deces.matchid.io search API performance has improved in 8786fce after 20 minutes.


Rename .AddAwsService()

Hi, I was wondering if we could rename .AddAwsService to .AddAWSServiceLocalStack or some other name. Currently, these two are extremely similar the AWS one being uppercase and the localstack one being PascalCase. They are very easy to mix up.

Hi, I have gotten similar similar suggestions from other people as well. I would use AddAWSService itself but using the same method name in extension methods for the same class prevented. I'll add the method name you suggested as an alternative in the next version.

Hi @kewur a new extension method called AddAWSServiceLocalStack added as you suggested. AddAwsService is still valid but alternatively, you can use  AddAWSServiceLocalStack now.
The new version has other new changes as well, see v1.2.0 release notes.

Thank you!


Footer

Issue #380

[x] added footer background image
[x] changed content in footer to css in Figma

Nice to Have:

[ ] external links have underline
[ ] Individual Routes for Beginner, Intermediate, and Advanced Tips for the Footer links

@ Django :Changes in Response to Issue Comments:

[x] Footer Size is full size so the sizing issue isn't readjusting
[x] Different Image Background as noted in Figma

Notes:
Responsive Design will be added in later iterations
Horizontal Scroll Needs to be addressed

Will there be placeholder links added to the Tips Archive column (for Beginner Tips, Fundamentals, Troubleshooting), or is there a consensus to keep that column as "All Tips" for now? Other than this confusion, the footer looks good, and all links appear to be working fine.

Thanks, they've been added! :)


Automated cherry pick of #6869: Notify/email fix

Cherry pick of #6869 on release/3.2.
#6869: fix: Fix the url of 'notify-template-delete' in climc

/lgtm
/approve


Lack of practice questions in courses

Describe the Issue
Curriculum lack practice questions after each course (little courses before cert projects).
It is easy to forget info after going through the course, so it would be great if there will be tests which test you on everything you can learn from each course.
E.g. questions like

What element is used for creating links?
What semantic element is used for grouping related content?
How to make some input fields to be must-have to be able to submit the form?
What is the purpose of elements for content areas in HTML5?
How is paragraph element displayed by the browser by default?
How inline elements are displayed, if they are placed on different lines in the code?
How to add an unordered list?
How to emphasize the text?
What is the difference between article and section elements? What is the button element default behaviour?
How to create buttons to choose only one from multiple options?
How to associate input element with it’s text input?
How to target all the elements nested in elements with specific class in styling?
What should we do if selected custom font is not available, how to prevent it?
And so on

Even better if there would be variations of the one question e.g..:

How to associate input element with it’s text input?

Variations:

How to make so if you click on text related to the checkbox, it also checks this checkbox?
How to make an input's element text clickable?

Majority of questions should ask about little concepts, things etc , without naming them (so you won’t be able to guess the answer from the question words). And some questions should test you on group of concepts (like “what are all the attributes of img element?”) after answering the “little questions”
Examples of "little question": how to align a text to one side?; what is the attribute for setting the type of an input element?
Examples of "big question": how to make several elements to be inline and how to prevent them from separating too far away from each other etc.?; what are all attributes of an input element?
It is easier and much more effective than just simply going through curriculum again to repeat.
Tests on everything like this are extremely helpful at revealing gaps in the knowledge and repetition-memorization.
Affected Page
https://www.freecodecamp.org/learn/
Your code
N/A
Expected behavior
N/A
Screenshots
No response
System
N/A
Additional context
No response

You don't have to memorize everything, the quiz would give that impression, I am not keen on the idea


[Extensibility Enhancement] codeunit 90 "Purch.-Post" - GetPrepmtDiffToLineAmount

Hello,
Please change the scope of GetPrepmtDiffToLineAmount() to global.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Chunking 2GB or greater breaks app.

I can chunk about 2GB successfully to S3, but cant seem to do anything more than that. The app will crash. Using Expo and Ipad

@gottliebtj Can you please your code here?

I have noticed the same thing during my 2GB video upload attempts. It will crash with an error code like:
AXIOS-HTTP-HANDLER 404 NOT FOUND ERROR


Awesome lists to evaluate add: Interview Questions, JavaScript Crypto Libraries, Linux Software, Creative Resources for Developer and Designer

Hi. I pass some lists that I have in bookmarks. Best regards.
https://github.com/MaximAbramchuck/awesome-interview-questions
https://github.com/gabrielizalo/Awesome-JavaScript-Crypto-Libraries
https://github.com/luongvo209/Awesome-Linux-Software
https://github.com/gztchan/awesome-design

There's a clear process for adding lists: https://github.com/sindresorhus/awesome/blob/master/contributing.md#adding-an-awesome-list One list per PR when they comply with the guidelines :)


Is there a way to freeze columns and make other columns scrollable?

Vue.js version: 2.1.13
consumed using: webpack

Is there way to freeze some columns and make the other columns scrollable (horizontally) like in datatables?

No native support at the moment.


Additions to standard libs

abs, sign, floor, ceil, round

Changes unknown
when pulling f6c366fc41457e04b1166b279d01b48e3c62b623 on improvements
into ** on main**.


accounts to 0.0.2

Promote accounts to version 0.0.2

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tokeskovgaard: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

promotion-build
f143c01a1a44e6f726ecafe27f22e59b56b64000
link
/test this

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


register to packagist

Hi @ezimuel, it seems not yet registered in packagist?  Tried with "minimum-stability": "dev" and run composer require got following errors :
$ composer require ezimuel/phpcrypto:dev-master
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
./composer.json has been updated
Loading composer repositories with package information
The "https://packagist.org/packages.json" file could not be downloaded: Failed to enable crypto
failed to open stream: operation failed
https://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package ezimuel/phpcrypto could not be found in any version, there may be a typo in the package name.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.

@samsonasik thanks! I just registered the library in packagist and I updated the README with the right composer command:
composer require ezimuel/phpcrypto:dev-master


Make all InternalLoggerFactory implementations be singletons

Motivation:
It's better to make all InternalLoggerFactory implementations be singletons according to the discussions in #5047
Modifications:
Make all InternalLoggerFactory implementations be singletons and hide the construtors.
Result:
All InternalLoggerFactory implementations be singletons.

Updated.

Cherry-picked into 4.1 (bc6adab48c18263822b76477717763ae2e7e0099)  and 4.0 (b2651cc3511692c0dca8d7d4f24d928c97df3858)
@windie thanks!

thanks @windie
@normanmaurer question on your comment -

@windie we need to keep the public constructor to not break things. That said we should mark it @deprecated and let the user know that the singleton field should be used.

:cry: its an internal API ... are we expecting users will directly use these .... and if they do should we care to support it?


Change sh to bash for code block in docs/index.md

I was trying to build docs, I found the alert messages which are Language does not exist sh and Language does not exist text. When I use npm start docs, the alert messages come because of eleventy like below :
Hyunsangs-MacBookAir:mocha temp$ npm start docs

><EMAIL_ADDRESS>start /Users/temp/Downloads/exercise/mocha
> nps "docs"

nps is executing `docs` : nps docs.prebuild && nps docs.api && eleventy && nps docs.linkcheck && nps docs.postbuild
nps is executing `docs.prebuild` : rimraf docs/_dist docs/_site && nps docs.preprocess
nps is executing `docs.preprocess` : md-magic --config ./scripts/markdown-magic.config.js --path docs/index.md
Starting markdown-magic docs/index.md
✔ docs/index.md Updated
 Transforms run
  ⁕ usage:executable=bin/mocha
  ⁕ toc:maxdepth=2&bullets=-
  ⁕ manifest:template=[gitter]: ${gitter}

Files processed. markdown-magic Finished! ⊂◉‿◉つ
nps is executing `docs.api` : nps docs.preprocess.api && jsdoc -c jsdoc.conf.json
nps is executing `docs.preprocess.api` : md-magic --config ./scripts/markdown-magic.config.js --path "docs/api-tutorials/*.md"
Starting markdown-magic docs/api-tutorials/*.md
✔ docs/api-tutorials/custom-reporter.md Updated
 Transforms run
  ⁕ file:src=../../test/integration/fixtures/simple-reporter.js&header=// my-reporter.js

Files processed. markdown-magic Finished! ⊂◉‿◉つ
Parsing /Users/temp/Downloads/exercise/mocha/lib/browser/growl.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/browser/progress.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/browser/tty.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/cli/cli.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/cli/collect-files.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/cli/commands.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/cli/config.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/cli/index.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/cli/init.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/cli/node-flags.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/cli/one-and-dones.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/cli/options.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/cli/run-helpers.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/cli/run-option-metadata.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/cli/run.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/cli/watch-run.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/context.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/errors.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/growl.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/hook.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/interfaces/bdd.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/interfaces/common.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/interfaces/exports.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/interfaces/index.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/interfaces/qunit.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/interfaces/tdd.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/mocha.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/pending.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/reporters/base.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/reporters/doc.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/reporters/dot.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/reporters/html.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/reporters/index.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/reporters/json-stream.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/reporters/json.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/reporters/landing.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/reporters/list.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/reporters/markdown.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/reporters/min.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/reporters/nyan.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/reporters/progress.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/reporters/spec.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/reporters/tap.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/reporters/xunit.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/runnable.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/runner.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/stats-collector.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/suite.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/test.js ...
Parsing /Users/temp/Downloads/exercise/mocha/lib/utils.js ...
Generating output files...
Finished running in 2.07 seconds.
Language does not exist sh
Language does not exist sh
Language does not exist sh
Language does not exist sh
Language does not exist sh
Language does not exist sh
Language does not exist sh
Language does not exist text
Language does not exist sh
Language does not exist sh
Language does not exist sh
Language does not exist sh
Language does not exist sh
Language does not exist sh

Description of the Change
It is the problem of code fences (triple backticks) for highlight.
Eleventy is using https://github.com/11ty/eleventy-plugin-syntaxhighlight for syntax highlight, which is utilising Prism(The supported languages are https://prismjs.com/#languages-list). That's why Eleventy doesn't take sh or text for highlight, but in docs/index.md, it is used sh(13 times), and text(1 time).
By using bash instead of sh, the alert messages for bash are gone.

NOTE : Because there was no word to substitute for text that ESLint allows, I didn't change it. I tried bash and shell to replace text, but it does not that look good when it is served on the browser. So, there is still one-line alert message that is Language does not exist text.

Coverage increased (+0.07%) to 92.761% when pulling 3f2831a1901af10e5eff6982ed218ecba1f22d74 on HyunSangHan:docs-code-block into ec17f6315e0817bfb8e37279d31affc4ec108623 on mochajs:master.

Thanks!  LGTM


changes ignoreSelectors to match documented behavior

Based on our reading of the README, calling 'ignoreSelectors' on a
config object with a particular selector should ignore matching nodes
and all their descendents, instead of just the nodes found by the selector.
We believe this is the correct behavior, because the README says to use
ignoreSelectors in order to 'Ignore parts of the page for a particular audit rule',
not just the element matching the selector.

We made this per discussion on #233, but since the CLA seems to have been accepted we're closing this one.


Add percentile charted to as environment option

This PR is an attempt to achieve #765 in a cleaner way, simply offering the hard coded 99.98% confidence interval number to be changed by the user by setting a percentile.
Couple of interesting design choices:

I chose to put the percentile as an argument in the Min and Max operation. If you think this is not the right semantics, happy to change to something like passing the percentile argument all the way down the operation chain.
This is considered a sampling option, in that it is only relavent when converting symbolic distributions to point set distributions. This means that uniform + triangular + distrete distributions are unaffected by this argument. I thought this to be reasonable.

Otherwise, I consider this PR to be quite safe to merge. I tested it out and it works fine! Included options in the playground as well.

Codecov Report

Merging #823 (b44bf0c) into develop (cca6ab1) will not change coverage.
The diff coverage is 45.16%.

@@           Coverage Diff            @@
##           develop     #823   +/-   ##
========================================
  Coverage    52.43%   52.43%
========================================
  Files           60       60
  Lines         3744     3744
========================================
  Hits          1963     1963
  Misses        1781     1781

Impacted Files
Coverage Δ

packages/squiggle-lang/__tests__/TestHelpers.res
75.86% <ø> (ø)

...c/rescript/Distributions/DistributionOperation.res
51.72% <ø> (ø)

...g/src/rescript/Distributions/DistributionTypes.res
14.11% <0.00%> (ø)

...script/Distributions/PointSetDist/PointSetDist.res
68.86% <0.00%> (ø)

...Interface/ReducerInterface_GenericDistribution.res
51.74% <0.00%> (ø)

...s/squiggle-lang/src/rescript/Utility/Operation.res
35.16% <ø> (ø)

...le-lang/src/rescript/Distributions/GenericDist.res
60.10% <20.00%> (ø)

...script/Distributions/SymbolicDist/SymbolicDist.res
62.57% <65.00%> (ø)

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 cca6ab1...b44bf0c. Read the comment docs.

@Hazelfire, I'd appreciate a simple example of this syntax in use.

For @NunoSempere , the parameter is part of the environment variable, so:
<SquiggleChart code="normal(0, 1)" environment={{percentile: 0.95}} />

Also letting you know that we currently have minX and maxX properties that can control the domain that's plotted if you want a quick solution now.
As for @OAGr, Which changes would you like? I feel like it would be best to have both (to be able to control the hard coded percentile + change the view percentile, I could imagine it could be useful to increase this percentile in some instances). I could easily try and clean up something that would only be a view-level thing, but that would likely be an entirely different PR.

As for @OAGr, Which changes would you like? I feel like it would be best to have both (to be able to control the hard coded percentile + change the view percentile, I could imagine it could be useful to increase this percentile in some instances). I could easily try and clean up something that would only be a view-level thing, but that would likely be an entirely different PR.

I think the main feature is the view-only one.
I don't see many reasons why we should make the hard coded one configurable? It seems like a small implementation detail that's pretty separate from what I think Nuno cares about here. (Which is much more to plot the right percentiles, instead of truncation for purposes of different calculation)

Ok, so you mean that you'd like to close this PR? I'm cool with that, I'm not really hanging on anything in here getting merged. I was mainly doing it for Nuño and if this isn't useful to him I'm fine to leave this.
As for use cases, I can see one, a user while doing a large calculation may want to increase the percentile so that they can do calculations that are relevant to the tails of the distribution. For instance, if you are to draw a thin lognormal distribution with logX right now, the distribution is trimmed because it doesn't graph to a low enough percentile? I remember having issues with log scoring with Quinn that this PR could fix.

Yea, I think we should close this now.
That use case seems interesting, but pretty remote. I imagine few users who don't understand the internal code would understand it.


Remove @veupathdb/web-common devDependency and backfill some styling

This PR removes the devDependency @veupathdb/web-common, eliminating a circular dependency. Some global CSS styles were added to src/index.css to retain some compatibility with styling used on our primary websites. This is a short-term solution until https://github.com/VEuPathDB/web-dev/issues/16 is more thoroughly addressed.

Well, that worked out nicely!

:smile:


Skip forward / backward

As a user I want to be able to seek forward or backward in a simple way in fixed increments.
Acceptance criteria

The button provides +10 / -10 buttons to move in the content.
The user does not have to wait for the player to have skipped before being able to skip again.

Tasks

[x] Add dedicated API (methods to check if skipping is possible and methods to actually skip).
[x] Add async APIs and ensure our implementations get correctly called.
[x] Add dedicated demo player buttons.
[x] Add seek tests: Seek to end of the range and seek outside the range. Use these seek methods when implementing skips.
[x] Test invalid times as input.
[x] For consistency we should likely call completion handlers even if no seek / skip is possible (this is how the async methods work since they always continue). Revisit internal queue player API as well.
[x] Ensure consistent behavior with existing skip to live APIs (e.g. completion handler).
[x] Ensure demo skip buttons are periodically updated to reflect current skip possibilities.
[x] Implement basic seek time sanitization (to avoid seeking outside the available time range).
[x] Separate skip and seek unit test suites into check (can / cannot), skip / seek and async suites.
[x] Make skip intervals configurable.
[x] Fix control centering in demo player (progress view is likely correctly centered).
[x] Group seek / skip to live / skip APIs into separate extensions.
[x] ~Test seeks to the current position.~
[x] ~Test multiple seeks at the same location.~
[x] Integrate with control center (warning: Might need to be able to prioritize with previous / next buttons, maybe with a dedicated API as in Letterbox).
[x] ~Add expectations for seek times read from the QueuePlayer in existing queue player seeking tests.~
[x] Bug with canSkipBackward when playing a DVR stream at the edge for a while (incorrectly disabled).
[ ] Investigate seeking interruption via skips. Test to write: If we are seeking smoothly to 10, 20, 30, ..., 100 in a row but interrupt this series somewhere with a skip forward, we should consistently reach 110 (if the skip interval is 10).
[ ] Document pending seek processing with diagrams.
[ ] Move clampedTime utility method to a better scope.
[ ] Rename completionHandlers as completion.
[x] Document completion handler and finished boolean (finished means that the seek was not interrupted by another seek). Same for async method return values.

In #208 we implemented low-level QueuePlayer seeking in a smooth way but doing so globally is in fact incorrect. In general you want to be able to have both:

When seeking in a continuous way (e.g. a slider) smooth seeking is useful so that the user can peek at content.
When piling up seeks with a skip buttons we want any pending seeking operation to be cancelled so that the user only sees content at the destination.

For this reason we had to implement both standard as well as smooth seeking support in QueuePlayer. I updated the task list with a recommendation of where we should use them.

We won't do anything special to manage seeking at the same position several times. This is likely a small optimization difficult to implement, especially while preserving correct cancellation and completion handler management.

Incorrect results obtained when skipping during seeks could be fixed by having completion handlers all correctly called, and in order.

No quick fix was found for the end seek issue. Will have a deeper look in #198.

The current pending seek implementation should be easier to understand so we won't document the behavior with diagrams (which should likely need several steps to be understood anyway).


How was BERT evaluated? (expt setup)

I used this exact command for evaluation.
https://github.com/keeeeenw/lm-evaluation-harness/blob/34a5c9efebdb771d70659c75c96e1c083e634f29/eval.sh#L25

Gotcha, what about finetuning BERT for this expt? (assuming no few-shot eval)

I have not tried finetuning BERT. For apple to apple comparison, I used the settings for evaluating both my model and the BERT base model without any finetuning.

Ah! Got it. Thanks!
(since all tasks are MCQ format, we would take the argmax over the CLS token)


Cannot change time in Xcode 13 beta

There is some issue going on with the Xcode 13 beta. When I click on "Set to 9:41" or just change time in general it doesn't work. Also, some other features don't work like the entire Network section, changing battery percentage and state, and sending notification from the App section

I'm still having this issue with the latest version of Xcode 14.1. Any solution to fix this, since this doesn't seem to be a widespread issue? I'm attempting to change the time to 9:41 AM on iPad devices.

I have the same issue with the iOS 16.1 simulator. You can work around it by creating an iOS 16.0 simulator in Xcode 14.1.
https://developer.apple.com/forums/thread/720610

The underlying issue has finally been fixed with Xcode 15.3.


New version: SMC v0.1.3

Registering package: SMC
Repository: https://github.com/FRBNY-DSGE/SMC.jl
Created by: @FRBNY-DSGE-Team
Version: v0.1.3
Commit: 87464f3f7b019b8a5ed08195c6a26c8ebac02f67
Reviewed by: @FRBNY-DSGE-Team
Reference: https://github.com/FRBNY-DSGE/SMC.jl/commit/87464f3f7b019b8a5ed08195c6a26c8ebac02f67#commitcomment-34951677

TagBot tag


fix: Make sure Orchestrator languages are not filtered when publishing

This fixes an issue where the Orchestrator multi-language settings can disappear when the bot is using locales that are not supported by LUIS.
The dialogsWithLuProviderSelectorFamily selector needs to be used to provide the luProvider property on the dialog.
Without this property, botindexer::filterLUISFilesToPublish will always filter languages based on what LUIS supports.  When using Orchestrator, we don't want this filtering to occur, since Orchestrator supports all the languages that the Composer UI supports.
Task Item
Internal IcM. fixes #minor

@taicchoumsft tests seem to break

Thanks @srinaath , I just updated branch and it unit tests appear to pass now.  Will run a few more times to be sure.

Coverage remained the same at 55.954% when pulling a71697aa1e8b58051709ea4b8253a4b51e6bd15e on tachou/fixOrchMultiLangPublish into 99e07ac0fd92a93d3c44a79f88a0b20da008106d on main.


Docs are ahead of published package

Looks like there have been some updates to how this is installed in the store, namely
const {
  reducer,
  middleware,
  enhancer,
} = routerForBrowser({ routes });

vs
const {
  routerEnhancer,
  routerMiddleware,
} = routerForBrowser({ routes });

But the newest version (13.0.0) that supports this style of installation has not been published to npm yet as of the time of writing this issue
This is leading to some difficult on-boarding that takes investigation for a teammate of mine right now,  I am excited for the new version but you should probably roll out the package and the docs at the same time.

Would really love to use the new version! thanks.

Just started implementing this package and, for sure, reducer, middleware, enhancer return undefined.  Glad to know I wasn't going insane.

Sorry all! New version is out and now the docs are in sync!

@tptee thanks sir!


[Feature Request] Option to defer initClient() when connection URL is specified

If pgweb is started passing it a connection URL it immediately tries to open the connection to the server on startup and dies with exit code 1 if the server is not reachable.
This makes it unsuitable for running it in Docker Compose alongside a Postgres container, unless I specify the connection details manually.
I propose a new option to defer this function call to when the user actually starts interacting with the Web UI. If the server is not (yet) reachable it would be helpful to show an error in the UI instead of exiting.

Just noticed that #462 basically describes the same feature. I'd also be very much interested in this.

Use service health checks in docker compose, example: https://github.com/sosedoff/pgweb/blob/master/docker-compose.yml#L33


Adding Bookmarks , Read Later feature to the books

Description
Actually I want to add the Bookmark feature and Read Later feature in your website which would allow users to easily save and access content at a later time. Can U please assign me this issue under GSSOC 2023
Screenshots
No response
Checklist

[X] I have checked the existing issues
[X] I have read the [Contributing Guidelines]
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

@vivxsdb go ahead


Installed flexlink.exe cannot build executables without FLEXDIR set

By default flexlink.exe looks for FlexDLL object files to link in the same directory as flexlink.exe. That behavior is defined by
https://github.com/ocaml/flexdll/blob/f5ccd9730d0766d0eb002cbe35a183f627044291/reloc.ml#L1407-L1428
FlexDLL object files flexdll_initer_msvc64.obj and flexdll_msvc64.obj (or 32-bit _msvc variant on 32-bit installs) must be installed alongside $env:DiskuvOCamlHome/bin/flexlink.exe so flexlink can be used standalone (it is in the PATH).
Previously only the OCaml linker, through its flexdll_dirs = ["+flexdll"] (ie. <ocamlhome>/lib/ocaml/flexdll) utils/config.ml setting, knew where the necessary FlexDLL .obj files were.

FlexDLL object files flexdll_initer_msvc64.obj and flexdll_msvc64.obj

But where are they ?

C:\> Get-ChildItem -Recurse -Filter flexdll_msvc64.obj -Path $env:DiskuvOCamlHome

    Directory: C:\Users\beckf\AppData\Local\Programs\DiskuvOCaml\src\ocaml\flexdll

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----          2/7/2023   2:40 AM          16832 flexdll_msvc64.obj

You don't need to use those files if you are using dkml init or with-dkml.

The Windows installer at Windows 64-bit Installer at https://gitlab.com/diskuv-ocaml/distributions/dkml/-/releases/1.2.1-10 has a correctly bundled flexdll.
Now it is:
PS C:\Users\WDAGUtilityAccount> Get-ChildItem -Recurse -Filter flexdll_msvc64.obj -Path $env:DiskuvOCamlHome

    Directory: C:\Users\WDAGUtilityAccount\AppData\Local\Programs\DiskuvOCaml\bin

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----          7/4/2023   1:48 AM          16844 flexdll_msvc64.obj

    Directory: C:\Users\WDAGUtilityAccount\AppData\Local\Programs\DiskuvOCaml\lib\ocaml\flexdll

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----          7/4/2023   1:48 AM          16844 flexdll_msvc64.obj

Major release https://discuss.ocaml.org/t/ann-dkml-2-0-0-preview-release/12642 closes this.


Extend Linux Support to non-Debian distributions

Please provide packages for non-debian distributions. For an example, .rpm files will be greatly appreciated for Fedora. Alternatively, a packged tarball would work as well.
Thanks in advance.

Hi @vasillalov You can use AppImage

Yeah, that's a bit of a hack :)


Change bundle name and Add bundle display name

Pull Request Test Coverage Report for Build 159

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.094%

Totals

Change from base Build 157:
0.0%

Covered Lines:
1

Relevant Lines:
1060

💛  - Coveralls


mhlo.sort op is not supported for vulkan-spirv backend

We have the operation works on CPU backend -- adding createLinalgExtToLoopsPass() to the pipeline. For SPIR-V side, it's not trivial to add the pass. Ideally, once the ConvertToGPUPass is cleaned up, we can invoke createConvertLinalgToLoopsPass. And we can put createLinalgExtToLoopsPass to the same place to make sort op work on vulkan-spirv backend.
https://github.com/google/iree/blob/ee47bdccee98b09224f720791c101f421ae25162/iree/compiler/Codegen/SPIRV/SPIRVTileAndVectorize.cpp#L720-L740

Will fail in FlattenMemRefSubspanPass for some sort ops and scatter ops.
To repro:

Download https://gist.githubusercontent.com/hanhanW/ba04f2510c304faf2b4e67380e61bb5b/raw
Run iree-opt --iree-codegen-flatten-memref-subspan ~/sort_before_flatten.mlir


get_spn_tickets consumes all the memory

Empire Version
2.0_beta
OS Information (Linux flavor, Python version)
Kali Rolling, Agent running on Windows 7
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
On a large domain (10,000+ users) I attempted to execute the get_spn_tickets module on an agent running as a normal user. The job executed, but never returned any data. After 20 minutes the workstation running the agent became unstable and I found that the powershell process running the agent was consuming 9GB of RAM and growing. I killed the process so I don't know if the data would have eventually returned.
I modified line 81 of get_spn_tickets.py to add the '-SPN' flag to the Get-NetUser module and this appears to fix the error with this module. In a large network with thousands of users with SPNs this may still be an issue.
Screenshot of error, embedded text output, or Pastebin link to the error
Any additional information

We're working on a refactor/optimization for PowerSploit, which contains the PowerView code this module is based on. Scale testing is something notoriously hard to track down, but after the refactor in the next month or two, we will update and see if this fixes the problem.

Closing until this issue can be reproduced


网络加载jpg图片时，CGImageSourceCopyPropertiesAtIndex 这个方法在DEBUG环境下每次都崩溃

CFDictionaryRef properties = CGImageSourceCopyPropertiesAtIndex(imageSource, 0, NULL);
具体原因  具体原因我也不清楚，目前有一张图片会出现此问题
图片链接：http://p1.img.cctvpic.com/photoAlbum/page/performance/img/2017/10/27/1509090732557_611.jpg

Exception: XML parsing failure
This may because that EXIF metadata is not valid format. Maybe you should try to repairt this images' EXIF metadata.
For client, I think this method is not marked throwable but Image/IO did this. You can temporary add a @try and @catch to avoid this.

Dumplicated for #943. This is a debug only exception when you set All Exception: __cxa_throw in C++. Image/IO will handler this exception and will not cause any problem. You can unmark __cxa_throw and keep objc_exception when you debug.
This is also happend during AVPlayer framework, just ignore this one


Add password reset cookie

As per https://platformsh.zendesk.com/agent/tickets/136050

Corrected in #7 . Closing as no longer applicable.


Bugfix/proxy handling

Coverage remained the same at 100.0% when pulling 0e386b4b370ccc3535274afc749a15dfba8ec822 on DASPRiD:bugfix/proxy-handling into ba992135463cd9c7334efb887a2847118a2ad5ed on soliantconsulting:master.

Whoops, I only remote merged into develop, so it didn't auto-close the issue. Just pushed to master too.


minor typographical stuff; active-voice sentences

also fleshing out the description of what to do once you've installed the beast

Coverage remained the same at 99.94% when pulling 73a937a630b728ca137028b63a17d616484e3a5d on DavidMGross:patch-2 into 9f5731c0e8b9c27f9f6b24e945ff343ba327bc59 on openfarmcc:master.

@DavidMGross Thanks for the tweaks! It's those small details that will make it easier for newcomers.