Raise TypeError for Index/MultiIndex.sort()

like pandas,
Raises TypeError when users try to use sort() for Index or MultiIndex
>>> pidx.sort()
Traceback (most recent call last):
...
TypeError: cannot sort an Index object in-place, use sort_values instead

below screenshot from pandas, and i've mimic this exactly same.

Codecov Report

Merging #1115 into master will decrease coverage by 1.41%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master    #1115      +/-   ##
==========================================
- Coverage   95.14%   93.73%   -1.42%
==========================================
  Files          35       35
  Lines        7003     7003
==========================================
- Hits         6663     6564      -99
- Misses        340      439      +99

Impacted Files
Coverage Δ

databricks/koalas/missing/indexes.py
100% <ø> (ø)
:arrow_up:

databricks/koalas/indexes.py
95.98% <50%> (-0.38%)
:arrow_down:

databricks/koalas/usage_logging/__init__.py
24.32% <0%> (-72.98%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50% <0%> (-50%)
:arrow_down:

databricks/koalas/__init__.py
78.72% <0%> (-6.39%)
:arrow_down:

databricks/conftest.py
94% <0%> (-4%)
:arrow_down:

Continue to review full report at Codecov.

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

LGTM, but shall we postpone this until we support Index.sort_values()?

@ueshin sure, i'm working on it :)

@ueshin i just created PR at #1120 , please confirm it if when you available :)


Loading on pagination

i need a loading icon when page is changing from one page to another page ...
Ex:
1 to 5.
intially at 1. Now i need to go to page 5.when page is changing from 1 to 5 i want to show loading image or icon.
another issue:
how to highlight text in result expression that what we search in textbox.
Please Help me michaelbromley....

Hi,
This looks like a general support request rather than an issue specifically related to this project. Unfortunately I don't have time to field such requests, and a better source of assistance would be StackOverflow.
If you think I've made a mistake and this is indeed an issue specific to this project, please re-open the issue and include further detail.


Add navigation on top of page

Pure bootstrap: https://getbootstrap.com/docs/4.0/components/breadcrumb/
Maybe a lib can do the trick: https://django-bootstrap-breadcrumbs.readthedocs.io/en/latest/
Or just a snippet: https://www.bedjango.com/blog/snippet-breadcrumbs/
To be tested, compared and implemented.

refacto URL names

Done and merge in dev


Broken some image links on the v0.5.0 docs

There are image differences between v0.4.0 and v0.5.0.
So some image links are broken in v0.5.0 docs as below:
https://github.com/Kong/kuma-website/search?q=diagram-02.jpg+OR+diagram-03.jpg+OR+diagram-06.jpg+OR+diagram-07.jpg+OR+diagram-10.jpg+OR+diagram-11.jpg+path%3A%2Fdocs%2Fdocs%2F0.5.0&unscoped_q=diagram-02.jpg+OR+diagram-03.jpg+OR+diagram-06.jpg+OR+diagram-07.jpg+OR+diagram-10.jpg+OR+diagram-11.jpg+path%3A%2Fdocs%2Fdocs%2F0.5.0
It would be good to fix this for kuma users.

@bloqhead

@bloqhead updates?

Closing because these are such old versions. Feel free to reopen with a PR to fix if older versions are still in use, and thanks!


Fix burrito cfg watch line in readme

Hey, thanks for the PR! I missed this before I updated the readme, but I also noticed another line that needed to be fixed. Since I've updated those two lines already, I'm going to close this PR. Sorry I didn't notice this before.


{Network} Migrate previous blocked commands

Related command

Migrate:
az network local-gateway list
az network routeserver create
az network routeserver delete
Remove def:
update_public_ip
Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Network


Move Player UI box towards bottom of screen (mobile + desktop)

slight issue with this is that iOS landscape reports the viewport to be higher than it is until the user has rotated their device to portrait and back. I tried various places between the pictured and it never reached further than compromise.


enclave-tls: provide occlum ref image for enclave-tls-server (ecdsa + mutual)

The ref images is located in docker pull inclavarecontainers/occlum-ecdsa-server:alinux2.


Update dtrace-provider-bindings dependency

DTrace provider bindings fail to build on mac High Sierra. This is fixed in version 0.8.7. Can you update the dependency to the next version, so I dont have to always override and use the globally installed version?

Resolved by #466.

⚠ This issue has been locked due to age. If you have encountered a recent
problem that seems to be covered by this issue, please open a new issue.
Please include a minimal reproducible example
when opening a new issue.


Added Lippia and Sorawatari

unfortunate timing, just gotta update your formatting to match the new array format. should be quick


Add expression tests, fix formatting for nested templates, fix deeply-nested outer-scoped templates

I expect this to be the last set of changes from my end.  There are a few P2 TODOs still, but I think those can all wait.

@nilshedstrom If you could approve this PR when you get a chance, thanks...!


try to help reproducing #3103

@matthid ok tests seem to run into endless loop now. So I guess this is the wrong place. I guess there is something wrong at the call site. Will take a deeper look on Monday


Explorer: error in delete is not reported

Steps to Reproduce:

use node.js from the command line and call fs.watch(<path to folder>, { recursive: true })
try to delete the parent folder of that path
you get an error and are being asked to delete permanently
confirm that

=> 🐛 now the delete hangs forever and no error is shown.

I think we need to address this rather soon as the result is confusing.

Nevermind, this is actually the right behaviour: our library graceful-fs attempts to delete the folder for up to a certain time.


cmd/compile: wrong line number for inlined defer function

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.8.3 darwin/amd64
Does this issue reproduce with the latest release?
Not sure; reproduces on the playground.
What operating system and processor architecture are you using (go env)?
Playground & locally:
GOARCH="amd64"
GOOS="darwin"

What did you do?
Tried to get the line number on which a defer function call was made; unable to do so and instead get the line number for the end of the function (})
https://play.golang.org/p/PHvBl4RJaj
Note: if you write the defer as:
defer func(){
    debug.PrintStack()
}

You get what you'd expect since the unnamed function func1 is now considered to be at the end of of the function while the PrintStack() itself is not deferred.
What did you expect to see?
Stack trace similar to the one below but with the line number for main.test() to be 12 (the line the defer function was defined) instead of line 13 (where the function ends).
Seems to relate to https://github.com/golang/go/issues/5856 where the fact that there are two lines of relevance for defers: where they are defined and where they are executed and there is a conundrum about how to either provide both or which to provide.
Not sure if this had been solved since then.
What did you see instead?
goroutine 1 [running]:
runtime/debug.Stack(0x0, 0x60c6, 0x10444240, 0x104000e0)
	/usr/local/go/src/runtime/debug/stack.go:24 +0xc0
runtime/debug.PrintStack()
	/usr/local/go/src/runtime/debug/stack.go:16 +0x20
main.test()
	/tmp/sandbox495784442/main.go:13 +0x7b
main.main()
	/tmp/sandbox495784442/main.go:8 +0x20

Is this suitable for new contributors to fix? I'd like to help if it is (or even if it isn't, with some hand holding).

@mdempsky See question above from @rajathagasthya , thanks.

This appears to be working as intended to me. In call stacks, we make deferred functions appear to be called wherever they're dynamically invoked from. In the case of a non-panicking return, this is wherever the return statement is; or in this particular case, at the implicit return statement at the }.

@mdempsky I agree, but if you want to programmatically inspect the function call by looking at the line number, is there any way that is possible?
In theory if you detect the line given is the end of the function (}) then you could scan through the function to find a defer, but if you had multiple defer functions then there seems to be 0 way in which to differentiate them at runtime. Am I mistaken in that belief?


DefaultFileMiddlware doesn't work with EmbeddedFileProvider and subfolders.

Repro:
Embed the following directory structure:
└───wwwroot
    │
    └───Files
            TextFile.txt

Use the folowing code:
  var fs = new EmbeddedFileProvider(this.GetType().GetTypeInfo().Assembly, "StaticFilesSignoff.wwwroot");;
            app.UseDefaultFiles(new DefaultFilesOptions()
            {
                DefaultFileNames = new[] { "TextFile.txt" },
                FileProvider = fs
            });
            app.UseFileServer(new FileServerOptions()
            {
                FileProvider = fs,
            });

Go to http://localhost:5000/Files/
Expected TextFile.txt content gets displayed
Actual: 404

This happens because DefaultFiles first checks if the directory exists, and EmbeddedFileProvider doesn't support directories. We should try making EmbeddedFileProvider smarter around directories.
https://github.com/aspnet/StaticFiles/blob/dev/src/Microsoft.AspNetCore.StaticFiles/DefaultFilesMiddleware.cs#L69-L70

Dup of https://github.com/aspnet/FileSystem/issues/206


[DNM] service/kv: Add end_key limit to kv_scan interface

What have you changed? (mandatory)
This PR adds the end_key limit to kv_scan interface.
Previously kv_scan may scan to a deleted range. However we doesn't promise that the range is perfectly deleted, that is, there may be some residual keys. Possibly, they doesn't compose a correct transactional key, for example, there might be a key with only WRITE_CF but no DEFAULT_CF, causing TiKV panic.
However if we know where we should stop scanning, this problem will not happen.
When scanning forward, the scanned range is [start_key, end_key).
When scanning backward, for compatibility, the range is [end_key, start_key). Previously, it's [-∞, start_key).
What are the type of the changes? (mandatory)
The currently defined types are listed below, please pick one of the types for this PR by removing the others:

Bug fix (non-breaking change which fixes an issue)

How has this PR been tested? (mandatory)

It's correctness is ensured by unit tests of ForwardScanner and BackwardScanner.

Does this PR affect documentation (docs/docs-cn) update? (mandatory)
No
Does this PR affect tidb-ansible update? (mandatory)
No
Refer to a related PR or issue link (optional)
https://github.com/pingcap/kvproto/pull/306

Please merge the PR of kvproto first.

Please add test.

@siddontang Done. Please review kvproto first.

/run-all-tests

/run-unit-test

/run-all-tests

@breeswish PTAL again thanks!

/run-unit-test

/run-unit-test

@siddontang @breeswish PTAL..... 😭


what does '--no-mtime' mean in youtube-dl and don't think youtube-dl respects that.

Please follow the guide below

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.08.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.08.18

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[x] Question
[ ] Other

[$] youtube-dl --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.08.18
[debug] Python version 2.7.13 - Linux-4.11.0-1-amd64-x86_64-with-debian-buster-sid
[debug] exe versions: ffmpeg 3.3.3-3, ffprobe 3.3.3-3, rtmpdump 2.4
[debug] Proxy map: {}
Usage: youtube-dl [OPTIONS] URL [URL...]
youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.
Now I downloaded the whole playlist from
youtube-dl https://www.youtube.com/playlist?list=PLq6HRovGueR3P8irCLkc9JVKstdmBy4lx -c -f bestvideo+bestaudio
Now while ffmpeg performs and performed flawlessly, the time-stamp it gave to all the videos were from the last 3 days rather than when they were put up originally (youtube's/uploader's time-stamp) .  This wasn't the case before. I'm not sure who is at fault, whether it's youtube-dl at fault or ffmpeg.
Also I'm curious about the '--no-mtime' option but as the command-line option doesn't elaborate (nor the documentation on youtube-dl homepage) it's difficult to know what that option is all about.
Looking forward to know.

--help clearly states --no-mtime will disable setting modification time from Last-Modified HTTP header.
--no-mtime                       Do not use the Last-modified header to set
                                 the file modification time


Fix opensearch-env always sources the environment from hardcoded file

Description
Fix line 81 of opensearch-env always sources the environment from hardcoded file. Let users override the value of OPENSEARCH_PATH_CONF.
Issues Resolved
#633
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

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

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

Could you please link an issue? I ask because it is missing context to understand the use case etc.

@xuezhou25 what is the original problem that you are trying to fix with this?
@adnapibar It sounds like we don't want this change because of the undesirable side effects?

@xuezhou25 what is the original problem that you are trying to fix with this? why would you need this override?

The original problem is https://github.com/opensearch-project/OpenSearch/issues/633
When users want to start multiple OpenSearch instances on the same host, with deb or rpm package, they need to override the default configuration path $OPENSEARCH_PATH_CONF with multiple different values for multiple instances to use. But with the line of code in opensearch-env https://github.com/opensearch-project/OpenSearch/blob/34550c5b17124ddc59458ef774f6b43a086522e3/distribution/src/bin/opensearch-env#L81 the environment viable $OPENSEARCH_PATH_CONF can only be set to the single value in ${source.path.env}.
Shall we communicate this in documentation?

@xuezhou25 what is the original problem that you are trying to fix with this? why would you need this override?

The original problem is https://github.com/opensearch-project/OpenSearch/issues/633
When users want to start multiple OpenSearch instances on the same host, with deb or rpm package, they need to override the default configuration path $OPENSEARCH_PATH_CONF with multiple different values for multiple instances to use. But with the line of code in opensearch-env https://github.com/opensearch-project/OpenSearch/blob/34550c5b17124ddc59458ef774f6b43a086522e3/distribution/src/bin/opensearch-env#L81 the environment viable $OPENSEARCH_PATH_CONF can only be set to the single value in ${source.path.env}.
Shall we communicate this in documentation?

Ok, that is clear. So this is a feature that allows one to override OPENSEARCH_PATH_CONF. We definitely need to at least document this. We should also be testing starting multiple instances with deb/rpm packages, so:

Open an issue in the doc repo to document this.
Open an issue here to test this unless the PR contains such tests.

With ^ this LGTM.

start gradle check

@adnapibar It sounds like we don't want this change because of the undesirable side effects?

There might be some edge cases and you're right we do need some tests to verify. But at least documenting it should make it clear to the users.


lxd-p2c: "Failed to mark / private: Permission denied"

Issue description
I was trying to run lxd-p2c in a lxc version 1.0.7 container, to transfer it to a new lxc host running  version 3.0.3 on Ubuntu 18.04.
The lxd-p2c binary was created on Ubuntu 18.04 using go get github.com/lxc/lxd/lxd-p2c.
When going into the container, I cannot run the binary, it fails with "Failed to mark / private: Permission denied" even when no parameters are passed.
# lxc-attach -n apache-basic
root@apache-basic:~# ./lxd-p2c-amd64
Failed to mark / private: Permission denied

Your container doesn't allow the needed mount operation that lxd-p2c needs to perform, this isn't a lxd-p2c bug, it's an issue with the apparmor profile you're using on your source machine.


Slider snaps to 100 when initially model-max is not defined

I am noticing that the slider jumps to hundred when the value of model-max is not defined. This happens when I am using a field of a json object to bind to model-max. Something like options = {} and model-max binds to options.something. I am also setting pin-handle to min. Even if was set to 0 when null, it would be still graceful.
Thanks

Closing unless there are still problems that someone can provide a fiddle for


PrintSchema is not generating XML Schema

I am loading XML file but that xml file having some space and \n character in between , when i
df.printSchema()  :::  print the schema it's not printing any thing.
Can you please help for this type of xml how to pass. when i using library and giving rowtag "ns:test1 " it just showing the xml like
WARN InferSchema$: Dropping malformed row: ns:test1	<ns:test11 Target="Cert">	</ns:test11>\n	<ns:test2 Target="Prod">	</ns:test2></ns:test1>
root
XML Example :
{"outer":{"string":"webservice}, "body":"\n
ns:test1
<ns:test11 Target="Cert">
</ns:test11>\n
<ns:test2 Target="Prod">
</ns:test2>
</ns:test1>
}

Thanks for pointing this out. I will take a look on this weekend!

Proper XML for your testing :
{"outer":{"string":"GMVHOS"}, "body":"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n   <ns:test1>         <ns:test11 Target=\"Cert\">         </ns:test11>\n         <ns:test2 Target=\"Prod\">         </ns:test2> </ns:test1> }

Hm.. I see it seems it is not a XML standard format due to escaping " with \.


Investigate support for merging tool metadata from additional (uncommitted) files

Problem
Some tools may require config keys that should not be written into the manifest file. Some of those keys may be switched based on profile / other user input (example: profile credentials in aws cli). This config keys should co-exist with currently used tool section based config design.
Proposed Solution
Research solutions used by established tool ecosystems. Decide if Scarb should support this flow in any way.
Notes
cc @MaksymilianDemitraszek @cptartur

Contex: providing private configuration in the toml
[tool.forge]
[A]
address = $address_env1
block_depth = 12312

[B]
address = $address_env2
block_depth = 12

FYI The only tool that has this, that I'm aware of, is Terraform.

@mkaput we are effectively trying to build starknet terraform :D

OK, so being inspired by https://doc.rust-lang.org/cargo/reference/config.html and https://developer.hashicorp.com/terraform/language/values/variables#variable-definitions-tfvars-files I propose following solution:
We will allow reading [tool] section values from other files, namely:

config.toml
[prefix].config.toml, i.e. any file which name ends with .config.toml

Let's call these configuration files. This system will enable local configuration for a particular package as well as global configuration. Scarb will look for configuration files in:

[package root]/.scarb
[workspace root]/.scarb
$SCARB_CONFIG

The order of loading will be:

$SCARB_CONFIG/config.toml
$SCARB_CONFIG/*.config.toml, sorted lexicographically
[workspace root]/Scarb.toml & [package root]/Scarb.toml, overridden via existing .workspace = true mechanism
[workspace root]/.scarb/config.toml
[workspace root]/.scarb/*.config.toml, sorted lexicographically
[package root]/.scarb/config.toml
[package root]/.scarb/*.config.toml, sorted lexicographically

Shouldn't package roots be resolved before the workspace root? Though I might just be confused.

The configuration files will have a subset of Scarb.toml syntax, i.e. they'll have to have the [tool] section. For example:
[tool.forge]
[A]
address = "some address"

Merging will be applied top-down, i.e. later entries will override earlier ones.
Problem: I don't think we can use the existing toml_merge algorithm, here. I am also not in favour of adding a new deep-merging algorithm. Perhaps we could have .config = "config var name" mechanism, similar to .workspace one?

What do you mean exactly by this mechanism? That you will be required to define something like my_arg.config = true if you want it to be "inherited" from the necessary file?

What do you mean exactly by this mechanism? That you will be required to define something like my_arg.config = true if you want it to be "inherited" from the necessary file?
@cptartur
Yes, analogous to inheriting keys from workspace manifest with key.workspace = true we could have some mechanism to inherit from config files.


Faulty Group-Definitions in several Notice-Types.

We found different Group Definition GR-Procedure-Description in several Notice-Types.
In our point of view, these group definition shall be same in all notice types.
We assume that the correct Definition is in Notice-Type 16.json
"id" : "GR-Procedure-Description",
        "contentType" : "group",
        "displayType" : "GROUP",
        "description" : "Description",
        "_label" : "group|name|GR-Procedure-Description",

In several Notice Types for e.g. Notice-Type 29.json the group is defined wrong
        "id" : "GR-Procedure-Description",
        "contentType" : "group",
        "nodeId" : "ND-ProcedureProcurementScope",
        "displayType" : "GROUP",
        "description" : "Scope of the Procurement addressed with the whole notice",
        "_label" : "group|name|ND-ProcedureProcurementScope"

We are using SDK 1.10.x we asking also for a patch of the SDK 1.10.x

Hi i want to slightly ask if you have an update for this issue?

Now 3 Weeks are gone, and i did not get any feedback. Why?

Sorry for the delayed response.
The difference is that in 29.json (and other notice subtypes), this group is associated with the node "ND-ProcedureProcurementScope". In 16..json it is not the case.
This is indeed inconsistent. This association might not be correct, as there are fields under ND-ProcedureProcurementScope that are not shown under GR-Procedure-Description.
We will review this and correct it in a future SDK version.

Is there an update for this issue?

I have just seen that in the RC for 1.12 the label in subtype 16 has been changed:
"id" : "GR-Procedure-Description",
"contentType" : "group",
"nodeId" : "ND-ProcedureProcurementScope",
"displayType" : "GROUP",
"description" : "Scope of the Procurement addressed with the whole notice",
"_label" : "group|name|ND-ProcedureProcurementScope",
In my opinion, this change is incorrect. The label "group|name|GR-Procedure-Description" should be the correct one for the "GR-Procedure-Description.
I agree with @duranalp that the flaw is in subtype 29 (and other notice subtypes).

@bertrand-lorentz @YvesJo

Hi,
Groups and associated labels are purely for the UI. As indicated in § 3.9 of the eForms Policy Implementation Handbook:

Labels are the texts used in user interfaces for manually filled fields. They are based on simplified eForms descriptions (parts of the descriptions appear as tooltips). The Publications Office of the EU will offer default set of labels in all EU official languages, used in the eNotices2 software application and in the TED website.
Designers could make eProcurement systems more user-friendly by tailoring labels further. For example, labels can be tailored based on users (e.g. professional procurers may prefer legal terminology, SMEs and occasional procurers may prefer more user-friendly terminology), the system (e.g. form-filling vs. form-displaying), etc.

The most appropriate option has been selected given the constraints and the need to have this fixed for SDK 1.12.
KR

I understand that the labels are purely for the UI. But I am still of the opinion that nodeID and label were simply assigned incorrectly here. No information on tendering terms are recorded in this group.

@bertrand-lorentz  @YvesJo  Can you please check my last comment. We are currently testing the SDK 1.12 and as I feared, the wrong name for the group "GR-Procedure-Description" is now displayed in all places.

Hi,
There are fields in the description that depend on node ND-ProcedureProcurementScope and the node needs to be kept. The label for the group will be changed back to "Description"


Add cookiecutter-tryton

Current coverage is 90.87%

Merging #465 into master will change coverage by -4.68% by a7fac40

Coverage Diff
@@            master    #465   diff @@
======================================
  Files           12      12
  Stmts          449     449
  Branches         0       0
  Methods          0       0
======================================
- Hit            429     408    -21
  Partial          0       0
- Missed          20      41    +21

Uncovered Suggestions

+2.67% via ...okiecutter/compat.py#56...67
+2.45% via ...okiecutter/compat.py#85...95
+0.89% via cookiecutter/vcs.py#59...62
See 7 more...

Powered by Codecov

Current coverage is 95.55%

Merging #465 into master will change coverage by 0% by a7fac40

Coverage Diff
@@            master    #465   diff @@
======================================
  Files           12      12
  Stmts          449     449
  Branches         0       0
  Methods          0       0
======================================
  Hit            429     429
  Partial          0       0
  Missed          20      20

Uncovered Suggestions

+0.89% via cookiecutter/vcs.py#59...62
+0.66% via ...okiecutter/compat.py#78...80
+0.66% via ...okiecutter/compat.py#69...71
See 6 more...

Powered by Codecov


Title of referendum is also displaying in body text

The title should not be duplicated in the body of the text, please see example from staging below for "Paris Unincorporated Area Tax Levy," which should only display in the header.
Thank you!
cc: @pstenbjorn

@jen-tolentino For this one, "Paris Unincorporated Area Tax Levy" is both the office and the referendum title, so if I put the referendum title on the header it will just repeat twice. I could (a) show both, (b) prefer the office over the referendum title, or (c) prefer the referendum title over the office. Are they mutually exclusive? ie, is there only ever an office or a referendum title?

Alex,
I would favor the referendum title over the contest.office for display.
Thanks,
Paul
On Fri, Apr 24, 2015 at 1:25 PM, Alex Konrad<EMAIL_ADDRESS>wrote:

@jen-tolentino https://github.com/jen-tolentino For this one, "Paris
Unincorporated Area Tax Levy" is both the office and the referendum title,
so if I put the referendum title on the header it will just repeat twice. I
could (a) show both, (b) prefer the office over the referendum title, or
(c) prefer the referendum title over the office. Are they mutually
exclusive? ie, is there only ever an office or a referendum title?
—
Reply to this email directly or view it on GitHub
https://github.com/votinginfoproject/vip-embeddable-tool/issues/115#issuecomment-96002625
.

Updated on staging.

Looks great! Thank you.


Interchange export loses atom naming

Hello!
I'm currently using Interchange to save my openmm system to gromacs file types. The atom types in my topology are lost when doing this--I'd love to see this preserved!
Any tips?

There are a few things that could be happening here - could you provide a minimal reproducing example?


Spell checker

Currently, the spell checking dictionary is built when the PocketWriter context manager is exited. As the dictionary is built from scratch every time, this is not very efficient. It would be better to give more control to the application developer when the dictionary actually gets built through explicitly invoking a dedicated method:
with PocketWriter(index_name="document",db_name=db_name,schema=self.LegacyTableSchema) as writer:
    writer.spell_checker().build()

Fixed in 0.20.0


Support for VK_EXT_conditional_rendering

Hello,
I'm currently having some trouble implementing D3D11 Predication in DXVK using the VK_EXT_conditional_rendering extension, so I'd like to ask for Renderdoc to support this extension if possible.
A demo that could be used for testing purposes is the "Conditional Rendering" sample in Sascha Willems' Vulkan samples.

Implemented kindly by @werman in #1192, please file an issue if you notice any problems.


Add automatic scrolling of wizard steps

Description
This PR ensures the wizard scrolls the current step into view when moving between steps.
https://github.com/filamentphp/filament/issues/14665
Visual changes
https://github.com/user-attachments/assets/9239f0f4-0c9e-4e0c-9b28-9f99118fac0b
Functional changes

[x] Code style has been fixed by running the composer cs command.
[x] Changes have been tested to not break existing functionality.
[x] Documentation is up-to-date.

Ready for merge, @danharrin :)


Mod not marked as supporting 1.12.2

Hi, this mod is not marked as 1.12.2. I assume it works on that version since there's a 1.12.1 marked version.
https://minecraft.curseforge.com/projects/overpowered-inventory/files
please mark the 1.12.1 file as 1.12.2 too.
This "broke" my updater script.

I see it's been marked, thanks!


createVR should add err into the error message

(from HackMD list)

The error returns in here are not adding the error returned by the called functions in the message, which helps debug issues when an actual error occurs.
@raghavendrabhat request that these be added in the error return.


revert whitespace changes that affected tests

https://github.com/nltk/nltk/pull/2753 had an unfortunate side effect on a few tests, this is due to test code expecting files on disk to be formatted in a specific way. As a workaround, this PR reverts white space changes to test data files in order for tests to pass.
More details here: https://github.com/nltk/nltk/actions/runs/1063540909

Oh man. Thanks. I'm a little iffy on this since the CSV files will just get the white space removed next time they're edited. I may look into making the test itself better

@dannysepler Yeah, this is a workaround to make CI build green. It may be possible that a smaller diff is sufficient to pass the tests, or that some other change like a different data format for test data files can resolve this, or changing the nature of the tests themselves.


Bug report: 'spo site list' output

When running m365 spo site list the output is bad due to some logger.log statements that should not be there:

Great idea! I'll do that!


Improve design of the "RTD box"

I believe the way the ReadTheDocs version box is shown could be improved:

Hi 👋🏼 , I'm one of the developers from Read the Docs that's currently working on the "RTD box" [^1]. The image shown in the description is using "the old implementation" of the flyout. Currently, we have published our "beta addons" containing the flyout as well. We tried to keep the look&feel pretty similar to avoid surprises on users when migrating to the new flyout. However, we will be working on a completely re-design from scratch -- but we don't have an ETA for this re-design yet.
On the other hand, we will be providing an API to access all the JSON data needed to generate and integrate the flyout by the theme authors respecting the look&feel of the theme and also change its position if wanted. I worked on a POC to show this on the Read the Docs Sphinx theme at https://github.com/readthedocs/sphinx_rtd_theme/pull/1526. As you can see there, the flyout is integrated into the navbar at the bottom left, instead of being floating at bottom right.
The pattern where the event readthedocs-addons-data-ready is triggered and theme developers can subscribe, is not yet deployed since we a looking for feedback from theme authors and developers about it to know if this pattern will be helpful for them to integrate in a better way with Read the Docs. I'd appreciate any feedback you may have 🙏🏼
[^1]: BTW, we call it flyout 😄


revert to original new relic config

Coverage remained the same at 77.634% when pulling aae93b72e62e9a028a8ff25af8d52079b337d70a on new-relic-revert into 1b106d75598633aa325db99195c62b5c31346945 on master.


Fbank energies are much greater in Kaldi than torchaudio

Relevant part of discussion in the first feature extraction PR:
As to the large 0th MFCC coefficient, the plot thickens. When I compared the Kaldi and lhotse (torchaudio) output for the same file, but using log-mel energies instead - the output still has the same shape, but Kaldi energies are way larger, see the image:

The Kaldi result can be recreated by: steps/make_fbank.sh --fbank-config librifbank.conf --nj 1 libridata fbank_libri fbank_libri
where librifbank.conf has:
--dither=0
--sample-frequency=16000

and the wav.scp in libridata is:
rec1 /path/to/lhotse/test/fixtures/libri-1088-134315-0000.wav

Then, to analyse in Python, I read it in python like:
import kaldi_io
fbank_kaldi = list(kaldi_io.read_mat_scp('/path/to/fbank_libri/raw_fbank_libridata.1.scp'))[0][1]

Paranoid check with copy-feats ark:fbank_libri/raw_fbank_libridata.1.ark ark,t:- yields the same output:
rec1  [
  7.189558 9.037251 10.99918 11.80182 13.34635 14.90742 14.93212 16.49876 16.68227 16.07505 17.88986 17.97858 18.57075 17.19065 16.88927 17.6966 17.28112 17.44429 16.39793 15.73682 15.18271 14.46821 13.25515
  8.695339 10.86374 11.10041 11.28711 12.6426 13.6858 15.10104 14.55601 15.04671 15.78543 17.72975 17.83109 17.31431 16.33819 16.76282 17.25342 17.55506 17.83777 16.99071 15.81893 15.01264 13.81689 13.02168
  8.378333 9.902431 10.18937 10.38635 12.07959 13.96713 15.26997 15.65272 15.58296 15.4958 18.21008 17.68359 17.81999 16.76442 16.32026 17.28751 17.46375 17.26385 16.55256 15.46311 14.84257 13.89831 13.44193
(...)

Any ideas? Anyway, I think we can merge this one - let me know once you review.
Originally posted by @pzelasko in https://github.com/pzelasko/lhotse/pull/10#issuecomment-631132273

In kaldi, the audio samples are in the range [-32768, 32767], but it is [-1, 1] in torchaudio.
If you use
waveform, sample_rate = torchaudio.load('/path/to/some.wav')
waveform = waveform[0] * 32768

And then compute the fbank of the returned waveform, it should give you
comparable fbank features computed by Kaldi using the same some.wav.

Related code is given below
https://github.com/kaldi-asr/kaldi/blob/797905b0140f7169caf3d97c75a1a56a92f67d38/src/feat/wave-reader.h#L60-L62
https://github.com/pytorch/audio/blob/313f4f5ca65b82ff81e62165ee2328a4c10de013/torchaudio/_sox_backend.py#L51
https://github.com/pytorch/audio/blob/313f4f5ca65b82ff81e62165ee2328a4c10de013/torchaudio/__init__.py#L414-L423

torchaudio/compliance/kaldi.py is not really compliant with kaldi. You have to be careful
when using it:

the default dither value is 1 in kaldi; but it is 0 in torchaudio. If you set it to 1 in torchaudio,
you will be in trouble since the noise amplitude is comparable with the signal amplitude.

Yes, I have to agree with Fangjun's response here. I don't know your code,
but I've encountered a similar confusion in past work.
This is also why kaldi uses "large" dither values like 1, while torch uses
much smaller dithering values.
On Mon, May 25, 2020 at 7:14 PM Fangjun Kuang<EMAIL_ADDRESS>wrote:

In kaldi, the audio samples are in the range [-32768, 32767], but it is
[-1, 1] in torchaudio.
If you use
waveform, sample_rate = torchaudio.load('/path/to/some.wav')waveform = waveform[0] * 32768
And then compute the fbank of the returned waveform, it should give you
comparable fbank features computed by Kaldi using the same some.wav.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pzelasko/lhotse/issues/14#issuecomment-633772480, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEL6UAUTU5XGCPILMSI7PLRTMQZ5ANCNFSM4NGCDTIA
.

--
Daniel Galvez
http://danielgalvez.me
https://github.com/galv

BTW, the current implementation of torchaudio.compliance.kaldi.fbank
is not that efficient. It does not reuse the window function and the mel bank matrix
across wave files, instead it re-computes them for each wav.
I would suggest that you add a TODO here to either improve it or implement it by yourself.
https://github.com/pzelasko/lhotse/blob/b7c356754f745b705a815cd5b2b1cc028f186834/lhotse/features.py#L105
https://github.com/pzelasko/lhotse/blob/b7c356754f745b705a815cd5b2b1cc028f186834/lhotse/features.py#L110

I doubt the recomputation of the mel bank matrix is that big a deal... but
there may be other issues.
BTW, I am OK with turning off the dither, using the range [-1,1] and
instead relying on the energy-floor to avoid log of zero.
On Tue, May 26, 2020 at 10:45 AM Fangjun Kuang<EMAIL_ADDRESS>wrote:

BTW, the current implementation of torchaudio.compliance.kaldi.fbank
is not that efficient. It does not reuse the window function and the mel
bank matrix
across wave files, instead it re-computes them for each wav.
I would suggest that you add a TODO here to either improve it or
implement it by yourself.
https://github.com/pzelasko/lhotse/blob/b7c356754f745b705a815cd5b2b1cc028f186834/lhotse/features.py#L105
https://github.com/pzelasko/lhotse/blob/b7c356754f745b705a815cd5b2b1cc028f186834/lhotse/features.py#L110
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pzelasko/lhotse/issues/14#issuecomment-633779146, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZFLO6KQVRR6MFTHJUCXG3RTMULVANCNFSM4NGCDTIA
.

Thanks for your insights guys. I will close this issue since everything seems to be OK with the current settings.


Rename Person and AddressBook

Refactored
Persons -> InternTracker
AddressBook -> InternTracker
jsonAdaptedPerson -> jsonAdaptedInternApplication
related tests
**to do -> refactor other related files under storage

Also, perhaps we could rename this Pull Request to "Rename Person and AddressBook"

left the tutorials and sequence diagrams unchanged as we will probably change that later.


[MHR Sun Break]Freeze at Main Screen

After updating MHR SB today, it stopped loading the game and triggered capcom's crash report after some time. Simply remove the REFramework and then can enter the game normally.

 I have to force the game to stop.

Fixed.


invalidate token

with DRF authtoken it is possible to make a 'logout' in this way;
class Logout(APIView):
    queryset = User.objects.all()
    def get(self, request, format=None):
        # simply delete the token to force a login
        request.user.auth_token.delete()
        return Response(status=status.HTTP_200_OK)

As you see here we have a delete() method.
I can map this view and create an endpoint in order to have a logout call from frontend client! then for login again I can recreate a new token for that user..
How can I make this thing using django-rest-framework-jwt ??

On your user model add a field:
jwt_secret = models.UUIDField(default=uuid.uuid4)
Then create a function that returns this field:
def jwt_get_secret_key(user_model):
    return user_model.jwt_secret

And use a string with the path to that function in the JWT_GET_USER_SECRET_KEY variable.

@Alex3917  This sounds interesting, Can you please elaborate a bit on this?

@uber1geek Conceptually what you want is a UUIDField on the user model, and then every time the user does something that should log them out of the site (clicking Logout, changing their password, etc.) you then generate a new UUID and save it to that field on the user model.
Then as part of the auth process, the jwt_secret field is added to the token, and the JWT in the token is compared with the JWT on the user model. If they aren't the same, then we know the user has done something to log them out of the site (or otherwise invalidate the token) in between when the token was issued and when it's being checked, so the token should be treated as invalid and the user needs to re-authenticate.
Checking the secret key is now part of the authentication process, so once you set the values above the only thing you need to worry about is saving a new UUID for the user when they do something that should log them out of the site. (And write tests to make sure it's working correctly.)

@Alex3917 if a user login in two different browsers, how can we handle this situation?

@ray525
I know this is old but no answered your question. You are right, this method will logout out all sessions.

any solution for the problem invoked by @ray525 ?

@RahmaMzoughi @ray525 I don't have a good solution for that. You could obviously just delete the token from localstorage, although that wouldn't eliminate the ability for someone who already had the token from using it.
I could see this being an issue where someone uses a public computer as their desktop computer, and then uses their phone as their private computer. But I don't run a site where this is an issue.


Updated to use imgix-rb 1.0.0

Probably not worth bumping to 1.0.0 to match imgix-rb, since the only breaking change is from :secure to :use_https in the config. Maybe 0.4.0 instead? At least this gets the two Ruby libs aligned.

Cribbed from http://semver.org/:
What should I do if I update my own dependencies without changing the public API?

That would be considered compatible since it does not affect the public API. Software that explicitly depends on the same dependencies as your package should have their own dependency specifications and the author will notice any conflicts. Determining whether the change is a patch level or minor level modification depends on whether you updated your dependencies in order to fix a bug or introduce new functionality. I would usually expect additional code for the latter instance, in which case it's obviously a minor level increment.

Given that, I think the correct answer is to just roll the patch version up. Although it looks nice, I think keeping imgix-rb and imgix-rails in version sync will be more effort than it's worth and also flies in the face of SemVer.

(Note to future viewers: @kellysutton and I discussed offline, and since this is technically a breaking change, we're going to increment to 1.0.0)


Copyright Infrigement

Please ensure that the stolen material is removed in the updated code.
There might be legal consequences targeted at the developers.

Please remove all material stolen from the @C-Layer project


Add a CI job that tests forc init and that generated code builds and tests successfully

I'm imagining a new, very basic CI job (under .github/workflows/ci.yml) that does the following:

Does cargo install --path ./forc and cargo install --path ./forc-fmt
Runs forc init test-proj
Runs forc build --path test-proj
Runs forc test --path test-proj
Runs the forc fmt check. I forget the exact cmd. This could be added later if forc-fmt is not yet up to scratch.

We should possibly also run steps 2 to 4, but using each of the examples as a template, so e.g. loop over each example and replace step 2 with forc init --template <example> test-proj.
Something along these lines should ensure the most common first impressions of Sway/Fuel stay shiny and working!

Related: #1136

@mitchmindtree What do you think about me picking this up? Seems not "super necessary" at the moment, but also seems like it could be a good way to get familiar with some things including forc and CI. I do agree this is a great way to make sure everything reliably works e2e (so to speak)

Yeah this would be a great candidate and would help a bunch! Feel free to assign yourself when ready to pick it up.


libfabric: meta.platforms = lib.platforms.all and 1.13.0 -> 1.13.1

Motivation for this change
Things done

Built on platform(s)

[X] x86_64-linux
[X] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

@bzizou Thank you a lot for reviewing this change.
I'm not familiar with it either, but I notice that Debian and RPM provides the aarch64 version of this package, and this library is also provided by Homebrew.
There is a dependency called libpsm2 that only builds under x86_64. Debian seems to opt-in this dependency on the x86-64 platform, and it doesn't appear inside the Homebrew formulae of libfabric.
More tests are required.
https://packages.debian.org/source/bullseye/libfabric
https://formulae.brew.sh/formula/libfabric#default

@ofborg build libfabric

@ofborg build libfabric mpich

@markuskowa @nbren12 Maybe you would like to take a look, as this is a dependency of mpich.

Amended ste above suggessions into the commits.
The build result should not be affected.

@markuskowa Thank you.
This change should enable MPICH to build on aarch64-linux.

@ShamrockLee thanks! MPICH works now on aarch64-linux


redirect webpack test output to a temp dir

Right now npm start test.browser.webpack creates dist/main.js which is likely to be accidentally committed.  Put the output in a temp dir

Coverage remained the same at 93.827% when pulling 043da052690a93acb40d105009d2777e57e2b80a on boneskull/move-webpack-test-temp-file into 06a7f2199d10cc9002d6c23a302ff719f2b72a3e on master.


More consistent approach to initialising ArrayLists

Currently we have:
1D ArrayList
var x set to new ArrayList<Int>(10)
2D ArrayList
var x set to empty [[Int]]
call x.initialise2DArrayList(10, 10, 0)
We can make them more consistent thus:
1D ArrayList
var x set to empty [Int]
call x.initialiseAsArray(10, 0)
and get rid of  1-param constructor for ArrayList
2D ArrayList
var x set to empty [[Int]]
call x.initialiseAs2DArray(10, 10, 0)  i.e. as-now but renamed

Note new limitation - can only initialise with value type (including enum)


Issue: Server did not provide an image ID. Cannot write /tmp/tmp9lwj8z_v

I'm running Jenkins as a docker container in kubernetes so I had to use DinD(docker-in-docker container) as a sidecar for Jenkins using helm chart to build docker images.  Cannot write /tmp/tmp9lwj8z_v
Service 'ci' failed to build

Please let me know if you think anything causing issue here.

Seems like this isn't necessarily a DIND related issue https://github.com/docker/cli/issues/2971
That discussion would be more relevant for troubleshooting and finding solutions than making a new one here

Closing since this seems to be a docker-compose + buildkit problem and not an issue with the docker:dind images.


Add support for IPMI address pools

This adds support for the new IPMI address pools features. There are two parts to it:
First, I'm adding IpmiPool as an optional part of the AssetCreateOpts struct, which will tell the API which IPMI address pool to use when creating an asset.
Second, in order to support GET /api/ipmi/pools I'm piggy-backing on the IPAM code since it's very similar. I'm breaking out the code from IPAMService.Pools() so that both it and the new IPAMService.IpmiPools() can share it.
Closes #6.
@tumblr/collins @michaeljs1990 @byxorna

Actually, maybe this should live in it's own IpmiService to match better with the API and the ruby client. Thoughts?

Nice, thanks for adding this! I think it makes sense to keep it consistent with the ruby client. Although it seems a tad silly right now with only one ipmi endpoint i figured if any additional endpoints were added in the future it was best they didn't get hidden all over the place inside other apis.

Yup, i agree. I moved it to it's own IPMIService thing.

👍 ✅  <- I can't actually accept but these emoji's seem just as valuable.

@defect this LGTM! i cannot accept/land either (can i be added as contributor for this project as well ;D)
:white_check_mark:

👍


List on json-schema.org

Hello! My name is Benjamin from the JSON Schema Community. I came across this cool JSON Schema implementation, and I wanted to congratulate for the great work! KUDOS!
I noticed that it's not listed on our implementations page, but we'd love it to be.
If you'd like to add this implementation to that page, please feel free to create a pull request!
I'd like to use this opportunity to invite you to join the JSON Schema Community in Slack, where we have some interesting channels like #implementers where you could connect with other relevant maintainers in the ecosystem.
Thanks for enhancing the JSON Schema ecosystem!

Thank you for letting me know. I would like to submit a PR after https://github.com/json-schema-org/website/pull/247 is merged.

Thank you for letting me know. I would like to submit a PR after json-schema-org/website#247 is merged.

Happy new year @ota-meshi ! We just wanted to let you know that PR has been merged and we'd love to add your plugin.


Add a JS method to open a modal

you can find the modal and add active class
modal.classList.toggle('active');


Calico metrics scrape

What this PR does / why we need it: this will allow us to scrape calico felix pods for metrics
Which issue this PR fixes (use the format fixes #<issue number>(, fixes #<issue_number>, ...) to automatically close the issue when PR gets merged): fixes #527
Public facing documentation PR (if applicable)

Special notes for reviewer: my 1st PR for apps please let me know if I missed something
Checklist:

[x] Added relevant notes to WIP-CHANGELOG.md
[x] Proper commit message prefix on all commits
[ ] Updated the public facing documentation
Is this changeset backwards compatible for existing clusters? Applying:

[x] is completely transparent, will not impact the workload in any way.
[ ] requires running a migration script.
[ ] will create noticeable cluster degradation.
E.g. logs or metrics are not being collected or Kubernetes API server
will not be responding while upgrading.
[ ] requires draining and/or replacing nodes.
[ ] will change any APIs.
E.g. removes or changes any CK8S config options or Kubernetes APIs.
[ ] will break the cluster.
I.e. full cluster migration is required.

Chart checklist (pick exactly one):

[ ] I upgraded no Chart.
[x] I upgraded a Chart and determined that no migration steps are needed.
[ ] I upgraded a Chart and added migration steps.

Pipeline config (if applicable)
If you change some config options (e.g. add/rename variable or change the default value) you may need to update the config used by the pipeline in pipeline/config.

Some comments:
Please add a note to WIP-CHANGELOG.md also, helmfile/values/calico-felix-metrics.yaml.gotmpl and  helmfile/charts/calico-felix-metrics/values.yaml are both empty, do we still need them?

done

Please add the pipeline config and then I'd be happy

I missed that. now should be ok. thanks!


Disable external link checking when building docs, due to unreliable external servers

Codecov Report

Merging #839 (39c4f2a) into main (ac42fb9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #839   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          299       299
  Lines        19551     19551
=========================================
  Hits         19551     19551

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 ac42fb9...39c4f2a. Read the comment docs.


feat(angular): add ifPl, ifWidth and autoFocus directives

Dynamically adding or removing the content to the DOM respectively to the asked platform/ breakdown.
Usage :
<my-block *ifPl="'android'"> // ios, iPad, iPhone, wd
    I hide myself when it's a non android platform...
</my-block>

<my-block *ifPl="'!android'"> // ios, iPad, iPhone, wd
    I hide myselft when it's an android platform...
</my-block>

<my-block *ifWidth="'md'"> // xs, sm, md, lg, xl
    I'm here on the md mode and plus!
</my-block>
// or
<my-block *ifWidth="'>1111px'"> // or '<457px'
  Hi I'm here only on the > 1111px window!
</my-block>

Auto focus an element:
<my-element autoFocus>
</my-element>

Thank you so much for the PR! After some discussion we've decided we're not looking to add custom Angular directives at this time. We'd like to keep the framework specific code limited to any bindings that the core components need to work. I believe this could be accomplished using media queries and *ngIf, but if you are running into problems with these methods please let us know. Thanks again. 🙂


Event binding

Hi,  love the calendar, but having a problem with the calendar not noticing the bound scope variables.
trying $scope.calendarEvents.splice(0, $scope.calendarEvents.length); and populating via  data
.forEach(function(
entry) {
if (entry.appointmentStartTime) {
tmp
.push({
title: entry.title,
type: 'info',
startsAt: new Date(entry.appointmentStartTime),
endsAt: new Date(entry.appointmentEndTime),
editable: false,
deletable: false,
draggable: true,
resizable: true,
incrementsBadgeTotal: true,
cssClass: 'a-css-class-name'
});
}
});
$scope.calendarEvents = tmp;
but the calendar doesn't notice unless I remove the calendar from the DOM and readd - any ideas how to fix?
Thanks!!

I think, than $scope.$apply() must help.

Please can you share a plunker / reproducible code that demonstrates your problem. Thanks!

Closing, if still an issue LMK.

getting plunker going may take awhile.  I temporarily worked around the
issue by using ng-if to remove and re add to dom and force a redraw of
events.
On Mon, Nov 23, 2015 at 11:46 AM, Matt Lewis<EMAIL_ADDRESS>wrote:

Closing, if still an issue LMK.
—
Reply to this email directly or view it on GitHub
https://github.com/mattlewis92/angular-bootstrap-calendar/issues/207#issuecomment-158992019
.

refactored calendar into it's own directive, issue no longer occurs and
watches the collection as expected, no apply needed etc
false alert :)
On Mon, Nov 23, 2015 at 2:54 PM, Charles AckDev<EMAIL_ADDRESS>wrote:

getting plunker going may take awhile.  I temporarily worked around the
issue by using ng-if to remove and re add to dom and force a redraw of
events.
On Mon, Nov 23, 2015 at 11:46 AM, Matt Lewis<EMAIL_ADDRESS>wrote:

Closing, if still an issue LMK.
—
Reply to this email directly or view it on GitHub
https://github.com/mattlewis92/angular-bootstrap-calendar/issues/207#issuecomment-158992019
.


Document retired node replacement in ES

Description

This PR documents the procedure to follow for replacing a retired Elasticsearch node in our custom, self-managed Elasticsearch cluster.
Testing Instructions

Review the plan and make sure the instructions are clear.
Checklist

[x] My pull request has a descriptive title (not a vague title likeUpdate index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[x] I added or updated tests for the changes I made (if applicable).
[x] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.
[x] I ran the DAG documentation generator (just catalog/generate-docs for catalog
PRs) or the media properties generator (just catalog/generate-docs media-props
for the catalog or just api/generate-docs for the API) where applicable.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Drafting this PR while I 1:

Make adjustments to the specific deployment process
Reconsider it's existence; this might be better suited as an ansible playbook in the infra repository

@zackkrida Since the node replacement is complete, do you think we can undraft this? Even if we eventually move this to a playbook, it'd be good to have the documentation in the meantime just in case, IMO!

@AetherUnbound it's updated, undrafted, and ready for review :smile:

@sarayourfriend issue here https://github.com/WordPress/openverse-infrastructure/issues/911


3.0.3 release

@yuesong please release new version with the prometheus support :)

@yuesong ping :)

Sorry I was out last week. 3.0.3 is on its way to central.

Thanks :)


Integrate parts of Scrapy CrawlSpider Rule flexibility into DDS

With CrawlSpider Rules  there exists a more powerful tool in Scrapy (http://doc.scrapy.org/en/0.14/topics/spiders.html) to crawl pages from different urls following a certain pattern than it is actually realized in DDS with pagination.
See the following Google Groups discussion thread for reference:
https://groups.google.com/forum/?fromgroups#!topic/django-dynamic-scraper/tQJMpcbqbfc
It would be desirable to integrate at least a part of it.
Ideas:

Application of one '"allow"-Rule could be integrated as a pagination type together with the pagination_append_str attribute without changing the DB structure

Is there still interest in this feature? My team might want to develop this feature.

Definitely still interesting. Before you start developing it would be definitely good/helpful if you lay out here how you would implement this feature and how it fits in the existing DDS structure, regarding code, DB and admin UI.
It is also a prerequisite for a new feature to be accepted that all the unit tests pass, see:
http://django-dynamic-scraper.readthedocs.org/en/latest/development.html#running-the-test-suite
If you want to make a pull request ping me before issuing, I would create a separate experimental branch for merging.
Cheers
Holger


Remove KoreBuild-isms from project templates

Removing MSBuild properties and items are for our build infrastructure, not for customers.

Found by @DamianEdwards

Approved as long as the tests didn't somehow rely on those properties to pass.

😄 tests look fine.


Backend deploy failure

when I try to deploy the backend I get this error
2024-04-15 09:34:22.067 CEST
  File "/app/main.py", line 197, in <module>
2024-04-15 09:34:22.068 CEST
    path="/marketing", app=StaticFiles(directory="/static", html=True), name="static"
2024-04-15 09:34:22.069 CEST
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-15 09:34:22.069 CEST
  File "/usr/local/lib/python3.11/site-packages/starlette/staticfiles.py", line 59, in __init__
2024-04-15 09:34:22.072 CEST
    raise RuntimeError(f"Directory '{directory}' does not exist")
2024-04-15 09:34:23.075 CEST
RuntimeError: Directory '/static' does not exist

even if I create the folder static I get the same error
does anyone run into the same problem?

Same issue. Also the path marketing does not seem to be valid. If you comment this block, the deployment will work, however I am not sure how critical is for the solution.

@DanieleGargini-Intarget @evangeliasoultani
I updated the main.py and removed this part. In the first version of the code we were using a static folder inside of the container to serve the HTML/CSS/JS files and now this is not necessary anymore.
Please pull the latest code and rebuild your container.
I updated the README file with some important steps to deploy the sample code.
Please let me know if they are clear to follow.
Best


Support EOS

Is your feature request related to a problem? Please describe.
Currently the BeetEOS client does not support EOS.
Describe the solution you'd like
Fully integrate EOS, providing prettified + localized prompt contents to end users.
Create a demo page to test the EOS prompt functionality.
Additional context
Pre v17 RC1 code for EOS integration: https://github.com/bitshares/beet/pull/254
The above PR was closed due to inactivity, plus it fell behind the develop branch, so uplifting the code onto the latest main branch code is our best bet moving forwards.
Location of code to change:
src/components/add-account.vue
src/components/blockchains/bitshares/ImportCloudPass.vue
src/config/config.js
src/lib/assetUtils.js
src/lib/blockchains/blockchainFactory.js
src/store/modules/SettingsStore.js

The wallet has now implemented a basic EOS implementation.
TOTP, Raw Deeplinks and QR aren't supported for EOS yet & 3rd party app interaction hasn't been addressed yet.
We need a list of every operation type and localized descriptions for each before we can support the totp/dl/qr coes.

Release v1.0.4 fixes an issue adding multiple accounts to a wallet & switching between accounts within a wallet.

v1.0.5 brings further support for raw deeplinks for EOS based chains!


SwiftUI

UIMenu in SwiftUI is Menu
https://developer.apple.com/documentation/swiftui/menu?changes=latest_beta
But it's not what I thought

Before

After

Okay, I need to use UIActivityViewController in SwiftUI
I should wrap UIActivityViewController……😩
https://zenn.dev/ariiyu/articles/4835d9542aaa34

UI got a bit of changed. I think it's OK...
It's better callout-like UI, but I cannot find easy way now

And I want to introduce LPLink for improving preview!
https://qiita.com/ezura/items/6036c6e100599b601482

I realized needs to conform UIActivityItemSource protocol, but I didn't know how to.
https://stackoverflow.com/questions/57850483/ios13-share-sheet-how-to-set-preview-thumbnail-when-sharing-uiimage
↑I referred this stackOverFlow question, implement like this
extension DelegateBridgeObject: UIActivityItemSource {
    func activityViewControllerPlaceholderItem(_ activityViewController: UIActivityViewController) -> Any {
        return ""
    }

    func activityViewController(_ activityViewController: UIActivityViewController, itemForActivityType activityType: UIActivity.ActivityType?) -> Any? {
        return nil
    }

    func activityViewControllerLinkMetadata(_ activityViewController: UIActivityViewController) -> LPLinkMetadata? {
        let metadata = LPLinkMetadata()
        metadata.title = "Share your note"
        return metadata
    }
}

Ideally, it's image must be shared note, but now, it's difficult for structural problem.
Later, I will introduce an architecture.

Ideally, its image must be shared note, but now, it's difficult for structural problem.
Later, I will introduce an architecture.

Maybe, this is hard because I should resize note image.

LPLinkMetadata is seemed to expect url interface.
How to use local image?


fix(docs): update reference

Made the license badge lead to the respective file.

Wow. Nice catch! Thank you so much for contribution


fix: create global index file

#8  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @MickVanDuijn and the rest of your teammates on  Graphite


Fix: some specs rely on Fiber.yield behavior

Some specs are relying on the Fiber.yield behavior, that's actually the event loop behavior (libevent2). They start failing whenever the Fiber.yield algorithm changes —for example to push the current fiber to the runnables queue, instead of adding a resume event.
This patch proposes changes to make the fiber synchronization expectations explicit. Either by looping until somethig is ready, or using Channel::Unbuffered's sync ability, or with an explicit enqueue/resume for specs testing Channel itself.

The behaviour provided by the spec helpers yield_to and wait_for is actually pretty generically usable. I'd suggest to include them into the stdlib API.
Maybe Fiber#resume should even enqueue the current fiber by default. If you don't want that, use Crystal::Scheduler.resume directly.

Fiber synchronization should be achieved through synchronous channels, as we do for the future and lazy specs; yield_to is only there to test Channel itself. We could abstract wait_for, it's a spin-lock with a timeout, but this isn't the goal of this PR.
Fiber#resume and Crystal::Scheduler.resume(fiber) having different semantics would only bring confusion. Maybe Fiber#resume will be removed, maybe not. Again, this isn't the topic of this PR.


Php 8.1 warnings

Summary
After the new release, warnings still keep showing:
PHP Deprecated:  Return type of PHPOpenSourceSaver\JWTAuth\Payload::offsetGet($key)
should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the
 #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in
...vendor/php-open-source-saver/jwt-auth/src/Payload.php on line 211

I'll fix that for us today.

@Sergiobop https://github.com/PHP-Open-Source-Saver/jwt-auth/releases/tag/1.4.1 was just released!


cloning recursive fails.

Hi,
The clone --recursive command fails. Then i tried your second way, that also failed.
Strange?
pc:~/Downloads/pybind11_examples$ git submodule init
user@pc:~/Downloads/pybind11_examples$ git submodule update
Cloning into '/home/user/Downloads/pybind11_examples/pybind11'...
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:pybind/pybind11.git' into submodule path '/home/user/Downloads/pybind11_examples/pybind11' failed
Failed to clone 'pybind11'. Retry scheduled
Cloning into '/home/user/Downloads/pybind11_examples/pybind11'...
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:pybind/pybind11.git' into submodule path '/home/user/Downloads/pybind11_examples/pybind11' failed
Failed to clone 'pybind11' a second time, aborting
user@pc:~/Downloads/pybind11_examples$

I got the issue too. but I solved by just cloning the subrepo... You might want to checkout https://github.com/facebookresearch/rebel/issues/5#issue-718745245


Western Australia

WA has published its open data policy which is great, including a presumption that resources are open by default: http://www.data.wa.gov.au/open-data-policy
Eventually open data will live at: http://www.data.wa.gov.au/
It promises a future open data portal that currently directs users to SLIP: http://slip.landgate.wa.gov.au/
SLIP includes address info at web service endpoints, but their "open data" page is still empty:
http://slip.landgate.wa.gov.au/Pages/SLIP-Property-Street-Address-Subscription-Service.aspx
Existing license on the site points to personal use only, but I suspect this just hasn't been updated. I've emailed their customer service address to ask for clarification.

Also found this README which implies everything is CC-(something): https://github.com/Landgate/GovHack-2015/blob/master/README.md
I've emailed the author

Full GNAF is now available via https://github.com/openaddresses/openaddresses/pull/1588 but I think this issue can stay open in the hope that WA provides their own complementary set.

closing as per: https://github.com/openaddresses/openaddresses/issues/3677


question about the homematic radio module

Hi,
I just cloned the docker-ccu master branch, called build.sh and deploy.sh on a raspberry 3b
Then I imports the settings from my ols instaltion (also on a raspberry).
After that i can see my devices and programms on the web interface :)
Then I shutdown and installes the homematic radio module (which I used before at the old raspberry) andd booted again.
After logging in to the web interface I get the Message:

Eine Komponente der Homematic Zentrale reagiert nicht mehr.
And no device is responding to any action.

The /dev/ttyS0 is present, the cmdline.txt looks like:
dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=5f14d53a-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles usbhid.mousepoll=0
and dtoverlay ist set to:
root@dashboard:/boot# grep dtov config.txt  dtoverlay=pivccu-raspberrypi dtoverlay=pi3-miniuart-bt
Any hint what is going wrong? Is there someting like a homatic log file which can help? In the syslog i calt find a hint about the problem.
May I have to use the ccu2 branch instead of master?
Thx and regards Jörg

You can look at the docker logs: docker log ccu
You should also check if the /dev/raw_uart is there.

yes /dev/raw_uart exists.
the erroes are:
root@dashboard:~# docker logs  ccu|grep -i err mkdir: can't create directory '/var/lib/dbus': No such file or directory chmod: /var/lib/dbus: No such file or directory sed: /etc/config/hs485d.conf: No such file or directory mknod: /dev/mmd_hmip: File exists mknod: /dev/mmd_bidcos: File exists killall: sshd: no process killed killall: hs485d: no process killed start-stop-daemon: warning: killing process 258: No such process etc/config/addons/www/xmlapi/scripterrors.cgi Detected Raspberry PI sed: /etc/config/hs485d.conf: No such file or directory Starting multimacd: .....ERROR Starting HMIPServer: (/dev/mmd_hmip) .......................................................................................................................................................ERROR Detected Raspberry PI mknod: /dev/mmd_hmip: File exists mknod: /dev/mmd_bidcos: File exists Detected Raspberry PI killall: sshd: no process killed killall: hs485d: no process killed start-stop-daemon: warning: killing process 247: No such process Starting multimacd: .....ERROR Starting HMIPServer: (/dev/mmd_hmip) .......................................................................................................................................................ERROR Detected Raspberry PI Detected Raspberry PI sed: /etc/config/hs485d.conf: No such file or directory Starting multimacd: .....ERROR Starting HMIPServer: (/dev/mmd_hmip) .......................................................................................................................................................ERROR mknod: /dev/mmd_hmip: File exists mknod: /dev/mmd_bidcos: File exists Detected Raspberry PI killall: sshd: no process killed killall: hs485d: no process killed start-stop-daemon: warning: killing process 233: No such process

May be this is the interresting part?
Starting /etc/init.d/S11InitRFHardware
Identifying Homematic RF-Hardware: BidCos-RF: HM-MOD-RPI-PCB, HmIP: HM-MOD-RPI-PCB, OK
Starting /etc/init.d/S12UpdateRFHardware
Updating Homematic RF-Hardware: disabled

I assume the RF hardware is the radio module, am I right? But it looks like it is disabled. How I can enable it?

You can docker exec ccu and check the script (sorry, flying so I have no access to my home setup).
Dissable means that not all required devices could be found within the container.  If raw_uart is there then the second to check is e3q_loop.

The naming of the device files a a bit different here:
crw------- 1 root root 242, 0 Feb 12 08:19 /dev/raw-uart
root@dashboard:~# dir /dev/eq3loop
crw------- 1 root root 244, 0 Feb 12 08:19 /dev/eq3loop```

instead of raw_uart and e3q_loop as as mentioned

Here the scripts output:
root@dashboard:~# docker exec ccu /etc/init.d/S11InitRFHardware start
Identifying Homematic RF-Hardware:
BidCos-RF: none, HmIP: none, OK```

ans thx for your help!

this did not work too:
2019/02/12 08:48:50.453 <Info> CCU2CommControllerMod::sendSystemCommand(): failed
2019/02/12 08:48:50.453 <Error> CCU2CommControllerMod::performIdentify(): Unable to determine coprocessor state.
2019/02/12 08:48:52.455 <Info> CCU2CommControllerMod::sendSystemCommand(): failed
2019/02/12 08:48:52.455 <Error> CCU2CommControllerMod::performIdentify(): Unable to determine coprocessor state.
2019/02/12 08:48:54.456 <Info> CCU2CommControllerMod::sendSystemCommand(): failed
2019/02/12 08:48:54.456 <Error> CCU2CommControllerMod::performIdentify(): Unable to determine coprocessor state.
2019/02/12 08:48:55.455 <Error> CoprocessorUpdate::startApplication():Could not start Coprocessor application.

2019/02/12 08:48:55.455 <Error> Could not start Application, maybe no application on device, do update with dummy Version: 0.0.0```
looks like the RF module is nor detected, did I need to load a kernel module for it?
Or should I git this a try?

```**How to update to a new CCU firmware**
    ./pull.sh
    ./deploy.sh```

After CCU firmware now change:
root@dashboard:~/build/docker-ccu# docker exec ccu /etc/init.d/S11InitRFHardware start Identifying Homematic RF-Hardware: BidCos-RF: none, HmIP: none, OK

May I should try this:
' docker exec ccu /bin/eq3configcmd update-coprocessor -p /dev/raw-uart -t HM-MOD-UART -u -f -d /firmware/HM-MOD-UART'
I'm little afraid to damage the RF module, actually it is still working with my old raspberry setup :o. If it after the update is not working neither in the new and old setup I can't  control my covers anymore

I checked this too now, the FW update seems to be worked - I don't got a error message.
But unfortunately it'*s still not working.
Also tried the CCU2 branch - even no luck with it.
Any ideas or tips what else i can check or try?

Hi,
after a test with the new RPI-RF-MOD I went back to the small HM-MOD-UART and run into the same issue as you: multimacd would not start.
I personally came into this problem because I flashed the wrong firmware.
To force the update you need to:
1.rm /var/rf_firmware_version
2. /etc/init.d/S12UpdateRFHardware start
3. try to manually start multimacd: /etc/init.d/S60multimacd restart
4. if this work restart the container and it should work now

also no luck :(, here the output of the commands:
`root@dashboard:~/build/docker-ccu# docker exec -it ccu sh
/ # rm /var/rf_firmware_version
/ # /etc/init.d/S12UpdateRFHardware stop
/ # /etc/init.d/S12UpdateRFHardware start
Updating Homematic RF-Hardware: no GPIO/USB connected RF-hardware found
/ # /etc/init.d/S60multimacd restart
Stopping multimacd: OK
Starting multimacd: .....ERROR'
I hope i tried it the right way?

What is the content of your '/var/hm_mode ' and what type of radio module are you using (the old one or the new one with battery)?
Mine (with the old radio module) looks like:
/ # cat /var/hm_mode
HM_HMIP_DEV='HM-MOD-RPI-PCB'
HM_HMIP_DEVNODE='/dev/raw-uart'
HM_HMRF_ADDRESS='0xXXX'
HM_HMRF_DEV='HM-MOD-RPI-PCB'
HM_HMRF_DEVNODE='/dev/raw-uart'
HM_HMRF_SERIAL='XXXX'
HM_HMRF_VERSION='2.8.6'
HM_HOST='Unknown'
HM_HOST_GPIO_RESET=''
HM_HOST_GPIO_UART='/dev/raw-uart'
HM_LED_GREEN=''
HM_LED_GREEN_MODE1='none'
HM_LED_GREEN_MODE2='none'
HM_LED_RED=''
HM_LED_RED_MODE1='none'
HM_LED_RED_MODE2='none'
HM_LED_YELLOW=''
HM_LED_YELLOW_MODE1='none'
HM_LED_YELLOW_MODE2='none'
HM_MODE='NORMAL'

the values in my  hm_mode are almost all empty. My radio module is ~3 years old without a byttery.
I now tested with your settings in /var/hm_mode with this result:
/var # rm /var/rf_firmware_version
/var # /etc/init.d/S12UpdateRFHardware start
Updating Homematic RF-Hardware: HM-MOD-RPI-PCB: =>2.8.6, forcing, ERROR (not != 2.8.6)
/var # /etc/init.d/S60multimacd restart
Stopping multimacd: OK
Starting multimacd: .....ERROR
/var # /etc/init.d/S11InitRFHardware stop
/var # /etc/init.d/S11InitRFHardware start
Identifying Homematic RF-Hardware: BidCos-RF: none, HmIP: none, OK

did you also use raspbian stretch? What are your dtoverlay settings and did you had to change the kernel commandline settings in /boot/cmdline.txt to get it working?

The values for /var/hm_mode are written by /etc/init.d/S11InitRFHardware start and /etc/init.d/S12UpdateRFHardware start. This includes reading the serial number from the device.
I am currently using an odroid HC1 with an USB adapter and armbian. Before I used an OrangePi with the same antenna as yours. Only initially I had a PI with raspbian used for Homematic.
It looks like the homematic tools are not able to communicate with the device and therefore the firmware update fails. You said that the /dev/raw-uart is present inside the docker, correct? If this the case then /etc/init.d/S11InitRFHardware start should detect it.
What versions of the pivccu modules do you have? They should take care of configuring the cmdline and overlays correctly...

@horchi - I think I have found the issue: the realtime scheduler in the kernel. Without it the multimac module was not able to connect sucesfully to the antenna.
I have extended the deploy.sh script to enable the realtime scheduler. Could you please see if helps you?
In my case I also had problems with one of my antenna modules: I had managed to load a broken firmware so I had to manually load the firmware before it worked again: the CCU scripts spect to at least be able to query the version which is not possible when the firmware is damaged.

This is fixed in the latest deploy.sh script


Math Magician Full Website

Description

Add Routes and Styles
Update README
Check for linters

Screenshots

Thank you for the feedback


Potential vulnerability: topic names from ROS parameters

Hi,
We notice that you are using topic names from ROS parameters at the following locations:
https://github.com/rst-tu-dortmund/teb_local_planner/blob/0e839074c3407ff9ee2206a49567a20bd49fd8cc/scripts/visualize_velocity_profile.py#L43
https://github.com/rst-tu-dortmund/teb_local_planner/blob/0e839074c3407ff9ee2206a49567a20bd49fd8cc/scripts/cmd_vel_to_ackermann_drive.py#L56
https://github.com/rst-tu-dortmund/teb_local_planner/blob/0e839074c3407ff9ee2206a49567a20bd49fd8cc/scripts/cmd_vel_to_ackermann_drive.py#L57
For security reasons detailed below, we strongly suggest avoiding the usage of strings from parameters as topic names.
Although parameters are usually set in parameter files, they can also be changed by nodes. Specifically, other nodes in the same ROS application can also change the parameters listed above before it’s used, either by accident or intentionally (i.e., by potential attackers).
Such changes can lead to failures of normal functionalities. For example, if the ~twist_cmd_topic parameter is changed when running the cmd_vel_to_ackermann_drive node, it will listen to a wrong topic where no data is sent, and therefore will not send anything to /ackermann_cmd topic, and the robot will remain static. If an attacker exists, she can even change the control commands by first fooling the cmd_vel_to_ackermann_drive node to publish to a wrong topic like /ackermann_cmd_fake, and then forwarding messages from /ackermann_cmd_fake to /ackermann_cmd after changing the contents, which actually gives the attacker the capability to control the robot. Because ROS is an OSS (open-source software) community, third-party nodes are widely used in ROS applications, usually without complete vetting of their behavior, which gives the opportunity to potentially malicious actors to inject malicious code (e.g, by submitting hypocrite commits like in other OSS systems [1]) to infiltrate the ROS applications that use it (or software supply chain attacks, one of the primary means for real-world attackers today [2]).
We understand that using parameters to set topic names brings flexibility. Still, for the purpose of security, we strongly suggest that you avoid such vulnerable programming patterns if possible. For example, to avoid the exposure of this specific vulnerability, you may consider alternatives like remapping, which is designed for configuring names when launching the nodes.
[1] Q. Wu and K. Lu, “On the feasibility of stealthily introducing vulnerabilities in open-source software via hypocrite commits,” 2021, https://linuxreviews.org/images/d/d9/OpenSourceInsecurity.pdf.
[2] Supply chain attacks are the hacker’s new favourite weapon. and the threat is getting bigger. https://www.zdnet.com/article/supply-chain-attacks-are-the-hackers-new-favourite-weapon-and-the-threat-is-getting-bigger/.

Hi there, I wanted to follow up on this security vulnerability. Could you please let me know if there have been any updates or concerns regarding this issue? Thanks


rubocop: update obsolete parameter AlignWith for Lint/EndAlignment

rubocop 0.47 obsoletes the AlignWith Lint/EndAlignment
parameter and replaces it with EnforcedStyleAlignWith.

This avoids hound errors while linting:
Some files could not be reviewed due to errors:

.rubocop.yml: Style/AlignHash has the wrong namespace - should be Layout```


fix(legacy-plugin-chart-country-map): Correct ISO 3166-2 county codes for Estonia

🐛 Bug Fix
I have no idea how this happened, but most Estonian county codes were
off by one.
Unfortunately I couldn't compare it to latest data from
naturalearthdata.com, since download links are currently down.
Source: https://en.wikipedia.org/wiki/ISO_3166-2:EE#Counties
Primary source: https://www.evs.ee/en/iso-3166-2-2020 (but I'm not going
to pay 100 €)

Thanks for the fix @intgr! I generated the original geojson file with this notebook https://github.com/apache-superset/superset-ui/blob/master/plugins/legacy-plugin-chart-country-map/scripts/Country Map GeoJSON Generator.ipynb . I quickly checked and I agree; based on Wikipedia Pärnu is "EE-68", not "EE-67",  So it appears Natural Earth Data have incorrect data. I wonder if they have a channel for submitting corrections? I also noticed they had a weird incorrect polygon in Norway, so perhaps I could get that fixed, too.


Tooltips duplicate text of headers

On page for creating a new task, headers have tooltips that duplicate text of headers. This complicates search for useful tooltips.

The following headers have these tooltips:

Name
Image quality
Overlap size
Segment size
Start frame
Stop frame
Frame step
Dataset repository URL
Issue tracker

@TOsmanov ,

This complicates search for useful tooltips.

What do you mean?

I mean, it would be more convenient to have only useful hints, such as:

And tooltips with duplicate heading text do not carry useful information.
Because of this, in order to get the right advice, you may have to take a look at unnecessary advice.

@TOsmanov
I do not specify these tooltips (like name, image quality, overlap size, etc.). They are added automatically by a framework which I use.
There are also meaningful descriptions for image quality, overlap size, segment size. To get them you need to hover mouse cursor on an input field, not on a label of the input field.
@nmanovic Any questions about it?


batch: pipelined table scan

Currently, during table scanning, the workflow is:
s3 get -> read -> s3 get -> read -> ... -> s3 get -> read

The workflow can be pipelined, and s3 get can be parallelized and blocks can be prefetched to optimize the latency:
s3 get -> read
s3 get --------> read
          s3 get -------> read
          s3 get --------------> read

May be related: I'm wondering if block cache invalidation due to compaction will cause significantly compromise performance. If so, existent mitigations are either prefetch cache, or prevent hot cache from being invalidated (LSbM-tree). Though both methods have obvious trade-offs.

And seems parallel IO can also benefit streaming when Keyspace::scan(limit=None)?

I think we can close this? Looks like do not relates to execution layer. https://github.com/risingwavelabs/risingwave/pull/5436#discussion_r974916968
cc @BugenZhao @liurenjie1024 @xxchan.
If no, may I ask where the code snippet to start with?

BTW, do we have prefetching in iterator now?

BTW, do we have prefetching in iterator now?

I think so. cc @hzxa21

BTW, do we have prefetching in iterator now?

I think so. cc @hzxa21

For CN, we will prefetch a block in the iterator so there will be at most one I/O per block.


should add rpm spec file to repo

would like to package this on mageia but need spec file to be added to repo

I don't know what that thing is, I have very shallow understanding of deb packages only.
I just rely on electron-builder to do the work, they have these sections dedicated to the process

https://www.electron.build/configuration/linux
apparently this other tool is used by electron-builder itself https://fpm.readthedocs.io/en/latest/cli-reference.html

All this Linux packaging is such a pain and nothing works, everyone wants to do it his way, no respect for backwards compatibility, no unified format which turns into a horrible user experience.
Feel free to re-open anytime if you find something I can help with.


Partition Resource limits are not completely implemented

Resource limits for Partitions are not completely implemented because its quite complex to implement. Storage limits (HDD) have been implemented but CPU and RAM are not implemented. As I said, its quite complex to implement these limits, though not impossible. This functionality is on our todo list.

Moved issue to tredly-build. Closing.


Unable to get X-FORWARDED-* information

We have an on-prem Kubernetes setup via KUBEADM with traefik as an ingress controller. Traefik service is exposed over nodePort and we use port-forwarding to access our applications. Recently we tried to capture X-FORWARDED-* via the below setting for our config map but unable to capture the client IPv4's.
  traefik.toml: |
    # traefik.toml
    logLevel = "info"
    defaultEntryPoints = ["http", "httpn"]
    [entryPoints]
      [entryPoints.http]
      address = ":80"
      compress = true
        [entryPoints.http.proxyProtocol]
        trustedIPs = ["<IP_ADDRESS>/0"]
        [entryPoints.http.forwardedHeaders]
        trustedIPs = ["<IP_ADDRESS>/0"]
      [entryPoints.httpn]
      address = ":8880"
      compress = true
        [entryPoints.httpn.proxyProtocol]
        trustedIPs = ["<IP_ADDRESS>/0"]
        [entryPoints.httpn.forwardedHeaders]
        trustedIPs = ["<IP_ADDRESS>/0"]

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.


Rescues errors in evaluator when comparing invalid types

Coverage increased (+0.05%) to 87.262% when pulling c33f9c080aeb50d1f314bf5a7353f25900519334 on jt/compare_rescue into 6aff989dd06df1cc98088ff12fded61395fb6578 on master.


Baltop Command Issues

Context: Coins are the default currency.

Running '/baltop coins 1' returns the command syntax of '/baltop [economy] [page]' and not the baltop list.
Running '/baltop coins' should restart an error saying the page number is missing and not provide the parseInt error

Fixed in next version


patch-arch.sh fails to patch videodev2.h

Required Info

Camera Model
N/A

Firmware Version
N/A

Operating System & Version
Arch Linux (updated May 24, 2017)

Kernel Version (Linux Only)
4.11.2-1

Build System
Makefile

In the kernel patching stage of the install process, I get this error:
patching file include/uapi/linux/videodev2.h
Hunk #1 FAILED at 627.

Yes it is the behaviour for this kernel and all new ones.
I changed two files : patch-arch.sh and the patch itself and it worked.
I can upload them for you.
However now with Kernel 4.11.7 i have new problems (it worked before that).

Hi I have got the same issue, would you share your modifications to the two files? Thanks!

Tell me if it works (works on my environment).
https://github.com/seer-it/librealsense/tree/arch-fix

It worked! thanks @seer-it. Can you get your fix merged back to the main repo?

Glad to hear that, I'll make pull request.

Thanks @seer-it! The patch and compile work well after modifying the patch-realsense-ubuntu-xenial.sh in a similar way as you did for patch-arch.sh. But I got some runtime problem though, which I think is related to my hardware, the RealSense SR300 seems to be very picky about voltage and USB port.

Same. With my MacBook Pro (running Arch Linux) the example software crashes if the RealSense is plugged into one USB port, but not the other. Does this sort of thing always happen or is it related to the Linux software?

From what we've tested in company It seems that SR300 has a power requirements that USB port can't handle (at times).  It is hardware problem which we've solved with buying powered USB hub.
You can check if camera driver crashes after plugging into usb with
dmesg

@seer-it i've cloned you arch-fix branch and have run scripts/patch-arch.sh but I still get the error when patching arch.
RealSense patch...
patching file drivers/media/usb/uvc/Makefile
patching file drivers/media/usb/uvc/uvc_driver.c
Hunk #1 succeeded at 188 with fuzz 2 (offset 40 lines).
patching file drivers/media/usb/uvc/uvcvideo.h
Hunk #1 succeeded at 127 with fuzz 2 (offset 8 lines).
patching file include/uapi/linux/videodev2.h
Hunk #1 FAILED at 627.
1 out of 1 hunk FAILED -- saving rejects to file include/uapi/linux/videodev2.h.rej

Is there any patch I have to run beforehand ?
The Current Kernel is Linux 4.11.9-1-ARCH

Thanks @seer-it! It works on some ports on my desktop with a 3 feet cable, but not with a 15 feet one. I am going to order a powered USB hub for it.

Thanks @seer-it. We'll be glad for a pull request...

Closing issue as it seems this has been resolved.


Enrichment Tab Wiki Entries

Add the following documents...

[ ] Enrichment Tab
[ ] Enrichment Animal Card
[ ] Enrichment Animal Detail Page
[ ] Additional Options
[ ] Simplistic Mode
[ ] Search Bar
[ ] User Enrichment Filter
[ ] Take Out All Animals Button

Please assign this one for me to work on. Thanks!


build: add sanitizers

Add optional sanitizers to the build system, for GCC and Clang. I don't know what are the exact flags for MSVC.
The output from sanitizers will be more clear with debug info, so don't force the Release build type and just set it as default instead.
For example, to build the program with UBSAN and ASAN enabled:
cmake <build dir> -DCMAKE_BUILD_TYPE=Debug -DENABLE_UBSAN=ON -DENABLE_ASAN=ON

Configure sanitizers to log their output to files instead of stderr:
export UBSAN_OPTIONS='log_path=ubsan,print_stacktrace=1'
export ASAN_OPTIONS='log_path=asan'
export TSAN_OPTIONS='log_path=tsan'

And then run the program.
More information about the sanitizers:
https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html
https://clang.llvm.org/docs/AddressSanitizer.html
https://clang.llvm.org/docs/ThreadSanitizer.html

i have no idea what this stuff does but you seem like you know what you're doing

It compiles the program with added runtime checks. I'd recommend to enable it during development, to catch bugs that are usually not immediately visible, such as reading or writing memory out of bounds of an array, data races, dereferencing null pointer, double-free, use-after-free etc.  For example this is a trimmed output from the ASAN report:
==4155682==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60c00000603f at pc 0x5589323a620a bp 0x7f0a72812490 sp 0x7f0a72812480
READ of size 1 at 0x60c00000603f thread T4
    #0 0x5589323a6209 in boundaryScore(char const*) /home/ms/repos/jfind/src/item_matcher.cpp:24
    #1 0x5589323a4feb in ItemMatcher::matchStart(char const*, char const*) /home/ms/repos/jfind/src/item_matcher.cpp:53
    #2 0x5589323a4bac in ItemMatcher::calc(char const*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) /home/ms/repos/jfind/src/item_matcher.cpp:40
    ...

If you look at the code, there is an out of bounds read in the function boundaryScore, in the expression !isalpha(*(c - 1)). c comes from std::string.c_str(), so this is basically str[-1].

the lack of stack trace for errors has been my biggest gripe with c++. thanks for showing me this


fix(datepicker): child scope problem with isOpen

Changed isOpen to and object, now called popupState.  Objects work in 2-way data binding when in a child scope.
Should fix issues with datapicker multiple open/close in ng-if, ng-repeat, etc.
fixes #3180

This change is included in pull request #1915. Closing unless you feel otherwise.

@RobJacobs is that really the same problem?  I am not so sure.  isOpen is still a primitive, I think you will still have issues with child scopes, ie placing date picker inside ng-if or ng-repeat.

@RobJacobs please re-open.  I pulled #1915 and built it.  Threw the contents into a plunk here:
http://plnkr.co/edit/remf5q4ltkQzM55553tB?p=preview
Same problem, open datepicker, close, and you cannot re-open.
#1915 addressed a performance issue.  There is still an issue with child scopes with the native isOpen variable.

@newmanw I apologize for prematurely closing this pull request, I didn't review it closely enough.  The work done in #1915 deals with moving the datepicker date to an object property, so it has some relation what you are doing with the open property.  If we are going to have an object to hold primitives, I'd like to see us use one (popupState.open vs popup.date).
I implemented what your pull request suggests in your date.directive (don't bind to primitives) and it seems to work now (also changed to the 0.12.1 release), see this plunk

Why don't I see the actual patched version being used in the Plunkr? I'm looking at a custom datepicker directive?
From what I can tell in the implementation of this PR, this needs a breaking change.

@rvanbaalen it is definitely not backwards compatible if that is what you mean by breaking change.
IMHO this is a pretty big problem, due to the fact that as it exists you cannot use the datepicker directive inside a child scope (ng-if, ng-repeat, etc...).  This is because the 2-way data bound variable for isOpen is a primitive.  I think the right way to do this is use an object, hence breaking backwards compatibility.
Plunk showing problem in simple ng-if:
http://plnkr.co/edit/QAp0ODDgOhbZrwcuRItB?p=preview
Plunk with my PR version showing working multiple open/close of dp:
http://plnkr.co/edit/OJ2xGxcIhZx27rb1RK5f?p=preview

That is indeed what breaking change means. Thanks for the plunks. Will look into it asap

@newmanw @rvanbaalen As I demonstrated in my plunker above, this is a non-issue if you don't bind to primitives in your controller. See this plunker for another demo. This scenario is also mentioned in the project wiki in the 'My input / select element doesn't work as expected inside the tab / accordion directive' section where it states: 'As a quick rule of thumb you should always have a dot as part of your  ngModel  expression.'

@RobJacobs please contact me to join the (active) team members in determining the upcoming roadmap.
So basically this pr can be closed since its not an issue as long as you dont bind to primitives?

@RobJacobs @rvanbaalen  $%&*, sorry about ;)  Missed your solution.  It did seem a little weird that you bound the scope to an entire new object, but as you mention as long as I use and object, its the same thing.
IE
  $scope.popupState = {
    opened: false
  }

          <input type="text" class="form-control" datepicker-popup="MM/dd/yyyy 00:00:00" ng-model="dt" is-open="popupState.opened" close-text="Close" />

Truly apologize again that I missed that.  Also really appreciate you guys looking into this in detailed manner.  Love this lib and seems that the team is just as good ;)