[camera] Middle mouse based panning not accessible on macos laptops

Please, before submitting a new issue verify and check:

[x] I tested it on latest raylib version from master branch
[x] I checked there is no similar issue already reported
[x] My code has no errors or misuse of raylib

Issue description
When using the CAMERA_FREE camera mode, panning and rotation are accessible by pressing the mouse wheel / the middle mouse button. While the modifier key for rotation can be reassigned, this does not appear to be the case for the mouse button to be pressed. On macos, there is no middle mouse button by default.
I am using a macbook pro laptop with a trackpad. One can use third-party apps such as MiddleClick to generate mouse button 3 events. However, when the middle button is pressed using that method using three fingers, further x/y panning motions are not recognized, or are recognized as the mouse wheel, not the mouse pointer.
As a result, I cannot pan nor rotate the 3D camera at all. I don't know of a workaround either.
Environment
macos 12.6.2, macbook pro with touchpad.
Issue Screenshot
n/a
Code Example
This can be reproduced just by building and starting the core_3d_camera_free example on a macos laptop.

I'm afraid this is a limitation of raylib internal camera, actually that camera system is fully redesigned on #2563
I recommend using a custom camera implementation instead of provided one, here it is a better camera system: https://github.com/JeffM2501/raylibExtras

thanks. it may be a good idea to make sure the redesigned camera system gets configurable mouse buttons. i'll check and maybe comment there


Don't test esprima-moz anymore.

That fork of Esprima is way outdated and the module for esprima-moz is gone, so there is no point in testing.

lgtm :)

Thanks for the quick action!
Any chance releasing updates to the npm package? Currently everyone that depends on escodegen 1.7.0 will experience some problem. This is among others Istanbul since it has a step of downloading escodegen and building the minified version.


Overlay Navigation should close when clicked outside container

The navigation bar could be improved UX wise by allowing it to close when the user clicks anywhere in the interface except in the navigation. (Need to check on Patternfly how, this should be expected behavior for overlay nav-bars)

Hey team! Please add your planning poker estimate with Zenhub @LauraStordeur @matborowczyk


Lab 3 Question

@JasonSills Good afternoon,
For the subtitle part of the lab, would it be labeling with "Strikeouts per game per team (by batters)"?
I read online that the subtitle can be used to define the unit of measurement for the graph?

@johndano
Use the exact language as it appears int the graph. You have three titles, one of which is "Strikeouts per game per team (by batters)"?


AttentionMechanism not be supported in Eager Mode

When I want to add certain classical AttetionMechansim through Tensorflow API, I find that Tensorflow 's AttentionMechansim API dose not support Eager Mode for the reason that "memory" parameter is in the attention mechiansim s' init method. Because in general, I construct a AttentionMechanism in static graph mode, it must be constructed transferring a parameter "memory" , a tensor whose value is decided by the model input. However, in Eager Mode,  when constructing a AttentionMechanism, "memory" is deterministically taking real values, which enables me not to change to a new memory values in a new training iteration.

Please fill the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Along with the template, please provide as many details as possible to find the root cause of the issue. It would be great if you can provide a small code to reproduce the error. Thanks!

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

Closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


_rez-complete throws an exception if paths in packages_path don't exist

rez/packages_.py:iter_package_families() presumes the paths given to it actually exist
I'm unsure if the best fix is to check it there or if it would be better to have the check further down, like in the filesystem plugin.
In the meantime, I have made a small patch to rez/packages_.py that just checks the directories exist or not.

Indeed it does. Thanks Reed, will address this soon.
A
On Mon, Jul 20, 2015 at 4:01 PM, Reed Wade<EMAIL_ADDRESS>wrote:

rez/packages_.py:iter_package_families() presume the paths given to it
actually exist
I'm unsure if the best fix is to check it there or if it would be better
to have the check further down, like in the filesystem plugin.
In the meantime, I have made a small patch to rez/packages_.py that just
checks the directories exist or not.
—
Reply to this email directly or view it on GitHub
https://github.com/nerdvegas/rez/issues/225.

Hi Reed,
Fix has been implemented in branch issue_225 and merged into resources2, let me know if you have any issues.
Thx
A


📦 Update packages + get yarn audit to 0

Hi Team

[x] Update all yarn packages
[ ] Get yarn audit to 0

https://www.ssw.com.au/rules/monitor-packages-for-vulnerabilities
https://www.ssw.com.au/rules/packages-up-to-date
Thanks!

Update all yarn packages

✅ Done - All packages that can be updated, are.

Get yarn audit to 0

❌ Not Done - Have updated all possible packages to the latest but we still have 54 vulnerabilities remaining.

Update all yarn packages

✅ Done - All packages that can be updated, are - https://github.com/SSWConsulting/SSW.Rules/pull/1127

Get yarn audit to 0

❌ Not Done - Have updated all possible packages to the latest but we still have 32 (down from 54) vulnerabilities remaining.


Make some items goodlooking in inventory (rotate)

About the PR

Make all hats horizontal
And all other items on screenshots
Why / Balance

Technical details

Media

Before

After

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

yippee merged


Somfy MyLink doesn't support favorite "MY" position (only up/down/stop)

Home Assistant release with the issue:
0.103.5
Last working Home Assistant release (if known):
N/A
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
Integration:
/components/somfy_mylink
Description of problem:
Somfy MyLink devices support four movement actions, but the current integration only supports three.
Current:

Down
Stop
Up

Possible:

Down
"MY" (e.g.: My favorite position)
Stop
Up

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
somfy_mylink:
  host: "IP ADDRESS"
  system_id: "SYSTEM ID"

Traceback (if applicable):
N/A
Additional information:
It looks like the API Home Assistant relies upon to talk to MyLink also doesn't know about the "MY" position, however it does appear to know about MyLink scenes which can be used to effectively shim this functionality in as a scene can be configured in the MyLink app to go to that additional position.

Hi @laposheureux, the reason that the Python API and Homeassistant do not support the 'MY' function is due to the way the command is sent to the Somfy blinds.
The 'MY' function is simply a click of the stop button whilst the blinds are not moving, you should be able to move blinds to the 'MY' position by ensuring the blinds are not moving and sending the 'Stop' command.
Let me know if this works 😄

Ah that's helpful! I will finish setting up the myLink and test it tonight, thanks!

Got the setup finished and confirmed - stop does indeed trigger "MY" when the shades aren't moving. Thanks!


Fingerprint implementation

Hi,
Just sending in a new request that I bought up in the telegram group earlier today.
The new mobile wallet is an extremely impressive piece of tech.
Working in the banking system I currently work with the public and opinions regarding the mobile tech that's used in mobile banking apps.
I get constant feedback that a simple, clean lined app is what makes people use it. Fingerprint access is among the most requested item of importance for millions of customers to want to use it (including over 50's). I believe the QR code function will be a major selling point and ease of use case once more day to day people start spending crypto for goods in the future.
The tech is so important, but the end user just wants easy access, beautiful interface, simplicity and it to work flawlessly. DCR seems to have most of this down pat even though the current version is still such an early release.
But I would strongly suggest the possibility of adding a fingerprint for opening the app up, and password spend to simplify ease of use in terms of daily transactions out of the wallet as adoption grows.
If I were to need to use my mobile dcr wallet multiple times per day, having a fingerprint optionwould encourage me to use it.
Thanks for taking the time to read my option.
Cheers!
Simon

Closed by #413


shorten code reviews with Travis and shellcheck

I was reading through a couple PRs and noticed the pointing out of quite a few lint type issues. Basically, stuff a human shouldn't have to be bothered with...
This could be completely automated away, such that when a developer opens a PR, a hook calls Travis which would check out a version of the code and run shellcheck against it.
benefits

lint issues are caught automatically, and developers can see what the issues are
it makes the continuous integration service (Travis) the strict lint police
GitHub will let you prevent PRs that break the tests from being merged ("sorry, can't merge it until the tests pass")

costs

you'll need to merge the PR I'll create
you'll need to set up Travis access to your repo (so they get notified of PRs, and can post results back to the PRs)
there will likely be some lint issues to clean up before tests pass. Basically, a developer will go through the issues raised and decide whether to suppress that particular warning, or alter the code to "fix" it.

Interested?

@msimerson Thanks for offering to do this. I'm definitely interested. This is something I've been thinking of doing, but never got around to it.
My only concern is whether we ourselves can extend or adjust the linting rules, as our portability requirements impose... interesting requirements upon our shell-style. :-)
Other than that, I'm all for this. I'm traveling this weekend, but will setup a Travis account either Monday or Tuesday when I get back.
Looking forward to this.
---Alex

Okay, I'll create a PR for you. You can suppress shellcheck rules that you don't agree with, don't like, or agree with but simply can't avoid (edge cases). I've found that's been plenty of adjustment.


Can't view QR code in Android Webview

I have followed the steps mentioned in integration guide. Following is my link to QR code
SingPass Login
When I load this URL in webview it doesn't work. If I load other links from same domain or other domain it all works but the link to load QR doesn't works

I enabled JavaScript settings  like below:
webView.getSettings().setJavaScriptEnabled(true);
and it worked like charm.


SameSite=None is not allowed with secret=False

The default setting for CSRF in cookie with SameSite=None and secret=False is not allowed in Chrome and Firefox (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite).
I would suggest changing
https://github.com/aekasitt/fastapi-csrf-protect/blob/ad49caa6b0f658eb7505fce3a488d85fed332795/fastapi_csrf_protect/load_config.py#L27
to
cookie_samesite: Optional[StrictStr]           = 'lax'

and comments this in README. For example by extending the example to:
class CsrfSettings(BaseModel):
  secret_key:str = 'asecrettoeverybody'
  cookie_samesite:str = "none"  # allowed values: "lax", "strict"
  cookie_secure:bool = True  # require to use https only.

More details on SameSite cookie can be found here.

Noted with thanks.


add license.md

created license.md and added MIT license for  issue  #359

@srinivasan1995 Can you update your PR to remove the LICENSE? After that, I'll add in the favicon.


diff/fd: consider taking vector types from mat instead of slices

What are you trying to do?
Use similar notation/function signature for fd.Jacobian() and ode.IVP since they both represent the same mathematical concept: a system of ordinary differential equations.
f represents the same thing as Func in IVP structure.
// gonum/diff/fd
func Jacobian(dst *mat.Dense, f func(y, x []float64), x []float64, settings *JacobianSettings) {

// gonum/exp/ode
Func func(dst *mat.VecDense, t float64, y mat.Vector)

I'm not sure if there are other examples of this. ode package pull request can be found here: https://github.com/gonum/exp/pull/54

fd.Jacobian() and ode.IVP ... both represent the same mathematical concept: a system of ordinary differential equations.

To be accurate, they don't represent the same concept and the Jacobian also arises in other areas, not only in systems of ODEs.
Regarding the API, the question here is whether fd.Jacobian should look like this:
func Jacobian(dst *mat.Dense, f func(y *mat.VecDense, x mat.Vector), x mat.Vector, settings *JacobianSettings)

to make its usage more convenient and practical when the user's f takes mat types. Going from a slice to mat.VecDense is easy and safe via mat.CreateVecDense but not so the other way around because of the need to resort to RawVector and the possibility of non-unit stride, especially when the users doesn't have control over where the parameters come from as is the case of the mentioned ODE solver.
Note that even if we do this, then there will always have to be a wrapper, either in any future ODE package or in the user code, that adapts
func(dst *mat.VecDense, t float64, y mat.Vector)

to
func(y *mat.VecDense, x mat.Vector)

Another open question, even more fundamental, is how to support sparse Jacobians in the ode package. The dst parameter in fd.Jacobian is a dense matrix. When the Jacobian is needed (i.e., when implicit solvers are supported), the ode.IVP type could have an additional field
Jacobian func(dst what.TypeGoesHere, t float64, y mat.Vector)

There will probably have to be a different mechanism but it's unclear and this is why I wanted to leave implicit solvers out of the initial ode design discussion.

You are right, had a mental slip there.

Regarding the API, the question here is whether fd.Jacobian should look like this:

LGTM

When the Jacobian is needed (i.e., when implicit solvers are supported), the ode.IVP type could have an additional field

I don't see why the Jacobian would be a field in IVP since it seems to be more related to integrator logic, even then it is pretty decoupled. But this should be discussed in gonum/exp

It's the Jacobian of f so it makes sense that it's part of the problem definition structure. The user may have an analytical expression for the Jacobian and doesn't want to use the finite difference approximation. Or maybe it will turn out we will need a function for the Jacobian times a vector instead. But this is off topic for this ticket.


bump jackson to 2.12.7

bump jackson version to 2.12.7

Codecov Report

Merging #9038 (43a382d) into master (8d0afe3) will decrease coverage by 45.05%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #9038       +/-   ##
=============================================
- Coverage     70.04%   24.98%   -45.06%
+ Complexity     4733       51     -4682
=============================================
  Files          1827     1819        -8
  Lines         96097    95899      -198
  Branches      14360    14346       -14
=============================================
- Hits          67309    23963    -43346
- Misses        24138    69634    +45496
+ Partials       4650     2302     -2348

Flag
Coverage Δ

integration1
?

integration2
24.98% <ø> (+0.05%)
:arrow_up:

unittests1
?

unittests2
?

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

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


Generalizing std.range.primitives.empty to use .length causes the style_lint target to fail due to std.regex.internal.ir.Bytecode.length being defined as uint

petar.p.kirov (@PetarKirov) reported this on 2017-10-11T10:41:56Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=17894
Description
See https://github.com/dlang/phobos/pull/5726#issuecomment-335768162 for my analysis. I have fix and a PR is imminent.

petar.p.kirov commented on 2017-10-11T12:49:28Z
We decided to workaround the problem locally in std.range.primitives.empty by not instantiating `hasLength` at all.


[major] release v3

PR to trigger CI for 50869b0

Codecov Report

Merging #65 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #65   +/-   ##
=======================================
  Coverage   87.66%   87.66%
=======================================
  Files          14       14
  Lines         689      689
=======================================
  Hits          604      604
  Misses         75       75
  Partials       10       10

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 50869b0...0260248. Read the comment docs.


wierd behavior of "Debug Test" using pytest

Type: Bug
When I right click the pytest mark and select "Debug Test", the behavior is wierd.

The first time I do this, the DEBUG CONSOLE panel is opened like this. This is the expected behavior.

But the second time I do this, the TEST RESULTS (instead of DEBUG CONSOLE) panel is opened like this. This is not the expected behavior. This is just like the behavior of "Run Test" (instead of "Debug Test").

Usually I want to see the output of the print in the test function. So I like to use "Debug Test". This bug really bothers me.
By the way, why there is a large blank area in the middle of TEST RESULTS panel? I think this is also a bug. This "thing" shows when I kill the TEST RESULTS panel and use "Run Test" again.
Extension version: 2023.14.0
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:40:25.698Z)
OS version: Darwin arm64 22.5.0
Modes:
Remote OS version: Linux x64 5.4.119-19-0009.11

System Info

Item
Value

CPUs
Apple M1 Pro (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
1, 2, 2

Memory (System)
32.00GB (3.44GB free)

Process Argv

Screen Reader
no

VM
0%

Item
Value

Remote
SSH: devbox

OS
Linux x64 5.4.119-19-0009.11

CPUs
AMD EPYC 7K83 64-Core Processor (32 x 2545)

Memory (System)
61.57GB (57.42GB free)

VM
0%

Hi! Thank you for the bug report- I will investigate

Are you on the new testing rewrite? You can check for it by looking at  Experiment 'pythonTestAdapter' is active in your python logs. If not can you please turn it on and let me know if the behavior changes? You can do so adding this setting to your users settings.json "python.experiments.optInto": ["pythonTestAdapter"]. If you are unable to see the log for the experiment chance your log level to info or trace and it should show up. Thanks!

Are you on the new testing rewrite? You can check for it by looking at Experiment 'pythonTestAdapter' is active in your python logs. If not can you please turn it on and let me know if the behavior changes? You can do so adding this setting to your users settings.json "python.experiments.optInto": ["pythonTestAdapter"]. If you are unable to see the log for the experiment chance your log level to info or trace and it should show up. Thanks!

Hello. Thank you for your reply.
I tried to add the experiments setting and now there is a "Experiment 'pythonTestAdapter' is active" in the python OUTPUT.
I reproduced the bug. The only thing changed is the output on TEST RESULTS. Now it only print a "Finished running tests!". Debug Test still cannot auto open the DEBUG CONSOLE, and the wierd blank area is still there.

thank you for much for the information. I will work on this!

Hello! I have done a lot of improvements to the output in the test result panel with the experiment turned on. Could you see if it looks any better now? (currently the changes are only out on insiders). Additonally do you have any value for this settings  "testing.openTesting": "",? Wondering if that is causing the weird behavior with the test panel popping up.

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off.


Error when emitting the declaration for an exported class that extends an intersection

Fixes #14017 by making the mixin emit illegal.

@sandersn can you also file an issue to track parsing the intersection types in heritage clauses.

@mhegazy Done: #14075

@sandersn please cherry-pick this in release-2.2

@mhegazy done


Linking Error Building  on seg_tree_sample

Executing: make -j4
Gives the following error:
[ 96%] Built target base
[ 96%] Built target imagefilter
[ 96%] Built target segment_util
[ 96%] Built target video_framework
[ 96%] Built target segmentation
Linking CXX executable seg_tree_sample
/usr/bin/ld: /usr/local/lib/libavcodec.a(vaapi.o): undefined reference to symbol 'vaUnmapBuffer'
//usr/lib/x86_64-linux-gnu/libva.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [seg_tree_sample] Error 1
make[1]: *** [CMakeFiles/seg_tree_sample.dir/all] Error 2
make: *** [all] Error 2

Any ideas on what might I be doing wrong?
EDIT:  building works as expected on the LTS version of ubuntu (14). It just deosnt work on the newer versions.

Are you using ffmpeg 2.2.3?


Updating test command in readme

Changes proposed in this PR:

The readme currently has the wrong test command, this PR updates it

Or create a npm script test which actually does what the text says, and then we don’t need to change the command here

Yeah, that's better. Presumably it was there before and got deleted by mistake.


DRILL_6314: Add complex types to result set loader

This PR is a bit of a large one as it adds Union, (non repeated) List and Repeated List type support to the column accessors, row set abstraction, result set loader abstraction, and associated mechanisms. The good new is that, after this PR, all the row set and result set loader work will be complete; we'll then move onto the scan operator and readers.
Both Union and (non-repeated) List have very odd semantics that required some creative gyrations in the existing code. A (non-repeated) List can old a single type (List of VarChar) say, in which the list entries can be null to model a JSON list:
{a: ["foo", "bar"]} {a: null}

List entries can also be unions (which can include null values.) A List starts as a simple list (one type), then gets "promoted" to a Union. Much complexity was needed to hide this process behind the simple row set abstractions.
There is similarity between List and Union, between List, Repeated List and "normal" Repeated (array) types. Refactoring reflects these commonalities.
Due to the complexity of the added types, this PR revises the mechanisms that build a row set from an existing schema. or a schema from a container.
This PR also includes a somewhat orthogonal projection mechanism that implements projection at the row set mechanism for simple columns, array values and elements within maps. This code is closely intertwined with schema creation, and it was not worth the effort to tease the two apart into separate PRs.
Extensive unit tests show the results in action. These are probably the best place to start to understand the client view of the new mechanisms.
The work is divided up in a number of commits to help sort out work to each layer.
The row set mechanism is fully described here.
Rather than write a long description here, please take a look at the code and the Wiki post. Then, post questions (specific or general) and I'll address those particular topics which need additional clarification.

@ppadma can you look at this one? It's a big one. Suggestion: work through small groups of files, perhaps one commit at a time as the layers are separated into separate commits. Maybe do a series of small reviews to keep things tractable.

Going to close this one and try to split this into smaller chunks.

Replacing this PR with a set of smaller ones.


Fixed password check to allow 8 chars

It was 8 < pw so it would only let you pass if its at least 9 chars long

Thank you for contributing it has been merged!


exoplayer rtsp troubles

I'm trying to show a webcam rtsp stream, but all I get is a short error msg in the log:
PlayerError com.google.android.exoplayer2.ExoPlaybackException: com.google.android.exoplayer2.upstream.HttpDataSource$HttpDataSourceException: Unable to connect to rtsp://ipvmdemo.dyndns.org:5541/onvif-media/media.amp?profile=profile_1_h264&sessiontimeout=60&streamtype=unicast

This with a public testing stream (which works in vlc), same with our webcams with internal addresses.
How can I find out what's wrong and how to fix it?

Looks like we need to handling for those


1.16.5 - Incompat w/ Helium and Chocofix Together

The game will crash ONLY when Helium and chocolatefix are in a modpack together.
Take a look.
https://paste.gg/p/anonymous/5a6e40e447e1499f8f5f82cb4a1d05b1

I tested this and the same crash is happening without ReachFix.


Pin specific dockcross version

For #85, know exactly which version of dockcross is being used.

Pull Request Test Coverage Report for Build #245

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

Totals

Change from base Build #244:
0.0%

Covered Lines:
422

Relevant Lines:
425

💛  - Coveralls


Is there a way to add multiple tables from two different databases and schema using SQLDatabase?

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
Is there a way to add multiple tables from different databases and schema using SQLDatabase?
For example: DB-1 has these tables- "city_stats", "country_stats"
Presently these tables are from 1 database = SQLDatabase(engine, include_tables=["city_stats", "country_stats"])
if we have 2 different databases DB-1(tables- "city_stats", "country_stats")  and DB-2(tables- "company_stats", "team_stats") , how to include tables from 2 different databases?

okay, will I be able to use the above approach for :
sql_database = SQLDatabase(engine, include_tables=["db1_tables","db2_tables"])

@sbisen unfortunately that won't work as the engine that dosu-bot refers to is a subclass of the BaseQueryEngine and not sqlalchemy.engine.Engine.
Perhaps the best way to handle this would be to work with the sqlalchemy.MetaData object to create the union of the two schemas and add the tables to this database.


Move gasPriceStep to feeCurrency

move gasPriceStep to feeCurrency, as defined for suggest chain: https://docs.keplr.app/api/suggest-chain.html
to get rid of these errors:

Also allows for specifying gasPriceSteps for multiple fee currencies. (although this FE just uses the first defined fee Currency--not any)
Note: did not change for Axelar, since the Keplr Currency types being referenced do not allow for the relocation of the property. (are we on the latest?)

True, may warrant an update to keplr-wallet packages to include changes with the any-fee feature.


Update command

This commit is to update command line
from "stackalytics" to "tc".
"tc" means "total commit".

tc isn't fit in this case. /stackalytics will collect the following information: commits, reviews, patches and do the report as well. So tc - total commit isn't enough.


Adds support for buffer-size CartoCSS Map property in geojson tiles

Closes #422

cc @dgaubert

Apart from the usage of eval, I guess that is totally necessary, LGTM

The method name is a bit unfortunate, but it's not the global eval thingy: https://github.com/CartoDB/carto/blob/176886f1ad4b66f74bd95fa24e59cb60df1962c4/lib/carto/renderer_js.js#L39-L43

OMG 😱
Also jshint scares
👍 then!


improve geokey parsing

Codecov Report

:exclamation: No coverage uploaded for pull request base (tags@6f05fb8). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             tags      #79   +/-   ##
=======================================
  Coverage        ?   92.13%
=======================================
  Files           ?       13
  Lines           ?     1208
  Branches        ?        0
=======================================
  Hits            ?     1113
  Misses          ?       95
  Partials        ?        0

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 6f05fb8...9660f5e. Read the comment docs.


Creating apollo-quick-start ...
Attaching to apollo-dbdata, apollo-db, apollo-quick-start
apollo-dbdata exited with code 0
apollo-db             | Initializing database
apollo-db             | 2019-04-12T01:27:37.900253Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
apollo-quick-start    | ==== starting service ====
apollo-quick-start    | Service logging file is ./service/apollo-service.log
apollo-db             | 2019-04-12T01:27:42.202871Z 0 [Warning] InnoDB: New log files created, LSN=45790
apollo-quick-start    | Started [49]
apollo-db             | 2019-04-12T01:27:42.542550Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
apollo-db             | 2019-04-12T01:27:42.618865Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 2afda912-5cc2-11e9-b5fc-0242ac140003.
apollo-db             | 2019-04-12T01:27:42.668129Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
apollo-db             | 2019-04-12T01:27:42.668468Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
apollo-db             | 2019-04-12T01:27:43.910537Z 1 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:27:43.910557Z 1 [Warning] 'user' entry 'mysql.session@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:27:43.910563Z 1 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:27:43.910574Z 1 [Warning] 'db' entry 'performance_schema mysql.session@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:27:43.910577Z 1 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:27:43.910584Z 1 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:27:43.910602Z 1 [Warning] 'tables_priv' entry 'user mysql.session@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:27:43.910609Z 1 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
apollo-db             | Database initialized
apollo-db             | Initializing certificates
apollo-db             | Generating a RSA private key
apollo-db             | .....................+++++
apollo-db             | ......+++++
apollo-db             | unable to write 'random state'
apollo-db             | writing new private key to 'ca-key.pem'
apollo-db             | -----
apollo-db             | Generating a RSA private key
apollo-db             | .......................................+++++
apollo-db             | ............................+++++
apollo-db             | unable to write 'random state'
apollo-db             | writing new private key to 'server-key.pem'
apollo-db             | -----
apollo-db             | Generating a RSA private key
apollo-db             | ...+++++
apollo-db             | .............................+++++
apollo-db             | unable to write 'random state'
apollo-db             | writing new private key to 'client-key.pem'
apollo-db             | -----
apollo-db             | Certificates initialized
apollo-db             | MySQL init process in progress...
apollo-db             | MySQL init process in progress...
apollo-db             | 2019-04-12T01:28:04.128245Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
apollo-db             | 2019-04-12T01:28:05.676034Z 0 [Note] mysqld (mysqld 5.7.25) starting as process 90 ...
apollo-db             | 2019-04-12T01:28:07.015980Z 0 [Note] InnoDB: PUNCH HOLE support available
apollo-db             | 2019-04-12T01:28:07.016020Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
apollo-db             | 2019-04-12T01:28:07.016024Z 0 [Note] InnoDB: Uses event mutexes
apollo-db             | 2019-04-12T01:28:07.016027Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
apollo-db             | 2019-04-12T01:28:07.016029Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
apollo-db             | 2019-04-12T01:28:07.016032Z 0 [Note] InnoDB: Using Linux native AIO
apollo-db             | 2019-04-12T01:28:07.016360Z 0 [Note] InnoDB: Number of pools: 1
apollo-db             | 2019-04-12T01:28:07.016533Z 0 [Note] InnoDB: Using CPU crc32 instructions
apollo-db             | 2019-04-12T01:28:07.018554Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
apollo-db             | 2019-04-12T01:28:07.027454Z 0 [Note] InnoDB: Completed initialization of buffer pool
apollo-db             | 2019-04-12T01:28:07.042439Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
apollo-db             | 2019-04-12T01:28:07.508157Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
apollo-db             | MySQL init process in progress...
apollo-db             | 2019-04-12T01:28:08.770585Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
apollo-db             | 2019-04-12T01:28:08.770700Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
apollo-db             | 2019-04-12T01:28:09.215161Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
apollo-db             | 2019-04-12T01:28:09.322701Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
apollo-db             | 2019-04-12T01:28:09.322722Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
apollo-db             | 2019-04-12T01:28:09.323757Z 0 [Note] InnoDB: Waiting for purge to start
apollo-db             | 2019-04-12T01:28:09.373836Z 0 [Note] InnoDB: Waiting for purge to start
apollo-db             | 2019-04-12T01:28:09.423955Z 0 [Note] InnoDB: Waiting for purge to start
apollo-db             | 2019-04-12T01:28:09.474110Z 0 [Note] InnoDB: 5.7.25 started; log sequence number 2524141
apollo-db             | 2019-04-12T01:28:09.474304Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
apollo-db             | 2019-04-12T01:28:09.478494Z 0 [Note] Plugin 'FEDERATED' is disabled.
apollo-db             | MySQL init process in progress...
apollo-db             | 2019-04-12T01:28:10.643117Z 0 [Note] InnoDB: Buffer pool(s) load completed at 190412  9:28:10
apollo-db             | 2019-04-12T01:28:10.813985Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
apollo-db             | MySQL init process in progress...
apollo-db             | 2019-04-12T01:28:10.922078Z 0 [Warning] CA certificate ca.pem is self signed.
apollo-db             | 2019-04-12T01:28:10.939995Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
apollo-db             | 2019-04-12T01:28:11.320836Z 0 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:11.320876Z 0 [Warning] 'user' entry 'mysql.session@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:11.320883Z 0 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:11.321027Z 0 [Warning] 'db' entry 'performance_schema mysql.session@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:11.321038Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:11.321174Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:11.606184Z 0 [Warning] 'tables_priv' entry 'user mysql.session@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:11.606204Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:13.608035Z 0 [Note] Event Scheduler: Loaded 0 events
apollo-db             | 2019-04-12T01:28:13.608258Z 0 [Note] mysqld: ready for connections.
apollo-db             | Version: '5.7.25'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  MySQL Community Server (GPL)
apollo-db             | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
apollo-db             | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
apollo-db             | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
apollo-db             | Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
apollo-db             | 2019-04-12T01:28:24.807868Z 4 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:24.807896Z 4 [Warning] 'user' entry 'mysql.session@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:24.807902Z 4 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:24.807917Z 4 [Warning] 'db' entry 'performance_schema mysql.session@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:24.807920Z 4 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:24.807941Z 4 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:24.807980Z 4 [Warning] 'tables_priv' entry 'user mysql.session@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:24.807987Z 4 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
apollo-db             |
apollo-db             | 2019-04-12T01:28:24.841699Z 0 [Note] Giving 0 client threads a chance to die gracefully
apollo-db             | 2019-04-12T01:28:24.841718Z 0 [Note] Shutting down slave threads
apollo-db             | 2019-04-12T01:28:24.847967Z 0 [Note] Forcefully disconnecting 0 remaining clients
apollo-db             | 2019-04-12T01:28:24.847990Z 0 [Note] Event Scheduler: Purging the queue. 0 events
apollo-db             | 2019-04-12T01:28:24.848054Z 0 [Note] Binlog end
apollo-db             | 2019-04-12T01:28:24.848406Z 0 [Note] Shutting down plugin 'ngram'
apollo-db             | 2019-04-12T01:28:24.848417Z 0 [Note] Shutting down plugin 'partition'
apollo-db             | 2019-04-12T01:28:24.848420Z 0 [Note] Shutting down plugin 'BLACKHOLE'
apollo-db             | 2019-04-12T01:28:24.848422Z 0 [Note] Shutting down plugin 'ARCHIVE'
apollo-db             | 2019-04-12T01:28:24.848424Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
apollo-db             | 2019-04-12T01:28:24.848439Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
apollo-db             | 2019-04-12T01:28:24.848443Z 0 [Note] Shutting down plugin 'MyISAM'
apollo-db             | 2019-04-12T01:28:24.848454Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
apollo-db             | 2019-04-12T01:28:24.848457Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
apollo-db             | 2019-04-12T01:28:24.848458Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
apollo-db             | 2019-04-12T01:28:24.848460Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
apollo-db             | 2019-04-12T01:28:24.848462Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
apollo-db             | 2019-04-12T01:28:24.848463Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
apollo-db             | 2019-04-12T01:28:24.848465Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
apollo-db             | 2019-04-12T01:28:24.848467Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
apollo-db             | 2019-04-12T01:28:24.848468Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
apollo-db             | 2019-04-12T01:28:24.848470Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
apollo-db             | 2019-04-12T01:28:24.848471Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
apollo-db             | 2019-04-12T01:28:24.848473Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
apollo-db             | 2019-04-12T01:28:24.848475Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
apollo-db             | 2019-04-12T01:28:24.848477Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
apollo-db             | 2019-04-12T01:28:24.848479Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'
apollo-db             | 2019-04-12T01:28:24.848480Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
apollo-db             | 2019-04-12T01:28:24.848482Z 0 [Note] Shutting down plugin 'INNODB_METRICS'
apollo-db             | 2019-04-12T01:28:24.848483Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'
apollo-db             | 2019-04-12T01:28:24.848485Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
apollo-db             | 2019-04-12T01:28:24.848487Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
apollo-db             | 2019-04-12T01:28:24.848488Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
apollo-db             | 2019-04-12T01:28:24.848490Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
apollo-db             | 2019-04-12T01:28:24.848492Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
apollo-db             | 2019-04-12T01:28:24.848493Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
apollo-db             | 2019-04-12T01:28:24.848495Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
apollo-db             | 2019-04-12T01:28:24.848497Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
apollo-db             | 2019-04-12T01:28:24.848498Z 0 [Note] Shutting down plugin 'INNODB_CMP'
apollo-db             | 2019-04-12T01:28:24.848500Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
apollo-db             | 2019-04-12T01:28:24.848502Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
apollo-db             | 2019-04-12T01:28:24.848503Z 0 [Note] Shutting down plugin 'INNODB_TRX'
apollo-db             | 2019-04-12T01:28:24.848505Z 0 [Note] Shutting down plugin 'InnoDB'
apollo-db             | 2019-04-12T01:28:24.848555Z 0 [Note] InnoDB: FTS optimize thread exiting.
apollo-db             | 2019-04-12T01:28:24.848641Z 0 [Note] InnoDB: Starting shutdown...
apollo-db             | 2019-04-12T01:28:24.948778Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
apollo-db             | 2019-04-12T01:28:25.053146Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 190412  9:28:25
apollo-db             | 2019-04-12T01:28:26.558723Z 0 [Note] InnoDB: Shutdown completed; log sequence number 12358813
apollo-db             | 2019-04-12T01:28:26.559012Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
apollo-db             | 2019-04-12T01:28:26.559022Z 0 [Note] Shutting down plugin 'MEMORY'
apollo-db             | 2019-04-12T01:28:26.559037Z 0 [Note] Shutting down plugin 'CSV'
apollo-db             | 2019-04-12T01:28:26.559045Z 0 [Note] Shutting down plugin 'sha256_password'
apollo-db             | 2019-04-12T01:28:26.559048Z 0 [Note] Shutting down plugin 'mysql_native_password'
apollo-db             | 2019-04-12T01:28:26.579115Z 0 [Note] Shutting down plugin 'binlog'
apollo-db             | 2019-04-12T01:28:26.596783Z 0 [Note] mysqld: Shutdown complete
apollo-db             |
apollo-db             |
apollo-db             | MySQL init process done. Ready for start up.
apollo-db             |
apollo-db             | 2019-04-12T01:28:27.207947Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
apollo-db             | 2019-04-12T01:28:27.209379Z 0 [Note] mysqld (mysqld 5.7.25) starting as process 1 ...
apollo-db             | 2019-04-12T01:28:27.238999Z 0 [Note] InnoDB: PUNCH HOLE support available
apollo-db             | 2019-04-12T01:28:27.239019Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
apollo-db             | 2019-04-12T01:28:27.239022Z 0 [Note] InnoDB: Uses event mutexes
apollo-db             | 2019-04-12T01:28:27.239025Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
apollo-db             | 2019-04-12T01:28:27.239027Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
apollo-db             | 2019-04-12T01:28:27.239029Z 0 [Note] InnoDB: Using Linux native AIO
apollo-db             | 2019-04-12T01:28:27.239214Z 0 [Note] InnoDB: Number of pools: 1
apollo-db             | 2019-04-12T01:28:27.239307Z 0 [Note] InnoDB: Using CPU crc32 instructions
apollo-db             | 2019-04-12T01:28:27.240692Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
apollo-db             | 2019-04-12T01:28:27.246306Z 0 [Note] InnoDB: Completed initialization of buffer pool
apollo-db             | 2019-04-12T01:28:27.248061Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
apollo-db             | 2019-04-12T01:28:27.276516Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
apollo-db             | 2019-04-12T01:28:27.416529Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
apollo-db             | 2019-04-12T01:28:27.416621Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
apollo-db             | 2019-04-12T01:28:27.498735Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
apollo-db             | 2019-04-12T01:28:27.499327Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
apollo-db             | 2019-04-12T01:28:27.499337Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
apollo-db             | 2019-04-12T01:28:27.499667Z 0 [Note] InnoDB: Waiting for purge to start
apollo-db             | 2019-04-12T01:28:27.549815Z 0 [Note] InnoDB: 5.7.25 started; log sequence number 12358813
apollo-db             | 2019-04-12T01:28:27.550101Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
apollo-db             | 2019-04-12T01:28:27.551372Z 0 [Note] Plugin 'FEDERATED' is disabled.
apollo-db             | 2019-04-12T01:28:27.562023Z 0 [Note] InnoDB: Buffer pool(s) load completed at 190412  9:28:27
apollo-db             | 2019-04-12T01:28:27.619240Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
apollo-db             | 2019-04-12T01:28:27.619463Z 0 [Warning] CA certificate ca.pem is self signed.
apollo-db             | 2019-04-12T01:28:27.620835Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
apollo-db             | 2019-04-12T01:28:27.620900Z 0 [Note] IPv6 is available.
apollo-db             | 2019-04-12T01:28:27.620910Z 0 [Note]   - '::' resolves to '::';
apollo-db             | 2019-04-12T01:28:27.620935Z 0 [Note] Server socket created on IP: '::'.
apollo-db             | 2019-04-12T01:28:27.622988Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
apollo-db             | 2019-04-12T01:28:27.637581Z 0 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:27.637619Z 0 [Warning] 'user' entry 'mysql.session@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:27.637626Z 0 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:27.637643Z 0 [Warning] 'db' entry 'performance_schema mysql.session@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:27.637647Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:27.637655Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:27.640113Z 0 [Warning] 'tables_priv' entry 'user mysql.session@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:27.640129Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
apollo-db             | 2019-04-12T01:28:27.748882Z 0 [Note] Event Scheduler: Loaded 0 events
apollo-db             | 2019-04-12T01:28:27.749020Z 0 [Note] mysqld: ready for connections.
apollo-db             | Version: '5.7.25'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)
apollo-db             | 2019-04-12T01:28:36.782098Z 2 [Note] Unknown database 'ApolloConfigDB'
apollo-db             | 2019-04-12T01:28:37.853230Z 3 [Note] Unknown database 'ApolloConfigDB'
apollo-db             | 2019-04-12T01:28:43.026070Z 4 [Note] Unknown database 'ApolloConfigDB'
apollo-quick-start    | Waiting for config service startup........................
apollo-quick-start    | Config service failed to start in 120 seconds! Please check ./service/apollo-service.log for more information.
apollo-quick-start exited with code 1

什么原因


defect no prio

Precondition
New precondition
Steps to Reproduce:
Step 1  [Pass]
#1
Expected Result
smth

Open Defect in TestQuality

Test FIrst test Case in Run Run 572 (linked to Cycle All tests).


theme toggle does not work

after we merged the transition pr into main, the toggle only works once!

Temporarily fixed with this:
https://github.com/hendriknielaender/double-trouble/commit/9b821134aaa82e34204c7604fa78b1193a492748
Essentially the header breaks after navigating around with the transitions. On mobile where we have the hamburger menu, that also becomes unresponsive after the first transition.

I'll guess I'll close the issue as its fixed.
Created a new issue #188 to re-enable the transitions


[R] Rename BIAS -> (Intercept)

ref https://github.com/dmlc/xgboost/issues/9810
This PR renames the automatically added feature "BIAS" to "(Intercept)" which is what R uses as the name for biases / intercepts.

Joining the party (too) late: This change will break all CRAN packages that use XGBoost with SHAP.


feature: add is_mining for ePIC, add T21, add BlockMiner 720i

Yet another Antminer supported on ePIC before stock firmware is supprorted haha.
Ill do up stock support really quick, then push a version with the changes, thanks!

i really should just push the stock support too, thats my bad. Next time I promise :)


How to exclude the protected folder from the builds-process

Hi,
how can i exclude the protected folder from the build process. I added a nuxt project in the protected route, when i deploy to now there will be always an error that says
Error: The lambda function size (104.57mb) exceeds the maximum size limit (50mb). Learn more: https://zeit.co/docs/v2/deployments/concepts/lambdas/#maximum-bundle-size
But when i deploy the static site without those protected features it works without any problems

Hi,
It depends on how you implemented Basic auth in your project. Did you do it using Vanilla js, or did you use something like Express, or static-auth?
Anyway I think your problem is related to the config.includeFiles property (in the now.json file) trying to bundle too much files, which gives a huge lambda. This is because last time I checked you couldn't serve files that were not bundled with the lambda – the lambda wouldn't be able to read them from the disk and you'd get a 404. For small projects it's ok since there aren't much files, but if you have big project this may be a problem indeed.
Maybe there's a better way to let Now lambdas access sibling files but right now I don't know it. This would require further investigation and tests.

Quick update regarding my latest comment and the config.includeFiles property : as per my latest tests this property isn't needed anymore for the built lambdas to be able to read .css, .html or .js files on the disk.
This means that you can safely remove it in most cases. However if you're using Express together with the @now/node-server runtime and starting your server using app.listen() (similar to what the node-express example has shown until now), you'll have to do some modifications to your server ‒ but don't worry they are very trivial.
As such, I've updated all three examples in this repository, including the Express one, to remove all usages of the config.includeFiles property.
This should solve the OP's error, but if not please feel free to reopen.


Improve the EAM docs and link the App registration docs

@merill
Added an improvement to the Manage an external authentication method in Microsoft Entra ID (Preview)
This is missing I think.

@gregkmsft
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Replace global for window in polyfill

Description of change

After updating the polyfill package to TypeScript the pixi examples page no longer works.
As discussed here pixijs/examples#66 this was due to the commonjs rollup plugin not being compatible with TypeScript.
To fix this i replaced global with window as @bigtimebuddy suggested.
This should also fix #6668
Pre-Merge Checklist

[x] Lint process passed (npm run lint)
[x] Tests passed (npm run test)

Codecov Report

Merging #6669 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #6669   +/-   ##
=======================================
  Coverage   76.84%   76.84%
=======================================
  Files          29       29
  Lines        1127     1127
=======================================
  Hits          866      866
  Misses        261      261

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 1ee3a39...a9131dd. Read the comment docs.


Upgrade to new Sentry SDKs

Closes #3708

Warnings

:warning:
This PR modified the server but none of its tests. That's okay so long as it's refactoring existing code.

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @paulmelnikow!

  Generated by :no_entry_sign: dangerJS against 3861164ae692ece9be3fe41865318639f5c92150

The error reporting detail is working really well now! Very exciting.


Blob Video

Hello
Can this library read the video from this page? here it is hidden as a blob file
https://www.instagram.com/p/CKwAsKrn_a0/?igshid=18kmekhpt32ev

Yes. Download it using instascrape down :CKwAsKrn_a0


linux is disabled

@conda-forge/core  any ideas why linux is disabled?
maybe this syntaxis not allowed? https://github.com/conda-forge/smesh-feedstock/blob/master/recipe/meta.yaml#L19
skip: true  # [py<35 or win32 or osx]

Normally this means that your requirements cannot be satisfied on Linux. Would explore this by trying to install them in an environment locally with conda and/or trying to build with conda-build to see where either of these approaches runs into problems.

@jakirkham it was working in the PR and also locally I am testing this package for a long time... (condaforge/linux-anvil)

re-rendering locally added linux again. I guess there went something wrong at the feedstock creation.
https://github.com/conda-forge/smesh-feedstock/pull/2

I would say it's more like 100%. Also in this case your suggestion was the initialization to find a solution.
thanks for the help!


paymentRequest.create promise callbacks not working

General information

SDK version: 3.37.0
Environment: Sandbox and Production
Browser and OS Mac OS 10.13.6 Chrome 69

Issue description
I just noticed that using braintree-web v3.37.0 doesn't fire then() or catch() on the braintree.paymentRequest.create calls
It works fine when using v3.36.0
import braintreeClient from 'braintree-web/client';
import braintreePaymentRequest from 'braintree-web/payment-request';

braintreeClient.create({
    authorization: token
})
  .then(client => {
    //i get here
    braintreePaymentRequest.create({
      client: client
    })
      .then(instance => {
        //never gets here
      })
      .catch(() => {
        //never gets here
      });
  });

I will do some more digging to see if I can see what's happening

From what I can tell, the FRAME_READY event no longer is being hit for some reason
https://github.com/braintree/braintree-web/blob/882ac0adcf1798b8920e5094fbb24a331787a2b7/src/payment-request/external/payment-request.js#L214

Found the issue here:
https://github.com/braintree/braintree-web/blob/3.36.0/src/payment-request/external/payment-request.js#L112-L125
When this gets generated into /dist as part of the npm install, you wind up with
function composeUrl(assetsUrl, componentId, isDebug) {
  var baseUrl = assetsUrl;

  {
    // Pay with Google cannot tokenize in our dev environment
    // so in development, we have to use a sandbox merchant
    // but set the iFrame url to the development url
    baseUrl = 'https://' + undefined + ':9000';
  }
  // endRemoveIf(production)

  return baseUrl + '/web/' + VERSION + '/html/payment-request-frame' + useMin(isDebug) + '.html#' + componentId;
}

which is obviously incorrect

Thanks for the report, we'll get this fixed up.

We've pinpointed the problem. Aiming to get a fix out for this on Monday, 9/24

This should be fixed in 3.38.0. Thanks for letting us know!


[Feature Request] Short issue title

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Insomnia does not currently support Rust code generation for the requests.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Add Rust support (preferably for the reqwest crate) code generation support to insomnia to save Rust developers lots of time.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
N/A
Additional context
Add any other context or screenshots about the feature request here.
N/A

https://www.youtube.com/watch?v=OUgKU2One5g


Refactor Remove the unless header of vresult_writer

Proposed changes
Remove unless code of vresult_wirter;

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

run buildall


[Paper] Adversarial Perturbations Cannot Reliably Protect Artists From
Generative AI

{
"arxivId": "2406.12027",
"url": "https://arxiv.org/pdf/2406.12027",
"title": "Adversarial Perturbations Cannot Reliably Protect Artists From\n  Generative AI",
"authors": "Robert Hönig, Javier Rando, Nicholas Carlini, Florian Tramèr",
"abstract": "Artists are increasingly concerned about advancements in image generation\nmodels that can closely replicate their unique artistic styles. In response,\nseveral protection tools against style mimicry have been developed that\nincorporate small adversarial perturbations into artworks published online. In\nthis work, we evaluate the effectiveness of popular protections -- with\nmillions of downloads -- and show they only provide a false sense of security.\nWe find that low-effort and "off-the-shelf" techniques, such as image\nupscaling, are sufficient to create robust mimicry methods that significantly\ndegrade existing protections. Through a user study, we demonstrate that all\nexisting protections can be easily bypassed, leaving artists vulnerable to\nstyle mimicry. We caution that tools based on adversarial perturbations cannot\nreliably protect artists from the misuse of generative AI, and urge the\ndevelopment of alternative non-technological solutions.",
"timestamp": "2024-12-22T16:39:20.901Z",
"rating": "novote"
}

Hi
I am here to help you.
I checked your GitHub profile and interested in your work.
Have you ever thought about training AI models?
Let us discuss in more detail here or at discord.
Send me friend request and I will accept you.
My discord name is :
dancarter_30880


fix for incorrect version detection for centos

Fix for https://github.com/spiette/puppet-selinux/issues/16

I am spent.


Update node hostname

https://github.com/openstack-k8s-operators/install_yamls/pull/756#discussion_r1549617061

closing in favor of https://github.com/openstack-k8s-operators/data-plane-adoption/pull/331


pip install django-helpdesk downgraded django

When I executed pip install. It installed django-helpdesk, but it also downgraded django from version 3.0.5 at 2.2.12 or something like that without any asking me, if I want it or not.
I dislike this behaviour.
Do you plan to update django-helpdesk for django 3.*?

Currently django-helpdesk only works with Django 2.2, it has a few errors when attempted to run in Django 3. I would like to support Django 3 but have not checked for compatibility yet. It's part of the next release milestone.

That I understand there can be lots of work to update django-helpdesk for django 3.0.5. I was just surprised the pip downgraded my django without asking for my permission/approval.

That must be some unexpected behavior of pip. Our requirements.txt file includes the line Django>=2.2.9,<3 which would force pip to install a Django 2.2.x to satisfy.

Either ways, it forced to downgrade the django without asking.

Either ways, it forced to downgrade the django without asking.

I think this normal behavior of pip - happens to me with other modules and not just django-helpdesk

Yep @hellcheese  is right, that's just how pip behaves when you set requirements versions. django-helpdesk won't work with Django 3.x yet so it downgraded you to make all your packages work. It's not something to "fix" other than to add Django 3.x support to this project. #827 is a duplicate, I'll probably close this one since it's not really a problem with pip itself. There's a new effort for hacktober maybe to get our 0.3.x release finally finished up which would support django 3.x -- folks interested in contributing can check it out at #878.

I have installed django-allauth module which has its own account. I have installed this beta version of django-helpdesk==0.3.0b3 and now I am trying to add "account" in  settings.py/installed apps but I got the error
django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: account
even I don't have my own account. It's all about 3rd party account app so can you help me how can I solve this damn error??

@darshmodi97 I think that this is caused by a conflict with pinax-teams. We need to finish https://github.com/django-helpdesk/django-helpdesk/pull/913

I just haven't had time to pull that one to the finish line...

@timthelion, thanks for replying and yeah there is a comment that says required by pinax-teams in settings.py/installed apps.


Add support for coredns

Add an option to allow bringing up a cluster using coredns.

Per discussion 2day I would move to have it the default imo.

Re-opening, since CoreDNS is not properly configured on current master.


Support list event type available times

refs #57

Codecov Report

Merging #58 (affd166) into master (8182d7e) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #58   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           52        54    +2
  Lines         2872      2970   +98
=========================================
+ Hits          2872      2970   +98

Impacted Files
Coverage Δ

lib/calendly/client.rb
100.00% <100.00%> (ø)

lib/calendly/models/event_type.rb
100.00% <100.00%> (ø)

lib/calendly/models/event_type_available_type.rb
100.00% <100.00%> (ø)

test/assert_helper.rb
100.00% <100.00%> (ø)

test/models/event_type_available_type_test.rb
100.00% <100.00%> (ø)

test/models/event_type_test.rb
100.00% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


add awesome urbit badge

This badge would make the list more discoverable to newcomers and people accidentally stumbling upon one of the listed projects

This repository is going to get merged into the main urbit repo, so I'm going to close this￼


Issues installing slycot via pip

Hello,
Currently trying to install slycot in conjunction with control.
No issues installing the control library in both Python2 and Python3.
While running sudo pip[3] install slycot, I get the following output:
Collecting slycot
  Using cached https://files.pythonhosted.org/packages/ae/9d/7ed3f2abf08aab0be9ac2b67e3040c20d9c594cce6a4af2203da0c28a6c4/slycot-<IP_ADDRESS>.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 /usr/local/lib/python3.5/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpuby90lub
       cwd: /tmp/pip-install-4y2kxn4y/slycot
  Complete output (10 lines):
  Traceback (most recent call last):
    File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
      main()
    File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pep517/_in_process.py", line 48, in get_requires_for_build_wheel
      backend = _build_backend()
    File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pep517/_in_process.py", line 39, in _build_backend
      obj = getattr(obj, path_part)
  AttributeError: module 'setuptools.build_meta' has no attribute '__legacy__'
  ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 /usr/local/lib/python3.5/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpuby90lub Check the logs for full command output.

I'd really like to know if this is a local issue and how to resolve it because I'm having issues using the main controls library because of errors related to needing slycot:
/usr/local/lib/python3.5/dist-packages/control/statefbk.py in lqr(*args, **keywords)
    313         from slycot import sb02mt
    314     except ImportError:
--> 315         raise ControlSlycot("can't find slycot module 'sb02md' or 'sb02nt'")
    316
    317     #

ControlSlycot: can't find slycot module 'sb02md' or 'sb02nt'

Thanks!

Maybe this helps: https://github.com/pypa/setuptools/issues/1694

Thanks for the link.
I tried looking through it, but I'm not using a venv of any sort to get it setup...
I don't have a pyproject.toml file in my environment as a result.

Ok, good to know.


Please add support for xcancel.com

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm requesting a feature unrelated to a specific site
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
It doesn't work with xcancel.com, a Twitter replacement site.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
$ yt-dlp https://xcancel.com/WallStreetApes/status/1840856232346952165 -vU
[debug] Command-line config: ['https://xcancel.com/WallStreetApes/status/1840856232346952165', '-vU']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [c6387abc1] (zip)
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-5.15.0-91-generic-x86_64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.11.0, brotli-1.0.9, certifi-2020.06.20, mutagen-1.45.1, pyxattr-0.7.2, requests-2.25.1, secretstorage-3.3.1, sqlite3-3.37.2, urllib3-1.26.5, websockets-9.1
[debug] Proxy map: {'all': 'socks5://<IP_ADDRESS>:9050'}
[debug] Request Handlers: urllib
[debug] Loaded 1838 extractors
[debug] Loading archive file '/media/user/SSD-storage/user/media-downloaded'
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[generic] Extracting URL: https://xcancel.com/WallStreetApes/status/1840856232346952165
[generic]<PHONE_NUMBER>346952165: Downloading webpage
ERROR: [generic] Unable to download webpage: HTTP Error 503: Service Temporarily Unavailable (caused by <HTTPError 503: Service Temporarily Unavailable>)
  File "/usr/bin/yt-dlp/yt_dlp/extractor/common.py", line 741, in extract
    ie_result = self._real_extract(url)
  File "/usr/bin/yt-dlp/yt_dlp/extractor/generic.py", line 2384, in _real_extract
    full_response = self._request_webpage(url, video_id, headers=filter_dict({
  File "/usr/bin/yt-dlp/yt_dlp/extractor/common.py", line 910, in _request_webpage
    raise ExtractorError(errmsg, cause=err)

  File "/usr/bin/yt-dlp/yt_dlp/networking/_urllib.py", line 398, in _send
    res = opener.open(urllib_req, timeout=self._calculate_timeout(request))
  File "/usr/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Temporarily Unavailable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/bin/yt-dlp/yt_dlp/extractor/common.py", line 897, in _request_webpage
    return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query, extensions))
  File "/usr/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 4165, in urlopen
    return self._request_director.send(req)
  File "/usr/bin/yt-dlp/yt_dlp/networking/common.py", line 117, in send
    response = handler.send(request)
  File "/usr/bin/yt-dlp/yt_dlp/networking/_helper.py", line 208, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/bin/yt-dlp/yt_dlp/networking/common.py", line 340, in send
    return self._send(request)
  File "/usr/bin/yt-dlp/yt_dlp/networking/_urllib.py", line 403, in _send
    raise HTTPError(UrllibResponseAdapter(e.fp), redirect_loop='redirect error' in str(e)) from e
yt_dlp.networking.exceptions.HTTPError: HTTP Error 503: Service Temporarily Unavailable

This site is a Nitter instance protected by an anti-bot challenge.
The challenge is a number displayed using server-generated CSS, to be submitted via an HTML form. It would be necessary to OCR the digits, which might be possible by analysing the CSS as long as the digit patterns are as plain as they are now.

nitter is on its last legs and the remaining instances have asked not to be scraped. I'd rather respect their wishes than reverse-engineer their anti-bot challenge

Would it be easier to do it for nitter.privacydev.net ?

just use the twitter extractor

twitter extractor

I checked the user manual, but I still don't know how to download a video.
Can you provide me with an example syntax?

If xcancel has a video that has been deleted from Twitter/X, you can obtain the m3u8 url by loading the xcancel page and view source. Search for ".u3m8", edit to extract url "https%3A%2F%2Fvideo.twimg.com%2Fext_tw_video...[STUFF].u3m8"
then convert %3A to ':' and every %2F to '/'.
Then use yt-dlp with the m3u8 url.


error: subprocess-exited-with-error  note: This error originates from a subprocess, and is likely not a problem with pip.  error: metadata-generation-failed.

❓ Questions and Help
I try to install pyqlib in anaconda prompt cmd of windows 11, suffering from this when in subprogress collecting scs:
error: subprocess-exited-with-error
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed.

Oh, I have settledd this by operating 'pip install .'


padding="same" and groups=in_channels in 3D convolution not supported

I have tried to make a 3D convolutional layer with the following parameters:
padding='same' and groups='in_channels'  and l get an AssertionError. Either with
tltorch.FactorizedConv() or tltorch.FactorizedConv.from_conv()
It seems that padding='same' with groups is not supported  in tensorly.

padding='same' in pytorch pytorch doc on padding
groups= in_channels in pytorch groups in conv

Thank you for your help.

Thanks for opening the issue! Could you share a minimal snippet of code to reproduce the issue?


Apply fixes from StyleCI

This pull request applies code style fixes from an analysis carried out by StyleCI.

For more information, click here.

Pull Request Test Coverage Report for Build 77

8 of 58 (13.79%)  changed or added relevant lines in 8 files are covered.
24 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.1%) to 17.472%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Concerns/InteractsWithMouse.php
0
1
0.0%

src/Browser.php
0
2
0.0%

src/ChromeBrowser.php
0
2
0.0%

src/Concerns/WaitsForElements.php
2
4
50.0%

src/Concerns/InteractsWithElements.php
0
3
0.0%

src/Concerns/MakesAssertions.php
0
40
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/Concerns/InteractsWithMouse.php
1
0%

src/Concerns/WaitsForElements.php
1
23.53%

src/Concerns/InteractsWithElements.php
2
0%

src/Concerns/MakesAssertions.php
20
0%

Totals

Change from base Build 75:
-0.1%

Covered Lines:
123

Relevant Lines:
704

💛  - Coveralls


Removes "Request a specific amount" button from the wallet receive page

Everything is in the title ;)

Works as intended! 👍


Better Revision View

Describe the feature you'd like
With the new permission view for shelves & books I think the revision views can get a little make over too. Currently, when you click on "Changes" you can only see what the difference is from the version before the version you clicked changes on.
I think it would be nice if this was more obvious to the user (header information that says Comparing version 2 against 1) and if you could also select which versions are compared. IE: You can compare the difference between version 5 and 2.
I understand that some in scenarios not all changes will be picked up (for example, a sentence existed in versions 3 and 4 but was deleted in 5) but I still think being able to view the changes between 2 versions that aren't adjacent to each other would be beneficial to some degree.
Describe the benefits this would bring to existing BookStack users
Better revision experience.
Can the goal of this request already be achieved via other means?
Not that I know of.
Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundemental request

How long have you been using BookStack?
0 to 6 months
Additional context
No response

Thanks for the request @Mailstorm-ctrl, but I feel the fundamental request here is already covered by #1400?

If only I searched for "versions" instead of revisions...I would of found that. My bad


[XCTestObservation] Add XCTestSuite announcements

What's in this pull request?
Apple XCTest's XCTestObservation protocol includes methods that announce when an XCTestSuite will begin executing, or has finished executing. Add these same announcements to swift-corelibs-xctest.
swift-corelibs-xctest did not already defined XCTestSuite, so add it.
Apple XCTest allows XCTestObservation listeners to determine the number of passing and failing tests by accessing an XCTestSuite's testRun property, but this is not yet supported in swift-corelibs-xctest.
Why merge this pull request?

This makes the swift-corelibs-xctest and Apple XCTest versions of XCTestObservation identical, bringing us closer to our Swift 3 goal of API parity.

What are the downsides of merging this pull request?

This adds XCTestSuite to the codebase, but not XCTestRun. As a result, the most interesting aspect of test announcements (how many tests passed/failed) is still unimplemented. Still, I feel like this is a positive step forward, and one that keeps this pull request small enough to actually review.
swift-corelibs-xctest doesn't use XCTestSuite to represent the collection of test cases it executes. As a result, the quality of implementation here leaves much to be desired. On the other hand, refactoring the codebase to seamless integrate XCTestSuite would involve more widespread changes, which would make this pull request more difficult to review. If you ask me, thanks to the functional test cases, we could merge this, then easily refactor in a subsequent pull request.

This seems like a reasonable first step. I agree generally with your assessment in the second "downside" you mention. The weirdness around having the "All" suite and the bundle suite be peers in a list of root suites instead of having a containment relationship arises from this, I guess. I would definitely like to see continued movement towards having test suites constructed and then used to control the running of the tests instead of just being constructed in order to send the observations. But I am OK with taking this in incremental stages.

@swift-ci please test

Here's the error from Linux CI:
/usr/bin/ld: /home/buildnode/jenkins/workspace/swift-corelibs-xctest-PR-Linux/Ninja-ReleaseAssert/swiftpm-linux-x86_64/debug/test-Package: hidden symbol `_TFC6XCTest10XCTestCasemP33_3BE257A46ADB477C7BF2D39968B39F9D5_nameSS' isn't defined
/usr/bin/ld: final link failed: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I think this is the error @briancroom mentioned in #69 (is there a JIRA issue for this problem?). I'll try to address this in the coming days.

@mike-ferris-apple I've resolved the Linux build issue. Could you ask @swift-ci to please test? If the tests pass, I'll merge this to achieve the "incremental stages" you describe (or you can request "@swift-ci please test and merge").
#86 is the realization of the "continued movement towards having test suites constructed and then used to control the running of the tests" you describe.

@swift-ci please test


Update RAT config to exclude some files in OpenWhisk repo

We should edit pom.xml to exclude below files, which are reported in issue #93 .
We may need to update scan tool also, to sync with the changes.
configurations:
  openwhisk/ansible/group_vars/all
  openwhisk/ansible/environments/docker-machine/group_vars/all
  openwhisk/ansible/environments/distributed/group_vars/all
  openwhisk/ansible/environments/distributed/files/openstack/openstack.env
  openwhisk/ansible/environments/distributed/hosts
  openwhisk/ansible/environments/vagrant/group_vars/all
  openwhisk/ansible/environments/vagrant/hosts
  openwhisk/ansible/environments/local/group_vars/all
  openwhisk/ansible/ansible.cfg
  openwhisk/ansible/files/package-versions.ini
  openwhisk/tools/eclipse/scala.properties
  openwhisk/tools/eclipse/java.xml
  openwhisk/tools/build/scanCode.cfg
  openwhisk/tools/jenkins/apache/dockerhub.groovy
  openwhisk/core/invoker/src/main/resources/application.conf
  openwhisk/core/controller/src/main/resources/application.conf
  openwhisk/core/controller/src/main/resources/reference.conf
  openwhisk/common/scala/src/main/resources/logback.xml
  openwhisk/common/scala/src/main/resources/logging.conf
  openwhisk/common/scala/src/main/resources/application.conf
  openwhisk/common/scala/src/main/resources/reference.conf
  openwhisk/performance/gatling_tests/src/gatling/resources/conf/logback.xml
  openwhisk/performance/wrk_tests/post.lua

legal documents
  openwhisk/CREDITS.txt
  openwhisk/licenses/LICENSE-scala.txt
  openwhisk/licenses/LICENSE-apachehttpcomponentsclient.txt
  openwhisk/licenses/LICENSE-pureconfig.txt
  openwhisk/licenses/LICENSE-logbackclassic.txt
  openwhisk/licenses/LICENSE-jsr305.txt

Very short files without any creativity
  openwhisk/actionRuntimes/python2Action/Dockerfile
  openwhisk/actionRuntimes/swift4.1Action/Dockerfile
  openwhisk/actionRuntimes/nodejs6Action/Dockerfile
  openwhisk/actionRuntimes/javaAction/Dockerfile
  openwhisk/actionRuntimes/swift3.1.1Action/Dockerfile
  openwhisk/actionRuntimes/nodejs8Action/Dockerfile
  openwhisk/actionRuntimes/actionProxy/Dockerfile
  openwhisk/actionRuntimes/pythonAction/Dockerfile
  openwhisk/actionRuntimes/php7.1Action/Dockerfile
  openwhisk/sdk/docker/Dockerfile

Closed as fixed.


Convert codebase to ES6

Currently using NPM/ES5 standard. Could be using a lot more cleaner syntax, and features to make coding cleaner and easier to write on top of.

Start to use ES6 function simillar to PHP compact
{attribute1, attribute2, attribute 3}
Converting where possible in code base while working on new functionality.

Starting to use template literals (and) instead of quotes for more readable dynamic strings.


Tc 84

Initial stripe integration
I added an express server to handle stripe backend calls. You can run both the application and the server using:
npm run dev

Move checkoutForm styling from App.css to /semantic/src/site/globals/site.overrides. We should try to move all styling into the semantic theming structure. Will delete App.css soon.

CheckoutForm.jsx

instead of using the local react state, can we leverage redux instead? Store needed state into redux store. This way we can just dispatch fewer actions, instead of setState a bunch of times.
convertToStripePrice can be moved out to the utils folder
move inline styling into the correct .less files
Use semantic components where necessary (i.e.
 can be replaced with semantic  component)

/ducks/.../packs

Lint everything in operations.js

Addressed points 1, 3 and created new checkout reducer for handling state changes.
TODOs:

read customerId from users state instead of defining it separately under CheckoutForm
convertToStripePrice can be moved out to the utils folder
move inline styling into the correct .less files
Use semantic components where necessary (i.e.
 can be replaced with semantic  component)

Merging existing work done to master. Open new PR(s) with the rest of the changes.


TypeError: (0 , _reactNativeReanimated.useSharedValue) is not a function

After installing the plugin, a stable error

Did you follow the install instructions on the readme? you seem to miss the reactive-native-reanimated module


⚠ Bofrost.at has degraded performance

In 42b2f4d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2766 ms

Resolved: Bofrost.at performance has improved in cc24a2f.


Use email as username

Adds the possibility to use the email address as the username if the username field is not visible at signup.
The option can be checked at the organization level.
closes #2756

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Grégoire Bélorgey seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@gregoire-jianda fix linter:


[MRG] Resolve TypeError issue

Reference Issues/PRs

Fixes #608
What does this implement/fix? Explain your changes.

To fix the TypeError.
This problem occurs because that NeighborsBase._fit() only accept 1 positional argument (only X).
Does your contribution introduce a new dependency? If yes, which one?

None
What should a reviewer concentrate their feedback on?

Whether or not it can generate the correct result. I have already tested it so no worries.
Any other comments?

This is a bug fix, so I guess the following PR checklist's most content is not applicable.
PR checklist

For all contributions

[ ] I've added myself to the list of contributors.
[ ] Optionally, I've updated sktime's CODEOWNERS to receive notifications about future changes to these files.
[ ] I've added unit tests and made sure they pass locally.

For new estimators

[ ] I've added the estimator to the online documentation.
[ ] I've updated the existing example notebooks or provided a new one to showcase how my estimator works.

hi, this is really odd, because it would not work for me with just the one argument! Is it an sklearn version problem? I think sklearn changed the KNN classifier at some point. @mloning do you have any thoughts?

hi, this is really odd, because it would not work for me with just the one argument! Is it an sklearn version problem? I think sklearn changed the KNN classifier at some point. @mloning do you have any thoughts?

hi, this is really odd, because it would not work for me with just the one argument! Is it an sklearn version problem? I think sklearn changed the KNN classifier at some point. @mloning do you have any thoughts?

Dear prof @TonyBagnall,
I think you may get the point, my scikit-learn version is 0.23.2 and the related code in sklearn\neighbors\_base.py shown in the following:
    def _fit(self, X):
        self._check_algorithm_metric()
        if self.metric_params is None:
            self.effective_metric_params_ = {}
        else:
            self.effective_metric_params_ = self.metric_params.copy()

        effective_p = self.effective_metric_params_.get('p', self.p)
        if self.metric in ['wminkowski', 'minkowski']:
            self.effective_metric_params_['p'] = effective_p
      ........

hi, this is really odd, because it would not work for me with just the one argument! Is it an sklearn version problem? I think sklearn changed the KNN classifier at some point. @mloning do you have any thoughts?

Dear prof @TonyBagnall,
I think you may get the point, my scikit-learn version is 0.23.2 and the related code in sklearn\neighbors\_base.py shown in the following:
    def _fit(self, X):
        self._check_algorithm_metric()
        if self.metric_params is None:
            self.effective_metric_params_ = {}
        else:
            self.effective_metric_params_ = self.metric_params.copy()

        effective_p = self.effective_metric_params_.get('p', self.p)
        if self.metric in ['wminkowski', 'minkowski']:
            self.effective_metric_params_['p'] = effective_p
      ........

I'm using scikit lear 0.24, and if I run _fit(X) I get this error. They have moced the knn classifier and changed the fit method I think. I'll talk to markus about it and get back to you

I'm using scikit lear 0.24, and if I run _fit(X) I get this error. They have moced the knn classifier and changed the fit method I think. I'll talk to markus about it and get back to you

we might be able to set the tags so that it doesn't require y

we might be able to set the tags so that it doesn't require y

I'm using scikit learn 0.24, and if I run _fit(X) I get an error from scikit learn. They have moved the knn classifier and changed the fit method I think. I'll talk to markus about it and get back to you

Dear prof @TonyBagnall,
Sure, I will close this PR since it still needs further test, but I will keep the issue so your team won't forget where you should consider back-compatibility.
❤ from Hephaest

I'm using scikit learn 0.24, and if I run _fit(X) I get an error from scikit learn. They have moved the knn classifier and changed the fit method I think. I'll talk to markus about it and get back to you

Dear prof @TonyBagnall,
Sure, I will close this PR since it still needs further test, but I will keep the issue so your team won't forget where you should consider back-compatibility.
❤ from Hephaest


disallow access from root

Discussed in https://github.com/juicedata/juicefs/discussions/2405

Originally posted by Abssenta July 26, 2022
Hi.
The problem I am facing with JuiceFS is that the mount point is writable by root by default. We normally avoid this for security reasons.  In normal nfs sharing, it should suffice to use root_squash in the export options. However, I don't think JuiceFS has that feature. Are there any options for mounting juicefs without root write permissions?
Thanks in advance.

Possible solution:
Add root-squash client option, and if enabled, map root user (uid 0) to an anonymous user (say, 65534) in fuse or meta package.

From exports man page:
root_squash
Map requests from uid/gid 0 to the anonymous uid/gid. Note that this does not apply to any other uids or gids that might be equally sensitive, such as user bin or group staff.
no_root_squash
Turn off root squashing. This option is mainly useful for diskless clients.
all_squash
Map all uids and gids to the anonymous user. Useful for NFS-exported public FTP directories, news spool directories, etc. The opposite option is no_all_squash, which is the default setting.
anonuid and anongid
These options explicitly set the uid and gid of the anonymous account. This option is primarily useful for PC/NFS clients, where you might want all requests appear to be from one user.


Mea culpa. Tracking in #257.


upgrade async_io

Hi, GopherJ
Thanks for your hard work, but this example not working for this async-io version.
I will try later.

@vkill ok thanks I tried also to make a reverse tunnel but I didn't succeed yet

With async-io 1.1.3

@GopherJ Please test this branch, thank you.

@vkill Hi, it works for me, I tried to edit a little bit the proxy_jump code to make a reverse tunnel, the tunnel works but just encountered a ICE error
https://github.com/rust-lang/rust/issues/80151
after cleaning cache it compiles finally.


"Cannot get version candidates with an empty fetchers list."

[x] I have read the guidelines for submitting issues

🐛 Describe the bug
I have tried to migrate the app tachiyomi.
refreshVersionsMigrate worked correctly
https://github.com/jmfayard/tachiyomi/tree/refreshVersions
but the build is broken afterwards
⚠ Current behavior
Any Gradle task include ./gradlew help fails with "Cannot get version candidates with an empty fetchers list."
https://scans.gradle.com/s/3ihvkrzstu5g4/failure#1
✅ Expected behavior
The build should not be broken
💣 Steps to reproduce
Open this branch: https://github.com/jmfayard/tachiyomi/tree/refreshVersions
Run ./gradlew help
📱 Tech info

Build Scan URL: https://scans.gradle.com/s/3ihvkrzstu5g4/failure#1

This happen when no repository are declared
Solution:
buildscript {
+    repositories {
+        mavenCentral()
+       google()
+       gradlePluginPortal()
+  }
    dependencies {
        classpath("com.github.zellius:android-shortcut-gradle-plugin:_")
        classpath(Google.playServicesGradlePlugin)
        classpath("com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:_")
        classpath(kotlin("serialization", version = BuildPluginsVersion.KOTLIN))
    }
}


feat(behavior_path_planner): update path when object is gone

Signed-off-by: ismet atabay<EMAIL_ADDRESS>Description
At avoidance module in behavior_path_planner, if the detected objects occur in path,  avoidance module shift path points to around the vehicle. Moreover, if the detected objects are gone the shifted path is not updated. The reason of this, avoidance module' current state stays in the "RUNNING" state until the vehicle reach its goal. I added a feature to change this state, and this feature allows the path to be updated by completing the task of the avoidance module if the detected objects are gone.
To control this, I added a parameter with the name enable_update_path_when_object_is_gone and set the default value to false. enable_update_path_when_object_is_gone must be true for this feature to be used.
Related links
closes #2272
Tests performed
Before PR (enable_update_path_when_object_is_gone is set to false):
https://user-images.githubusercontent.com/56237550/202670238-1a310bef-5404-4c9e-95cf-10283cc2cdb6.mp4
After PR (enable_update_path_when_object_is_gone is set to true)::
https://user-images.githubusercontent.com/56237550/202670290-78518377-2c0d-4563-a42d-c4ad3a6328d3.mp4
Notes for reviewers
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@ismetatabay Thanks for your contribution :smile:
Could you show the ego behavior in case where the ego is in avoidance maneuver? I think it dangerous that the path suddenly reverts back to its original one when there is huge lateral deviation between the ego and reverted path.

@satoshi-ota Hi,
Thank you for comment, the behavior of the car is as in the video below. What do you suggest in this situation? Maybe we can revert the path if the vehicle is stopped, but we do not change the path while the vehicle is in motion.
https://user-images.githubusercontent.com/56237550/202898463-19d1d01e-bf21-44e6-81ae-06b5db5bcec2.mp4

@ismetatabay Thanks for your explanation :+1:
The following scene is exactly the scenario I was concerned about. In this case, I think it would be better to replan the return path from Ego's position back to the original reference path, because it is an abnormal situation for a system where the vehicle deviates significantly from its path, and I think we have to avoid such a situation as much as possible. What would you think?
As another idea, I think it would be good to make the assumption that the canceling of the avoidance maneuver is limited to only when the ego has not initiated the avoidance and there is not much deviation between the ego and reverted path.

@satoshi-ota Thanks also for suggesting 2 solutions,
With these solutions we can get a reasonable behavior. In terms of safety, your second suggestion seemed safer to me. An algorithm like this looks good to me:
If the vehicle has not started the avoidance maneuver, the avoidance path can be reverted, if the avoidance maneuver has been started, remain the avoidance path to follow it. The avoidance path follows a very smooth path to return to the old path. So it made sense to me to follow this avoid path to avoid sudden lateral change.
If that's okay I can update the algorithm.

@ismetatabay

In terms of safety, your second suggestion seemed safer to me.

I think so too :+1:
Additionaly, I also think this method is easier to implement than the another one.

If that's okay I can update the algorithm.

Yes, I appreciate your help so much.

@satoshi-ota Thanks again for your suggestions, I'm a little busy for the next few days, then I'll update the algorithm 👍.

@satoshi-ota hi, I updated the algorithm and the videos in the description according to the cases we talked about earlier :+1: .

@ismetatabay Thanks a lot :+1: I'll review this, so please wait a few days.

@satoshi-ota hi, I added "Avoidance Canceling" section to the documentation. At this section, I explain Avoidance Module behavior at each different cases.

@ismetatabay Thanks :smile: You can merge this PR :tada:


Version Error

I'm using this library with the latest NBitcoin code. For ZCash core, I'm using the tarball from this site:
https://z.cash/download.html
The zcash core source can be found here:
https://github.com/zcash/zcash/blob/master/src/chainparams.cpp
The network id seems incorrect in this library. The correct mainnet id (based on the zcash core source) is BD6B0CBF. I updated the NBitcoin.Zcash code, but now the server rejects the VersionHandshake request:
Error[8233]:Handshake rejected : Version must be 170002 or greater
How do I resolve this issue?
-- Mike

I figured it out. In ZcashNetwork.cs, add this line to each Create...() method:
.SetMaxP2PVersion(170002)